max_stars_repo_path
stringlengths 4
237
| max_stars_repo_name
stringlengths 6
117
| max_stars_count
int64 0
95.2k
| id
stringlengths 1
7
| content
stringlengths 12
593k
| input_ids
sequencelengths 7
549k
|
---|---|---|---|---|---|
OOPS_CONCEPT/OOP Principles/class_program_14.py | abhigyan709/dsalgo | 1 | 56391 | <filename>OOPS_CONCEPT/OOP Principles/class_program_14.py
class Mobile:
def __init__(self, brand, price):
print("Inside Constructor")
self.brand = brand
self.price = price
def purchase(self):
print("Purchasing a mobile")
print("The mobile has brand", self.brand, "and price", self.price)
print("Mobile-1")
mob1 = Mobile("Apple", 20000)
mob1.purchase()
print("Mobile-2")
mob2 = Mobile("Samsung", 8000)
mob2.purchase()
# we can invoke one method from another using self:
class Mobile2:
def display(self):
print("Displaying Details")
def purchase(self):
self.display()
print("Calcuating the price")
Mobile2().purchase() | [
1,
529,
9507,
29958,
29949,
4590,
29903,
29918,
6007,
4741,
7982,
29914,
29949,
4590,
14771,
2701,
29914,
1990,
29918,
8860,
29918,
29896,
29946,
29889,
2272,
13,
1990,
21600,
29901,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
14982,
29892,
8666,
1125,
13,
4706,
1596,
703,
797,
2975,
1281,
18769,
1159,
13,
4706,
1583,
29889,
16472,
353,
14982,
13,
4706,
1583,
29889,
9175,
353,
8666,
13,
13,
1678,
822,
20590,
29898,
1311,
1125,
13,
4706,
1596,
703,
29925,
2458,
5832,
263,
10426,
1159,
13,
4706,
1596,
703,
1576,
10426,
756,
14982,
613,
1583,
29889,
16472,
29892,
376,
392,
8666,
613,
1583,
29889,
9175,
29897,
13,
13,
2158,
703,
29295,
29899,
29896,
1159,
13,
29885,
711,
29896,
353,
21600,
703,
2052,
280,
613,
29871,
29906,
29900,
29900,
29900,
29900,
29897,
13,
29885,
711,
29896,
29889,
29886,
27574,
580,
13,
13,
2158,
703,
29295,
29899,
29906,
1159,
13,
29885,
711,
29906,
353,
21600,
703,
29903,
28935,
613,
29871,
29947,
29900,
29900,
29900,
29897,
13,
29885,
711,
29906,
29889,
29886,
27574,
580,
13,
13,
29937,
591,
508,
15928,
697,
1158,
515,
1790,
773,
1583,
29901,
13,
1990,
21600,
29906,
29901,
13,
1678,
822,
2479,
29898,
1311,
1125,
13,
4706,
1596,
703,
9323,
292,
25577,
1159,
13,
13,
1678,
822,
20590,
29898,
1311,
1125,
13,
4706,
1583,
29889,
4990,
580,
13,
4706,
1596,
703,
7856,
4979,
1218,
278,
8666,
1159,
13,
13,
29295,
29906,
2141,
29886,
27574,
580,
2
] |
cx_Freeze/hooks.py | xtreme3d/editor | 22 | 65033 | <filename>cx_Freeze/hooks.py<gh_stars>10-100
import os
import sys
def initialize(finder):
"""upon initialization of the finder, this routine is called to set up some
automatic exclusions for various platforms."""
finder.ExcludeModule("FCNTL")
finder.ExcludeModule("os.path")
finder.ExcludeModule("multiprocessing.Process")
if os.name == "nt":
finder.ExcludeModule("fcntl")
finder.ExcludeModule("grp")
finder.ExcludeModule("pwd")
finder.ExcludeModule("termios")
else:
finder.ExcludeModule("_subprocess")
finder.ExcludeModule("_winreg")
finder.ExcludeModule("msilib")
finder.ExcludeModule("msvcrt")
finder.ExcludeModule("multiprocessing._multiprocessing")
finder.ExcludeModule("nt")
finder.ExcludeModule("nturl2path")
finder.ExcludeModule("pyHook")
finder.ExcludeModule("pythoncom")
finder.ExcludeModule("pywintypes")
finder.ExcludeModule("winerror")
finder.ExcludeModule("winsound")
finder.ExcludeModule("win32api")
finder.ExcludeModule("win32con")
finder.ExcludeModule("win32gui")
finder.ExcludeModule("win32event")
finder.ExcludeModule("win32evtlog")
finder.ExcludeModule("win32evtlogutil")
finder.ExcludeModule("win32file")
finder.ExcludeModule("win32pdh")
finder.ExcludeModule("win32pipe")
finder.ExcludeModule("win32process")
finder.ExcludeModule("win32security")
finder.ExcludeModule("win32service")
finder.ExcludeModule("wx.activex")
if os.name != "posix":
finder.ExcludeModule("posix")
if sys.platform != "darwin":
finder.ExcludeModule("Carbon")
finder.ExcludeModule("gestalt")
finder.ExcludeModule("ic")
finder.ExcludeModule("mac")
finder.ExcludeModule("MacOS")
finder.ExcludeModule("macostools")
finder.ExcludeModule("macpath")
finder.ExcludeModule("macurl2path")
finder.ExcludeModule("_scproxy")
if os.name != "nt":
finder.ExcludeModule("EasyDialogs")
if os.name != "os2":
finder.ExcludeModule("os2")
finder.ExcludeModule("os2emxpath")
finder.ExcludeModule("_emx_link")
if os.name != "ce":
finder.ExcludeModule("ce")
if os.name != "riscos":
finder.ExcludeModule("riscos")
finder.ExcludeModule("riscosenviron")
finder.ExcludeModule("riscospath")
finder.ExcludeModule("rourl2path")
if sys.platform[:4] != "java":
finder.ExcludeModule("java.lang")
finder.ExcludeModule("org.python.core")
if sys.platform[:4] != "OpenVMS":
finder.ExcludeModule("vms_lib")
if sys.version_info[0] >= 3:
finder.ExcludeModule("new")
finder.ExcludeModule("Tkinter")
else:
finder.ExcludeModule("tkinter")
def load_cElementTree(finder, module):
"""the cElementTree module implicitly loads the elementtree.ElementTree
module; make sure this happens."""
finder.IncludeModule("elementtree.ElementTree")
def load_ceODBC(finder, module):
"""the ceODBC module implicitly imports both datetime and decimal; make
sure this happens."""
finder.IncludeModule("datetime")
finder.IncludeModule("decimal")
def load_cx_Oracle(finder, module):
"""the cx_Oracle module implicitly imports datetime; make sure this
happens."""
finder.IncludeModule("datetime")
try:
finder.IncludeModule("decimal")
except ImportError:
pass
def load_datetime(finder, module):
"""the datetime module implicitly imports time; make sure this happens."""
finder.IncludeModule("time")
def load_docutils_frontend(finder, module):
"""The optik module is the old name for the optparse module; ignore the
module if it cannot be found."""
module.IgnoreName("optik")
def load_dummy_threading(finder, module):
"""the dummy_threading module plays games with the name of the threading
module for its own purposes; ignore that here"""
finder.ExcludeModule("_dummy_threading")
def load_email(finder, module):
"""the email package has a bunch of aliases as the submodule names were
all changed to lowercase in Python 2.5; mimic that here."""
if sys.version_info[:2] >= (2, 5):
for name in ("Charset", "Encoders", "Errors", "FeedParser",
"Generator", "Header", "Iterators", "Message", "Parser",
"Utils", "base64MIME", "quopriMIME"):
finder.AddAlias("email.%s" % name, "email.%s" % name.lower())
def load_ftplib(finder, module):
"""the ftplib module attempts to import the SOCKS module; ignore this
module if it cannot be found"""
module.IgnoreName("SOCKS")
def load_GifImagePlugin(finder, module):
"""The GifImagePlugin module optionally imports the _imaging_gif module"""
module.IgnoreName("_imaging_gif")
def load_glib(finder, module):
"""Ignore globals that are imported."""
module.AddGlobalName("GError")
module.AddGlobalName("IOChannel")
module.AddGlobalName("IO_ERR")
module.AddGlobalName("IO_FLAG_APPEND")
module.AddGlobalName("IO_FLAG_GET_MASK")
module.AddGlobalName("IO_FLAG_IS_READABLE")
module.AddGlobalName("IO_FLAG_IS_SEEKABLE")
module.AddGlobalName("IO_FLAG_IS_WRITEABLE")
module.AddGlobalName("IO_FLAG_MASK")
module.AddGlobalName("IO_FLAG_NONBLOCK")
module.AddGlobalName("IO_FLAG_SET_MASK")
module.AddGlobalName("IO_HUP")
module.AddGlobalName("IO_IN")
module.AddGlobalName("IO_NVAL")
module.AddGlobalName("IO_OUT")
module.AddGlobalName("IO_PRI")
module.AddGlobalName("IO_STATUS_AGAIN")
module.AddGlobalName("IO_STATUS_EOF")
module.AddGlobalName("IO_STATUS_ERROR")
module.AddGlobalName("IO_STATUS_NORMAL")
module.AddGlobalName("Idle")
module.AddGlobalName("MainContext")
module.AddGlobalName("MainLoop")
module.AddGlobalName("OPTION_ERROR")
module.AddGlobalName("OPTION_ERROR_BAD_VALUE")
module.AddGlobalName("OPTION_ERROR_FAILED")
module.AddGlobalName("OPTION_ERROR_UNKNOWN_OPTION")
module.AddGlobalName("OPTION_FLAG_FILENAME")
module.AddGlobalName("OPTION_FLAG_HIDDEN")
module.AddGlobalName("OPTION_FLAG_IN_MAIN")
module.AddGlobalName("OPTION_FLAG_NOALIAS")
module.AddGlobalName("OPTION_FLAG_NO_ARG")
module.AddGlobalName("OPTION_FLAG_OPTIONAL_ARG")
module.AddGlobalName("OPTION_FLAG_REVERSE")
module.AddGlobalName("OPTION_REMAINING")
module.AddGlobalName("OptionContext")
module.AddGlobalName("OptionGroup")
module.AddGlobalName("PRIORITY_DEFAULT")
module.AddGlobalName("PRIORITY_DEFAULT_IDLE")
module.AddGlobalName("PRIORITY_HIGH")
module.AddGlobalName("PRIORITY_HIGH_IDLE")
module.AddGlobalName("PRIORITY_LOW")
module.AddGlobalName("Pid")
module.AddGlobalName("PollFD")
module.AddGlobalName("SPAWN_CHILD_INHERITS_STDIN")
module.AddGlobalName("SPAWN_DO_NOT_REAP_CHILD")
module.AddGlobalName("SPAWN_FILE_AND_ARGV_ZERO")
module.AddGlobalName("SPAWN_LEAVE_DESCRIPTORS_OPEN")
module.AddGlobalName("SPAWN_SEARCH_PATH")
module.AddGlobalName("SPAWN_STDERR_TO_DEV_NULL")
module.AddGlobalName("SPAWN_STDOUT_TO_DEV_NULL")
module.AddGlobalName("Source")
module.AddGlobalName("Timeout")
module.AddGlobalName("child_watch_add")
module.AddGlobalName("filename_display_basename")
module.AddGlobalName("filename_display_name")
module.AddGlobalName("filename_from_utf8")
module.AddGlobalName("get_application_name")
module.AddGlobalName("get_current_time")
module.AddGlobalName("get_prgname")
module.AddGlobalName("glib_version")
module.AddGlobalName("idle_add")
module.AddGlobalName("io_add_watch")
module.AddGlobalName("main_context_default")
module.AddGlobalName("main_depth")
module.AddGlobalName("markup_escape_text")
module.AddGlobalName("set_application_name")
module.AddGlobalName("set_prgname")
module.AddGlobalName("source_remove")
module.AddGlobalName("spawn_async")
module.AddGlobalName("timeout_add")
module.AddGlobalName("timeout_add_seconds")
def load_gtk__gtk(finder, module):
"""the gtk._gtk module has a number of implicit imports"""
finder.IncludeModule("atk")
finder.IncludeModule("cairo")
finder.IncludeModule("gio")
finder.IncludeModule("pango")
finder.IncludeModule("pangocairo")
def load_hashlib(finder, module):
"""hashlib's fallback modules don't exist if the equivalent OpenSSL
algorithms are loaded from _hashlib, so we can ignore the error."""
module.IgnoreName("_md5")
module.IgnoreName("_sha")
module.IgnoreName("_sha256")
module.IgnoreName("_sha512")
def load_h5py(finder, module):
"""h5py module has a number of implicit imports"""
finder.IncludeModule('h5py.defs')
finder.IncludeModule('h5py.utils')
finder.IncludeModule('h5py._proxy')
try:
import h5py.api_gen
finder.IncludeModule('h5py.api_gen')
except ImportError:
pass
finder.IncludeModule('h5py._errors')
finder.IncludeModule('h5py.h5ac')
def load_matplotlib(finder, module):
"""the matplotlib module requires data to be found in mpl-data in the
same directory as the frozen executable so oblige it"""
dir = os.path.join(module.path[0], "mpl-data")
finder.IncludeFiles(dir, "mpl-data")
def load_matplotlib_numerix(finder, module):
"""the numpy.numerix module loads a number of modules dynamically"""
for name in ("ma", "fft", "linear_algebra", "random_array", "mlab"):
finder.IncludeModule("%s.%s" % (module.name, name))
def load_Numeric(finder, module):
"""the Numeric module optionally loads the dotblas module; ignore the error
if this modules does not exist."""
module.IgnoreName("dotblas")
def load_numpy_core_multiarray(finder, module):
"""the numpy.core.multiarray module is an extension module and the numpy
module imports * from this module; define the list of global names
available to this module in order to avoid spurious errors about missing
modules"""
module.AddGlobalName("arange")
def load_numpy_core_numerictypes(finder, module):
"""the numpy.core.numerictypes module adds a number of items to itself
dynamically; define these to avoid spurious errors about missing
modules"""
module.AddGlobalName("bool_")
module.AddGlobalName("cdouble")
module.AddGlobalName("complexfloating")
module.AddGlobalName("csingle")
module.AddGlobalName("double")
module.AddGlobalName("float64")
module.AddGlobalName("float_")
module.AddGlobalName("inexact")
module.AddGlobalName("intc")
module.AddGlobalName("int32")
module.AddGlobalName("number")
module.AddGlobalName("single")
def load_numpy_core_umath(finder, module):
"""the numpy.core.umath module is an extension module and the numpy module
imports * from this module; define the list of global names available
to this module in order to avoid spurious errors about missing
modules"""
module.AddGlobalName("add")
module.AddGlobalName("absolute")
module.AddGlobalName("arccos")
module.AddGlobalName("arccosh")
module.AddGlobalName("arcsin")
module.AddGlobalName("arcsinh")
module.AddGlobalName("arctan")
module.AddGlobalName("arctanh")
module.AddGlobalName("bitwise_and")
module.AddGlobalName("bitwise_or")
module.AddGlobalName("bitwise_xor")
module.AddGlobalName("ceil")
module.AddGlobalName("conj")
module.AddGlobalName("conjugate")
module.AddGlobalName("cosh")
module.AddGlobalName("divide")
module.AddGlobalName("fabs")
module.AddGlobalName("floor")
module.AddGlobalName("floor_divide")
module.AddGlobalName("fmod")
module.AddGlobalName("greater")
module.AddGlobalName("hypot")
module.AddGlobalName("invert")
module.AddGlobalName("isfinite")
module.AddGlobalName("isinf")
module.AddGlobalName("isnan")
module.AddGlobalName("less")
module.AddGlobalName("left_shift")
module.AddGlobalName("log")
module.AddGlobalName("logical_and")
module.AddGlobalName("logical_not")
module.AddGlobalName("logical_or")
module.AddGlobalName("logical_xor")
module.AddGlobalName("maximum")
module.AddGlobalName("minimum")
module.AddGlobalName("multiply")
module.AddGlobalName("negative")
module.AddGlobalName("not_equal")
module.AddGlobalName("power")
module.AddGlobalName("remainder")
module.AddGlobalName("right_shift")
module.AddGlobalName("sign")
module.AddGlobalName("sinh")
module.AddGlobalName("sqrt")
module.AddGlobalName("tan")
module.AddGlobalName("tanh")
module.AddGlobalName("true_divide")
def load_numpy_distutils_command_scons(finder, module):
"""the numpy.distutils.command.scons module optionally imports the numscons
module; ignore the error if the module cannot be found."""
module.IgnoreName("numscons")
def load_numpy_distutils_misc_util(finder, module):
"""the numpy.distutils.misc_util module optionally imports the numscons
module; ignore the error if the module cannot be found."""
module.IgnoreName("numscons")
def load_numpy_distutils_system_info(finder, module):
"""the numpy.distutils.system_info module optionally imports the Numeric
module; ignore the error if the module cannot be found."""
module.IgnoreName("Numeric")
def load_numpy_f2py___version__(finder, module):
"""the numpy.f2py.__version__ module optionally imports the __svn_version__
module; ignore the error if the module cannot be found."""
module.IgnoreName("__svn_version__")
def load_numpy_linalg(finder, module):
"""the numpy.linalg module implicitly loads the lapack_lite module; make
sure this happens"""
finder.IncludeModule("numpy.linalg.lapack_lite")
def load_numpy_random_mtrand(finder, module):
"""the numpy.random.mtrand module is an extension module and the numpy
module imports * from this module; define the list of global names
available to this module in order to avoid spurious errors about missing
modules"""
module.AddGlobalName("rand")
module.AddGlobalName("randn")
def load_postgresql_lib(finder, module):
"""the postgresql.lib module requires the libsys.sql file to be included
so make sure that file is included"""
fileName = os.path.join(module.path[0], "libsys.sql")
finder.IncludeFiles(fileName, os.path.basename(fileName))
def load_pty(finder, module):
"""The sgi module is not needed for this module to function."""
module.IgnoreName("sgi")
def load_pydoc(finder, module):
"""The pydoc module will work without the Tkinter module so ignore the
error if that module cannot be found."""
module.IgnoreName("Tkinter")
def load_pythoncom(finder, module):
"""the pythoncom module is actually contained in a DLL but since those
cannot be loaded directly in Python 2.5 and higher a special module is
used to perform that task; simply use that technique directly to
determine the name of the DLL and ensure it is included as a file in
the target directory."""
import pythoncom
finder.IncludeFiles(pythoncom.__file__,
os.path.join("lib", os.path.basename(pythoncom.__file__)),
copyDependentFiles = False)
def load_pywintypes(finder, module):
"""the pywintypes module is actually contained in a DLL but since those
cannot be loaded directly in Python 2.5 and higher a special module is
used to perform that task; simply use that technique directly to
determine the name of the DLL and ensure it is included as a file in the
target directory."""
import pywintypes
finder.IncludeFiles(pywintypes.__file__,
os.path.join("lib", os.path.basename(pywintypes.__file__)),
copyDependentFiles = False)
# PyQt5 and PyQt4 can't both be loaded in the same process, so we cache the
# QtCore module so we can still return something sensible if we try to load
# both.
_qtcore = None
def _qt_implementation(module):
"""Helper function to get name (PyQt4, PyQt5, PySide) and the QtCore module
"""
global _qtcore
name = module.name.split('.')[0]
try:
_qtcore = __import__(name, fromlist=['QtCore']).QtCore
except RuntimeError:
print("WARNING: Tried to load multiple incompatible Qt wrappers. "
"Some incorrect files may be copied.")
return name, _qtcore
def copy_qt_plugins(plugins, finder, QtCore):
"""Helper function to find and copy Qt plugins."""
# Qt Plugins can either be in a plugins directory next to the Qt libraries,
# or in other locations listed by QCoreApplication.libraryPaths()
dir0 = os.path.join(os.path.dirname(QtCore.__file__), "plugins")
for libpath in QtCore.QCoreApplication.libraryPaths() + [dir0]:
sourcepath = os.path.join(str(libpath), plugins)
if os.path.exists(sourcepath):
finder.IncludeFiles(sourcepath, plugins)
def load_PyQt4_phonon(finder, module):
"""In Windows, phonon4.dll requires an additional dll phonon_ds94.dll to
be present in the build directory inside a folder phonon_backend."""
name, QtCore = _qt_implementation(module)
if sys.platform == "win32":
copy_qt_plugins("phonon_backend", finder, QtCore)
load_PySide_phonon = load_PyQt5_phonon = load_PyQt4_phonon
def load_PyQt4_QtCore(finder, module):
"""the PyQt4.QtCore module implicitly imports the sip module and,
depending on configuration, the PyQt4._qt module."""
name, QtCore = _qt_implementation(module)
finder.IncludeModule("sip")
try:
finder.IncludeModule("%s._qt" % name)
except ImportError:
pass
load_PyQt5_QtCore = load_PyQt4_QtCore
def load_PySide_QtCore(finder, module):
"""PySide.QtCore dynamically loads the stdlib atexit module."""
finder.IncludeModule("atexit")
def load_PyQt4_Qt(finder, module):
"""the PyQt4.Qt module is an extension module which imports a number of
other modules and injects their namespace into its own. It seems a
foolish way of doing things but perhaps there is some hidden advantage
to this technique over pure Python; ignore the absence of some of
the modules since not every installation includes all of them."""
name, QtCore = _qt_implementation(module)
finder.IncludeModule("%s.QtCore" % name)
finder.IncludeModule("%s.QtGui" % name)
for mod in ("_qt", "QtSvg", "Qsci", "QtAssistant", "QtNetwork", "QtOpenGL",
"QtScript", "QtSql", "QtSvg", "QtTest", "QtXml"):
try:
finder.IncludeModule(name + '.' + mod)
except ImportError:
pass
load_PyQt5_Qt = load_PyQt4_Qt
def load_PyQt4_uic(finder, module):
"""The uic module makes use of "plugins" that need to be read directly and
cannot be frozen; the PyQt4.QtWebKit and PyQt4.QtNetwork modules are
also implicity loaded."""
name, QtCore = _qt_implementation(module)
dir = os.path.join(module.path[0], "widget-plugins")
finder.IncludeFiles(dir, "%s.uic.widget-plugins" % name)
finder.IncludeModule("%s.QtNetwork" % name)
try:
finder.IncludeModule("%s.QtWebKit" % name)
except ImportError:
pass
load_PyQt5_uic = load_PyQt4_uic
def _QtGui(finder, module, version_str):
name, QtCore = _qt_implementation(module)
finder.IncludeModule("%s.QtCore" % name)
copy_qt_plugins("imageformats", finder, QtCore)
if version_str >= '5':
# On Qt5, we need the platform plugins. For simplicity, we just copy any
# that are installed.
copy_qt_plugins("platforms", finder, QtCore)
def load_PyQt4_QtGui(finder, module):
"""There is a chance that GUI will use some image formats
add the image format plugins
"""
name, QtCore = _qt_implementation(module)
_QtGui(finder, module, QtCore.QT_VERSION_STR)
load_PyQt5_QtGui = load_PyQt4_QtGui
def load_PySide_QtGui(finder, module):
"""There is a chance that GUI will use some image formats
add the image format plugins
"""
from PySide import QtCore
# Pyside.__version* is PySide version, PySide.QtCore.__version* is Qt version
_QtGui(finder, module, QtCore.__version__)
def load_PyQt5_QtWidgets(finder, module):
finder.IncludeModule('PyQt5.QtGui')
def load_PyQt4_QtWebKit(finder, module):
name, QtCore = _qt_implementation(module)
finder.IncludeModule("%s.QtNetwork" % name)
finder.IncludeModule("%s.QtGui" % name)
load_PyQt5_QtWebKit = load_PySide_QtWebKit = load_PyQt4_QtWebKit
def load_PyQt5_QtMultimedia(finder, module):
name, QtCore = _qt_implementation(module)
finder.IncludeModule("%s.QtCore" % name)
finder.IncludeModule("%s.QtMultimediaWidgets" % name)
copy_qt_plugins("mediaservice", finder, QtCore)
def load_reportlab(finder, module):
"""the reportlab module loads a submodule rl_settings via exec so force
its inclusion here"""
finder.IncludeModule("reportlab.rl_settings")
def load_scipy(finder, module):
"""the scipy module loads items within itself in a way that causes
problems without the entire package and a number of other subpackages
being present."""
finder.IncludePackage("scipy._lib")
finder.IncludePackage("scipy.misc")
def load_scipy_linalg(finder, module):
"""the scipy.linalg module loads items within itself in a way that causes
problems without the entire package being present."""
module.AddGlobalName("norm")
finder.IncludePackage("scipy.linalg")
def load_scipy_linalg_interface_gen(finder, module):
"""the scipy.linalg.interface_gen module optionally imports the pre module;
ignore the error if this module cannot be found"""
module.IgnoreName("pre")
def load_scipy_sparse_linalg_dsolve_linsolve(finder, module):
"""the scipy.linalg.dsolve.linsolve optionally loads scikits.umfpack"""
module.IgnoreName("scikits.umfpack")
def load_scipy_special__cephes(finder, module):
"""the scipy.special._cephes is an extension module and the scipy module
imports * from it in places; advertise the global names that are used
in order to avoid spurious errors about missing modules."""
module.AddGlobalName("gammaln")
def load_setuptools_extension(finder, module):
"""the setuptools.extension module optionally loads
Pyrex.Distutils.build_ext but its absence is not considered an error."""
module.IgnoreName("Pyrex.Distutils.build_ext")
def load_site(finder, module):
"""the site module optionally loads the sitecustomize and usercustomize
modules; ignore the error if these modules do not exist."""
module.IgnoreName("sitecustomize")
module.IgnoreName("usercustomize")
def load_tkinter(finder, module):
"""the tkinter module has data files that are required to be loaded so
ensure that they are copied into the directory that is expected at
runtime."""
if sys.platform == "win32":
import tkinter
import _tkinter
tclSourceDir = os.environ["TCL_LIBRARY"]
tkSourceDir = os.environ["TK_LIBRARY"]
finder.IncludeFiles(tclSourceDir, "tcl")
finder.IncludeFiles(tkSourceDir, "tk")
def load_Tkinter(finder, module):
"""the Tkinter module has data files that are required to be loaded so
ensure that they are copied into the directory that is expected at
runtime."""
import Tkinter
import _tkinter
tk = _tkinter.create()
tclDir = os.path.dirname(tk.call("info", "library"))
# on OS X, Tcl and Tk are organized in frameworks, different layout
if sys.platform == 'darwin' and tk.call('tk', 'windowingsystem') == 'aqua':
tclSourceDir=os.path.join(os.path.split(tclDir)[0], 'Tcl')
tkSourceDir = tclSourceDir.replace('Tcl', 'Tk')
else:
tclSourceDir = os.path.join(tclDir, "tcl%s" % _tkinter.TCL_VERSION)
tkSourceDir = os.path.join(tclDir, "tk%s" % _tkinter.TK_VERSION)
finder.IncludeFiles(tclSourceDir, "tcl")
finder.IncludeFiles(tkSourceDir, "tk")
def load_tempfile(finder, module):
"""the tempfile module attempts to load the fcntl and thread modules but
continues if these modules cannot be found; ignore these modules if they
cannot be found."""
module.IgnoreName("fcntl")
module.IgnoreName("thread")
def load_time(finder, module):
"""the time module implicitly loads _strptime; make sure this happens."""
finder.IncludeModule("_strptime")
def load_twisted_conch_ssh_transport(finder, module):
"""the twisted.conch.ssh.transport module uses __import__ builtin to
dynamically load different ciphers at runtime."""
finder.IncludePackage("Crypto.Cipher")
def load_twitter(finder, module):
"""the twitter module tries to load the simplejson, json and django.utils
module in an attempt to locate any module that will implement the
necessary protocol; ignore these modules if they cannot be found."""
module.IgnoreName("json")
module.IgnoreName("simplejson")
module.IgnoreName("django.utils")
def load_win32api(finder, module):
"""the win32api module implicitly loads the pywintypes module; make sure
this happens."""
finder.ExcludeDependentFiles(module.file)
finder.IncludeModule("pywintypes")
def load_win32com(finder, module):
"""the win32com package manipulates its search path at runtime to include
the sibling directory called win32comext; simulate that by changing the
search path in a similar fashion here."""
baseDir = os.path.dirname(os.path.dirname(module.file))
module.path.append(os.path.join(baseDir, "win32comext"))
def load_win32file(finder, module):
"""the win32file module implicitly loads the pywintypes and win32timezone
module; make sure this happens."""
finder.IncludeModule("pywintypes")
finder.IncludeModule("win32timezone")
def load_wx_lib_pubsub_core(finder, module):
"""the wx.lib.pubsub.core module modifies the search path which cannot
be done in a frozen application in the same way; modify the module
search path here instead so that the right modules are found; note
that this only works if the import of wx.lib.pubsub.setupkwargs
occurs first."""
dirName = os.path.dirname(module.file)
module.path.insert(0, os.path.join(dirName, "kwargs"))
def load_Xlib_display(finder, module):
"""the Xlib.display module implicitly loads a number of extension modules;
make sure this happens."""
finder.IncludeModule("Xlib.ext.xtest")
finder.IncludeModule("Xlib.ext.shape")
finder.IncludeModule("Xlib.ext.xinerama")
finder.IncludeModule("Xlib.ext.record")
finder.IncludeModule("Xlib.ext.composite")
finder.IncludeModule("Xlib.ext.randr")
def load_Xlib_support_connect(finder, module):
"""the Xlib.support.connect module implicitly loads a platform specific
module; make sure this happens."""
if sys.platform.split("-")[0] == "OpenVMS":
moduleName = "vms_connect"
else:
moduleName = "unix_connect"
finder.IncludeModule("Xlib.support.%s" % moduleName)
def load_Xlib_XK(finder, module):
"""the Xlib.XK module implicitly loads some keysymdef modules; make sure
this happens."""
finder.IncludeModule("Xlib.keysymdef.miscellany")
finder.IncludeModule("Xlib.keysymdef.latin1")
def load_xml(finder, module):
"""the builtin xml package attempts to load the _xmlplus module to see if
that module should take its role instead; ignore the failure to find
this module, though."""
module.IgnoreName("_xmlplus")
def load_xml_etree_cElementTree(finder, module):
"""the xml.etree.cElementTree module implicitly loads the
xml.etree.ElementTree module; make sure this happens."""
finder.IncludeModule("xml.etree.ElementTree")
def load_xmlrpclib(finder, module):
"""the xmlrpclib optionally imports the _xmlrpclib and sgmlop modules;
ignore the error if these modules cannot be found."""
module.IgnoreName("_xmlrpclib")
module.IgnoreName("sgmlop")
def load_zope(finder, module):
"""the zope package is distributed in multiple packages and they need to be
stitched back together again."""
module.ExtendPath()
def load_zope_component(finder, module):
"""the zope.component package requires the presence of the pkg_resources
module but it uses a dynamic, not static import to do its work."""
finder.IncludeModule("pkg_resources")
def missing_cElementTree(finder, caller):
"""the cElementTree has been incorporated into the standard library in
Python 2.5 so ignore its absence if it cannot found."""
if sys.version_info[:2] >= (2, 5):
caller.IgnoreName("cElementTree")
def missing_EasyDialogs(finder, caller):
"""the EasyDialogs module is not normally present on Windows but it also
may be so instead of excluding it completely, ignore it if it can't be
found"""
if sys.platform == "win32":
caller.IgnoreName("EasyDialogs")
def missing_gdk(finder, caller):
"""the gdk module is buried inside gtk so there is no need to concern
ourselves with an error saying that it cannot be found"""
caller.IgnoreName("gdk")
def missing_ltihooks(finder, caller):
"""this module is not necessairly present so ignore it when it cannot be
found"""
caller.IgnoreName("ltihooks")
def missing_readline(finder, caller):
"""the readline module is not normally present on Windows but it also may
be so instead of excluding it completely, ignore it if it can't be
found"""
if sys.platform == "win32":
caller.IgnoreName("readline")
def missing_xml_etree(finder, caller):
"""the xml.etree package is new for Python 2.5 but it is common practice
to use a try..except.. block in order to support versions earlier than
Python 2.5 transparently; ignore the absence of the package in this
situation."""
if sys.version_info[:2] < (2, 5):
caller.IgnoreName("xml.etree")
def load_zmq(finder, module):
"""the zmq package loads zmq.backend.cython dynamically and links
dynamically to zmq.libzmq."""
finder.IncludePackage("zmq.backend.cython")
if sys.platform == "win32":
# Not sure yet if this is cross platform
import zmq.libzmq
srcFileName = os.path.basename(zmq.libzmq.__file__)
finder.IncludeFiles(
os.path.join(module.path[0], srcFileName), srcFileName)
def load_clr(finder, module):
"""the pythonnet package (imported as 'clr') needs Python.Runtime.dll
in runtime"""
module_dir = os.path.dirname(module.file)
dllname = 'Python.Runtime.dll'
finder.IncludeFiles(os.path.join(module_dir, dllname), dllname)
def _get_base_prefix():
"""Get prefix to site-specific directory prefix where the platform
independent Python files are installed."""
try:
return sys.base_prefix # Python 3.3+
except AttributeError:
# For Python 2, use sys.real_prefix set by virtualenv if set,
# otherwise fall back to sys.prefix
return getattr(sys, "real_prefix", sys.prefix)
def load_sqlite3(finder, module):
"""In Windows, the sqlite3 module requires an additional dll sqlite3.dll to
be present in the build directory."""
if sys.platform == "win32":
dll_name = "sqlite3.dll"
dll_path = os.path.join(_get_base_prefix(), "DLLs", dll_name)
finder.IncludeFiles(dll_path, dll_name)
| [
1,
529,
9507,
29958,
18904,
29918,
20475,
911,
29914,
1251,
12117,
29889,
2272,
29966,
12443,
29918,
303,
1503,
29958,
29896,
29900,
29899,
29896,
29900,
29900,
13,
5215,
2897,
13,
5215,
10876,
13,
13,
1753,
11905,
29898,
2886,
261,
1125,
13,
1678,
9995,
786,
265,
17865,
310,
278,
1284,
261,
29892,
445,
26529,
338,
2000,
304,
731,
701,
777,
13,
539,
18428,
13489,
1080,
363,
5164,
21796,
1213,
15945,
13,
1678,
1284,
261,
29889,
1252,
2325,
7355,
703,
8610,
29940,
14632,
1159,
13,
1678,
1284,
261,
29889,
1252,
2325,
7355,
703,
359,
29889,
2084,
1159,
13,
1678,
1284,
261,
29889,
1252,
2325,
7355,
703,
18056,
307,
985,
292,
29889,
7032,
1159,
13,
1678,
565,
2897,
29889,
978,
1275,
376,
593,
1115,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
13801,
593,
29880,
1159,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
629,
29886,
1159,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
29886,
9970,
1159,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
8489,
2363,
1159,
13,
1678,
1683,
29901,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
29918,
1491,
5014,
1159,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
29918,
5080,
1727,
1159,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
1516,
15943,
1159,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
1516,
7071,
2273,
1159,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
18056,
307,
985,
292,
3032,
18056,
307,
985,
292,
1159,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
593,
1159,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
593,
2271,
29906,
2084,
1159,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
2272,
29950,
2550,
1159,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
4691,
510,
1159,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
2272,
29893,
524,
7384,
1159,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
5080,
2704,
1159,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
29893,
1144,
618,
1159,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
5080,
29941,
29906,
2754,
1159,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
5080,
29941,
29906,
535,
1159,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
5080,
29941,
29906,
23569,
1159,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
5080,
29941,
29906,
3696,
1159,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
5080,
29941,
29906,
5750,
29873,
1188,
1159,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
5080,
29941,
29906,
5750,
29873,
1188,
4422,
1159,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
5080,
29941,
29906,
1445,
1159,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
5080,
29941,
29906,
29886,
12744,
1159,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
5080,
29941,
29906,
17760,
1159,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
5080,
29941,
29906,
5014,
1159,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
5080,
29941,
29906,
8926,
1159,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
5080,
29941,
29906,
5509,
1159,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
23310,
29889,
4925,
29916,
1159,
13,
1678,
565,
2897,
29889,
978,
2804,
376,
1066,
861,
1115,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
1066,
861,
1159,
13,
1678,
565,
10876,
29889,
12120,
2804,
376,
16702,
5080,
1115,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
8179,
6718,
1159,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
7118,
1997,
1159,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
293,
1159,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
8628,
1159,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
15735,
3267,
1159,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
8628,
520,
8789,
1159,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
8628,
2084,
1159,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
8628,
2271,
29906,
2084,
1159,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
29918,
1557,
14701,
1159,
13,
4706,
565,
2897,
29889,
978,
2804,
376,
593,
1115,
13,
9651,
1284,
261,
29889,
1252,
2325,
7355,
703,
29923,
8995,
7647,
29879,
1159,
13,
1678,
565,
2897,
29889,
978,
2804,
376,
359,
29906,
1115,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
359,
29906,
1159,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
359,
29906,
331,
23635,
1159,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
29918,
331,
29916,
29918,
2324,
1159,
13,
1678,
565,
2897,
29889,
978,
2804,
376,
346,
1115,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
346,
1159,
13,
1678,
565,
2897,
29889,
978,
2804,
376,
3780,
3944,
1115,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
3780,
3944,
1159,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
3780,
3944,
21813,
1159,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
3780,
3944,
2084,
1159,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
29878,
473,
29880,
29906,
2084,
1159,
13,
1678,
565,
10876,
29889,
12120,
7503,
29946,
29962,
2804,
376,
1645,
1115,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
1645,
29889,
3893,
1159,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
990,
29889,
4691,
29889,
3221,
1159,
13,
1678,
565,
10876,
29889,
12120,
7503,
29946,
29962,
2804,
376,
6585,
29963,
4345,
1115,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
29894,
1516,
29918,
1982,
1159,
13,
1678,
565,
10876,
29889,
3259,
29918,
3888,
29961,
29900,
29962,
6736,
29871,
29941,
29901,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
1482,
1159,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
29911,
29895,
1639,
1159,
13,
1678,
1683,
29901,
13,
4706,
1284,
261,
29889,
1252,
2325,
7355,
703,
11178,
1639,
1159,
13,
13,
13,
1753,
2254,
29918,
29883,
2642,
9643,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
274,
2642,
9643,
3883,
27063,
15376,
278,
1543,
8336,
29889,
2642,
9643,
13,
539,
3883,
29936,
1207,
1854,
445,
5930,
1213,
15945,
13,
1678,
1284,
261,
29889,
29419,
7355,
703,
5029,
8336,
29889,
2642,
9643,
1159,
13,
13,
13,
1753,
2254,
29918,
346,
29949,
22840,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
2257,
29949,
22840,
3883,
27063,
24802,
1716,
12865,
322,
13677,
29936,
1207,
13,
539,
1854,
445,
5930,
1213,
15945,
13,
1678,
1284,
261,
29889,
29419,
7355,
703,
12673,
1159,
13,
1678,
1284,
261,
29889,
29419,
7355,
703,
7099,
3039,
1159,
13,
13,
13,
1753,
2254,
29918,
18904,
29918,
29949,
10792,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
28232,
29918,
29949,
10792,
3883,
27063,
24802,
12865,
29936,
1207,
1854,
445,
13,
539,
5930,
1213,
15945,
13,
1678,
1284,
261,
29889,
29419,
7355,
703,
12673,
1159,
13,
1678,
1018,
29901,
13,
4706,
1284,
261,
29889,
29419,
7355,
703,
7099,
3039,
1159,
13,
1678,
5174,
16032,
2392,
29901,
13,
4706,
1209,
13,
13,
13,
1753,
2254,
29918,
12673,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
12865,
3883,
27063,
24802,
931,
29936,
1207,
1854,
445,
5930,
1213,
15945,
13,
1678,
1284,
261,
29889,
29419,
7355,
703,
2230,
1159,
13,
13,
13,
1753,
2254,
29918,
1514,
13239,
29918,
8862,
355,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1576,
3523,
638,
3883,
338,
278,
2030,
1024,
363,
278,
3523,
5510,
3883,
29936,
11455,
278,
13,
539,
3883,
565,
372,
2609,
367,
1476,
1213,
15945,
13,
1678,
3883,
29889,
23805,
1170,
703,
3670,
638,
1159,
13,
13,
13,
1753,
2254,
29918,
29881,
11770,
29918,
7097,
292,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
20254,
29918,
7097,
292,
3883,
13582,
8090,
411,
278,
1024,
310,
278,
3244,
292,
13,
539,
3883,
363,
967,
1914,
11976,
29936,
11455,
393,
1244,
15945,
29908,
13,
1678,
1284,
261,
29889,
1252,
2325,
7355,
703,
29918,
29881,
11770,
29918,
7097,
292,
1159,
13,
13,
13,
1753,
2254,
29918,
5269,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
4876,
3577,
756,
263,
14928,
310,
14430,
2129,
408,
278,
1014,
5453,
2983,
892,
13,
539,
599,
3939,
304,
5224,
4878,
297,
5132,
29871,
29906,
29889,
29945,
29936,
286,
326,
293,
393,
1244,
1213,
15945,
13,
1678,
565,
10876,
29889,
3259,
29918,
3888,
7503,
29906,
29962,
6736,
313,
29906,
29892,
29871,
29945,
1125,
13,
4706,
363,
1024,
297,
4852,
5914,
842,
613,
376,
8566,
397,
414,
613,
376,
22463,
613,
376,
29737,
11726,
613,
13,
18884,
376,
21575,
613,
376,
7850,
613,
376,
13463,
4097,
613,
376,
3728,
613,
376,
11726,
613,
13,
18884,
376,
12177,
613,
376,
3188,
29953,
29946,
29924,
8890,
613,
376,
339,
459,
374,
29924,
8890,
29908,
1125,
13,
9651,
1284,
261,
29889,
2528,
29909,
18849,
703,
5269,
29889,
29995,
29879,
29908,
1273,
1024,
29892,
376,
5269,
29889,
29995,
29879,
29908,
1273,
1024,
29889,
13609,
3101,
13,
13,
13,
1753,
2254,
29918,
23102,
1982,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
285,
9392,
1982,
3883,
14734,
304,
1053,
278,
7791,
7077,
29903,
3883,
29936,
11455,
445,
13,
539,
3883,
565,
372,
2609,
367,
1476,
15945,
29908,
13,
1678,
3883,
29889,
23805,
1170,
703,
6156,
7077,
29903,
1159,
13,
13,
13,
1753,
2254,
29918,
29954,
361,
2940,
16288,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1576,
402,
361,
2940,
16288,
3883,
2984,
635,
24802,
278,
903,
326,
6751,
29918,
18660,
3883,
15945,
29908,
13,
1678,
3883,
29889,
23805,
1170,
703,
29918,
326,
6751,
29918,
18660,
1159,
13,
13,
13,
1753,
2254,
29918,
29887,
1982,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
23805,
13149,
1338,
393,
526,
19673,
1213,
15945,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
1692,
24616,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
5971,
13599,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
5971,
29918,
21662,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
5971,
29918,
26516,
29918,
20576,
11794,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
5971,
29918,
26516,
29918,
7194,
29918,
1529,
16033,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
5971,
29918,
26516,
29918,
3235,
29918,
16310,
6181,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
5971,
29918,
26516,
29918,
3235,
29918,
22048,
29968,
6181,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
5971,
29918,
26516,
29918,
3235,
29918,
16365,
6181,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
5971,
29918,
26516,
29918,
1529,
16033,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
5971,
29918,
26516,
29918,
29940,
1164,
29933,
21339,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
5971,
29918,
26516,
29918,
10490,
29918,
1529,
16033,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
5971,
29918,
29950,
4897,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
5971,
29918,
1177,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
5971,
29918,
29940,
8932,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
5971,
29918,
12015,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
5971,
29918,
29829,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
5971,
29918,
27047,
29918,
10051,
29909,
1177,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
5971,
29918,
27047,
29918,
29923,
9800,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
5971,
29918,
27047,
29918,
11432,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
5971,
29918,
27047,
29918,
29940,
1955,
1529,
29931,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
1204,
280,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
6330,
2677,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
6330,
18405,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
14094,
2725,
29918,
11432,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
14094,
2725,
29918,
11432,
29918,
29933,
3035,
29918,
19143,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
14094,
2725,
29918,
11432,
29918,
4519,
29902,
20566,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
14094,
2725,
29918,
11432,
29918,
3904,
29968,
6632,
16048,
29918,
14094,
2725,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
14094,
2725,
29918,
26516,
29918,
7724,
5813,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
14094,
2725,
29918,
26516,
29918,
29950,
1367,
29928,
1430,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
14094,
2725,
29918,
26516,
29918,
1177,
29918,
29032,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
14094,
2725,
29918,
26516,
29918,
6632,
1964,
29902,
3289,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
14094,
2725,
29918,
26516,
29918,
6632,
29918,
1718,
29954,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
14094,
2725,
29918,
26516,
29918,
14094,
2725,
1964,
29918,
1718,
29954,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
14094,
2725,
29918,
26516,
29918,
1525,
5348,
1660,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
14094,
2725,
29918,
1525,
29032,
4214,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
8375,
2677,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
8375,
4782,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
29829,
1955,
11937,
29918,
23397,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
29829,
1955,
11937,
29918,
23397,
29918,
1367,
1307,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
29829,
1955,
11937,
29918,
29950,
6259,
29950,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
29829,
1955,
11937,
29918,
29950,
6259,
29950,
29918,
1367,
1307,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
29829,
1955,
11937,
29918,
27998,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
29925,
333,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
29925,
3028,
26453,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
5550,
29909,
16048,
29918,
3210,
6227,
29928,
29918,
1177,
4448,
1806,
29903,
29918,
1254,
29928,
1177,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
5550,
29909,
16048,
29918,
3970,
29918,
12256,
29918,
1525,
3301,
29918,
3210,
6227,
29928,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
5550,
29909,
16048,
29918,
7724,
29918,
9468,
29918,
1718,
22928,
29918,
29999,
1001,
29949,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
5550,
29909,
16048,
29918,
1307,
7520,
29923,
29918,
2287,
7187,
24290,
24125,
29918,
4590,
1430,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
5550,
29909,
16048,
29918,
1660,
1718,
3210,
29918,
10145,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
5550,
29909,
16048,
29918,
1254,
8032,
29934,
29918,
4986,
29918,
2287,
29963,
29918,
10074,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
5550,
29909,
16048,
29918,
1254,
3970,
2692,
29918,
4986,
29918,
2287,
29963,
29918,
10074,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
4435,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
10851,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
5145,
29918,
12344,
29918,
1202,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
9507,
29918,
4990,
29918,
6500,
3871,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
9507,
29918,
4990,
29918,
978,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
9507,
29918,
3166,
29918,
9420,
29947,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
657,
29918,
6214,
29918,
978,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
657,
29918,
3784,
29918,
2230,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
657,
29918,
558,
29887,
978,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
29887,
1982,
29918,
3259,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
333,
280,
29918,
1202,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
601,
29918,
1202,
29918,
12344,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
3396,
29918,
4703,
29918,
4381,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
3396,
29918,
19488,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
3502,
786,
29918,
21587,
29918,
726,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
842,
29918,
6214,
29918,
978,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
842,
29918,
558,
29887,
978,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
4993,
29918,
5992,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
1028,
18101,
29918,
12674,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
15619,
29918,
1202,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
15619,
29918,
1202,
29918,
23128,
1159,
13,
13,
13,
1753,
2254,
29918,
4141,
29895,
1649,
4141,
29895,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
330,
11178,
3032,
4141,
29895,
3883,
756,
263,
1353,
310,
12235,
24802,
15945,
29908,
13,
1678,
1284,
261,
29889,
29419,
7355,
703,
271,
29895,
1159,
13,
1678,
1284,
261,
29889,
29419,
7355,
703,
1113,
3350,
1159,
13,
1678,
1284,
261,
29889,
29419,
7355,
703,
5346,
1159,
13,
1678,
1284,
261,
29889,
29419,
7355,
703,
29886,
4524,
1159,
13,
1678,
1284,
261,
29889,
29419,
7355,
703,
29886,
574,
542,
26025,
1159,
13,
13,
13,
1753,
2254,
29918,
8568,
1982,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
8568,
1982,
29915,
29879,
6416,
1627,
10585,
1016,
29915,
29873,
1863,
565,
278,
7126,
4673,
18641,
13,
1678,
14009,
526,
7500,
515,
903,
8568,
1982,
29892,
577,
591,
508,
11455,
278,
1059,
1213,
15945,
13,
1678,
3883,
29889,
23805,
1170,
703,
29918,
3487,
29945,
1159,
13,
1678,
3883,
29889,
23805,
1170,
703,
29918,
17051,
1159,
13,
1678,
3883,
29889,
23805,
1170,
703,
29918,
17051,
29906,
29945,
29953,
1159,
13,
1678,
3883,
29889,
23805,
1170,
703,
29918,
17051,
29945,
29896,
29906,
1159,
13,
13,
13,
1753,
2254,
29918,
29882,
29945,
2272,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
29882,
29945,
2272,
3883,
756,
263,
1353,
310,
12235,
24802,
15945,
29908,
13,
1678,
1284,
261,
29889,
29419,
7355,
877,
29882,
29945,
2272,
29889,
1753,
29879,
1495,
13,
1678,
1284,
261,
29889,
29419,
7355,
877,
29882,
29945,
2272,
29889,
13239,
1495,
13,
1678,
1284,
261,
29889,
29419,
7355,
877,
29882,
29945,
2272,
3032,
14701,
1495,
13,
1678,
1018,
29901,
13,
4706,
1053,
298,
29945,
2272,
29889,
2754,
29918,
1885,
13,
4706,
1284,
261,
29889,
29419,
7355,
877,
29882,
29945,
2272,
29889,
2754,
29918,
1885,
1495,
13,
1678,
5174,
16032,
2392,
29901,
13,
4706,
1209,
13,
1678,
1284,
261,
29889,
29419,
7355,
877,
29882,
29945,
2272,
3032,
12523,
1495,
13,
1678,
1284,
261,
29889,
29419,
7355,
877,
29882,
29945,
2272,
29889,
29882,
29945,
562,
1495,
13,
13,
13,
1753,
2254,
29918,
2922,
17357,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
22889,
3883,
6858,
848,
304,
367,
1476,
297,
286,
572,
29899,
1272,
297,
278,
13,
539,
1021,
3884,
408,
278,
14671,
2256,
16813,
577,
704,
27084,
372,
15945,
29908,
13,
1678,
4516,
353,
2897,
29889,
2084,
29889,
7122,
29898,
5453,
29889,
2084,
29961,
29900,
1402,
376,
29885,
572,
29899,
1272,
1159,
13,
1678,
1284,
261,
29889,
29419,
10547,
29898,
3972,
29892,
376,
29885,
572,
29899,
1272,
1159,
13,
13,
13,
1753,
2254,
29918,
2922,
17357,
29918,
8058,
861,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
12655,
29889,
8058,
861,
3883,
15376,
263,
1353,
310,
10585,
11200,
15945,
29908,
13,
1678,
363,
1024,
297,
4852,
655,
613,
376,
600,
29873,
613,
376,
10660,
29918,
15742,
613,
376,
8172,
29918,
2378,
613,
376,
828,
370,
29908,
1125,
13,
4706,
1284,
261,
29889,
29419,
7355,
11702,
29879,
29889,
29995,
29879,
29908,
1273,
313,
5453,
29889,
978,
29892,
1024,
876,
13,
13,
13,
1753,
2254,
29918,
29940,
25099,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
405,
25099,
3883,
2984,
635,
15376,
278,
8329,
2204,
294,
3883,
29936,
11455,
278,
1059,
13,
539,
565,
445,
10585,
947,
451,
1863,
1213,
15945,
13,
1678,
3883,
29889,
23805,
1170,
703,
6333,
2204,
294,
1159,
13,
13,
13,
1753,
2254,
29918,
23749,
29918,
3221,
29918,
9910,
2378,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
12655,
29889,
3221,
29889,
9910,
2378,
3883,
338,
385,
6081,
3883,
322,
278,
12655,
13,
539,
3883,
24802,
334,
515,
445,
3883,
29936,
4529,
278,
1051,
310,
5534,
2983,
13,
539,
3625,
304,
445,
3883,
297,
1797,
304,
4772,
805,
332,
2738,
4436,
1048,
4567,
13,
539,
10585,
15945,
29908,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
279,
927,
1159,
13,
13,
13,
1753,
2254,
29918,
23749,
29918,
3221,
29918,
8058,
919,
7384,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
12655,
29889,
3221,
29889,
8058,
919,
7384,
3883,
12778,
263,
1353,
310,
4452,
304,
3528,
13,
539,
11200,
29936,
4529,
1438,
304,
4772,
805,
332,
2738,
4436,
1048,
4567,
13,
539,
10585,
15945,
29908,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
11227,
29918,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
2252,
2074,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
19676,
29888,
417,
1218,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
2395,
292,
280,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
8896,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
7411,
29953,
29946,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
7411,
29918,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
457,
29916,
627,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
524,
29883,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
524,
29941,
29906,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
4537,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
14369,
1159,
13,
13,
13,
1753,
2254,
29918,
23749,
29918,
3221,
29918,
398,
493,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
12655,
29889,
3221,
29889,
398,
493,
3883,
338,
385,
6081,
3883,
322,
278,
12655,
3883,
13,
539,
24802,
334,
515,
445,
3883,
29936,
4529,
278,
1051,
310,
5534,
2983,
3625,
13,
539,
304,
445,
3883,
297,
1797,
304,
4772,
805,
332,
2738,
4436,
1048,
4567,
13,
539,
10585,
15945,
29908,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
1202,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
23552,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
279,
617,
359,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
279,
617,
10578,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
279,
2395,
262,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
279,
2395,
262,
29882,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
27014,
273,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
27014,
27731,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
2966,
3538,
29918,
392,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
2966,
3538,
29918,
272,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
2966,
3538,
29918,
29916,
272,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
27696,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
535,
29926,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
535,
29926,
688,
403,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
3944,
29882,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
4563,
680,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
29888,
6897,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
14939,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
14939,
29918,
4563,
680,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
29888,
1545,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
7979,
1008,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
29882,
1478,
327,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
262,
1765,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
4492,
262,
568,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
275,
7192,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
275,
13707,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
2222,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
1563,
29918,
10889,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
1188,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
1188,
936,
29918,
392,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
1188,
936,
29918,
1333,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
1188,
936,
29918,
272,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
1188,
936,
29918,
29916,
272,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
27525,
398,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
1195,
12539,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
18056,
368,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
22198,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
1333,
29918,
11745,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
13519,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
1745,
475,
672,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
1266,
29918,
10889,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
4530,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
5223,
29882,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
3676,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
13161,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
13161,
29882,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
3009,
29918,
4563,
680,
1159,
13,
13,
13,
1753,
2254,
29918,
23749,
29918,
5721,
13239,
29918,
6519,
29918,
29879,
3200,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
12655,
29889,
5721,
13239,
29889,
6519,
29889,
29879,
3200,
3883,
2984,
635,
24802,
278,
954,
29879,
3200,
13,
539,
3883,
29936,
11455,
278,
1059,
565,
278,
3883,
2609,
367,
1476,
1213,
15945,
13,
1678,
3883,
29889,
23805,
1170,
703,
1949,
29879,
3200,
1159,
13,
13,
13,
1753,
2254,
29918,
23749,
29918,
5721,
13239,
29918,
29885,
10669,
29918,
4422,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
12655,
29889,
5721,
13239,
29889,
29885,
10669,
29918,
4422,
3883,
2984,
635,
24802,
278,
954,
29879,
3200,
13,
539,
3883,
29936,
11455,
278,
1059,
565,
278,
3883,
2609,
367,
1476,
1213,
15945,
13,
1678,
3883,
29889,
23805,
1170,
703,
1949,
29879,
3200,
1159,
13,
13,
13,
1753,
2254,
29918,
23749,
29918,
5721,
13239,
29918,
5205,
29918,
3888,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
12655,
29889,
5721,
13239,
29889,
5205,
29918,
3888,
3883,
2984,
635,
24802,
278,
405,
25099,
13,
539,
3883,
29936,
11455,
278,
1059,
565,
278,
3883,
2609,
367,
1476,
1213,
15945,
13,
1678,
3883,
29889,
23805,
1170,
703,
29940,
25099,
1159,
13,
13,
13,
1753,
2254,
29918,
23749,
29918,
29888,
29906,
2272,
22359,
3259,
12035,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
12655,
29889,
29888,
29906,
2272,
17255,
3259,
1649,
3883,
2984,
635,
24802,
278,
4770,
27517,
29918,
3259,
1649,
13,
539,
3883,
29936,
11455,
278,
1059,
565,
278,
3883,
2609,
367,
1476,
1213,
15945,
13,
1678,
3883,
29889,
23805,
1170,
703,
1649,
27517,
29918,
3259,
1649,
1159,
13,
13,
13,
1753,
2254,
29918,
23749,
29918,
29880,
979,
29887,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
12655,
29889,
29880,
979,
29887,
3883,
27063,
15376,
278,
425,
4058,
29918,
29880,
568,
3883,
29936,
1207,
13,
539,
1854,
445,
5930,
15945,
29908,
13,
1678,
1284,
261,
29889,
29419,
7355,
703,
23749,
29889,
29880,
979,
29887,
29889,
433,
4058,
29918,
29880,
568,
1159,
13,
13,
13,
1753,
2254,
29918,
23749,
29918,
8172,
29918,
29885,
509,
392,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
12655,
29889,
8172,
29889,
29885,
509,
392,
3883,
338,
385,
6081,
3883,
322,
278,
12655,
13,
539,
3883,
24802,
334,
515,
445,
3883,
29936,
4529,
278,
1051,
310,
5534,
2983,
13,
539,
3625,
304,
445,
3883,
297,
1797,
304,
4772,
805,
332,
2738,
4436,
1048,
4567,
13,
539,
10585,
15945,
29908,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
9502,
1159,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
9502,
29876,
1159,
13,
13,
13,
1753,
2254,
29918,
29272,
29918,
1982,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
27035,
29889,
1982,
3883,
6858,
278,
4303,
9675,
29889,
2850,
934,
304,
367,
5134,
13,
539,
577,
1207,
1854,
393,
934,
338,
5134,
15945,
29908,
13,
1678,
29729,
353,
2897,
29889,
2084,
29889,
7122,
29898,
5453,
29889,
2084,
29961,
29900,
1402,
376,
1982,
9675,
29889,
2850,
1159,
13,
1678,
1284,
261,
29889,
29419,
10547,
29898,
28926,
29892,
2897,
29889,
2084,
29889,
6500,
3871,
29898,
28926,
876,
13,
13,
13,
1753,
2254,
29918,
2349,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1576,
269,
3146,
3883,
338,
451,
4312,
363,
445,
3883,
304,
740,
1213,
15945,
13,
1678,
3883,
29889,
23805,
1170,
703,
29879,
3146,
1159,
13,
13,
13,
1753,
2254,
29918,
2272,
1514,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1576,
11451,
1514,
3883,
674,
664,
1728,
278,
323,
29895,
1639,
3883,
577,
11455,
278,
13,
539,
1059,
565,
393,
3883,
2609,
367,
1476,
1213,
15945,
13,
1678,
3883,
29889,
23805,
1170,
703,
29911,
29895,
1639,
1159,
13,
13,
13,
1753,
2254,
29918,
4691,
510,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
3017,
510,
3883,
338,
2869,
11122,
297,
263,
22474,
541,
1951,
1906,
13,
539,
2609,
367,
7500,
4153,
297,
5132,
29871,
29906,
29889,
29945,
322,
6133,
263,
4266,
3883,
338,
13,
539,
1304,
304,
2189,
393,
3414,
29936,
3763,
671,
393,
11043,
4153,
304,
13,
539,
8161,
278,
1024,
310,
278,
22474,
322,
9801,
372,
338,
5134,
408,
263,
934,
297,
13,
539,
278,
3646,
3884,
1213,
15945,
13,
1678,
1053,
3017,
510,
13,
1678,
1284,
261,
29889,
29419,
10547,
29898,
4691,
510,
17255,
1445,
1649,
29892,
13,
9651,
2897,
29889,
2084,
29889,
7122,
703,
1982,
613,
2897,
29889,
2084,
29889,
6500,
3871,
29898,
4691,
510,
17255,
1445,
1649,
8243,
13,
9651,
3509,
8498,
3906,
10547,
353,
7700,
29897,
13,
13,
13,
1753,
2254,
29918,
2272,
29893,
524,
7384,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
282,
5693,
524,
7384,
3883,
338,
2869,
11122,
297,
263,
22474,
541,
1951,
1906,
13,
539,
2609,
367,
7500,
4153,
297,
5132,
29871,
29906,
29889,
29945,
322,
6133,
263,
4266,
3883,
338,
13,
539,
1304,
304,
2189,
393,
3414,
29936,
3763,
671,
393,
11043,
4153,
304,
13,
539,
8161,
278,
1024,
310,
278,
22474,
322,
9801,
372,
338,
5134,
408,
263,
934,
297,
278,
13,
539,
3646,
3884,
1213,
15945,
13,
1678,
1053,
282,
5693,
524,
7384,
13,
1678,
1284,
261,
29889,
29419,
10547,
29898,
2272,
29893,
524,
7384,
17255,
1445,
1649,
29892,
13,
9651,
2897,
29889,
2084,
29889,
7122,
703,
1982,
613,
2897,
29889,
2084,
29889,
6500,
3871,
29898,
2272,
29893,
524,
7384,
17255,
1445,
1649,
8243,
13,
9651,
3509,
8498,
3906,
10547,
353,
7700,
29897,
13,
13,
13,
29937,
10772,
17303,
29945,
322,
10772,
17303,
29946,
508,
29915,
29873,
1716,
367,
7500,
297,
278,
1021,
1889,
29892,
577,
591,
7090,
278,
13,
29937,
14705,
9203,
3883,
577,
591,
508,
1603,
736,
1554,
25182,
565,
591,
1018,
304,
2254,
13,
29937,
1716,
29889,
13,
29918,
17915,
3221,
353,
6213,
13,
1753,
903,
17915,
29918,
21382,
29898,
5453,
1125,
13,
1678,
9995,
10739,
740,
304,
679,
1024,
313,
19737,
17303,
29946,
29892,
10772,
17303,
29945,
29892,
10772,
23908,
29897,
322,
278,
14705,
9203,
3883,
13,
1678,
9995,
13,
1678,
5534,
903,
17915,
3221,
13,
1678,
1024,
353,
3883,
29889,
978,
29889,
5451,
12839,
29861,
29900,
29962,
13,
1678,
1018,
29901,
13,
4706,
903,
17915,
3221,
353,
4770,
5215,
12035,
978,
29892,
515,
1761,
29922,
1839,
17303,
9203,
2033,
467,
17303,
9203,
13,
1678,
5174,
24875,
2392,
29901,
13,
4706,
1596,
703,
29956,
25614,
29901,
29547,
304,
2254,
2999,
297,
23712,
14705,
11463,
22437,
29889,
376,
13,
795,
376,
9526,
10240,
2066,
1122,
367,
13746,
23157,
13,
1678,
736,
1024,
29892,
903,
17915,
3221,
13,
13,
1753,
3509,
29918,
17915,
29918,
12800,
29898,
12800,
29892,
1284,
261,
29892,
14705,
9203,
1125,
13,
1678,
9995,
10739,
740,
304,
1284,
322,
3509,
14705,
18224,
1213,
15945,
13,
268,
13,
1678,
396,
14705,
1858,
8385,
508,
2845,
367,
297,
263,
18224,
3884,
2446,
304,
278,
14705,
9562,
29892,
13,
1678,
396,
470,
297,
916,
14354,
9904,
491,
660,
9203,
4873,
29889,
5258,
2605,
29879,
580,
13,
1678,
4516,
29900,
353,
2897,
29889,
2084,
29889,
7122,
29898,
359,
29889,
2084,
29889,
25721,
29898,
17303,
9203,
17255,
1445,
1649,
511,
376,
12800,
1159,
13,
1678,
363,
4303,
2084,
297,
14705,
9203,
29889,
29984,
9203,
4873,
29889,
5258,
2605,
29879,
580,
718,
518,
3972,
29900,
5387,
13,
4706,
2752,
2084,
353,
2897,
29889,
2084,
29889,
7122,
29898,
710,
29898,
1982,
2084,
511,
18224,
29897,
13,
4706,
565,
2897,
29889,
2084,
29889,
9933,
29898,
4993,
2084,
1125,
13,
9651,
1284,
261,
29889,
29419,
10547,
29898,
4993,
2084,
29892,
18224,
29897,
13,
13,
13,
1753,
2254,
29918,
19737,
17303,
29946,
29918,
17607,
265,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
797,
3852,
29892,
1374,
265,
265,
29946,
29889,
12396,
6858,
385,
5684,
24415,
1374,
265,
265,
29918,
6289,
29929,
29946,
29889,
12396,
304,
13,
539,
367,
2198,
297,
278,
2048,
3884,
2768,
263,
4138,
1374,
265,
265,
29918,
27852,
1213,
15945,
13,
1678,
1024,
29892,
14705,
9203,
353,
903,
17915,
29918,
21382,
29898,
5453,
29897,
13,
1678,
565,
10876,
29889,
12120,
1275,
376,
5080,
29941,
29906,
1115,
13,
4706,
3509,
29918,
17915,
29918,
12800,
703,
17607,
265,
29918,
27852,
613,
1284,
261,
29892,
14705,
9203,
29897,
13,
13,
1359,
29918,
19737,
23908,
29918,
17607,
265,
353,
2254,
29918,
19737,
17303,
29945,
29918,
17607,
265,
353,
2254,
29918,
19737,
17303,
29946,
29918,
17607,
265,
13,
13,
1753,
2254,
29918,
19737,
17303,
29946,
29918,
17303,
9203,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
10772,
17303,
29946,
29889,
17303,
9203,
3883,
27063,
24802,
278,
269,
666,
3883,
322,
29892,
13,
539,
8679,
373,
5285,
29892,
278,
10772,
17303,
29946,
3032,
17915,
3883,
1213,
15945,
13,
1678,
1024,
29892,
14705,
9203,
353,
903,
17915,
29918,
21382,
29898,
5453,
29897,
13,
1678,
1284,
261,
29889,
29419,
7355,
703,
29879,
666,
1159,
13,
1678,
1018,
29901,
13,
4706,
1284,
261,
29889,
29419,
7355,
11702,
29879,
3032,
17915,
29908,
1273,
1024,
29897,
13,
1678,
5174,
16032,
2392,
29901,
13,
4706,
1209,
13,
13,
1359,
29918,
19737,
17303,
29945,
29918,
17303,
9203,
353,
2254,
29918,
19737,
17303,
29946,
29918,
17303,
9203,
13,
13,
1753,
2254,
29918,
19737,
23908,
29918,
17303,
9203,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
19737,
23908,
29889,
17303,
9203,
11200,
15376,
278,
3659,
1982,
263,
4776,
277,
3883,
1213,
15945,
13,
1678,
1284,
261,
29889,
29419,
7355,
703,
403,
29916,
277,
1159,
13,
13,
1753,
2254,
29918,
19737,
17303,
29946,
29918,
17303,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
10772,
17303,
29946,
29889,
17303,
3883,
338,
385,
6081,
3883,
607,
24802,
263,
1353,
310,
13,
539,
916,
10585,
322,
11658,
29879,
1009,
7397,
964,
967,
1914,
29889,
739,
2444,
263,
13,
539,
17928,
728,
982,
310,
2599,
2712,
541,
6060,
727,
338,
777,
7934,
10631,
13,
539,
304,
445,
11043,
975,
8296,
5132,
29936,
11455,
278,
18070,
310,
777,
310,
13,
539,
278,
10585,
1951,
451,
1432,
11161,
7805,
599,
310,
963,
1213,
15945,
13,
1678,
1024,
29892,
14705,
9203,
353,
903,
17915,
29918,
21382,
29898,
5453,
29897,
13,
1678,
1284,
261,
29889,
29419,
7355,
11702,
29879,
29889,
17303,
9203,
29908,
1273,
1024,
29897,
13,
1678,
1284,
261,
29889,
29419,
7355,
11702,
29879,
29889,
17303,
28707,
29908,
1273,
1024,
29897,
13,
1678,
363,
878,
297,
4852,
29918,
17915,
613,
376,
17303,
29903,
29894,
29887,
613,
376,
29984,
26167,
613,
376,
17303,
7900,
22137,
613,
376,
17303,
13724,
613,
376,
17303,
6585,
7239,
613,
13,
18884,
376,
17303,
4081,
613,
376,
17303,
10520,
613,
376,
17303,
29903,
29894,
29887,
613,
376,
17303,
3057,
613,
376,
17303,
11089,
29908,
1125,
13,
4706,
1018,
29901,
13,
9651,
1284,
261,
29889,
29419,
7355,
29898,
978,
718,
525,
6169,
718,
878,
29897,
13,
4706,
5174,
16032,
2392,
29901,
13,
9651,
1209,
13,
13,
1359,
29918,
19737,
17303,
29945,
29918,
17303,
353,
2254,
29918,
19737,
17303,
29946,
29918,
17303,
13,
13,
1753,
2254,
29918,
19737,
17303,
29946,
29918,
29884,
293,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1576,
318,
293,
3883,
3732,
671,
310,
376,
12800,
29908,
393,
817,
304,
367,
1303,
4153,
322,
13,
539,
2609,
367,
14671,
2256,
29936,
278,
10772,
17303,
29946,
29889,
17303,
3609,
13117,
322,
10772,
17303,
29946,
29889,
17303,
13724,
10585,
526,
13,
539,
884,
2411,
17024,
7500,
1213,
15945,
13,
1678,
1024,
29892,
14705,
9203,
353,
903,
17915,
29918,
21382,
29898,
5453,
29897,
13,
1678,
4516,
353,
2897,
29889,
2084,
29889,
7122,
29898,
5453,
29889,
2084,
29961,
29900,
1402,
376,
8030,
29899,
12800,
1159,
13,
1678,
1284,
261,
29889,
29419,
10547,
29898,
3972,
29892,
11860,
29879,
29889,
29884,
293,
29889,
8030,
29899,
12800,
29908,
1273,
1024,
29897,
13,
1678,
1284,
261,
29889,
29419,
7355,
11702,
29879,
29889,
17303,
13724,
29908,
1273,
1024,
29897,
13,
1678,
1018,
29901,
13,
4706,
1284,
261,
29889,
29419,
7355,
11702,
29879,
29889,
17303,
3609,
13117,
29908,
1273,
1024,
29897,
13,
1678,
5174,
16032,
2392,
29901,
13,
4706,
1209,
13,
13,
1359,
29918,
19737,
17303,
29945,
29918,
29884,
293,
353,
2254,
29918,
19737,
17303,
29946,
29918,
29884,
293,
13,
13,
1753,
903,
17303,
28707,
29898,
2886,
261,
29892,
3883,
29892,
1873,
29918,
710,
1125,
13,
1678,
1024,
29892,
14705,
9203,
353,
903,
17915,
29918,
21382,
29898,
5453,
29897,
13,
1678,
1284,
261,
29889,
29419,
7355,
11702,
29879,
29889,
17303,
9203,
29908,
1273,
1024,
29897,
13,
1678,
3509,
29918,
17915,
29918,
12800,
703,
3027,
689,
1446,
613,
1284,
261,
29892,
14705,
9203,
29897,
13,
1678,
565,
1873,
29918,
710,
6736,
525,
29945,
2396,
13,
4706,
396,
1551,
14705,
29945,
29892,
591,
817,
278,
7481,
18224,
29889,
1152,
23205,
29892,
591,
925,
3509,
738,
13,
4706,
396,
393,
526,
5130,
29889,
13,
4706,
3509,
29918,
17915,
29918,
12800,
703,
12120,
29879,
613,
1284,
261,
29892,
14705,
9203,
29897,
13,
13,
1753,
2254,
29918,
19737,
17303,
29946,
29918,
17303,
28707,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
8439,
338,
263,
8825,
393,
14839,
674,
671,
777,
1967,
21971,
13,
1678,
788,
278,
1967,
3402,
18224,
13,
1678,
9995,
13,
1678,
1024,
29892,
14705,
9203,
353,
903,
17915,
29918,
21382,
29898,
5453,
29897,
13,
1678,
903,
17303,
28707,
29898,
2886,
261,
29892,
3883,
29892,
14705,
9203,
29889,
29984,
29911,
29918,
16358,
29918,
10810,
29897,
13,
13,
1359,
29918,
19737,
17303,
29945,
29918,
17303,
28707,
353,
2254,
29918,
19737,
17303,
29946,
29918,
17303,
28707,
13,
13,
1753,
2254,
29918,
19737,
23908,
29918,
17303,
28707,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
8439,
338,
263,
8825,
393,
14839,
674,
671,
777,
1967,
21971,
13,
1678,
788,
278,
1967,
3402,
18224,
13,
1678,
9995,
13,
1678,
515,
10772,
23908,
1053,
14705,
9203,
13,
1678,
396,
349,
952,
680,
17255,
3259,
29930,
338,
10772,
23908,
1873,
29892,
10772,
23908,
29889,
17303,
9203,
17255,
3259,
29930,
338,
14705,
1873,
13,
1678,
903,
17303,
28707,
29898,
2886,
261,
29892,
3883,
29892,
14705,
9203,
17255,
3259,
1649,
29897,
13,
13,
1753,
2254,
29918,
19737,
17303,
29945,
29918,
17303,
8801,
29879,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
1284,
261,
29889,
29419,
7355,
877,
19737,
17303,
29945,
29889,
17303,
28707,
1495,
13,
13,
1753,
2254,
29918,
19737,
17303,
29946,
29918,
17303,
3609,
13117,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
1024,
29892,
14705,
9203,
353,
903,
17915,
29918,
21382,
29898,
5453,
29897,
13,
1678,
1284,
261,
29889,
29419,
7355,
11702,
29879,
29889,
17303,
13724,
29908,
1273,
1024,
29897,
13,
1678,
1284,
261,
29889,
29419,
7355,
11702,
29879,
29889,
17303,
28707,
29908,
1273,
1024,
29897,
13,
13,
1359,
29918,
19737,
17303,
29945,
29918,
17303,
3609,
13117,
353,
2254,
29918,
19737,
23908,
29918,
17303,
3609,
13117,
353,
2254,
29918,
19737,
17303,
29946,
29918,
17303,
3609,
13117,
13,
13,
1753,
2254,
29918,
19737,
17303,
29945,
29918,
17303,
11930,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
1024,
29892,
14705,
9203,
353,
903,
17915,
29918,
21382,
29898,
5453,
29897,
13,
1678,
1284,
261,
29889,
29419,
7355,
11702,
29879,
29889,
17303,
9203,
29908,
1273,
1024,
29897,
13,
1678,
1284,
261,
29889,
29419,
7355,
11702,
29879,
29889,
17303,
11930,
8801,
29879,
29908,
1273,
1024,
29897,
13,
1678,
3509,
29918,
17915,
29918,
12800,
703,
2168,
3173,
261,
1087,
613,
1284,
261,
29892,
14705,
9203,
29897,
13,
13,
13,
1753,
2254,
29918,
12276,
8205,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
3461,
8205,
3883,
15376,
263,
1014,
5453,
364,
29880,
29918,
11027,
3025,
2279,
577,
4889,
13,
539,
967,
28694,
1244,
15945,
29908,
13,
1678,
1284,
261,
29889,
29419,
7355,
703,
12276,
8205,
29889,
2096,
29918,
11027,
1159,
13,
13,
13,
1753,
2254,
29918,
26167,
2272,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
4560,
2272,
3883,
15376,
4452,
2629,
3528,
297,
263,
982,
393,
9946,
13,
539,
4828,
1728,
278,
4152,
3577,
322,
263,
1353,
310,
916,
1014,
8318,
13,
539,
1641,
2198,
1213,
15945,
13,
1678,
1284,
261,
29889,
29419,
14459,
703,
26167,
2272,
3032,
1982,
1159,
13,
1678,
1284,
261,
29889,
29419,
14459,
703,
26167,
2272,
29889,
29885,
10669,
1159,
13,
13,
13,
1753,
2254,
29918,
26167,
2272,
29918,
29880,
979,
29887,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
4560,
2272,
29889,
29880,
979,
29887,
3883,
15376,
4452,
2629,
3528,
297,
263,
982,
393,
9946,
13,
539,
4828,
1728,
278,
4152,
3577,
1641,
2198,
1213,
15945,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
12324,
1159,
13,
1678,
1284,
261,
29889,
29419,
14459,
703,
26167,
2272,
29889,
29880,
979,
29887,
1159,
13,
13,
13,
1753,
2254,
29918,
26167,
2272,
29918,
29880,
979,
29887,
29918,
13248,
29918,
1885,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
4560,
2272,
29889,
29880,
979,
29887,
29889,
13248,
29918,
1885,
3883,
2984,
635,
24802,
278,
758,
3883,
29936,
13,
539,
11455,
278,
1059,
565,
445,
3883,
2609,
367,
1476,
15945,
29908,
13,
1678,
3883,
29889,
23805,
1170,
703,
1457,
1159,
13,
13,
13,
1753,
2254,
29918,
26167,
2272,
29918,
29879,
5510,
29918,
29880,
979,
29887,
29918,
29881,
2929,
345,
29918,
29880,
1144,
324,
345,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
4560,
2272,
29889,
29880,
979,
29887,
29889,
29881,
2929,
345,
29889,
29880,
1144,
324,
345,
2984,
635,
15376,
4560,
29895,
1169,
29889,
398,
29888,
4058,
15945,
29908,
13,
1678,
3883,
29889,
23805,
1170,
703,
26167,
29895,
1169,
29889,
398,
29888,
4058,
1159,
13,
13,
13,
1753,
2254,
29918,
26167,
2272,
29918,
18732,
1649,
346,
561,
267,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
4560,
2272,
29889,
18732,
3032,
346,
561,
267,
338,
385,
6081,
3883,
322,
278,
4560,
2272,
3883,
13,
539,
24802,
334,
515,
372,
297,
7600,
29936,
18811,
895,
278,
5534,
2983,
393,
526,
1304,
13,
539,
297,
1797,
304,
4772,
805,
332,
2738,
4436,
1048,
4567,
10585,
1213,
15945,
13,
1678,
3883,
29889,
2528,
12756,
1170,
703,
29887,
4850,
284,
29876,
1159,
13,
13,
13,
1753,
2254,
29918,
842,
21245,
8789,
29918,
17588,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
731,
21245,
8789,
29889,
17588,
3883,
2984,
635,
15376,
13,
539,
10772,
276,
29916,
29889,
13398,
13239,
29889,
4282,
29918,
1062,
541,
967,
18070,
338,
451,
5545,
385,
1059,
1213,
15945,
13,
1678,
3883,
29889,
23805,
1170,
703,
19737,
276,
29916,
29889,
13398,
13239,
29889,
4282,
29918,
1062,
1159,
13,
13,
13,
1753,
2254,
29918,
2746,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
3268,
3883,
2984,
635,
15376,
278,
3268,
6341,
675,
322,
1404,
6341,
675,
13,
539,
10585,
29936,
11455,
278,
1059,
565,
1438,
10585,
437,
451,
1863,
1213,
15945,
13,
1678,
3883,
29889,
23805,
1170,
703,
2746,
6341,
675,
1159,
13,
1678,
3883,
29889,
23805,
1170,
703,
1792,
6341,
675,
1159,
13,
13,
13,
1753,
2254,
29918,
11178,
1639,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
18883,
1639,
3883,
756,
848,
2066,
393,
526,
3734,
304,
367,
7500,
577,
13,
539,
9801,
393,
896,
526,
13746,
964,
278,
3884,
393,
338,
3806,
472,
13,
539,
10073,
1213,
15945,
13,
1678,
565,
10876,
29889,
12120,
1275,
376,
5080,
29941,
29906,
1115,
13,
4706,
1053,
18883,
1639,
13,
4706,
1053,
903,
11178,
1639,
13,
4706,
260,
695,
4435,
9170,
353,
2897,
29889,
21813,
3366,
29911,
6154,
29918,
5265,
15176,
19926,
3108,
13,
4706,
18883,
4435,
9170,
353,
2897,
29889,
21813,
3366,
29911,
29968,
29918,
5265,
15176,
19926,
3108,
13,
4706,
1284,
261,
29889,
29419,
10547,
29898,
29873,
695,
4435,
9170,
29892,
376,
29873,
695,
1159,
13,
4706,
1284,
261,
29889,
29419,
10547,
29898,
11178,
4435,
9170,
29892,
376,
11178,
1159,
13,
13,
13,
1753,
2254,
29918,
29911,
29895,
1639,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
323,
29895,
1639,
3883,
756,
848,
2066,
393,
526,
3734,
304,
367,
7500,
577,
13,
539,
9801,
393,
896,
526,
13746,
964,
278,
3884,
393,
338,
3806,
472,
13,
539,
10073,
1213,
15945,
13,
1678,
1053,
323,
29895,
1639,
13,
1678,
1053,
903,
11178,
1639,
13,
1678,
18883,
353,
903,
11178,
1639,
29889,
3258,
580,
13,
1678,
260,
695,
9170,
353,
2897,
29889,
2084,
29889,
25721,
29898,
11178,
29889,
4804,
703,
3888,
613,
376,
5258,
5783,
13,
1678,
396,
373,
6570,
1060,
29892,
323,
695,
322,
323,
29895,
526,
19098,
297,
29143,
29892,
1422,
5912,
13,
1678,
565,
10876,
29889,
12120,
1275,
525,
16702,
5080,
29915,
322,
18883,
29889,
4804,
877,
11178,
742,
525,
7165,
886,
973,
1495,
1275,
525,
18463,
29874,
2396,
13,
4706,
260,
695,
4435,
9170,
29922,
359,
29889,
2084,
29889,
7122,
29898,
359,
29889,
2084,
29889,
5451,
29898,
29873,
695,
9170,
9601,
29900,
1402,
525,
29911,
695,
1495,
13,
4706,
18883,
4435,
9170,
353,
260,
695,
4435,
9170,
29889,
6506,
877,
29911,
695,
742,
525,
29911,
29895,
1495,
13,
1678,
1683,
29901,
13,
4706,
260,
695,
4435,
9170,
353,
2897,
29889,
2084,
29889,
7122,
29898,
29873,
695,
9170,
29892,
376,
29873,
695,
29995,
29879,
29908,
1273,
903,
11178,
1639,
29889,
29911,
6154,
29918,
16358,
29897,
13,
4706,
18883,
4435,
9170,
353,
2897,
29889,
2084,
29889,
7122,
29898,
29873,
695,
9170,
29892,
376,
11178,
29995,
29879,
29908,
1273,
903,
11178,
1639,
29889,
29911,
29968,
29918,
16358,
29897,
13,
1678,
1284,
261,
29889,
29419,
10547,
29898,
29873,
695,
4435,
9170,
29892,
376,
29873,
695,
1159,
13,
1678,
1284,
261,
29889,
29419,
10547,
29898,
11178,
4435,
9170,
29892,
376,
11178,
1159,
13,
13,
13,
1753,
2254,
29918,
7382,
1445,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
5694,
1445,
3883,
14734,
304,
2254,
278,
285,
20047,
29880,
322,
3244,
10585,
541,
13,
539,
18172,
565,
1438,
10585,
2609,
367,
1476,
29936,
11455,
1438,
10585,
565,
896,
13,
539,
2609,
367,
1476,
1213,
15945,
13,
1678,
3883,
29889,
23805,
1170,
703,
13801,
593,
29880,
1159,
13,
1678,
3883,
29889,
23805,
1170,
703,
7097,
1159,
13,
13,
13,
1753,
2254,
29918,
2230,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
931,
3883,
27063,
15376,
903,
710,
415,
603,
29936,
1207,
1854,
445,
5930,
1213,
15945,
13,
1678,
1284,
261,
29889,
29419,
7355,
703,
29918,
710,
415,
603,
1159,
13,
13,
13,
1753,
2254,
29918,
7516,
12652,
29918,
535,
305,
29918,
15269,
29918,
27882,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
3252,
12652,
29889,
535,
305,
29889,
15269,
29889,
27882,
3883,
3913,
4770,
5215,
1649,
4240,
262,
304,
13,
539,
11200,
2254,
1422,
4583,
561,
414,
472,
10073,
1213,
15945,
13,
1678,
1284,
261,
29889,
29419,
14459,
703,
29907,
17929,
29889,
29907,
29875,
8096,
1159,
13,
13,
13,
1753,
2254,
29918,
24946,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
23394,
3883,
14335,
304,
2254,
278,
2560,
3126,
29892,
4390,
322,
9557,
29889,
13239,
13,
539,
3883,
297,
385,
4218,
304,
26694,
738,
3883,
393,
674,
2334,
278,
13,
539,
5181,
9608,
29936,
11455,
1438,
10585,
565,
896,
2609,
367,
1476,
1213,
15945,
13,
1678,
3883,
29889,
23805,
1170,
703,
3126,
1159,
13,
1678,
3883,
29889,
23805,
1170,
703,
12857,
3126,
1159,
13,
1678,
3883,
29889,
23805,
1170,
703,
14095,
29889,
13239,
1159,
13,
13,
13,
1753,
2254,
29918,
5080,
29941,
29906,
2754,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
5401,
29941,
29906,
2754,
3883,
27063,
15376,
278,
282,
5693,
524,
7384,
3883,
29936,
1207,
1854,
13,
539,
445,
5930,
1213,
15945,
13,
1678,
1284,
261,
29889,
1252,
2325,
8498,
3906,
10547,
29898,
5453,
29889,
1445,
29897,
13,
1678,
1284,
261,
29889,
29419,
7355,
703,
2272,
29893,
524,
7384,
1159,
13,
13,
13,
1753,
2254,
29918,
5080,
29941,
29906,
510,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
5401,
29941,
29906,
510,
3577,
11525,
352,
1078,
967,
2740,
2224,
472,
10073,
304,
3160,
13,
539,
278,
27767,
1847,
3884,
2000,
5401,
29941,
29906,
510,
1062,
29936,
29611,
393,
491,
6480,
278,
13,
539,
2740,
2224,
297,
263,
2788,
13460,
1244,
1213,
15945,
13,
1678,
2967,
9170,
353,
2897,
29889,
2084,
29889,
25721,
29898,
359,
29889,
2084,
29889,
25721,
29898,
5453,
29889,
1445,
876,
13,
1678,
3883,
29889,
2084,
29889,
4397,
29898,
359,
29889,
2084,
29889,
7122,
29898,
3188,
9170,
29892,
376,
5080,
29941,
29906,
510,
1062,
5783,
13,
13,
13,
1753,
2254,
29918,
5080,
29941,
29906,
1445,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
5401,
29941,
29906,
1445,
3883,
27063,
15376,
278,
282,
5693,
524,
7384,
322,
5401,
29941,
29906,
2230,
8028,
13,
539,
3883,
29936,
1207,
1854,
445,
5930,
1213,
15945,
13,
1678,
1284,
261,
29889,
29419,
7355,
703,
2272,
29893,
524,
7384,
1159,
13,
1678,
1284,
261,
29889,
29419,
7355,
703,
5080,
29941,
29906,
2230,
8028,
1159,
13,
13,
13,
1753,
2254,
29918,
23310,
29918,
1982,
29918,
5467,
1491,
29918,
3221,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
26437,
29889,
1982,
29889,
5467,
1491,
29889,
3221,
3883,
878,
11057,
278,
2740,
2224,
607,
2609,
13,
539,
367,
2309,
297,
263,
14671,
2256,
2280,
297,
278,
1021,
982,
29936,
6623,
278,
3883,
13,
539,
2740,
2224,
1244,
2012,
577,
393,
278,
1492,
10585,
526,
1476,
29936,
4443,
13,
539,
393,
445,
871,
1736,
565,
278,
1053,
310,
26437,
29889,
1982,
29889,
5467,
1491,
29889,
14669,
19290,
13,
539,
10008,
937,
1213,
15945,
13,
1678,
4516,
1170,
353,
2897,
29889,
2084,
29889,
25721,
29898,
5453,
29889,
1445,
29897,
13,
1678,
3883,
29889,
2084,
29889,
7851,
29898,
29900,
29892,
2897,
29889,
2084,
29889,
7122,
29898,
3972,
1170,
29892,
376,
19290,
5783,
13,
13,
13,
1753,
2254,
29918,
29990,
1982,
29918,
4990,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
1060,
1982,
29889,
4990,
3883,
27063,
15376,
263,
1353,
310,
6081,
10585,
29936,
13,
539,
1207,
1854,
445,
5930,
1213,
15945,
13,
1678,
1284,
261,
29889,
29419,
7355,
703,
29990,
1982,
29889,
1062,
29889,
486,
342,
1159,
13,
1678,
1284,
261,
29889,
29419,
7355,
703,
29990,
1982,
29889,
1062,
29889,
12181,
1159,
13,
1678,
1284,
261,
29889,
29419,
7355,
703,
29990,
1982,
29889,
1062,
29889,
29916,
4983,
3304,
1159,
13,
1678,
1284,
261,
29889,
29419,
7355,
703,
29990,
1982,
29889,
1062,
29889,
11651,
1159,
13,
1678,
1284,
261,
29889,
29419,
7355,
703,
29990,
1982,
29889,
1062,
29889,
22410,
568,
1159,
13,
1678,
1284,
261,
29889,
29419,
7355,
703,
29990,
1982,
29889,
1062,
29889,
9502,
29878,
1159,
13,
13,
13,
1753,
2254,
29918,
29990,
1982,
29918,
5924,
29918,
6915,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
1060,
1982,
29889,
5924,
29889,
6915,
3883,
27063,
15376,
263,
7481,
2702,
13,
539,
3883,
29936,
1207,
1854,
445,
5930,
1213,
15945,
13,
1678,
565,
10876,
29889,
12120,
29889,
5451,
703,
29899,
1159,
29961,
29900,
29962,
1275,
376,
6585,
29963,
4345,
1115,
13,
4706,
3883,
1170,
353,
376,
29894,
1516,
29918,
6915,
29908,
13,
1678,
1683,
29901,
13,
4706,
3883,
1170,
353,
376,
24538,
29918,
6915,
29908,
13,
1678,
1284,
261,
29889,
29419,
7355,
703,
29990,
1982,
29889,
5924,
29889,
29995,
29879,
29908,
1273,
3883,
1170,
29897,
13,
13,
13,
1753,
2254,
29918,
29990,
1982,
29918,
29990,
29968,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
1060,
1982,
29889,
29990,
29968,
3883,
27063,
15376,
777,
6611,
962,
1753,
10585,
29936,
1207,
1854,
13,
539,
445,
5930,
1213,
15945,
13,
1678,
1284,
261,
29889,
29419,
7355,
703,
29990,
1982,
29889,
8149,
962,
1753,
29889,
26737,
3729,
1384,
1159,
13,
1678,
1284,
261,
29889,
29419,
7355,
703,
29990,
1982,
29889,
8149,
962,
1753,
29889,
5066,
262,
29896,
1159,
13,
13,
13,
1753,
2254,
29918,
3134,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
4240,
262,
4903,
3577,
14734,
304,
2254,
278,
903,
3134,
11242,
3883,
304,
1074,
565,
13,
539,
393,
3883,
881,
2125,
967,
6297,
2012,
29936,
11455,
278,
10672,
304,
1284,
13,
539,
445,
3883,
29892,
2466,
1213,
15945,
13,
1678,
3883,
29889,
23805,
1170,
703,
29918,
3134,
11242,
1159,
13,
13,
13,
1753,
2254,
29918,
3134,
29918,
300,
929,
29918,
29883,
2642,
9643,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
4903,
29889,
300,
929,
29889,
29883,
2642,
9643,
3883,
27063,
15376,
278,
13,
539,
4903,
29889,
300,
929,
29889,
2642,
9643,
3883,
29936,
1207,
1854,
445,
5930,
1213,
15945,
13,
1678,
1284,
261,
29889,
29419,
7355,
703,
3134,
29889,
300,
929,
29889,
2642,
9643,
1159,
13,
13,
13,
1753,
2254,
29918,
3134,
29878,
6739,
1982,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
4903,
29878,
6739,
1982,
2984,
635,
24802,
278,
903,
3134,
29878,
6739,
1982,
322,
269,
29887,
29885,
4757,
10585,
29936,
13,
539,
11455,
278,
1059,
565,
1438,
10585,
2609,
367,
1476,
1213,
15945,
13,
1678,
3883,
29889,
23805,
1170,
703,
29918,
3134,
29878,
6739,
1982,
1159,
13,
1678,
3883,
29889,
23805,
1170,
703,
5311,
29885,
4757,
1159,
13,
13,
13,
1753,
2254,
29918,
29920,
2300,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
503,
2300,
3577,
338,
13235,
297,
2999,
9741,
322,
896,
817,
304,
367,
13,
539,
380,
2335,
287,
1250,
4208,
1449,
1213,
15945,
13,
1678,
3883,
29889,
5647,
355,
2605,
580,
13,
13,
13,
1753,
2254,
29918,
29920,
2300,
29918,
9700,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
503,
2300,
29889,
9700,
3577,
6858,
278,
10122,
310,
278,
282,
9415,
29918,
13237,
13,
539,
3883,
541,
372,
3913,
263,
7343,
29892,
451,
2294,
1053,
304,
437,
967,
664,
1213,
15945,
13,
1678,
1284,
261,
29889,
29419,
7355,
703,
15865,
29918,
13237,
1159,
13,
13,
13,
1753,
4567,
29918,
29883,
2642,
9643,
29898,
2886,
261,
29892,
24959,
1125,
13,
1678,
9995,
1552,
274,
2642,
9643,
756,
1063,
11039,
630,
964,
278,
3918,
3489,
297,
13,
539,
5132,
29871,
29906,
29889,
29945,
577,
11455,
967,
18070,
565,
372,
2609,
1476,
1213,
15945,
13,
1678,
565,
10876,
29889,
3259,
29918,
3888,
7503,
29906,
29962,
6736,
313,
29906,
29892,
29871,
29945,
1125,
13,
4706,
24959,
29889,
23805,
1170,
703,
29883,
2642,
9643,
1159,
13,
13,
13,
1753,
4567,
29918,
29923,
8995,
7647,
29879,
29898,
2886,
261,
29892,
24959,
1125,
13,
1678,
9995,
1552,
382,
8995,
7647,
29879,
3883,
338,
451,
12891,
2198,
373,
3852,
541,
372,
884,
13,
539,
1122,
367,
577,
2012,
310,
429,
22368,
372,
6446,
29892,
11455,
372,
565,
372,
508,
29915,
29873,
367,
13,
539,
1476,
15945,
29908,
13,
1678,
565,
10876,
29889,
12120,
1275,
376,
5080,
29941,
29906,
1115,
13,
4706,
24959,
29889,
23805,
1170,
703,
29923,
8995,
7647,
29879,
1159,
13,
13,
13,
1753,
4567,
29918,
29887,
8181,
29898,
2886,
261,
29892,
24959,
1125,
13,
1678,
9995,
1552,
330,
8181,
3883,
338,
18550,
2768,
330,
11178,
577,
727,
338,
694,
817,
304,
5932,
13,
539,
20278,
411,
385,
1059,
5934,
393,
372,
2609,
367,
1476,
15945,
29908,
13,
1678,
24959,
29889,
23805,
1170,
703,
29887,
8181,
1159,
13,
13,
13,
1753,
4567,
29918,
1896,
29875,
1251,
12117,
29898,
2886,
261,
29892,
24959,
1125,
13,
1678,
9995,
1366,
3883,
338,
451,
3520,
1466,
368,
2198,
577,
11455,
372,
746,
372,
2609,
367,
13,
539,
1476,
15945,
29908,
13,
1678,
24959,
29889,
23805,
1170,
703,
1896,
29875,
1251,
12117,
1159,
13,
13,
13,
1753,
4567,
29918,
949,
1220,
29898,
2886,
261,
29892,
24959,
1125,
13,
1678,
9995,
1552,
1303,
1220,
3883,
338,
451,
12891,
2198,
373,
3852,
541,
372,
884,
1122,
13,
539,
367,
577,
2012,
310,
429,
22368,
372,
6446,
29892,
11455,
372,
565,
372,
508,
29915,
29873,
367,
13,
539,
1476,
15945,
29908,
13,
1678,
565,
10876,
29889,
12120,
1275,
376,
5080,
29941,
29906,
1115,
13,
4706,
24959,
29889,
23805,
1170,
703,
949,
1220,
1159,
13,
13,
13,
1753,
4567,
29918,
3134,
29918,
300,
929,
29898,
2886,
261,
29892,
24959,
1125,
13,
1678,
9995,
1552,
4903,
29889,
300,
929,
3577,
338,
716,
363,
5132,
29871,
29906,
29889,
29945,
541,
372,
338,
3619,
6944,
13,
539,
304,
671,
263,
1018,
636,
19499,
636,
2908,
297,
1797,
304,
2304,
6910,
8859,
1135,
13,
539,
5132,
29871,
29906,
29889,
29945,
1301,
862,
2705,
29936,
11455,
278,
18070,
310,
278,
3577,
297,
445,
13,
539,
6434,
1213,
15945,
13,
1678,
565,
10876,
29889,
3259,
29918,
3888,
7503,
29906,
29962,
529,
313,
29906,
29892,
29871,
29945,
1125,
13,
4706,
24959,
29889,
23805,
1170,
703,
3134,
29889,
300,
929,
1159,
13,
13,
13,
1753,
2254,
29918,
14018,
29939,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
12162,
29939,
3577,
15376,
12162,
29939,
29889,
27852,
29889,
1270,
386,
265,
11200,
322,
2988,
29871,
13,
1678,
11200,
304,
12162,
29939,
29889,
1982,
14018,
29939,
1213,
15945,
13,
1678,
1284,
261,
29889,
29419,
14459,
703,
14018,
29939,
29889,
27852,
29889,
1270,
386,
265,
1159,
13,
1678,
565,
10876,
29889,
12120,
1275,
376,
5080,
29941,
29906,
1115,
13,
4706,
396,
2216,
1854,
3447,
565,
445,
338,
4891,
7481,
13,
4706,
1053,
12162,
29939,
29889,
1982,
14018,
29939,
13,
4706,
4765,
17020,
353,
2897,
29889,
2084,
29889,
6500,
3871,
29898,
14018,
29939,
29889,
1982,
14018,
29939,
17255,
1445,
1649,
29897,
13,
4706,
1284,
261,
29889,
29419,
10547,
29898,
13,
9651,
2897,
29889,
2084,
29889,
7122,
29898,
5453,
29889,
2084,
29961,
29900,
1402,
4765,
17020,
511,
4765,
17020,
29897,
13,
13,
13,
1753,
2254,
29918,
695,
29878,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
1552,
3017,
1212,
3577,
313,
5215,
287,
408,
525,
695,
29878,
1495,
4225,
5132,
29889,
7944,
29889,
12396,
13,
1678,
297,
10073,
15945,
29908,
13,
1678,
3883,
29918,
3972,
353,
2897,
29889,
2084,
29889,
25721,
29898,
5453,
29889,
1445,
29897,
13,
1678,
24415,
978,
353,
525,
11980,
29889,
7944,
29889,
12396,
29915,
13,
1678,
1284,
261,
29889,
29419,
10547,
29898,
359,
29889,
2084,
29889,
7122,
29898,
5453,
29918,
3972,
29892,
24415,
978,
511,
24415,
978,
29897,
13,
13,
13,
1753,
903,
657,
29918,
3188,
29918,
13506,
7295,
13,
1678,
9995,
2577,
10944,
304,
3268,
29899,
14940,
3884,
10944,
988,
278,
7481,
13,
1678,
7417,
5132,
2066,
526,
5130,
1213,
15945,
13,
1678,
1018,
29901,
13,
4706,
736,
10876,
29889,
3188,
29918,
13506,
29871,
396,
5132,
29871,
29941,
29889,
29941,
29974,
13,
1678,
5174,
23833,
2392,
29901,
13,
4706,
396,
1152,
5132,
29871,
29906,
29892,
671,
10876,
29889,
6370,
29918,
13506,
731,
491,
6901,
6272,
565,
731,
29892,
13,
4706,
396,
6467,
6416,
1250,
304,
10876,
29889,
13506,
13,
4706,
736,
679,
5552,
29898,
9675,
29892,
376,
6370,
29918,
13506,
613,
10876,
29889,
13506,
29897,
13,
13,
13,
1753,
2254,
29918,
22793,
29941,
29898,
2886,
261,
29892,
3883,
1125,
13,
1678,
9995,
797,
3852,
29892,
278,
21120,
29941,
3883,
6858,
385,
5684,
24415,
21120,
29941,
29889,
12396,
304,
13,
539,
367,
2198,
297,
278,
2048,
3884,
1213,
15945,
13,
1678,
565,
10876,
29889,
12120,
1275,
376,
5080,
29941,
29906,
1115,
13,
4706,
24415,
29918,
978,
353,
376,
22793,
29941,
29889,
12396,
29908,
13,
4706,
24415,
29918,
2084,
353,
2897,
29889,
2084,
29889,
7122,
7373,
657,
29918,
3188,
29918,
13506,
3285,
376,
29928,
2208,
29879,
613,
24415,
29918,
978,
29897,
13,
4706,
1284,
261,
29889,
29419,
10547,
29898,
12396,
29918,
2084,
29892,
24415,
29918,
978,
29897,
13,
2
] |
resources/views/Absensi/models/DB.py | Ackyras/KP-LabMM | 0 | 157191 | <filename>resources/views/Absensi/models/DB.py
# %%
# import
import pymysql.cursors
from datetime import date
from models.Asprak import Asprak
# %%
class DB:
def __init__(self, DB_HOST, DB_USER, DB_PASS, DB_NAME):
self.host = DB_HOST
self.name = DB_NAME
self.user = DB_USER
self.password = <PASSWORD>
self.cursor = None
self.conn = None
self.conn = pymysql.connect(
host=self.host,
db=self.name,
user=self.user,
passwd=self.password,
)
self.cursor = self.conn.cursor()
# %%
# def absence(NIM, data):
# try :
# sql = "INSERT INTO `absensi` (`asprak_id`) VALUES (`"+data.id+"`)"
# except pymysql.Error as err :
# print("Gagal menambahkan data %d: %s" %(e.args[0], e.args[1]))
# return "success"
def check_absence(self, asprak):
t = time.localtime()
sql = "SELECT `id` FROM `aspraks` WHERE `id` = `" + \
ids+"` AND `tgl_absen` = `"+datenow+"`"
data = self.cursor.fetchfirst(sql)
if data == null:
return True
else :
return False
# def asbence(self, asprak):
# if (check_absence(self.cursor, asprak)):
# try :
# except pymysql.Error as e:
def get_asprak(self, NIM):
sql = "SELECT * FROM `aspraks` WHERE `nim` = '"+NIM+"'"
self.cursor.execute(sql)
data = self.cursor.fetchone()
asprak = Asprak(data[0], data[1], NIM)
return asprak
def check_asprak(self, NIM):
sql = "SELECT * FROM `aspraks` WHERE `nim` = '"+NIM+"'"
data = self.cursor.execute(sql)
if data == 0:
return False
else:
return True
| [
1,
529,
9507,
29958,
13237,
29914,
7406,
29914,
4920,
23149,
29875,
29914,
9794,
29914,
4051,
29889,
2272,
13,
29937,
17806,
13,
29937,
1053,
13,
5215,
282,
962,
952,
1519,
29889,
29883,
1295,
943,
13,
3166,
12865,
1053,
2635,
13,
3166,
4733,
29889,
29909,
1028,
4442,
1053,
26562,
4442,
13,
13,
29937,
17806,
13,
13,
13,
1990,
6535,
29901,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
6535,
29918,
20832,
29892,
6535,
29918,
11889,
29892,
6535,
29918,
25711,
29892,
6535,
29918,
5813,
1125,
13,
4706,
1583,
29889,
3069,
353,
6535,
29918,
20832,
13,
4706,
1583,
29889,
978,
353,
6535,
29918,
5813,
13,
4706,
1583,
29889,
1792,
353,
6535,
29918,
11889,
13,
4706,
1583,
29889,
5630,
353,
529,
25711,
17013,
29958,
13,
4706,
1583,
29889,
18127,
353,
6213,
13,
4706,
1583,
29889,
13082,
353,
6213,
13,
4706,
1583,
29889,
13082,
353,
282,
962,
952,
1519,
29889,
6915,
29898,
13,
9651,
3495,
29922,
1311,
29889,
3069,
29892,
13,
9651,
4833,
29922,
1311,
29889,
978,
29892,
13,
9651,
1404,
29922,
1311,
29889,
1792,
29892,
13,
9651,
1209,
9970,
29922,
1311,
29889,
5630,
29892,
13,
4706,
1723,
13,
4706,
1583,
29889,
18127,
353,
1583,
29889,
13082,
29889,
18127,
580,
13,
13,
29937,
17806,
13,
1678,
396,
822,
18070,
29898,
29940,
7833,
29892,
848,
1125,
13,
1678,
396,
268,
1018,
584,
13,
1678,
396,
308,
4576,
353,
376,
19460,
11646,
421,
6897,
575,
29875,
29952,
6695,
4692,
4442,
29918,
333,
6348,
15673,
6695,
17969,
1272,
29889,
333,
29974,
6937,
5513,
13,
1678,
396,
268,
5174,
282,
962,
952,
1519,
29889,
2392,
408,
4589,
584,
13,
1678,
396,
308,
1596,
703,
29954,
351,
284,
1757,
1117,
801,
11052,
848,
1273,
29881,
29901,
1273,
29879,
29908,
1273,
29898,
29872,
29889,
5085,
29961,
29900,
1402,
321,
29889,
5085,
29961,
29896,
12622,
13,
1678,
396,
268,
736,
376,
8698,
29908,
13,
13,
1678,
822,
1423,
29918,
6897,
663,
29898,
1311,
29892,
7051,
4442,
1125,
13,
4706,
260,
353,
931,
29889,
2997,
2230,
580,
13,
13,
4706,
4576,
353,
376,
6404,
421,
333,
29952,
3895,
421,
4692,
336,
2039,
29952,
5754,
421,
333,
29952,
353,
10248,
718,
320,
13,
9651,
18999,
29974,
6937,
5300,
421,
29873,
3820,
29918,
370,
4881,
29952,
353,
10248,
29974,
10207,
340,
29974,
6937,
29908,
13,
4706,
848,
353,
1583,
29889,
18127,
29889,
9155,
4102,
29898,
2850,
29897,
13,
4706,
565,
848,
1275,
1870,
29901,
13,
9651,
736,
5852,
13,
4706,
1683,
584,
13,
9651,
736,
7700,
13,
13,
1678,
396,
822,
408,
29890,
663,
29898,
1311,
29892,
7051,
4442,
1125,
13,
4706,
396,
565,
313,
3198,
29918,
6897,
663,
29898,
1311,
29889,
18127,
29892,
7051,
4442,
22164,
13,
4706,
396,
268,
1018,
584,
13,
13,
4706,
396,
268,
5174,
282,
962,
952,
1519,
29889,
2392,
408,
321,
29901,
13,
13,
13,
1678,
822,
679,
29918,
4692,
4442,
29898,
1311,
29892,
405,
7833,
1125,
13,
4706,
4576,
353,
376,
6404,
334,
3895,
421,
4692,
336,
2039,
29952,
5754,
421,
16135,
29952,
353,
525,
17969,
29940,
7833,
13578,
11838,
13,
4706,
1583,
29889,
18127,
29889,
7978,
29898,
2850,
29897,
13,
4706,
848,
353,
1583,
29889,
18127,
29889,
9155,
650,
580,
13,
4706,
7051,
4442,
353,
26562,
4442,
29898,
1272,
29961,
29900,
1402,
848,
29961,
29896,
1402,
405,
7833,
29897,
13,
4706,
736,
7051,
4442,
13,
13,
1678,
822,
1423,
29918,
4692,
4442,
29898,
1311,
29892,
405,
7833,
1125,
13,
4706,
4576,
353,
376,
6404,
334,
3895,
421,
4692,
336,
2039,
29952,
5754,
421,
16135,
29952,
353,
525,
17969,
29940,
7833,
13578,
11838,
13,
4706,
848,
353,
1583,
29889,
18127,
29889,
7978,
29898,
2850,
29897,
13,
4706,
565,
848,
1275,
29871,
29900,
29901,
13,
9651,
736,
7700,
13,
4706,
1683,
29901,
13,
9651,
736,
5852,
13,
2
] |
mylib/web_client.py | mo-han/mo-han-toolbox | 24 | 91452 | <filename>mylib/web_client.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Library for website operation"""
import json
from concurrent.futures.thread import ThreadPoolExecutor
from queue import Queue
from urllib.parse import urlparse, ParseResult
import colorama
import humanize
import lxml.html
import requests.utils
from mylib.easy.stdlibs.typing import JSONType
from mylib.ext import fstk, ostk
from .easy import *
from mylib.ext.http_headers import CURLCookieJar
from .easy.logging import ez_get_logger, LOG_FMT_MESSAGE_ONLY
from .easy.io import SubscriptableFileIO
from .ext.tricks import singleton, iter_factory_retry
from .easy.stdlibs.threading import ez_thread_factory
MAGIC_TXT_NETSCAPE_HTTP_COOKIE_FILE = '# Netscape HTTP Cookie File'
USER_AGENT_FIREFOX_WIN10 = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0'
HTMLElementTree = lxml.html.HtmlElement
def get_html_element_tree(url, **requests_kwargs) -> HTMLElementTree:
r = requests.get(url, **requests_kwargs)
if r.ok:
return lxml.html.document_fromstring(r.text)
else:
raise ConnectionError(r.status_code, r.reason)
def convert_cookies_json_to_netscape(json_data_or_filepath: JSONType or str, disable_filepath: bool = False) -> str:
from mylib.ext.fstk import read_json_file
if not disable_filepath and os.path.isfile(json_data_or_filepath):
json_data = read_json_file(json_data_or_filepath)
else:
json_data = json_data_or_filepath
cookies = ensure_json_cookies(json_data)
tab = '\t'
false_ = 'FALSE' + tab
true_ = 'TRUE' + tab
lines = [MAGIC_TXT_NETSCAPE_HTTP_COOKIE_FILE]
for c in cookies:
http_only_prefix = '#HttpOnly_' if c['httpOnly'] else ''
line = http_only_prefix + c['domain'] + tab
if c['hostOnly']:
line += false_
else:
line += true_
line += c['path'] + tab
if c['secure']:
line += true_
else:
line += false_
line += '{}\t{}\t{}'.format(c.get('expirationDate', 0), c['name'], c['value'])
lines.append(line)
return '\n'.join(lines)
def convert_cookies_file_json_to_netscape(src, dst=None) -> str:
if not os.path.isfile(src):
raise FileNotFoundError(src)
dst = dst or src + '.txt'
with fstk.ensure_open_file(dst, 'w') as f:
f.write(convert_cookies_json_to_netscape(src))
return dst
def ensure_json_cookies(json_data) -> list:
if isinstance(json_data, list):
cookies = json_data
elif isinstance(json_data, dict):
if 'cookies' in json_data:
if isinstance(json_data['cookies'], list):
cookies = json_data['cookies']
else:
raise TypeError("{}['cookies'] is not list".format(json_data))
else:
raise TypeError("dict '{}' has no 'cookies'".format(json_data))
else:
raise TypeError("'{}' is not list or dict".format(json_data))
return cookies
def cookies_dict_from_json(json_data_or_filepath: JSONType or str, disable_filepath: bool = False) -> dict:
from mylib.ext.fstk import read_json_file
if not disable_filepath and os.path.isfile(json_data_or_filepath):
json_data = read_json_file(json_data_or_filepath)
else:
json_data = json_data_or_filepath
d = {}
cookies = ensure_json_cookies(json_data)
for c in cookies:
d[c['name']] = c['value']
return d
def cookies_dict_from_netscape_file(filepath: str, ignore_discard=True, ignore_expires=True) -> dict:
cj = CURLCookieJar(filepath)
cj.load(ignore_discard=ignore_discard, ignore_expires=ignore_expires)
return requests.utils.dict_from_cookiejar(cj)
def cookies_dict_from_file(filepath: str, ignore_discard=True, ignore_expires=True) -> dict:
if not os.path.isfile(filepath):
raise FileNotFoundError(filepath)
if filepath.endswith('.json'):
d = cookies_dict_from_json(filepath)
else:
d = cookies_dict_from_netscape_file(filepath, ignore_discard=ignore_discard, ignore_expires=ignore_expires)
return d
def cookie_str_from_dict(cookies: dict) -> str:
cookies_l = ['{}={}'.format(k, v) for k, v in cookies.items()]
cookie = '; '.join(cookies_l)
return cookie
def headers_from_user_agent(user_agent: str = None, headers: dict = None) -> dict:
from copy import deepcopy
h = deepcopy(headers) or {}
h['User-Agent'] = user_agent or USER_AGENT_FIREFOX_WIN10
return h
def headers_from_cookies(cookies_data: dict or str, headers: dict = None) -> dict:
from copy import deepcopy
h = deepcopy(headers) or headers_from_user_agent()
if isinstance(cookies_data, dict):
cookie = cookie_str_from_dict(cookies_data)
elif isinstance(cookies_data, str):
cookie = cookies_data
else:
raise TypeError('cookies_data', (dict, str))
h['Cookie'] = cookie
return h
def get_phantomjs_splinter(proxy=None, show_image=False, window_size=(1024, 1024)):
import splinter
extra_argv = ['--webdriver-loglevel=WARN']
if proxy:
extra_argv.append('--proxy={}'.format(proxy))
if not show_image:
extra_argv.append('--load-images=no')
b = splinter.Browser(
'phantomjs',
service_log_path=os.path.join(ostk.TEMPDIR, 'ghostdriver.log'),
user_agent=USER_AGENT_FIREFOX_WIN10,
service_args=extra_argv,
)
b.driver.set_window_size(*window_size)
return b
def get_firefox_splinter(headless=True, proxy: str = None, **kwargs):
import splinter
config = {'service_log_path': os.path.join(ostk.TEMPDIR, 'geckodriver.log'),
'headless': headless}
config.update(kwargs)
profile_dict = {}
if proxy:
from urllib.parse import urlparse
prefix = 'network.proxy.'
profile_dict[prefix + 'type'] = 1
proxy_parse = urlparse(proxy)
scheme = proxy_parse.scheme
netloc = proxy_parse.netloc
try:
host, port = netloc.split(':')
port = int(port)
except ValueError:
raise ValueError(proxy)
if scheme in ('http', 'https', ''):
profile_dict[prefix + 'http'] = host
profile_dict[prefix + 'http_port'] = port
profile_dict[prefix + 'https'] = host
profile_dict[prefix + 'https_port'] = port
elif scheme.startswith('socks'):
profile_dict[prefix + 'socks'] = host
profile_dict[prefix + 'socks_port'] = port
else:
raise ValueError(proxy)
browser = splinter.Browser(driver_name='firefox', profile_preferences=profile_dict, **config)
return browser
def get_zope_splinter(**kwargs):
import splinter
return splinter.Browser(driver_name='zope.testbrowser', **kwargs)
get_browser = {
'splinter.phantomjs': get_phantomjs_splinter,
}
def human_filesize(bytes_n: int, no_space=True):
s = humanize.naturalsize(bytes_n, binary=True)
if no_space:
return s.replace(' ', '')
else:
return s
class Download:
def __init__(self, response: requests.Response, filepath: str = None,
content: bytes = None, no_content: bool = False):
content = b'' if no_content else content or response.content
if not response.ok:
raise HTTPResponseInspection(response, content)
self.id = id(response)
self.file = filepath or None
self.code = response.status_code
self.reason = response.reason
self.url = response.request.url
self.data = content
self.size = len(self.data)
content_length = int(response.headers.get('Content-Length', '-1'))
if content_length >= 0 and content_length != self.size:
raise HTTPIncomplete(content_length, self.size)
if self.code == 206:
content_range = response.headers['Content-Range']
start, end, total = [int(s) for s in re.search(r'(\d+)-(\d+)/(\d+)', content_range).groups()]
self.start = start
self.stop = end + 1
if self.stop - self.start != self.size:
raise HTTPIncomplete(self.size, self.stop - self.start)
self.total_size = total
else:
self.start = 0
self.stop = self.size
self.total_size = self.size
@property
def is_complete_data(self):
return self.size == self.total_size
@property
def is_at_end(self):
return self.stop >= self.total_size
class HTTPResponseInspection(Exception):
def __init__(self, response: requests.Response, content: bytes = None, no_content: bool = False, size: int = None):
http_ver = {10: '1.0', 11: '1.1'}
content = b'' if no_content else content or response.content
self.version = http_ver[response.raw.version]
self.code = int(response.status_code)
self.reason = str(response.reason)
self.json = None
self.size = len(content)
if no_content:
self.excerpt = None
elif self.size <= 32:
self.excerpt = content
elif self.size <= 4096:
encoding = response.encoding or response.apparent_encoding
try:
text = str(content, encoding=encoding, errors='replace')
except (LookupError, TypeError):
text = str(content, errors='replace')
h: HTMLElementTree = lxml.html.document_fromstring(text)
self.excerpt = h.body.text_content()
else:
self.excerpt = None
ct = response.headers['content-type']
if 'json' in ct or 'javascript' in ct:
try:
self.json = response.json()
except json.decoder.JSONDecodeError:
pass
if size is not None:
self.size = size
self.excerpt = '{} bytes'.format(size)
def __repr__(self):
t = 'HTTP/{} {} {}'.format(self.version, self.code, self.reason)
if self.json:
t += ', JSON={}'.format(self.json)
elif self.excerpt:
t += ', {}'.format(self.excerpt)
elif self.excerpt is not None:
t += ', {} bytes'.format(self.size)
return t
__str__ = __repr__
class HTTPIncomplete(Exception):
def __init__(self, expect_size: int, recv_size: int):
self.expect_size = expect_size
self.recv_size = recv_size
@singleton
class DownloadPool(ThreadPoolExecutor):
tmpfile_suffix = '.download'
def __init__(self, threads_n: int = 5, timeout: int = 30, name: str = None, show_status: bool = True):
self._max_workers: int = 0
self.queue = Queue()
self.timeout = timeout
self.name = name or self.__class__.__name__
self.logger = ez_get_logger('.'.join((__name__, self.name)), fmt=LOG_FMT_MESSAGE_ONLY)
self.recv_size_queue = Queue()
self.bytes_per_sec = 0
self.emergency_queue = Queue()
self.show_status_interval = 2
self.show_status_enable = show_status
ez_thread_factory(daemon=True)(self.calc_speed).start()
ez_thread_factory(daemon=True)(self.show_status).start()
super().__init__(max_workers=threads_n)
def queue_pipeline(self):
self.logger.debug('queue of {} started'.format(self))
q = self.queue
while True:
args = q.get()
if args is None:
break
url, filepath, retry, kwargs_for_requests = args
self.submit(self.download, url, filepath, retry, **kwargs_for_requests)
self.logger.debug('submit {}'.format(filepath))
self.logger.debug('queue of {} stopped'.format(self))
def show_status(self):
def color(x):
left = colorama.Fore.LIGHTGREEN_EX
right = colorama.Style.RESET_ALL
return left + str(x) + right
colorama.init()
eq = self.emergency_queue
while True:
if self.show_status_enable:
status_msg = f'| {self.name} {color(len(self._threads))}/{self._max_workers} ' \
f'| {color(self.speed):>11} |'
# status_width = len(status_msg)
# preamble = shutil.get_terminal_size()[0] - status_width - 1
# print(' ' * preamble + status_msg, end='\r', file=sys.stderr)
print(status_msg, end='\r', file=sys.stderr)
if not eq.empty():
e = eq.get()
if isinstance(e, Exception):
self.shutdown(wait=False)
raise e
sleep(self.show_status_interval)
@property
def speed(self):
return human_filesize(self.bytes_per_sec, no_space=False) + '/s'
def calc_speed(self):
tl = []
nl = []
q = self.recv_size_queue
while True:
if q.empty():
sleep(0.5)
# print('DEBUG')
continue
t, n = q.get()
tl.append(t)
nl.append(n)
try:
self.bytes_per_sec = sum(nl) // (tl[-1] - tl[0])
except ZeroDivisionError:
self.bytes_per_sec = 0
while time.time() - tl[0] > self.show_status_interval:
tl.pop(0)
nl.pop(0)
def parse_head(self, url, **kwargs_for_requests):
head = requests.head(url, **kwargs_for_requests).headers
split = head.pop('accept-range') == 'bytes'
size = int(head.pop('content-length', '-1'))
self.logger.debug('HEAD: split={}, size={}'.format(split, size))
return {'split': split, 'size': size}
def request_data(self, url, filepath, start=0, stop=0, **kwargs_for_requests) -> Download:
# chunk_size = requests.models.CONTENT_CHUNK_SIZE
chunk_size = 4096 * 1024
kwargs = make_requests_kwargs(**kwargs_for_requests)
if stop:
kwargs['headers']['Range'] = 'bytes={}-{}'.format(start, stop - 1)
elif start > 0:
kwargs['headers']['Range'] = 'bytes={}-'.format(start)
elif start < 0:
kwargs['headers']['Range'] = 'bytes={}'.format(start)
r = requests.get(url, stream=True, timeout=self.timeout, **kwargs)
self.logger.debug(HTTPResponseInspection(r, no_content=True))
content = b''
stop = 0
for chunk in r.iter_content(chunk_size=chunk_size):
self.recv_size_queue.put((time.time(), len(chunk)))
start = stop
stop = start + len(chunk)
content += chunk
total = len(content)
fstk.write_file_chunk(filepath, start, stop, chunk, total)
self.logger.debug(HTTPResponseInspection(r, content=content))
d = Download(r, filepath, content=content)
return d
def write_file(self, dl_obj: Download):
url = dl_obj.url
file = dl_obj.file
start = dl_obj.start
stop = dl_obj.stop
size = dl_obj.size
total = dl_obj.total_size
with SubscriptableFileIO(file, 'rb+') as f:
if f.size != total:
f.truncate(total)
f[start: stop] = dl_obj.data
self.logger.debug('w {} ({}) <- {}'.format(file, human_filesize(size), url))
def download(self, url, filepath, retry, **kwargs_for_requests):
tmpfile = filepath + self.tmpfile_suffix
fstk.touch(tmpfile)
for cnt, x in iter_factory_retry(retry)(self.request_data, url, tmpfile, **kwargs_for_requests):
if isinstance(x, Exception):
self.logger.warning('! <{}> {}'.format(type(x).__name__, x))
# self.logger.warning(''.join(traceback.format_tb(x.__traceback__)))
if cnt:
self.logger.info('++ retry ({}) {} <- {}'.format(cnt, filepath, url))
else:
dl_obj = x
break
else:
return
self.write_file(dl_obj)
os.rename(tmpfile, filepath)
self.log_file_done(filepath, dl_obj.size)
def log_file_done(self, filepath, size):
self.logger.info('* {} ({})'.format(filepath, human_filesize(size)))
def file_already_exists(self, filepath):
if os.path.isfile(filepath):
self.logger.info('# {}'.format(filepath))
return True
else:
return False
def log_new_download(self, url, filepath, retry):
self.logger.info('+ {} <- {} (retry={})'.format(filepath, url, retry))
def submit_download(self, url, filepath, retry, **kwargs_for_requests):
if self.file_already_exists(filepath):
return
future = self.submit(self.download, url, filepath, retry, **kwargs_for_requests)
self.log_new_download(url, filepath, retry)
return future
def put_download_in_queue(self, url, filepath, retry, **kwargs_for_requests):
if self.file_already_exists(filepath):
return
self.queue.put((url, filepath, retry, kwargs_for_requests))
self.log_new_download(url, filepath, retry)
def put_end_of_queue(self):
self.queue.put(None)
def start_queue_loop(self):
ez_thread_factory()(self.queue_pipeline).start()
def parse_https_url(url: str, allow_fragments=True) -> ParseResult:
test_parse = urlparse(url)
if not test_parse.scheme and not test_parse.netloc:
url = 'https://' + url
return urlparse(url, allow_fragments=allow_fragments)
def parse_http_url(url: str, allow_fragments=True) -> ParseResult:
test_parse = urlparse(url)
if not test_parse.scheme and not test_parse.netloc:
url = 'http://' + url
return urlparse(url, allow_fragments=allow_fragments)
def make_requests_kwargs(params=None, cookies=None, headers=None, user_agent=None, proxies=None,
**kwargs):
user_agent = user_agent or USER_AGENT_FIREFOX_WIN10
d = dict(headers=headers_from_user_agent(user_agent=user_agent, headers=headers))
if params:
d.update(params=params)
if cookies:
d.update(cookies=cookies)
if proxies:
d.update(proxies=proxies)
d.update(**kwargs)
return d
| [
1,
529,
9507,
29958,
1357,
1982,
29914,
2676,
29918,
4645,
29889,
2272,
13,
29937,
14708,
4855,
29914,
2109,
29914,
6272,
3017,
13,
29937,
448,
29930,
29899,
14137,
29901,
23616,
29899,
29947,
448,
29930,
29899,
13,
15945,
29908,
12284,
363,
4700,
5858,
15945,
29908,
13,
13,
5215,
4390,
13,
3166,
21984,
29889,
29888,
329,
1973,
29889,
7097,
1053,
10480,
11426,
13366,
13,
3166,
9521,
1053,
5462,
434,
13,
3166,
3142,
1982,
29889,
5510,
1053,
3142,
5510,
29892,
20969,
3591,
13,
13,
5215,
2927,
3304,
13,
5215,
5199,
675,
13,
5215,
301,
3134,
29889,
1420,
13,
5215,
7274,
29889,
13239,
13,
13,
3166,
590,
1982,
29889,
29872,
8995,
29889,
4172,
10254,
29889,
1017,
15702,
1053,
4663,
1542,
13,
3166,
590,
1982,
29889,
1062,
1053,
285,
303,
29895,
29892,
14750,
29895,
13,
3166,
869,
29872,
8995,
1053,
334,
13,
3166,
590,
1982,
29889,
1062,
29889,
1124,
29918,
13662,
1053,
24222,
24914,
29967,
279,
13,
3166,
869,
29872,
8995,
29889,
21027,
1053,
20803,
29918,
657,
29918,
21707,
29892,
25401,
29918,
29943,
11490,
29918,
2303,
1799,
10461,
29918,
1164,
16786,
13,
3166,
869,
29872,
8995,
29889,
601,
1053,
3323,
2154,
519,
2283,
5971,
13,
3166,
869,
1062,
29889,
509,
7358,
1053,
27130,
29892,
4256,
29918,
14399,
29918,
276,
2202,
13,
3166,
869,
29872,
8995,
29889,
4172,
10254,
29889,
7097,
292,
1053,
20803,
29918,
7097,
29918,
14399,
13,
13,
1529,
29954,
2965,
29918,
29911,
12188,
29918,
6006,
7187,
3301,
29923,
29918,
10493,
29918,
3217,
8949,
8673,
29918,
7724,
353,
16321,
405,
1691,
5738,
7331,
17278,
347,
3497,
29915,
13,
11889,
29918,
10051,
3919,
29918,
3738,
1525,
5800,
29990,
29918,
25152,
29896,
29900,
353,
525,
29924,
2112,
2911,
29914,
29945,
29889,
29900,
313,
7685,
405,
29911,
29871,
29896,
29900,
29889,
29900,
29936,
8892,
29953,
29946,
29936,
921,
29953,
29946,
29936,
364,
29894,
29901,
29953,
29946,
29889,
29900,
29897,
1879,
27604,
29914,
29906,
29900,
29896,
29900,
29900,
29896,
29900,
29896,
14418,
29914,
29953,
29946,
29889,
29900,
29915,
13,
13,
3912,
29924,
1307,
944,
9643,
353,
301,
3134,
29889,
1420,
29889,
10922,
2642,
13,
13,
13,
1753,
679,
29918,
1420,
29918,
5029,
29918,
8336,
29898,
2271,
29892,
3579,
24830,
29918,
19290,
29897,
1599,
3154,
29924,
1307,
944,
9643,
29901,
13,
1678,
364,
353,
7274,
29889,
657,
29898,
2271,
29892,
3579,
24830,
29918,
19290,
29897,
13,
1678,
565,
364,
29889,
554,
29901,
13,
4706,
736,
301,
3134,
29889,
1420,
29889,
3225,
29918,
3166,
1807,
29898,
29878,
29889,
726,
29897,
13,
1678,
1683,
29901,
13,
4706,
12020,
15160,
2392,
29898,
29878,
29889,
4882,
29918,
401,
29892,
364,
29889,
23147,
29897,
13,
13,
13,
1753,
3588,
29918,
15108,
583,
29918,
3126,
29918,
517,
29918,
1212,
29879,
5738,
29898,
3126,
29918,
1272,
29918,
272,
29918,
1445,
2084,
29901,
4663,
1542,
470,
851,
29892,
11262,
29918,
1445,
2084,
29901,
6120,
353,
7700,
29897,
1599,
851,
29901,
13,
1678,
515,
590,
1982,
29889,
1062,
29889,
29888,
303,
29895,
1053,
1303,
29918,
3126,
29918,
1445,
13,
1678,
565,
451,
11262,
29918,
1445,
2084,
322,
2897,
29889,
2084,
29889,
275,
1445,
29898,
3126,
29918,
1272,
29918,
272,
29918,
1445,
2084,
1125,
13,
4706,
4390,
29918,
1272,
353,
1303,
29918,
3126,
29918,
1445,
29898,
3126,
29918,
1272,
29918,
272,
29918,
1445,
2084,
29897,
13,
1678,
1683,
29901,
13,
4706,
4390,
29918,
1272,
353,
4390,
29918,
1272,
29918,
272,
29918,
1445,
2084,
13,
1678,
21046,
353,
9801,
29918,
3126,
29918,
15108,
583,
29898,
3126,
29918,
1272,
29897,
13,
1678,
4434,
353,
11297,
29873,
29915,
13,
1678,
2089,
29918,
353,
525,
25717,
29915,
718,
4434,
13,
1678,
1565,
29918,
353,
525,
20652,
29915,
718,
4434,
13,
1678,
3454,
353,
518,
1529,
29954,
2965,
29918,
29911,
12188,
29918,
6006,
7187,
3301,
29923,
29918,
10493,
29918,
3217,
8949,
8673,
29918,
7724,
29962,
13,
1678,
363,
274,
297,
21046,
29901,
13,
4706,
1732,
29918,
6194,
29918,
13506,
353,
16321,
5506,
11730,
29918,
29915,
565,
274,
1839,
1124,
11730,
2033,
1683,
6629,
13,
4706,
1196,
353,
1732,
29918,
6194,
29918,
13506,
718,
274,
1839,
7247,
2033,
718,
4434,
13,
4706,
565,
274,
1839,
3069,
11730,
2033,
29901,
13,
9651,
1196,
4619,
2089,
29918,
13,
4706,
1683,
29901,
13,
9651,
1196,
4619,
1565,
29918,
13,
4706,
1196,
4619,
274,
1839,
2084,
2033,
718,
4434,
13,
4706,
565,
274,
1839,
24216,
2033,
29901,
13,
9651,
1196,
4619,
1565,
29918,
13,
4706,
1683,
29901,
13,
9651,
1196,
4619,
2089,
29918,
13,
4706,
1196,
4619,
22372,
1012,
29873,
29912,
1012,
29873,
8875,
4286,
4830,
29898,
29883,
29889,
657,
877,
4548,
12232,
2539,
742,
29871,
29900,
511,
274,
1839,
978,
7464,
274,
1839,
1767,
11287,
13,
4706,
3454,
29889,
4397,
29898,
1220,
29897,
13,
1678,
736,
11297,
29876,
4286,
7122,
29898,
9012,
29897,
13,
13,
13,
1753,
3588,
29918,
15108,
583,
29918,
1445,
29918,
3126,
29918,
517,
29918,
1212,
29879,
5738,
29898,
4351,
29892,
29743,
29922,
8516,
29897,
1599,
851,
29901,
13,
1678,
565,
451,
2897,
29889,
2084,
29889,
275,
1445,
29898,
4351,
1125,
13,
4706,
12020,
3497,
17413,
2392,
29898,
4351,
29897,
13,
1678,
29743,
353,
29743,
470,
4765,
718,
15300,
3945,
29915,
13,
1678,
411,
285,
303,
29895,
29889,
7469,
29918,
3150,
29918,
1445,
29898,
22992,
29892,
525,
29893,
1495,
408,
285,
29901,
13,
4706,
285,
29889,
3539,
29898,
13441,
29918,
15108,
583,
29918,
3126,
29918,
517,
29918,
1212,
29879,
5738,
29898,
4351,
876,
13,
4706,
736,
29743,
13,
13,
13,
1753,
9801,
29918,
3126,
29918,
15108,
583,
29898,
3126,
29918,
1272,
29897,
1599,
1051,
29901,
13,
1678,
565,
338,
8758,
29898,
3126,
29918,
1272,
29892,
1051,
1125,
13,
4706,
21046,
353,
4390,
29918,
1272,
13,
1678,
25342,
338,
8758,
29898,
3126,
29918,
1272,
29892,
9657,
1125,
13,
4706,
565,
525,
15108,
583,
29915,
297,
4390,
29918,
1272,
29901,
13,
9651,
565,
338,
8758,
29898,
3126,
29918,
1272,
1839,
15108,
583,
7464,
1051,
1125,
13,
18884,
21046,
353,
4390,
29918,
1272,
1839,
15108,
583,
2033,
13,
9651,
1683,
29901,
13,
18884,
12020,
20948,
703,
8875,
1839,
15108,
583,
2033,
338,
451,
1051,
1642,
4830,
29898,
3126,
29918,
1272,
876,
13,
4706,
1683,
29901,
13,
9651,
12020,
20948,
703,
8977,
525,
8875,
29915,
756,
694,
525,
15108,
583,
29915,
1642,
4830,
29898,
3126,
29918,
1272,
876,
13,
1678,
1683,
29901,
13,
4706,
12020,
20948,
703,
29915,
8875,
29915,
338,
451,
1051,
470,
9657,
1642,
4830,
29898,
3126,
29918,
1272,
876,
13,
1678,
736,
21046,
13,
13,
13,
1753,
21046,
29918,
8977,
29918,
3166,
29918,
3126,
29898,
3126,
29918,
1272,
29918,
272,
29918,
1445,
2084,
29901,
4663,
1542,
470,
851,
29892,
11262,
29918,
1445,
2084,
29901,
6120,
353,
7700,
29897,
1599,
9657,
29901,
13,
1678,
515,
590,
1982,
29889,
1062,
29889,
29888,
303,
29895,
1053,
1303,
29918,
3126,
29918,
1445,
13,
1678,
565,
451,
11262,
29918,
1445,
2084,
322,
2897,
29889,
2084,
29889,
275,
1445,
29898,
3126,
29918,
1272,
29918,
272,
29918,
1445,
2084,
1125,
13,
4706,
4390,
29918,
1272,
353,
1303,
29918,
3126,
29918,
1445,
29898,
3126,
29918,
1272,
29918,
272,
29918,
1445,
2084,
29897,
13,
1678,
1683,
29901,
13,
4706,
4390,
29918,
1272,
353,
4390,
29918,
1272,
29918,
272,
29918,
1445,
2084,
13,
1678,
270,
353,
6571,
13,
1678,
21046,
353,
9801,
29918,
3126,
29918,
15108,
583,
29898,
3126,
29918,
1272,
29897,
13,
1678,
363,
274,
297,
21046,
29901,
13,
4706,
270,
29961,
29883,
1839,
978,
2033,
29962,
353,
274,
1839,
1767,
2033,
13,
1678,
736,
270,
13,
13,
13,
1753,
21046,
29918,
8977,
29918,
3166,
29918,
1212,
29879,
5738,
29918,
1445,
29898,
1445,
2084,
29901,
851,
29892,
11455,
29918,
2218,
7543,
29922,
5574,
29892,
11455,
29918,
4548,
2658,
29922,
5574,
29897,
1599,
9657,
29901,
13,
1678,
274,
29926,
353,
24222,
24914,
29967,
279,
29898,
1445,
2084,
29897,
13,
1678,
274,
29926,
29889,
1359,
29898,
17281,
29918,
2218,
7543,
29922,
17281,
29918,
2218,
7543,
29892,
11455,
29918,
4548,
2658,
29922,
17281,
29918,
4548,
2658,
29897,
13,
1678,
736,
7274,
29889,
13239,
29889,
8977,
29918,
3166,
29918,
21509,
4758,
29898,
29883,
29926,
29897,
13,
13,
13,
1753,
21046,
29918,
8977,
29918,
3166,
29918,
1445,
29898,
1445,
2084,
29901,
851,
29892,
11455,
29918,
2218,
7543,
29922,
5574,
29892,
11455,
29918,
4548,
2658,
29922,
5574,
29897,
1599,
9657,
29901,
13,
1678,
565,
451,
2897,
29889,
2084,
29889,
275,
1445,
29898,
1445,
2084,
1125,
13,
4706,
12020,
3497,
17413,
2392,
29898,
1445,
2084,
29897,
13,
1678,
565,
934,
2084,
29889,
1975,
2541,
12839,
3126,
29374,
13,
4706,
270,
353,
21046,
29918,
8977,
29918,
3166,
29918,
3126,
29898,
1445,
2084,
29897,
13,
1678,
1683,
29901,
13,
4706,
270,
353,
21046,
29918,
8977,
29918,
3166,
29918,
1212,
29879,
5738,
29918,
1445,
29898,
1445,
2084,
29892,
11455,
29918,
2218,
7543,
29922,
17281,
29918,
2218,
7543,
29892,
11455,
29918,
4548,
2658,
29922,
17281,
29918,
4548,
2658,
29897,
13,
1678,
736,
270,
13,
13,
13,
1753,
15327,
29918,
710,
29918,
3166,
29918,
8977,
29898,
15108,
583,
29901,
9657,
29897,
1599,
851,
29901,
13,
1678,
21046,
29918,
29880,
353,
6024,
8875,
3790,
29913,
4286,
4830,
29898,
29895,
29892,
325,
29897,
363,
413,
29892,
325,
297,
21046,
29889,
7076,
580,
29962,
13,
1678,
15327,
353,
21921,
15300,
7122,
29898,
15108,
583,
29918,
29880,
29897,
13,
1678,
736,
15327,
13,
13,
13,
1753,
9066,
29918,
3166,
29918,
1792,
29918,
14748,
29898,
1792,
29918,
14748,
29901,
851,
353,
6213,
29892,
9066,
29901,
9657,
353,
6213,
29897,
1599,
9657,
29901,
13,
1678,
515,
3509,
1053,
6483,
8552,
13,
1678,
298,
353,
6483,
8552,
29898,
13662,
29897,
470,
6571,
13,
1678,
298,
1839,
2659,
29899,
19661,
2033,
353,
1404,
29918,
14748,
470,
3148,
1001,
29918,
10051,
3919,
29918,
3738,
1525,
5800,
29990,
29918,
25152,
29896,
29900,
13,
1678,
736,
298,
13,
13,
13,
1753,
9066,
29918,
3166,
29918,
15108,
583,
29898,
15108,
583,
29918,
1272,
29901,
9657,
470,
851,
29892,
9066,
29901,
9657,
353,
6213,
29897,
1599,
9657,
29901,
13,
1678,
515,
3509,
1053,
6483,
8552,
13,
1678,
298,
353,
6483,
8552,
29898,
13662,
29897,
470,
9066,
29918,
3166,
29918,
1792,
29918,
14748,
580,
13,
1678,
565,
338,
8758,
29898,
15108,
583,
29918,
1272,
29892,
9657,
1125,
13,
4706,
15327,
353,
15327,
29918,
710,
29918,
3166,
29918,
8977,
29898,
15108,
583,
29918,
1272,
29897,
13,
1678,
25342,
338,
8758,
29898,
15108,
583,
29918,
1272,
29892,
851,
1125,
13,
4706,
15327,
353,
21046,
29918,
1272,
13,
1678,
1683,
29901,
13,
4706,
12020,
20948,
877,
15108,
583,
29918,
1272,
742,
313,
8977,
29892,
851,
876,
13,
1678,
298,
1839,
24914,
2033,
353,
15327,
13,
1678,
736,
298,
13,
13,
13,
1753,
679,
29918,
27473,
1315,
29918,
23579,
1639,
29898,
14701,
29922,
8516,
29892,
1510,
29918,
3027,
29922,
8824,
29892,
3474,
29918,
2311,
7607,
29896,
29900,
29906,
29946,
29892,
29871,
29896,
29900,
29906,
29946,
22164,
13,
1678,
1053,
8536,
1639,
13,
13,
1678,
4805,
29918,
19218,
353,
6024,
489,
29813,
29899,
1188,
5563,
29922,
29956,
15249,
2033,
13,
1678,
565,
10166,
29901,
13,
4706,
4805,
29918,
19218,
29889,
4397,
877,
489,
14701,
3790,
29913,
4286,
4830,
29898,
14701,
876,
13,
1678,
565,
451,
1510,
29918,
3027,
29901,
13,
4706,
4805,
29918,
19218,
29889,
4397,
877,
489,
1359,
29899,
8346,
29922,
1217,
1495,
13,
13,
1678,
289,
353,
8536,
1639,
29889,
21537,
29898,
13,
4706,
525,
27473,
1315,
742,
13,
4706,
2669,
29918,
1188,
29918,
2084,
29922,
359,
29889,
2084,
29889,
7122,
29898,
520,
29895,
29889,
4330,
3580,
9464,
29892,
525,
29887,
3069,
9465,
29889,
1188,
5477,
13,
4706,
1404,
29918,
14748,
29922,
11889,
29918,
10051,
3919,
29918,
3738,
1525,
5800,
29990,
29918,
25152,
29896,
29900,
29892,
13,
4706,
2669,
29918,
5085,
29922,
17833,
29918,
19218,
29892,
13,
1678,
1723,
13,
1678,
289,
29889,
9465,
29889,
842,
29918,
7165,
29918,
2311,
10456,
7165,
29918,
2311,
29897,
13,
1678,
736,
289,
13,
13,
13,
1753,
679,
29918,
8696,
8944,
29918,
23579,
1639,
29898,
2813,
2222,
29922,
5574,
29892,
10166,
29901,
851,
353,
6213,
29892,
3579,
19290,
1125,
13,
1678,
1053,
8536,
1639,
13,
1678,
2295,
353,
11117,
5509,
29918,
1188,
29918,
2084,
2396,
2897,
29889,
2084,
29889,
7122,
29898,
520,
29895,
29889,
4330,
3580,
9464,
29892,
525,
479,
384,
397,
3511,
29889,
1188,
5477,
13,
795,
525,
2813,
2222,
2396,
2343,
2222,
29913,
13,
1678,
2295,
29889,
5504,
29898,
19290,
29897,
13,
1678,
8722,
29918,
8977,
353,
6571,
13,
1678,
565,
10166,
29901,
13,
4706,
515,
3142,
1982,
29889,
5510,
1053,
3142,
5510,
13,
4706,
10944,
353,
525,
11618,
29889,
14701,
6169,
13,
4706,
8722,
29918,
8977,
29961,
13506,
718,
525,
1853,
2033,
353,
29871,
29896,
13,
4706,
10166,
29918,
5510,
353,
3142,
5510,
29898,
14701,
29897,
13,
4706,
11380,
353,
10166,
29918,
5510,
29889,
816,
2004,
13,
4706,
7787,
2029,
353,
10166,
29918,
5510,
29889,
1212,
2029,
13,
4706,
1018,
29901,
13,
9651,
3495,
29892,
2011,
353,
7787,
2029,
29889,
5451,
877,
29901,
1495,
13,
9651,
2011,
353,
938,
29898,
637,
29897,
13,
4706,
5174,
7865,
2392,
29901,
13,
9651,
12020,
7865,
2392,
29898,
14701,
29897,
13,
4706,
565,
11380,
297,
6702,
1124,
742,
525,
991,
742,
6629,
1125,
13,
9651,
8722,
29918,
8977,
29961,
13506,
718,
525,
1124,
2033,
353,
3495,
13,
9651,
8722,
29918,
8977,
29961,
13506,
718,
525,
1124,
29918,
637,
2033,
353,
2011,
13,
9651,
8722,
29918,
8977,
29961,
13506,
718,
525,
991,
2033,
353,
3495,
13,
9651,
8722,
29918,
8977,
29961,
13506,
718,
525,
991,
29918,
637,
2033,
353,
2011,
13,
4706,
25342,
11380,
29889,
27382,
2541,
877,
578,
4684,
29374,
13,
9651,
8722,
29918,
8977,
29961,
13506,
718,
525,
578,
4684,
2033,
353,
3495,
13,
9651,
8722,
29918,
8977,
29961,
13506,
718,
525,
578,
4684,
29918,
637,
2033,
353,
2011,
13,
4706,
1683,
29901,
13,
9651,
12020,
7865,
2392,
29898,
14701,
29897,
13,
1678,
4714,
353,
8536,
1639,
29889,
21537,
29898,
9465,
29918,
978,
2433,
8696,
8944,
742,
8722,
29918,
1457,
10662,
29922,
10185,
29918,
8977,
29892,
3579,
2917,
29897,
13,
1678,
736,
4714,
13,
13,
13,
1753,
679,
29918,
29920,
2300,
29918,
23579,
1639,
29898,
1068,
19290,
1125,
13,
1678,
1053,
8536,
1639,
13,
1678,
736,
8536,
1639,
29889,
21537,
29898,
9465,
29918,
978,
2433,
29920,
2300,
29889,
1688,
15965,
742,
3579,
19290,
29897,
13,
13,
13,
657,
29918,
15965,
353,
426,
13,
1678,
525,
23579,
1639,
29889,
27473,
1315,
2396,
679,
29918,
27473,
1315,
29918,
23579,
1639,
29892,
13,
29913,
13,
13,
13,
1753,
5199,
29918,
5325,
675,
29898,
13193,
29918,
29876,
29901,
938,
29892,
694,
29918,
3493,
29922,
5574,
1125,
13,
1678,
269,
353,
5199,
675,
29889,
29876,
1337,
1338,
675,
29898,
13193,
29918,
29876,
29892,
7581,
29922,
5574,
29897,
13,
1678,
565,
694,
29918,
3493,
29901,
13,
4706,
736,
269,
29889,
6506,
877,
13420,
27255,
13,
1678,
1683,
29901,
13,
4706,
736,
269,
13,
13,
13,
1990,
25553,
29901,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
2933,
29901,
7274,
29889,
5103,
29892,
934,
2084,
29901,
851,
353,
6213,
29892,
13,
462,
2793,
29901,
6262,
353,
6213,
29892,
694,
29918,
3051,
29901,
6120,
353,
7700,
1125,
13,
4706,
2793,
353,
289,
4907,
565,
694,
29918,
3051,
1683,
2793,
470,
2933,
29889,
3051,
13,
4706,
565,
451,
2933,
29889,
554,
29901,
13,
9651,
12020,
7331,
5103,
797,
5965,
428,
29898,
5327,
29892,
2793,
29897,
13,
4706,
1583,
29889,
333,
353,
1178,
29898,
5327,
29897,
13,
4706,
1583,
29889,
1445,
353,
934,
2084,
470,
6213,
13,
4706,
1583,
29889,
401,
353,
2933,
29889,
4882,
29918,
401,
13,
4706,
1583,
29889,
23147,
353,
2933,
29889,
23147,
13,
4706,
1583,
29889,
2271,
353,
2933,
29889,
3827,
29889,
2271,
13,
4706,
1583,
29889,
1272,
353,
2793,
13,
4706,
1583,
29889,
2311,
353,
7431,
29898,
1311,
29889,
1272,
29897,
13,
4706,
2793,
29918,
2848,
353,
938,
29898,
5327,
29889,
13662,
29889,
657,
877,
3916,
29899,
6513,
742,
17411,
29896,
8785,
13,
4706,
565,
2793,
29918,
2848,
6736,
29871,
29900,
322,
2793,
29918,
2848,
2804,
1583,
29889,
2311,
29901,
13,
9651,
12020,
7331,
797,
8835,
29898,
3051,
29918,
2848,
29892,
1583,
29889,
2311,
29897,
13,
4706,
565,
1583,
29889,
401,
1275,
29871,
29906,
29900,
29953,
29901,
13,
9651,
2793,
29918,
3881,
353,
2933,
29889,
13662,
1839,
3916,
29899,
6069,
2033,
13,
9651,
1369,
29892,
1095,
29892,
3001,
353,
518,
524,
29898,
29879,
29897,
363,
269,
297,
337,
29889,
4478,
29898,
29878,
29915,
1194,
29881,
29974,
6817,
1194,
29881,
29974,
6802,
1194,
29881,
28135,
742,
2793,
29918,
3881,
467,
13155,
580,
29962,
13,
9651,
1583,
29889,
2962,
353,
1369,
13,
9651,
1583,
29889,
9847,
353,
1095,
718,
29871,
29896,
13,
9651,
565,
1583,
29889,
9847,
448,
1583,
29889,
2962,
2804,
1583,
29889,
2311,
29901,
13,
18884,
12020,
7331,
797,
8835,
29898,
1311,
29889,
2311,
29892,
1583,
29889,
9847,
448,
1583,
29889,
2962,
29897,
13,
9651,
1583,
29889,
7827,
29918,
2311,
353,
3001,
13,
4706,
1683,
29901,
13,
9651,
1583,
29889,
2962,
353,
29871,
29900,
13,
9651,
1583,
29889,
9847,
353,
1583,
29889,
2311,
13,
9651,
1583,
29889,
7827,
29918,
2311,
353,
1583,
29889,
2311,
13,
13,
1678,
732,
6799,
13,
1678,
822,
338,
29918,
8835,
29918,
1272,
29898,
1311,
1125,
13,
4706,
736,
1583,
29889,
2311,
1275,
1583,
29889,
7827,
29918,
2311,
13,
13,
1678,
732,
6799,
13,
1678,
822,
338,
29918,
271,
29918,
355,
29898,
1311,
1125,
13,
4706,
736,
1583,
29889,
9847,
6736,
1583,
29889,
7827,
29918,
2311,
13,
13,
13,
1990,
7331,
5103,
797,
5965,
428,
29898,
2451,
1125,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
2933,
29901,
7274,
29889,
5103,
29892,
2793,
29901,
6262,
353,
6213,
29892,
694,
29918,
3051,
29901,
6120,
353,
7700,
29892,
2159,
29901,
938,
353,
6213,
1125,
13,
4706,
1732,
29918,
369,
353,
426,
29896,
29900,
29901,
525,
29896,
29889,
29900,
742,
29871,
29896,
29896,
29901,
525,
29896,
29889,
29896,
10827,
13,
4706,
2793,
353,
289,
4907,
565,
694,
29918,
3051,
1683,
2793,
470,
2933,
29889,
3051,
13,
4706,
1583,
29889,
3259,
353,
1732,
29918,
369,
29961,
5327,
29889,
1610,
29889,
3259,
29962,
13,
4706,
1583,
29889,
401,
353,
938,
29898,
5327,
29889,
4882,
29918,
401,
29897,
13,
4706,
1583,
29889,
23147,
353,
851,
29898,
5327,
29889,
23147,
29897,
13,
4706,
1583,
29889,
3126,
353,
6213,
13,
4706,
1583,
29889,
2311,
353,
7431,
29898,
3051,
29897,
13,
4706,
565,
694,
29918,
3051,
29901,
13,
9651,
1583,
29889,
735,
2265,
415,
353,
6213,
13,
4706,
25342,
1583,
29889,
2311,
5277,
29871,
29941,
29906,
29901,
13,
9651,
1583,
29889,
735,
2265,
415,
353,
2793,
13,
4706,
25342,
1583,
29889,
2311,
5277,
29871,
29946,
29900,
29929,
29953,
29901,
13,
9651,
8025,
353,
2933,
29889,
22331,
470,
2933,
29889,
932,
279,
296,
29918,
22331,
13,
9651,
1018,
29901,
13,
18884,
1426,
353,
851,
29898,
3051,
29892,
8025,
29922,
22331,
29892,
4436,
2433,
6506,
1495,
13,
9651,
5174,
313,
14959,
786,
2392,
29892,
20948,
1125,
13,
18884,
1426,
353,
851,
29898,
3051,
29892,
4436,
2433,
6506,
1495,
13,
9651,
298,
29901,
3154,
29924,
1307,
944,
9643,
353,
301,
3134,
29889,
1420,
29889,
3225,
29918,
3166,
1807,
29898,
726,
29897,
13,
9651,
1583,
29889,
735,
2265,
415,
353,
298,
29889,
2587,
29889,
726,
29918,
3051,
580,
13,
4706,
1683,
29901,
13,
9651,
1583,
29889,
735,
2265,
415,
353,
6213,
13,
4706,
274,
29873,
353,
2933,
29889,
13662,
1839,
3051,
29899,
1853,
2033,
13,
4706,
565,
525,
3126,
29915,
297,
274,
29873,
470,
525,
7729,
29915,
297,
274,
29873,
29901,
13,
9651,
1018,
29901,
13,
18884,
1583,
29889,
3126,
353,
2933,
29889,
3126,
580,
13,
9651,
5174,
4390,
29889,
7099,
6119,
29889,
7249,
2772,
401,
2392,
29901,
13,
18884,
1209,
13,
4706,
565,
2159,
338,
451,
6213,
29901,
13,
9651,
1583,
29889,
2311,
353,
2159,
13,
9651,
1583,
29889,
735,
2265,
415,
353,
525,
8875,
6262,
4286,
4830,
29898,
2311,
29897,
13,
13,
1678,
822,
4770,
276,
558,
12035,
1311,
1125,
13,
4706,
260,
353,
525,
10493,
29914,
8875,
6571,
6571,
4286,
4830,
29898,
1311,
29889,
3259,
29892,
1583,
29889,
401,
29892,
1583,
29889,
23147,
29897,
13,
4706,
565,
1583,
29889,
3126,
29901,
13,
9651,
260,
4619,
13420,
4663,
3790,
29913,
4286,
4830,
29898,
1311,
29889,
3126,
29897,
13,
4706,
25342,
1583,
29889,
735,
2265,
415,
29901,
13,
9651,
260,
4619,
13420,
6571,
4286,
4830,
29898,
1311,
29889,
735,
2265,
415,
29897,
13,
4706,
25342,
1583,
29889,
735,
2265,
415,
338,
451,
6213,
29901,
13,
9651,
260,
4619,
13420,
6571,
6262,
4286,
4830,
29898,
1311,
29889,
2311,
29897,
13,
4706,
736,
260,
13,
13,
1678,
4770,
710,
1649,
353,
4770,
276,
558,
1649,
13,
13,
13,
1990,
7331,
797,
8835,
29898,
2451,
1125,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
2149,
29918,
2311,
29901,
938,
29892,
1162,
29894,
29918,
2311,
29901,
938,
1125,
13,
4706,
1583,
29889,
17854,
29918,
2311,
353,
2149,
29918,
2311,
13,
4706,
1583,
29889,
3757,
29894,
29918,
2311,
353,
1162,
29894,
29918,
2311,
13,
13,
13,
29992,
2976,
11285,
13,
1990,
25553,
11426,
29898,
23574,
13366,
1125,
13,
1678,
13128,
1445,
29918,
2146,
600,
861,
353,
15300,
10382,
29915,
13,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
9717,
29918,
29876,
29901,
938,
353,
29871,
29945,
29892,
11815,
29901,
938,
353,
29871,
29941,
29900,
29892,
1024,
29901,
851,
353,
6213,
29892,
1510,
29918,
4882,
29901,
6120,
353,
5852,
1125,
13,
4706,
1583,
3032,
3317,
29918,
1287,
414,
29901,
938,
353,
29871,
29900,
13,
4706,
1583,
29889,
9990,
353,
5462,
434,
580,
13,
4706,
1583,
29889,
15619,
353,
11815,
13,
4706,
1583,
29889,
978,
353,
1024,
470,
1583,
17255,
1990,
1649,
17255,
978,
1649,
13,
4706,
1583,
29889,
21707,
353,
20803,
29918,
657,
29918,
21707,
12839,
4286,
7122,
3552,
1649,
978,
1649,
29892,
1583,
29889,
978,
8243,
19200,
29922,
14480,
29918,
29943,
11490,
29918,
2303,
1799,
10461,
29918,
1164,
16786,
29897,
13,
4706,
1583,
29889,
3757,
29894,
29918,
2311,
29918,
9990,
353,
5462,
434,
580,
13,
4706,
1583,
29889,
13193,
29918,
546,
29918,
3471,
353,
29871,
29900,
13,
4706,
1583,
29889,
25154,
14703,
29918,
9990,
353,
5462,
434,
580,
13,
4706,
1583,
29889,
4294,
29918,
4882,
29918,
19207,
353,
29871,
29906,
13,
4706,
1583,
29889,
4294,
29918,
4882,
29918,
12007,
353,
1510,
29918,
4882,
13,
4706,
20803,
29918,
7097,
29918,
14399,
29898,
1388,
9857,
29922,
5574,
5033,
1311,
29889,
28667,
29918,
19322,
467,
2962,
580,
13,
4706,
20803,
29918,
7097,
29918,
14399,
29898,
1388,
9857,
29922,
5574,
5033,
1311,
29889,
4294,
29918,
4882,
467,
2962,
580,
13,
4706,
2428,
2141,
1649,
2344,
12035,
3317,
29918,
1287,
414,
29922,
28993,
29918,
29876,
29897,
13,
13,
1678,
822,
9521,
29918,
13096,
5570,
29898,
1311,
1125,
13,
4706,
1583,
29889,
21707,
29889,
8382,
877,
9990,
310,
6571,
4687,
4286,
4830,
29898,
1311,
876,
13,
4706,
3855,
353,
1583,
29889,
9990,
13,
4706,
1550,
5852,
29901,
13,
9651,
6389,
353,
3855,
29889,
657,
580,
13,
9651,
565,
6389,
338,
6213,
29901,
13,
18884,
2867,
13,
9651,
3142,
29892,
934,
2084,
29892,
337,
2202,
29892,
9049,
5085,
29918,
1454,
29918,
24830,
353,
6389,
13,
9651,
1583,
29889,
7892,
29898,
1311,
29889,
10382,
29892,
3142,
29892,
934,
2084,
29892,
337,
2202,
29892,
3579,
19290,
29918,
1454,
29918,
24830,
29897,
13,
9651,
1583,
29889,
21707,
29889,
8382,
877,
7892,
6571,
4286,
4830,
29898,
1445,
2084,
876,
13,
4706,
1583,
29889,
21707,
29889,
8382,
877,
9990,
310,
6571,
11084,
4286,
4830,
29898,
1311,
876,
13,
13,
1678,
822,
1510,
29918,
4882,
29898,
1311,
1125,
13,
4706,
822,
2927,
29898,
29916,
1125,
13,
9651,
2175,
353,
2927,
3304,
29889,
29943,
487,
29889,
5265,
29954,
3912,
29954,
1525,
1430,
29918,
5746,
13,
9651,
1492,
353,
2927,
3304,
29889,
5568,
29889,
1525,
10490,
29918,
9818,
13,
9651,
736,
2175,
718,
851,
29898,
29916,
29897,
718,
1492,
13,
13,
4706,
2927,
3304,
29889,
2344,
580,
13,
4706,
11594,
353,
1583,
29889,
25154,
14703,
29918,
9990,
13,
4706,
1550,
5852,
29901,
13,
9651,
565,
1583,
29889,
4294,
29918,
4882,
29918,
12007,
29901,
13,
18884,
4660,
29918,
7645,
353,
285,
29915,
29989,
426,
1311,
29889,
978,
29913,
426,
2780,
29898,
2435,
29898,
1311,
3032,
28993,
876,
6822,
29912,
1311,
3032,
3317,
29918,
1287,
414,
29913,
525,
320,
13,
462,
632,
285,
29915,
29989,
426,
2780,
29898,
1311,
29889,
19322,
1125,
29958,
29896,
29896,
29913,
891,
29915,
13,
18884,
396,
4660,
29918,
2103,
353,
7431,
29898,
4882,
29918,
7645,
29897,
13,
18884,
396,
758,
314,
569,
353,
528,
4422,
29889,
657,
29918,
8489,
979,
29918,
2311,
580,
29961,
29900,
29962,
448,
4660,
29918,
2103,
448,
29871,
29896,
13,
18884,
396,
1596,
877,
525,
334,
758,
314,
569,
718,
4660,
29918,
7645,
29892,
1095,
2433,
29905,
29878,
742,
934,
29922,
9675,
29889,
303,
20405,
29897,
13,
18884,
1596,
29898,
4882,
29918,
7645,
29892,
1095,
2433,
29905,
29878,
742,
934,
29922,
9675,
29889,
303,
20405,
29897,
13,
9651,
565,
451,
11594,
29889,
6310,
7295,
13,
18884,
321,
353,
11594,
29889,
657,
580,
13,
18884,
565,
338,
8758,
29898,
29872,
29892,
8960,
1125,
13,
462,
1678,
1583,
29889,
845,
329,
3204,
29898,
10685,
29922,
8824,
29897,
13,
462,
1678,
12020,
321,
13,
9651,
8709,
29898,
1311,
29889,
4294,
29918,
4882,
29918,
19207,
29897,
13,
13,
1678,
732,
6799,
13,
1678,
822,
6210,
29898,
1311,
1125,
13,
4706,
736,
5199,
29918,
5325,
675,
29898,
1311,
29889,
13193,
29918,
546,
29918,
3471,
29892,
694,
29918,
3493,
29922,
8824,
29897,
718,
8207,
29879,
29915,
13,
13,
1678,
822,
22235,
29918,
19322,
29898,
1311,
1125,
13,
4706,
260,
29880,
353,
5159,
13,
4706,
302,
29880,
353,
5159,
13,
4706,
3855,
353,
1583,
29889,
3757,
29894,
29918,
2311,
29918,
9990,
13,
4706,
1550,
5852,
29901,
13,
9651,
565,
3855,
29889,
6310,
7295,
13,
18884,
8709,
29898,
29900,
29889,
29945,
29897,
13,
18884,
396,
1596,
877,
18525,
1495,
13,
18884,
6773,
13,
9651,
260,
29892,
302,
353,
3855,
29889,
657,
580,
13,
9651,
260,
29880,
29889,
4397,
29898,
29873,
29897,
13,
9651,
302,
29880,
29889,
4397,
29898,
29876,
29897,
13,
9651,
1018,
29901,
13,
18884,
1583,
29889,
13193,
29918,
546,
29918,
3471,
353,
2533,
29898,
12938,
29897,
849,
313,
15206,
14352,
29896,
29962,
448,
260,
29880,
29961,
29900,
2314,
13,
9651,
5174,
28933,
12596,
2459,
2392,
29901,
13,
18884,
1583,
29889,
13193,
29918,
546,
29918,
3471,
353,
29871,
29900,
13,
9651,
1550,
931,
29889,
2230,
580,
448,
260,
29880,
29961,
29900,
29962,
1405,
1583,
29889,
4294,
29918,
4882,
29918,
19207,
29901,
13,
18884,
260,
29880,
29889,
7323,
29898,
29900,
29897,
13,
18884,
302,
29880,
29889,
7323,
29898,
29900,
29897,
13,
13,
1678,
822,
6088,
29918,
2813,
29898,
1311,
29892,
3142,
29892,
3579,
19290,
29918,
1454,
29918,
24830,
1125,
13,
4706,
2343,
353,
7274,
29889,
2813,
29898,
2271,
29892,
3579,
19290,
29918,
1454,
29918,
24830,
467,
13662,
13,
4706,
6219,
353,
2343,
29889,
7323,
877,
16044,
29899,
3881,
1495,
1275,
525,
13193,
29915,
13,
4706,
2159,
353,
938,
29898,
2813,
29889,
7323,
877,
3051,
29899,
2848,
742,
17411,
29896,
8785,
13,
4706,
1583,
29889,
21707,
29889,
8382,
877,
23252,
29901,
6219,
3790,
1118,
2159,
3790,
29913,
4286,
4830,
29898,
5451,
29892,
2159,
876,
13,
13,
4706,
736,
11117,
5451,
2396,
6219,
29892,
525,
2311,
2396,
2159,
29913,
13,
13,
1678,
822,
2009,
29918,
1272,
29898,
1311,
29892,
3142,
29892,
934,
2084,
29892,
1369,
29922,
29900,
29892,
5040,
29922,
29900,
29892,
3579,
19290,
29918,
1454,
29918,
24830,
29897,
1599,
25553,
29901,
13,
4706,
396,
19875,
29918,
2311,
353,
7274,
29889,
9794,
29889,
22412,
3919,
29918,
3210,
3904,
29968,
29918,
14226,
13,
4706,
19875,
29918,
2311,
353,
29871,
29946,
29900,
29929,
29953,
334,
29871,
29896,
29900,
29906,
29946,
13,
4706,
9049,
5085,
353,
1207,
29918,
24830,
29918,
19290,
29898,
1068,
19290,
29918,
1454,
29918,
24830,
29897,
13,
4706,
565,
5040,
29901,
13,
9651,
9049,
5085,
1839,
13662,
16215,
6069,
2033,
353,
525,
13193,
3790,
7402,
8875,
4286,
4830,
29898,
2962,
29892,
5040,
448,
29871,
29896,
29897,
13,
4706,
25342,
1369,
1405,
29871,
29900,
29901,
13,
9651,
9049,
5085,
1839,
13662,
16215,
6069,
2033,
353,
525,
13193,
3790,
7402,
4286,
4830,
29898,
2962,
29897,
13,
4706,
25342,
1369,
529,
29871,
29900,
29901,
13,
9651,
9049,
5085,
1839,
13662,
16215,
6069,
2033,
353,
525,
13193,
3790,
29913,
4286,
4830,
29898,
2962,
29897,
13,
4706,
364,
353,
7274,
29889,
657,
29898,
2271,
29892,
4840,
29922,
5574,
29892,
11815,
29922,
1311,
29889,
15619,
29892,
3579,
19290,
29897,
13,
4706,
1583,
29889,
21707,
29889,
8382,
29898,
10493,
5103,
797,
5965,
428,
29898,
29878,
29892,
694,
29918,
3051,
29922,
5574,
876,
13,
13,
4706,
2793,
353,
289,
4907,
13,
4706,
5040,
353,
29871,
29900,
13,
4706,
363,
19875,
297,
364,
29889,
1524,
29918,
3051,
29898,
29812,
29918,
2311,
29922,
29812,
29918,
2311,
1125,
13,
9651,
1583,
29889,
3757,
29894,
29918,
2311,
29918,
9990,
29889,
649,
3552,
2230,
29889,
2230,
3285,
7431,
29898,
29812,
4961,
13,
9651,
1369,
353,
5040,
13,
9651,
5040,
353,
1369,
718,
7431,
29898,
29812,
29897,
13,
9651,
2793,
4619,
19875,
13,
9651,
3001,
353,
7431,
29898,
3051,
29897,
13,
9651,
285,
303,
29895,
29889,
3539,
29918,
1445,
29918,
29812,
29898,
1445,
2084,
29892,
1369,
29892,
5040,
29892,
19875,
29892,
3001,
29897,
13,
4706,
1583,
29889,
21707,
29889,
8382,
29898,
10493,
5103,
797,
5965,
428,
29898,
29878,
29892,
2793,
29922,
3051,
876,
13,
4706,
270,
353,
25553,
29898,
29878,
29892,
934,
2084,
29892,
2793,
29922,
3051,
29897,
13,
4706,
736,
270,
13,
13,
1678,
822,
2436,
29918,
1445,
29898,
1311,
29892,
270,
29880,
29918,
5415,
29901,
25553,
1125,
13,
4706,
3142,
353,
270,
29880,
29918,
5415,
29889,
2271,
13,
4706,
934,
353,
270,
29880,
29918,
5415,
29889,
1445,
13,
4706,
1369,
353,
270,
29880,
29918,
5415,
29889,
2962,
13,
4706,
5040,
353,
270,
29880,
29918,
5415,
29889,
9847,
13,
4706,
2159,
353,
270,
29880,
29918,
5415,
29889,
2311,
13,
4706,
3001,
353,
270,
29880,
29918,
5415,
29889,
7827,
29918,
2311,
13,
4706,
411,
3323,
2154,
519,
2283,
5971,
29898,
1445,
29892,
525,
6050,
29974,
1495,
408,
285,
29901,
13,
9651,
565,
285,
29889,
2311,
2804,
3001,
29901,
13,
18884,
285,
29889,
509,
4661,
403,
29898,
7827,
29897,
13,
9651,
285,
29961,
2962,
29901,
5040,
29962,
353,
270,
29880,
29918,
5415,
29889,
1272,
13,
9651,
1583,
29889,
21707,
29889,
8382,
877,
29893,
6571,
21313,
1800,
3705,
6571,
4286,
4830,
29898,
1445,
29892,
5199,
29918,
5325,
675,
29898,
2311,
511,
3142,
876,
13,
13,
1678,
822,
5142,
29898,
1311,
29892,
3142,
29892,
934,
2084,
29892,
337,
2202,
29892,
3579,
19290,
29918,
1454,
29918,
24830,
1125,
13,
4706,
13128,
1445,
353,
934,
2084,
718,
1583,
29889,
7050,
1445,
29918,
2146,
600,
861,
13,
4706,
285,
303,
29895,
29889,
16747,
29898,
7050,
1445,
29897,
13,
4706,
363,
274,
593,
29892,
921,
297,
4256,
29918,
14399,
29918,
276,
2202,
29898,
276,
2202,
5033,
1311,
29889,
3827,
29918,
1272,
29892,
3142,
29892,
13128,
1445,
29892,
3579,
19290,
29918,
1454,
29918,
24830,
1125,
13,
9651,
565,
338,
8758,
29898,
29916,
29892,
8960,
1125,
13,
18884,
1583,
29889,
21707,
29889,
27392,
877,
29991,
529,
8875,
29958,
6571,
4286,
4830,
29898,
1853,
29898,
29916,
467,
1649,
978,
1649,
29892,
921,
876,
13,
18884,
396,
1583,
29889,
21707,
29889,
27392,
877,
4286,
7122,
29898,
15003,
1627,
29889,
4830,
29918,
22625,
29898,
29916,
17255,
15003,
1627,
1649,
4961,
13,
18884,
565,
274,
593,
29901,
13,
462,
1678,
1583,
29889,
21707,
29889,
3888,
877,
1817,
337,
2202,
21313,
1800,
6571,
3705,
6571,
4286,
4830,
29898,
20047,
29892,
934,
2084,
29892,
3142,
876,
13,
9651,
1683,
29901,
13,
18884,
270,
29880,
29918,
5415,
353,
921,
13,
18884,
2867,
13,
4706,
1683,
29901,
13,
9651,
736,
13,
4706,
1583,
29889,
3539,
29918,
1445,
29898,
11671,
29918,
5415,
29897,
13,
4706,
2897,
29889,
1267,
420,
29898,
7050,
1445,
29892,
934,
2084,
29897,
13,
4706,
1583,
29889,
1188,
29918,
1445,
29918,
15091,
29898,
1445,
2084,
29892,
270,
29880,
29918,
5415,
29889,
2311,
29897,
13,
13,
1678,
822,
1480,
29918,
1445,
29918,
15091,
29898,
1311,
29892,
934,
2084,
29892,
2159,
1125,
13,
4706,
1583,
29889,
21707,
29889,
3888,
877,
29930,
6571,
21313,
1800,
4286,
4830,
29898,
1445,
2084,
29892,
5199,
29918,
5325,
675,
29898,
2311,
4961,
13,
13,
1678,
822,
934,
29918,
284,
2040,
29918,
9933,
29898,
1311,
29892,
934,
2084,
1125,
13,
4706,
565,
2897,
29889,
2084,
29889,
275,
1445,
29898,
1445,
2084,
1125,
13,
9651,
1583,
29889,
21707,
29889,
3888,
14237,
6571,
4286,
4830,
29898,
1445,
2084,
876,
13,
9651,
736,
5852,
13,
4706,
1683,
29901,
13,
9651,
736,
7700,
13,
13,
1678,
822,
1480,
29918,
1482,
29918,
10382,
29898,
1311,
29892,
3142,
29892,
934,
2084,
29892,
337,
2202,
1125,
13,
4706,
1583,
29889,
21707,
29889,
3888,
877,
29974,
6571,
3705,
6571,
313,
276,
2202,
3790,
1800,
4286,
4830,
29898,
1445,
2084,
29892,
3142,
29892,
337,
2202,
876,
13,
13,
1678,
822,
9752,
29918,
10382,
29898,
1311,
29892,
3142,
29892,
934,
2084,
29892,
337,
2202,
29892,
3579,
19290,
29918,
1454,
29918,
24830,
1125,
13,
4706,
565,
1583,
29889,
1445,
29918,
284,
2040,
29918,
9933,
29898,
1445,
2084,
1125,
13,
9651,
736,
13,
4706,
5434,
353,
1583,
29889,
7892,
29898,
1311,
29889,
10382,
29892,
3142,
29892,
934,
2084,
29892,
337,
2202,
29892,
3579,
19290,
29918,
1454,
29918,
24830,
29897,
13,
4706,
1583,
29889,
1188,
29918,
1482,
29918,
10382,
29898,
2271,
29892,
934,
2084,
29892,
337,
2202,
29897,
13,
4706,
736,
5434,
13,
13,
1678,
822,
1925,
29918,
10382,
29918,
262,
29918,
9990,
29898,
1311,
29892,
3142,
29892,
934,
2084,
29892,
337,
2202,
29892,
3579,
19290,
29918,
1454,
29918,
24830,
1125,
13,
4706,
565,
1583,
29889,
1445,
29918,
284,
2040,
29918,
9933,
29898,
1445,
2084,
1125,
13,
9651,
736,
13,
4706,
1583,
29889,
9990,
29889,
649,
3552,
2271,
29892,
934,
2084,
29892,
337,
2202,
29892,
9049,
5085,
29918,
1454,
29918,
24830,
876,
13,
4706,
1583,
29889,
1188,
29918,
1482,
29918,
10382,
29898,
2271,
29892,
934,
2084,
29892,
337,
2202,
29897,
13,
13,
1678,
822,
1925,
29918,
355,
29918,
974,
29918,
9990,
29898,
1311,
1125,
13,
4706,
1583,
29889,
9990,
29889,
649,
29898,
8516,
29897,
13,
13,
1678,
822,
1369,
29918,
9990,
29918,
7888,
29898,
1311,
1125,
13,
4706,
20803,
29918,
7097,
29918,
14399,
580,
29898,
1311,
29889,
9990,
29918,
13096,
5570,
467,
2962,
580,
13,
13,
13,
1753,
6088,
29918,
991,
29918,
2271,
29898,
2271,
29901,
851,
29892,
2758,
29918,
29888,
1431,
1860,
29922,
5574,
29897,
1599,
20969,
3591,
29901,
13,
1678,
1243,
29918,
5510,
353,
3142,
5510,
29898,
2271,
29897,
13,
1678,
565,
451,
1243,
29918,
5510,
29889,
816,
2004,
322,
451,
1243,
29918,
5510,
29889,
1212,
2029,
29901,
13,
4706,
3142,
353,
525,
991,
597,
29915,
718,
3142,
13,
1678,
736,
3142,
5510,
29898,
2271,
29892,
2758,
29918,
29888,
1431,
1860,
29922,
9536,
29918,
29888,
1431,
1860,
29897,
13,
13,
13,
1753,
6088,
29918,
1124,
29918,
2271,
29898,
2271,
29901,
851,
29892,
2758,
29918,
29888,
1431,
1860,
29922,
5574,
29897,
1599,
20969,
3591,
29901,
13,
1678,
1243,
29918,
5510,
353,
3142,
5510,
29898,
2271,
29897,
13,
1678,
565,
451,
1243,
29918,
5510,
29889,
816,
2004,
322,
451,
1243,
29918,
5510,
29889,
1212,
2029,
29901,
13,
4706,
3142,
353,
525,
1124,
597,
29915,
718,
3142,
13,
1678,
736,
3142,
5510,
29898,
2271,
29892,
2758,
29918,
29888,
1431,
1860,
29922,
9536,
29918,
29888,
1431,
1860,
29897,
13,
13,
13,
1753,
1207,
29918,
24830,
29918,
19290,
29898,
7529,
29922,
8516,
29892,
21046,
29922,
8516,
29892,
9066,
29922,
8516,
29892,
1404,
29918,
14748,
29922,
8516,
29892,
410,
29916,
583,
29922,
8516,
29892,
13,
462,
308,
3579,
19290,
1125,
13,
1678,
1404,
29918,
14748,
353,
1404,
29918,
14748,
470,
3148,
1001,
29918,
10051,
3919,
29918,
3738,
1525,
5800,
29990,
29918,
25152,
29896,
29900,
13,
1678,
270,
353,
9657,
29898,
13662,
29922,
13662,
29918,
3166,
29918,
1792,
29918,
14748,
29898,
1792,
29918,
14748,
29922,
1792,
29918,
14748,
29892,
9066,
29922,
13662,
876,
13,
1678,
565,
8636,
29901,
13,
4706,
270,
29889,
5504,
29898,
7529,
29922,
7529,
29897,
13,
1678,
565,
21046,
29901,
13,
4706,
270,
29889,
5504,
29898,
15108,
583,
29922,
15108,
583,
29897,
13,
1678,
565,
410,
29916,
583,
29901,
13,
4706,
270,
29889,
5504,
29898,
771,
29916,
583,
29922,
771,
29916,
583,
29897,
13,
1678,
270,
29889,
5504,
29898,
1068,
19290,
29897,
13,
1678,
736,
270,
13,
2
] |
dl_l8s2_uv/satreaders/l8image.py | csaybar/DL-L8S2-UV | 13 | 47882 | <gh_stars>10-100
"""
Classes and functions for reading L8 images and manually annotated cloud masks from the Biome and 38-Cloud
cloud cover dataset.
https://landsat.usgs.gov/landsat-8-cloud-cover-assessment-validation-data
"""
import os
from datetime import datetime
from datetime import timezone
import numpy as np
import rasterio
import dl_l8s2_uv.utils as utils
def read_metadata(metadata_file):
assert os.path.exists(metadata_file), "metadata file %s does not exist" % metadata_file
with open(metadata_file, "r") as mf:
lineas = mf.readlines()
dictio_sal = dict()
for l in lineas:
dato = [d.strip() for d in l.strip().split("=")]
if dato[0] == "GROUP":
dictio_sal[dato[1]] = dict()
curr_dict = dictio_sal[dato[1]]
elif (dato[0] == "END_GROUP") or (dato[0] == "END"):
continue
else:
curr_dict[dato[0]] = dato[1].replace('"', "")
return dictio_sal
def compute_toa_single(img, band, metadata, sun_elevation_correction=True):
"""
Readiomatric correction implemented in:
https://www.usgs.gov/land-resources/nli/landsat/using-usgs-landsat-level-1-data-product
:param img:
:param band:
:param metadata:
:param sun_elevation_correction: whether or not to do the sun elevation correction
:return:
"""
band_name = str(band)
if band < 10:
dictio_rescaling = metadata["RADIOMETRIC_RESCALING"]
mult_key = "REFLECTANCE_MULT_BAND_" + band_name
img = img*float(dictio_rescaling[mult_key])
add_key = "REFLECTANCE_ADD_BAND_" + band_name
img += float(dictio_rescaling[add_key])
if sun_elevation_correction:
dictio_rescaling = metadata["IMAGE_ATTRIBUTES"]
sun_elevation_angle_key = "SUN_ELEVATION"
img /= np.sin(float(dictio_rescaling[sun_elevation_angle_key]) / 180. * np.pi)
else:
# (band == 10) or (band == 11)
dictio_rescaling = metadata["RADIOMETRIC_RESCALING"]
mult_key = "RADIANCE_MULT_BAND_" + band_name
img = img * float(dictio_rescaling[mult_key])
add_key = "RADIANCE_ADD_BAND_" + band_name
img += float(dictio_rescaling[add_key])
dictio_rescaling = metadata["TIRS_THERMAL_CONSTANTS"]
k1_key = "K1_CONSTANT_BAND_" + band_name
img = np.log(float(dictio_rescaling[k1_key])/img +1)
k2_key = "K1_CONSTANT_BAND_" + band_name
img = float(dictio_rescaling[k2_key])/img
return img
def load_l8_clouds_fmask(l8bqa):
"""
https://www.usgs.gov/land-resources/nli/landsat/landsat-collection-1-level-1-quality-assessment-band
https://www.usgs.gov/land-resources/nli/landsat/cfmask-algorithm
:param l8bqa:
:return:
"""
return (l8bqa & (1 << 4)) != 0
SAMPLE_BANDS = [1, 2, 3, 4, 5, 6, 7, 9, 10, 11] # All bands except B8 (pancromatic with different spatial resolution)
ORIENTATION = {"NORTH_UP": "north", "SOUTH_UP": "south"}
class L8Image:
"""
Class to load L1T Landsat-8 image
:param folder_tiffs: folder where the tiffs and metadata stored.
:param slice_rows_cols: list of slices=[slice(100,200),slice(100,200)]
to read only specific locations of the image
"""
def __init__(self, folder_tiffs, slice_rows_cols=None):
if folder_tiffs.endswith('/'):
folder_tiffs = folder_tiffs[:-1]
self.folder_tiffs = folder_tiffs
self.folder = folder_tiffs
self.name = os.path.basename(folder_tiffs)
self.satname = "L8"
self.metadata = self._read_metadata()
dictio_metadata = self.metadata["PRODUCT_METADATA"]
self.polygon = np.array([[float(dictio_metadata["CORNER_LL_LON_PRODUCT"]),
float(dictio_metadata["CORNER_LL_LAT_PRODUCT"])],
[float(dictio_metadata["CORNER_UL_LON_PRODUCT"]),
float(dictio_metadata["CORNER_UL_LAT_PRODUCT"])],
[float(dictio_metadata["CORNER_UR_LON_PRODUCT"]),
float(dictio_metadata["CORNER_UR_LAT_PRODUCT"])],
[float(dictio_metadata["CORNER_LR_LON_PRODUCT"]),
float(dictio_metadata["CORNER_LR_LAT_PRODUCT"])]])
proj_param = self.metadata["PROJECTION_PARAMETERS"]
zone = "" if "UTM_ZONE" not in proj_param else " +zone=%s" % proj_param["UTM_ZONE"]
self.crs_string_biome = "+proj=%s%s +ellps=%s +datum=%s +units=m +%s" % (proj_param["MAP_PROJECTION"].lower(),
zone,
proj_param["ELLIPSOID"],
proj_param["DATUM"],
ORIENTATION[proj_param["ORIENTATION"]])
pm = self.metadata["PRODUCT_METADATA"]
trans = [float(pm["CORNER_UL_PROJECTION_X_PRODUCT"]), float(pm["CORNER_UL_PROJECTION_Y_PRODUCT"])]
self.rasterio_transform = self.src_rasterio().transform
self.transform_numpy = np.array([[30, 0, trans[0]], [0, -30, trans[1]]])
self.nrows = int(pm["REFLECTIVE_LINES"])
self.ncols = int(pm["REFLECTIVE_SAMPLES"])
self.start_date = datetime.strptime(dictio_metadata["DATE_ACQUIRED"] + " " +
dictio_metadata["SCENE_CENTER_TIME"][:8],
"%Y-%m-%d %H:%M:%S").replace(tzinfo=timezone.utc)
self.end_date = self.start_date
if slice_rows_cols is None:
self.slice = (slice(0, self.nrows), slice(0, self.ncols))
else:
self.slice = tuple(slice_rows_cols)
def crs_proj(self):
import rasterio
fileband_name = os.path.join(self.folder_tiffs, self.name + "_B2.TIF")
with rasterio.open(fileband_name, "r") as src:
src_crs = src.crs
return src_crs
@property
def transform(self):
import rasterio
fileband_name = os.path.join(self.folder_tiffs, self.name + "_B2.TIF")
with rasterio.open(fileband_name, "r") as src:
tr = src.transform
return np.array([[tr.a, tr.b, tr.c], [tr.d, tr.e, tr.f]])
def __str__(self):
return self.folder_tiffs
def _read_metadata(self):
metadata_file = os.path.join(self.folder_tiffs, self.name + "_MTL.txt")
return read_metadata(metadata_file)
def load_mask(self, slice_=None):
bqa = self.load_bqa(slice_=slice_)
return bqa == 1
def load_bqa(self, slice_=None):
if slice_ is None:
slice_ = (slice(None), slice(None))
with rasterio.open(os.path.join(self.folder_tiffs, self.name + "_BQA.TIF"), "r") as src:
bqa = src.read(1, window=slice_)
return bqa[slice_]
def load_fmask(self, slice_=None):
bqa = self.load_bqa(slice_=slice_)
return load_l8_clouds_fmask(bqa)
def load_band(self, band, compute_toa_flag=True,
sun_elevation_correction=True,
slice_=None):
"""
https://www.usgs.gov/land-resources/nli/landsat/using-usgs-landsat-level-1-data-product
Lλ = MLQcal + AL
Lλ = TOA spectral radiance (Watts/( m2 * srad * μm))
ML = Band-specific multiplicative rescaling factor from the metadata (RADIANCE_MULT_BAND_x, where x is the band number)
AL = Band-specific additive rescaling factor from the metadata (RADIANCE_ADD_BAND_x, where x is the band number)
Qcal = Quantized and calibrated standard product pixel values (DN)
:param band:
:param compute_toa_flag:
:param sun_elevation_correction:
:param slice_: slice to read
:return:
"""
band_name = str(band)
fileband_name = os.path.join(self.folder_tiffs, self.name + \
"_B" + band_name + ".TIF")
if slice_ is None:
slice_ = self.slice
with rasterio.open(fileband_name, "r") as src:
img = src.read(1, window=slice_).astype(np.float32)
if compute_toa_flag:
return compute_toa_single(img, band, self.metadata,
sun_elevation_correction=sun_elevation_correction)
return img
def src_rasterio(self):
fileband_name = os.path.join(self.folder_tiffs, self.name + \
"_B2.TIF")
return rasterio.open(fileband_name, "r")
def load_bands(self, bands=None, masked=True,
compute_toa_flag=True,
sun_elevation_correction=True,
axis_stack=2,
slice_=None):
"""
load the bands `bands` and stack them over the `axis_stack` axis.
:param bands: Bands to read (band 8 has different spatial resolution)
:param masked: if the bands should be read with the mask
:param compute_toa_flag:
:param axis_stack: axis to stack the bands (0 or 2)
:param sun_elevation_correction: wether or not to apply the sun elevation correction
:param slice_:
:return: the 3D multispectral image
"""
img = None
if bands is None:
bands = SAMPLE_BANDS
assert len(bands) == 1 or (8 not in bands), "Cannot load panchromatic band (B8) together with other bands because it has different resolution"
assert axis_stack in {0, 2}, "Expected to stack on first or last dimension"
for i,k in enumerate(bands):
b = self.load_band(k,compute_toa_flag=compute_toa_flag,
sun_elevation_correction=sun_elevation_correction,
slice_=slice_)
if img is None:
if axis_stack == 2:
img = np.ndarray(b.shape+(len(bands),),dtype=b.dtype)
else:
img = np.ndarray((len(bands),) + b.shape, dtype=b.dtype)
if axis_stack == 2:
img[..., i] = b
else:
img[i] = b
if masked:
mask = self.load_mask(slice_)
mask = utils.mask_2D_to_3D(mask, img.shape[axis_stack])
img = np.ma.masked_array(img, mask)
return img
class Biome(L8Image):
"""
Class to deal with the L8 cloud validation dataset downloaded from https://landsat.usgs.gov/landsat-8-cloud-cover-assessment-validation-data
:param folder_tiffs: folder where the tiffs, metadata and envi fixedmask are stored.
"""
def __init__(self, s2_folder):
L8Image.__init__(self, s2_folder)
self.hdr_file = os.path.join(self.folder_tiffs, self.name + "_fixedmask.hdr")
assert os.path.exists(self.hdr_file), "fixedmask not found: {}".format(self.hdr_file)
def _load_fixemask(self, slice_=None):
import spectral.io.envi as envi
if slice_ is None:
slice_ = (slice(None), slice(None))
return envi.open(self.hdr_file)[slice_]
def load_mask(self, slice_=None):
mask_envi = self._load_fixemask(slice_)
return mask_envi[..., 0] == 0
def load_clouds(self, slice_=None):
"""
The interpretation for the bits in each manual mask is as follows:
Value Interpretation
----------------------
0 Fill
64 Cloud Shadow
128 Clear
192 Thin Cloud
255 Cloud
:return:
"""
mask_envi = self._load_fixemask(slice_)
return cloudmask(mask_envi[..., 0])
def cloudmask(fixedmask):
"""
The interpretation for the bits in each manual mask is as follows:
Value Interpretation
----------------------
0 Fill
64 Cloud Shadow
128 Clear
192 Thin Cloud
255 Cloud
:return:
"""
mask = (fixedmask == 0)
mask_envi = np.uint8((fixedmask == 192) | (fixedmask == 255))
return np.ma.masked_array(mask_envi, mask)
def cloud_shadow_mask(fixedmask):
"""
The interpretation for the bits in each manual mask is as follows:
Value Interpretation
----------------------
0 Fill
64 Cloud Shadow
128 Clear
192 Thin Cloud
255 Cloud
:return:
"""
mask = (fixedmask == 0)
mask_envi = np.zeros(fixedmask.shape,dtype=np.uint8)
mask_envi[(fixedmask == 192) | (fixedmask == 255)] = 2
mask_envi[(fixedmask == 64)] = 1
return np.ma.masked_array(mask_envi, mask)
class L8_38Clouds(L8Image):
"""
Class to deal with the 38-Clouds cloud validation dataset.
GT masks downloaded from https://www.kaggle.com/sorour/38cloud-cloud-segmentation-in-satellite-images
(Entire_scene_gts folder)
Landsat-8 images downloaded from the Earth Explorers' portal: https://earthexplorer.usgs.gov/
:param folder_tiffs: folder where the tiffs, metadata and edited_corrected_gts.
"""
def __init__(self, folder_tiffs):
L8Image.__init__(self, folder_tiffs)
self.gt_file = os.path.join(self.folder_tiffs, 'edited_corrected_gts' + self.name + ".TIF")
assert os.path.exists(self.hdf5_file), "edited_corrected_gts not found: {}".format(self.gt_file)
def _load_fixemask(self, slice_=None):
if slice_ is None:
slice_ = (slice(None), slice(None))
with rasterio.open(self.gt_file) as src_gt:
img = src_gt.read(1, window=slice_)
return img
def load_mask(self, slice_=None):
img = self._load_fixemask(slice_)
return img == 0
def load_clouds(self, slice_=None):
"""
The interpretation for the bits in each manual mask is as follows:
Value Interpretation
----------------------
0 Fill
1 Clear
2 Cloud
:return:
"""
img = self._load_fixemask(slice_)
mask = (img == 0)
mask_clouds = np.uint8(img == 2)
return np.ma.masked_array(mask_clouds, mask)
| [
1,
529,
12443,
29918,
303,
1503,
29958,
29896,
29900,
29899,
29896,
29900,
29900,
13,
15945,
29908,
13,
27403,
322,
3168,
363,
5183,
365,
29947,
4558,
322,
7522,
9732,
630,
9570,
11105,
29879,
515,
278,
3457,
608,
322,
29871,
29941,
29947,
29899,
20442,
13,
9274,
4612,
8783,
29889,
13,
13,
991,
597,
5252,
271,
29889,
375,
3174,
29889,
13513,
29914,
5252,
271,
29899,
29947,
29899,
9274,
29899,
11911,
29899,
465,
404,
358,
29899,
18157,
29899,
1272,
13,
13,
15945,
29908,
13,
5215,
2897,
13,
3166,
12865,
1053,
12865,
13,
3166,
12865,
1053,
29431,
13,
13,
5215,
12655,
408,
7442,
13,
5215,
364,
1901,
601,
13,
5215,
270,
29880,
29918,
29880,
29947,
29879,
29906,
29918,
4090,
29889,
13239,
408,
3667,
29879,
13,
13,
13,
1753,
1303,
29918,
19635,
29898,
19635,
29918,
1445,
1125,
13,
1678,
4974,
2897,
29889,
2084,
29889,
9933,
29898,
19635,
29918,
1445,
511,
376,
19635,
934,
1273,
29879,
947,
451,
1863,
29908,
1273,
15562,
29918,
1445,
13,
13,
1678,
411,
1722,
29898,
19635,
29918,
1445,
29892,
376,
29878,
1159,
408,
286,
29888,
29901,
13,
4706,
1196,
294,
353,
286,
29888,
29889,
949,
9012,
580,
13,
13,
1678,
9657,
601,
29918,
19585,
353,
9657,
580,
13,
1678,
363,
301,
297,
1196,
294,
29901,
13,
4706,
270,
1219,
353,
518,
29881,
29889,
17010,
580,
363,
270,
297,
301,
29889,
17010,
2141,
5451,
703,
543,
4638,
13,
4706,
565,
270,
1219,
29961,
29900,
29962,
1275,
376,
26284,
1115,
13,
9651,
9657,
601,
29918,
19585,
29961,
29881,
1219,
29961,
29896,
5262,
353,
9657,
580,
13,
9651,
16256,
29918,
8977,
353,
9657,
601,
29918,
19585,
29961,
29881,
1219,
29961,
29896,
5262,
13,
4706,
25342,
313,
29881,
1219,
29961,
29900,
29962,
1275,
376,
11794,
29918,
26284,
1159,
470,
313,
29881,
1219,
29961,
29900,
29962,
1275,
376,
11794,
29908,
1125,
13,
9651,
6773,
13,
4706,
1683,
29901,
13,
9651,
16256,
29918,
8977,
29961,
29881,
1219,
29961,
29900,
5262,
353,
270,
1219,
29961,
29896,
1822,
6506,
877,
29908,
742,
20569,
13,
13,
1678,
736,
9657,
601,
29918,
19585,
13,
13,
13,
1753,
10272,
29918,
517,
29874,
29918,
14369,
29898,
2492,
29892,
3719,
29892,
15562,
29892,
6575,
29918,
29872,
2608,
362,
29918,
2616,
276,
428,
29922,
5574,
1125,
13,
1678,
9995,
13,
1678,
7523,
14910,
271,
2200,
26385,
8762,
297,
29901,
13,
1678,
2045,
597,
1636,
29889,
375,
3174,
29889,
13513,
29914,
1049,
29899,
13237,
29914,
29876,
492,
29914,
5252,
271,
29914,
4746,
29899,
375,
3174,
29899,
5252,
271,
29899,
5563,
29899,
29896,
29899,
1272,
29899,
4704,
13,
13,
1678,
584,
3207,
10153,
29901,
13,
1678,
584,
3207,
3719,
29901,
13,
1678,
584,
3207,
15562,
29901,
13,
1678,
584,
3207,
6575,
29918,
29872,
2608,
362,
29918,
2616,
276,
428,
29901,
3692,
470,
451,
304,
437,
278,
6575,
11858,
362,
26385,
13,
1678,
584,
2457,
29901,
13,
1678,
9995,
13,
1678,
3719,
29918,
978,
353,
851,
29898,
4980,
29897,
13,
13,
1678,
565,
3719,
529,
29871,
29896,
29900,
29901,
13,
4706,
9657,
601,
29918,
690,
1052,
292,
353,
15562,
3366,
29934,
3035,
5971,
2303,
5659,
2965,
29918,
1525,
7187,
1964,
4214,
3108,
13,
4706,
1773,
29918,
1989,
353,
376,
25866,
3281,
23219,
29918,
29924,
8647,
29918,
29933,
9468,
27508,
718,
3719,
29918,
978,
13,
4706,
10153,
353,
10153,
29930,
7411,
29898,
8977,
601,
29918,
690,
1052,
292,
29961,
4713,
29918,
1989,
2314,
13,
13,
4706,
788,
29918,
1989,
353,
376,
25866,
3281,
23219,
29918,
17744,
29918,
29933,
9468,
27508,
718,
3719,
29918,
978,
13,
4706,
10153,
4619,
5785,
29898,
8977,
601,
29918,
690,
1052,
292,
29961,
1202,
29918,
1989,
2314,
13,
13,
4706,
565,
6575,
29918,
29872,
2608,
362,
29918,
2616,
276,
428,
29901,
13,
9651,
9657,
601,
29918,
690,
1052,
292,
353,
15562,
3366,
2382,
29918,
1299,
29911,
3960,
29933,
2692,
2890,
3108,
13,
9651,
6575,
29918,
29872,
2608,
362,
29918,
2521,
29918,
1989,
353,
376,
29903,
3904,
29918,
29923,
1307,
29963,
8098,
29908,
13,
9651,
10153,
847,
29922,
7442,
29889,
5223,
29898,
7411,
29898,
8977,
601,
29918,
690,
1052,
292,
29961,
11445,
29918,
29872,
2608,
362,
29918,
2521,
29918,
1989,
2314,
847,
29871,
29896,
29947,
29900,
29889,
334,
7442,
29889,
1631,
29897,
13,
13,
1678,
1683,
29901,
13,
4706,
396,
29871,
313,
4980,
1275,
29871,
29896,
29900,
29897,
470,
313,
4980,
1275,
29871,
29896,
29896,
29897,
13,
4706,
9657,
601,
29918,
690,
1052,
292,
353,
15562,
3366,
29934,
3035,
5971,
2303,
5659,
2965,
29918,
1525,
7187,
1964,
4214,
3108,
13,
4706,
1773,
29918,
1989,
353,
376,
29934,
3035,
29902,
23219,
29918,
29924,
8647,
29918,
29933,
9468,
27508,
718,
3719,
29918,
978,
13,
4706,
10153,
353,
10153,
334,
5785,
29898,
8977,
601,
29918,
690,
1052,
292,
29961,
4713,
29918,
1989,
2314,
13,
13,
4706,
788,
29918,
1989,
353,
376,
29934,
3035,
29902,
23219,
29918,
17744,
29918,
29933,
9468,
27508,
718,
3719,
29918,
978,
13,
4706,
10153,
4619,
5785,
29898,
8977,
601,
29918,
690,
1052,
292,
29961,
1202,
29918,
1989,
2314,
13,
13,
4706,
9657,
601,
29918,
690,
1052,
292,
353,
15562,
3366,
29911,
8193,
29903,
29918,
29911,
4448,
1529,
29931,
29918,
6007,
1254,
2190,
9375,
3108,
13,
4706,
413,
29896,
29918,
1989,
353,
376,
29968,
29896,
29918,
6007,
1254,
13566,
29918,
29933,
9468,
27508,
718,
3719,
29918,
978,
13,
4706,
10153,
353,
7442,
29889,
1188,
29898,
7411,
29898,
8977,
601,
29918,
690,
1052,
292,
29961,
29895,
29896,
29918,
1989,
2314,
29914,
2492,
718,
29896,
29897,
13,
4706,
413,
29906,
29918,
1989,
353,
376,
29968,
29896,
29918,
6007,
1254,
13566,
29918,
29933,
9468,
27508,
718,
3719,
29918,
978,
13,
4706,
10153,
353,
5785,
29898,
8977,
601,
29918,
690,
1052,
292,
29961,
29895,
29906,
29918,
1989,
2314,
29914,
2492,
13,
13,
1678,
736,
10153,
13,
13,
13,
1753,
2254,
29918,
29880,
29947,
29918,
9274,
29879,
29918,
29888,
13168,
29898,
29880,
29947,
29890,
25621,
1125,
13,
1678,
9995,
13,
1678,
2045,
597,
1636,
29889,
375,
3174,
29889,
13513,
29914,
1049,
29899,
13237,
29914,
29876,
492,
29914,
5252,
271,
29914,
5252,
271,
29899,
10855,
29899,
29896,
29899,
5563,
29899,
29896,
29899,
29567,
29899,
465,
404,
358,
29899,
4980,
13,
1678,
2045,
597,
1636,
29889,
375,
3174,
29889,
13513,
29914,
1049,
29899,
13237,
29914,
29876,
492,
29914,
5252,
271,
29914,
6854,
13168,
29899,
20567,
13,
13,
1678,
584,
3207,
301,
29947,
29890,
25621,
29901,
13,
1678,
584,
2457,
29901,
13,
1678,
9995,
13,
1678,
736,
313,
29880,
29947,
29890,
25621,
669,
313,
29896,
3532,
29871,
29946,
876,
2804,
29871,
29900,
13,
13,
13,
8132,
3580,
1307,
29918,
29933,
2190,
8452,
353,
518,
29896,
29892,
29871,
29906,
29892,
29871,
29941,
29892,
29871,
29946,
29892,
29871,
29945,
29892,
29871,
29953,
29892,
29871,
29955,
29892,
29871,
29929,
29892,
29871,
29896,
29900,
29892,
29871,
29896,
29896,
29962,
29871,
396,
2178,
22706,
5174,
350,
29947,
313,
29886,
4564,
456,
2454,
411,
1422,
18652,
10104,
29897,
13,
1955,
29902,
3919,
8098,
353,
8853,
29940,
1955,
4690,
29918,
4897,
1115,
376,
29876,
2072,
613,
376,
6156,
2692,
29950,
29918,
4897,
1115,
376,
29879,
2438,
9092,
13,
13,
13,
1990,
365,
29947,
2940,
29901,
13,
1678,
9995,
13,
1678,
4134,
304,
2254,
365,
29896,
29911,
3172,
29879,
271,
29899,
29947,
1967,
13,
13,
1678,
584,
3207,
4138,
29918,
29873,
28324,
29901,
4138,
988,
278,
260,
28324,
322,
15562,
6087,
29889,
13,
1678,
584,
3207,
22780,
29918,
5727,
29918,
22724,
29901,
1051,
310,
269,
29399,
11759,
18337,
29898,
29896,
29900,
29900,
29892,
29906,
29900,
29900,
511,
18337,
29898,
29896,
29900,
29900,
29892,
29906,
29900,
29900,
4638,
13,
1678,
304,
1303,
871,
2702,
14354,
310,
278,
1967,
13,
1678,
9995,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
4138,
29918,
29873,
28324,
29892,
22780,
29918,
5727,
29918,
22724,
29922,
8516,
1125,
13,
4706,
565,
4138,
29918,
29873,
28324,
29889,
1975,
2541,
11219,
29374,
13,
9651,
4138,
29918,
29873,
28324,
353,
4138,
29918,
29873,
28324,
7503,
29899,
29896,
29962,
13,
4706,
1583,
29889,
12083,
29918,
29873,
28324,
353,
4138,
29918,
29873,
28324,
13,
4706,
1583,
29889,
12083,
353,
4138,
29918,
29873,
28324,
13,
4706,
1583,
29889,
978,
353,
2897,
29889,
2084,
29889,
6500,
3871,
29898,
12083,
29918,
29873,
28324,
29897,
13,
4706,
1583,
29889,
29879,
271,
978,
353,
376,
29931,
29947,
29908,
13,
4706,
1583,
29889,
19635,
353,
1583,
3032,
949,
29918,
19635,
580,
13,
13,
4706,
9657,
601,
29918,
19635,
353,
1583,
29889,
19635,
3366,
8618,
14849,
1783,
29918,
2303,
29911,
3035,
8254,
3108,
13,
13,
4706,
1583,
29889,
3733,
17125,
353,
7442,
29889,
2378,
4197,
29961,
7411,
29898,
8977,
601,
29918,
19635,
3366,
29907,
1955,
13865,
29918,
2208,
29918,
29931,
1164,
29918,
8618,
14849,
1783,
3108,
511,
13,
462,
1669,
5785,
29898,
8977,
601,
29918,
19635,
3366,
29907,
1955,
13865,
29918,
2208,
29918,
29931,
1299,
29918,
8618,
14849,
1783,
20068,
1402,
13,
462,
795,
518,
7411,
29898,
8977,
601,
29918,
19635,
3366,
29907,
1955,
13865,
29918,
13309,
29918,
29931,
1164,
29918,
8618,
14849,
1783,
3108,
511,
13,
462,
1669,
5785,
29898,
8977,
601,
29918,
19635,
3366,
29907,
1955,
13865,
29918,
13309,
29918,
29931,
1299,
29918,
8618,
14849,
1783,
20068,
1402,
13,
462,
795,
518,
7411,
29898,
8977,
601,
29918,
19635,
3366,
29907,
1955,
13865,
29918,
4574,
29918,
29931,
1164,
29918,
8618,
14849,
1783,
3108,
511,
13,
462,
1669,
5785,
29898,
8977,
601,
29918,
19635,
3366,
29907,
1955,
13865,
29918,
4574,
29918,
29931,
1299,
29918,
8618,
14849,
1783,
20068,
1402,
13,
462,
795,
518,
7411,
29898,
8977,
601,
29918,
19635,
3366,
29907,
1955,
13865,
29918,
29519,
29918,
29931,
1164,
29918,
8618,
14849,
1783,
3108,
511,
13,
462,
1669,
5785,
29898,
8977,
601,
29918,
19635,
3366,
29907,
1955,
13865,
29918,
29519,
29918,
29931,
1299,
29918,
8618,
14849,
1783,
20068,
24960,
13,
13,
4706,
410,
29926,
29918,
3207,
353,
1583,
29889,
19635,
3366,
8618,
29967,
29923,
9838,
29918,
16320,
25797,
4945,
29903,
3108,
13,
4706,
10640,
353,
5124,
565,
376,
2692,
29924,
29918,
29999,
12413,
29908,
451,
297,
410,
29926,
29918,
3207,
1683,
376,
718,
8028,
16328,
29879,
29908,
1273,
410,
29926,
29918,
3207,
3366,
2692,
29924,
29918,
29999,
12413,
3108,
13,
4706,
1583,
29889,
29883,
2288,
29918,
1807,
29918,
5365,
608,
353,
15691,
20865,
16328,
29879,
29995,
29879,
718,
514,
567,
16328,
29879,
718,
4130,
398,
16328,
29879,
718,
348,
1169,
29922,
29885,
718,
29995,
29879,
29908,
1273,
313,
20865,
29918,
3207,
3366,
23827,
29918,
8618,
29967,
29923,
9838,
16862,
13609,
3285,
13,
462,
462,
462,
462,
9651,
10640,
29892,
13,
462,
462,
462,
462,
9651,
410,
29926,
29918,
3207,
3366,
29923,
2208,
5690,
6156,
1367,
12436,
13,
462,
462,
462,
462,
9651,
410,
29926,
29918,
3207,
3366,
25832,
5005,
12436,
13,
462,
462,
462,
462,
9651,
438,
3960,
3919,
8098,
29961,
20865,
29918,
3207,
3366,
1955,
29902,
3919,
8098,
3108,
2314,
13,
13,
4706,
26354,
353,
1583,
29889,
19635,
3366,
8618,
14849,
1783,
29918,
2303,
29911,
3035,
8254,
3108,
13,
4706,
1301,
353,
518,
7411,
29898,
3358,
3366,
29907,
1955,
13865,
29918,
13309,
29918,
8618,
29967,
29923,
9838,
29918,
29990,
29918,
8618,
14849,
1783,
3108,
511,
5785,
29898,
3358,
3366,
29907,
1955,
13865,
29918,
13309,
29918,
8618,
29967,
29923,
9838,
29918,
29979,
29918,
8618,
14849,
1783,
20068,
29962,
13,
4706,
1583,
29889,
29878,
1901,
601,
29918,
9067,
353,
1583,
29889,
4351,
29918,
29878,
1901,
601,
2141,
9067,
13,
4706,
1583,
29889,
9067,
29918,
23749,
353,
7442,
29889,
2378,
4197,
29961,
29941,
29900,
29892,
29871,
29900,
29892,
1301,
29961,
29900,
20526,
518,
29900,
29892,
448,
29941,
29900,
29892,
1301,
29961,
29896,
5262,
2314,
13,
13,
4706,
1583,
29889,
29876,
5727,
353,
938,
29898,
3358,
3366,
25866,
3281,
18474,
29918,
23714,
2890,
20068,
13,
4706,
1583,
29889,
29876,
22724,
353,
938,
29898,
3358,
3366,
25866,
3281,
18474,
29918,
8132,
3580,
17101,
20068,
13,
13,
4706,
1583,
29889,
2962,
29918,
1256,
353,
12865,
29889,
710,
415,
603,
29898,
8977,
601,
29918,
19635,
3366,
6248,
29918,
2477,
29984,
3120,
19386,
3108,
718,
376,
376,
718,
13,
462,
462,
9651,
9657,
601,
29918,
19635,
3366,
7187,
1430,
29923,
29918,
29907,
3919,
1001,
29918,
15307,
3108,
7503,
29947,
1402,
13,
462,
462,
9651,
11860,
29979,
19222,
29885,
19222,
29881,
1273,
29950,
16664,
29924,
16664,
29903,
2564,
6506,
29898,
17559,
3888,
29922,
2230,
8028,
29889,
329,
29883,
29897,
13,
4706,
1583,
29889,
355,
29918,
1256,
353,
1583,
29889,
2962,
29918,
1256,
13,
13,
4706,
565,
22780,
29918,
5727,
29918,
22724,
338,
6213,
29901,
13,
9651,
1583,
29889,
18337,
353,
313,
18337,
29898,
29900,
29892,
1583,
29889,
29876,
5727,
511,
22780,
29898,
29900,
29892,
1583,
29889,
29876,
22724,
876,
13,
4706,
1683,
29901,
13,
9651,
1583,
29889,
18337,
353,
18761,
29898,
18337,
29918,
5727,
29918,
22724,
29897,
13,
13,
1678,
822,
2181,
29879,
29918,
20865,
29898,
1311,
1125,
13,
4706,
1053,
364,
1901,
601,
13,
4706,
934,
4980,
29918,
978,
353,
2897,
29889,
2084,
29889,
7122,
29898,
1311,
29889,
12083,
29918,
29873,
28324,
29892,
1583,
29889,
978,
718,
11119,
29933,
29906,
29889,
29911,
6545,
1159,
13,
4706,
411,
364,
1901,
601,
29889,
3150,
29898,
1445,
4980,
29918,
978,
29892,
376,
29878,
1159,
408,
4765,
29901,
13,
9651,
4765,
29918,
29883,
2288,
353,
4765,
29889,
29883,
2288,
13,
4706,
736,
4765,
29918,
29883,
2288,
13,
13,
1678,
732,
6799,
13,
1678,
822,
4327,
29898,
1311,
1125,
13,
4706,
1053,
364,
1901,
601,
13,
4706,
934,
4980,
29918,
978,
353,
2897,
29889,
2084,
29889,
7122,
29898,
1311,
29889,
12083,
29918,
29873,
28324,
29892,
1583,
29889,
978,
718,
11119,
29933,
29906,
29889,
29911,
6545,
1159,
13,
4706,
411,
364,
1901,
601,
29889,
3150,
29898,
1445,
4980,
29918,
978,
29892,
376,
29878,
1159,
408,
4765,
29901,
13,
9651,
534,
353,
4765,
29889,
9067,
13,
13,
4706,
736,
7442,
29889,
2378,
4197,
29961,
509,
29889,
29874,
29892,
534,
29889,
29890,
29892,
534,
29889,
29883,
1402,
518,
509,
29889,
29881,
29892,
534,
29889,
29872,
29892,
534,
29889,
29888,
24960,
13,
13,
1678,
822,
4770,
710,
12035,
1311,
1125,
13,
4706,
736,
1583,
29889,
12083,
29918,
29873,
28324,
13,
13,
1678,
822,
903,
949,
29918,
19635,
29898,
1311,
1125,
13,
4706,
15562,
29918,
1445,
353,
2897,
29889,
2084,
29889,
7122,
29898,
1311,
29889,
12083,
29918,
29873,
28324,
29892,
1583,
29889,
978,
718,
11119,
11490,
29931,
29889,
3945,
1159,
13,
4706,
736,
1303,
29918,
19635,
29898,
19635,
29918,
1445,
29897,
13,
13,
1678,
822,
2254,
29918,
13168,
29898,
1311,
29892,
22780,
29918,
29922,
8516,
1125,
13,
4706,
289,
25621,
353,
1583,
29889,
1359,
29918,
29890,
25621,
29898,
18337,
29918,
29922,
18337,
19925,
13,
13,
4706,
736,
289,
25621,
1275,
29871,
29896,
13,
13,
1678,
822,
2254,
29918,
29890,
25621,
29898,
1311,
29892,
22780,
29918,
29922,
8516,
1125,
13,
4706,
565,
22780,
29918,
338,
6213,
29901,
13,
9651,
22780,
29918,
353,
313,
18337,
29898,
8516,
511,
22780,
29898,
8516,
876,
13,
13,
4706,
411,
364,
1901,
601,
29889,
3150,
29898,
359,
29889,
2084,
29889,
7122,
29898,
1311,
29889,
12083,
29918,
29873,
28324,
29892,
1583,
29889,
978,
718,
11119,
29933,
29984,
29909,
29889,
29911,
6545,
4968,
376,
29878,
1159,
408,
4765,
29901,
13,
9651,
289,
25621,
353,
4765,
29889,
949,
29898,
29896,
29892,
3474,
29922,
18337,
19925,
13,
4706,
736,
289,
25621,
29961,
18337,
29918,
29962,
13,
13,
1678,
822,
2254,
29918,
29888,
13168,
29898,
1311,
29892,
22780,
29918,
29922,
8516,
1125,
13,
4706,
289,
25621,
353,
1583,
29889,
1359,
29918,
29890,
25621,
29898,
18337,
29918,
29922,
18337,
19925,
13,
4706,
736,
2254,
29918,
29880,
29947,
29918,
9274,
29879,
29918,
29888,
13168,
29898,
29890,
25621,
29897,
13,
13,
1678,
822,
2254,
29918,
4980,
29898,
1311,
29892,
3719,
29892,
10272,
29918,
517,
29874,
29918,
15581,
29922,
5574,
29892,
13,
462,
29871,
6575,
29918,
29872,
2608,
362,
29918,
2616,
276,
428,
29922,
5574,
29892,
13,
462,
29871,
22780,
29918,
29922,
8516,
1125,
13,
4706,
9995,
13,
4706,
2045,
597,
1636,
29889,
375,
3174,
29889,
13513,
29914,
1049,
29899,
13237,
29914,
29876,
492,
29914,
5252,
271,
29914,
4746,
29899,
375,
3174,
29899,
5252,
271,
29899,
5563,
29899,
29896,
29899,
1272,
29899,
4704,
13,
13,
4706,
365,
30142,
353,
23158,
29984,
1052,
718,
14445,
13,
4706,
365,
30142,
3986,
353,
7495,
29909,
23161,
2971,
8837,
313,
29956,
1131,
29879,
14571,
286,
29906,
334,
269,
3665,
334,
29871,
30167,
29885,
876,
13,
4706,
23158,
308,
353,
5158,
29899,
14940,
6674,
506,
1230,
620,
1052,
292,
7329,
515,
278,
15562,
313,
29934,
3035,
29902,
23219,
29918,
29924,
8647,
29918,
29933,
9468,
29918,
29916,
29892,
988,
921,
338,
278,
3719,
1353,
29897,
13,
4706,
14445,
3986,
353,
5158,
29899,
14940,
788,
3321,
620,
1052,
292,
7329,
515,
278,
15562,
313,
29934,
3035,
29902,
23219,
29918,
17744,
29918,
29933,
9468,
29918,
29916,
29892,
988,
921,
338,
278,
3719,
1353,
29897,
13,
4706,
660,
1052,
4706,
353,
22746,
1891,
322,
1208,
4626,
630,
3918,
3234,
15526,
1819,
313,
28307,
29897,
13,
13,
4706,
584,
3207,
3719,
29901,
13,
4706,
584,
3207,
10272,
29918,
517,
29874,
29918,
15581,
29901,
13,
4706,
584,
3207,
6575,
29918,
29872,
2608,
362,
29918,
2616,
276,
428,
29901,
13,
4706,
584,
3207,
22780,
29918,
29901,
22780,
304,
1303,
13,
4706,
584,
2457,
29901,
13,
4706,
9995,
13,
4706,
3719,
29918,
978,
353,
851,
29898,
4980,
29897,
13,
4706,
934,
4980,
29918,
978,
353,
2897,
29889,
2084,
29889,
7122,
29898,
1311,
29889,
12083,
29918,
29873,
28324,
29892,
1583,
29889,
978,
718,
320,
13,
462,
462,
268,
11119,
29933,
29908,
718,
3719,
29918,
978,
718,
11393,
29911,
6545,
1159,
13,
4706,
565,
22780,
29918,
338,
6213,
29901,
13,
9651,
22780,
29918,
353,
1583,
29889,
18337,
13,
13,
4706,
411,
364,
1901,
601,
29889,
3150,
29898,
1445,
4980,
29918,
978,
29892,
376,
29878,
1159,
408,
4765,
29901,
13,
9651,
10153,
353,
4765,
29889,
949,
29898,
29896,
29892,
3474,
29922,
18337,
29918,
467,
579,
668,
29898,
9302,
29889,
7411,
29941,
29906,
29897,
13,
13,
4706,
565,
10272,
29918,
517,
29874,
29918,
15581,
29901,
13,
9651,
736,
10272,
29918,
517,
29874,
29918,
14369,
29898,
2492,
29892,
3719,
29892,
1583,
29889,
19635,
29892,
13,
462,
462,
418,
6575,
29918,
29872,
2608,
362,
29918,
2616,
276,
428,
29922,
11445,
29918,
29872,
2608,
362,
29918,
2616,
276,
428,
29897,
13,
4706,
736,
10153,
13,
13,
1678,
822,
4765,
29918,
29878,
1901,
601,
29898,
1311,
1125,
13,
4706,
934,
4980,
29918,
978,
353,
2897,
29889,
2084,
29889,
7122,
29898,
1311,
29889,
12083,
29918,
29873,
28324,
29892,
1583,
29889,
978,
718,
320,
13,
462,
462,
268,
11119,
29933,
29906,
29889,
29911,
6545,
1159,
13,
4706,
736,
364,
1901,
601,
29889,
3150,
29898,
1445,
4980,
29918,
978,
29892,
376,
29878,
1159,
13,
13,
1678,
822,
2254,
29918,
29890,
4167,
29898,
1311,
29892,
22706,
29922,
8516,
29892,
11105,
287,
29922,
5574,
29892,
13,
462,
259,
10272,
29918,
517,
29874,
29918,
15581,
29922,
5574,
29892,
13,
462,
259,
6575,
29918,
29872,
2608,
362,
29918,
2616,
276,
428,
29922,
5574,
29892,
13,
462,
259,
9685,
29918,
1429,
29922,
29906,
29892,
13,
462,
259,
22780,
29918,
29922,
8516,
1125,
13,
4706,
9995,
13,
4706,
2254,
278,
22706,
421,
29890,
4167,
29952,
322,
5096,
963,
975,
278,
421,
8990,
29918,
1429,
29952,
9685,
29889,
13,
13,
4706,
584,
3207,
22706,
29901,
350,
4167,
304,
1303,
313,
4980,
29871,
29947,
756,
1422,
18652,
10104,
29897,
13,
4706,
584,
3207,
11105,
287,
29901,
565,
278,
22706,
881,
367,
1303,
411,
278,
11105,
13,
4706,
584,
3207,
10272,
29918,
517,
29874,
29918,
15581,
29901,
13,
4706,
584,
3207,
9685,
29918,
1429,
29901,
9685,
304,
5096,
278,
22706,
313,
29900,
470,
29871,
29906,
29897,
13,
4706,
584,
3207,
6575,
29918,
29872,
2608,
362,
29918,
2616,
276,
428,
29901,
281,
1979,
470,
451,
304,
3394,
278,
6575,
11858,
362,
26385,
13,
4706,
584,
3207,
22780,
29918,
29901,
13,
13,
4706,
584,
2457,
29901,
278,
29871,
29941,
29928,
1773,
275,
1103,
1705,
1967,
13,
4706,
9995,
13,
4706,
10153,
353,
6213,
13,
4706,
565,
22706,
338,
6213,
29901,
13,
9651,
22706,
353,
16698,
3580,
1307,
29918,
29933,
2190,
8452,
13,
13,
4706,
4974,
7431,
29898,
29890,
4167,
29897,
1275,
29871,
29896,
470,
313,
29947,
451,
297,
22706,
511,
376,
29089,
2254,
7243,
27433,
2454,
3719,
313,
29933,
29947,
29897,
4208,
411,
916,
22706,
1363,
372,
756,
1422,
10104,
29908,
13,
4706,
4974,
9685,
29918,
1429,
297,
426,
29900,
29892,
29871,
29906,
1118,
376,
1252,
6021,
304,
5096,
373,
937,
470,
1833,
9927,
29908,
13,
4706,
363,
474,
29892,
29895,
297,
26985,
29898,
29890,
4167,
1125,
13,
9651,
289,
353,
1583,
29889,
1359,
29918,
4980,
29898,
29895,
29892,
26017,
29918,
517,
29874,
29918,
15581,
29922,
26017,
29918,
517,
29874,
29918,
15581,
29892,
13,
462,
1669,
6575,
29918,
29872,
2608,
362,
29918,
2616,
276,
428,
29922,
11445,
29918,
29872,
2608,
362,
29918,
2616,
276,
428,
29892,
13,
462,
1669,
22780,
29918,
29922,
18337,
19925,
13,
9651,
565,
10153,
338,
6213,
29901,
13,
18884,
565,
9685,
29918,
1429,
1275,
29871,
29906,
29901,
13,
462,
1678,
10153,
353,
7442,
29889,
299,
2378,
29898,
29890,
29889,
12181,
17108,
2435,
29898,
29890,
4167,
511,
511,
29881,
1853,
29922,
29890,
29889,
29881,
1853,
29897,
13,
18884,
1683,
29901,
13,
462,
1678,
10153,
353,
7442,
29889,
299,
2378,
3552,
2435,
29898,
29890,
4167,
511,
29897,
718,
289,
29889,
12181,
29892,
26688,
29922,
29890,
29889,
29881,
1853,
29897,
13,
13,
9651,
565,
9685,
29918,
1429,
1275,
29871,
29906,
29901,
13,
18884,
10153,
29961,
16361,
474,
29962,
353,
289,
13,
9651,
1683,
29901,
13,
18884,
10153,
29961,
29875,
29962,
353,
289,
13,
13,
4706,
565,
11105,
287,
29901,
13,
9651,
11105,
353,
1583,
29889,
1359,
29918,
13168,
29898,
18337,
19925,
13,
9651,
11105,
353,
3667,
29879,
29889,
13168,
29918,
29906,
29928,
29918,
517,
29918,
29941,
29928,
29898,
13168,
29892,
10153,
29889,
12181,
29961,
8990,
29918,
1429,
2314,
13,
9651,
10153,
353,
7442,
29889,
655,
29889,
13168,
287,
29918,
2378,
29898,
2492,
29892,
11105,
29897,
13,
13,
4706,
736,
10153,
13,
13,
13,
1990,
3457,
608,
29898,
29931,
29947,
2940,
1125,
13,
1678,
9995,
13,
1678,
4134,
304,
5376,
411,
278,
365,
29947,
9570,
8845,
8783,
16532,
515,
2045,
597,
5252,
271,
29889,
375,
3174,
29889,
13513,
29914,
5252,
271,
29899,
29947,
29899,
9274,
29899,
11911,
29899,
465,
404,
358,
29899,
18157,
29899,
1272,
13,
13,
1678,
584,
3207,
4138,
29918,
29873,
28324,
29901,
4138,
988,
278,
260,
28324,
29892,
15562,
322,
21061,
4343,
13168,
526,
6087,
29889,
13,
1678,
9995,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
269,
29906,
29918,
12083,
1125,
13,
4706,
365,
29947,
2940,
17255,
2344,
12035,
1311,
29892,
269,
29906,
29918,
12083,
29897,
13,
13,
4706,
1583,
29889,
29882,
7707,
29918,
1445,
353,
2897,
29889,
2084,
29889,
7122,
29898,
1311,
29889,
12083,
29918,
29873,
28324,
29892,
1583,
29889,
978,
718,
11119,
20227,
13168,
29889,
29882,
7707,
1159,
13,
4706,
4974,
2897,
29889,
2084,
29889,
9933,
29898,
1311,
29889,
29882,
7707,
29918,
1445,
511,
376,
20227,
13168,
451,
1476,
29901,
6571,
1642,
4830,
29898,
1311,
29889,
29882,
7707,
29918,
1445,
29897,
13,
13,
1678,
822,
903,
1359,
29918,
5878,
331,
1278,
29898,
1311,
29892,
22780,
29918,
29922,
8516,
1125,
13,
4706,
1053,
23161,
29889,
601,
29889,
264,
1403,
408,
21061,
13,
13,
4706,
565,
22780,
29918,
338,
6213,
29901,
13,
9651,
22780,
29918,
353,
313,
18337,
29898,
8516,
511,
22780,
29898,
8516,
876,
13,
13,
4706,
736,
21061,
29889,
3150,
29898,
1311,
29889,
29882,
7707,
29918,
1445,
9601,
18337,
29918,
29962,
13,
13,
1678,
822,
2254,
29918,
13168,
29898,
1311,
29892,
22780,
29918,
29922,
8516,
1125,
13,
4706,
11105,
29918,
264,
1403,
353,
1583,
3032,
1359,
29918,
5878,
331,
1278,
29898,
18337,
19925,
13,
4706,
736,
11105,
29918,
264,
1403,
29961,
16361,
29871,
29900,
29962,
1275,
29871,
29900,
13,
13,
1678,
822,
2254,
29918,
9274,
29879,
29898,
1311,
29892,
22780,
29918,
29922,
8516,
1125,
13,
4706,
9995,
13,
4706,
450,
19854,
363,
278,
9978,
297,
1269,
12219,
11105,
338,
408,
4477,
29901,
13,
4706,
7865,
29871,
4124,
19819,
362,
13,
4706,
448,
2683,
23648,
13,
308,
29900,
12,
259,
383,
453,
13,
308,
29953,
29946,
12,
259,
14293,
1383,
6986,
13,
308,
29896,
29906,
29947,
12,
259,
17732,
13,
308,
29896,
29929,
29906,
12,
259,
498,
262,
14293,
13,
308,
29906,
29945,
29945,
12,
259,
14293,
13,
13,
4706,
584,
2457,
29901,
13,
4706,
9995,
13,
4706,
11105,
29918,
264,
1403,
353,
1583,
3032,
1359,
29918,
5878,
331,
1278,
29898,
18337,
19925,
13,
4706,
736,
9570,
13168,
29898,
13168,
29918,
264,
1403,
29961,
16361,
29871,
29900,
2314,
13,
13,
13,
1753,
9570,
13168,
29898,
20227,
13168,
1125,
13,
1678,
9995,
13,
1678,
450,
19854,
363,
278,
9978,
297,
1269,
12219,
11105,
338,
408,
4477,
29901,
13,
1678,
7865,
29871,
4124,
19819,
362,
13,
1678,
448,
2683,
23648,
13,
268,
29900,
12,
259,
383,
453,
13,
268,
29953,
29946,
12,
259,
14293,
1383,
6986,
13,
268,
29896,
29906,
29947,
12,
259,
17732,
13,
268,
29896,
29929,
29906,
12,
259,
498,
262,
14293,
13,
268,
29906,
29945,
29945,
12,
259,
14293,
13,
13,
1678,
584,
2457,
29901,
13,
1678,
9995,
13,
13,
1678,
11105,
353,
313,
20227,
13168,
1275,
29871,
29900,
29897,
13,
1678,
11105,
29918,
264,
1403,
353,
7442,
29889,
13470,
29947,
3552,
20227,
13168,
1275,
29871,
29896,
29929,
29906,
29897,
891,
313,
20227,
13168,
1275,
29871,
29906,
29945,
29945,
876,
13,
13,
1678,
736,
7442,
29889,
655,
29889,
13168,
287,
29918,
2378,
29898,
13168,
29918,
264,
1403,
29892,
11105,
29897,
13,
13,
13,
1753,
9570,
29918,
17505,
29918,
13168,
29898,
20227,
13168,
1125,
13,
1678,
9995,
13,
1678,
450,
19854,
363,
278,
9978,
297,
1269,
12219,
11105,
338,
408,
4477,
29901,
13,
1678,
7865,
29871,
4124,
19819,
362,
13,
1678,
448,
2683,
23648,
13,
268,
29900,
12,
259,
383,
453,
13,
268,
29953,
29946,
12,
259,
14293,
1383,
6986,
13,
268,
29896,
29906,
29947,
12,
259,
17732,
13,
268,
29896,
29929,
29906,
12,
259,
498,
262,
14293,
13,
268,
29906,
29945,
29945,
12,
259,
14293,
13,
13,
1678,
584,
2457,
29901,
13,
1678,
9995,
13,
13,
1678,
11105,
353,
313,
20227,
13168,
1275,
29871,
29900,
29897,
13,
13,
1678,
11105,
29918,
264,
1403,
353,
7442,
29889,
3298,
359,
29898,
20227,
13168,
29889,
12181,
29892,
29881,
1853,
29922,
9302,
29889,
13470,
29947,
29897,
13,
1678,
11105,
29918,
264,
1403,
15625,
20227,
13168,
1275,
29871,
29896,
29929,
29906,
29897,
891,
313,
20227,
13168,
1275,
29871,
29906,
29945,
29945,
4638,
353,
29871,
29906,
13,
1678,
11105,
29918,
264,
1403,
15625,
20227,
13168,
1275,
29871,
29953,
29946,
4638,
353,
29871,
29896,
13,
13,
1678,
736,
7442,
29889,
655,
29889,
13168,
287,
29918,
2378,
29898,
13168,
29918,
264,
1403,
29892,
11105,
29897,
13,
13,
13,
1990,
365,
29947,
29918,
29941,
29947,
20442,
29879,
29898,
29931,
29947,
2940,
1125,
13,
1678,
9995,
13,
1678,
4134,
304,
5376,
411,
278,
29871,
29941,
29947,
29899,
20442,
29879,
9570,
8845,
8783,
29889,
13,
13,
1678,
21342,
11105,
29879,
16532,
515,
2045,
597,
1636,
29889,
29895,
351,
6234,
29889,
510,
29914,
29879,
272,
473,
29914,
29941,
29947,
9274,
29899,
9274,
29899,
28192,
362,
29899,
262,
29899,
29879,
271,
20911,
29899,
8346,
13,
1678,
313,
5292,
533,
29918,
24645,
29918,
29887,
1372,
4138,
29897,
13,
1678,
3172,
29879,
271,
29899,
29947,
4558,
16532,
515,
278,
11563,
1222,
572,
272,
414,
29915,
25792,
29901,
2045,
597,
29872,
442,
20970,
14716,
29889,
375,
3174,
29889,
13513,
29914,
13,
13,
1678,
584,
3207,
4138,
29918,
29873,
28324,
29901,
4138,
988,
278,
260,
28324,
29892,
15562,
322,
8788,
29918,
15728,
287,
29918,
29887,
1372,
29889,
13,
1678,
9995,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
4138,
29918,
29873,
28324,
1125,
13,
4706,
365,
29947,
2940,
17255,
2344,
12035,
1311,
29892,
4138,
29918,
29873,
28324,
29897,
13,
13,
4706,
1583,
29889,
4141,
29918,
1445,
353,
2897,
29889,
2084,
29889,
7122,
29898,
1311,
29889,
12083,
29918,
29873,
28324,
29892,
525,
287,
1573,
29918,
15728,
287,
29918,
29887,
1372,
29915,
718,
1583,
29889,
978,
718,
11393,
29911,
6545,
1159,
13,
4706,
4974,
2897,
29889,
2084,
29889,
9933,
29898,
1311,
29889,
29882,
2176,
29945,
29918,
1445,
511,
376,
287,
1573,
29918,
15728,
287,
29918,
29887,
1372,
451,
1476,
29901,
6571,
1642,
4830,
29898,
1311,
29889,
4141,
29918,
1445,
29897,
13,
13,
1678,
822,
903,
1359,
29918,
5878,
331,
1278,
29898,
1311,
29892,
22780,
29918,
29922,
8516,
1125,
13,
4706,
565,
22780,
29918,
338,
6213,
29901,
13,
9651,
22780,
29918,
353,
313,
18337,
29898,
8516,
511,
22780,
29898,
8516,
876,
13,
13,
4706,
411,
364,
1901,
601,
29889,
3150,
29898,
1311,
29889,
4141,
29918,
1445,
29897,
408,
4765,
29918,
4141,
29901,
13,
9651,
10153,
353,
4765,
29918,
4141,
29889,
949,
29898,
29896,
29892,
3474,
29922,
18337,
19925,
13,
13,
4706,
736,
10153,
13,
13,
1678,
822,
2254,
29918,
13168,
29898,
1311,
29892,
22780,
29918,
29922,
8516,
1125,
13,
4706,
10153,
353,
1583,
3032,
1359,
29918,
5878,
331,
1278,
29898,
18337,
19925,
13,
13,
4706,
736,
10153,
1275,
29871,
29900,
13,
13,
1678,
822,
2254,
29918,
9274,
29879,
29898,
1311,
29892,
22780,
29918,
29922,
8516,
1125,
13,
4706,
9995,
13,
4706,
450,
19854,
363,
278,
9978,
297,
1269,
12219,
11105,
338,
408,
4477,
29901,
13,
4706,
7865,
29871,
4124,
19819,
362,
13,
4706,
448,
2683,
23648,
13,
308,
29900,
12,
259,
383,
453,
13,
308,
29896,
12,
259,
17732,
13,
308,
29906,
12,
259,
14293,
13,
13,
4706,
584,
2457,
29901,
13,
4706,
9995,
13,
13,
4706,
10153,
353,
1583,
3032,
1359,
29918,
5878,
331,
1278,
29898,
18337,
19925,
13,
4706,
11105,
353,
313,
2492,
1275,
29871,
29900,
29897,
13,
4706,
11105,
29918,
9274,
29879,
353,
7442,
29889,
13470,
29947,
29898,
2492,
1275,
29871,
29906,
29897,
13,
4706,
736,
7442,
29889,
655,
29889,
13168,
287,
29918,
2378,
29898,
13168,
29918,
9274,
29879,
29892,
11105,
29897,
13,
2
] |
extract_code.py | sajjad2014/vq-vae-2-pytorch | 1,007 | 199465 | <filename>extract_code.py
import argparse
import pickle
import torch
from torch.utils.data import DataLoader
from torchvision import transforms
import lmdb
from tqdm import tqdm
from dataset import ImageFileDataset, CodeRow
from vqvae import VQVAE
def extract(lmdb_env, loader, model, device):
index = 0
with lmdb_env.begin(write=True) as txn:
pbar = tqdm(loader)
for img, _, filename in pbar:
img = img.to(device)
_, _, _, id_t, id_b = model.encode(img)
id_t = id_t.detach().cpu().numpy()
id_b = id_b.detach().cpu().numpy()
for file, top, bottom in zip(filename, id_t, id_b):
row = CodeRow(top=top, bottom=bottom, filename=file)
txn.put(str(index).encode('utf-8'), pickle.dumps(row))
index += 1
pbar.set_description(f'inserted: {index}')
txn.put('length'.encode('utf-8'), str(index).encode('utf-8'))
if __name__ == '__main__':
parser = argparse.ArgumentParser()
parser.add_argument('--size', type=int, default=256)
parser.add_argument('--ckpt', type=str)
parser.add_argument('--name', type=str)
parser.add_argument('path', type=str)
args = parser.parse_args()
device = 'cuda'
transform = transforms.Compose(
[
transforms.Resize(args.size),
transforms.CenterCrop(args.size),
transforms.ToTensor(),
transforms.Normalize([0.5, 0.5, 0.5], [0.5, 0.5, 0.5]),
]
)
dataset = ImageFileDataset(args.path, transform=transform)
loader = DataLoader(dataset, batch_size=128, shuffle=False, num_workers=4)
model = VQVAE()
model.load_state_dict(torch.load(args.ckpt))
model = model.to(device)
model.eval()
map_size = 100 * 1024 * 1024 * 1024
env = lmdb.open(args.name, map_size=map_size)
extract(env, loader, model, device)
| [
1,
529,
9507,
29958,
21111,
29918,
401,
29889,
2272,
13,
5215,
1852,
5510,
30004,
13,
5215,
5839,
280,
30004,
13,
30004,
13,
5215,
4842,
305,
30004,
13,
3166,
4842,
305,
29889,
13239,
29889,
1272,
1053,
3630,
10036,
30004,
13,
3166,
4842,
305,
4924,
1053,
4327,
29879,
30004,
13,
5215,
301,
29885,
2585,
30004,
13,
3166,
260,
29939,
18933,
1053,
260,
29939,
18933,
30004,
13,
30004,
13,
3166,
8783,
1053,
7084,
2283,
16390,
24541,
29892,
5920,
4301,
30004,
13,
3166,
325,
29939,
1564,
29872,
1053,
478,
29984,
29963,
16036,
30004,
13,
30004,
13,
30004,
13,
1753,
6597,
29898,
21457,
2585,
29918,
6272,
29892,
23466,
29892,
1904,
29892,
4742,
1125,
30004,
13,
1678,
2380,
353,
29871,
29900,
30004,
13,
30004,
13,
1678,
411,
301,
29885,
2585,
29918,
6272,
29889,
463,
29898,
3539,
29922,
5574,
29897,
408,
25568,
29876,
29901,
30004,
13,
4706,
282,
1646,
353,
260,
29939,
18933,
29898,
12657,
8443,
13,
30004,
13,
4706,
363,
10153,
29892,
17117,
10422,
297,
282,
1646,
29901,
30004,
13,
9651,
10153,
353,
10153,
29889,
517,
29898,
10141,
8443,
13,
30004,
13,
9651,
17117,
17117,
17117,
1178,
29918,
29873,
29892,
1178,
29918,
29890,
353,
1904,
29889,
12508,
29898,
2492,
8443,
13,
9651,
1178,
29918,
29873,
353,
1178,
29918,
29873,
29889,
4801,
496,
2141,
21970,
2141,
23749,
26471,
13,
9651,
1178,
29918,
29890,
353,
1178,
29918,
29890,
29889,
4801,
496,
2141,
21970,
2141,
23749,
26471,
13,
30004,
13,
9651,
363,
934,
29892,
2246,
29892,
5970,
297,
14319,
29898,
9507,
29892,
1178,
29918,
29873,
29892,
1178,
29918,
29890,
1125,
30004,
13,
18884,
1948,
353,
5920,
4301,
29898,
3332,
29922,
3332,
29892,
5970,
29922,
8968,
29892,
10422,
29922,
1445,
8443,
13,
18884,
25568,
29876,
29889,
649,
29898,
710,
29898,
2248,
467,
12508,
877,
9420,
29899,
29947,
5477,
5839,
280,
29889,
29881,
17204,
29898,
798,
876,
30004,
13,
18884,
2380,
4619,
29871,
29896,
30004,
13,
18884,
282,
1646,
29889,
842,
29918,
8216,
29898,
29888,
29915,
7851,
287,
29901,
426,
2248,
29913,
1495,
30004,
13,
30004,
13,
4706,
25568,
29876,
29889,
649,
877,
2848,
4286,
12508,
877,
9420,
29899,
29947,
5477,
851,
29898,
2248,
467,
12508,
877,
9420,
29899,
29947,
8785,
30004,
13,
30004,
13,
30004,
13,
361,
4770,
978,
1649,
1275,
525,
1649,
3396,
1649,
2396,
30004,
13,
1678,
13812,
353,
1852,
5510,
29889,
15730,
11726,
26471,
13,
1678,
13812,
29889,
1202,
29918,
23516,
877,
489,
2311,
742,
1134,
29922,
524,
29892,
2322,
29922,
29906,
29945,
29953,
8443,
13,
1678,
13812,
29889,
1202,
29918,
23516,
877,
489,
384,
415,
742,
1134,
29922,
710,
8443,
13,
1678,
13812,
29889,
1202,
29918,
23516,
877,
489,
978,
742,
1134,
29922,
710,
8443,
13,
1678,
13812,
29889,
1202,
29918,
23516,
877,
2084,
742,
1134,
29922,
710,
8443,
13,
30004,
13,
1678,
6389,
353,
13812,
29889,
5510,
29918,
5085,
26471,
13,
30004,
13,
1678,
4742,
353,
525,
29883,
6191,
29915,
30004,
13,
30004,
13,
1678,
4327,
353,
4327,
29879,
29889,
1523,
4220,
29898,
30004,
13,
4706,
518,
30004,
13,
9651,
4327,
29879,
29889,
1666,
675,
29898,
5085,
29889,
2311,
511,
30004,
13,
9651,
4327,
29879,
29889,
13409,
29907,
1336,
29898,
5085,
29889,
2311,
511,
30004,
13,
9651,
4327,
29879,
29889,
1762,
29911,
6073,
3285,
30004,
13,
9651,
4327,
29879,
29889,
19077,
675,
4197,
29900,
29889,
29945,
29892,
29871,
29900,
29889,
29945,
29892,
29871,
29900,
29889,
29945,
1402,
518,
29900,
29889,
29945,
29892,
29871,
29900,
29889,
29945,
29892,
29871,
29900,
29889,
29945,
11724,
30004,
13,
4706,
4514,
30004,
13,
1678,
1723,
30004,
13,
30004,
13,
1678,
8783,
353,
7084,
2283,
16390,
24541,
29898,
5085,
29889,
2084,
29892,
4327,
29922,
9067,
8443,
13,
1678,
23466,
353,
3630,
10036,
29898,
24713,
29892,
9853,
29918,
2311,
29922,
29896,
29906,
29947,
29892,
528,
21897,
29922,
8824,
29892,
954,
29918,
1287,
414,
29922,
29946,
8443,
13,
30004,
13,
1678,
1904,
353,
478,
29984,
29963,
16036,
26471,
13,
1678,
1904,
29889,
1359,
29918,
3859,
29918,
8977,
29898,
7345,
305,
29889,
1359,
29898,
5085,
29889,
384,
415,
876,
30004,
13,
1678,
1904,
353,
1904,
29889,
517,
29898,
10141,
8443,
13,
1678,
1904,
29889,
14513,
26471,
13,
30004,
13,
1678,
2910,
29918,
2311,
353,
29871,
29896,
29900,
29900,
334,
29871,
29896,
29900,
29906,
29946,
334,
29871,
29896,
29900,
29906,
29946,
334,
29871,
29896,
29900,
29906,
29946,
30004,
13,
30004,
13,
1678,
8829,
353,
301,
29885,
2585,
29889,
3150,
29898,
5085,
29889,
978,
29892,
2910,
29918,
2311,
29922,
1958,
29918,
2311,
8443,
13,
30004,
13,
1678,
6597,
29898,
6272,
29892,
23466,
29892,
1904,
29892,
4742,
8443,
13,
2
] |
tests/unit/downloader/test_data_collector.py | ebi-ait/ingest-client | 0 | 62483 | import json
import os
import unittest
from unittest.mock import MagicMock
from ingest.api.ingestapi import IngestApi
from ingest.downloader.data_collector import DataCollector
class DataCollectorTest(unittest.TestCase):
def setUp(self) -> None:
self.maxDiff = None
self.mock_ingest_api = MagicMock(spec=IngestApi)
self.data_collector = DataCollector(self.mock_ingest_api)
self.script_dir = os.path.dirname(__file__)
self.parent_dir = os.path.split(self.script_dir)[0]
self.resources_dir = os.path.join(self.parent_dir, 'resources')
def test_collect_data_by_submission_uuid_returns_correctly(self):
# given
project = self._make_project_data()
self._mock_ingest_api(project)
expected_json = [project['project']] + \
project['biomaterials'] + \
project['processes'] + \
project['protocols'] + \
project['files']
# when
project_uuid = '1234'
entity_dict = self.data_collector.collect_data_by_submission_uuid(project_uuid)
# then
self._assert_all_entities_are_created(entity_dict, expected_json)
self._assert_entities_have_correct_inputs(entity_dict)
def _assert_all_entities_are_created(self, entity_dict, expected_json):
expected_content_list = [entity['content'] for entity in expected_json]
actual_content_list = [entity.content for entity in entity_dict.values()]
self.assertCountEqual(expected_content_list, actual_content_list)
def _assert_entities_have_correct_inputs(self, entity_dict):
specimen = entity_dict['6197380b2807a377aad3a303']
donor = entity_dict['6197380b2807a377aad3a302']
process = entity_dict['6197380b2807a377aad3a30c']
protocols = [entity_dict['6197380b2807a377aad3a307']]
self.assertEqual(specimen.inputs, [donor])
self.assertEqual(specimen.process, process)
self.assertEqual(specimen.protocols, protocols)
self.assertCountEqual([input.id for input in specimen.inputs], [donor.id], 'The specimen has no donor input.')
self.assertEqual(specimen.process.id, process.id,
'The process which links the specimen to the donor is missing.')
self.assertEqual([protocol.id for protocol in specimen.protocols], [protocol.id for protocol in protocols],
'The protocols for the process which links the specimen to the donor are incorrect.')
cell_suspension = entity_dict['6197380b2807a377aad3a304']
file = entity_dict['6197380b2807a377aad3a306']
assay_process = entity_dict['6197380b2807a377aad3a30e']
assay_process_protocols = [entity_dict['6197380b2807a377aad3a30a'], entity_dict['6197380b2807a377aad3a30b']]
self.assertCountEqual([input.id for input in file.inputs], [cell_suspension.id],
'The sequencing file has no cell suspension input.')
self.assertEqual(file.process.id, assay_process.id,
'The process which links the file to the cell suspension is missing.')
self.assertEqual([protocol.id for protocol in file.protocols],
[protocol.id for protocol in assay_process_protocols],
'The protocols for the process which links the file to the cell suspension is incorrect.')
def _mock_ingest_api(self, project):
self.mock_ingest_api.get_submission_by_uuid.return_value = project['submission']
self.mock_ingest_api.get_related_project.return_value = project['project']
response = MagicMock()
response.json.return_value = project['linking_map']
self.mock_ingest_api.get.return_value = response
self.mock_ingest_api.get_related_entities.side_effect = \
[
iter(project['biomaterials']),
iter(project['processes']),
iter(project['protocols']),
iter(project['files'])
]
def _make_project_data(self):
with open(self.resources_dir + '/mock_submission.json') as file:
mock_submission_json = json.load(file)
with open(self.resources_dir + '/mock_project.json') as file:
mock_project_json = json.load(file)
with open(self.resources_dir + '/mock_biomaterials.json') as file:
mock_biomaterials_json = json.load(file)
with open(self.resources_dir + '/mock_processes.json') as file:
mock_processes_json = json.load(file)
with open(self.resources_dir + '/mock_protocols.json') as file:
mock_protocols_json = json.load(file)
with open(self.resources_dir + '/mock_files.json') as file:
mock_files_json = json.load(file)
with open(self.resources_dir + '/linking-map.json') as file:
linking_map = json.load(file)
return {
'submission': mock_submission_json,
'project': mock_project_json,
'biomaterials': mock_biomaterials_json,
'processes': mock_processes_json,
'protocols': mock_protocols_json,
'files': mock_files_json,
'linking_map': linking_map
}
if __name__ == '__main__':
unittest.main()
| [
1,
1053,
4390,
13,
5215,
2897,
13,
5215,
443,
27958,
13,
3166,
443,
27958,
29889,
17640,
1053,
26494,
18680,
13,
13,
3166,
2348,
342,
29889,
2754,
29889,
292,
342,
2754,
1053,
512,
7118,
11713,
13,
3166,
2348,
342,
29889,
10382,
261,
29889,
1272,
29918,
15914,
272,
1053,
3630,
28916,
272,
13,
13,
13,
1990,
3630,
28916,
272,
3057,
29898,
348,
27958,
29889,
3057,
8259,
1125,
13,
13,
1678,
822,
731,
3373,
29898,
1311,
29897,
1599,
6213,
29901,
13,
4706,
1583,
29889,
3317,
26023,
353,
6213,
13,
4706,
1583,
29889,
17640,
29918,
292,
342,
29918,
2754,
353,
26494,
18680,
29898,
6550,
29922,
797,
7118,
11713,
29897,
13,
4706,
1583,
29889,
1272,
29918,
15914,
272,
353,
3630,
28916,
272,
29898,
1311,
29889,
17640,
29918,
292,
342,
29918,
2754,
29897,
13,
4706,
1583,
29889,
2154,
29918,
3972,
353,
2897,
29889,
2084,
29889,
25721,
22168,
1445,
1649,
29897,
13,
4706,
1583,
29889,
3560,
29918,
3972,
353,
2897,
29889,
2084,
29889,
5451,
29898,
1311,
29889,
2154,
29918,
3972,
9601,
29900,
29962,
13,
4706,
1583,
29889,
13237,
29918,
3972,
353,
2897,
29889,
2084,
29889,
7122,
29898,
1311,
29889,
3560,
29918,
3972,
29892,
525,
13237,
1495,
13,
13,
1678,
822,
1243,
29918,
15914,
29918,
1272,
29918,
1609,
29918,
1491,
6737,
29918,
25118,
29918,
18280,
29918,
15728,
368,
29898,
1311,
1125,
13,
4706,
396,
2183,
13,
4706,
2060,
353,
1583,
3032,
5675,
29918,
4836,
29918,
1272,
580,
13,
4706,
1583,
3032,
17640,
29918,
292,
342,
29918,
2754,
29898,
4836,
29897,
13,
13,
4706,
3806,
29918,
3126,
353,
518,
4836,
1839,
4836,
2033,
29962,
718,
320,
13,
462,
4706,
2060,
1839,
5365,
290,
3795,
29879,
2033,
718,
320,
13,
462,
4706,
2060,
1839,
5014,
267,
2033,
718,
320,
13,
462,
4706,
2060,
1839,
20464,
29879,
2033,
718,
320,
13,
462,
4706,
2060,
1839,
5325,
2033,
13,
13,
4706,
396,
746,
13,
4706,
2060,
29918,
25118,
353,
525,
29896,
29906,
29941,
29946,
29915,
13,
4706,
7855,
29918,
8977,
353,
1583,
29889,
1272,
29918,
15914,
272,
29889,
15914,
29918,
1272,
29918,
1609,
29918,
1491,
6737,
29918,
25118,
29898,
4836,
29918,
25118,
29897,
13,
13,
4706,
396,
769,
13,
4706,
1583,
3032,
9294,
29918,
497,
29918,
296,
1907,
29918,
598,
29918,
11600,
29898,
10041,
29918,
8977,
29892,
3806,
29918,
3126,
29897,
13,
4706,
1583,
3032,
9294,
29918,
296,
1907,
29918,
17532,
29918,
15728,
29918,
2080,
29879,
29898,
10041,
29918,
8977,
29897,
13,
13,
1678,
822,
903,
9294,
29918,
497,
29918,
296,
1907,
29918,
598,
29918,
11600,
29898,
1311,
29892,
7855,
29918,
8977,
29892,
3806,
29918,
3126,
1125,
13,
4706,
3806,
29918,
3051,
29918,
1761,
353,
518,
10041,
1839,
3051,
2033,
363,
7855,
297,
3806,
29918,
3126,
29962,
13,
4706,
3935,
29918,
3051,
29918,
1761,
353,
518,
10041,
29889,
3051,
363,
7855,
297,
7855,
29918,
8977,
29889,
5975,
580,
29962,
13,
4706,
1583,
29889,
9294,
3981,
9843,
29898,
9684,
29918,
3051,
29918,
1761,
29892,
3935,
29918,
3051,
29918,
1761,
29897,
13,
13,
1678,
822,
903,
9294,
29918,
296,
1907,
29918,
17532,
29918,
15728,
29918,
2080,
29879,
29898,
1311,
29892,
7855,
29918,
8977,
1125,
13,
4706,
1580,
19933,
353,
7855,
29918,
8977,
1839,
29953,
29896,
29929,
29955,
29941,
29947,
29900,
29890,
29906,
29947,
29900,
29955,
29874,
29941,
29955,
29955,
29874,
328,
29941,
29874,
29941,
29900,
29941,
2033,
13,
4706,
1016,
272,
353,
7855,
29918,
8977,
1839,
29953,
29896,
29929,
29955,
29941,
29947,
29900,
29890,
29906,
29947,
29900,
29955,
29874,
29941,
29955,
29955,
29874,
328,
29941,
29874,
29941,
29900,
29906,
2033,
13,
4706,
1889,
353,
7855,
29918,
8977,
1839,
29953,
29896,
29929,
29955,
29941,
29947,
29900,
29890,
29906,
29947,
29900,
29955,
29874,
29941,
29955,
29955,
29874,
328,
29941,
29874,
29941,
29900,
29883,
2033,
13,
4706,
9608,
29879,
353,
518,
10041,
29918,
8977,
1839,
29953,
29896,
29929,
29955,
29941,
29947,
29900,
29890,
29906,
29947,
29900,
29955,
29874,
29941,
29955,
29955,
29874,
328,
29941,
29874,
29941,
29900,
29955,
2033,
29962,
13,
13,
4706,
1583,
29889,
9294,
9843,
29898,
6550,
19933,
29889,
2080,
29879,
29892,
518,
9176,
272,
2314,
13,
4706,
1583,
29889,
9294,
9843,
29898,
6550,
19933,
29889,
5014,
29892,
1889,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
6550,
19933,
29889,
20464,
29879,
29892,
9608,
29879,
29897,
13,
4706,
1583,
29889,
9294,
3981,
9843,
4197,
2080,
29889,
333,
363,
1881,
297,
1580,
19933,
29889,
2080,
29879,
1402,
518,
9176,
272,
29889,
333,
1402,
525,
1576,
1580,
19933,
756,
694,
1016,
272,
1881,
29889,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
6550,
19933,
29889,
5014,
29889,
333,
29892,
1889,
29889,
333,
29892,
13,
462,
308,
525,
1576,
1889,
607,
2988,
278,
1580,
19933,
304,
278,
1016,
272,
338,
4567,
29889,
1495,
13,
4706,
1583,
29889,
9294,
9843,
4197,
20464,
29889,
333,
363,
9608,
297,
1580,
19933,
29889,
20464,
29879,
1402,
518,
20464,
29889,
333,
363,
9608,
297,
9608,
29879,
1402,
13,
462,
308,
525,
1576,
9608,
29879,
363,
278,
1889,
607,
2988,
278,
1580,
19933,
304,
278,
1016,
272,
526,
10240,
29889,
1495,
13,
13,
4706,
3038,
29918,
29879,
375,
29886,
2673,
353,
7855,
29918,
8977,
1839,
29953,
29896,
29929,
29955,
29941,
29947,
29900,
29890,
29906,
29947,
29900,
29955,
29874,
29941,
29955,
29955,
29874,
328,
29941,
29874,
29941,
29900,
29946,
2033,
13,
4706,
934,
353,
7855,
29918,
8977,
1839,
29953,
29896,
29929,
29955,
29941,
29947,
29900,
29890,
29906,
29947,
29900,
29955,
29874,
29941,
29955,
29955,
29874,
328,
29941,
29874,
29941,
29900,
29953,
2033,
13,
4706,
1223,
388,
29918,
5014,
353,
7855,
29918,
8977,
1839,
29953,
29896,
29929,
29955,
29941,
29947,
29900,
29890,
29906,
29947,
29900,
29955,
29874,
29941,
29955,
29955,
29874,
328,
29941,
29874,
29941,
29900,
29872,
2033,
13,
4706,
1223,
388,
29918,
5014,
29918,
20464,
29879,
353,
518,
10041,
29918,
8977,
1839,
29953,
29896,
29929,
29955,
29941,
29947,
29900,
29890,
29906,
29947,
29900,
29955,
29874,
29941,
29955,
29955,
29874,
328,
29941,
29874,
29941,
29900,
29874,
7464,
7855,
29918,
8977,
1839,
29953,
29896,
29929,
29955,
29941,
29947,
29900,
29890,
29906,
29947,
29900,
29955,
29874,
29941,
29955,
29955,
29874,
328,
29941,
29874,
29941,
29900,
29890,
2033,
29962,
13,
13,
4706,
1583,
29889,
9294,
3981,
9843,
4197,
2080,
29889,
333,
363,
1881,
297,
934,
29889,
2080,
29879,
1402,
518,
3729,
29918,
29879,
375,
29886,
2673,
29889,
333,
1402,
13,
462,
795,
525,
1576,
8617,
16750,
934,
756,
694,
3038,
8872,
2673,
1881,
29889,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
1445,
29889,
5014,
29889,
333,
29892,
1223,
388,
29918,
5014,
29889,
333,
29892,
13,
462,
308,
525,
1576,
1889,
607,
2988,
278,
934,
304,
278,
3038,
8872,
2673,
338,
4567,
29889,
1495,
13,
4706,
1583,
29889,
9294,
9843,
4197,
20464,
29889,
333,
363,
9608,
297,
934,
29889,
20464,
29879,
1402,
13,
462,
308,
518,
20464,
29889,
333,
363,
9608,
297,
1223,
388,
29918,
5014,
29918,
20464,
29879,
1402,
13,
462,
308,
525,
1576,
9608,
29879,
363,
278,
1889,
607,
2988,
278,
934,
304,
278,
3038,
8872,
2673,
338,
10240,
29889,
1495,
13,
13,
1678,
822,
903,
17640,
29918,
292,
342,
29918,
2754,
29898,
1311,
29892,
2060,
1125,
13,
4706,
1583,
29889,
17640,
29918,
292,
342,
29918,
2754,
29889,
657,
29918,
1491,
6737,
29918,
1609,
29918,
25118,
29889,
2457,
29918,
1767,
353,
2060,
1839,
1491,
6737,
2033,
13,
4706,
1583,
29889,
17640,
29918,
292,
342,
29918,
2754,
29889,
657,
29918,
12817,
29918,
4836,
29889,
2457,
29918,
1767,
353,
2060,
1839,
4836,
2033,
13,
4706,
2933,
353,
29871,
26494,
18680,
580,
13,
4706,
2933,
29889,
3126,
29889,
2457,
29918,
1767,
353,
2060,
1839,
2324,
292,
29918,
1958,
2033,
13,
4706,
1583,
29889,
17640,
29918,
292,
342,
29918,
2754,
29889,
657,
29889,
2457,
29918,
1767,
353,
2933,
13,
4706,
1583,
29889,
17640,
29918,
292,
342,
29918,
2754,
29889,
657,
29918,
12817,
29918,
296,
1907,
29889,
2975,
29918,
15987,
353,
320,
13,
9651,
518,
13,
18884,
4256,
29898,
4836,
1839,
5365,
290,
3795,
29879,
2033,
511,
13,
18884,
4256,
29898,
4836,
1839,
5014,
267,
2033,
511,
13,
18884,
4256,
29898,
4836,
1839,
20464,
29879,
2033,
511,
13,
18884,
4256,
29898,
4836,
1839,
5325,
11287,
13,
9651,
4514,
13,
13,
1678,
822,
903,
5675,
29918,
4836,
29918,
1272,
29898,
1311,
1125,
13,
4706,
411,
1722,
29898,
1311,
29889,
13237,
29918,
3972,
718,
8207,
17640,
29918,
1491,
6737,
29889,
3126,
1495,
408,
934,
29901,
13,
9651,
11187,
29918,
1491,
6737,
29918,
3126,
353,
4390,
29889,
1359,
29898,
1445,
29897,
13,
4706,
411,
1722,
29898,
1311,
29889,
13237,
29918,
3972,
718,
8207,
17640,
29918,
4836,
29889,
3126,
1495,
408,
934,
29901,
13,
9651,
11187,
29918,
4836,
29918,
3126,
353,
4390,
29889,
1359,
29898,
1445,
29897,
13,
4706,
411,
1722,
29898,
1311,
29889,
13237,
29918,
3972,
718,
8207,
17640,
29918,
5365,
290,
3795,
29879,
29889,
3126,
1495,
408,
934,
29901,
13,
9651,
11187,
29918,
5365,
290,
3795,
29879,
29918,
3126,
353,
4390,
29889,
1359,
29898,
1445,
29897,
13,
4706,
411,
1722,
29898,
1311,
29889,
13237,
29918,
3972,
718,
8207,
17640,
29918,
5014,
267,
29889,
3126,
1495,
408,
934,
29901,
13,
9651,
11187,
29918,
5014,
267,
29918,
3126,
353,
4390,
29889,
1359,
29898,
1445,
29897,
13,
4706,
411,
1722,
29898,
1311,
29889,
13237,
29918,
3972,
718,
8207,
17640,
29918,
20464,
29879,
29889,
3126,
1495,
408,
934,
29901,
13,
9651,
11187,
29918,
20464,
29879,
29918,
3126,
353,
4390,
29889,
1359,
29898,
1445,
29897,
13,
4706,
411,
1722,
29898,
1311,
29889,
13237,
29918,
3972,
718,
8207,
17640,
29918,
5325,
29889,
3126,
1495,
408,
934,
29901,
13,
9651,
11187,
29918,
5325,
29918,
3126,
353,
4390,
29889,
1359,
29898,
1445,
29897,
13,
4706,
411,
1722,
29898,
1311,
29889,
13237,
29918,
3972,
718,
8207,
2324,
292,
29899,
1958,
29889,
3126,
1495,
408,
934,
29901,
13,
9651,
25236,
29918,
1958,
353,
4390,
29889,
1359,
29898,
1445,
29897,
13,
13,
4706,
736,
426,
13,
9651,
525,
1491,
6737,
2396,
11187,
29918,
1491,
6737,
29918,
3126,
29892,
13,
9651,
525,
4836,
2396,
11187,
29918,
4836,
29918,
3126,
29892,
13,
9651,
525,
5365,
290,
3795,
29879,
2396,
11187,
29918,
5365,
290,
3795,
29879,
29918,
3126,
29892,
13,
9651,
525,
5014,
267,
2396,
11187,
29918,
5014,
267,
29918,
3126,
29892,
13,
9651,
525,
20464,
29879,
2396,
11187,
29918,
20464,
29879,
29918,
3126,
29892,
13,
9651,
525,
5325,
2396,
11187,
29918,
5325,
29918,
3126,
29892,
13,
9651,
525,
2324,
292,
29918,
1958,
2396,
25236,
29918,
1958,
13,
4706,
500,
13,
13,
13,
361,
4770,
978,
1649,
1275,
525,
1649,
3396,
1649,
2396,
13,
1678,
443,
27958,
29889,
3396,
580,
13,
2
] |
insta/forms.py | Samfan01/instagram | 0 | 1606332 | <gh_stars>0
from django import forms
from .models import Image,Profile,Comment
class ImageForm(forms.ModelForm):
class Meta:
model = Image
fields = ('image_name','image_caption','image')
widgets = {
'image_name': forms.TextInput(attrs = {'class': 'form-control'}),
'image_caption': forms.Textarea(attrs = {'class': 'form-control'}),
}
class ProfileForm(forms.ModelForm):
class Meta:
model = Profile
fields = ('first_name','last_name','bio','profile_pic')
widgets = {
'first_name': forms.TextInput(attrs = {'class': 'form-control'}),
'last_name': forms.TextInput(attrs = {'class': 'form-control'}),
'bio': forms.Textarea(attrs = {'class': 'form-control'}),
}
class CommentForm(forms.ModelForm):
class Meta:
model = Comment
fields = ('comment',)
widgets = {
'comment':forms.TextInput(attrs ={'placeholder':'add your comment','rows': 5}),
} | [
1,
529,
12443,
29918,
303,
1503,
29958,
29900,
13,
3166,
9557,
1053,
7190,
13,
3166,
869,
9794,
1053,
7084,
29892,
13909,
29892,
20001,
13,
13,
1990,
7084,
2500,
29898,
9514,
29889,
3195,
2500,
1125,
13,
1678,
770,
20553,
29901,
13,
4706,
1904,
353,
7084,
13,
4706,
4235,
353,
6702,
3027,
29918,
978,
3788,
3027,
29918,
6671,
3788,
3027,
1495,
13,
308,
13,
4706,
11109,
29879,
353,
426,
13,
9651,
525,
3027,
29918,
978,
2396,
7190,
29889,
1626,
4290,
29898,
5552,
29879,
353,
11117,
1990,
2396,
525,
689,
29899,
6451,
29915,
9594,
13,
9651,
525,
3027,
29918,
6671,
2396,
7190,
29889,
1626,
6203,
29898,
5552,
29879,
353,
11117,
1990,
2396,
525,
689,
29899,
6451,
29915,
9594,
13,
9651,
13,
4706,
500,
13,
13,
1990,
20802,
2500,
29898,
9514,
29889,
3195,
2500,
1125,
13,
1678,
770,
20553,
29901,
13,
4706,
1904,
353,
20802,
13,
4706,
4235,
353,
6702,
4102,
29918,
978,
3788,
4230,
29918,
978,
3788,
24840,
3788,
10185,
29918,
16447,
1495,
13,
308,
13,
4706,
11109,
29879,
353,
426,
13,
9651,
525,
4102,
29918,
978,
2396,
7190,
29889,
1626,
4290,
29898,
5552,
29879,
353,
11117,
1990,
2396,
525,
689,
29899,
6451,
29915,
9594,
13,
9651,
525,
4230,
29918,
978,
2396,
7190,
29889,
1626,
4290,
29898,
5552,
29879,
353,
11117,
1990,
2396,
525,
689,
29899,
6451,
29915,
9594,
13,
9651,
525,
24840,
2396,
7190,
29889,
1626,
6203,
29898,
5552,
29879,
353,
11117,
1990,
2396,
525,
689,
29899,
6451,
29915,
9594,
13,
4706,
500,
13,
308,
13,
1990,
461,
2500,
29898,
9514,
29889,
3195,
2500,
1125,
13,
1678,
770,
20553,
29901,
13,
4706,
1904,
353,
461,
13,
4706,
4235,
353,
6702,
9342,
742,
29897,
13,
4706,
11109,
29879,
353,
426,
13,
9651,
525,
9342,
2396,
9514,
29889,
1626,
4290,
29898,
5552,
29879,
353,
10998,
27074,
22099,
1202,
596,
3440,
3788,
5727,
2396,
29871,
29945,
9594,
13,
4706,
500,
2
] |
backend/portal/management/commands/load_target_populations.py | pennlabs/student-life | 7 | 156859 | <filename>backend/portal/management/commands/load_target_populations.py
import requests
from django.core.management.base import BaseCommand
from django.utils import timezone
from portal.models import TargetPopulation
class Command(BaseCommand):
def handle(self, *args, **kwargs):
# loads majors, years, schools, and degrees onto TargetPopulations
# runs get_or_create to ensure no duplicates
majors = requests.get("https://platform.pennlabs.org/accounts/majors/").json()
schools = requests.get("https://platform.pennlabs.org/accounts/schools/").json()
degrees = self.get_degrees()
for major in majors:
TargetPopulation.objects.get_or_create(
kind=TargetPopulation.KIND_MAJOR, population=major["name"]
)
for school in schools:
TargetPopulation.objects.get_or_create(
kind=TargetPopulation.KIND_SCHOOL, population=school["name"]
)
for degree in degrees:
TargetPopulation.objects.get_or_create(
kind=TargetPopulation.KIND_DEGREE, population=degree
)
for year in self.get_years():
TargetPopulation.objects.get_or_create(kind=TargetPopulation.KIND_YEAR, population=year)
self.stdout.write("Uploaded Target Populations!")
def get_degrees(self):
return ["BACHELORS", "MASTERS", "PHD", "PROFESSIONAL"]
def get_years(self):
# creates new class year in August in preparation for upcoming school year
return (
[timezone.localtime().year + x for x in range(4)]
if timezone.localtime().month < 8
else [timezone.localtime().year + x for x in range(1, 5)]
)
| [
1,
529,
9507,
29958,
27852,
29914,
25089,
29914,
21895,
29914,
26381,
29914,
1359,
29918,
5182,
29918,
7323,
8250,
29889,
2272,
13,
5215,
7274,
13,
3166,
9557,
29889,
3221,
29889,
21895,
29889,
3188,
1053,
7399,
6255,
13,
3166,
9557,
29889,
13239,
1053,
29431,
13,
13,
3166,
25792,
29889,
9794,
1053,
17157,
12310,
2785,
13,
13,
13,
1990,
10516,
29898,
5160,
6255,
1125,
13,
1678,
822,
4386,
29898,
1311,
29892,
334,
5085,
29892,
3579,
19290,
1125,
13,
4706,
396,
15376,
10067,
943,
29892,
2440,
29892,
12462,
29892,
322,
14496,
11480,
17157,
12310,
8250,
13,
4706,
396,
6057,
679,
29918,
272,
29918,
3258,
304,
9801,
694,
20955,
13,
4706,
10067,
943,
353,
7274,
29889,
657,
703,
991,
597,
12120,
29889,
29886,
2108,
29880,
6897,
29889,
990,
29914,
10149,
29879,
29914,
655,
29926,
943,
29914,
2564,
3126,
580,
13,
4706,
12462,
353,
7274,
29889,
657,
703,
991,
597,
12120,
29889,
29886,
2108,
29880,
6897,
29889,
990,
29914,
10149,
29879,
29914,
816,
8789,
29914,
2564,
3126,
580,
13,
4706,
14496,
353,
1583,
29889,
657,
29918,
311,
7979,
267,
580,
13,
4706,
363,
4655,
297,
10067,
943,
29901,
13,
9651,
17157,
12310,
2785,
29889,
12650,
29889,
657,
29918,
272,
29918,
3258,
29898,
13,
18884,
2924,
29922,
8667,
12310,
2785,
29889,
29968,
22255,
29918,
1529,
29967,
1955,
29892,
4665,
29922,
21355,
3366,
978,
3108,
13,
9651,
1723,
13,
4706,
363,
3762,
297,
12462,
29901,
13,
9651,
17157,
12310,
2785,
29889,
12650,
29889,
657,
29918,
272,
29918,
3258,
29898,
13,
18884,
2924,
29922,
8667,
12310,
2785,
29889,
29968,
22255,
29918,
29903,
3210,
29949,
5607,
29892,
4665,
29922,
27041,
3366,
978,
3108,
13,
9651,
1723,
13,
4706,
363,
7426,
297,
14496,
29901,
13,
9651,
17157,
12310,
2785,
29889,
12650,
29889,
657,
29918,
272,
29918,
3258,
29898,
13,
18884,
2924,
29922,
8667,
12310,
2785,
29889,
29968,
22255,
29918,
2287,
29954,
21661,
29892,
4665,
29922,
12163,
929,
13,
9651,
1723,
13,
4706,
363,
1629,
297,
1583,
29889,
657,
29918,
6360,
29879,
7295,
13,
9651,
17157,
12310,
2785,
29889,
12650,
29889,
657,
29918,
272,
29918,
3258,
29898,
14380,
29922,
8667,
12310,
2785,
29889,
29968,
22255,
29918,
29979,
26441,
29892,
4665,
29922,
6360,
29897,
13,
4706,
1583,
29889,
25393,
29889,
3539,
703,
3373,
15638,
17157,
6977,
8250,
29991,
1159,
13,
13,
1678,
822,
679,
29918,
311,
7979,
267,
29898,
1311,
1125,
13,
4706,
736,
6796,
29933,
2477,
29950,
6670,
24125,
613,
376,
1529,
1254,
23598,
613,
376,
19689,
29928,
613,
376,
8618,
16359,
13507,
1964,
3108,
13,
13,
1678,
822,
679,
29918,
6360,
29879,
29898,
1311,
1125,
13,
4706,
396,
10017,
716,
770,
1629,
297,
3111,
297,
10223,
362,
363,
701,
11506,
3762,
1629,
13,
4706,
736,
313,
13,
9651,
518,
2230,
8028,
29889,
2997,
2230,
2141,
6360,
718,
921,
363,
921,
297,
3464,
29898,
29946,
4638,
13,
9651,
565,
29431,
29889,
2997,
2230,
2141,
10874,
529,
29871,
29947,
13,
9651,
1683,
518,
2230,
8028,
29889,
2997,
2230,
2141,
6360,
718,
921,
363,
921,
297,
3464,
29898,
29896,
29892,
29871,
29945,
4638,
13,
4706,
1723,
13,
2
] |
app/src/main/python/menu.py | 108360224/watch_video | 0 | 1605327 | <reponame>108360224/watch_video<gh_stars>0
# -*- coding: utf-8 -*-
"""
Created on Sat May 2 10:47:12 2020
@author: max
"""
from bs4 import BeautifulSoup
import requests
import re
class Menu():
def __init__(self,URL='http://www.99kubo.tv'):
html = requests.get(URL).text
self.soup = BeautifulSoup(html, 'lxml')
self.URL=URL
re_channel=re.compile('mm\d{0,3}')
channel_elem = self.soup.select_one('body > div.top > div.menu > div.mainmenu_top')
menu_href = tuple(a['href'] for a in channel_elem.find_all('a',{'id':re_channel,'target':""}))
menu_string = tuple(a.string for a in channel_elem.find_all('a',{'id':re_channel,'target':""}))
self.menu_list=(menu_string,menu_href)
sort_elem = self.soup.select_one('body > div.top > div.menu > div.mainmenu_bottom')
sort_elem_ul=sort_elem.select('ul')
re_href=re.compile('$(?!html)')
sort_href=tuple(tuple(re.sub(r'^(?!/)','/',a['href']) for a in ul.find_all('a',{'href':re_href}) if re.match(r'(?!\d){1,4}', a.string))[:-10] for ul in sort_elem_ul)+((),)
sort_string=tuple(tuple(a.string for a in ul.find_all('a',{'href':re_href}) if re.match(r'(?!\d){1,4}', a.string))[:-10] for ul in sort_elem_ul)+((),)
self.sort_list=(sort_string,sort_href)
def get_menu_list(self):
return self.menu_list
def get_child_list(self):
return self.sort_list
def get_link(self,menu,sort=''):
URL=self.URL
try:
if sort=='':
URL+=self.menu_list[1][self.menu_list[0].index(menu)]
else:
dex=self.menu_list[0].index(menu)
URL+=self.sort_list[1][dex][self.sort_list[0][dex].index(sort)]
except:
URL+=""
return URL | [
1,
529,
276,
1112,
420,
29958,
29896,
29900,
29947,
29941,
29953,
29900,
29906,
29906,
29946,
29914,
12344,
29918,
9641,
29966,
12443,
29918,
303,
1503,
29958,
29900,
13,
29937,
448,
29930,
29899,
14137,
29901,
23616,
29899,
29947,
448,
29930,
29899,
13,
15945,
29908,
13,
20399,
373,
12178,
2610,
259,
29906,
29871,
29896,
29900,
29901,
29946,
29955,
29901,
29896,
29906,
29871,
29906,
29900,
29906,
29900,
13,
13,
29992,
8921,
29901,
4236,
13,
15945,
29908,
13,
13,
3166,
24512,
29946,
1053,
25685,
29903,
1132,
13,
5215,
7274,
13,
5215,
337,
13,
1990,
20019,
7295,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
4219,
2433,
1124,
597,
1636,
29889,
29929,
29929,
29895,
431,
29877,
29889,
12427,
29374,
13,
4706,
3472,
353,
7274,
29889,
657,
29898,
4219,
467,
726,
13,
4706,
1583,
29889,
29879,
1132,
353,
25685,
29903,
1132,
29898,
1420,
29892,
525,
29880,
3134,
1495,
13,
4706,
1583,
29889,
4219,
29922,
4219,
13,
308,
13,
268,
13,
4706,
337,
29918,
12719,
29922,
276,
29889,
12198,
877,
4317,
29905,
29881,
29912,
29900,
29892,
29941,
29913,
1495,
13,
4706,
8242,
29918,
20461,
353,
1583,
29889,
29879,
1132,
29889,
2622,
29918,
650,
877,
2587,
1405,
1933,
29889,
3332,
1405,
1933,
29889,
6510,
1405,
1933,
29889,
3396,
6510,
29918,
3332,
1495,
13,
4706,
6143,
29918,
12653,
353,
18761,
29898,
29874,
1839,
12653,
2033,
363,
263,
297,
8242,
29918,
20461,
29889,
2886,
29918,
497,
877,
29874,
742,
10998,
333,
2396,
276,
29918,
12719,
5501,
5182,
2396,
29908,
9092,
876,
13,
4706,
6143,
29918,
1807,
353,
18761,
29898,
29874,
29889,
1807,
363,
263,
297,
8242,
29918,
20461,
29889,
2886,
29918,
497,
877,
29874,
742,
10998,
333,
2396,
276,
29918,
12719,
5501,
5182,
2396,
29908,
9092,
876,
13,
308,
13,
4706,
1583,
29889,
6510,
29918,
1761,
7607,
6510,
29918,
1807,
29892,
6510,
29918,
12653,
29897,
13,
308,
13,
268,
13,
268,
13,
268,
13,
4706,
2656,
29918,
20461,
353,
1583,
29889,
29879,
1132,
29889,
2622,
29918,
650,
877,
2587,
1405,
1933,
29889,
3332,
1405,
1933,
29889,
6510,
1405,
1933,
29889,
3396,
6510,
29918,
8968,
1495,
13,
4706,
2656,
29918,
20461,
29918,
352,
29922,
6605,
29918,
20461,
29889,
2622,
877,
352,
1495,
13,
4706,
337,
29918,
12653,
29922,
276,
29889,
12198,
877,
29938,
10780,
29991,
1420,
29897,
1495,
13,
4706,
2656,
29918,
12653,
29922,
23583,
29898,
23583,
29898,
276,
29889,
1491,
29898,
29878,
29915,
29985,
10780,
29991,
4551,
3788,
29914,
742,
29874,
1839,
12653,
11287,
363,
263,
297,
9238,
29889,
2886,
29918,
497,
877,
29874,
742,
10998,
12653,
2396,
276,
29918,
12653,
1800,
565,
337,
29889,
4352,
29898,
29878,
29915,
10780,
9903,
29881,
2597,
29896,
29892,
29946,
29913,
742,
263,
29889,
1807,
876,
7503,
29899,
29896,
29900,
29962,
363,
9238,
297,
2656,
29918,
20461,
29918,
352,
7240,
29898,
3285,
29897,
13,
4706,
2656,
29918,
1807,
29922,
23583,
29898,
23583,
29898,
29874,
29889,
1807,
363,
263,
297,
9238,
29889,
2886,
29918,
497,
877,
29874,
742,
10998,
12653,
2396,
276,
29918,
12653,
1800,
565,
337,
29889,
4352,
29898,
29878,
29915,
10780,
9903,
29881,
2597,
29896,
29892,
29946,
29913,
742,
263,
29889,
1807,
876,
7503,
29899,
29896,
29900,
29962,
363,
9238,
297,
2656,
29918,
20461,
29918,
352,
7240,
29898,
3285,
29897,
13,
308,
13,
4706,
1583,
29889,
6605,
29918,
1761,
7607,
6605,
29918,
1807,
29892,
6605,
29918,
12653,
29897,
13,
308,
13,
268,
13,
1678,
822,
679,
29918,
6510,
29918,
1761,
29898,
1311,
1125,
13,
4706,
736,
1583,
29889,
6510,
29918,
1761,
13,
268,
13,
1678,
822,
679,
29918,
5145,
29918,
1761,
29898,
1311,
1125,
13,
4706,
736,
1583,
29889,
6605,
29918,
1761,
13,
268,
13,
1678,
822,
679,
29918,
2324,
29898,
1311,
29892,
6510,
29892,
6605,
2433,
29374,
13,
4706,
3988,
29922,
1311,
29889,
4219,
13,
4706,
1018,
29901,
13,
9651,
565,
2656,
1360,
29915,
2396,
13,
18884,
3988,
23661,
1311,
29889,
6510,
29918,
1761,
29961,
29896,
3816,
1311,
29889,
6510,
29918,
1761,
29961,
29900,
1822,
2248,
29898,
6510,
4638,
13,
9651,
1683,
29901,
13,
18884,
316,
29916,
29922,
1311,
29889,
6510,
29918,
1761,
29961,
29900,
1822,
2248,
29898,
6510,
29897,
13,
18884,
3988,
23661,
1311,
29889,
6605,
29918,
1761,
29961,
29896,
3816,
1390,
3816,
1311,
29889,
6605,
29918,
1761,
29961,
29900,
3816,
1390,
1822,
2248,
29898,
6605,
4638,
13,
4706,
5174,
29901,
13,
9651,
3988,
29974,
13776,
13,
4706,
736,
3988,
2
] |
radvel/basis.py | lgbouma/radvel | 0 | 68067 | <reponame>lgbouma/radvel
import numpy as np
import pandas as pd
from collections import OrderedDict
from radvel.orbit import timeperi_to_timetrans, timetrans_to_timeperi
import radvel.model
BASIS_NAMES = ['per tp e w k', # The synth basis
'per tc secosw sesinw logk',
'per tc secosw sesinw k',
'per tc ecosw esinw k',
'per tc e w k',
'logper tc secosw sesinw k',
'logper tc secosw sesinw logk',
'per tc se w k',
'logper tp e w logk']
ECCENTRICITY_PARAMS_DICT = {
'per tp e w k': 'e w',
'per tc secosw sesinw logk': 'secosw sesinw',
'per tc secosw sesinw k': 'secosw sesinw',
'per tc ecosw esinw k': 'ecosw esinw',
'per tc e w k': 'e w',
'logper tc secosw sesinw k': 'secosw sesinw',
'logper tc secosw sesinw logk': 'secosw sesinw',
'per tc se w k': 'se w',
'logper tp e w logk': 'e w'}
CIRCULAR_PARAMS_DICT = {
'per tp e w k': 'per tp k',
'per tc secosw sesinw logk': 'per tc logk',
'per tc secosw sesinw k': 'per tc k',
'per tc ecosw esinw k': 'per tc k',
'per tc e w k': 'per tc k',
'logper tc secosw sesinw k': 'logper tc k',
'logper tc secosw sesinw logk': 'logper tc logk',
'per tc se w k': 'per tc k',
'logper tp e w logk': 'logper tp logk'}
def _print_valid_basis():
print("Available bases:")
print("\n".join(BASIS_NAMES))
def _copy_params(params_in):
num_planets = params_in.num_planets
basis = params_in.basis.name
planet_letters = params_in.planet_letters
params_out = radvel.model.Parameters(num_planets, basis=basis,
planet_letters=planet_letters)
params_out.update(params_in)
return params_out
class Basis(object):
"""
Object that knows how to convert between the various Keplerian bases
Args:
name (str): basis name
num_planets (int): number of planets
Attributes:
synth_params (str): name of synth basis
Note:
Valid basis functions: \n
'per tp e w k' (The synthesis basis) \n
'per tc secosw sesinw logk' \n
'per tc secosw sesinw k' \n
'per tc ecosw esinw k' \n
'per tc e w k' \n
'logper tc secosw sesinw k'\n
'logper tc secosw sesinw logk'\n
'per tc se w k'
"""
synth_params = 'per tp e w k'.split()
def __init__(self, *args):
self.name = None
self.num_planets = 0
if len(args) == 0:
_print_valid_basis()
# return None
name, num_planets = args
if BASIS_NAMES.count(name) == 0:
print("{} not valid basis".format(name))
_print_valid_basis()
# return None
self.name = name
self.num_planets = num_planets
self.params = name.split()
def __repr__(self):
return "Basis Object <{}>".format(self.name)
def to_any_basis(self, params_in, newbasis):
"""Convenience function for converting Parameters object to an arbitraty basis
Args:
params_in (radvel.Parameters): radvel.Parameters object expressed in current basis
newbasis (string): string corresponding to basis to switch into
Returns:
radvel.Parameters object expressed in the new basis
"""
synth_params = self.to_synth(params_in)
arbbasis_params = self.from_synth(synth_params, newbasis, keep=False)
return arbbasis_params
def to_synth(self, params_in, **kwargs):
"""Convert to synth basis
Convert Parameters object with parameters of a given basis into the
synth basis
Args:
params_in (radvel.Parameters or pandas.DataFrame): radvel.Parameters object or pandas.Dataframe containing
orbital parameters expressed in current basis
noVary (bool [optional]): if True, set the 'vary' attribute of the returned Parameter objects
to '' (used for displaying best fit parameters)
Returns:
Parameters or DataFrame: parameters expressed in the synth basis
"""
basis_name = kwargs.setdefault('basis_name', self.name)
if isinstance(params_in, pd.core.frame.DataFrame):
# Output by emcee
params_out = params_in.copy()
else:
params_out = _copy_params(params_in)
for num_planet in range(1, 1+self.num_planets):
def _getpar(key):
if isinstance(params_in, pd.core.frame.DataFrame):
return params_in['{}{}'.format(key, num_planet)]
else:
return params_in['{}{}'.format(key, num_planet)].value
def _setpar(key, new_value):
key_name = '{}{}'.format(key, num_planet)
if isinstance(params_in, pd.core.frame.DataFrame):
params_out[key_name] = new_value
else:
if key_name in params_in:
local_vary = params_in[key_name].vary
local_mcmcscale = params_in[key_name].mcmcscale
elif kwargs.get('noVary', True):
local_vary = ''
local_mcmcscale = None
else:
local_vary = True
local_mcmcscale = None
params_out[key_name] = radvel.model.Parameter(value=new_value,
vary=local_vary,
mcmcscale=local_mcmcscale)
# transform into synth basis
if basis_name == 'per tp e w k':
# already in the synth basis
per = _getpar('per')
tp = _getpar('tp')
e = _getpar('e')
w = _getpar('w')
k = _getpar('k')
if basis_name == 'per tc e w k':
per = _getpar('per')
tc = _getpar('tc')
e = _getpar('e')
w = _getpar('w')
k = _getpar('k')
tp = timetrans_to_timeperi(tc, per, e, w)
if basis_name == 'per tc se w k':
# pull out parameters
per = _getpar('per')
tc = _getpar('tc')
se = _getpar('se')
w = _getpar('w')
k = _getpar('k')
e = se**2
tp = timetrans_to_timeperi(tc, per, e, w)
if basis_name == 'per tc secosw sesinw logk':
# pull out parameters
per = _getpar('per')
tc = _getpar('tc')
secosw = _getpar('secosw')
sesinw = _getpar('sesinw')
logk = _getpar('logk')
k = np.exp(logk)
e = secosw**2 + sesinw**2
w = np.arctan2(sesinw, secosw)
tp = timetrans_to_timeperi(tc, per, e, w)
if basis_name == 'per tc secosw sesinw k':
# pull out parameters
per = _getpar('per')
tc = _getpar('tc')
secosw = _getpar('secosw')
sesinw = _getpar('sesinw')
k = _getpar('k')
# transform into synth basis
e = secosw**2 + sesinw**2
w = np.arctan2(sesinw, secosw)
tp = timetrans_to_timeperi(tc, per, e, w)
if basis_name == 'logper tc secosw sesinw k':
# pull out parameters
logper = _getpar('logper')
tc = _getpar('tc')
secosw = _getpar('secosw')
sesinw = _getpar('sesinw')
k = _getpar('k')
# transform into synth basis
per = np.exp(logper)
e = secosw**2 + sesinw**2
w = np.arctan2(sesinw, secosw)
tp = timetrans_to_timeperi(tc, per, e, w)
if basis_name == 'logper tc secosw sesinw logk':
# pull out parameters
logper = _getpar('logper')
tc = _getpar('tc')
secosw = _getpar('secosw')
sesinw = _getpar('sesinw')
k = _getpar('logk')
# transform into synth basis
per = np.exp(logper)
e = secosw ** 2 + sesinw ** 2
k = np.exp(k)
w = np.arctan2(sesinw, secosw)
tp = timetrans_to_timeperi(tc, per, e, w)
if basis_name == 'per tc ecosw esinw k':
# pull out parameters
per = _getpar('per')
tc = _getpar('tc')
ecosw = _getpar('ecosw')
esinw = _getpar('esinw')
k = _getpar('k')
# transform into synth basis
e = np.sqrt(ecosw**2 + esinw**2)
w = np.arctan2(esinw, ecosw)
tp = timetrans_to_timeperi(tc, per, e, w)
if basis_name == 'logper tp e w logk':
# pull out parameters
logper = _getpar('logper')
tp = _getpar('tp')
e = _getpar('e')
w = _getpar('w')
k = _getpar('logk')
# transform into synth basis
per = np.exp(logper)
k = np.exp(k)
# shoves synth parameters from namespace into param_out
_setpar('per', per)
_setpar('tp', tp)
_setpar('e', e)
_setpar('w', w)
_setpar('k', k)
if isinstance(params_out, radvel.model.Parameters):
params_out.basis = Basis('per tp e w k', self.num_planets)
return params_out
def from_synth(self, params_in, newbasis, **kwargs):
"""Convert from synth basis into another basis
Convert instance of Parameters with parameters of a given basis into the synth basis
Args:
params_in (radvel.Parameters or pandas.DataFrame): radvel.Parameters object or pandas.Dataframe containing
orbital parameters expressed in current basis
newbasis (string): string corresponding to basis to switch into
keep (bool [optional]): keep the parameters expressed in
the old basis, else remove them from the output
dictionary/DataFrame
Returns:
dict or dataframe with the parameters converted into the new basis
"""
if newbasis not in BASIS_NAMES:
print("{} not valid basis".format(newbasis))
_print_valid_basis()
return None
if isinstance(params_in, pd.core.frame.DataFrame):
# Output by emcee
params_out = params_in.copy()
else:
params_out = _copy_params(params_in)
for num_planet in range(1, 1+self.num_planets):
def _getpar(key):
if isinstance(params_in, pd.core.frame.DataFrame):
return params_in['{}{}'.format(key, num_planet)]
else:
return params_in['{}{}'.format(key, num_planet)].value
def _setpar(key, new_value):
key_name = '{}{}'.format(key, num_planet)
if isinstance(params_in, pd.core.frame.DataFrame):
params_out[key_name] = new_value
else:
if key_name in params_in:
local_vary = params_in[key_name].vary
local_mcmcscale = params_in[key_name].mcmcscale
else:
local_vary = True
local_mcmcscale = None
params_out[key_name] = radvel.model.Parameter(value=new_value,
vary=local_vary,
mcmcscale=local_mcmcscale)
def _delpar(key):
if isinstance(params_in, OrderedDict):
del params_out['{}{}'.format(key, num_planet)]
elif isinstance(params_in, pd.core.frame.DataFrame):
params_out.drop('{}{}'.format(key, num_planet))
if newbasis == 'per tc e w k':
per = _getpar('per')
e = _getpar('e')
w = _getpar('w')
tp = _getpar('tp')
_setpar('tc', timeperi_to_timetrans(tp, per, e, w))
_setpar('w', w)
if not kwargs.get('keep', True):
_delpar('tp')
if newbasis == 'per tc se w k':
per = _getpar('per')
e = _getpar('e')
w = _getpar('w')
tp = _getpar('tp')
_setpar('tc', timeperi_to_timetrans(tp, per, e, w))
_setpar('w', w)
_setpar('se', np.sqrt(e))
if not kwargs.get('keep', True):
_delpar('tp')
_delpar('e')
if newbasis == 'per tc secosw sesinw logk':
per = _getpar('per')
e = _getpar('e')
w = _getpar('w')
k = _getpar('k')
if 'tp' in params_in.planet_parameters:
tp = _getpar('tp')
else:
tc = _getpar('tc')
tp = timetrans_to_timeperi(tc, per, e, w)
_setpar('tp', tp)
_setpar('secosw', np.sqrt(e)*np.cos(w))
_setpar('sesinw', np.sqrt(e)*np.sin(w))
_setpar('logk', np.log(k))
_setpar('tc', timeperi_to_timetrans(tp, per, e, w))
if not kwargs.get('keep', True):
_delpar('tp')
_delpar('e')
_delpar('w')
_delpar('k')
# basis_name = newbasis
self.params = newbasis.split()
if newbasis == 'per tc secosw sesinw k':
per = _getpar('per')
e = _getpar('e')
w = _getpar('w')
k = _getpar('k')
if 'tp' in params_in.planet_parameters:
tp = _getpar('tp')
else:
tc = _getpar('tc')
tp = timetrans_to_timeperi(tc, per, e, w)
_setpar('tp', tp)
_setpar('secosw', np.sqrt(e)*np.cos(w))
_setpar('sesinw', np.sqrt(e)*np.sin(w))
_setpar('k', k)
_setpar('tc', timeperi_to_timetrans(tp, per, e, w))
if not kwargs.get('keep', True):
_delpar('tp')
_delpar('e')
_delpar('w')
self.name = newbasis
self.params = newbasis.split()
if newbasis == 'logper tc secosw sesinw k':
per = _getpar('per')
e = _getpar('e')
w = _getpar('w')
k = _getpar('k')
if 'tp' in params_in.planet_parameters:
tp = _getpar('tp')
else:
tc = _getpar('tc')
tp = timetrans_to_timeperi(tc, per, e, w)
_setpar('tp', tp)
_setpar('logper', np.log(per))
_setpar('secosw', np.sqrt(e)*np.cos(w))
_setpar('sesinw', np.sqrt(e)*np.sin(w))
_setpar('k', k)
_setpar('tc', timeperi_to_timetrans(tp, per, e, w))
if not kwargs.get('keep', True):
_delpar('per')
_delpar('tp')
_delpar('e')
_delpar('w')
self.name = newbasis
self.params = newbasis.split()
if newbasis == 'logper tc secosw sesinw logk':
per = _getpar('per')
e = _getpar('e')
w = _getpar('w')
k = _getpar('k')
if 'tp' in params_in.planet_parameters:
tp = _getpar('tp')
else:
tc = _getpar('tc')
tp = timetrans_to_timeperi(tc, per, e, w)
_setpar('tp', tp)
_setpar('logper', np.log(per))
_setpar('secosw', np.sqrt(e)*np.cos(w))
_setpar('sesinw', np.sqrt(e)*np.sin(w))
_setpar('logk', np.log(k))
_setpar('tc', timeperi_to_timetrans(tp, per, e, w))
if not kwargs.get('keep', True):
_delpar('per')
_delpar('tp')
_delpar('e')
_delpar('w')
_delpar('k')
self.name = newbasis
self.params = newbasis.split()
if newbasis == 'per tc ecosw esinw k':
per = _getpar('per')
e = _getpar('e')
w = _getpar('w')
k = _getpar('k')
if 'tp' in params_in.planet_parameters:
tp = _getpar('tp')
else:
tc = _getpar('tc')
tp = timetrans_to_timeperi(tc, per, e, w)
_setpar('tp', tp)
_setpar('ecosw', e*np.cos(w))
_setpar('esinw', e*np.sin(w))
_setpar('k', k)
_setpar('tc', timeperi_to_timetrans(tp, per, e, w))
if not kwargs.get('keep', True):
_delpar('tp')
_delpar('e')
_delpar('w')
self.name = newbasis
self.params = newbasis.split()
if newbasis == 'logper tp e w logk':
per = _getpar('per')
e = _getpar('e')
w = _getpar('w')
k = _getpar('k')
if 'tp' in params_in.planet_parameters:
tp = _getpar('tp')
else:
tc = _getpar('tc')
tp = timetrans_to_timeperi(tc, per, e, w)
_setpar('tp', tp)
_setpar('logper', np.log(per))
_setpar('logk', np.log(k))
_setpar('tc', timeperi_to_timetrans(tp, per, e, w))
if not kwargs.get('keep', True):
_delpar('per')
_delpar('k')
self.name = newbasis
self.params = newbasis.split()
params_out.basis = Basis(newbasis, self.num_planets)
return params_out
def get_eparams(self):
"""Return the eccentricity parameters for the object's basis
Returns:
the params which have to do with eccentricity
"""
assert BASIS_NAMES.count(self.name) == 1, "Invalid basis"
eparamstring = ECCENTRICITY_PARAMS_DICT[self.name]
eparamlist = eparamstring.split()
assert len(eparamlist) == 2
return eparamlist
def get_circparams(self):
"""Return the 3 parameters for a circular orbit of a plent in the object's basis
Returns:
the params for a circular orbit
"""
assert BASIS_NAMES.count(self.name) == 1, "Invalid basis"
circparamstring = CIRCULAR_PARAMS_DICT[self.name]
circparamlist = circparamstring.split()
assert len(circparamlist) == 3
return circparamlist
| [
1,
529,
276,
1112,
420,
29958,
19920,
29890,
283,
655,
29914,
3665,
955,
13,
5215,
12655,
408,
7442,
13,
5215,
11701,
408,
10518,
13,
3166,
16250,
1053,
8170,
287,
21533,
13,
3166,
2971,
955,
29889,
272,
2966,
1053,
931,
546,
29875,
29918,
517,
29918,
9346,
18184,
550,
29892,
5335,
18184,
550,
29918,
517,
29918,
2230,
546,
29875,
13,
5215,
2971,
955,
29889,
4299,
13,
13,
13,
29933,
3289,
3235,
29918,
5813,
29903,
353,
6024,
546,
260,
29886,
321,
281,
413,
742,
29871,
396,
450,
14710,
8405,
13,
1669,
525,
546,
260,
29883,
409,
3944,
29893,
3999,
262,
29893,
1480,
29895,
742,
13,
1669,
525,
546,
260,
29883,
409,
3944,
29893,
3999,
262,
29893,
413,
742,
13,
1669,
525,
546,
260,
29883,
321,
3944,
29893,
831,
262,
29893,
413,
742,
13,
1669,
525,
546,
260,
29883,
321,
281,
413,
742,
13,
1669,
525,
1188,
546,
260,
29883,
409,
3944,
29893,
3999,
262,
29893,
413,
742,
13,
1669,
525,
1188,
546,
260,
29883,
409,
3944,
29893,
3999,
262,
29893,
1480,
29895,
742,
13,
1669,
525,
546,
260,
29883,
409,
281,
413,
742,
13,
1669,
525,
1188,
546,
260,
29886,
321,
281,
1480,
29895,
2033,
13,
13,
29923,
4174,
3919,
29934,
2965,
11937,
29918,
16320,
29909,
4345,
29918,
4571,
1783,
353,
426,
13,
795,
525,
546,
260,
29886,
321,
281,
413,
2396,
525,
29872,
281,
742,
13,
795,
525,
546,
260,
29883,
409,
3944,
29893,
3999,
262,
29893,
1480,
29895,
2396,
525,
3471,
359,
29893,
3999,
262,
29893,
742,
13,
795,
525,
546,
260,
29883,
409,
3944,
29893,
3999,
262,
29893,
413,
2396,
525,
3471,
359,
29893,
3999,
262,
29893,
742,
13,
795,
525,
546,
260,
29883,
321,
3944,
29893,
831,
262,
29893,
413,
2396,
525,
687,
359,
29893,
831,
262,
29893,
742,
13,
795,
525,
546,
260,
29883,
321,
281,
413,
2396,
525,
29872,
281,
742,
13,
795,
525,
1188,
546,
260,
29883,
409,
3944,
29893,
3999,
262,
29893,
413,
2396,
525,
3471,
359,
29893,
3999,
262,
29893,
742,
13,
795,
525,
1188,
546,
260,
29883,
409,
3944,
29893,
3999,
262,
29893,
1480,
29895,
2396,
525,
3471,
359,
29893,
3999,
262,
29893,
742,
13,
795,
525,
546,
260,
29883,
409,
281,
413,
2396,
525,
344,
281,
742,
13,
795,
525,
1188,
546,
260,
29886,
321,
281,
1480,
29895,
2396,
525,
29872,
281,
10827,
13,
13,
29907,
8193,
29907,
13309,
1718,
29918,
16320,
29909,
4345,
29918,
4571,
1783,
353,
426,
13,
795,
525,
546,
260,
29886,
321,
281,
413,
2396,
525,
546,
260,
29886,
413,
742,
13,
795,
525,
546,
260,
29883,
409,
3944,
29893,
3999,
262,
29893,
1480,
29895,
2396,
525,
546,
260,
29883,
1480,
29895,
742,
13,
795,
525,
546,
260,
29883,
409,
3944,
29893,
3999,
262,
29893,
413,
2396,
525,
546,
260,
29883,
413,
742,
13,
795,
525,
546,
260,
29883,
321,
3944,
29893,
831,
262,
29893,
413,
2396,
525,
546,
260,
29883,
413,
742,
13,
795,
525,
546,
260,
29883,
321,
281,
413,
2396,
525,
546,
260,
29883,
413,
742,
13,
795,
525,
1188,
546,
260,
29883,
409,
3944,
29893,
3999,
262,
29893,
413,
2396,
525,
1188,
546,
260,
29883,
413,
742,
13,
795,
525,
1188,
546,
260,
29883,
409,
3944,
29893,
3999,
262,
29893,
1480,
29895,
2396,
525,
1188,
546,
260,
29883,
1480,
29895,
742,
13,
795,
525,
546,
260,
29883,
409,
281,
413,
2396,
525,
546,
260,
29883,
413,
742,
13,
795,
525,
1188,
546,
260,
29886,
321,
281,
1480,
29895,
2396,
525,
1188,
546,
260,
29886,
1480,
29895,
10827,
13,
13,
13,
1753,
903,
2158,
29918,
3084,
29918,
6500,
275,
7295,
13,
1678,
1596,
703,
27635,
22561,
29901,
1159,
13,
1678,
1596,
14182,
29876,
1642,
7122,
29898,
29933,
3289,
3235,
29918,
5813,
29903,
876,
13,
13,
13,
1753,
903,
8552,
29918,
7529,
29898,
7529,
29918,
262,
1125,
13,
1678,
954,
29918,
9018,
1691,
353,
8636,
29918,
262,
29889,
1949,
29918,
9018,
1691,
13,
1678,
8405,
353,
8636,
29918,
262,
29889,
6500,
275,
29889,
978,
13,
1678,
15754,
29918,
1026,
2153,
353,
8636,
29918,
262,
29889,
9018,
300,
29918,
1026,
2153,
13,
1678,
8636,
29918,
449,
353,
2971,
955,
29889,
4299,
29889,
11507,
29898,
1949,
29918,
9018,
1691,
29892,
8405,
29922,
6500,
275,
29892,
13,
462,
462,
308,
15754,
29918,
1026,
2153,
29922,
9018,
300,
29918,
1026,
2153,
29897,
13,
1678,
8636,
29918,
449,
29889,
5504,
29898,
7529,
29918,
262,
29897,
13,
13,
1678,
736,
8636,
29918,
449,
13,
13,
13,
1990,
4886,
275,
29898,
3318,
1125,
13,
1678,
9995,
13,
1678,
4669,
393,
9906,
920,
304,
3588,
1546,
278,
5164,
4813,
20069,
713,
22561,
13,
13,
1678,
826,
3174,
29901,
13,
4706,
1024,
313,
710,
1125,
8405,
1024,
13,
4706,
954,
29918,
9018,
1691,
313,
524,
1125,
1353,
310,
3814,
1691,
13,
13,
1678,
6212,
5026,
29901,
13,
13,
4706,
14710,
29918,
7529,
313,
710,
1125,
1024,
310,
14710,
8405,
13,
13,
1678,
3940,
29901,
13,
4706,
15758,
8405,
3168,
29901,
320,
29876,
13,
4706,
525,
546,
260,
29886,
321,
281,
413,
29915,
313,
1576,
14710,
6656,
8405,
29897,
320,
29876,
13,
4706,
525,
546,
260,
29883,
409,
3944,
29893,
3999,
262,
29893,
1480,
29895,
29915,
29871,
320,
29876,
13,
4706,
525,
546,
260,
29883,
409,
3944,
29893,
3999,
262,
29893,
413,
29915,
29871,
320,
29876,
13,
4706,
525,
546,
260,
29883,
321,
3944,
29893,
831,
262,
29893,
413,
29915,
29871,
320,
29876,
13,
4706,
525,
546,
260,
29883,
321,
281,
413,
29915,
320,
29876,
13,
4706,
525,
1188,
546,
260,
29883,
409,
3944,
29893,
3999,
262,
29893,
413,
12764,
29876,
13,
4706,
525,
1188,
546,
260,
29883,
409,
3944,
29893,
3999,
262,
29893,
1480,
29895,
12764,
29876,
13,
4706,
525,
546,
260,
29883,
409,
281,
413,
29915,
13,
1678,
9995,
13,
1678,
14710,
29918,
7529,
353,
525,
546,
260,
29886,
321,
281,
413,
4286,
5451,
580,
13,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
334,
5085,
1125,
13,
4706,
1583,
29889,
978,
353,
6213,
13,
4706,
1583,
29889,
1949,
29918,
9018,
1691,
353,
29871,
29900,
13,
4706,
565,
7431,
29898,
5085,
29897,
1275,
29871,
29900,
29901,
13,
9651,
903,
2158,
29918,
3084,
29918,
6500,
275,
580,
13,
4706,
396,
1678,
736,
6213,
13,
13,
4706,
1024,
29892,
954,
29918,
9018,
1691,
353,
6389,
13,
13,
4706,
565,
350,
3289,
3235,
29918,
5813,
29903,
29889,
2798,
29898,
978,
29897,
1275,
29871,
29900,
29901,
13,
9651,
1596,
703,
8875,
451,
2854,
8405,
1642,
4830,
29898,
978,
876,
13,
9651,
903,
2158,
29918,
3084,
29918,
6500,
275,
580,
13,
4706,
396,
1678,
736,
6213,
13,
13,
4706,
1583,
29889,
978,
353,
1024,
13,
4706,
1583,
29889,
1949,
29918,
9018,
1691,
353,
954,
29918,
9018,
1691,
13,
4706,
1583,
29889,
7529,
353,
1024,
29889,
5451,
580,
13,
13,
1678,
822,
4770,
276,
558,
12035,
1311,
1125,
13,
4706,
736,
376,
9496,
275,
4669,
529,
8875,
29958,
1642,
4830,
29898,
1311,
29889,
978,
29897,
13,
13,
1678,
822,
304,
29918,
1384,
29918,
6500,
275,
29898,
1311,
29892,
8636,
29918,
262,
29892,
716,
6500,
275,
1125,
13,
4706,
9995,
1168,
854,
5597,
740,
363,
17415,
12662,
2699,
1203,
304,
385,
564,
2966,
3605,
29891,
8405,
13,
13,
4706,
826,
3174,
29901,
13,
9651,
8636,
29918,
262,
313,
3665,
955,
29889,
11507,
1125,
2971,
955,
29889,
11507,
1203,
13384,
297,
1857,
8405,
13,
9651,
716,
6500,
275,
313,
1807,
1125,
1347,
6590,
304,
8405,
304,
4607,
964,
13,
4706,
16969,
29901,
13,
9651,
2971,
955,
29889,
11507,
1203,
13384,
297,
278,
716,
8405,
13,
13,
4706,
9995,
13,
4706,
14710,
29918,
7529,
353,
1583,
29889,
517,
29918,
19274,
386,
29898,
7529,
29918,
262,
29897,
13,
4706,
564,
1327,
25101,
29918,
7529,
353,
1583,
29889,
3166,
29918,
19274,
386,
29898,
19274,
386,
29918,
7529,
29892,
716,
6500,
275,
29892,
3013,
29922,
8824,
29897,
13,
4706,
736,
564,
1327,
25101,
29918,
7529,
13,
13,
1678,
822,
304,
29918,
19274,
386,
29898,
1311,
29892,
8636,
29918,
262,
29892,
3579,
19290,
1125,
13,
4706,
9995,
18455,
304,
14710,
8405,
13,
13,
4706,
14806,
12662,
2699,
1203,
411,
4128,
310,
263,
2183,
8405,
964,
278,
13,
4706,
14710,
8405,
13,
13,
4706,
826,
3174,
29901,
13,
9651,
8636,
29918,
262,
313,
3665,
955,
29889,
11507,
470,
11701,
29889,
17271,
1125,
29871,
2971,
955,
29889,
11507,
1203,
470,
11701,
29889,
1469,
2557,
6943,
13,
18884,
19528,
2410,
4128,
13384,
297,
1857,
8405,
13,
9651,
694,
29963,
653,
313,
11227,
518,
25253,
29962,
1125,
565,
5852,
29892,
731,
278,
525,
29894,
653,
29915,
5352,
310,
278,
4133,
24953,
3618,
13,
18884,
304,
6629,
313,
3880,
363,
16384,
1900,
6216,
4128,
29897,
13,
13,
4706,
16969,
29901,
13,
9651,
12662,
2699,
470,
3630,
4308,
29901,
4128,
13384,
297,
278,
14710,
8405,
13,
13,
4706,
9995,
13,
4706,
8405,
29918,
978,
353,
9049,
5085,
29889,
842,
4381,
877,
6500,
275,
29918,
978,
742,
1583,
29889,
978,
29897,
13,
13,
4706,
565,
338,
8758,
29898,
7529,
29918,
262,
29892,
10518,
29889,
3221,
29889,
2557,
29889,
17271,
1125,
13,
9651,
396,
10604,
491,
953,
346,
29872,
13,
9651,
8636,
29918,
449,
353,
8636,
29918,
262,
29889,
8552,
580,
13,
4706,
1683,
29901,
13,
9651,
8636,
29918,
449,
353,
903,
8552,
29918,
7529,
29898,
7529,
29918,
262,
29897,
13,
13,
4706,
363,
954,
29918,
9018,
300,
297,
3464,
29898,
29896,
29892,
29871,
29896,
29974,
1311,
29889,
1949,
29918,
9018,
1691,
1125,
13,
13,
9651,
822,
903,
657,
862,
29898,
1989,
1125,
13,
18884,
565,
338,
8758,
29898,
7529,
29918,
262,
29892,
10518,
29889,
3221,
29889,
2557,
29889,
17271,
1125,
13,
462,
1678,
736,
8636,
29918,
262,
1839,
29912,
1157,
29913,
4286,
4830,
29898,
1989,
29892,
954,
29918,
9018,
300,
4638,
13,
18884,
1683,
29901,
13,
462,
1678,
736,
8636,
29918,
262,
1839,
29912,
1157,
29913,
4286,
4830,
29898,
1989,
29892,
954,
29918,
9018,
300,
29897,
1822,
1767,
13,
13,
9651,
822,
903,
842,
862,
29898,
1989,
29892,
716,
29918,
1767,
1125,
13,
18884,
1820,
29918,
978,
353,
22372,
1157,
29913,
4286,
4830,
29898,
1989,
29892,
954,
29918,
9018,
300,
29897,
13,
13,
18884,
565,
338,
8758,
29898,
7529,
29918,
262,
29892,
10518,
29889,
3221,
29889,
2557,
29889,
17271,
1125,
13,
462,
1678,
8636,
29918,
449,
29961,
1989,
29918,
978,
29962,
353,
716,
29918,
1767,
13,
18884,
1683,
29901,
13,
462,
1678,
565,
1820,
29918,
978,
297,
8636,
29918,
262,
29901,
13,
462,
4706,
1887,
29918,
29894,
653,
353,
8636,
29918,
262,
29961,
1989,
29918,
978,
1822,
29894,
653,
13,
462,
4706,
1887,
29918,
29885,
4912,
29883,
7052,
353,
8636,
29918,
262,
29961,
1989,
29918,
978,
1822,
29885,
4912,
29883,
7052,
13,
462,
1678,
25342,
9049,
5085,
29889,
657,
877,
1217,
29963,
653,
742,
5852,
1125,
13,
462,
4706,
1887,
29918,
29894,
653,
353,
6629,
13,
462,
4706,
1887,
29918,
29885,
4912,
29883,
7052,
353,
6213,
13,
462,
1678,
1683,
29901,
13,
462,
4706,
1887,
29918,
29894,
653,
353,
5852,
13,
462,
4706,
1887,
29918,
29885,
4912,
29883,
7052,
353,
6213,
13,
13,
462,
1678,
8636,
29918,
449,
29961,
1989,
29918,
978,
29962,
353,
2971,
955,
29889,
4299,
29889,
9329,
29898,
1767,
29922,
1482,
29918,
1767,
29892,
13,
462,
462,
462,
462,
29871,
13100,
29922,
2997,
29918,
29894,
653,
29892,
13,
462,
462,
462,
462,
29871,
286,
4912,
29883,
7052,
29922,
2997,
29918,
29885,
4912,
29883,
7052,
29897,
13,
13,
9651,
396,
4327,
964,
14710,
8405,
13,
9651,
565,
8405,
29918,
978,
1275,
525,
546,
260,
29886,
321,
281,
413,
2396,
13,
18884,
396,
2307,
297,
278,
14710,
8405,
13,
18884,
639,
353,
903,
657,
862,
877,
546,
1495,
13,
18884,
260,
29886,
353,
903,
657,
862,
877,
9392,
1495,
13,
18884,
321,
353,
903,
657,
862,
877,
29872,
1495,
13,
18884,
281,
353,
903,
657,
862,
877,
29893,
1495,
13,
18884,
413,
353,
903,
657,
862,
877,
29895,
1495,
13,
13,
9651,
565,
8405,
29918,
978,
1275,
525,
546,
260,
29883,
321,
281,
413,
2396,
13,
18884,
639,
353,
903,
657,
862,
877,
546,
1495,
13,
18884,
260,
29883,
353,
903,
657,
862,
877,
14246,
1495,
13,
18884,
321,
353,
903,
657,
862,
877,
29872,
1495,
13,
18884,
281,
353,
903,
657,
862,
877,
29893,
1495,
13,
18884,
413,
353,
903,
657,
862,
877,
29895,
1495,
13,
18884,
260,
29886,
353,
5335,
18184,
550,
29918,
517,
29918,
2230,
546,
29875,
29898,
14246,
29892,
639,
29892,
321,
29892,
281,
29897,
13,
13,
9651,
565,
8405,
29918,
978,
1275,
525,
546,
260,
29883,
409,
281,
413,
2396,
13,
18884,
396,
8206,
714,
4128,
13,
18884,
639,
353,
903,
657,
862,
877,
546,
1495,
13,
18884,
260,
29883,
353,
903,
657,
862,
877,
14246,
1495,
13,
18884,
409,
353,
903,
657,
862,
877,
344,
1495,
13,
18884,
281,
353,
903,
657,
862,
877,
29893,
1495,
13,
18884,
413,
353,
903,
657,
862,
877,
29895,
1495,
13,
18884,
321,
353,
409,
1068,
29906,
13,
18884,
260,
29886,
353,
5335,
18184,
550,
29918,
517,
29918,
2230,
546,
29875,
29898,
14246,
29892,
639,
29892,
321,
29892,
281,
29897,
13,
13,
9651,
565,
8405,
29918,
978,
1275,
525,
546,
260,
29883,
409,
3944,
29893,
3999,
262,
29893,
1480,
29895,
2396,
13,
18884,
396,
8206,
714,
4128,
13,
18884,
639,
353,
903,
657,
862,
877,
546,
1495,
13,
18884,
260,
29883,
353,
903,
657,
862,
877,
14246,
1495,
13,
18884,
409,
3944,
29893,
353,
903,
657,
862,
877,
3471,
359,
29893,
1495,
13,
18884,
3999,
262,
29893,
353,
903,
657,
862,
877,
29879,
267,
262,
29893,
1495,
13,
18884,
1480,
29895,
353,
903,
657,
862,
877,
1188,
29895,
1495,
13,
13,
18884,
413,
353,
7442,
29889,
4548,
29898,
1188,
29895,
29897,
13,
18884,
321,
353,
409,
3944,
29893,
1068,
29906,
718,
3999,
262,
29893,
1068,
29906,
13,
18884,
281,
353,
7442,
29889,
27014,
273,
29906,
29898,
29879,
267,
262,
29893,
29892,
409,
3944,
29893,
29897,
13,
18884,
260,
29886,
353,
5335,
18184,
550,
29918,
517,
29918,
2230,
546,
29875,
29898,
14246,
29892,
639,
29892,
321,
29892,
281,
29897,
13,
13,
9651,
565,
8405,
29918,
978,
1275,
525,
546,
260,
29883,
409,
3944,
29893,
3999,
262,
29893,
413,
2396,
13,
18884,
396,
8206,
714,
4128,
13,
18884,
639,
353,
903,
657,
862,
877,
546,
1495,
13,
18884,
260,
29883,
353,
903,
657,
862,
877,
14246,
1495,
13,
18884,
409,
3944,
29893,
353,
903,
657,
862,
877,
3471,
359,
29893,
1495,
13,
18884,
3999,
262,
29893,
353,
903,
657,
862,
877,
29879,
267,
262,
29893,
1495,
13,
18884,
413,
353,
903,
657,
862,
877,
29895,
1495,
13,
13,
18884,
396,
4327,
964,
14710,
8405,
13,
18884,
321,
353,
409,
3944,
29893,
1068,
29906,
718,
3999,
262,
29893,
1068,
29906,
13,
18884,
281,
353,
7442,
29889,
27014,
273,
29906,
29898,
29879,
267,
262,
29893,
29892,
409,
3944,
29893,
29897,
13,
18884,
260,
29886,
353,
5335,
18184,
550,
29918,
517,
29918,
2230,
546,
29875,
29898,
14246,
29892,
639,
29892,
321,
29892,
281,
29897,
13,
13,
9651,
565,
8405,
29918,
978,
1275,
525,
1188,
546,
260,
29883,
409,
3944,
29893,
3999,
262,
29893,
413,
2396,
13,
18884,
396,
8206,
714,
4128,
13,
18884,
1480,
546,
353,
903,
657,
862,
877,
1188,
546,
1495,
13,
18884,
260,
29883,
353,
903,
657,
862,
877,
14246,
1495,
13,
18884,
409,
3944,
29893,
353,
903,
657,
862,
877,
3471,
359,
29893,
1495,
13,
18884,
3999,
262,
29893,
353,
903,
657,
862,
877,
29879,
267,
262,
29893,
1495,
13,
18884,
413,
353,
903,
657,
862,
877,
29895,
1495,
13,
13,
18884,
396,
4327,
964,
14710,
8405,
13,
18884,
639,
353,
7442,
29889,
4548,
29898,
1188,
546,
29897,
13,
18884,
321,
353,
409,
3944,
29893,
1068,
29906,
718,
3999,
262,
29893,
1068,
29906,
13,
18884,
281,
353,
7442,
29889,
27014,
273,
29906,
29898,
29879,
267,
262,
29893,
29892,
409,
3944,
29893,
29897,
13,
18884,
260,
29886,
353,
5335,
18184,
550,
29918,
517,
29918,
2230,
546,
29875,
29898,
14246,
29892,
639,
29892,
321,
29892,
281,
29897,
13,
13,
9651,
565,
8405,
29918,
978,
1275,
525,
1188,
546,
260,
29883,
409,
3944,
29893,
3999,
262,
29893,
1480,
29895,
2396,
13,
18884,
396,
8206,
714,
4128,
13,
18884,
1480,
546,
353,
903,
657,
862,
877,
1188,
546,
1495,
13,
18884,
260,
29883,
353,
903,
657,
862,
877,
14246,
1495,
13,
18884,
409,
3944,
29893,
353,
903,
657,
862,
877,
3471,
359,
29893,
1495,
13,
18884,
3999,
262,
29893,
353,
903,
657,
862,
877,
29879,
267,
262,
29893,
1495,
13,
18884,
413,
353,
903,
657,
862,
877,
1188,
29895,
1495,
13,
13,
18884,
396,
4327,
964,
14710,
8405,
13,
18884,
639,
353,
7442,
29889,
4548,
29898,
1188,
546,
29897,
13,
18884,
321,
353,
409,
3944,
29893,
3579,
29871,
29906,
718,
3999,
262,
29893,
3579,
29871,
29906,
13,
18884,
413,
353,
7442,
29889,
4548,
29898,
29895,
29897,
13,
18884,
281,
353,
7442,
29889,
27014,
273,
29906,
29898,
29879,
267,
262,
29893,
29892,
409,
3944,
29893,
29897,
13,
18884,
260,
29886,
353,
5335,
18184,
550,
29918,
517,
29918,
2230,
546,
29875,
29898,
14246,
29892,
639,
29892,
321,
29892,
281,
29897,
13,
13,
9651,
565,
8405,
29918,
978,
1275,
525,
546,
260,
29883,
321,
3944,
29893,
831,
262,
29893,
413,
2396,
13,
18884,
396,
8206,
714,
4128,
13,
18884,
639,
353,
903,
657,
862,
877,
546,
1495,
13,
18884,
260,
29883,
353,
903,
657,
862,
877,
14246,
1495,
13,
18884,
321,
3944,
29893,
353,
903,
657,
862,
877,
687,
359,
29893,
1495,
13,
18884,
831,
262,
29893,
353,
903,
657,
862,
877,
267,
262,
29893,
1495,
13,
18884,
413,
353,
903,
657,
862,
877,
29895,
1495,
13,
13,
18884,
396,
4327,
964,
14710,
8405,
13,
18884,
321,
353,
7442,
29889,
3676,
29898,
687,
359,
29893,
1068,
29906,
718,
831,
262,
29893,
1068,
29906,
29897,
13,
18884,
281,
353,
7442,
29889,
27014,
273,
29906,
29898,
267,
262,
29893,
29892,
321,
3944,
29893,
29897,
13,
18884,
260,
29886,
353,
5335,
18184,
550,
29918,
517,
29918,
2230,
546,
29875,
29898,
14246,
29892,
639,
29892,
321,
29892,
281,
29897,
13,
13,
9651,
565,
8405,
29918,
978,
1275,
525,
1188,
546,
260,
29886,
321,
281,
1480,
29895,
2396,
13,
18884,
396,
8206,
714,
4128,
13,
18884,
1480,
546,
353,
903,
657,
862,
877,
1188,
546,
1495,
13,
18884,
260,
29886,
353,
903,
657,
862,
877,
9392,
1495,
13,
18884,
321,
353,
903,
657,
862,
877,
29872,
1495,
13,
18884,
281,
353,
903,
657,
862,
877,
29893,
1495,
13,
18884,
413,
353,
903,
657,
862,
877,
1188,
29895,
1495,
13,
13,
18884,
396,
4327,
964,
14710,
8405,
13,
18884,
639,
353,
7442,
29889,
4548,
29898,
1188,
546,
29897,
13,
18884,
413,
353,
7442,
29889,
4548,
29898,
29895,
29897,
13,
13,
9651,
396,
528,
586,
267,
14710,
4128,
515,
7397,
964,
1828,
29918,
449,
13,
9651,
903,
842,
862,
877,
546,
742,
639,
29897,
13,
9651,
903,
842,
862,
877,
9392,
742,
260,
29886,
29897,
13,
9651,
903,
842,
862,
877,
29872,
742,
321,
29897,
13,
9651,
903,
842,
862,
877,
29893,
742,
281,
29897,
13,
9651,
903,
842,
862,
877,
29895,
742,
413,
29897,
13,
13,
4706,
565,
338,
8758,
29898,
7529,
29918,
449,
29892,
2971,
955,
29889,
4299,
29889,
11507,
1125,
13,
9651,
8636,
29918,
449,
29889,
6500,
275,
353,
4886,
275,
877,
546,
260,
29886,
321,
281,
413,
742,
1583,
29889,
1949,
29918,
9018,
1691,
29897,
13,
4706,
736,
8636,
29918,
449,
13,
13,
1678,
822,
515,
29918,
19274,
386,
29898,
1311,
29892,
8636,
29918,
262,
29892,
716,
6500,
275,
29892,
29871,
3579,
19290,
1125,
13,
4706,
9995,
18455,
515,
14710,
8405,
964,
1790,
8405,
13,
13,
4706,
14806,
2777,
310,
12662,
2699,
411,
4128,
310,
263,
2183,
8405,
964,
278,
14710,
8405,
13,
13,
4706,
826,
3174,
29901,
13,
9651,
8636,
29918,
262,
313,
3665,
955,
29889,
11507,
470,
11701,
29889,
17271,
1125,
29871,
2971,
955,
29889,
11507,
1203,
470,
11701,
29889,
1469,
2557,
6943,
13,
18884,
19528,
2410,
4128,
13384,
297,
1857,
8405,
13,
9651,
716,
6500,
275,
313,
1807,
1125,
1347,
6590,
304,
8405,
304,
4607,
964,
13,
9651,
3013,
313,
11227,
518,
25253,
29962,
1125,
3013,
278,
4128,
13384,
297,
13,
18884,
278,
2030,
8405,
29892,
1683,
3349,
963,
515,
278,
1962,
13,
18884,
8600,
29914,
17271,
13,
13,
4706,
16969,
29901,
13,
9651,
9657,
470,
12205,
411,
278,
4128,
11543,
964,
278,
716,
8405,
13,
4706,
9995,
13,
13,
4706,
565,
716,
6500,
275,
451,
297,
350,
3289,
3235,
29918,
5813,
29903,
29901,
13,
9651,
1596,
703,
8875,
451,
2854,
8405,
1642,
4830,
29898,
1482,
6500,
275,
876,
13,
9651,
903,
2158,
29918,
3084,
29918,
6500,
275,
580,
13,
9651,
736,
6213,
13,
13,
4706,
565,
338,
8758,
29898,
7529,
29918,
262,
29892,
10518,
29889,
3221,
29889,
2557,
29889,
17271,
1125,
13,
9651,
396,
10604,
491,
953,
346,
29872,
13,
9651,
8636,
29918,
449,
353,
8636,
29918,
262,
29889,
8552,
580,
13,
4706,
1683,
29901,
13,
9651,
8636,
29918,
449,
353,
903,
8552,
29918,
7529,
29898,
7529,
29918,
262,
29897,
13,
13,
4706,
363,
954,
29918,
9018,
300,
297,
3464,
29898,
29896,
29892,
29871,
29896,
29974,
1311,
29889,
1949,
29918,
9018,
1691,
1125,
13,
13,
9651,
822,
903,
657,
862,
29898,
1989,
1125,
13,
18884,
565,
338,
8758,
29898,
7529,
29918,
262,
29892,
10518,
29889,
3221,
29889,
2557,
29889,
17271,
1125,
13,
462,
1678,
736,
8636,
29918,
262,
1839,
29912,
1157,
29913,
4286,
4830,
29898,
1989,
29892,
954,
29918,
9018,
300,
4638,
13,
18884,
1683,
29901,
13,
462,
1678,
736,
8636,
29918,
262,
1839,
29912,
1157,
29913,
4286,
4830,
29898,
1989,
29892,
954,
29918,
9018,
300,
29897,
1822,
1767,
13,
13,
9651,
822,
903,
842,
862,
29898,
1989,
29892,
716,
29918,
1767,
1125,
13,
18884,
1820,
29918,
978,
353,
22372,
1157,
29913,
4286,
4830,
29898,
1989,
29892,
954,
29918,
9018,
300,
29897,
13,
13,
18884,
565,
338,
8758,
29898,
7529,
29918,
262,
29892,
10518,
29889,
3221,
29889,
2557,
29889,
17271,
1125,
13,
462,
1678,
8636,
29918,
449,
29961,
1989,
29918,
978,
29962,
353,
716,
29918,
1767,
13,
18884,
1683,
29901,
13,
462,
1678,
565,
1820,
29918,
978,
297,
8636,
29918,
262,
29901,
13,
462,
4706,
1887,
29918,
29894,
653,
353,
8636,
29918,
262,
29961,
1989,
29918,
978,
1822,
29894,
653,
13,
462,
4706,
1887,
29918,
29885,
4912,
29883,
7052,
353,
8636,
29918,
262,
29961,
1989,
29918,
978,
1822,
29885,
4912,
29883,
7052,
13,
462,
1678,
1683,
29901,
13,
462,
4706,
1887,
29918,
29894,
653,
353,
5852,
13,
462,
4706,
1887,
29918,
29885,
4912,
29883,
7052,
353,
6213,
13,
13,
462,
1678,
8636,
29918,
449,
29961,
1989,
29918,
978,
29962,
353,
2971,
955,
29889,
4299,
29889,
9329,
29898,
1767,
29922,
1482,
29918,
1767,
29892,
13,
462,
462,
462,
462,
29871,
13100,
29922,
2997,
29918,
29894,
653,
29892,
13,
462,
462,
462,
462,
29871,
286,
4912,
29883,
7052,
29922,
2997,
29918,
29885,
4912,
29883,
7052,
29897,
13,
13,
9651,
822,
903,
6144,
862,
29898,
1989,
1125,
13,
18884,
565,
338,
8758,
29898,
7529,
29918,
262,
29892,
8170,
287,
21533,
1125,
13,
462,
1678,
628,
8636,
29918,
449,
1839,
29912,
1157,
29913,
4286,
4830,
29898,
1989,
29892,
954,
29918,
9018,
300,
4638,
13,
18884,
25342,
338,
8758,
29898,
7529,
29918,
262,
29892,
10518,
29889,
3221,
29889,
2557,
29889,
17271,
1125,
13,
462,
1678,
8636,
29918,
449,
29889,
8865,
877,
29912,
1157,
29913,
4286,
4830,
29898,
1989,
29892,
954,
29918,
9018,
300,
876,
13,
13,
9651,
565,
716,
6500,
275,
1275,
525,
546,
260,
29883,
321,
281,
413,
2396,
13,
18884,
639,
353,
903,
657,
862,
877,
546,
1495,
13,
18884,
321,
353,
903,
657,
862,
877,
29872,
1495,
13,
18884,
281,
353,
903,
657,
862,
877,
29893,
1495,
13,
18884,
260,
29886,
353,
903,
657,
862,
877,
9392,
1495,
13,
13,
18884,
903,
842,
862,
877,
14246,
742,
931,
546,
29875,
29918,
517,
29918,
9346,
18184,
550,
29898,
9392,
29892,
639,
29892,
321,
29892,
281,
876,
13,
18884,
903,
842,
862,
877,
29893,
742,
281,
29897,
13,
13,
18884,
565,
451,
9049,
5085,
29889,
657,
877,
17462,
742,
5852,
1125,
13,
462,
1678,
903,
6144,
862,
877,
9392,
1495,
13,
13,
9651,
565,
716,
6500,
275,
1275,
525,
546,
260,
29883,
409,
281,
413,
2396,
13,
18884,
639,
353,
903,
657,
862,
877,
546,
1495,
13,
18884,
321,
353,
903,
657,
862,
877,
29872,
1495,
13,
18884,
281,
353,
903,
657,
862,
877,
29893,
1495,
13,
18884,
260,
29886,
353,
903,
657,
862,
877,
9392,
1495,
13,
13,
18884,
903,
842,
862,
877,
14246,
742,
931,
546,
29875,
29918,
517,
29918,
9346,
18184,
550,
29898,
9392,
29892,
639,
29892,
321,
29892,
281,
876,
13,
18884,
903,
842,
862,
877,
29893,
742,
281,
29897,
13,
18884,
903,
842,
862,
877,
344,
742,
7442,
29889,
3676,
29898,
29872,
876,
13,
13,
18884,
565,
451,
9049,
5085,
29889,
657,
877,
17462,
742,
5852,
1125,
13,
462,
1678,
903,
6144,
862,
877,
9392,
1495,
13,
462,
1678,
903,
6144,
862,
877,
29872,
1495,
13,
13,
9651,
565,
716,
6500,
275,
1275,
525,
546,
260,
29883,
409,
3944,
29893,
3999,
262,
29893,
1480,
29895,
2396,
13,
18884,
639,
353,
903,
657,
862,
877,
546,
1495,
13,
18884,
321,
353,
903,
657,
862,
877,
29872,
1495,
13,
18884,
281,
353,
903,
657,
862,
877,
29893,
1495,
13,
18884,
413,
353,
903,
657,
862,
877,
29895,
1495,
13,
18884,
565,
525,
9392,
29915,
297,
8636,
29918,
262,
29889,
9018,
300,
29918,
16744,
29901,
13,
462,
1678,
260,
29886,
353,
903,
657,
862,
877,
9392,
1495,
13,
18884,
1683,
29901,
13,
462,
1678,
260,
29883,
353,
903,
657,
862,
877,
14246,
1495,
13,
462,
1678,
260,
29886,
353,
5335,
18184,
550,
29918,
517,
29918,
2230,
546,
29875,
29898,
14246,
29892,
639,
29892,
321,
29892,
281,
29897,
13,
462,
1678,
903,
842,
862,
877,
9392,
742,
260,
29886,
29897,
13,
13,
18884,
903,
842,
862,
877,
3471,
359,
29893,
742,
7442,
29889,
3676,
29898,
29872,
11877,
9302,
29889,
3944,
29898,
29893,
876,
13,
18884,
903,
842,
862,
877,
29879,
267,
262,
29893,
742,
7442,
29889,
3676,
29898,
29872,
11877,
9302,
29889,
5223,
29898,
29893,
876,
13,
18884,
903,
842,
862,
877,
1188,
29895,
742,
7442,
29889,
1188,
29898,
29895,
876,
13,
18884,
903,
842,
862,
877,
14246,
742,
931,
546,
29875,
29918,
517,
29918,
9346,
18184,
550,
29898,
9392,
29892,
639,
29892,
321,
29892,
281,
876,
13,
13,
18884,
565,
451,
9049,
5085,
29889,
657,
877,
17462,
742,
5852,
1125,
13,
462,
1678,
903,
6144,
862,
877,
9392,
1495,
13,
462,
1678,
903,
6144,
862,
877,
29872,
1495,
13,
462,
1678,
903,
6144,
862,
877,
29893,
1495,
13,
462,
1678,
903,
6144,
862,
877,
29895,
1495,
13,
13,
18884,
396,
8405,
29918,
978,
353,
716,
6500,
275,
13,
18884,
1583,
29889,
7529,
353,
716,
6500,
275,
29889,
5451,
580,
13,
13,
9651,
565,
716,
6500,
275,
1275,
525,
546,
260,
29883,
409,
3944,
29893,
3999,
262,
29893,
413,
2396,
13,
18884,
639,
353,
903,
657,
862,
877,
546,
1495,
13,
18884,
321,
353,
903,
657,
862,
877,
29872,
1495,
13,
18884,
281,
353,
903,
657,
862,
877,
29893,
1495,
13,
18884,
413,
353,
903,
657,
862,
877,
29895,
1495,
13,
18884,
565,
525,
9392,
29915,
297,
8636,
29918,
262,
29889,
9018,
300,
29918,
16744,
29901,
13,
462,
1678,
260,
29886,
353,
903,
657,
862,
877,
9392,
1495,
13,
18884,
1683,
29901,
13,
462,
1678,
260,
29883,
353,
903,
657,
862,
877,
14246,
1495,
13,
462,
1678,
260,
29886,
353,
5335,
18184,
550,
29918,
517,
29918,
2230,
546,
29875,
29898,
14246,
29892,
639,
29892,
321,
29892,
281,
29897,
13,
462,
1678,
903,
842,
862,
877,
9392,
742,
260,
29886,
29897,
13,
18884,
903,
842,
862,
877,
3471,
359,
29893,
742,
7442,
29889,
3676,
29898,
29872,
11877,
9302,
29889,
3944,
29898,
29893,
876,
13,
18884,
903,
842,
862,
877,
29879,
267,
262,
29893,
742,
7442,
29889,
3676,
29898,
29872,
11877,
9302,
29889,
5223,
29898,
29893,
876,
13,
18884,
903,
842,
862,
877,
29895,
742,
413,
29897,
13,
18884,
903,
842,
862,
877,
14246,
742,
931,
546,
29875,
29918,
517,
29918,
9346,
18184,
550,
29898,
9392,
29892,
639,
29892,
321,
29892,
281,
876,
13,
13,
18884,
565,
451,
9049,
5085,
29889,
657,
877,
17462,
742,
5852,
1125,
13,
462,
1678,
903,
6144,
862,
877,
9392,
1495,
13,
462,
1678,
903,
6144,
862,
877,
29872,
1495,
13,
462,
1678,
903,
6144,
862,
877,
29893,
1495,
13,
13,
18884,
1583,
29889,
978,
353,
716,
6500,
275,
13,
18884,
1583,
29889,
7529,
353,
716,
6500,
275,
29889,
5451,
580,
13,
13,
9651,
565,
716,
6500,
275,
1275,
525,
1188,
546,
260,
29883,
409,
3944,
29893,
3999,
262,
29893,
413,
2396,
13,
18884,
639,
353,
903,
657,
862,
877,
546,
1495,
13,
18884,
321,
353,
903,
657,
862,
877,
29872,
1495,
13,
18884,
281,
353,
903,
657,
862,
877,
29893,
1495,
13,
18884,
413,
353,
903,
657,
862,
877,
29895,
1495,
13,
18884,
565,
525,
9392,
29915,
297,
8636,
29918,
262,
29889,
9018,
300,
29918,
16744,
29901,
13,
462,
1678,
260,
29886,
353,
903,
657,
862,
877,
9392,
1495,
13,
18884,
1683,
29901,
13,
462,
1678,
260,
29883,
353,
903,
657,
862,
877,
14246,
1495,
13,
462,
1678,
260,
29886,
353,
5335,
18184,
550,
29918,
517,
29918,
2230,
546,
29875,
29898,
14246,
29892,
639,
29892,
321,
29892,
281,
29897,
13,
462,
1678,
903,
842,
862,
877,
9392,
742,
260,
29886,
29897,
13,
18884,
903,
842,
862,
877,
1188,
546,
742,
7442,
29889,
1188,
29898,
546,
876,
13,
18884,
903,
842,
862,
877,
3471,
359,
29893,
742,
7442,
29889,
3676,
29898,
29872,
11877,
9302,
29889,
3944,
29898,
29893,
876,
13,
18884,
903,
842,
862,
877,
29879,
267,
262,
29893,
742,
7442,
29889,
3676,
29898,
29872,
11877,
9302,
29889,
5223,
29898,
29893,
876,
13,
18884,
903,
842,
862,
877,
29895,
742,
413,
29897,
13,
18884,
903,
842,
862,
877,
14246,
742,
931,
546,
29875,
29918,
517,
29918,
9346,
18184,
550,
29898,
9392,
29892,
639,
29892,
321,
29892,
281,
876,
13,
13,
18884,
565,
451,
9049,
5085,
29889,
657,
877,
17462,
742,
5852,
1125,
13,
462,
1678,
903,
6144,
862,
877,
546,
1495,
13,
462,
1678,
903,
6144,
862,
877,
9392,
1495,
13,
462,
1678,
903,
6144,
862,
877,
29872,
1495,
13,
462,
1678,
903,
6144,
862,
877,
29893,
1495,
13,
13,
18884,
1583,
29889,
978,
353,
716,
6500,
275,
13,
18884,
1583,
29889,
7529,
353,
716,
6500,
275,
29889,
5451,
580,
13,
13,
9651,
565,
716,
6500,
275,
1275,
525,
1188,
546,
260,
29883,
409,
3944,
29893,
3999,
262,
29893,
1480,
29895,
2396,
13,
18884,
639,
353,
903,
657,
862,
877,
546,
1495,
13,
18884,
321,
353,
903,
657,
862,
877,
29872,
1495,
13,
18884,
281,
353,
903,
657,
862,
877,
29893,
1495,
13,
18884,
413,
353,
903,
657,
862,
877,
29895,
1495,
13,
18884,
565,
525,
9392,
29915,
297,
8636,
29918,
262,
29889,
9018,
300,
29918,
16744,
29901,
13,
462,
1678,
260,
29886,
353,
903,
657,
862,
877,
9392,
1495,
13,
18884,
1683,
29901,
13,
462,
1678,
260,
29883,
353,
903,
657,
862,
877,
14246,
1495,
13,
462,
1678,
260,
29886,
353,
5335,
18184,
550,
29918,
517,
29918,
2230,
546,
29875,
29898,
14246,
29892,
639,
29892,
321,
29892,
281,
29897,
13,
462,
1678,
903,
842,
862,
877,
9392,
742,
260,
29886,
29897,
13,
18884,
903,
842,
862,
877,
1188,
546,
742,
7442,
29889,
1188,
29898,
546,
876,
13,
18884,
903,
842,
862,
877,
3471,
359,
29893,
742,
7442,
29889,
3676,
29898,
29872,
11877,
9302,
29889,
3944,
29898,
29893,
876,
13,
18884,
903,
842,
862,
877,
29879,
267,
262,
29893,
742,
7442,
29889,
3676,
29898,
29872,
11877,
9302,
29889,
5223,
29898,
29893,
876,
13,
18884,
903,
842,
862,
877,
1188,
29895,
742,
7442,
29889,
1188,
29898,
29895,
876,
13,
18884,
903,
842,
862,
877,
14246,
742,
931,
546,
29875,
29918,
517,
29918,
9346,
18184,
550,
29898,
9392,
29892,
639,
29892,
321,
29892,
281,
876,
13,
13,
18884,
565,
451,
9049,
5085,
29889,
657,
877,
17462,
742,
5852,
1125,
13,
462,
1678,
903,
6144,
862,
877,
546,
1495,
13,
462,
1678,
903,
6144,
862,
877,
9392,
1495,
13,
462,
1678,
903,
6144,
862,
877,
29872,
1495,
13,
462,
1678,
903,
6144,
862,
877,
29893,
1495,
13,
462,
1678,
903,
6144,
862,
877,
29895,
1495,
13,
13,
18884,
1583,
29889,
978,
353,
716,
6500,
275,
13,
18884,
1583,
29889,
7529,
353,
716,
6500,
275,
29889,
5451,
580,
13,
13,
9651,
565,
716,
6500,
275,
1275,
525,
546,
260,
29883,
321,
3944,
29893,
831,
262,
29893,
413,
2396,
13,
18884,
639,
353,
903,
657,
862,
877,
546,
1495,
13,
18884,
321,
353,
903,
657,
862,
877,
29872,
1495,
13,
18884,
281,
353,
903,
657,
862,
877,
29893,
1495,
13,
18884,
413,
353,
903,
657,
862,
877,
29895,
1495,
13,
18884,
565,
525,
9392,
29915,
297,
8636,
29918,
262,
29889,
9018,
300,
29918,
16744,
29901,
13,
462,
1678,
260,
29886,
353,
903,
657,
862,
877,
9392,
1495,
13,
18884,
1683,
29901,
13,
462,
1678,
260,
29883,
353,
903,
657,
862,
877,
14246,
1495,
13,
462,
1678,
260,
29886,
353,
5335,
18184,
550,
29918,
517,
29918,
2230,
546,
29875,
29898,
14246,
29892,
639,
29892,
321,
29892,
281,
29897,
13,
462,
1678,
903,
842,
862,
877,
9392,
742,
260,
29886,
29897,
13,
18884,
903,
842,
862,
877,
687,
359,
29893,
742,
321,
29930,
9302,
29889,
3944,
29898,
29893,
876,
13,
18884,
903,
842,
862,
877,
267,
262,
29893,
742,
321,
29930,
9302,
29889,
5223,
29898,
29893,
876,
13,
18884,
903,
842,
862,
877,
29895,
742,
413,
29897,
13,
18884,
903,
842,
862,
877,
14246,
742,
931,
546,
29875,
29918,
517,
29918,
9346,
18184,
550,
29898,
9392,
29892,
639,
29892,
321,
29892,
281,
876,
13,
13,
18884,
565,
451,
9049,
5085,
29889,
657,
877,
17462,
742,
5852,
1125,
13,
462,
1678,
903,
6144,
862,
877,
9392,
1495,
13,
462,
1678,
903,
6144,
862,
877,
29872,
1495,
13,
462,
1678,
903,
6144,
862,
877,
29893,
1495,
13,
13,
18884,
1583,
29889,
978,
353,
716,
6500,
275,
13,
18884,
1583,
29889,
7529,
353,
716,
6500,
275,
29889,
5451,
580,
13,
13,
9651,
565,
716,
6500,
275,
1275,
525,
1188,
546,
260,
29886,
321,
281,
1480,
29895,
2396,
13,
18884,
639,
353,
903,
657,
862,
877,
546,
1495,
13,
18884,
321,
353,
903,
657,
862,
877,
29872,
1495,
13,
18884,
281,
353,
903,
657,
862,
877,
29893,
1495,
13,
18884,
413,
353,
903,
657,
862,
877,
29895,
1495,
13,
18884,
565,
525,
9392,
29915,
297,
8636,
29918,
262,
29889,
9018,
300,
29918,
16744,
29901,
13,
462,
1678,
260,
29886,
353,
903,
657,
862,
877,
9392,
1495,
13,
18884,
1683,
29901,
13,
462,
1678,
260,
29883,
353,
903,
657,
862,
877,
14246,
1495,
13,
462,
1678,
260,
29886,
353,
5335,
18184,
550,
29918,
517,
29918,
2230,
546,
29875,
29898,
14246,
29892,
639,
29892,
321,
29892,
281,
29897,
13,
462,
1678,
903,
842,
862,
877,
9392,
742,
260,
29886,
29897,
13,
13,
18884,
903,
842,
862,
877,
1188,
546,
742,
7442,
29889,
1188,
29898,
546,
876,
13,
18884,
903,
842,
862,
877,
1188,
29895,
742,
7442,
29889,
1188,
29898,
29895,
876,
13,
18884,
903,
842,
862,
877,
14246,
742,
931,
546,
29875,
29918,
517,
29918,
9346,
18184,
550,
29898,
9392,
29892,
639,
29892,
321,
29892,
281,
876,
13,
13,
18884,
565,
451,
9049,
5085,
29889,
657,
877,
17462,
742,
5852,
1125,
13,
462,
1678,
903,
6144,
862,
877,
546,
1495,
13,
462,
1678,
903,
6144,
862,
877,
29895,
1495,
13,
13,
18884,
1583,
29889,
978,
353,
716,
6500,
275,
13,
18884,
1583,
29889,
7529,
353,
716,
6500,
275,
29889,
5451,
580,
13,
13,
4706,
8636,
29918,
449,
29889,
6500,
275,
353,
4886,
275,
29898,
1482,
6500,
275,
29892,
1583,
29889,
1949,
29918,
9018,
1691,
29897,
13,
13,
4706,
736,
8636,
29918,
449,
13,
13,
1678,
822,
679,
29918,
29872,
7529,
29898,
1311,
1125,
13,
4706,
9995,
11609,
278,
16882,
296,
2200,
537,
4128,
363,
278,
1203,
29915,
29879,
8405,
13,
13,
4706,
16969,
29901,
13,
9651,
278,
8636,
607,
505,
304,
437,
411,
16882,
296,
2200,
537,
13,
4706,
9995,
13,
13,
4706,
4974,
350,
3289,
3235,
29918,
5813,
29903,
29889,
2798,
29898,
1311,
29889,
978,
29897,
1275,
29871,
29896,
29892,
376,
13919,
8405,
29908,
13,
13,
4706,
321,
3207,
1807,
353,
382,
4174,
3919,
29934,
2965,
11937,
29918,
16320,
29909,
4345,
29918,
4571,
1783,
29961,
1311,
29889,
978,
29962,
13,
4706,
321,
3207,
1761,
353,
321,
3207,
1807,
29889,
5451,
580,
13,
4706,
4974,
7431,
29898,
29872,
3207,
1761,
29897,
1275,
29871,
29906,
13,
13,
4706,
736,
321,
3207,
1761,
13,
13,
1678,
822,
679,
29918,
6034,
7529,
29898,
1311,
1125,
13,
4706,
9995,
11609,
278,
29871,
29941,
4128,
363,
263,
19308,
16980,
310,
263,
715,
296,
297,
278,
1203,
29915,
29879,
8405,
13,
13,
4706,
16969,
29901,
13,
9651,
278,
8636,
363,
263,
19308,
16980,
13,
4706,
9995,
13,
4706,
4974,
350,
3289,
3235,
29918,
5813,
29903,
29889,
2798,
29898,
1311,
29889,
978,
29897,
1275,
29871,
29896,
29892,
376,
13919,
8405,
29908,
13,
13,
4706,
3449,
3207,
1807,
353,
315,
8193,
29907,
13309,
1718,
29918,
16320,
29909,
4345,
29918,
4571,
1783,
29961,
1311,
29889,
978,
29962,
13,
4706,
3449,
3207,
1761,
353,
3449,
3207,
1807,
29889,
5451,
580,
13,
4706,
4974,
7431,
29898,
6034,
3207,
1761,
29897,
1275,
29871,
29941,
13,
13,
4706,
736,
3449,
3207,
1761,
13,
2
] |
pyScripts/crawlers_and_extraction/extraction_of_domain_doi.py | felipecuetor/WebSemantica_Proyecto | 0 | 72507 | <filename>pyScripts/crawlers_and_extraction/extraction_of_domain_doi.py
from selenium import webdriver
import time
import re
#from selenium.webdriver.common.keys import keys
def clean_string(str_to_clean):
clean_str = str_to_clean
clean_str = clean_str.replace(":", "<#><#>")
clean_str = clean_str.replace(";", "<$<$<")
clean_str = clean_str.replace(",", ">*>*>")
clean_str = clean_str.replace("\n", "")
return clean_str
def return_string(str_to_clean):
clean_str = str_to_clean
clean_str = clean_str.replace( "<#><#>",":")
clean_str = clean_str.replace("<$<$<",";")
clean_str = clean_str.replace(">*>*>",",")
return clean_str
driver = webdriver.Chrome()
with open('../../../data_final/doi_list.csv', 'w') as file:
file.close()
doi_iter_list = []
with open('../../../data_final/unified_doaj_arxiv_ceur_dblp.csv', 'r') as file:
for line in file:
split_doc = line.split(",")
external_link_split = split_doc[4].split(";")
for link in external_link_split:
if link.startswith("doi:"):
try:
doi_value = link.split(":")[1]
driver.get("https://doi.org/"+doi_value)
time.sleep(1)
#doi_iter_list.append(driver.current_url)
with open('../../../data_final/doi_list.csv', 'a') as file:
file.write(doi_value+" "+driver.current_url+"\n")
file.close()
except Exception as e:
print e
file.close()
| [
1,
529,
9507,
29958,
2272,
4081,
29879,
29914,
29883,
1610,
9306,
29918,
392,
29918,
1062,
13857,
29914,
1062,
13857,
29918,
974,
29918,
7247,
29918,
1867,
29875,
29889,
2272,
13,
3166,
18866,
1053,
1856,
9465,
13,
5215,
931,
13,
5215,
337,
13,
29937,
3166,
18866,
29889,
29813,
29889,
9435,
29889,
8149,
1053,
6611,
13,
13,
1753,
5941,
29918,
1807,
29898,
710,
29918,
517,
29918,
14941,
1125,
13,
1678,
5941,
29918,
710,
353,
851,
29918,
517,
29918,
14941,
13,
1678,
5941,
29918,
710,
353,
5941,
29918,
710,
29889,
6506,
703,
29901,
613,
9872,
29937,
5299,
29937,
29958,
1159,
13,
1678,
5941,
29918,
710,
353,
5941,
29918,
710,
29889,
6506,
703,
29936,
613,
9872,
29938,
29966,
29938,
29966,
1159,
13,
1678,
5941,
29918,
710,
353,
5941,
29918,
710,
29889,
6506,
28165,
613,
376,
29958,
29930,
29958,
29930,
29958,
1159,
13,
1678,
5941,
29918,
710,
353,
5941,
29918,
710,
29889,
6506,
14182,
29876,
613,
20569,
13,
1678,
736,
5941,
29918,
710,
13,
13,
1753,
736,
29918,
1807,
29898,
710,
29918,
517,
29918,
14941,
1125,
13,
1678,
5941,
29918,
710,
353,
851,
29918,
517,
29918,
14941,
13,
1678,
5941,
29918,
710,
353,
5941,
29918,
710,
29889,
6506,
29898,
9872,
29937,
5299,
29937,
28341,
1115,
1159,
13,
1678,
5941,
29918,
710,
353,
5941,
29918,
710,
29889,
6506,
28945,
29938,
29966,
29938,
29966,
613,
1769,
1159,
13,
1678,
5941,
29918,
710,
353,
5941,
29918,
710,
29889,
6506,
703,
29958,
29930,
29958,
29930,
28341,
613,
1159,
13,
1678,
736,
5941,
29918,
710,
13,
13,
9465,
353,
1856,
9465,
29889,
1451,
4871,
580,
13,
13,
2541,
1722,
877,
21546,
6995,
1272,
29918,
8394,
29914,
1867,
29875,
29918,
1761,
29889,
7638,
742,
525,
29893,
1495,
408,
934,
29901,
13,
1678,
934,
29889,
5358,
580,
13,
13,
1867,
29875,
29918,
1524,
29918,
1761,
353,
5159,
13,
2541,
1722,
877,
21546,
6995,
1272,
29918,
8394,
29914,
348,
2164,
29918,
1867,
1175,
29918,
279,
26560,
29918,
346,
332,
29918,
29881,
2204,
29886,
29889,
7638,
742,
525,
29878,
1495,
408,
934,
29901,
13,
1678,
363,
1196,
297,
934,
29901,
13,
4706,
6219,
29918,
1514,
353,
1196,
29889,
5451,
28165,
1159,
13,
4706,
7029,
29918,
2324,
29918,
5451,
353,
6219,
29918,
1514,
29961,
29946,
1822,
5451,
703,
29936,
1159,
13,
4706,
363,
1544,
297,
7029,
29918,
2324,
29918,
5451,
29901,
13,
9651,
565,
1544,
29889,
27382,
2541,
703,
1867,
29875,
6160,
1125,
13,
18884,
1018,
29901,
13,
462,
1678,
13102,
29918,
1767,
353,
1544,
29889,
5451,
703,
29901,
1159,
29961,
29896,
29962,
13,
462,
1678,
7156,
29889,
657,
703,
991,
597,
1867,
29875,
29889,
990,
12975,
29974,
1867,
29875,
29918,
1767,
29897,
13,
462,
1678,
931,
29889,
17059,
29898,
29896,
29897,
13,
462,
1678,
396,
1867,
29875,
29918,
1524,
29918,
1761,
29889,
4397,
29898,
9465,
29889,
3784,
29918,
2271,
29897,
13,
462,
1678,
411,
1722,
877,
21546,
6995,
1272,
29918,
8394,
29914,
1867,
29875,
29918,
1761,
29889,
7638,
742,
525,
29874,
1495,
408,
934,
29901,
13,
462,
4706,
934,
29889,
3539,
29898,
1867,
29875,
29918,
1767,
13578,
15691,
9465,
29889,
3784,
29918,
2271,
13578,
29905,
29876,
1159,
13,
462,
4706,
934,
29889,
5358,
580,
13,
18884,
5174,
8960,
408,
321,
29901,
13,
462,
1678,
1596,
321,
13,
462,
1678,
934,
29889,
5358,
580,
13,
2
] |
bwgpt2/workspace.py | daemon/bungeeweb-gpt2 | 0 | 75474 | <gh_stars>0
UUID_RESOLVE_FILENAME = 'uuid-resolv.json'
CHAT_LOG_FILENAME = 'chat-log.tsv' | [
1,
529,
12443,
29918,
303,
1503,
29958,
29900,
13,
29965,
11150,
29918,
15989,
5607,
12064,
29918,
7724,
5813,
353,
525,
25118,
29899,
9778,
29894,
29889,
3126,
29915,
13,
3210,
1299,
29918,
14480,
29918,
7724,
5813,
353,
525,
13496,
29899,
1188,
29889,
1372,
29894,
29915,
2
] |
pymtl3/passes/rtlir/behavioral/BehavioralRTLIRTypeCheckL2Pass.py | mondO/pymtl3 | 0 | 1613979 | <reponame>mondO/pymtl3
#=========================================================================
# BehavioralRTLIRTypeCheckL2Pass.py
#=========================================================================
# Author : <NAME>
# Date : March 29, 2019
"""Provide L2 behavioral RTLIR type check pass."""
from collections import OrderedDict
from pymtl3 import Bits32
from pymtl3.passes.BasePass import BasePass, PassMetadata
from pymtl3.passes.rtlir.errors import PyMTLTypeError
from pymtl3.passes.rtlir.rtype import RTLIRDataType as rdt
from pymtl3.passes.rtlir.rtype import RTLIRType as rt
from . import BehavioralRTLIR as bir
from .BehavioralRTLIRTypeCheckL1Pass import BehavioralRTLIRTypeCheckVisitorL1
class BehavioralRTLIRTypeCheckL2Pass( BasePass ):
def __call__( s, m ):
"""Perform type checking on all RTLIR in rtlir_upblks."""
if not hasattr( m, '_pass_behavioral_rtlir_type_check' ):
m._pass_behavioral_rtlir_type_check = PassMetadata()
m._pass_behavioral_rtlir_type_check.rtlir_freevars = OrderedDict()
m._pass_behavioral_rtlir_type_check.rtlir_tmpvars = OrderedDict()
m._pass_behavioral_rtlir_type_check.rtlir_accessed = set()
visitor = BehavioralRTLIRTypeCheckVisitorL2(
m,
m._pass_behavioral_rtlir_type_check.rtlir_freevars,
m._pass_behavioral_rtlir_type_check.rtlir_accessed,
m._pass_behavioral_rtlir_type_check.rtlir_tmpvars
)
for blk in m.get_update_block_order():
visitor.enter( blk, m._pass_behavioral_rtlir_gen.rtlir_upblks[ blk ] )
class BehavioralRTLIRTypeCheckVisitorL2( BehavioralRTLIRTypeCheckVisitorL1 ):
def __init__( s, component, freevars, accessed, tmpvars ):
super().__init__(component, freevars, accessed)
s.tmpvars = tmpvars
s.BinOp_max_nbits = (bir.Add, bir.Sub, bir.Mult, bir.Div, bir.Mod, bir.Pow,
bir.BitAnd, bir.BitOr, bir.BitXor)
s.BinOp_left_nbits = ( bir.ShiftLeft, bir.ShiftRightLogic )
s.type_expect = {}
lhs_types = ( rt.Port, rt.Wire, rt.NetWire, rt.NoneType )
s.type_expect[ 'Assign' ] = {
'targets' : ( lhs_types, 'lhs of assignment must be signal/tmpvar!' ),
'value' : ( rt.Signal, 'rhs of assignment should be signal/const!' )
}
s.type_expect[ 'BinOp' ] = {
'left' : ( rt.Signal, 'lhs of binop should be signal/const!' ),
'right' : ( rt.Signal, 'rhs of binop should be signal/const!' ),
}
s.type_expect[ 'UnaryOp' ] = {
'operand' : ( rt.Signal, 'unary op only applies to signals and consts!' )
}
s.type_expect[ 'For' ] = {
'start' : ( rt.Const, 'the start of a for-loop must be a constant expression!' ),
'end':( rt.Const, 'the end of a for-loop must be a constant expression!' ),
'step':( rt.Const, 'the step of a for-loop must be a constant expression!' )
}
s.type_expect[ 'If' ] = {
'cond' : ( rt.Signal, 'the condition of if must be a signal!' )
}
s.type_expect[ 'IfExp' ] = {
'cond' : ( rt.Signal, 'the condition of if-exp must be a signal!' ),
'body' : ( rt.Signal, 'the body of if-exp must be a signal!' ),
'orelse' : ( rt.Signal, 'the else branch of if-exp must be a signal!' )
}
def eval_const_binop( s, l, op, r ):
"""Evaluate ( l op r ) and return the result as an integer."""
assert type( l ) == int or isinstance( l, pymtl3_datatype.Bits )
assert type( r ) == int or isinstance( r, pymtl3_datatype.Bits )
op_dict = {
bir.And : 'and', bir.Or : 'or',
bir.Add : '+', bir.Sub : '-', bir.Mult : '*', bir.Div : '/',
bir.Mod : '%', bir.Pow : '**',
bir.ShiftLeft : '<<', bir.ShiftRightLogic : '>>',
bir.BitAnd : '&', bir.BitOr : '|', bir.BitXor : '^',
}
_op = op_dict[ type( op ) ]
return eval( f'l{_op}r' )
def _visit_Assign_single_target( s, node, target, i ):
rhs_type = node.value.Type
lhs_type = target.Type
if isinstance( target, bir.TmpVar ):
tmpvar_id = (target.name, target.upblk_name)
if lhs_type != rt.NoneType() and lhs_type.get_dtype() != rhs_type.get_dtype():
raise PyMTLTypeError( s.blk, node.ast,
f'conflicting type {rhs_type} for temporary variable {node.targets[i].name}(LHS target#{i} of {lhs_type})!' )
# Creating a temporaray variable
# Reminder that a temporary variable is essentially a wire. So we use
# rt.Wire here instead of rt.NetWire
target.Type = rt.Wire( rhs_type.get_dtype() )
s.tmpvars[ tmpvar_id ] = rt.Wire( rhs_type.get_dtype() )
else:
# non-temporary assignment is an L1 thing
super()._visit_Assign_single_target( node, target, i )
def visit_Assign( s, node ):
# lhs_types = [ target.Type.get_dtype() for target in node.targets ]
# RHS should have the same type as LHS
for i, target in enumerate( node.targets ):
s._visit_Assign_single_target( node, target, i )
node.Type = None
def visit_If( s, node ):
# Can the type of condition be cast into bool?
dtype = node.cond.Type.get_dtype()
if not rdt.Bool()( dtype ):
raise PyMTLTypeError( s.blk, node.ast,
'the condition of "if" cannot be converted to bool!'
)
node.Type = None
def visit_For( s, node ):
try:
step = node.step._value
if step == 0:
raise PyMTLTypeError( s.blk, node.ast,
'the step of for-loop cannot be zero!' )
except AttributeError:
raise PyMTLTypeError( s.blk, node.ast,
'the step of for-loop must be a constant!' )
node.Type = None
def visit_LoopVar( s, node ):
node.Type = rt.Const( rdt.Vector( 32 ), None )
def visit_TmpVar( s, node ):
tmpvar_id = (node.name, node.upblk_name)
if tmpvar_id not in s.tmpvars:
# This tmpvar is being created. Later when it is used, its type can
# be read from the tmpvar type environment.
node.Type = rt.NoneType()
else:
node.Type = s.tmpvars[ tmpvar_id ]
def visit_IfExp( s, node ):
# Can the type of condition be cast into bool?
if not rdt.Bool()( node.cond.Type.get_dtype() ):
raise PyMTLTypeError( s.blk, node.ast,
'the condition of "if-exp" cannot be converted to bool!' )
# body and orelse must have the same type
# if node.body.Type != node.orelse.Type:
if not node.body.Type.get_dtype()( node.orelse.Type.get_dtype() ):
raise PyMTLTypeError( s.blk, node.ast,
'the body and orelse of "if-exp" must have the same type!' )
node.Type = node.body.Type
def visit_UnaryOp( s, node ):
if isinstance( node.op, bir.Not ):
dtype = node.operand.Type.get_dtype()
if not rdt.Bool()( dtype ):
raise PyMTLTypeError( s.blk, node.ast,
'the operand of "Logic-not" cannot be cast to bool!' )
if dtype.get_length() != 1:
raise PyMTLTypeError( s.blk, node.ast,
'the operand of "Logic-not" is not a single bit!' )
node.Type = rt.NetWire( rdt.Bool() )
else:
node.Type = node.operand.Type
if hasattr( node.operand, '_value' ):
opmap = {
bir.Invert : '~',
bir.Not : 'not',
bir.UAdd : '+',
bir.USub : '-',
}
try:
op = opmap[node.op.__class__]
operand = node.operand._value.uint()
node._value = eval(f"Bits32({op}{operand})")
except:
pass
def visit_BoolOp( s, node ):
for value in node.values:
if not isinstance(value.Type, rt.Signal) or not rdt.Bool()(value.Type.get_dtype()):
raise PyMTLTypeError( s.blk, node.ast,
f"{value} of {value.Type} cannot be cast into bool!")
node.Type = rt.NetWire( rdt.Bool() )
def visit_BinOp( s, node ):
op = node.op
l_type = node.left.Type.get_dtype()
r_type = node.right.Type.get_dtype()
if not( rdt.Vector(1)( l_type ) and rdt.Vector(1)( r_type ) ):
raise PyMTLTypeError( s.blk, node.ast,
f"both sides of {op.__class__.__name__} should be of vector type!" )
if not isinstance( op, s.BinOp_left_nbits ) and l_type != r_type:
raise PyMTLTypeError( s.blk, node.ast,
f"LHS and RHS of {op.__class__.__name__} should have the same type ({l_type} vs {r_type})!" )
l_nbits = l_type.get_length()
r_nbits = r_type.get_length()
# Enforcing Verilog bitwidth inference rules
res_nbits = 0
if isinstance( op, s.BinOp_max_nbits ):
res_nbits = max( l_nbits, r_nbits )
elif isinstance( op, s.BinOp_left_nbits ):
res_nbits = l_nbits
else:
raise Exception( 'RTLIRTypeCheck internal error: unrecognized op!' )
try:
# Both sides are constant expressions
l_val = node.left._value
r_val = node.rigth._value
node._value = s.eval_const_binop( l_val, op, r_val )
node.Type = rt.Const( rdt.Vector( res_nbits ) )
except AttributeError:
# Both sides are constant but the value cannot be determined statically
if isinstance(node.left.Type, rt.Const) and isinstance(node.right.Type, rt.Const):
node.Type = rt.Const( rdt.Vector( res_nbits ), None )
# Variable
else:
node.Type = rt.NetWire( rdt.Vector( res_nbits ) )
def visit_Compare( s, node ):
l_type = node.left.Type.get_dtype()
r_type = node.right.Type.get_dtype()
if l_type != r_type:
raise PyMTLTypeError( s.blk, node.ast,
f"LHS and RHS of {node.op.__class__.__name__} have different types ({l_type} vs {r_type})!" )
node.Type = rt.NetWire( rdt.Bool() )
| [
1,
529,
276,
1112,
420,
29958,
8315,
29949,
29914,
29886,
962,
15206,
29941,
13,
29937,
9166,
9166,
9166,
9166,
4936,
29922,
13,
29937,
1522,
16300,
284,
13079,
5265,
29934,
1542,
5596,
29931,
29906,
7129,
29889,
2272,
13,
29937,
9166,
9166,
9166,
9166,
4936,
29922,
13,
29937,
13361,
584,
529,
5813,
29958,
13,
29937,
4712,
259,
584,
4779,
29871,
29906,
29929,
29892,
29871,
29906,
29900,
29896,
29929,
13,
15945,
29908,
1184,
29894,
680,
365,
29906,
6030,
284,
390,
29911,
5265,
29934,
1134,
1423,
1209,
1213,
15945,
13,
13,
3166,
16250,
1053,
8170,
287,
21533,
13,
13,
3166,
282,
962,
15206,
29941,
1053,
350,
1169,
29941,
29906,
13,
3166,
282,
962,
15206,
29941,
29889,
3364,
267,
29889,
5160,
7129,
1053,
7399,
7129,
29892,
6978,
18417,
13,
3166,
282,
962,
15206,
29941,
29889,
3364,
267,
29889,
2273,
29880,
381,
29889,
12523,
1053,
10772,
11490,
29931,
1542,
2392,
13,
3166,
282,
962,
15206,
29941,
29889,
3364,
267,
29889,
2273,
29880,
381,
29889,
29878,
1853,
1053,
390,
29911,
5265,
29934,
1469,
1542,
408,
364,
6008,
13,
3166,
282,
962,
15206,
29941,
29889,
3364,
267,
29889,
2273,
29880,
381,
29889,
29878,
1853,
1053,
390,
29911,
5265,
29934,
1542,
408,
364,
29873,
13,
13,
3166,
869,
1053,
1522,
16300,
284,
13079,
5265,
29934,
408,
29773,
13,
3166,
869,
28100,
284,
13079,
5265,
29934,
1542,
5596,
29931,
29896,
7129,
1053,
1522,
16300,
284,
13079,
5265,
29934,
1542,
5596,
6116,
2105,
29931,
29896,
13,
13,
13,
1990,
1522,
16300,
284,
13079,
5265,
29934,
1542,
5596,
29931,
29906,
7129,
29898,
7399,
7129,
29871,
1125,
13,
29871,
822,
4770,
4804,
12035,
269,
29892,
286,
29871,
1125,
13,
1678,
9995,
5894,
689,
1134,
8454,
373,
599,
390,
29911,
5265,
29934,
297,
364,
15206,
381,
29918,
786,
2204,
2039,
1213,
15945,
13,
1678,
565,
451,
756,
5552,
29898,
286,
29892,
22868,
3364,
29918,
915,
16300,
284,
29918,
2273,
29880,
381,
29918,
1853,
29918,
3198,
29915,
29871,
1125,
13,
418,
286,
3032,
3364,
29918,
915,
16300,
284,
29918,
2273,
29880,
381,
29918,
1853,
29918,
3198,
353,
6978,
18417,
580,
13,
1678,
286,
3032,
3364,
29918,
915,
16300,
284,
29918,
2273,
29880,
381,
29918,
1853,
29918,
3198,
29889,
2273,
29880,
381,
29918,
9021,
16908,
353,
8170,
287,
21533,
580,
13,
1678,
286,
3032,
3364,
29918,
915,
16300,
284,
29918,
2273,
29880,
381,
29918,
1853,
29918,
3198,
29889,
2273,
29880,
381,
29918,
7050,
16908,
353,
8170,
287,
21533,
580,
13,
1678,
286,
3032,
3364,
29918,
915,
16300,
284,
29918,
2273,
29880,
381,
29918,
1853,
29918,
3198,
29889,
2273,
29880,
381,
29918,
5943,
287,
353,
731,
580,
13,
13,
1678,
27682,
353,
1522,
16300,
284,
13079,
5265,
29934,
1542,
5596,
6116,
2105,
29931,
29906,
29898,
13,
418,
286,
29892,
13,
418,
286,
3032,
3364,
29918,
915,
16300,
284,
29918,
2273,
29880,
381,
29918,
1853,
29918,
3198,
29889,
2273,
29880,
381,
29918,
9021,
16908,
29892,
13,
418,
286,
3032,
3364,
29918,
915,
16300,
284,
29918,
2273,
29880,
381,
29918,
1853,
29918,
3198,
29889,
2273,
29880,
381,
29918,
5943,
287,
29892,
13,
418,
286,
3032,
3364,
29918,
915,
16300,
284,
29918,
2273,
29880,
381,
29918,
1853,
29918,
3198,
29889,
2273,
29880,
381,
29918,
7050,
16908,
13,
1678,
1723,
13,
13,
1678,
363,
1999,
29895,
297,
286,
29889,
657,
29918,
5504,
29918,
1271,
29918,
2098,
7295,
13,
418,
27682,
29889,
5893,
29898,
1999,
29895,
29892,
286,
3032,
3364,
29918,
915,
16300,
284,
29918,
2273,
29880,
381,
29918,
1885,
29889,
2273,
29880,
381,
29918,
786,
2204,
2039,
29961,
1999,
29895,
4514,
1723,
13,
13,
1990,
1522,
16300,
284,
13079,
5265,
29934,
1542,
5596,
6116,
2105,
29931,
29906,
29898,
1522,
16300,
284,
13079,
5265,
29934,
1542,
5596,
6116,
2105,
29931,
29896,
29871,
1125,
13,
29871,
822,
4770,
2344,
12035,
269,
29892,
4163,
29892,
3889,
16908,
29892,
20592,
29892,
13128,
16908,
29871,
1125,
13,
1678,
2428,
2141,
1649,
2344,
12035,
9700,
29892,
3889,
16908,
29892,
20592,
29897,
13,
1678,
269,
29889,
7050,
16908,
353,
13128,
16908,
13,
1678,
269,
29889,
29933,
262,
11746,
29918,
3317,
29918,
9877,
1169,
353,
313,
20397,
29889,
2528,
29892,
29773,
29889,
4035,
29892,
29773,
29889,
6857,
29892,
29773,
29889,
12596,
29892,
29773,
29889,
2111,
29892,
29773,
29889,
29925,
340,
29892,
13,
462,
308,
29773,
29889,
21591,
2855,
29892,
29773,
29889,
21591,
2816,
29892,
29773,
29889,
21591,
29990,
272,
29897,
13,
1678,
269,
29889,
29933,
262,
11746,
29918,
1563,
29918,
9877,
1169,
353,
313,
29773,
29889,
29657,
8091,
29892,
29773,
29889,
29657,
7341,
3403,
293,
1723,
13,
1678,
269,
29889,
1853,
29918,
17854,
353,
6571,
13,
1678,
301,
9499,
29918,
8768,
353,
313,
364,
29873,
29889,
2290,
29892,
364,
29873,
29889,
29956,
533,
29892,
364,
29873,
29889,
6779,
29956,
533,
29892,
364,
29873,
29889,
8516,
1542,
1723,
13,
13,
1678,
269,
29889,
1853,
29918,
17854,
29961,
525,
7900,
647,
29915,
4514,
353,
426,
13,
418,
525,
5182,
29879,
29915,
584,
313,
301,
9499,
29918,
8768,
29892,
525,
29880,
9499,
310,
12827,
1818,
367,
7182,
29914,
7050,
1707,
20714,
10353,
13,
418,
525,
1767,
29915,
259,
584,
313,
364,
29873,
29889,
10140,
284,
29892,
525,
29878,
9499,
310,
12827,
881,
367,
7182,
29914,
3075,
20714,
1723,
13,
1678,
500,
13,
1678,
269,
29889,
1853,
29918,
17854,
29961,
525,
29933,
262,
11746,
29915,
4514,
353,
426,
13,
418,
525,
1563,
29915,
584,
313,
364,
29873,
29889,
10140,
284,
29892,
525,
29880,
9499,
310,
9016,
459,
881,
367,
7182,
29914,
3075,
20714,
10353,
13,
418,
525,
1266,
29915,
584,
313,
364,
29873,
29889,
10140,
284,
29892,
525,
29878,
9499,
310,
9016,
459,
881,
367,
7182,
29914,
3075,
20714,
10353,
13,
1678,
500,
13,
1678,
269,
29889,
1853,
29918,
17854,
29961,
525,
2525,
653,
11746,
29915,
4514,
353,
426,
13,
418,
525,
3372,
392,
29915,
584,
313,
364,
29873,
29889,
10140,
284,
29892,
525,
348,
653,
1015,
871,
16058,
304,
18470,
322,
1040,
29879,
20714,
1723,
13,
1678,
500,
13,
1678,
269,
29889,
1853,
29918,
17854,
29961,
525,
2831,
29915,
4514,
353,
426,
13,
418,
525,
2962,
29915,
584,
313,
364,
29873,
29889,
12075,
29892,
525,
1552,
1369,
310,
263,
363,
29899,
7888,
1818,
367,
263,
4868,
4603,
20714,
10353,
13,
418,
525,
355,
2396,
29898,
364,
29873,
29889,
12075,
29892,
525,
1552,
1095,
310,
263,
363,
29899,
7888,
1818,
367,
263,
4868,
4603,
20714,
10353,
13,
418,
525,
10568,
2396,
29898,
364,
29873,
29889,
12075,
29892,
525,
1552,
4331,
310,
263,
363,
29899,
7888,
1818,
367,
263,
4868,
4603,
20714,
1723,
13,
1678,
500,
13,
1678,
269,
29889,
1853,
29918,
17854,
29961,
525,
3644,
29915,
4514,
353,
426,
13,
418,
525,
1116,
29915,
584,
313,
364,
29873,
29889,
10140,
284,
29892,
525,
1552,
4195,
310,
565,
1818,
367,
263,
7182,
20714,
1723,
13,
1678,
500,
13,
1678,
269,
29889,
1853,
29918,
17854,
29961,
525,
3644,
9544,
29915,
4514,
353,
426,
13,
418,
525,
1116,
29915,
584,
313,
364,
29873,
29889,
10140,
284,
29892,
525,
1552,
4195,
310,
565,
29899,
4548,
1818,
367,
263,
7182,
20714,
10353,
13,
418,
525,
2587,
29915,
584,
313,
364,
29873,
29889,
10140,
284,
29892,
525,
1552,
3573,
310,
565,
29899,
4548,
1818,
367,
263,
7182,
20714,
10353,
13,
418,
525,
272,
2870,
29915,
584,
313,
364,
29873,
29889,
10140,
284,
29892,
525,
1552,
1683,
5443,
310,
565,
29899,
4548,
1818,
367,
263,
7182,
20714,
1723,
13,
1678,
500,
13,
13,
29871,
822,
19745,
29918,
3075,
29918,
2109,
459,
29898,
269,
29892,
301,
29892,
1015,
29892,
364,
29871,
1125,
13,
1678,
9995,
29923,
4387,
403,
313,
301,
1015,
364,
1723,
322,
736,
278,
1121,
408,
385,
6043,
1213,
15945,
13,
1678,
4974,
1134,
29898,
301,
1723,
1275,
938,
470,
338,
8758,
29898,
301,
29892,
282,
962,
15206,
29941,
29918,
4130,
23179,
29889,
29933,
1169,
1723,
13,
1678,
4974,
1134,
29898,
364,
1723,
1275,
938,
470,
338,
8758,
29898,
364,
29892,
282,
962,
15206,
29941,
29918,
4130,
23179,
29889,
29933,
1169,
1723,
13,
1678,
1015,
29918,
8977,
353,
426,
13,
418,
29773,
29889,
2855,
539,
584,
525,
392,
742,
29773,
29889,
2816,
1678,
584,
525,
272,
742,
13,
418,
29773,
29889,
2528,
539,
584,
525,
29974,
742,
259,
29773,
29889,
4035,
259,
584,
17411,
742,
29871,
29773,
29889,
6857,
584,
525,
29930,
742,
29871,
29773,
29889,
12596,
29871,
584,
8207,
742,
13,
418,
29773,
29889,
2111,
539,
584,
14210,
742,
259,
29773,
29889,
29925,
340,
259,
584,
525,
1068,
742,
13,
418,
29773,
29889,
29657,
8091,
584,
525,
9314,
742,
29871,
29773,
29889,
29657,
7341,
3403,
293,
584,
525,
6778,
742,
13,
418,
29773,
29889,
21591,
2855,
1678,
584,
525,
29987,
742,
259,
29773,
29889,
21591,
2816,
584,
525,
29989,
742,
29871,
29773,
29889,
21591,
29990,
272,
584,
525,
29985,
742,
13,
1678,
500,
13,
1678,
903,
459,
353,
1015,
29918,
8977,
29961,
1134,
29898,
1015,
1723,
4514,
13,
1678,
736,
19745,
29898,
285,
29915,
29880,
29912,
29918,
459,
29913,
29878,
29915,
1723,
13,
13,
29871,
822,
903,
1730,
277,
29918,
7900,
647,
29918,
14369,
29918,
5182,
29898,
269,
29892,
2943,
29892,
3646,
29892,
474,
29871,
1125,
13,
1678,
29365,
29918,
1853,
353,
2943,
29889,
1767,
29889,
1542,
13,
1678,
301,
9499,
29918,
1853,
353,
3646,
29889,
1542,
13,
13,
1678,
565,
338,
8758,
29898,
3646,
29892,
29773,
29889,
29911,
1526,
9037,
29871,
1125,
13,
418,
13128,
1707,
29918,
333,
353,
313,
5182,
29889,
978,
29892,
3646,
29889,
786,
2204,
29895,
29918,
978,
29897,
13,
418,
565,
301,
9499,
29918,
1853,
2804,
364,
29873,
29889,
8516,
1542,
580,
322,
301,
9499,
29918,
1853,
29889,
657,
29918,
29881,
1853,
580,
2804,
29365,
29918,
1853,
29889,
657,
29918,
29881,
1853,
7295,
13,
4706,
12020,
10772,
11490,
29931,
1542,
2392,
29898,
269,
29889,
2204,
29895,
29892,
2943,
29889,
579,
29892,
13,
3986,
285,
29915,
5527,
506,
1259,
1134,
426,
29878,
9499,
29918,
1853,
29913,
363,
13201,
2286,
426,
3177,
29889,
5182,
29879,
29961,
29875,
1822,
978,
2119,
29931,
14851,
3646,
26660,
29875,
29913,
310,
426,
29880,
9499,
29918,
1853,
1800,
20714,
1723,
13,
13,
418,
396,
26221,
263,
5382,
279,
388,
2286,
13,
418,
396,
5240,
4995,
393,
263,
13201,
2286,
338,
13674,
263,
8014,
29889,
1105,
591,
671,
13,
418,
396,
364,
29873,
29889,
29956,
533,
1244,
2012,
310,
364,
29873,
29889,
6779,
29956,
533,
13,
418,
3646,
29889,
1542,
353,
364,
29873,
29889,
29956,
533,
29898,
29365,
29918,
1853,
29889,
657,
29918,
29881,
1853,
580,
1723,
13,
418,
269,
29889,
7050,
16908,
29961,
13128,
1707,
29918,
333,
4514,
353,
364,
29873,
29889,
29956,
533,
29898,
29365,
29918,
1853,
29889,
657,
29918,
29881,
1853,
580,
1723,
13,
13,
1678,
1683,
29901,
13,
418,
396,
1661,
29899,
1356,
1971,
653,
12827,
338,
385,
365,
29896,
2655,
13,
418,
2428,
2141,
29918,
1730,
277,
29918,
7900,
647,
29918,
14369,
29918,
5182,
29898,
2943,
29892,
3646,
29892,
474,
1723,
13,
13,
13,
29871,
822,
6493,
29918,
7900,
647,
29898,
269,
29892,
2943,
29871,
1125,
13,
1678,
396,
301,
9499,
29918,
8768,
353,
518,
3646,
29889,
1542,
29889,
657,
29918,
29881,
1853,
580,
363,
3646,
297,
2943,
29889,
5182,
29879,
4514,
13,
13,
1678,
396,
390,
14851,
881,
505,
278,
1021,
1134,
408,
365,
14851,
13,
1678,
363,
474,
29892,
3646,
297,
26985,
29898,
2943,
29889,
5182,
29879,
29871,
1125,
13,
418,
269,
3032,
1730,
277,
29918,
7900,
647,
29918,
14369,
29918,
5182,
29898,
2943,
29892,
3646,
29892,
474,
1723,
13,
13,
1678,
2943,
29889,
1542,
353,
6213,
13,
13,
29871,
822,
6493,
29918,
3644,
29898,
269,
29892,
2943,
29871,
1125,
13,
1678,
396,
1815,
278,
1134,
310,
4195,
367,
4320,
964,
6120,
29973,
13,
1678,
26688,
353,
2943,
29889,
1116,
29889,
1542,
29889,
657,
29918,
29881,
1853,
580,
13,
1678,
565,
451,
364,
6008,
29889,
24693,
580,
29898,
26688,
29871,
1125,
13,
418,
12020,
10772,
11490,
29931,
1542,
2392,
29898,
269,
29889,
2204,
29895,
29892,
2943,
29889,
579,
29892,
13,
4706,
525,
1552,
4195,
310,
376,
361,
29908,
2609,
367,
11543,
304,
6120,
20714,
13,
418,
1723,
13,
1678,
2943,
29889,
1542,
353,
6213,
13,
13,
29871,
822,
6493,
29918,
2831,
29898,
269,
29892,
2943,
29871,
1125,
13,
1678,
1018,
29901,
13,
418,
4331,
353,
2943,
29889,
10568,
3032,
1767,
13,
418,
565,
4331,
1275,
29871,
29900,
29901,
13,
4706,
12020,
10772,
11490,
29931,
1542,
2392,
29898,
269,
29889,
2204,
29895,
29892,
2943,
29889,
579,
29892,
13,
3986,
525,
1552,
4331,
310,
363,
29899,
7888,
2609,
367,
5225,
20714,
1723,
13,
1678,
5174,
23833,
2392,
29901,
13,
418,
12020,
10772,
11490,
29931,
1542,
2392,
29898,
269,
29889,
2204,
29895,
29892,
2943,
29889,
579,
29892,
13,
4706,
525,
1552,
4331,
310,
363,
29899,
7888,
1818,
367,
263,
4868,
20714,
1723,
13,
1678,
2943,
29889,
1542,
353,
6213,
13,
13,
29871,
822,
6493,
29918,
18405,
9037,
29898,
269,
29892,
2943,
29871,
1125,
13,
1678,
2943,
29889,
1542,
353,
364,
29873,
29889,
12075,
29898,
364,
6008,
29889,
12877,
29898,
29871,
29941,
29906,
10353,
6213,
1723,
13,
13,
29871,
822,
6493,
29918,
29911,
1526,
9037,
29898,
269,
29892,
2943,
29871,
1125,
13,
1678,
13128,
1707,
29918,
333,
353,
313,
3177,
29889,
978,
29892,
2943,
29889,
786,
2204,
29895,
29918,
978,
29897,
13,
1678,
565,
13128,
1707,
29918,
333,
451,
297,
269,
29889,
7050,
16908,
29901,
13,
418,
396,
910,
13128,
1707,
338,
1641,
2825,
29889,
12699,
746,
372,
338,
1304,
29892,
967,
1134,
508,
13,
418,
396,
367,
1303,
515,
278,
13128,
1707,
1134,
5177,
29889,
13,
418,
2943,
29889,
1542,
353,
364,
29873,
29889,
8516,
1542,
580,
13,
13,
1678,
1683,
29901,
13,
418,
2943,
29889,
1542,
353,
269,
29889,
7050,
16908,
29961,
13128,
1707,
29918,
333,
4514,
13,
13,
29871,
822,
6493,
29918,
3644,
9544,
29898,
269,
29892,
2943,
29871,
1125,
13,
1678,
396,
1815,
278,
1134,
310,
4195,
367,
4320,
964,
6120,
29973,
13,
1678,
565,
451,
364,
6008,
29889,
24693,
580,
29898,
2943,
29889,
1116,
29889,
1542,
29889,
657,
29918,
29881,
1853,
580,
29871,
1125,
13,
418,
12020,
10772,
11490,
29931,
1542,
2392,
29898,
269,
29889,
2204,
29895,
29892,
2943,
29889,
579,
29892,
13,
4706,
525,
1552,
4195,
310,
376,
361,
29899,
4548,
29908,
2609,
367,
11543,
304,
6120,
20714,
1723,
13,
13,
1678,
396,
3573,
322,
470,
2870,
1818,
505,
278,
1021,
1134,
13,
1678,
396,
565,
2943,
29889,
2587,
29889,
1542,
2804,
2943,
29889,
272,
2870,
29889,
1542,
29901,
13,
1678,
565,
451,
2943,
29889,
2587,
29889,
1542,
29889,
657,
29918,
29881,
1853,
580,
29898,
2943,
29889,
272,
2870,
29889,
1542,
29889,
657,
29918,
29881,
1853,
580,
29871,
1125,
13,
418,
12020,
10772,
11490,
29931,
1542,
2392,
29898,
269,
29889,
2204,
29895,
29892,
2943,
29889,
579,
29892,
13,
4706,
525,
1552,
3573,
322,
470,
2870,
310,
376,
361,
29899,
4548,
29908,
1818,
505,
278,
1021,
1134,
20714,
1723,
13,
1678,
2943,
29889,
1542,
353,
2943,
29889,
2587,
29889,
1542,
13,
13,
29871,
822,
6493,
29918,
2525,
653,
11746,
29898,
269,
29892,
2943,
29871,
1125,
13,
1678,
565,
338,
8758,
29898,
2943,
29889,
459,
29892,
29773,
29889,
3664,
29871,
1125,
13,
418,
26688,
353,
2943,
29889,
3372,
392,
29889,
1542,
29889,
657,
29918,
29881,
1853,
580,
13,
418,
565,
451,
364,
6008,
29889,
24693,
580,
29898,
26688,
29871,
1125,
13,
4706,
12020,
10772,
11490,
29931,
1542,
2392,
29898,
269,
29889,
2204,
29895,
29892,
2943,
29889,
579,
29892,
13,
3986,
525,
1552,
1751,
392,
310,
376,
3403,
293,
29899,
1333,
29908,
2609,
367,
4320,
304,
6120,
20714,
1723,
13,
418,
565,
26688,
29889,
657,
29918,
2848,
580,
2804,
29871,
29896,
29901,
13,
4706,
12020,
10772,
11490,
29931,
1542,
2392,
29898,
269,
29889,
2204,
29895,
29892,
2943,
29889,
579,
29892,
13,
3986,
525,
1552,
1751,
392,
310,
376,
3403,
293,
29899,
1333,
29908,
338,
451,
263,
2323,
2586,
20714,
1723,
13,
418,
2943,
29889,
1542,
353,
364,
29873,
29889,
6779,
29956,
533,
29898,
364,
6008,
29889,
24693,
580,
1723,
13,
1678,
1683,
29901,
13,
418,
2943,
29889,
1542,
353,
2943,
29889,
3372,
392,
29889,
1542,
13,
1678,
565,
756,
5552,
29898,
2943,
29889,
3372,
392,
29892,
22868,
1767,
29915,
29871,
1125,
13,
418,
1015,
1958,
353,
426,
13,
3986,
29773,
29889,
797,
1765,
584,
525,
30022,
742,
13,
3986,
29773,
29889,
3664,
1678,
584,
525,
1333,
742,
13,
3986,
29773,
29889,
29965,
2528,
259,
584,
525,
29974,
742,
13,
3986,
29773,
29889,
3308,
431,
259,
584,
17411,
742,
13,
418,
500,
13,
418,
1018,
29901,
13,
4706,
1015,
353,
1015,
1958,
29961,
3177,
29889,
459,
17255,
1990,
1649,
29962,
13,
4706,
1751,
392,
353,
2943,
29889,
3372,
392,
3032,
1767,
29889,
13470,
580,
13,
4706,
2943,
3032,
1767,
353,
19745,
29898,
29888,
29908,
29933,
1169,
29941,
29906,
3319,
459,
1157,
3372,
392,
1800,
1159,
13,
418,
5174,
29901,
13,
4706,
1209,
13,
13,
29871,
822,
6493,
29918,
24693,
11746,
29898,
269,
29892,
2943,
29871,
1125,
13,
1678,
363,
995,
297,
2943,
29889,
5975,
29901,
13,
418,
565,
451,
338,
8758,
29898,
1767,
29889,
1542,
29892,
364,
29873,
29889,
10140,
284,
29897,
470,
451,
364,
6008,
29889,
24693,
580,
29898,
1767,
29889,
1542,
29889,
657,
29918,
29881,
1853,
580,
1125,
13,
4706,
12020,
10772,
11490,
29931,
1542,
2392,
29898,
269,
29889,
2204,
29895,
29892,
2943,
29889,
579,
29892,
13,
3986,
285,
29908,
29912,
1767,
29913,
310,
426,
1767,
29889,
1542,
29913,
2609,
367,
4320,
964,
6120,
29991,
1159,
13,
1678,
2943,
29889,
1542,
353,
364,
29873,
29889,
6779,
29956,
533,
29898,
364,
6008,
29889,
24693,
580,
1723,
13,
13,
29871,
822,
6493,
29918,
29933,
262,
11746,
29898,
269,
29892,
2943,
29871,
1125,
13,
1678,
1015,
353,
2943,
29889,
459,
13,
1678,
301,
29918,
1853,
353,
2943,
29889,
1563,
29889,
1542,
29889,
657,
29918,
29881,
1853,
580,
13,
1678,
364,
29918,
1853,
353,
2943,
29889,
1266,
29889,
1542,
29889,
657,
29918,
29881,
1853,
580,
13,
1678,
565,
451,
29898,
364,
6008,
29889,
12877,
29898,
29896,
5033,
301,
29918,
1853,
1723,
322,
364,
6008,
29889,
12877,
29898,
29896,
5033,
364,
29918,
1853,
1723,
29871,
1125,
13,
418,
12020,
10772,
11490,
29931,
1542,
2392,
29898,
269,
29889,
2204,
29895,
29892,
2943,
29889,
579,
29892,
13,
4706,
285,
29908,
20313,
11192,
310,
426,
459,
17255,
1990,
1649,
17255,
978,
1649,
29913,
881,
367,
310,
4608,
1134,
3850,
1723,
13,
13,
1678,
565,
451,
338,
8758,
29898,
1015,
29892,
269,
29889,
29933,
262,
11746,
29918,
1563,
29918,
9877,
1169,
1723,
322,
301,
29918,
1853,
2804,
364,
29918,
1853,
29901,
13,
418,
12020,
10772,
11490,
29931,
1542,
2392,
29898,
269,
29889,
2204,
29895,
29892,
2943,
29889,
579,
29892,
13,
4706,
285,
29908,
29931,
14851,
322,
390,
14851,
310,
426,
459,
17255,
1990,
1649,
17255,
978,
1649,
29913,
881,
505,
278,
1021,
1134,
21313,
29880,
29918,
1853,
29913,
7186,
426,
29878,
29918,
1853,
1800,
3850,
1723,
13,
13,
1678,
301,
29918,
9877,
1169,
353,
301,
29918,
1853,
29889,
657,
29918,
2848,
580,
13,
1678,
364,
29918,
9877,
1169,
353,
364,
29918,
1853,
29889,
657,
29918,
2848,
580,
13,
13,
1678,
396,
1174,
1454,
3277,
1798,
26140,
2586,
2103,
27262,
6865,
13,
1678,
620,
29918,
9877,
1169,
353,
29871,
29900,
13,
1678,
565,
338,
8758,
29898,
1015,
29892,
269,
29889,
29933,
262,
11746,
29918,
3317,
29918,
9877,
1169,
29871,
1125,
13,
418,
620,
29918,
9877,
1169,
353,
4236,
29898,
301,
29918,
9877,
1169,
29892,
364,
29918,
9877,
1169,
1723,
13,
1678,
25342,
338,
8758,
29898,
1015,
29892,
269,
29889,
29933,
262,
11746,
29918,
1563,
29918,
9877,
1169,
29871,
1125,
13,
418,
620,
29918,
9877,
1169,
353,
301,
29918,
9877,
1169,
13,
1678,
1683,
29901,
13,
418,
12020,
8960,
29898,
525,
13079,
5265,
29934,
1542,
5596,
7463,
1059,
29901,
443,
29423,
1891,
1015,
20714,
1723,
13,
13,
1678,
1018,
29901,
13,
418,
396,
9134,
11192,
526,
4868,
12241,
13,
418,
301,
29918,
791,
353,
2943,
29889,
1563,
3032,
1767,
13,
418,
364,
29918,
791,
353,
2943,
29889,
8966,
386,
3032,
1767,
13,
418,
2943,
3032,
1767,
353,
269,
29889,
14513,
29918,
3075,
29918,
2109,
459,
29898,
301,
29918,
791,
29892,
1015,
29892,
364,
29918,
791,
1723,
13,
418,
2943,
29889,
1542,
353,
364,
29873,
29889,
12075,
29898,
364,
6008,
29889,
12877,
29898,
620,
29918,
9877,
1169,
1723,
1723,
13,
1678,
5174,
23833,
2392,
29901,
13,
418,
396,
9134,
11192,
526,
4868,
541,
278,
995,
2609,
367,
10087,
1002,
1711,
13,
418,
565,
338,
8758,
29898,
3177,
29889,
1563,
29889,
1542,
29892,
364,
29873,
29889,
12075,
29897,
322,
338,
8758,
29898,
3177,
29889,
1266,
29889,
1542,
29892,
364,
29873,
29889,
12075,
1125,
13,
4706,
2943,
29889,
1542,
353,
364,
29873,
29889,
12075,
29898,
364,
6008,
29889,
12877,
29898,
620,
29918,
9877,
1169,
10353,
6213,
1723,
13,
13,
418,
396,
28736,
13,
418,
1683,
29901,
13,
4706,
2943,
29889,
1542,
353,
364,
29873,
29889,
6779,
29956,
533,
29898,
364,
6008,
29889,
12877,
29898,
620,
29918,
9877,
1169,
1723,
1723,
13,
13,
29871,
822,
6493,
29918,
6843,
598,
29898,
269,
29892,
2943,
29871,
1125,
13,
1678,
301,
29918,
1853,
353,
2943,
29889,
1563,
29889,
1542,
29889,
657,
29918,
29881,
1853,
580,
13,
1678,
364,
29918,
1853,
353,
2943,
29889,
1266,
29889,
1542,
29889,
657,
29918,
29881,
1853,
580,
13,
1678,
565,
301,
29918,
1853,
2804,
364,
29918,
1853,
29901,
13,
418,
12020,
10772,
11490,
29931,
1542,
2392,
29898,
269,
29889,
2204,
29895,
29892,
2943,
29889,
579,
29892,
13,
4706,
285,
29908,
29931,
14851,
322,
390,
14851,
310,
426,
3177,
29889,
459,
17255,
1990,
1649,
17255,
978,
1649,
29913,
505,
1422,
4072,
21313,
29880,
29918,
1853,
29913,
7186,
426,
29878,
29918,
1853,
1800,
3850,
1723,
13,
1678,
2943,
29889,
1542,
353,
364,
29873,
29889,
6779,
29956,
533,
29898,
364,
6008,
29889,
24693,
580,
1723,
13,
2
] |
platform_disk_api/utils.py | neuro-inc/platform-disk-api | 0 | 155720 | from datetime import datetime, timedelta, timezone
def utc_now() -> datetime:
return datetime.now(timezone.utc)
def datetime_dump(dt: datetime) -> str:
return str(dt.timestamp())
def datetime_load(raw: str) -> datetime:
return datetime.fromtimestamp(float(raw), timezone.utc)
def timedelta_dump(td: timedelta) -> str:
return str(td.total_seconds())
def timedelta_load(raw: str) -> timedelta:
return timedelta(seconds=float(raw))
| [
1,
515,
12865,
1053,
12865,
29892,
5335,
287,
2554,
29892,
29431,
13,
13,
13,
1753,
3477,
29883,
29918,
3707,
580,
1599,
12865,
29901,
13,
1678,
736,
12865,
29889,
3707,
29898,
2230,
8028,
29889,
329,
29883,
29897,
13,
13,
13,
1753,
12865,
29918,
15070,
29898,
6008,
29901,
12865,
29897,
1599,
851,
29901,
13,
1678,
736,
851,
29898,
6008,
29889,
16394,
3101,
13,
13,
13,
1753,
12865,
29918,
1359,
29898,
1610,
29901,
851,
29897,
1599,
12865,
29901,
13,
1678,
736,
12865,
29889,
3166,
16394,
29898,
7411,
29898,
1610,
511,
29431,
29889,
329,
29883,
29897,
13,
13,
13,
1753,
5335,
287,
2554,
29918,
15070,
29898,
1594,
29901,
5335,
287,
2554,
29897,
1599,
851,
29901,
13,
1678,
736,
851,
29898,
1594,
29889,
7827,
29918,
23128,
3101,
13,
13,
13,
1753,
5335,
287,
2554,
29918,
1359,
29898,
1610,
29901,
851,
29897,
1599,
5335,
287,
2554,
29901,
13,
1678,
736,
5335,
287,
2554,
29898,
23128,
29922,
7411,
29898,
1610,
876,
13,
2
] |
wongkar_selling/wongkar_selling/doctype/rule/rule.py | Wahyulutfi97/wongkar_selling | 0 | 59067 | # -*- coding: utf-8 -*-
# Copyright (c) 2021, Wongkar and contributors
# For license information, please see license.txt
from __future__ import unicode_literals
import frappe
from frappe.model.document import Document
class Rule(Document):
def validate(self):
frappe.msgprint("after_insert")
# manufacture = frappe.get_value("Rule",{"item_code": self.item_code,"type": "Manufacture"}, "item_code")
# if manufacture:
# frappe.throw("Disconut Manufature Item "+manufacture+" sudah ada !")
# dealer = frappe.get_value("Rule",{"item_code": self.item_code,"type": "Dealer"}, "item_code")
# if dealer:
# frappe.throw("Disconut Dealer Item "+dealer+" sudah ada !")
# main_dealer = frappe.get_value("Rule",{"item_code": self.item_code,"type": "Main Dealer"}, "item_code")
# if main_dealer:
# frappe.throw("Disconut Main Dealer Item "+main_dealer+" sudah ada !")
leasing = frappe.db.get_value("Rule",{"item_code": self.item_code, "besar_dp" : self.besar_dp, "tenor": self.tenor}, "item_code")
if leasing:
frappe.throw("Disconut Item "+leasing+" sudah ada !")
if self.type == "Leasing" and self.besar_dp == "":
frappe.throw("Masukkan besad DP !")
if self.type == "Leasing" and self.tenor == "":
frappe.throw("Masukkan besad Tenor !")
# biaya_penjualan_kendaraan = frappe.get_value("Rule",{"item_code": self.item_code,"type": "Biaya Penjualan Kendaraan"}, "item_code")
# if biaya_penjualan_kendaraan:
# frappe.throw("Disconut Biaya Penjualan Kendaraan Item "+biaya_penjualan_kendaraan+" sudah ada !")
| [
1,
396,
448,
29930,
29899,
14137,
29901,
23616,
29899,
29947,
448,
29930,
29899,
13,
29937,
14187,
1266,
313,
29883,
29897,
29871,
29906,
29900,
29906,
29896,
29892,
399,
549,
5689,
322,
17737,
29560,
13,
29937,
1152,
19405,
2472,
29892,
3113,
1074,
19405,
29889,
3945,
13,
13,
3166,
4770,
29888,
9130,
1649,
1053,
29104,
29918,
20889,
1338,
13,
5215,
5227,
4798,
13,
3166,
5227,
4798,
29889,
4299,
29889,
3225,
1053,
10854,
13,
13,
1990,
27308,
29898,
6268,
1125,
13,
12,
1753,
12725,
29898,
1311,
1125,
13,
12,
12,
20910,
4798,
29889,
7645,
2158,
703,
7045,
29918,
7851,
1159,
13,
12,
12,
29937,
12012,
545,
353,
5227,
4798,
29889,
657,
29918,
1767,
703,
10740,
613,
6377,
667,
29918,
401,
1115,
1583,
29889,
667,
29918,
401,
1699,
1853,
1115,
376,
2517,
9765,
545,
10758,
376,
667,
29918,
401,
1159,
13,
12,
12,
29937,
565,
12012,
545,
29901,
13,
12,
12,
29937,
29871,
12,
20910,
4798,
29889,
20539,
703,
4205,
535,
329,
2315,
1137,
1535,
10976,
15691,
1171,
9765,
545,
13578,
5053,
801,
594,
29874,
1738,
1159,
13,
12,
12,
13,
12,
12,
29937,
5376,
261,
353,
5227,
4798,
29889,
657,
29918,
1767,
703,
10740,
613,
6377,
667,
29918,
401,
1115,
1583,
29889,
667,
29918,
401,
1699,
1853,
1115,
376,
2772,
18362,
10758,
376,
667,
29918,
401,
1159,
13,
12,
12,
29937,
565,
5376,
261,
29901,
13,
12,
12,
29937,
29871,
12,
20910,
4798,
29889,
20539,
703,
4205,
535,
329,
897,
18362,
10976,
15691,
311,
18362,
13578,
5053,
801,
594,
29874,
1738,
1159,
13,
13,
12,
12,
29937,
1667,
29918,
311,
18362,
353,
5227,
4798,
29889,
657,
29918,
1767,
703,
10740,
613,
6377,
667,
29918,
401,
1115,
1583,
29889,
667,
29918,
401,
1699,
1853,
1115,
376,
6330,
897,
18362,
10758,
376,
667,
29918,
401,
1159,
13,
12,
12,
29937,
565,
1667,
29918,
311,
18362,
29901,
13,
12,
12,
29937,
29871,
12,
20910,
4798,
29889,
20539,
703,
4205,
535,
329,
4241,
897,
18362,
10976,
15691,
3396,
29918,
311,
18362,
13578,
5053,
801,
594,
29874,
1738,
1159,
13,
13,
12,
12,
280,
5832,
353,
5227,
4798,
29889,
2585,
29889,
657,
29918,
1767,
703,
10740,
613,
6377,
667,
29918,
401,
1115,
1583,
29889,
667,
29918,
401,
29892,
376,
5707,
279,
29918,
6099,
29908,
584,
1583,
29889,
5707,
279,
29918,
6099,
29892,
376,
841,
272,
1115,
1583,
29889,
841,
272,
1118,
376,
667,
29918,
401,
1159,
13,
12,
12,
361,
454,
5832,
29901,
13,
12,
12,
12,
20910,
4798,
29889,
20539,
703,
4205,
535,
329,
10976,
15691,
280,
5832,
13578,
5053,
801,
594,
29874,
1738,
1159,
13,
12,
12,
13,
12,
12,
361,
1583,
29889,
1853,
1275,
376,
3226,
5832,
29908,
322,
1583,
29889,
5707,
279,
29918,
6099,
1275,
376,
1115,
13,
12,
12,
12,
20910,
4798,
29889,
20539,
703,
29924,
294,
2679,
11052,
3008,
328,
360,
29925,
1738,
1159,
13,
12,
12,
361,
1583,
29889,
1853,
1275,
376,
3226,
5832,
29908,
322,
1583,
29889,
841,
272,
1275,
376,
1115,
13,
12,
12,
12,
20910,
4798,
29889,
20539,
703,
29924,
294,
2679,
11052,
3008,
328,
12444,
272,
1738,
1159,
13,
13,
12,
12,
29937,
4768,
9010,
29918,
2238,
29926,
950,
273,
29918,
29895,
355,
2518,
273,
353,
5227,
4798,
29889,
657,
29918,
1767,
703,
10740,
613,
6377,
667,
29918,
401,
1115,
1583,
29889,
667,
29918,
401,
1699,
1853,
1115,
376,
20517,
9010,
7363,
29926,
950,
273,
476,
355,
2518,
273,
10758,
376,
667,
29918,
401,
1159,
13,
12,
12,
29937,
565,
4768,
9010,
29918,
2238,
29926,
950,
273,
29918,
29895,
355,
2518,
273,
29901,
13,
12,
12,
29937,
29871,
12,
20910,
4798,
29889,
20539,
703,
4205,
535,
329,
3457,
9010,
7363,
29926,
950,
273,
476,
355,
2518,
273,
10976,
15691,
5365,
9010,
29918,
2238,
29926,
950,
273,
29918,
29895,
355,
2518,
273,
13578,
5053,
801,
594,
29874,
1738,
1159,
13,
13,
12,
12,
13,
13,
2
] |
tensorflow/python/util/tf_should_use_test.py | npow/tensorflow | 0 | 4904 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
"""Unit tests for tf_should_use."""
# pylint: disable=unused-import
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import contextlib
import gc
import sys
from tensorflow.python.framework import constant_op
from tensorflow.python.platform import test
from tensorflow.python.platform import tf_logging
from tensorflow.python.util import tf_should_use
@contextlib.contextmanager
def reroute_error():
"""Temporarily reroute errors written to tf_logging.error into `captured`."""
with test.mock.patch.object(tf_should_use.tf_logging, 'error') as error:
with test.mock.patch.object(tf_should_use.tf_logging, 'fatal') as fatal:
yield error, fatal
class TfShouldUseTest(test.TestCase):
def testAddShouldUseWarningWhenNotUsed(self):
c = constant_op.constant(0, name='blah0')
def in_this_function():
h = tf_should_use._add_should_use_warning(c)
del h
with reroute_error() as (error, _):
in_this_function()
error.assert_called()
msg = '\n'.join(error.call_args[0])
self.assertIn('Object was never used', msg)
self.assertIn('blah0:0', msg)
self.assertIn('in_this_function', msg)
self.assertFalse(gc.garbage)
def testAddShouldUseFatalWhenNotUsed(self):
c = constant_op.constant(0, name='blah0')
def in_this_function():
h = tf_should_use._add_should_use_warning(c, fatal_error=True)
del h
with reroute_error() as (_, fatal):
in_this_function()
fatal.assert_called()
msg = '\n'.join(fatal.call_args[0])
self.assertIn('Object was never used', msg)
self.assertIn('blah0:0', msg)
self.assertIn('in_this_function', msg)
self.assertFalse(gc.garbage)
def _testAddShouldUseWarningWhenUsed(self, fn, name):
c = constant_op.constant(0, name=name)
with reroute_error() as (error, fatal):
h = tf_should_use._add_should_use_warning(c)
fn(h)
del h
error.assert_not_called()
fatal.assert_not_called()
def testAddShouldUseWarningWhenUsedWithAdd(self):
def add(h):
_ = h + 1
self._testAddShouldUseWarningWhenUsed(add, name='blah_add')
gc.collect()
self.assertFalse(gc.garbage)
def testAddShouldUseWarningWhenUsedWithGetName(self):
def get_name(h):
_ = h.name
self._testAddShouldUseWarningWhenUsed(get_name, name='blah_get_name')
gc.collect()
self.assertFalse(gc.garbage)
def testShouldUseResult(self):
@tf_should_use.should_use_result
def return_const(value):
return constant_op.constant(value, name='blah2')
with reroute_error() as (error, _):
return_const(0.0)
error.assert_called()
msg = '\n'.join(error.call_args[0])
self.assertIn('Object was never used', msg)
self.assertIn('blah2:0', msg)
self.assertIn('return_const', msg)
gc.collect()
self.assertFalse(gc.garbage)
def testShouldUseResultWhenNotReallyUsed(self):
@tf_should_use.should_use_result
def return_const(value):
return constant_op.constant(value, name='blah3')
with reroute_error() as (error, _):
with self.test_session():
return_const(0.0)
# Creating another op and executing it does not mark the
# unused op as being "used".
v = constant_op.constant(1.0, name='meh')
v.eval()
error.assert_called()
msg = '\n'.join(error.call_args[0])
self.assertIn('Object was never used', msg)
self.assertIn('blah3:0', msg)
self.assertIn('return_const', msg)
gc.collect()
self.assertFalse(gc.garbage)
# Tests that mark_used is available in the API.
def testMarkUsed(self):
@tf_should_use.should_use_result
def return_const(value):
return constant_op.constant(value, name='blah3')
with self.test_session():
return_const(0.0).mark_used()
if __name__ == '__main__':
test.main()
| [
1,
396,
14187,
1266,
29871,
29906,
29900,
29896,
29955,
450,
323,
6073,
17907,
13189,
943,
29889,
2178,
26863,
2538,
9841,
29889,
13,
29937,
13,
29937,
10413,
21144,
1090,
278,
13380,
19245,
29892,
10079,
29871,
29906,
29889,
29900,
313,
1552,
376,
29931,
293,
1947,
1496,
13,
29937,
366,
1122,
451,
671,
445,
934,
5174,
297,
752,
13036,
411,
278,
19245,
29889,
13,
29937,
887,
1122,
4017,
263,
3509,
310,
278,
19245,
472,
13,
29937,
13,
29937,
268,
1732,
597,
1636,
29889,
4288,
29889,
990,
29914,
506,
11259,
29914,
27888,
1430,
1660,
29899,
29906,
29889,
29900,
13,
29937,
13,
29937,
25870,
3734,
491,
22903,
4307,
470,
15502,
304,
297,
5007,
29892,
7047,
13,
29937,
13235,
1090,
278,
19245,
338,
13235,
373,
385,
376,
3289,
8519,
29908,
350,
3289,
3235,
29892,
13,
29937,
399,
1806,
8187,
2692,
399,
1718,
29934,
13566,
29059,
6323,
8707,
29928,
22122,
29903,
8079,
13764,
29979,
476,
22255,
29892,
2845,
4653,
470,
2411,
2957,
29889,
13,
29937,
2823,
278,
19245,
363,
278,
2702,
4086,
14765,
1076,
11239,
322,
13,
29937,
27028,
1090,
278,
19245,
29889,
13,
29937,
1275,
9166,
9166,
9166,
9166,
4936,
2751,
13,
15945,
29908,
8325,
6987,
363,
15886,
29918,
9344,
29918,
1509,
1213,
15945,
13,
13,
29937,
282,
2904,
524,
29901,
11262,
29922,
348,
3880,
29899,
5215,
13,
3166,
4770,
29888,
9130,
1649,
1053,
8380,
29918,
5215,
13,
3166,
4770,
29888,
9130,
1649,
1053,
8542,
13,
3166,
4770,
29888,
9130,
1649,
1053,
1596,
29918,
2220,
13,
13,
5215,
3030,
1982,
13,
5215,
330,
29883,
13,
5215,
10876,
13,
13,
3166,
26110,
29889,
4691,
29889,
4468,
1053,
4868,
29918,
459,
13,
3166,
26110,
29889,
4691,
29889,
12120,
1053,
1243,
13,
3166,
26110,
29889,
4691,
29889,
12120,
1053,
15886,
29918,
21027,
13,
3166,
26110,
29889,
4691,
29889,
4422,
1053,
15886,
29918,
9344,
29918,
1509,
13,
13,
13,
29992,
4703,
1982,
29889,
4703,
12847,
13,
1753,
364,
261,
2663,
29918,
2704,
7295,
13,
29871,
9995,
5776,
1971,
6275,
364,
261,
2663,
4436,
3971,
304,
15886,
29918,
21027,
29889,
2704,
964,
421,
17885,
2955,
29952,
1213,
15945,
13,
29871,
411,
1243,
29889,
17640,
29889,
5041,
29889,
3318,
29898,
13264,
29918,
9344,
29918,
1509,
29889,
13264,
29918,
21027,
29892,
525,
2704,
1495,
408,
1059,
29901,
13,
1678,
411,
1243,
29889,
17640,
29889,
5041,
29889,
3318,
29898,
13264,
29918,
9344,
29918,
1509,
29889,
13264,
29918,
21027,
29892,
525,
29888,
2075,
1495,
408,
18409,
29901,
13,
418,
7709,
1059,
29892,
18409,
13,
13,
13,
1990,
323,
29888,
26857,
11403,
3057,
29898,
1688,
29889,
3057,
8259,
1125,
13,
13,
29871,
822,
1243,
2528,
26857,
11403,
22709,
10401,
3664,
29965,
8485,
29898,
1311,
1125,
13,
1678,
274,
353,
4868,
29918,
459,
29889,
23362,
29898,
29900,
29892,
1024,
2433,
29844,
29900,
1495,
13,
1678,
822,
297,
29918,
1366,
29918,
2220,
7295,
13,
418,
298,
353,
15886,
29918,
9344,
29918,
1509,
3032,
1202,
29918,
9344,
29918,
1509,
29918,
27392,
29898,
29883,
29897,
13,
418,
628,
298,
13,
1678,
411,
364,
261,
2663,
29918,
2704,
580,
408,
313,
2704,
29892,
903,
1125,
13,
418,
297,
29918,
1366,
29918,
2220,
580,
13,
1678,
1059,
29889,
9294,
29918,
13998,
580,
13,
1678,
10191,
353,
11297,
29876,
4286,
7122,
29898,
2704,
29889,
4804,
29918,
5085,
29961,
29900,
2314,
13,
1678,
1583,
29889,
9294,
797,
877,
2061,
471,
2360,
1304,
742,
10191,
29897,
13,
1678,
1583,
29889,
9294,
797,
877,
29844,
29900,
29901,
29900,
742,
10191,
29897,
13,
1678,
1583,
29889,
9294,
797,
877,
262,
29918,
1366,
29918,
2220,
742,
10191,
29897,
13,
1678,
1583,
29889,
9294,
8824,
29898,
27354,
29889,
5397,
17807,
29897,
13,
13,
29871,
822,
1243,
2528,
26857,
11403,
29943,
2075,
10401,
3664,
29965,
8485,
29898,
1311,
1125,
13,
1678,
274,
353,
4868,
29918,
459,
29889,
23362,
29898,
29900,
29892,
1024,
2433,
29844,
29900,
1495,
13,
1678,
822,
297,
29918,
1366,
29918,
2220,
7295,
13,
418,
298,
353,
15886,
29918,
9344,
29918,
1509,
3032,
1202,
29918,
9344,
29918,
1509,
29918,
27392,
29898,
29883,
29892,
18409,
29918,
2704,
29922,
5574,
29897,
13,
418,
628,
298,
13,
1678,
411,
364,
261,
2663,
29918,
2704,
580,
408,
313,
3383,
18409,
1125,
13,
418,
297,
29918,
1366,
29918,
2220,
580,
13,
1678,
18409,
29889,
9294,
29918,
13998,
580,
13,
1678,
10191,
353,
11297,
29876,
4286,
7122,
29898,
29888,
2075,
29889,
4804,
29918,
5085,
29961,
29900,
2314,
13,
1678,
1583,
29889,
9294,
797,
877,
2061,
471,
2360,
1304,
742,
10191,
29897,
13,
1678,
1583,
29889,
9294,
797,
877,
29844,
29900,
29901,
29900,
742,
10191,
29897,
13,
1678,
1583,
29889,
9294,
797,
877,
262,
29918,
1366,
29918,
2220,
742,
10191,
29897,
13,
1678,
1583,
29889,
9294,
8824,
29898,
27354,
29889,
5397,
17807,
29897,
13,
13,
29871,
822,
903,
1688,
2528,
26857,
11403,
22709,
10401,
29965,
8485,
29898,
1311,
29892,
7876,
29892,
1024,
1125,
13,
1678,
274,
353,
4868,
29918,
459,
29889,
23362,
29898,
29900,
29892,
1024,
29922,
978,
29897,
13,
1678,
411,
364,
261,
2663,
29918,
2704,
580,
408,
313,
2704,
29892,
18409,
1125,
13,
418,
298,
353,
15886,
29918,
9344,
29918,
1509,
3032,
1202,
29918,
9344,
29918,
1509,
29918,
27392,
29898,
29883,
29897,
13,
418,
7876,
29898,
29882,
29897,
13,
418,
628,
298,
13,
1678,
1059,
29889,
9294,
29918,
1333,
29918,
13998,
580,
13,
1678,
18409,
29889,
9294,
29918,
1333,
29918,
13998,
580,
13,
13,
29871,
822,
1243,
2528,
26857,
11403,
22709,
10401,
29965,
8485,
3047,
2528,
29898,
1311,
1125,
13,
1678,
822,
788,
29898,
29882,
1125,
13,
418,
903,
353,
298,
718,
29871,
29896,
13,
1678,
1583,
3032,
1688,
2528,
26857,
11403,
22709,
10401,
29965,
8485,
29898,
1202,
29892,
1024,
2433,
29844,
29918,
1202,
1495,
13,
1678,
330,
29883,
29889,
15914,
580,
13,
1678,
1583,
29889,
9294,
8824,
29898,
27354,
29889,
5397,
17807,
29897,
13,
13,
29871,
822,
1243,
2528,
26857,
11403,
22709,
10401,
29965,
8485,
3047,
2577,
1170,
29898,
1311,
1125,
13,
1678,
822,
679,
29918,
978,
29898,
29882,
1125,
13,
418,
903,
353,
298,
29889,
978,
13,
1678,
1583,
3032,
1688,
2528,
26857,
11403,
22709,
10401,
29965,
8485,
29898,
657,
29918,
978,
29892,
1024,
2433,
29844,
29918,
657,
29918,
978,
1495,
13,
1678,
330,
29883,
29889,
15914,
580,
13,
1678,
1583,
29889,
9294,
8824,
29898,
27354,
29889,
5397,
17807,
29897,
13,
13,
29871,
822,
1243,
26857,
11403,
3591,
29898,
1311,
1125,
13,
1678,
732,
13264,
29918,
9344,
29918,
1509,
29889,
9344,
29918,
1509,
29918,
2914,
13,
1678,
822,
736,
29918,
3075,
29898,
1767,
1125,
13,
418,
736,
4868,
29918,
459,
29889,
23362,
29898,
1767,
29892,
1024,
2433,
29844,
29906,
1495,
13,
1678,
411,
364,
261,
2663,
29918,
2704,
580,
408,
313,
2704,
29892,
903,
1125,
13,
418,
736,
29918,
3075,
29898,
29900,
29889,
29900,
29897,
13,
1678,
1059,
29889,
9294,
29918,
13998,
580,
13,
1678,
10191,
353,
11297,
29876,
4286,
7122,
29898,
2704,
29889,
4804,
29918,
5085,
29961,
29900,
2314,
13,
1678,
1583,
29889,
9294,
797,
877,
2061,
471,
2360,
1304,
742,
10191,
29897,
13,
1678,
1583,
29889,
9294,
797,
877,
29844,
29906,
29901,
29900,
742,
10191,
29897,
13,
1678,
1583,
29889,
9294,
797,
877,
2457,
29918,
3075,
742,
10191,
29897,
13,
1678,
330,
29883,
29889,
15914,
580,
13,
1678,
1583,
29889,
9294,
8824,
29898,
27354,
29889,
5397,
17807,
29897,
13,
13,
29871,
822,
1243,
26857,
11403,
3591,
10401,
3664,
1123,
635,
29965,
8485,
29898,
1311,
1125,
13,
1678,
732,
13264,
29918,
9344,
29918,
1509,
29889,
9344,
29918,
1509,
29918,
2914,
13,
1678,
822,
736,
29918,
3075,
29898,
1767,
1125,
13,
418,
736,
4868,
29918,
459,
29889,
23362,
29898,
1767,
29892,
1024,
2433,
29844,
29941,
1495,
13,
1678,
411,
364,
261,
2663,
29918,
2704,
580,
408,
313,
2704,
29892,
903,
1125,
13,
418,
411,
1583,
29889,
1688,
29918,
7924,
7295,
13,
4706,
736,
29918,
3075,
29898,
29900,
29889,
29900,
29897,
13,
4706,
396,
26221,
1790,
1015,
322,
14012,
372,
947,
451,
2791,
278,
13,
4706,
396,
443,
3880,
1015,
408,
1641,
376,
3880,
1642,
13,
4706,
325,
353,
4868,
29918,
459,
29889,
23362,
29898,
29896,
29889,
29900,
29892,
1024,
2433,
1004,
29882,
1495,
13,
4706,
325,
29889,
14513,
580,
13,
1678,
1059,
29889,
9294,
29918,
13998,
580,
13,
1678,
10191,
353,
11297,
29876,
4286,
7122,
29898,
2704,
29889,
4804,
29918,
5085,
29961,
29900,
2314,
13,
1678,
1583,
29889,
9294,
797,
877,
2061,
471,
2360,
1304,
742,
10191,
29897,
13,
1678,
1583,
29889,
9294,
797,
877,
29844,
29941,
29901,
29900,
742,
10191,
29897,
13,
1678,
1583,
29889,
9294,
797,
877,
2457,
29918,
3075,
742,
10191,
29897,
13,
1678,
330,
29883,
29889,
15914,
580,
13,
1678,
1583,
29889,
9294,
8824,
29898,
27354,
29889,
5397,
17807,
29897,
13,
13,
29871,
396,
4321,
29879,
393,
2791,
29918,
3880,
338,
3625,
297,
278,
3450,
29889,
13,
29871,
822,
1243,
9802,
29965,
8485,
29898,
1311,
1125,
13,
1678,
732,
13264,
29918,
9344,
29918,
1509,
29889,
9344,
29918,
1509,
29918,
2914,
13,
1678,
822,
736,
29918,
3075,
29898,
1767,
1125,
13,
418,
736,
4868,
29918,
459,
29889,
23362,
29898,
1767,
29892,
1024,
2433,
29844,
29941,
1495,
13,
1678,
411,
1583,
29889,
1688,
29918,
7924,
7295,
13,
418,
736,
29918,
3075,
29898,
29900,
29889,
29900,
467,
3502,
29918,
3880,
580,
13,
13,
361,
4770,
978,
1649,
1275,
525,
1649,
3396,
1649,
2396,
13,
29871,
1243,
29889,
3396,
580,
13,
2
] |
src/evaluators/parser_evaluator.py | shigashiyama/seikanlp | 4 | 114323 | import sys
from evaluators.common import AccuracyEvaluator, DoubleAccuracyEvaluator
class ParserEvaluator(AccuracyEvaluator):
def __init__(self, ignore_head=True):
super().__init__(ignore_head=ignore_head, ignored_labels=set())
class TypedParserEvaluator(DoubleAccuracyEvaluator):
def __init__(self, ignore_head=True, ignored_labels=set()):
super().__init__(ignore_head=ignore_head, ignored_labels=ignored_labels)
def report_results(self, sen_counter, counts, loss, file=sys.stderr):
ave_loss = loss / counts.l1.total
uas = 1.*counts.l1.correct / counts.l1.total
las = 1.*counts.l2.correct / counts.l2.total
print('ave loss: %.5f'% ave_loss, file=file)
print('sen, token, correct head, correct label: {} {} {} {}'.format(
sen_counter, counts.l1.total, counts.l1.correct, counts.l2.correct), file=file)
print('UAS, LAS:%6.2f %6.2f' % ((100.*uas), (100.*las)), file=file)
res = '%.2f\t%.2f\t%.4f' % ((100.*uas), (100.*las), ave_loss)
return res
| [
1,
1053,
10876,
13,
13,
3166,
6161,
4097,
29889,
9435,
1053,
4831,
332,
4135,
29923,
4387,
1061,
29892,
11599,
7504,
332,
4135,
29923,
4387,
1061,
13,
13,
13,
1990,
1459,
643,
29923,
4387,
1061,
29898,
7504,
332,
4135,
29923,
4387,
1061,
1125,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
11455,
29918,
2813,
29922,
5574,
1125,
13,
4706,
2428,
2141,
1649,
2344,
12035,
17281,
29918,
2813,
29922,
17281,
29918,
2813,
29892,
17262,
29918,
21134,
29922,
842,
3101,
13,
13,
13,
1990,
14213,
287,
11726,
29923,
4387,
1061,
29898,
11843,
7504,
332,
4135,
29923,
4387,
1061,
1125,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
11455,
29918,
2813,
29922,
5574,
29892,
17262,
29918,
21134,
29922,
842,
580,
1125,
13,
4706,
2428,
2141,
1649,
2344,
12035,
17281,
29918,
2813,
29922,
17281,
29918,
2813,
29892,
17262,
29918,
21134,
29922,
647,
4395,
29918,
21134,
29897,
13,
13,
13,
1678,
822,
3461,
29918,
9902,
29898,
1311,
29892,
6940,
29918,
11808,
29892,
18139,
29892,
6410,
29892,
934,
29922,
9675,
29889,
303,
20405,
1125,
13,
4706,
8992,
29918,
6758,
353,
6410,
847,
18139,
29889,
29880,
29896,
29889,
7827,
13,
4706,
318,
294,
353,
29871,
29896,
5575,
2798,
29879,
29889,
29880,
29896,
29889,
15728,
847,
18139,
29889,
29880,
29896,
29889,
7827,
13,
4706,
1869,
353,
29871,
29896,
5575,
2798,
29879,
29889,
29880,
29906,
29889,
15728,
847,
18139,
29889,
29880,
29906,
29889,
7827,
13,
308,
13,
4706,
1596,
877,
1351,
6410,
29901,
18695,
29945,
29888,
29915,
29995,
8992,
29918,
6758,
29892,
934,
29922,
1445,
29897,
13,
4706,
1596,
877,
4881,
29892,
5993,
29892,
1959,
2343,
29892,
1959,
3858,
29901,
6571,
6571,
6571,
6571,
4286,
4830,
29898,
13,
9651,
6940,
29918,
11808,
29892,
18139,
29889,
29880,
29896,
29889,
7827,
29892,
18139,
29889,
29880,
29896,
29889,
15728,
29892,
18139,
29889,
29880,
29906,
29889,
15728,
511,
934,
29922,
1445,
29897,
13,
4706,
1596,
877,
29965,
3289,
29892,
365,
3289,
16664,
29953,
29889,
29906,
29888,
1273,
29953,
29889,
29906,
29888,
29915,
1273,
5135,
29896,
29900,
29900,
5575,
29884,
294,
511,
313,
29896,
29900,
29900,
5575,
3333,
8243,
934,
29922,
1445,
29897,
13,
13,
4706,
620,
353,
14210,
29889,
29906,
29888,
29905,
29873,
15543,
29906,
29888,
29905,
29873,
15543,
29946,
29888,
29915,
1273,
5135,
29896,
29900,
29900,
5575,
29884,
294,
511,
313,
29896,
29900,
29900,
5575,
3333,
511,
8992,
29918,
6758,
29897,
13,
4706,
736,
620,
13,
2
] |
graphql_subscription_manager/__init__.py | Danielhiversen/PyGraphqlWebsocketManager | 0 | 26288 | """Subscription manager for Graph QL websocket."""
import asyncio
import json
import logging
import socket
import sys
from time import time
import pkg_resources
import websockets
_LOGGER = logging.getLogger(__name__)
STATE_STARTING = "starting"
STATE_RUNNING = "running"
STATE_STOPPED = "stopped"
try:
VERSION = pkg_resources.require("graphql-subscription-manager")[0].version
except Exception: # pylint: disable=broad-except
VERSION = "dev"
class SubscriptionManager:
"""Subscription manager."""
# pylint: disable=too-many-instance-attributes
def __init__(self, init_payload, url):
"""Create resources for websocket communication."""
try:
self.loop = asyncio.get_running_loop()
except RuntimeError:
self.loop = asyncio.get_event_loop()
self.subscriptions = {}
self._url = url
self._state = None
self.websocket = None
self._retry_timer = None
self._client_task = None
self._wait_time_before_retry = 15
self._session_id = 0
self._init_payload = init_payload
self._show_connection_error = True
self._is_running = False
self._user_agent = "Python/{0[0]}.{0[1]} PyGraphqlWebsocketManager/{1}".format(
sys.version_info, VERSION
)
def start(self):
"""Start websocket."""
_LOGGER.debug("Start state %s.", self._state)
if self._state == STATE_RUNNING:
return
self._state = STATE_STARTING
self._cancel_client_task()
self._client_task = self.loop.create_task(self.running())
for subscription in self.subscriptions.copy():
callback, sub_query = self.subscriptions.pop(subscription, (None, None))
_LOGGER.debug("Removed, %s", subscription)
if callback is None:
continue
_LOGGER.debug("Add subscription %s", callback)
self.loop.create_task(self.subscribe(sub_query, callback))
@property
def is_running(self):
"""Return if client is running or not."""
return self._is_running
async def running(self):
"""Start websocket connection."""
# pylint: disable=too-many-branches, too-many-statements
await self._close_websocket()
_LOGGER.debug("Starting")
try:
self.websocket = await asyncio.wait_for(
websockets.connect(
self._url,
subprotocols=["graphql-subscriptions"],
extra_headers={"User-Agent": self._user_agent},
),
timeout=30,
)
except Exception: # pylint: disable=broad-except
_LOGGER.debug("Failed to connect. Reconnecting... ", exc_info=True)
self._state = STATE_STOPPED
self.retry()
return
self._state = STATE_RUNNING
_LOGGER.debug("Running")
await self.websocket.send(
json.dumps({"type": "init", "payload": self._init_payload})
)
try:
k = 0
while self._state == STATE_RUNNING:
try:
msg = await asyncio.wait_for(self.websocket.recv(), timeout=30)
except asyncio.TimeoutError:
k += 1
if k > 10:
if self._show_connection_error:
_LOGGER.error("No data, reconnecting.")
self._show_connection_error = False
else:
_LOGGER.warning("No data, reconnecting.")
self._is_running = False
_LOGGER.debug("Reconnecting")
self._state = STATE_STOPPED
self.retry()
_LOGGER.debug(
"No websocket data in 30 seconds, checking the connection."
)
try:
pong_waiter = await self.websocket.ping()
await asyncio.wait_for(pong_waiter, timeout=10)
except asyncio.TimeoutError:
if self._show_connection_error:
_LOGGER.error(
"No response to ping in 10 seconds, reconnecting."
)
self._show_connection_error = False
else:
_LOGGER.warning(
"No response to ping in 10 seconds, reconnecting."
)
self._is_running = False
_LOGGER.debug("Reconnecting")
self._state = STATE_STOPPED
self.retry()
continue
k = 0
self._is_running = True
await self._process_msg(msg)
self._show_connection_error = True
except (websockets.exceptions.InvalidStatusCode, socket.gaierror):
if self._show_connection_error:
_LOGGER.error("Connection error", exc_info=True)
self._show_connection_error = False
else:
_LOGGER.debug("Connection error", exc_info=True)
except websockets.exceptions.ConnectionClosed:
if self._show_connection_error and self._state != STATE_STOPPED:
_LOGGER.error("Connection error", exc_info=True)
self._show_connection_error = False
else:
_LOGGER.debug("Connection error", exc_info=True)
except Exception: # pylint: disable=broad-except
_LOGGER.error("Unexpected error", exc_info=True)
finally:
await self._close_websocket()
if self._state != STATE_STOPPED:
_LOGGER.debug("Reconnecting")
self._state = STATE_STOPPED
self.retry()
_LOGGER.debug("Closing running task.")
async def stop(self, timeout=10):
"""Close websocket connection."""
_LOGGER.debug("Stopping client.")
start_time = time()
self._cancel_retry_timer()
for subscription_id in range(len(self.subscriptions)):
_LOGGER.debug("Sending unsubscribe: %s", subscription_id)
await self.unsubscribe(subscription_id)
while (
timeout > 0
and self.websocket is not None
and not self.subscriptions
and (time() - start_time) < timeout / 2
):
await asyncio.sleep(0.1)
self._state = STATE_STOPPED
await self._close_websocket()
while (
timeout > 0
and self.websocket is not None
and not self.websocket.closed
and (time() - start_time) < timeout
):
await asyncio.sleep(0.1)
self._cancel_client_task()
_LOGGER.debug("Server connection is stopped")
def retry(self):
"""Retry to connect to websocket."""
_LOGGER.debug("Retry, state: %s", self._state)
if self._state in [STATE_STARTING, STATE_RUNNING]:
_LOGGER.debug("Skip retry since state: %s", self._state)
return
_LOGGER.debug("Cancel retry timer")
self._cancel_retry_timer()
self._state = STATE_STARTING
_LOGGER.debug("Restart")
self._retry_timer = self.loop.call_later(
self._wait_time_before_retry, self.start
)
_LOGGER.debug(
"Reconnecting to server in %i seconds.", self._wait_time_before_retry
)
async def subscribe(self, sub_query, callback, timeout=3):
"""Add a new subscription."""
current_session_id = self._session_id
self._session_id += 1
subscription = {
"query": sub_query,
"type": "subscription_start",
"id": current_session_id,
}
json_subscription = json.dumps(subscription)
self.subscriptions[current_session_id] = (callback, sub_query)
start_time = time()
while time() - start_time < timeout:
if (
self.websocket is None
or not self.websocket.open
or not self._state == STATE_RUNNING
):
await asyncio.sleep(1)
continue
await self.websocket.send(json_subscription)
_LOGGER.debug("New subscription %s", current_session_id)
return current_session_id
async def unsubscribe(self, subscription_id):
"""Unsubscribe."""
if self.websocket is None or not self.websocket.open:
_LOGGER.warning("Websocket is closed.")
return
await self.websocket.send(
json.dumps({"id": subscription_id, "type": "subscription_end"})
)
if self.subscriptions and subscription_id in self.subscriptions:
self.subscriptions.pop(subscription_id)
async def _close_websocket(self):
if self.websocket is None:
return
try:
await self.websocket.close()
finally:
self.websocket = None
async def _process_msg(self, msg):
"""Process received msg."""
result = json.loads(msg)
_LOGGER.debug("Recv, %s", result)
if result.get("type") == "init_fail":
if (
result.get("payload", {}).get("error")
== "Too many concurrent sockets for token"
):
self._wait_time_before_retry = self._wait_time_before_retry * 2
if self._wait_time_before_retry >= 120:
_LOGGER.error(
"Connection is closed, too many concurrent sockets for token"
)
self._wait_time_before_retry = min(self._wait_time_before_retry, 600)
return
_LOGGER.error(result.get("payload", {}).get("error"))
return
subscription_id = result.get("id")
if subscription_id is None:
return
callback, _ = self.subscriptions.get(subscription_id, (None, None))
if callback is None:
_LOGGER.debug("Unknown id %s.", subscription_id)
return
if result.get("type", "") == "complete":
_LOGGER.debug("Unsubscribe %s successfully.", subscription_id)
return
data = result.get("payload")
if data is None:
return
self._wait_time_before_retry = 15
try:
await callback(data)
except TypeError as exp:
if "object NoneType can't be used in 'await' expression" in str(exp):
callback(data)
return
raise exp
def _cancel_retry_timer(self):
if self._retry_timer is None:
return
try:
self._retry_timer.cancel()
finally:
self._retry_timer = None
def _cancel_client_task(self):
if self._client_task is None:
return
try:
self._client_task.cancel()
finally:
self._client_task = None
| [
1,
9995,
4035,
22371,
8455,
363,
12367,
660,
29931,
1856,
11514,
1213,
15945,
13,
13,
5215,
408,
948,
3934,
13,
5215,
4390,
13,
5215,
12183,
13,
5215,
9909,
13,
5215,
10876,
13,
3166,
931,
1053,
931,
13,
13,
5215,
282,
9415,
29918,
13237,
13,
5215,
1856,
578,
9737,
13,
13,
29918,
14480,
17070,
353,
12183,
29889,
657,
16363,
22168,
978,
1649,
29897,
13,
13,
19713,
29918,
25826,
4214,
353,
376,
2962,
292,
29908,
13,
19713,
29918,
29934,
3904,
29940,
4214,
353,
376,
21094,
29908,
13,
19713,
29918,
1254,
4590,
29925,
3352,
353,
376,
7864,
2986,
29908,
13,
13,
2202,
29901,
13,
1678,
478,
1001,
13381,
353,
282,
9415,
29918,
13237,
29889,
12277,
703,
4262,
1519,
29899,
1491,
22371,
29899,
12847,
1159,
29961,
29900,
1822,
3259,
13,
19499,
8960,
29901,
29871,
396,
282,
2904,
524,
29901,
11262,
29922,
6729,
328,
29899,
19499,
13,
1678,
478,
1001,
13381,
353,
376,
3359,
29908,
13,
13,
13,
1990,
3323,
22371,
3260,
29901,
13,
1678,
9995,
4035,
22371,
8455,
1213,
15945,
13,
13,
1678,
396,
282,
2904,
524,
29901,
11262,
29922,
517,
29877,
29899,
13011,
29899,
8758,
29899,
15697,
13,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
2069,
29918,
23813,
29892,
3142,
1125,
13,
4706,
9995,
4391,
7788,
363,
1856,
11514,
12084,
1213,
15945,
13,
4706,
1018,
29901,
13,
9651,
1583,
29889,
7888,
353,
408,
948,
3934,
29889,
657,
29918,
21094,
29918,
7888,
580,
13,
4706,
5174,
24875,
2392,
29901,
13,
9651,
1583,
29889,
7888,
353,
408,
948,
3934,
29889,
657,
29918,
3696,
29918,
7888,
580,
13,
4706,
1583,
29889,
1491,
7588,
1980,
353,
6571,
13,
4706,
1583,
3032,
2271,
353,
3142,
13,
4706,
1583,
3032,
3859,
353,
6213,
13,
4706,
1583,
29889,
2676,
11514,
353,
6213,
13,
4706,
1583,
3032,
276,
2202,
29918,
20404,
353,
6213,
13,
4706,
1583,
3032,
4645,
29918,
7662,
353,
6213,
13,
4706,
1583,
3032,
10685,
29918,
2230,
29918,
11083,
29918,
276,
2202,
353,
29871,
29896,
29945,
13,
4706,
1583,
3032,
7924,
29918,
333,
353,
29871,
29900,
13,
4706,
1583,
3032,
2344,
29918,
23813,
353,
2069,
29918,
23813,
13,
4706,
1583,
3032,
4294,
29918,
9965,
29918,
2704,
353,
5852,
13,
4706,
1583,
3032,
275,
29918,
21094,
353,
7700,
13,
4706,
1583,
3032,
1792,
29918,
14748,
353,
376,
11980,
19248,
29900,
29961,
29900,
29962,
1836,
29912,
29900,
29961,
29896,
12258,
10772,
9527,
1519,
3609,
11514,
3260,
19248,
29896,
29913,
1642,
4830,
29898,
13,
9651,
10876,
29889,
3259,
29918,
3888,
29892,
478,
1001,
13381,
13,
4706,
1723,
13,
13,
1678,
822,
1369,
29898,
1311,
1125,
13,
4706,
9995,
4763,
1856,
11514,
1213,
15945,
13,
4706,
903,
14480,
17070,
29889,
8382,
703,
4763,
2106,
1273,
29879,
19602,
1583,
3032,
3859,
29897,
13,
4706,
565,
1583,
3032,
3859,
1275,
6850,
3040,
29918,
29934,
3904,
29940,
4214,
29901,
13,
9651,
736,
13,
4706,
1583,
3032,
3859,
353,
6850,
3040,
29918,
25826,
4214,
13,
4706,
1583,
3032,
20713,
29918,
4645,
29918,
7662,
580,
13,
4706,
1583,
3032,
4645,
29918,
7662,
353,
1583,
29889,
7888,
29889,
3258,
29918,
7662,
29898,
1311,
29889,
21094,
3101,
13,
4706,
363,
25691,
297,
1583,
29889,
1491,
7588,
1980,
29889,
8552,
7295,
13,
9651,
6939,
29892,
1014,
29918,
1972,
353,
1583,
29889,
1491,
7588,
1980,
29889,
7323,
29898,
1491,
22371,
29892,
313,
8516,
29892,
6213,
876,
13,
9651,
903,
14480,
17070,
29889,
8382,
703,
7301,
8238,
29892,
1273,
29879,
613,
25691,
29897,
13,
9651,
565,
6939,
338,
6213,
29901,
13,
18884,
6773,
13,
9651,
903,
14480,
17070,
29889,
8382,
703,
2528,
25691,
1273,
29879,
613,
6939,
29897,
13,
9651,
1583,
29889,
7888,
29889,
3258,
29918,
7662,
29898,
1311,
29889,
19496,
29898,
1491,
29918,
1972,
29892,
6939,
876,
13,
13,
1678,
732,
6799,
13,
1678,
822,
338,
29918,
21094,
29898,
1311,
1125,
13,
4706,
9995,
11609,
565,
3132,
338,
2734,
470,
451,
1213,
15945,
13,
4706,
736,
1583,
3032,
275,
29918,
21094,
13,
13,
1678,
7465,
822,
2734,
29898,
1311,
1125,
13,
4706,
9995,
4763,
1856,
11514,
3957,
1213,
15945,
13,
4706,
396,
282,
2904,
524,
29901,
11262,
29922,
517,
29877,
29899,
13011,
29899,
17519,
267,
29892,
2086,
29899,
13011,
29899,
6112,
4110,
13,
13,
4706,
7272,
1583,
3032,
5358,
29918,
2676,
11514,
580,
13,
13,
4706,
903,
14480,
17070,
29889,
8382,
703,
4763,
292,
1159,
13,
4706,
1018,
29901,
13,
9651,
1583,
29889,
2676,
11514,
353,
7272,
408,
948,
3934,
29889,
10685,
29918,
1454,
29898,
13,
18884,
1856,
578,
9737,
29889,
6915,
29898,
13,
462,
1678,
1583,
3032,
2271,
29892,
13,
462,
1678,
1014,
20464,
29879,
29922,
3366,
4262,
1519,
29899,
1491,
7588,
1980,
12436,
13,
462,
1678,
4805,
29918,
13662,
3790,
29908,
2659,
29899,
19661,
1115,
1583,
3032,
1792,
29918,
14748,
1118,
13,
18884,
10353,
13,
18884,
11815,
29922,
29941,
29900,
29892,
13,
9651,
1723,
13,
4706,
5174,
8960,
29901,
29871,
396,
282,
2904,
524,
29901,
11262,
29922,
6729,
328,
29899,
19499,
13,
9651,
903,
14480,
17070,
29889,
8382,
703,
17776,
304,
4511,
29889,
830,
6915,
292,
856,
9162,
5566,
29918,
3888,
29922,
5574,
29897,
13,
9651,
1583,
3032,
3859,
353,
6850,
3040,
29918,
1254,
4590,
29925,
3352,
13,
9651,
1583,
29889,
276,
2202,
580,
13,
9651,
736,
13,
13,
4706,
1583,
3032,
3859,
353,
6850,
3040,
29918,
29934,
3904,
29940,
4214,
13,
4706,
903,
14480,
17070,
29889,
8382,
703,
27795,
1159,
13,
4706,
7272,
1583,
29889,
2676,
11514,
29889,
6717,
29898,
13,
9651,
4390,
29889,
29881,
17204,
3319,
29908,
1853,
1115,
376,
2344,
613,
376,
23813,
1115,
1583,
3032,
2344,
29918,
23813,
1800,
13,
4706,
1723,
13,
13,
4706,
1018,
29901,
13,
9651,
413,
353,
29871,
29900,
13,
9651,
1550,
1583,
3032,
3859,
1275,
6850,
3040,
29918,
29934,
3904,
29940,
4214,
29901,
13,
18884,
1018,
29901,
13,
462,
1678,
10191,
353,
7272,
408,
948,
3934,
29889,
10685,
29918,
1454,
29898,
1311,
29889,
2676,
11514,
29889,
3757,
29894,
3285,
11815,
29922,
29941,
29900,
29897,
13,
18884,
5174,
408,
948,
3934,
29889,
10851,
2392,
29901,
13,
462,
1678,
413,
4619,
29871,
29896,
13,
462,
1678,
565,
413,
1405,
29871,
29896,
29900,
29901,
13,
462,
4706,
565,
1583,
3032,
4294,
29918,
9965,
29918,
2704,
29901,
13,
462,
9651,
903,
14480,
17070,
29889,
2704,
703,
3782,
848,
29892,
337,
6915,
292,
23157,
13,
462,
9651,
1583,
3032,
4294,
29918,
9965,
29918,
2704,
353,
7700,
13,
462,
4706,
1683,
29901,
13,
462,
9651,
903,
14480,
17070,
29889,
27392,
703,
3782,
848,
29892,
337,
6915,
292,
23157,
13,
462,
4706,
1583,
3032,
275,
29918,
21094,
353,
7700,
13,
462,
4706,
903,
14480,
17070,
29889,
8382,
703,
1123,
6915,
292,
1159,
13,
462,
4706,
1583,
3032,
3859,
353,
6850,
3040,
29918,
1254,
4590,
29925,
3352,
13,
462,
4706,
1583,
29889,
276,
2202,
580,
13,
13,
462,
1678,
903,
14480,
17070,
29889,
8382,
29898,
13,
462,
4706,
376,
3782,
1856,
11514,
848,
297,
29871,
29941,
29900,
6923,
29892,
8454,
278,
3957,
1213,
13,
462,
1678,
1723,
13,
462,
1678,
1018,
29901,
13,
462,
4706,
282,
549,
29918,
10685,
261,
353,
7272,
1583,
29889,
2676,
11514,
29889,
15702,
580,
13,
462,
4706,
7272,
408,
948,
3934,
29889,
10685,
29918,
1454,
29898,
29886,
549,
29918,
10685,
261,
29892,
11815,
29922,
29896,
29900,
29897,
13,
462,
1678,
5174,
408,
948,
3934,
29889,
10851,
2392,
29901,
13,
462,
4706,
565,
1583,
3032,
4294,
29918,
9965,
29918,
2704,
29901,
13,
462,
9651,
903,
14480,
17070,
29889,
2704,
29898,
13,
462,
18884,
376,
3782,
2933,
304,
24543,
297,
29871,
29896,
29900,
6923,
29892,
337,
6915,
292,
1213,
13,
462,
9651,
1723,
13,
462,
9651,
1583,
3032,
4294,
29918,
9965,
29918,
2704,
353,
7700,
13,
462,
4706,
1683,
29901,
13,
462,
9651,
903,
14480,
17070,
29889,
27392,
29898,
13,
462,
18884,
376,
3782,
2933,
304,
24543,
297,
29871,
29896,
29900,
6923,
29892,
337,
6915,
292,
1213,
13,
462,
9651,
1723,
13,
462,
4706,
1583,
3032,
275,
29918,
21094,
353,
7700,
13,
462,
4706,
903,
14480,
17070,
29889,
8382,
703,
1123,
6915,
292,
1159,
13,
462,
4706,
1583,
3032,
3859,
353,
6850,
3040,
29918,
1254,
4590,
29925,
3352,
13,
462,
4706,
1583,
29889,
276,
2202,
580,
13,
13,
462,
1678,
6773,
13,
13,
18884,
413,
353,
29871,
29900,
13,
18884,
1583,
3032,
275,
29918,
21094,
353,
5852,
13,
18884,
7272,
1583,
3032,
5014,
29918,
7645,
29898,
7645,
29897,
13,
18884,
1583,
3032,
4294,
29918,
9965,
29918,
2704,
353,
5852,
13,
13,
4706,
5174,
313,
2676,
578,
9737,
29889,
11739,
29879,
29889,
13919,
5709,
3399,
29892,
9909,
29889,
3249,
631,
729,
1125,
13,
9651,
565,
1583,
3032,
4294,
29918,
9965,
29918,
2704,
29901,
13,
18884,
903,
14480,
17070,
29889,
2704,
703,
5350,
1059,
613,
5566,
29918,
3888,
29922,
5574,
29897,
13,
18884,
1583,
3032,
4294,
29918,
9965,
29918,
2704,
353,
7700,
13,
9651,
1683,
29901,
13,
18884,
903,
14480,
17070,
29889,
8382,
703,
5350,
1059,
613,
5566,
29918,
3888,
29922,
5574,
29897,
13,
4706,
5174,
1856,
578,
9737,
29889,
11739,
29879,
29889,
5350,
6821,
2662,
29901,
13,
9651,
565,
1583,
3032,
4294,
29918,
9965,
29918,
2704,
322,
1583,
3032,
3859,
2804,
6850,
3040,
29918,
1254,
4590,
29925,
3352,
29901,
13,
18884,
903,
14480,
17070,
29889,
2704,
703,
5350,
1059,
613,
5566,
29918,
3888,
29922,
5574,
29897,
13,
18884,
1583,
3032,
4294,
29918,
9965,
29918,
2704,
353,
7700,
13,
9651,
1683,
29901,
13,
18884,
903,
14480,
17070,
29889,
8382,
703,
5350,
1059,
613,
5566,
29918,
3888,
29922,
5574,
29897,
13,
4706,
5174,
8960,
29901,
29871,
396,
282,
2904,
524,
29901,
11262,
29922,
6729,
328,
29899,
19499,
13,
9651,
903,
14480,
17070,
29889,
2704,
703,
29965,
13996,
6021,
1059,
613,
5566,
29918,
3888,
29922,
5574,
29897,
13,
4706,
7146,
29901,
13,
9651,
7272,
1583,
3032,
5358,
29918,
2676,
11514,
580,
13,
9651,
565,
1583,
3032,
3859,
2804,
6850,
3040,
29918,
1254,
4590,
29925,
3352,
29901,
13,
18884,
903,
14480,
17070,
29889,
8382,
703,
1123,
6915,
292,
1159,
13,
18884,
1583,
3032,
3859,
353,
6850,
3040,
29918,
1254,
4590,
29925,
3352,
13,
18884,
1583,
29889,
276,
2202,
580,
13,
9651,
903,
14480,
17070,
29889,
8382,
703,
29907,
5409,
292,
2734,
3414,
23157,
13,
13,
1678,
7465,
822,
5040,
29898,
1311,
29892,
11815,
29922,
29896,
29900,
1125,
13,
4706,
9995,
11123,
1856,
11514,
3957,
1213,
15945,
13,
4706,
903,
14480,
17070,
29889,
8382,
703,
20754,
3262,
3132,
23157,
13,
4706,
1369,
29918,
2230,
353,
931,
580,
13,
4706,
1583,
3032,
20713,
29918,
276,
2202,
29918,
20404,
580,
13,
13,
4706,
363,
25691,
29918,
333,
297,
3464,
29898,
2435,
29898,
1311,
29889,
1491,
7588,
1980,
22164,
13,
9651,
903,
14480,
17070,
29889,
8382,
703,
29903,
2548,
443,
19496,
29901,
1273,
29879,
613,
25691,
29918,
333,
29897,
13,
9651,
7272,
1583,
29889,
348,
19496,
29898,
1491,
22371,
29918,
333,
29897,
13,
13,
4706,
1550,
313,
13,
9651,
11815,
1405,
29871,
29900,
13,
9651,
322,
1583,
29889,
2676,
11514,
338,
451,
6213,
13,
9651,
322,
451,
1583,
29889,
1491,
7588,
1980,
13,
9651,
322,
313,
2230,
580,
448,
1369,
29918,
2230,
29897,
529,
11815,
847,
29871,
29906,
13,
308,
1125,
13,
9651,
7272,
408,
948,
3934,
29889,
17059,
29898,
29900,
29889,
29896,
29897,
13,
13,
4706,
1583,
3032,
3859,
353,
6850,
3040,
29918,
1254,
4590,
29925,
3352,
13,
4706,
7272,
1583,
3032,
5358,
29918,
2676,
11514,
580,
13,
13,
4706,
1550,
313,
13,
9651,
11815,
1405,
29871,
29900,
13,
9651,
322,
1583,
29889,
2676,
11514,
338,
451,
6213,
13,
9651,
322,
451,
1583,
29889,
2676,
11514,
29889,
15603,
13,
9651,
322,
313,
2230,
580,
448,
1369,
29918,
2230,
29897,
529,
11815,
13,
308,
1125,
13,
9651,
7272,
408,
948,
3934,
29889,
17059,
29898,
29900,
29889,
29896,
29897,
13,
13,
4706,
1583,
3032,
20713,
29918,
4645,
29918,
7662,
580,
13,
4706,
903,
14480,
17070,
29889,
8382,
703,
6004,
3957,
338,
11084,
1159,
13,
13,
1678,
822,
337,
2202,
29898,
1311,
1125,
13,
4706,
9995,
8015,
719,
304,
4511,
304,
1856,
11514,
1213,
15945,
13,
4706,
903,
14480,
17070,
29889,
8382,
703,
8015,
719,
29892,
2106,
29901,
1273,
29879,
613,
1583,
3032,
3859,
29897,
13,
4706,
565,
1583,
3032,
3859,
297,
518,
19713,
29918,
25826,
4214,
29892,
6850,
3040,
29918,
29934,
3904,
29940,
4214,
5387,
13,
9651,
903,
14480,
17070,
29889,
8382,
703,
15797,
666,
337,
2202,
1951,
2106,
29901,
1273,
29879,
613,
1583,
3032,
3859,
29897,
13,
9651,
736,
13,
4706,
903,
14480,
17070,
29889,
8382,
703,
19420,
337,
2202,
12237,
1159,
13,
4706,
1583,
3032,
20713,
29918,
276,
2202,
29918,
20404,
580,
13,
4706,
1583,
3032,
3859,
353,
6850,
3040,
29918,
25826,
4214,
13,
4706,
903,
14480,
17070,
29889,
8382,
703,
15078,
442,
1159,
13,
4706,
1583,
3032,
276,
2202,
29918,
20404,
353,
1583,
29889,
7888,
29889,
4804,
29918,
29880,
1008,
29898,
13,
9651,
1583,
3032,
10685,
29918,
2230,
29918,
11083,
29918,
276,
2202,
29892,
1583,
29889,
2962,
13,
4706,
1723,
13,
4706,
903,
14480,
17070,
29889,
8382,
29898,
13,
9651,
376,
1123,
6915,
292,
304,
1923,
297,
1273,
29875,
6923,
19602,
1583,
3032,
10685,
29918,
2230,
29918,
11083,
29918,
276,
2202,
13,
4706,
1723,
13,
13,
1678,
7465,
822,
1014,
13086,
29898,
1311,
29892,
1014,
29918,
1972,
29892,
6939,
29892,
11815,
29922,
29941,
1125,
13,
4706,
9995,
2528,
263,
716,
25691,
1213,
15945,
13,
4706,
1857,
29918,
7924,
29918,
333,
353,
1583,
3032,
7924,
29918,
333,
13,
4706,
1583,
3032,
7924,
29918,
333,
4619,
29871,
29896,
13,
4706,
25691,
353,
426,
13,
9651,
376,
1972,
1115,
1014,
29918,
1972,
29892,
13,
9651,
376,
1853,
1115,
376,
1491,
22371,
29918,
2962,
613,
13,
9651,
376,
333,
1115,
1857,
29918,
7924,
29918,
333,
29892,
13,
4706,
500,
13,
4706,
4390,
29918,
1491,
22371,
353,
4390,
29889,
29881,
17204,
29898,
1491,
22371,
29897,
13,
4706,
1583,
29889,
1491,
7588,
1980,
29961,
3784,
29918,
7924,
29918,
333,
29962,
353,
313,
14035,
29892,
1014,
29918,
1972,
29897,
13,
13,
4706,
1369,
29918,
2230,
353,
931,
580,
13,
4706,
1550,
931,
580,
448,
1369,
29918,
2230,
529,
11815,
29901,
13,
9651,
565,
313,
13,
18884,
1583,
29889,
2676,
11514,
338,
6213,
13,
18884,
470,
451,
1583,
29889,
2676,
11514,
29889,
3150,
13,
18884,
470,
451,
1583,
3032,
3859,
1275,
6850,
3040,
29918,
29934,
3904,
29940,
4214,
13,
632,
1125,
13,
18884,
7272,
408,
948,
3934,
29889,
17059,
29898,
29896,
29897,
13,
18884,
6773,
13,
13,
9651,
7272,
1583,
29889,
2676,
11514,
29889,
6717,
29898,
3126,
29918,
1491,
22371,
29897,
13,
9651,
903,
14480,
17070,
29889,
8382,
703,
4373,
25691,
1273,
29879,
613,
1857,
29918,
7924,
29918,
333,
29897,
13,
9651,
736,
1857,
29918,
7924,
29918,
333,
13,
13,
1678,
7465,
822,
443,
19496,
29898,
1311,
29892,
25691,
29918,
333,
1125,
13,
4706,
9995,
2525,
19496,
1213,
15945,
13,
4706,
565,
1583,
29889,
2676,
11514,
338,
6213,
470,
451,
1583,
29889,
2676,
11514,
29889,
3150,
29901,
13,
9651,
903,
14480,
17070,
29889,
27392,
703,
3609,
11514,
338,
5764,
23157,
13,
9651,
736,
13,
4706,
7272,
1583,
29889,
2676,
11514,
29889,
6717,
29898,
13,
9651,
4390,
29889,
29881,
17204,
3319,
29908,
333,
1115,
25691,
29918,
333,
29892,
376,
1853,
1115,
376,
1491,
22371,
29918,
355,
29908,
1800,
13,
4706,
1723,
13,
4706,
565,
1583,
29889,
1491,
7588,
1980,
322,
25691,
29918,
333,
297,
1583,
29889,
1491,
7588,
1980,
29901,
13,
9651,
1583,
29889,
1491,
7588,
1980,
29889,
7323,
29898,
1491,
22371,
29918,
333,
29897,
13,
13,
1678,
7465,
822,
903,
5358,
29918,
2676,
11514,
29898,
1311,
1125,
13,
4706,
565,
1583,
29889,
2676,
11514,
338,
6213,
29901,
13,
9651,
736,
13,
4706,
1018,
29901,
13,
9651,
7272,
1583,
29889,
2676,
11514,
29889,
5358,
580,
13,
4706,
7146,
29901,
13,
9651,
1583,
29889,
2676,
11514,
353,
6213,
13,
13,
1678,
7465,
822,
903,
5014,
29918,
7645,
29898,
1311,
29892,
10191,
1125,
13,
4706,
9995,
7032,
4520,
10191,
1213,
15945,
13,
4706,
1121,
353,
4390,
29889,
18132,
29898,
7645,
29897,
13,
4706,
903,
14480,
17070,
29889,
8382,
703,
4789,
29894,
29892,
1273,
29879,
613,
1121,
29897,
13,
13,
4706,
565,
1121,
29889,
657,
703,
1853,
1159,
1275,
376,
2344,
29918,
14057,
1115,
13,
9651,
565,
313,
13,
18884,
1121,
29889,
657,
703,
23813,
613,
6571,
467,
657,
703,
2704,
1159,
13,
18884,
1275,
376,
1762,
29877,
1784,
21984,
577,
9737,
363,
5993,
29908,
13,
632,
1125,
13,
18884,
1583,
3032,
10685,
29918,
2230,
29918,
11083,
29918,
276,
2202,
353,
1583,
3032,
10685,
29918,
2230,
29918,
11083,
29918,
276,
2202,
334,
29871,
29906,
13,
18884,
565,
1583,
3032,
10685,
29918,
2230,
29918,
11083,
29918,
276,
2202,
6736,
29871,
29896,
29906,
29900,
29901,
13,
462,
1678,
903,
14480,
17070,
29889,
2704,
29898,
13,
462,
4706,
376,
5350,
338,
5764,
29892,
2086,
1784,
21984,
577,
9737,
363,
5993,
29908,
13,
462,
1678,
1723,
13,
18884,
1583,
3032,
10685,
29918,
2230,
29918,
11083,
29918,
276,
2202,
353,
1375,
29898,
1311,
3032,
10685,
29918,
2230,
29918,
11083,
29918,
276,
2202,
29892,
29871,
29953,
29900,
29900,
29897,
13,
18884,
736,
13,
9651,
903,
14480,
17070,
29889,
2704,
29898,
2914,
29889,
657,
703,
23813,
613,
6571,
467,
657,
703,
2704,
5783,
13,
9651,
736,
13,
13,
4706,
25691,
29918,
333,
353,
1121,
29889,
657,
703,
333,
1159,
13,
4706,
565,
25691,
29918,
333,
338,
6213,
29901,
13,
9651,
736,
13,
13,
4706,
6939,
29892,
903,
353,
1583,
29889,
1491,
7588,
1980,
29889,
657,
29898,
1491,
22371,
29918,
333,
29892,
313,
8516,
29892,
6213,
876,
13,
4706,
565,
6939,
338,
6213,
29901,
13,
9651,
903,
14480,
17070,
29889,
8382,
703,
14148,
1178,
1273,
29879,
19602,
25691,
29918,
333,
29897,
13,
9651,
736,
13,
13,
4706,
565,
1121,
29889,
657,
703,
1853,
613,
20569,
1275,
376,
8835,
1115,
13,
9651,
903,
14480,
17070,
29889,
8382,
703,
2525,
19496,
1273,
29879,
8472,
19602,
25691,
29918,
333,
29897,
13,
9651,
736,
13,
13,
4706,
848,
353,
1121,
29889,
657,
703,
23813,
1159,
13,
4706,
565,
848,
338,
6213,
29901,
13,
9651,
736,
13,
13,
4706,
1583,
3032,
10685,
29918,
2230,
29918,
11083,
29918,
276,
2202,
353,
29871,
29896,
29945,
13,
13,
4706,
1018,
29901,
13,
9651,
7272,
6939,
29898,
1272,
29897,
13,
4706,
5174,
20948,
408,
1518,
29901,
13,
9651,
565,
376,
3318,
6213,
1542,
508,
29915,
29873,
367,
1304,
297,
525,
20675,
29915,
4603,
29908,
29871,
297,
851,
29898,
4548,
1125,
13,
18884,
6939,
29898,
1272,
29897,
13,
18884,
736,
13,
9651,
12020,
1518,
13,
13,
1678,
822,
903,
20713,
29918,
276,
2202,
29918,
20404,
29898,
1311,
1125,
13,
4706,
565,
1583,
3032,
276,
2202,
29918,
20404,
338,
6213,
29901,
13,
9651,
736,
13,
4706,
1018,
29901,
13,
9651,
1583,
3032,
276,
2202,
29918,
20404,
29889,
20713,
580,
13,
4706,
7146,
29901,
13,
9651,
1583,
3032,
276,
2202,
29918,
20404,
353,
6213,
13,
13,
1678,
822,
903,
20713,
29918,
4645,
29918,
7662,
29898,
1311,
1125,
13,
4706,
565,
1583,
3032,
4645,
29918,
7662,
338,
6213,
29901,
13,
9651,
736,
13,
4706,
1018,
29901,
13,
9651,
1583,
3032,
4645,
29918,
7662,
29889,
20713,
580,
13,
4706,
7146,
29901,
13,
9651,
1583,
3032,
4645,
29918,
7662,
353,
6213,
13,
2
] |
livestyled/tests/test_resource_screens.py | livestyled/python-sdk | 0 | 1600662 | import os
import time
from livestyled.models import Screen, Widget, WidgetVariation
from livestyled.resource_client import LiveStyledResourceClient
from livestyled.tests.utils import configure_mock_responses
FIXTURES_DIR = os.path.join(os.path.dirname(__file__), 'fixtures')
TEST_API_DOMAIN = 'test.livestyled.com'
CONTENT_TYPE = 'application/ld+json'
REQUEST_BASE_URL = 'https://' + TEST_API_DOMAIN + '/v4/{}'
def test_get_screens(requests_mock):
mock_responses = (
('GET', REQUEST_BASE_URL.format('canvas/screens'), 'mock_responses/ls_api/canvas/screens.json', 200),
)
configure_mock_responses(requests_mock, mock_responses, FIXTURES_DIR, CONTENT_TYPE)
resource_client = LiveStyledResourceClient(TEST_API_DOMAIN, 'bar')
screens = resource_client.get_screens()
assert isinstance(next(screens), Screen)
def test_get_screens_widget_by_audience(requests_mock):
collection_endpoint = REQUEST_BASE_URL.format('canvas/screens/1/widgets_by_audience?audience=1')
mock_responses = (
('GET', collection_endpoint, 'mock_responses/ls_api/canvas/widgets_by_audience.json', 200),
)
configure_mock_responses(requests_mock, mock_responses, FIXTURES_DIR, CONTENT_TYPE)
resource_client = LiveStyledResourceClient(TEST_API_DOMAIN, 'bar')
widgets = resource_client.get_widgets_by_audience(screen_id=1, audience_id=1, timestamp=time.time())
current_widget = next(widgets)
assert isinstance(current_widget, Widget)
assert isinstance(current_widget.variation, WidgetVariation)
def test_get_screens_item(requests_mock):
item_endpoint = REQUEST_BASE_URL.format('canvas/screens/1')
mock_responses = (
('GET', item_endpoint, 'mock_responses/ls_api/canvas/item_screen.json', 200),
)
configure_mock_responses(requests_mock, mock_responses, FIXTURES_DIR, CONTENT_TYPE)
resource_client = LiveStyledResourceClient(TEST_API_DOMAIN, 'bar')
widget = resource_client.get_screen(id=1)
assert isinstance(widget, Screen)
| [
1,
1053,
2897,
13,
5215,
931,
13,
13,
3166,
7294,
14596,
839,
29889,
9794,
1053,
22666,
29892,
27080,
29892,
27080,
10444,
362,
13,
3166,
7294,
14596,
839,
29889,
10314,
29918,
4645,
1053,
10782,
855,
29891,
839,
6848,
4032,
13,
3166,
7294,
14596,
839,
29889,
21150,
29889,
13239,
1053,
10822,
29918,
17640,
29918,
26679,
267,
13,
13,
13,
3738,
12188,
11499,
29903,
29918,
9464,
353,
2897,
29889,
2084,
29889,
7122,
29898,
359,
29889,
2084,
29889,
25721,
22168,
1445,
1649,
511,
525,
7241,
486,
1973,
1495,
13,
18267,
29918,
8787,
29918,
3970,
29032,
353,
525,
1688,
29889,
17843,
14596,
839,
29889,
510,
29915,
13,
22412,
3919,
29918,
11116,
353,
525,
6214,
29914,
430,
29974,
3126,
29915,
13,
13,
16244,
29918,
25416,
29918,
4219,
353,
525,
991,
597,
29915,
718,
17067,
1254,
29918,
8787,
29918,
3970,
29032,
718,
8207,
29894,
29946,
29914,
8875,
29915,
13,
13,
13,
1753,
1243,
29918,
657,
29918,
29879,
24546,
29898,
24830,
29918,
17640,
1125,
13,
1678,
11187,
29918,
26679,
267,
353,
313,
13,
4706,
6702,
7194,
742,
5195,
14130,
29918,
25416,
29918,
4219,
29889,
4830,
877,
15257,
29914,
29879,
24546,
5477,
525,
17640,
29918,
26679,
267,
29914,
3137,
29918,
2754,
29914,
15257,
29914,
29879,
24546,
29889,
3126,
742,
29871,
29906,
29900,
29900,
511,
13,
1678,
1723,
13,
1678,
10822,
29918,
17640,
29918,
26679,
267,
29898,
24830,
29918,
17640,
29892,
11187,
29918,
26679,
267,
29892,
383,
6415,
29911,
11499,
29903,
29918,
9464,
29892,
8707,
29911,
3919,
29918,
11116,
29897,
13,
13,
1678,
6503,
29918,
4645,
353,
10782,
855,
29891,
839,
6848,
4032,
29898,
18267,
29918,
8787,
29918,
3970,
29032,
29892,
525,
1646,
1495,
13,
1678,
11844,
353,
6503,
29918,
4645,
29889,
657,
29918,
29879,
24546,
580,
13,
1678,
4974,
338,
8758,
29898,
4622,
29898,
29879,
24546,
511,
22666,
29897,
13,
13,
13,
1753,
1243,
29918,
657,
29918,
29879,
24546,
29918,
8030,
29918,
1609,
29918,
28863,
663,
29898,
24830,
29918,
17640,
1125,
13,
1678,
4333,
29918,
29734,
353,
5195,
14130,
29918,
25416,
29918,
4219,
29889,
4830,
877,
15257,
29914,
29879,
24546,
29914,
29896,
29914,
8030,
29879,
29918,
1609,
29918,
28863,
663,
29973,
28863,
663,
29922,
29896,
1495,
13,
1678,
11187,
29918,
26679,
267,
353,
313,
13,
4706,
6702,
7194,
742,
4333,
29918,
29734,
29892,
525,
17640,
29918,
26679,
267,
29914,
3137,
29918,
2754,
29914,
15257,
29914,
8030,
29879,
29918,
1609,
29918,
28863,
663,
29889,
3126,
742,
29871,
29906,
29900,
29900,
511,
13,
1678,
1723,
13,
13,
1678,
10822,
29918,
17640,
29918,
26679,
267,
29898,
24830,
29918,
17640,
29892,
11187,
29918,
26679,
267,
29892,
383,
6415,
29911,
11499,
29903,
29918,
9464,
29892,
8707,
29911,
3919,
29918,
11116,
29897,
13,
13,
1678,
6503,
29918,
4645,
353,
10782,
855,
29891,
839,
6848,
4032,
29898,
18267,
29918,
8787,
29918,
3970,
29032,
29892,
525,
1646,
1495,
13,
1678,
11109,
29879,
353,
6503,
29918,
4645,
29889,
657,
29918,
8030,
29879,
29918,
1609,
29918,
28863,
663,
29898,
10525,
29918,
333,
29922,
29896,
29892,
20026,
29918,
333,
29922,
29896,
29892,
14334,
29922,
2230,
29889,
2230,
3101,
13,
1678,
1857,
29918,
8030,
353,
2446,
29898,
8030,
29879,
29897,
13,
1678,
4974,
338,
8758,
29898,
3784,
29918,
8030,
29892,
27080,
29897,
13,
1678,
4974,
338,
8758,
29898,
3784,
29918,
8030,
29889,
5927,
362,
29892,
27080,
10444,
362,
29897,
13,
13,
13,
1753,
1243,
29918,
657,
29918,
29879,
24546,
29918,
667,
29898,
24830,
29918,
17640,
1125,
13,
1678,
2944,
29918,
29734,
353,
5195,
14130,
29918,
25416,
29918,
4219,
29889,
4830,
877,
15257,
29914,
29879,
24546,
29914,
29896,
1495,
13,
1678,
11187,
29918,
26679,
267,
353,
313,
13,
4706,
6702,
7194,
742,
2944,
29918,
29734,
29892,
525,
17640,
29918,
26679,
267,
29914,
3137,
29918,
2754,
29914,
15257,
29914,
667,
29918,
10525,
29889,
3126,
742,
29871,
29906,
29900,
29900,
511,
13,
1678,
1723,
13,
13,
1678,
10822,
29918,
17640,
29918,
26679,
267,
29898,
24830,
29918,
17640,
29892,
11187,
29918,
26679,
267,
29892,
383,
6415,
29911,
11499,
29903,
29918,
9464,
29892,
8707,
29911,
3919,
29918,
11116,
29897,
13,
13,
1678,
6503,
29918,
4645,
353,
10782,
855,
29891,
839,
6848,
4032,
29898,
18267,
29918,
8787,
29918,
3970,
29032,
29892,
525,
1646,
1495,
13,
1678,
11109,
353,
6503,
29918,
4645,
29889,
657,
29918,
10525,
29898,
333,
29922,
29896,
29897,
13,
1678,
4974,
338,
8758,
29898,
8030,
29892,
22666,
29897,
13,
2
] |
text_util.py | liuzl/nlp4econ | 3 | 113669 | #encoding=utf-8
import re
RE_SEN_SPLITER = u"(.+?(\r|\n|。|!|!|\?|?|;|;|……))"
def get_sentences(text):
if not isinstance(text, (unicode,)): return []
s = re.sub(RE_SEN_SPLITER, lambda x: x.group(0)+"\t", text)
return [x.strip() for x in s.split('\t') if x.strip() != '']
if __name__ == "__main__":
text = u'''在上市之后,京东的股价虽然也有突出的表现,但是也曾在上市第二天险些破发,不过随后,股价一路上涨,至6月12日,创出了29.6美元/股的新高,不过当日股价仍以跌幅6.31%收盘。在随后的价格交易日中,股价出现涨跌轮转的情况,截至6月30日,公司股价收于28.51美元/股,当日涨幅为1.79%。
虽然京东是迄今为止中国在美上市公司规模最大的IPO,但是华尔街正等待着今年下半年阿里巴巴集团里程碑式的股票发行交易,据信阿里巴巴的募资规模可能高达200亿美元。
迅雷“新贵上市”'''
sentences = get_sentences(text)
for sen in sentences:
print sen
print '='*10
| [
1,
396,
22331,
29922,
9420,
29899,
29947,
13,
5215,
337,
13,
13,
1525,
29918,
29903,
1430,
29918,
5550,
29931,
1806,
1001,
353,
318,
29908,
11891,
29974,
29973,
1194,
29878,
4295,
29876,
29989,
30267,
29989,
29991,
29989,
30584,
4295,
29973,
29989,
30882,
29989,
29936,
29989,
31608,
29989,
30098,
30098,
876,
29908,
13,
13,
1753,
679,
29918,
18616,
2063,
29898,
726,
1125,
13,
1678,
565,
451,
338,
8758,
29898,
726,
29892,
313,
2523,
356,
29892,
22164,
736,
5159,
13,
1678,
269,
353,
337,
29889,
1491,
29898,
1525,
29918,
29903,
1430,
29918,
5550,
29931,
1806,
1001,
29892,
14013,
921,
29901,
921,
29889,
2972,
29898,
29900,
7240,
26732,
29873,
613,
1426,
29897,
13,
1678,
736,
518,
29916,
29889,
17010,
580,
363,
921,
297,
269,
29889,
5451,
28909,
29873,
1495,
565,
921,
29889,
17010,
580,
2804,
525,
2033,
13,
13,
13,
361,
4770,
978,
1649,
1275,
376,
1649,
3396,
1649,
1115,
13,
1678,
1426,
353,
318,
12008,
30505,
30429,
30461,
30577,
30822,
30214,
30675,
30979,
30210,
235,
133,
164,
231,
190,
186,
235,
156,
192,
31516,
30953,
30417,
234,
173,
132,
30544,
30210,
30746,
31424,
30214,
231,
192,
137,
30392,
30953,
233,
158,
193,
30505,
30429,
30461,
30622,
30685,
30408,
236,
156,
172,
31959,
234,
163,
183,
30910,
30214,
30413,
31138,
236,
157,
146,
30822,
30214,
235,
133,
164,
231,
190,
186,
30287,
30874,
30429,
233,
185,
171,
30214,
235,
138,
182,
29953,
30534,
29896,
29906,
30325,
30214,
31441,
30544,
30743,
29906,
29929,
29889,
29953,
30630,
30824,
29914,
235,
133,
164,
30210,
30374,
30528,
30214,
30413,
31138,
30948,
30325,
235,
133,
164,
231,
190,
186,
231,
190,
144,
30651,
235,
186,
143,
232,
188,
136,
29953,
29889,
29941,
29896,
29995,
31997,
234,
158,
155,
30267,
30505,
236,
157,
146,
30822,
30210,
231,
190,
186,
31168,
31398,
233,
155,
150,
30325,
30275,
30214,
235,
133,
164,
231,
190,
186,
30544,
31424,
233,
185,
171,
235,
186,
143,
235,
192,
177,
31415,
30210,
30993,
232,
137,
184,
30214,
233,
139,
173,
235,
138,
182,
29953,
30534,
29941,
29900,
30325,
30214,
30539,
30931,
235,
133,
164,
231,
190,
186,
31997,
30909,
29906,
29947,
29889,
29945,
29896,
30630,
30824,
29914,
235,
133,
164,
30214,
30948,
30325,
233,
185,
171,
232,
188,
136,
30573,
29896,
29889,
29955,
29929,
29995,
30267,
13,
268,
235,
156,
192,
31516,
30675,
30979,
30392,
235,
194,
135,
31482,
30573,
31981,
30275,
30356,
30505,
30630,
30429,
30461,
30539,
30931,
235,
170,
135,
31382,
30878,
30257,
30210,
5690,
29949,
30214,
231,
192,
137,
30392,
31266,
31814,
30813,
30724,
31184,
232,
193,
136,
234,
160,
131,
31482,
30470,
30557,
232,
144,
141,
30470,
31227,
30755,
31885,
31885,
30893,
232,
158,
165,
30755,
31101,
234,
165,
148,
30607,
30210,
235,
133,
164,
234,
168,
171,
30910,
30448,
31398,
233,
155,
150,
30214,
30763,
30689,
31227,
30755,
31885,
31885,
30210,
232,
142,
162,
235,
184,
135,
235,
170,
135,
31382,
30682,
30815,
30528,
31798,
29906,
29900,
29900,
231,
189,
194,
30630,
30824,
30267,
13,
268,
235,
194,
136,
236,
158,
186,
30015,
30374,
235,
183,
184,
30429,
30461,
30024,
12008,
13,
1678,
25260,
353,
679,
29918,
18616,
2063,
29898,
726,
29897,
13,
1678,
363,
6940,
297,
25260,
29901,
13,
4706,
1596,
6940,
13,
4706,
1596,
525,
2433,
29930,
29896,
29900,
13,
2
] |
fibonacci_sphere.py | GRASBOCK/fibonacci-sphere-section | 0 | 184594 | from math import ceil, floor
import numpy as np
from BoundingBox import BoundingBox
def fibonacci_sphere_section(num_points_whole_sphere: int, bbox: BoundingBox):
lat_min, lat_max, lon_min, lon_max = bbox.lat_min, bbox.lat_max, bbox.lon_min, bbox.lon_max
#print("lat_min: {}, lat_max: {}, lon_min: {}, lon_max: {}".format(lat_min, lat_max, lon_min, lon_max))
ga = (3 - np.sqrt(5)) * np.pi # golden angle
repeat = np.pi*2/ga # after how many indices the 2 pi is reached
z_step = 2.0/num_points_whole_sphere
z_min_bound = z_step-1.0 # minimum z
z_max_bound = 1.0 - z_step # maximum z
z_min = np.sin(lat_min)
z_max = np.sin(lat_max)
if z_min < z_min_bound:
z_min = z_min_bound
if z_max > z_max_bound:
z_max = z_max_bound
# linear interpolation
linInterp = lambda x1, x2, y1, y2, x: (y2-y1)/(x2-x1)*(x-x1)
i_min = linInterp(z_min_bound, z_max_bound, 0.0, float(num_points_whole_sphere), z_min) # smallest i where z is within bounding box latitude
i_max = linInterp(z_min_bound, z_max_bound, 0.0, float(num_points_whole_sphere), z_max) # biggest i where z is within bounding box latitude
i_min_0 = np.floor(i_min / repeat) * repeat # smallest i at 0° degrees
circulations = ceil((i_max - i_min_0)/repeat) # number of circulations
relative_begin = linInterp(0.0, np.pi*2, 0.0, repeat, lon_min) # relative index to start of bounding box longitude
relative_end = linInterp(0.0, np.pi*2, 0.0, repeat, lon_max) # relative index to end of bounding box longitude
theta = []
z = []
for r in range(circulations):
offset = repeat*r + i_min_0
i_start = ceil(offset + relative_begin)
i_end = int(offset + relative_end)
if i_end >= num_points_whole_sphere: # prevent overflow
i_end = num_points_whole_sphere -1
indices = range(i_start, i_end+1) # all indices within the bounding box for the current circulation. can be empty
#print("r: {r:4d}, o: {o:.3f}, s: {s:.3f}, e: {e:.3f}".format(r=r, o=offset, s=offset + relative_begin, e=offset + relative_end), indices, list(indices))
for i in indices:
theta.append(ga*i)
z.append(z_step-1.0 + z_step*i)
theta = np.array(theta)
z = np.array(z)
# a list of the radii at each height step of the unit circle
radius = np.sqrt(1 - z * z)
# Determine where xy fall on the sphere, given the azimuthal and polar angles
y = radius * np.sin(theta)
x = radius * np.cos(theta)
return x, y, z | [
1,
515,
5844,
1053,
2257,
309,
29892,
11904,
13,
5215,
12655,
408,
7442,
13,
3166,
350,
12449,
3313,
1053,
350,
12449,
3313,
13,
13,
1753,
18755,
265,
21566,
29918,
29879,
9085,
29918,
2042,
29898,
1949,
29918,
9748,
29918,
15970,
280,
29918,
29879,
9085,
29901,
938,
29892,
289,
1884,
29901,
350,
12449,
3313,
1125,
13,
1678,
3405,
29918,
1195,
29892,
3405,
29918,
3317,
29892,
23123,
29918,
1195,
29892,
23123,
29918,
3317,
353,
289,
1884,
29889,
5066,
29918,
1195,
29892,
289,
1884,
29889,
5066,
29918,
3317,
29892,
289,
1884,
29889,
12957,
29918,
1195,
29892,
289,
1884,
29889,
12957,
29918,
3317,
13,
1678,
396,
2158,
703,
5066,
29918,
1195,
29901,
24335,
3405,
29918,
3317,
29901,
24335,
23123,
29918,
1195,
29901,
24335,
23123,
29918,
3317,
29901,
6571,
1642,
4830,
29898,
5066,
29918,
1195,
29892,
3405,
29918,
3317,
29892,
23123,
29918,
1195,
29892,
23123,
29918,
3317,
876,
13,
13,
1678,
10364,
353,
313,
29941,
448,
7442,
29889,
3676,
29898,
29945,
876,
334,
7442,
29889,
1631,
396,
22843,
10696,
13,
13,
1678,
12312,
353,
7442,
29889,
1631,
29930,
29906,
29914,
3249,
396,
1156,
920,
1784,
16285,
278,
29871,
29906,
2930,
338,
7450,
13,
13,
1678,
503,
29918,
10568,
353,
29871,
29906,
29889,
29900,
29914,
1949,
29918,
9748,
29918,
15970,
280,
29918,
29879,
9085,
13,
1678,
503,
29918,
1195,
29918,
9917,
353,
503,
29918,
10568,
29899,
29896,
29889,
29900,
396,
9212,
503,
13,
1678,
503,
29918,
3317,
29918,
9917,
353,
29871,
29896,
29889,
29900,
448,
503,
29918,
10568,
396,
7472,
503,
13,
13,
1678,
503,
29918,
1195,
353,
7442,
29889,
5223,
29898,
5066,
29918,
1195,
29897,
29871,
13,
1678,
503,
29918,
3317,
353,
7442,
29889,
5223,
29898,
5066,
29918,
3317,
29897,
13,
13,
1678,
565,
503,
29918,
1195,
529,
503,
29918,
1195,
29918,
9917,
29901,
13,
4706,
503,
29918,
1195,
353,
503,
29918,
1195,
29918,
9917,
13,
1678,
565,
503,
29918,
3317,
1405,
503,
29918,
3317,
29918,
9917,
29901,
13,
4706,
503,
29918,
3317,
353,
503,
29918,
3317,
29918,
9917,
13,
268,
13,
1678,
396,
5608,
29694,
13,
1678,
6276,
4074,
29886,
353,
14013,
921,
29896,
29892,
921,
29906,
29892,
343,
29896,
29892,
343,
29906,
29892,
921,
29901,
313,
29891,
29906,
29899,
29891,
29896,
6802,
29898,
29916,
29906,
29899,
29916,
29896,
11877,
29898,
29916,
29899,
29916,
29896,
29897,
13,
13,
1678,
474,
29918,
1195,
353,
6276,
4074,
29886,
29898,
29920,
29918,
1195,
29918,
9917,
29892,
503,
29918,
3317,
29918,
9917,
29892,
29871,
29900,
29889,
29900,
29892,
5785,
29898,
1949,
29918,
9748,
29918,
15970,
280,
29918,
29879,
9085,
511,
503,
29918,
1195,
29897,
396,
19087,
474,
988,
503,
338,
2629,
3216,
292,
3800,
26271,
13,
1678,
474,
29918,
3317,
353,
6276,
4074,
29886,
29898,
29920,
29918,
1195,
29918,
9917,
29892,
503,
29918,
3317,
29918,
9917,
29892,
29871,
29900,
29889,
29900,
29892,
5785,
29898,
1949,
29918,
9748,
29918,
15970,
280,
29918,
29879,
9085,
511,
503,
29918,
3317,
29897,
396,
24842,
474,
988,
503,
338,
2629,
3216,
292,
3800,
26271,
13,
1678,
474,
29918,
1195,
29918,
29900,
353,
7442,
29889,
14939,
29898,
29875,
29918,
1195,
847,
12312,
29897,
334,
12312,
396,
19087,
474,
472,
29871,
29900,
30073,
14496,
13,
1678,
18342,
800,
353,
2257,
309,
3552,
29875,
29918,
3317,
448,
474,
29918,
1195,
29918,
29900,
6802,
14358,
29897,
396,
1353,
310,
18342,
800,
13,
268,
13,
1678,
6198,
29918,
463,
353,
6276,
4074,
29886,
29898,
29900,
29889,
29900,
29892,
7442,
29889,
1631,
29930,
29906,
29892,
29871,
29900,
29889,
29900,
29892,
12312,
29892,
23123,
29918,
1195,
29897,
396,
6198,
2380,
304,
1369,
310,
3216,
292,
3800,
28745,
13,
1678,
6198,
29918,
355,
353,
6276,
4074,
29886,
29898,
29900,
29889,
29900,
29892,
7442,
29889,
1631,
29930,
29906,
29892,
29871,
29900,
29889,
29900,
29892,
12312,
29892,
23123,
29918,
3317,
29897,
396,
6198,
2380,
304,
1095,
310,
3216,
292,
3800,
28745,
13,
13,
1678,
278,
941,
353,
5159,
13,
1678,
503,
353,
5159,
13,
1678,
363,
364,
297,
3464,
29898,
19052,
1810,
800,
1125,
13,
4706,
9210,
353,
12312,
29930,
29878,
718,
474,
29918,
1195,
29918,
29900,
13,
13,
4706,
474,
29918,
2962,
353,
2257,
309,
29898,
10289,
718,
6198,
29918,
463,
29897,
13,
4706,
474,
29918,
355,
353,
938,
29898,
10289,
718,
6198,
29918,
355,
29897,
13,
13,
4706,
565,
474,
29918,
355,
6736,
954,
29918,
9748,
29918,
15970,
280,
29918,
29879,
9085,
29901,
396,
5557,
11969,
13,
9651,
474,
29918,
355,
353,
954,
29918,
9748,
29918,
15970,
280,
29918,
29879,
9085,
448,
29896,
13,
13,
4706,
16285,
353,
3464,
29898,
29875,
29918,
2962,
29892,
474,
29918,
355,
29974,
29896,
29897,
396,
599,
16285,
2629,
278,
3216,
292,
3800,
363,
278,
1857,
18342,
362,
29889,
508,
367,
4069,
13,
13,
4706,
396,
2158,
703,
29878,
29901,
426,
29878,
29901,
29946,
29881,
1118,
288,
29901,
426,
29877,
29901,
29889,
29941,
29888,
1118,
269,
29901,
426,
29879,
29901,
29889,
29941,
29888,
1118,
321,
29901,
426,
29872,
29901,
29889,
29941,
29888,
29913,
1642,
4830,
29898,
29878,
29922,
29878,
29892,
288,
29922,
10289,
29892,
269,
29922,
10289,
718,
6198,
29918,
463,
29892,
321,
29922,
10289,
718,
6198,
29918,
355,
511,
16285,
29892,
1051,
29898,
513,
1575,
876,
13,
308,
13,
4706,
363,
474,
297,
16285,
29901,
13,
9651,
278,
941,
29889,
4397,
29898,
3249,
29930,
29875,
29897,
13,
9651,
503,
29889,
4397,
29898,
29920,
29918,
10568,
29899,
29896,
29889,
29900,
718,
503,
29918,
10568,
29930,
29875,
29897,
13,
13,
1678,
278,
941,
353,
7442,
29889,
2378,
29898,
3416,
29897,
13,
1678,
503,
353,
7442,
29889,
2378,
29898,
29920,
29897,
13,
13,
1678,
396,
263,
1051,
310,
278,
2971,
2236,
472,
1269,
3171,
4331,
310,
278,
5190,
8607,
29871,
13,
1678,
11855,
353,
7442,
29889,
3676,
29898,
29896,
448,
503,
334,
503,
29897,
13,
13,
1678,
396,
5953,
837,
457,
988,
921,
29891,
6416,
373,
278,
20745,
29892,
2183,
278,
2698,
326,
2806,
284,
322,
16755,
23619,
29871,
13,
1678,
343,
353,
11855,
334,
7442,
29889,
5223,
29898,
3416,
29897,
13,
1678,
921,
353,
11855,
334,
7442,
29889,
3944,
29898,
3416,
29897,
13,
13,
1678,
736,
921,
29892,
343,
29892,
503,
2
] |
unittests/test_cases.py | arieltrevisan/python-3-from-scratch-practices | 0 | 112294 | <reponame>arieltrevisan/python-3-from-scratch-practices
import unittest as ut
"""
https://docs.python.org/3/library/unittest.html#test-discovery
"""
class TestClassOne(ut.TestCase):
@classmethod
def setUpClass(cls):
# print("setupClass")
pass
@classmethod
def tearDownClass(cls):
# print("tearDownClass")
pass
# setup of each method
def setUp(self):
# print("setUp")
pass
# teardown of each method
def tearDown(self):
# print("tearDown")
pass
def test_bool(self):
value = True
self.assertTrue(value, "Not True")
def test_equals(self):
value_1 = 1
value_2 = 1
self.assertEqual(value_1, value_2)
def test_raise(self):
with self.assertRaises(ZeroDivisionError):
1 / 0
class TestClassTwo(ut.TestCase):
def test_1(self):
self.assertEqual(1, 1)
def test_2(self):
list_1 = [1, 2, 3]
list_2 = [2, 3, 1]
self.assertCountEqual(list_1, list_2)
if __name__ == '__main__':
ut.main(verbosity=2)
| [
1,
529,
276,
1112,
420,
29958,
279,
709,
2484,
1730,
273,
29914,
4691,
29899,
29941,
29899,
3166,
29899,
10526,
905,
29899,
29886,
1461,
1575,
13,
5215,
443,
27958,
408,
3477,
13,
13,
15945,
29908,
13,
13,
991,
597,
2640,
29889,
4691,
29889,
990,
29914,
29941,
29914,
5258,
29914,
348,
27958,
29889,
1420,
29937,
1688,
29899,
2218,
11911,
29891,
13,
13,
15945,
29908,
13,
13,
13,
1990,
4321,
2385,
6716,
29898,
329,
29889,
3057,
8259,
1125,
13,
13,
1678,
732,
1990,
5696,
13,
1678,
822,
731,
3373,
2385,
29898,
25932,
1125,
13,
4706,
396,
1596,
703,
14669,
2385,
1159,
13,
4706,
1209,
13,
13,
1678,
732,
1990,
5696,
13,
1678,
822,
734,
279,
6767,
2385,
29898,
25932,
1125,
13,
4706,
396,
1596,
703,
371,
279,
6767,
2385,
1159,
13,
4706,
1209,
13,
13,
1678,
396,
6230,
310,
1269,
1158,
13,
1678,
822,
731,
3373,
29898,
1311,
1125,
13,
4706,
396,
1596,
703,
842,
3373,
1159,
13,
4706,
1209,
13,
13,
1678,
396,
734,
538,
776,
310,
1269,
1158,
13,
1678,
822,
734,
279,
6767,
29898,
1311,
1125,
13,
4706,
396,
1596,
703,
371,
279,
6767,
1159,
13,
4706,
1209,
13,
13,
1678,
822,
1243,
29918,
11227,
29898,
1311,
1125,
13,
4706,
995,
353,
5852,
13,
4706,
1583,
29889,
9294,
5574,
29898,
1767,
29892,
376,
3664,
5852,
1159,
13,
13,
1678,
822,
1243,
29918,
10954,
29898,
1311,
1125,
13,
4706,
995,
29918,
29896,
353,
29871,
29896,
13,
4706,
995,
29918,
29906,
353,
29871,
29896,
13,
4706,
1583,
29889,
9294,
9843,
29898,
1767,
29918,
29896,
29892,
995,
29918,
29906,
29897,
13,
13,
1678,
822,
1243,
29918,
22692,
29898,
1311,
1125,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
24214,
12596,
2459,
2392,
1125,
13,
632,
29896,
847,
29871,
29900,
13,
13,
13,
1990,
4321,
2385,
13985,
29898,
329,
29889,
3057,
8259,
1125,
13,
1678,
822,
1243,
29918,
29896,
29898,
1311,
1125,
13,
4706,
1583,
29889,
9294,
9843,
29898,
29896,
29892,
29871,
29896,
29897,
13,
13,
1678,
822,
1243,
29918,
29906,
29898,
1311,
1125,
13,
4706,
1051,
29918,
29896,
353,
518,
29896,
29892,
29871,
29906,
29892,
29871,
29941,
29962,
13,
4706,
1051,
29918,
29906,
353,
518,
29906,
29892,
29871,
29941,
29892,
29871,
29896,
29962,
13,
4706,
1583,
29889,
9294,
3981,
9843,
29898,
1761,
29918,
29896,
29892,
1051,
29918,
29906,
29897,
13,
13,
13,
361,
4770,
978,
1649,
1275,
525,
1649,
3396,
1649,
2396,
13,
1678,
3477,
29889,
3396,
29898,
18248,
359,
537,
29922,
29906,
29897,
13,
2
] |
src/metemcyber/core/bc/catalog.py | soum-kazuaki/metemcyber | 11 | 51262 | #
# Copyright 2021, NTT Communications Corp.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
from __future__ import annotations
from typing import Dict, Optional
from uuid import UUID
from eth_typing import ChecksumAddress
from .account import Account
from .cti_catalog import CTICatalog
class TokenInfo():
def __init__(self, address, token_id, owner, uuid, title, price, operator, like_count):
self.address = address
self.token_id = token_id
self.owner = owner
self.uuid = uuid
self.title = title
self.price = price
self.operator = operator
self.like_count = like_count
class CatalogInfo():
def __init__(self, address, catalog_id, owner, private, tokens):
self.address = address
self.catalog_id = catalog_id
self.owner = owner
self.private = private
self.tokens: Dict[ChecksumAddress, TokenInfo] = tokens
class Catalog():
__addressed_catalogs: Dict[ChecksumAddress, CatalogInfo] = {}
@property
def _catalogs_by_address(self):
return Catalog.__addressed_catalogs
@property
def _catalogs_by_id(self):
return {info['catalog_id']: info
for info in Catalog.__addressed_catalogs.values()}
def __init__(self, account: Account) -> None:
self.account: Account = account
self.address: Optional[ChecksumAddress] = None
self.catalog_id: int = self._gen_catalog_id()
self.owner: Optional[ChecksumAddress] = None
self.private: Optional[bool] = None
self.tokens: Dict[ChecksumAddress, TokenInfo] = {}
def get(self, address: ChecksumAddress) -> Catalog:
self.address = address
self._sync_catalog()
return self
def get_by_id(self, catalog_id: int) -> Catalog:
return self.get(self._catalogs_by_id()[catalog_id].address)
def new(self, group: ChecksumAddress) -> Catalog:
cti_catalog = CTICatalog(self.account).new(group)
return self.get(cti_catalog.address)
def uncache(self, entire: bool = False) -> None:
if entire:
del Catalog.__addressed_catalogs
# pylint: disable=unused-private-member
Catalog.__addressed_catalogs = {}
else:
assert self.address
if self.address in Catalog.__addressed_catalogs:
del Catalog.__addressed_catalogs[self.address]
@staticmethod
def _gen_catalog_id() -> int:
return max([val.catalog_id for val
in Catalog.__addressed_catalogs.values()] + [0]
) + 1
def _sync_catalog(self) -> None:
assert self.address
cinfo = self._catalogs_by_address.get(self.address)
if not cinfo:
cinfo = CatalogInfo(self.address, self.catalog_id, None, None, {})
Catalog.__addressed_catalogs[self.address] = cinfo
cti_catalog = CTICatalog(self.account).get(self.address)
cinfo.owner = cti_catalog.get_owner()
cinfo.private = cti_catalog.is_private()
for taddr in cti_catalog.list_token_uris():
tid, owner, uuid, title, price, operator, lcount = \
cti_catalog.get_cti_info(taddr)
cinfo.tokens[taddr] = TokenInfo(
taddr, tid, owner, uuid, title, price, operator, lcount)
self.catalog_id = cinfo.catalog_id
self.owner = cinfo.owner
self.private = cinfo.private
self.tokens = cinfo.tokens
def get_tokeninfo(self, address: ChecksumAddress) -> TokenInfo:
if address not in self.tokens.keys():
raise Exception(f'No such token({address}) on catalog({self.address})')
return self.tokens[address]
def get_tokeninfo_by_id(self, token_id: int) -> TokenInfo:
return self.get_tokeninfo(self.id2address(token_id))
def id2address(self, token_id: int) -> ChecksumAddress:
cinfo = self._catalogs_by_address.get(self.address)
tmp = [tinfo.address for tinfo in cinfo.tokens.values() if tinfo.token_id == token_id]
if not tmp:
raise Exception(f'No such token id({token_id}) on catalog({self.address})')
assert len(tmp) == 1
return tmp[0]
def register_cti(
self,
token: ChecksumAddress,
uuid: UUID,
title: str,
price: int,
operator: ChecksumAddress) -> None:
if price < 0:
raise Exception(f'Invalid price: {price}')
assert self.address
cti_catalog = CTICatalog(self.account).get(self.address)
cti_catalog.register_cti(token, uuid, title, price, operator)
self.uncache()
def publish_cti(self, producer: ChecksumAddress, token: ChecksumAddress) -> None:
assert self.address
cti_catalog = CTICatalog(self.account).get(self.address)
cti_catalog.publish_cti(producer, token)
self.uncache()
def modify_cti(self, token: ChecksumAddress, uuid: UUID, title: str, price: int) -> None:
if price < 0:
raise Exception(f'Invalid price: {price}')
assert self.address
cti_catalog = CTICatalog(self.account).get(self.address)
cti_catalog.modify_cti(token, uuid, title, price, '')
self.uncache()
def unregister_cti(self, token: ChecksumAddress) -> None:
assert self.address
cti_catalog = CTICatalog(self.account).get(self.address)
cti_catalog.unregister_cti(token)
self.uncache()
| [
1,
396,
13,
29937,
1678,
14187,
1266,
29871,
29906,
29900,
29906,
29896,
29892,
405,
19988,
22365,
800,
2994,
29886,
29889,
13,
29937,
13,
29937,
1678,
10413,
21144,
1090,
278,
13380,
19245,
29892,
10079,
29871,
29906,
29889,
29900,
313,
1552,
376,
29931,
293,
1947,
1496,
13,
29937,
1678,
366,
1122,
451,
671,
445,
934,
5174,
297,
752,
13036,
411,
278,
19245,
29889,
13,
29937,
1678,
887,
1122,
4017,
263,
3509,
310,
278,
19245,
472,
13,
29937,
13,
29937,
4706,
1732,
597,
1636,
29889,
4288,
29889,
990,
29914,
506,
11259,
29914,
27888,
1430,
1660,
29899,
29906,
29889,
29900,
13,
29937,
13,
29937,
1678,
25870,
3734,
491,
22903,
4307,
470,
15502,
304,
297,
5007,
29892,
7047,
13,
29937,
1678,
13235,
1090,
278,
19245,
338,
13235,
373,
385,
376,
3289,
8519,
29908,
350,
3289,
3235,
29892,
13,
29937,
1678,
399,
1806,
8187,
2692,
399,
1718,
29934,
13566,
29059,
6323,
8707,
29928,
22122,
29903,
8079,
13764,
29979,
476,
22255,
29892,
2845,
4653,
470,
2411,
2957,
29889,
13,
29937,
1678,
2823,
278,
19245,
363,
278,
2702,
4086,
14765,
1076,
11239,
322,
13,
29937,
1678,
27028,
1090,
278,
19245,
29889,
13,
29937,
13,
13,
3166,
4770,
29888,
9130,
1649,
1053,
25495,
13,
13,
3166,
19229,
1053,
360,
919,
29892,
28379,
13,
3166,
318,
5416,
1053,
501,
11150,
13,
13,
3166,
11314,
29918,
1017,
15702,
1053,
5399,
2083,
7061,
13,
13,
3166,
869,
10149,
1053,
16535,
13,
3166,
869,
312,
29875,
29918,
28045,
1053,
26637,
2965,
3968,
13,
13,
13,
1990,
25159,
3401,
7295,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
3211,
29892,
5993,
29918,
333,
29892,
12271,
29892,
318,
5416,
29892,
3611,
29892,
8666,
29892,
5455,
29892,
763,
29918,
2798,
1125,
13,
4706,
1583,
29889,
7328,
353,
3211,
13,
4706,
1583,
29889,
6979,
29918,
333,
353,
5993,
29918,
333,
13,
4706,
1583,
29889,
20348,
353,
12271,
13,
4706,
1583,
29889,
25118,
353,
318,
5416,
13,
4706,
1583,
29889,
3257,
353,
3611,
13,
4706,
1583,
29889,
9175,
353,
8666,
13,
4706,
1583,
29889,
6891,
353,
5455,
13,
4706,
1583,
29889,
4561,
29918,
2798,
353,
763,
29918,
2798,
13,
13,
13,
1990,
5725,
3401,
7295,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
3211,
29892,
16653,
29918,
333,
29892,
12271,
29892,
2024,
29892,
18897,
1125,
13,
4706,
1583,
29889,
7328,
353,
3211,
13,
4706,
1583,
29889,
28045,
29918,
333,
353,
16653,
29918,
333,
13,
4706,
1583,
29889,
20348,
353,
12271,
13,
4706,
1583,
29889,
9053,
353,
2024,
13,
4706,
1583,
29889,
517,
12360,
29901,
360,
919,
29961,
5596,
2083,
7061,
29892,
25159,
3401,
29962,
353,
18897,
13,
13,
13,
1990,
5725,
7295,
13,
1678,
4770,
7328,
287,
29918,
28045,
29879,
29901,
360,
919,
29961,
5596,
2083,
7061,
29892,
5725,
3401,
29962,
353,
6571,
13,
13,
1678,
732,
6799,
13,
1678,
822,
903,
28045,
29879,
29918,
1609,
29918,
7328,
29898,
1311,
1125,
13,
4706,
736,
5725,
17255,
7328,
287,
29918,
28045,
29879,
13,
13,
1678,
732,
6799,
13,
1678,
822,
903,
28045,
29879,
29918,
1609,
29918,
333,
29898,
1311,
1125,
13,
4706,
736,
426,
3888,
1839,
28045,
29918,
333,
2033,
29901,
5235,
13,
18884,
363,
5235,
297,
5725,
17255,
7328,
287,
29918,
28045,
29879,
29889,
5975,
28296,
13,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
3633,
29901,
16535,
29897,
1599,
6213,
29901,
13,
4706,
1583,
29889,
10149,
29901,
16535,
353,
3633,
13,
4706,
1583,
29889,
7328,
29901,
28379,
29961,
5596,
2083,
7061,
29962,
353,
6213,
13,
4706,
1583,
29889,
28045,
29918,
333,
29901,
938,
353,
1583,
3032,
1885,
29918,
28045,
29918,
333,
580,
13,
4706,
1583,
29889,
20348,
29901,
28379,
29961,
5596,
2083,
7061,
29962,
353,
6213,
13,
4706,
1583,
29889,
9053,
29901,
28379,
29961,
11227,
29962,
353,
6213,
13,
4706,
1583,
29889,
517,
12360,
29901,
360,
919,
29961,
5596,
2083,
7061,
29892,
25159,
3401,
29962,
353,
6571,
13,
13,
1678,
822,
679,
29898,
1311,
29892,
3211,
29901,
5399,
2083,
7061,
29897,
1599,
5725,
29901,
13,
4706,
1583,
29889,
7328,
353,
3211,
13,
4706,
1583,
3032,
16593,
29918,
28045,
580,
13,
4706,
736,
1583,
13,
13,
1678,
822,
679,
29918,
1609,
29918,
333,
29898,
1311,
29892,
16653,
29918,
333,
29901,
938,
29897,
1599,
5725,
29901,
13,
4706,
736,
1583,
29889,
657,
29898,
1311,
3032,
28045,
29879,
29918,
1609,
29918,
333,
580,
29961,
28045,
29918,
333,
1822,
7328,
29897,
13,
13,
1678,
822,
716,
29898,
1311,
29892,
2318,
29901,
5399,
2083,
7061,
29897,
1599,
5725,
29901,
13,
4706,
274,
2034,
29918,
28045,
353,
26637,
2965,
3968,
29898,
1311,
29889,
10149,
467,
1482,
29898,
2972,
29897,
13,
4706,
736,
1583,
29889,
657,
29898,
312,
29875,
29918,
28045,
29889,
7328,
29897,
13,
13,
1678,
822,
443,
8173,
29898,
1311,
29892,
4152,
29901,
6120,
353,
7700,
29897,
1599,
6213,
29901,
13,
4706,
565,
4152,
29901,
13,
9651,
628,
5725,
17255,
7328,
287,
29918,
28045,
29879,
13,
9651,
396,
282,
2904,
524,
29901,
11262,
29922,
348,
3880,
29899,
9053,
29899,
14242,
13,
9651,
5725,
17255,
7328,
287,
29918,
28045,
29879,
353,
6571,
13,
4706,
1683,
29901,
13,
9651,
4974,
1583,
29889,
7328,
13,
9651,
565,
1583,
29889,
7328,
297,
5725,
17255,
7328,
287,
29918,
28045,
29879,
29901,
13,
18884,
628,
5725,
17255,
7328,
287,
29918,
28045,
29879,
29961,
1311,
29889,
7328,
29962,
13,
13,
1678,
732,
7959,
5696,
13,
1678,
822,
903,
1885,
29918,
28045,
29918,
333,
580,
1599,
938,
29901,
13,
4706,
736,
4236,
4197,
791,
29889,
28045,
29918,
333,
363,
659,
13,
462,
1678,
297,
5725,
17255,
7328,
287,
29918,
28045,
29879,
29889,
5975,
580,
29962,
718,
518,
29900,
29962,
13,
462,
259,
1723,
718,
29871,
29896,
13,
13,
1678,
822,
903,
16593,
29918,
28045,
29898,
1311,
29897,
1599,
6213,
29901,
13,
4706,
4974,
1583,
29889,
7328,
13,
4706,
274,
3888,
353,
1583,
3032,
28045,
29879,
29918,
1609,
29918,
7328,
29889,
657,
29898,
1311,
29889,
7328,
29897,
13,
4706,
565,
451,
274,
3888,
29901,
13,
9651,
274,
3888,
353,
5725,
3401,
29898,
1311,
29889,
7328,
29892,
1583,
29889,
28045,
29918,
333,
29892,
6213,
29892,
6213,
29892,
426,
1800,
13,
9651,
5725,
17255,
7328,
287,
29918,
28045,
29879,
29961,
1311,
29889,
7328,
29962,
353,
274,
3888,
13,
9651,
274,
2034,
29918,
28045,
353,
26637,
2965,
3968,
29898,
1311,
29889,
10149,
467,
657,
29898,
1311,
29889,
7328,
29897,
13,
9651,
274,
3888,
29889,
20348,
353,
274,
2034,
29918,
28045,
29889,
657,
29918,
20348,
580,
13,
9651,
274,
3888,
29889,
9053,
353,
274,
2034,
29918,
28045,
29889,
275,
29918,
9053,
580,
13,
9651,
363,
260,
10030,
297,
274,
2034,
29918,
28045,
29889,
1761,
29918,
6979,
29918,
332,
275,
7295,
13,
18884,
10668,
29892,
12271,
29892,
318,
5416,
29892,
3611,
29892,
8666,
29892,
5455,
29892,
301,
2798,
353,
320,
13,
462,
1678,
274,
2034,
29918,
28045,
29889,
657,
29918,
312,
29875,
29918,
3888,
29898,
29873,
10030,
29897,
13,
18884,
274,
3888,
29889,
517,
12360,
29961,
29873,
10030,
29962,
353,
25159,
3401,
29898,
13,
462,
1678,
260,
10030,
29892,
10668,
29892,
12271,
29892,
318,
5416,
29892,
3611,
29892,
8666,
29892,
5455,
29892,
301,
2798,
29897,
13,
4706,
1583,
29889,
28045,
29918,
333,
353,
274,
3888,
29889,
28045,
29918,
333,
13,
4706,
1583,
29889,
20348,
353,
274,
3888,
29889,
20348,
13,
4706,
1583,
29889,
9053,
353,
274,
3888,
29889,
9053,
13,
4706,
1583,
29889,
517,
12360,
353,
274,
3888,
29889,
517,
12360,
13,
13,
1678,
822,
679,
29918,
6979,
3888,
29898,
1311,
29892,
3211,
29901,
5399,
2083,
7061,
29897,
1599,
25159,
3401,
29901,
13,
4706,
565,
3211,
451,
297,
1583,
29889,
517,
12360,
29889,
8149,
7295,
13,
9651,
12020,
8960,
29898,
29888,
29915,
3782,
1316,
5993,
3319,
7328,
1800,
373,
16653,
3319,
1311,
29889,
7328,
1800,
1495,
13,
4706,
736,
1583,
29889,
517,
12360,
29961,
7328,
29962,
13,
13,
1678,
822,
679,
29918,
6979,
3888,
29918,
1609,
29918,
333,
29898,
1311,
29892,
5993,
29918,
333,
29901,
938,
29897,
1599,
25159,
3401,
29901,
13,
4706,
736,
1583,
29889,
657,
29918,
6979,
3888,
29898,
1311,
29889,
333,
29906,
7328,
29898,
6979,
29918,
333,
876,
13,
13,
1678,
822,
1178,
29906,
7328,
29898,
1311,
29892,
5993,
29918,
333,
29901,
938,
29897,
1599,
5399,
2083,
7061,
29901,
13,
4706,
274,
3888,
353,
1583,
3032,
28045,
29879,
29918,
1609,
29918,
7328,
29889,
657,
29898,
1311,
29889,
7328,
29897,
13,
4706,
13128,
353,
518,
29873,
3888,
29889,
7328,
363,
260,
3888,
297,
274,
3888,
29889,
517,
12360,
29889,
5975,
580,
565,
260,
3888,
29889,
6979,
29918,
333,
1275,
5993,
29918,
333,
29962,
13,
4706,
565,
451,
13128,
29901,
13,
9651,
12020,
8960,
29898,
29888,
29915,
3782,
1316,
5993,
1178,
3319,
6979,
29918,
333,
1800,
373,
16653,
3319,
1311,
29889,
7328,
1800,
1495,
13,
4706,
4974,
7431,
29898,
7050,
29897,
1275,
29871,
29896,
13,
4706,
736,
13128,
29961,
29900,
29962,
13,
13,
1678,
822,
6036,
29918,
312,
29875,
29898,
13,
9651,
1583,
29892,
13,
9651,
5993,
29901,
5399,
2083,
7061,
29892,
13,
9651,
318,
5416,
29901,
501,
11150,
29892,
13,
9651,
3611,
29901,
851,
29892,
13,
9651,
8666,
29901,
938,
29892,
13,
9651,
5455,
29901,
5399,
2083,
7061,
29897,
1599,
6213,
29901,
13,
4706,
565,
8666,
529,
29871,
29900,
29901,
13,
9651,
12020,
8960,
29898,
29888,
29915,
13919,
8666,
29901,
426,
9175,
29913,
1495,
13,
4706,
4974,
1583,
29889,
7328,
13,
4706,
274,
2034,
29918,
28045,
353,
26637,
2965,
3968,
29898,
1311,
29889,
10149,
467,
657,
29898,
1311,
29889,
7328,
29897,
13,
4706,
274,
2034,
29918,
28045,
29889,
9573,
29918,
312,
29875,
29898,
6979,
29892,
318,
5416,
29892,
3611,
29892,
8666,
29892,
5455,
29897,
13,
4706,
1583,
29889,
4661,
1829,
580,
13,
13,
1678,
822,
9805,
29918,
312,
29875,
29898,
1311,
29892,
14297,
29901,
5399,
2083,
7061,
29892,
5993,
29901,
5399,
2083,
7061,
29897,
1599,
6213,
29901,
13,
4706,
4974,
1583,
29889,
7328,
13,
4706,
274,
2034,
29918,
28045,
353,
26637,
2965,
3968,
29898,
1311,
29889,
10149,
467,
657,
29898,
1311,
29889,
7328,
29897,
13,
4706,
274,
2034,
29918,
28045,
29889,
23679,
29918,
312,
29875,
29898,
5498,
2265,
29892,
5993,
29897,
13,
4706,
1583,
29889,
4661,
1829,
580,
13,
13,
1678,
822,
6623,
29918,
312,
29875,
29898,
1311,
29892,
5993,
29901,
5399,
2083,
7061,
29892,
318,
5416,
29901,
501,
11150,
29892,
3611,
29901,
851,
29892,
8666,
29901,
938,
29897,
1599,
6213,
29901,
13,
4706,
565,
8666,
529,
29871,
29900,
29901,
13,
9651,
12020,
8960,
29898,
29888,
29915,
13919,
8666,
29901,
426,
9175,
29913,
1495,
13,
4706,
4974,
1583,
29889,
7328,
13,
4706,
274,
2034,
29918,
28045,
353,
26637,
2965,
3968,
29898,
1311,
29889,
10149,
467,
657,
29898,
1311,
29889,
7328,
29897,
13,
4706,
274,
2034,
29918,
28045,
29889,
1545,
1598,
29918,
312,
29875,
29898,
6979,
29892,
318,
5416,
29892,
3611,
29892,
8666,
29892,
27255,
13,
4706,
1583,
29889,
4661,
1829,
580,
13,
13,
1678,
822,
443,
9573,
29918,
312,
29875,
29898,
1311,
29892,
5993,
29901,
5399,
2083,
7061,
29897,
1599,
6213,
29901,
13,
4706,
4974,
1583,
29889,
7328,
13,
4706,
274,
2034,
29918,
28045,
353,
26637,
2965,
3968,
29898,
1311,
29889,
10149,
467,
657,
29898,
1311,
29889,
7328,
29897,
13,
4706,
274,
2034,
29918,
28045,
29889,
348,
9573,
29918,
312,
29875,
29898,
6979,
29897,
13,
4706,
1583,
29889,
4661,
1829,
580,
13,
2
] |
greengraph/commands.py | ernestwcl/greengraph | 0 | 116560 | from argparse import ArgumentParser
from matplotlib import pyplot as plt
from greengraph import Greengraph
from map import Map
def process():
parser = ArgumentParser(description = "Create a graph showing number of green pixels between two locations on a satellite image")
parser.add_argument('--origin', help="origin" , default = 'London')
parser.add_argument('--dest', help = "destination", default = 'Oxford')
parser.add_argument('--nsteps', help = 'number of points inbetween, default 10', type=int, default = 10 )
parser.add_argument('--output', help = 'Output file name, use "*.png"', default = False)
arguments= parser.parse_args()
plt.close()
figure = plt.figure()
figure_axes = figure.add_subplot(1,1,1)
figure_axes.plot(Greengraph(arguments.origin ,arguments.dest).green_between(arguments.nsteps))
if arguments.output:
figure.savefig(arguments.output)
plt.show()
if __name__ == "__main__":
process() | [
1,
515,
1852,
5510,
1053,
23125,
11726,
13,
3166,
22889,
1053,
11451,
5317,
408,
14770,
13,
3166,
1395,
996,
1140,
1053,
4122,
996,
1140,
13,
3166,
2910,
1053,
7315,
13,
13,
1753,
1889,
7295,
13,
13,
1678,
13812,
353,
23125,
11726,
29898,
8216,
353,
376,
4391,
263,
3983,
6445,
1353,
310,
7933,
17036,
1546,
1023,
14354,
373,
263,
28421,
1967,
1159,
13,
268,
13,
1678,
13812,
29889,
1202,
29918,
23516,
877,
489,
12574,
742,
1371,
543,
12574,
29908,
1919,
2322,
353,
525,
26682,
265,
1495,
13,
1678,
13812,
29889,
1202,
29918,
23516,
877,
489,
7854,
742,
1371,
353,
376,
23848,
613,
2322,
353,
525,
29949,
29916,
4006,
1495,
13,
1678,
13812,
29889,
1202,
29918,
23516,
877,
489,
29876,
24530,
742,
1371,
353,
525,
4537,
310,
3291,
297,
14811,
29892,
2322,
29871,
29896,
29900,
742,
1134,
29922,
524,
29892,
2322,
353,
29871,
29896,
29900,
1723,
13,
1678,
13812,
29889,
1202,
29918,
23516,
877,
489,
4905,
742,
1371,
353,
525,
6466,
934,
1024,
29892,
671,
376,
10521,
2732,
29908,
742,
2322,
353,
7700,
29897,
13,
1678,
6273,
29922,
13812,
29889,
5510,
29918,
5085,
580,
13,
268,
13,
1678,
14770,
29889,
5358,
580,
13,
1678,
4377,
353,
14770,
29889,
4532,
580,
13,
1678,
4377,
29918,
1165,
267,
353,
4377,
29889,
1202,
29918,
1491,
5317,
29898,
29896,
29892,
29896,
29892,
29896,
29897,
13,
1678,
4377,
29918,
1165,
267,
29889,
5317,
29898,
25120,
996,
1140,
29898,
25699,
29889,
12574,
1919,
25699,
29889,
7854,
467,
12692,
29918,
14811,
29898,
25699,
29889,
29876,
24530,
876,
13,
1678,
565,
6273,
29889,
4905,
29901,
13,
4706,
4377,
29889,
7620,
1003,
29898,
25699,
29889,
4905,
29897,
13,
13,
1678,
14770,
29889,
4294,
580,
13,
268,
13,
361,
4770,
978,
1649,
1275,
376,
1649,
3396,
1649,
1115,
13,
1678,
1889,
580,
268,
2
] |
Semester 6/MA 322 (Scientific Computing Theory)/Labs/Lab 7/Code/q7.py | Imperial-lord/IITG | 4 | 42848 | # Question 07, Lab 07
# AB Satyaprakash, 180123062
# imports
import pandas as pd
import numpy as np
# functions
def f(t, y):
return y - t**2 + 1
def F(t):
return (t+1)**2 - 0.5*np.exp(t)
def RungeKutta4(t, y, h):
k1 = f(t, y)
k2 = f(t+h/2, y+h*k1/2)
k3 = f(t+h/2, y+h*k2/2)
k4 = f(t+h, y+h*k3)
return y + h*(k1 + 2*k2 + 2*k3 + k4)/6
def AdamsBashforth(t, y, h):
return y[-1] + h*(55*f(t[-1], y[-1]) - 59*f(t[-2], y[-2]) + 37*f(t[-3], y[-3]) - 9*f(t[-4], y[-4]))/24
def AdasmMoulton(t, y, h):
t1 = t[-1]+h
y1 = AdamsBashforth(t, y, h)
return y[-1] + h*(9*f(t1, y1) + 19*f(t[-1], y[-1]) - 5*f(t[-2], y[-2]) + f(t[-3], y[-3]))/24
# program body
t = [0]
y = [0.5]
h = 0.2
t.append(round(t[-1]+h, 1))
y.append(RungeKutta4(t[-1], y[-1], h))
t.append(round(t[-1]+h, 1))
y.append(RungeKutta4(t[-1], y[-1], h))
t.append(round(t[-1]+h, 1))
y.append(RungeKutta4(t[-1], y[-1], h))
yact = []
while t[-1] < 2:
y.append(AdasmMoulton(t, y, h))
t.append(round(t[-1]+h, 1))
for T in t:
yact.append(F(T))
df = pd.DataFrame()
df["Adam's Predictor-Corrector Method"] = pd.Series(y)
df['Actual Value'] = pd.Series(yact)
df.set_index(pd.Series(t), inplace=True)
print(df)
| [
1,
396,
894,
29871,
29900,
29955,
29892,
12016,
29871,
29900,
29955,
13,
29937,
17571,
317,
11156,
481,
4442,
1161,
29892,
29871,
29896,
29947,
29900,
29896,
29906,
29941,
29900,
29953,
29906,
13,
13,
29937,
24802,
13,
5215,
11701,
408,
10518,
13,
5215,
12655,
408,
7442,
13,
13,
29937,
3168,
13,
13,
13,
1753,
285,
29898,
29873,
29892,
343,
1125,
13,
1678,
736,
343,
448,
260,
1068,
29906,
718,
29871,
29896,
13,
13,
13,
1753,
383,
29898,
29873,
1125,
13,
1678,
736,
313,
29873,
29974,
29896,
29897,
1068,
29906,
448,
29871,
29900,
29889,
29945,
29930,
9302,
29889,
4548,
29898,
29873,
29897,
13,
13,
13,
1753,
7525,
479,
29968,
329,
941,
29946,
29898,
29873,
29892,
343,
29892,
298,
1125,
13,
1678,
413,
29896,
353,
285,
29898,
29873,
29892,
343,
29897,
13,
1678,
413,
29906,
353,
285,
29898,
29873,
29974,
29882,
29914,
29906,
29892,
343,
29974,
29882,
29930,
29895,
29896,
29914,
29906,
29897,
13,
1678,
413,
29941,
353,
285,
29898,
29873,
29974,
29882,
29914,
29906,
29892,
343,
29974,
29882,
29930,
29895,
29906,
29914,
29906,
29897,
13,
1678,
413,
29946,
353,
285,
29898,
29873,
29974,
29882,
29892,
343,
29974,
29882,
29930,
29895,
29941,
29897,
13,
1678,
736,
343,
718,
298,
16395,
29895,
29896,
718,
29871,
29906,
29930,
29895,
29906,
718,
29871,
29906,
29930,
29895,
29941,
718,
413,
29946,
6802,
29953,
13,
13,
13,
1753,
20359,
29933,
1161,
1454,
386,
29898,
29873,
29892,
343,
29892,
298,
1125,
13,
1678,
736,
343,
14352,
29896,
29962,
718,
298,
16395,
29945,
29945,
29930,
29888,
29898,
29873,
14352,
29896,
1402,
343,
14352,
29896,
2314,
448,
29871,
29945,
29929,
29930,
29888,
29898,
29873,
14352,
29906,
1402,
343,
14352,
29906,
2314,
718,
29871,
29941,
29955,
29930,
29888,
29898,
29873,
14352,
29941,
1402,
343,
14352,
29941,
2314,
448,
29871,
29929,
29930,
29888,
29898,
29873,
14352,
29946,
1402,
343,
14352,
29946,
12622,
29914,
29906,
29946,
13,
13,
13,
1753,
2087,
11625,
29924,
5059,
880,
29898,
29873,
29892,
343,
29892,
298,
1125,
13,
1678,
260,
29896,
353,
260,
14352,
29896,
10062,
29882,
13,
1678,
343,
29896,
353,
20359,
29933,
1161,
1454,
386,
29898,
29873,
29892,
343,
29892,
298,
29897,
13,
1678,
736,
343,
14352,
29896,
29962,
718,
298,
16395,
29929,
29930,
29888,
29898,
29873,
29896,
29892,
343,
29896,
29897,
718,
29871,
29896,
29929,
29930,
29888,
29898,
29873,
14352,
29896,
1402,
343,
14352,
29896,
2314,
448,
29871,
29945,
29930,
29888,
29898,
29873,
14352,
29906,
1402,
343,
14352,
29906,
2314,
718,
285,
29898,
29873,
14352,
29941,
1402,
343,
14352,
29941,
12622,
29914,
29906,
29946,
13,
13,
13,
29937,
1824,
3573,
13,
29873,
353,
518,
29900,
29962,
13,
29891,
353,
518,
29900,
29889,
29945,
29962,
13,
29882,
353,
29871,
29900,
29889,
29906,
13,
29873,
29889,
4397,
29898,
14486,
29898,
29873,
14352,
29896,
10062,
29882,
29892,
29871,
29896,
876,
13,
29891,
29889,
4397,
29898,
6558,
479,
29968,
329,
941,
29946,
29898,
29873,
14352,
29896,
1402,
343,
14352,
29896,
1402,
298,
876,
13,
29873,
29889,
4397,
29898,
14486,
29898,
29873,
14352,
29896,
10062,
29882,
29892,
29871,
29896,
876,
13,
29891,
29889,
4397,
29898,
6558,
479,
29968,
329,
941,
29946,
29898,
29873,
14352,
29896,
1402,
343,
14352,
29896,
1402,
298,
876,
13,
29873,
29889,
4397,
29898,
14486,
29898,
29873,
14352,
29896,
10062,
29882,
29892,
29871,
29896,
876,
13,
29891,
29889,
4397,
29898,
6558,
479,
29968,
329,
941,
29946,
29898,
29873,
14352,
29896,
1402,
343,
14352,
29896,
1402,
298,
876,
13,
29891,
627,
353,
5159,
13,
13,
8000,
260,
14352,
29896,
29962,
529,
29871,
29906,
29901,
13,
1678,
343,
29889,
4397,
29898,
3253,
11625,
29924,
5059,
880,
29898,
29873,
29892,
343,
29892,
298,
876,
13,
1678,
260,
29889,
4397,
29898,
14486,
29898,
29873,
14352,
29896,
10062,
29882,
29892,
29871,
29896,
876,
13,
1454,
323,
297,
260,
29901,
13,
1678,
343,
627,
29889,
4397,
29898,
29943,
29898,
29911,
876,
13,
13,
2176,
353,
10518,
29889,
17271,
580,
13,
2176,
3366,
3253,
314,
29915,
29879,
21099,
919,
272,
29899,
12521,
1621,
272,
8108,
3108,
353,
10518,
29889,
19204,
29898,
29891,
29897,
13,
2176,
1839,
2865,
950,
7865,
2033,
353,
10518,
29889,
19204,
29898,
29891,
627,
29897,
13,
2176,
29889,
842,
29918,
2248,
29898,
15926,
29889,
19204,
29898,
29873,
511,
297,
6689,
29922,
5574,
29897,
13,
2158,
29898,
2176,
29897,
13,
2
] |
python-algorithm/leetcode/problem_69.py | isudox/nerd-algorithm | 5 | 139975 | <reponame>isudox/nerd-algorithm
"""69. Sqrt(x)
https://leetcode.com/problems/sqrtx/
Implement int sqrt(int x).
Compute and return the square root of x, where x is guaranteed to be a
non-negative integer.
Since the return type is an integer, the decimal digits are truncated and
only the integer part of the result is returned.
Example 1:
Input: 4
Output: 2
Example 2:
Input: 8
Output: 2
Explanation: The square root of 8 is 2.82842..., and since
the decimal part is truncated, 2 is returned.
"""
class Solution:
def my_sqrt(self, x: int) -> int:
"""
It takes much time.
"""
if x == 0:
return 0
if x == 1:
return 1
for i in range(1, x):
temp = x // i
square = temp ** 2
if square == x:
return temp
elif square < x:
return temp
def my_sqrt_1(self, x: int) -> int:
def divide(l: int, r: int) -> int:
if l ** 2 == x:
return l
if r ** 2 == x:
return r
if r - l == 1:
return l
temp = (l + r) // 2
square = temp ** 2
if square < x:
return divide(temp, r)
if square > x:
return divide(l, temp)
else:
return temp
return divide(0, x)
| [
1,
529,
276,
1112,
420,
29958,
275,
566,
2251,
29914,
1089,
29881,
29899,
20567,
13,
15945,
29908,
29953,
29929,
29889,
317,
29939,
2273,
29898,
29916,
29897,
13,
991,
597,
280,
300,
401,
29889,
510,
29914,
17199,
29879,
29914,
3676,
29916,
29914,
13,
13,
1888,
2037,
938,
18074,
2273,
29898,
524,
921,
467,
13,
13,
20606,
29872,
322,
736,
278,
6862,
3876,
310,
921,
29892,
988,
921,
338,
22688,
304,
367,
263,
13,
5464,
29899,
22198,
6043,
29889,
13,
13,
23036,
278,
736,
1134,
338,
385,
6043,
29892,
278,
13677,
13340,
526,
21022,
630,
322,
13,
6194,
278,
6043,
760,
310,
278,
1121,
338,
4133,
29889,
13,
13,
14023,
29871,
29896,
29901,
13,
13,
4290,
29901,
29871,
29946,
13,
6466,
29901,
29871,
29906,
13,
14023,
29871,
29906,
29901,
13,
13,
4290,
29901,
29871,
29947,
13,
6466,
29901,
29871,
29906,
13,
1252,
9018,
362,
29901,
450,
6862,
3876,
310,
29871,
29947,
338,
29871,
29906,
29889,
29947,
29906,
29947,
29946,
29906,
16361,
322,
1951,
13,
632,
278,
13677,
760,
338,
21022,
630,
29892,
29871,
29906,
338,
4133,
29889,
13,
15945,
29908,
13,
13,
13,
1990,
24380,
29901,
13,
1678,
822,
590,
29918,
3676,
29898,
1311,
29892,
921,
29901,
938,
29897,
1599,
938,
29901,
13,
4706,
9995,
13,
4706,
739,
4893,
1568,
931,
29889,
13,
4706,
9995,
13,
4706,
565,
921,
1275,
29871,
29900,
29901,
13,
9651,
736,
29871,
29900,
13,
4706,
565,
921,
1275,
29871,
29896,
29901,
13,
9651,
736,
29871,
29896,
13,
4706,
363,
474,
297,
3464,
29898,
29896,
29892,
921,
1125,
13,
9651,
5694,
353,
921,
849,
474,
13,
9651,
6862,
353,
5694,
3579,
29871,
29906,
13,
9651,
565,
6862,
1275,
921,
29901,
13,
18884,
736,
5694,
13,
9651,
25342,
6862,
529,
921,
29901,
13,
18884,
736,
5694,
13,
13,
1678,
822,
590,
29918,
3676,
29918,
29896,
29898,
1311,
29892,
921,
29901,
938,
29897,
1599,
938,
29901,
13,
4706,
822,
16429,
29898,
29880,
29901,
938,
29892,
364,
29901,
938,
29897,
1599,
938,
29901,
13,
9651,
565,
301,
3579,
29871,
29906,
1275,
921,
29901,
13,
18884,
736,
301,
13,
9651,
565,
364,
3579,
29871,
29906,
1275,
921,
29901,
13,
18884,
736,
364,
13,
9651,
565,
364,
448,
301,
1275,
29871,
29896,
29901,
13,
18884,
736,
301,
13,
9651,
5694,
353,
313,
29880,
718,
364,
29897,
849,
29871,
29906,
13,
9651,
6862,
353,
5694,
3579,
29871,
29906,
13,
9651,
565,
6862,
529,
921,
29901,
13,
18884,
736,
16429,
29898,
7382,
29892,
364,
29897,
13,
9651,
565,
6862,
1405,
921,
29901,
13,
18884,
736,
16429,
29898,
29880,
29892,
5694,
29897,
13,
9651,
1683,
29901,
13,
18884,
736,
5694,
13,
13,
4706,
736,
16429,
29898,
29900,
29892,
921,
29897,
13,
2
] |
esp/4_digit_7_segment.py | steve9164/micropython_quokka | 3 | 82235 | import machine
spi = machine.SPI(1)
spi.init(baudrate=1000000)
rclk = machine.Pin(15, machine.Pin.OUT)
rclk.off()
ZERO = 0b00111111
ONE = 0b00000110
TWO = 0b01011011
THREE = 0b01001111
FOUR = 0b01100110
FIVE = 0b01101101
SIX = 0b01111101
SEVEN = 0b00000111
EIGHT = 0b01111111
NINE = 0b01101111
digits = [ZERO, ONE, TWO, THREE, FOUR, FIVE, SIX, SEVEN, EIGHT, NINE]
def display(digitBytes):
rclk.off()
spi.write(bytes(digitBytes))
rclk.on()
| [
1,
1053,
4933,
13,
13,
1028,
29875,
353,
4933,
29889,
29903,
2227,
29898,
29896,
29897,
13,
1028,
29875,
29889,
2344,
29898,
2291,
566,
10492,
29922,
29896,
29900,
29900,
29900,
29900,
29900,
29900,
29897,
13,
29878,
20495,
353,
4933,
29889,
29925,
262,
29898,
29896,
29945,
29892,
4933,
29889,
29925,
262,
29889,
12015,
29897,
13,
29878,
20495,
29889,
2696,
580,
13,
13,
29999,
1001,
29949,
29871,
353,
29871,
29900,
29890,
29900,
29900,
29896,
29896,
29896,
29896,
29896,
29896,
13,
12413,
259,
353,
29871,
29900,
29890,
29900,
29900,
29900,
29900,
29900,
29896,
29896,
29900,
13,
16240,
29949,
259,
353,
29871,
29900,
29890,
29900,
29896,
29900,
29896,
29896,
29900,
29896,
29896,
13,
4690,
21661,
353,
29871,
29900,
29890,
29900,
29896,
29900,
29900,
29896,
29896,
29896,
29896,
13,
5800,
4574,
29871,
353,
29871,
29900,
29890,
29900,
29896,
29896,
29900,
29900,
29896,
29896,
29900,
13,
3738,
12064,
29871,
353,
29871,
29900,
29890,
29900,
29896,
29896,
29900,
29896,
29896,
29900,
29896,
13,
5425,
29990,
259,
353,
29871,
29900,
29890,
29900,
29896,
29896,
29896,
29896,
29896,
29900,
29896,
13,
1660,
29963,
1430,
353,
29871,
29900,
29890,
29900,
29900,
29900,
29900,
29900,
29896,
29896,
29896,
13,
29923,
22530,
353,
29871,
29900,
29890,
29900,
29896,
29896,
29896,
29896,
29896,
29896,
29896,
13,
29940,
8895,
29871,
353,
29871,
29900,
29890,
29900,
29896,
29896,
29900,
29896,
29896,
29896,
29896,
13,
13,
7501,
1169,
353,
518,
29999,
1001,
29949,
29892,
6732,
29923,
29892,
323,
29956,
29949,
29892,
3446,
21661,
29892,
18322,
4574,
29892,
383,
18474,
29892,
317,
6415,
29892,
3725,
29963,
1430,
29892,
382,
22530,
29892,
405,
8895,
29962,
13,
13,
1753,
2479,
29898,
26204,
11207,
1125,
13,
29871,
364,
20495,
29889,
2696,
580,
13,
29871,
805,
29875,
29889,
3539,
29898,
13193,
29898,
26204,
11207,
876,
13,
29871,
364,
20495,
29889,
265,
580,
13,
2
] |
today/models.py | wwj718/xiguaforvps | 1 | 167185 | <gh_stars>1-10
#coding=utf-8
from time import time
from urlparse import urlparse
from django.db import models
from django.db.models.signals import post_save
from django.dispatch import receiver
from mezzanine.core.models import Displayable, Ownable
from mezzanine.generic.models import Rating
from mezzanine.generic.fields import RatingField, CommentsField
class Link(Displayable, Ownable):
c=(('hc','清真餐厅'),('yc','一餐厅'),('ec','二餐厅'),('sc','三餐厅'),('jby','聚博园'),('other','未分类'))
canteen=models.CharField(max_length=20,choices=c,default='ec')
link = models.URLField(blank=True) #这个根本不需要,不要删除吧,免得麻烦,只要不让它出现就行,完成
rating = RatingField()
comments = CommentsField()
solved = models.BooleanField(default=False)
@models.permalink
def get_absolute_url(self):
return ("link_detail", (), {"slug": self.slug})
@property
def domain(self):
return urlparse(self.link).netloc
class Profile(models.Model):
user = models.OneToOneField("auth.User")
website = models.URLField(blank=True)
bio = models.TextField(blank=True)
karma = models.IntegerField(default=0, editable=False)
def __unicode__(self):
return "%s (%s)" % (self.user, self.karma)
@receiver(post_save, sender=Rating)
def karma(sender, **kwargs):
"""
Each time a rating is saved, check its value and modify the
profile karma for the related object's user accordingly.
Since ratings are either +1/-1, if a rating is being edited,
we can assume that the existing rating is in the other direction,
so we multiply the karma modifier by 2.
"""
rating = kwargs["instance"]
value = int(rating.value)
if not kwargs["created"]:
value *= 2
content_object = rating.content_object
if rating.user != content_object.user:
queryset = Profile.objects.filter(user=content_object.user)
queryset.update(karma=models.F("karma") + value)
| [
1,
529,
12443,
29918,
303,
1503,
29958,
29896,
29899,
29896,
29900,
13,
29937,
29883,
3689,
29922,
9420,
29899,
29947,
13,
3166,
931,
1053,
931,
13,
3166,
3142,
5510,
1053,
3142,
5510,
13,
13,
3166,
9557,
29889,
2585,
1053,
4733,
13,
3166,
9557,
29889,
2585,
29889,
9794,
29889,
4530,
1338,
1053,
1400,
29918,
7620,
13,
3166,
9557,
29889,
13369,
1053,
19870,
13,
13,
3166,
592,
5617,
273,
457,
29889,
3221,
29889,
9794,
1053,
17440,
519,
29892,
438,
1233,
519,
13,
3166,
592,
5617,
273,
457,
29889,
19206,
29889,
9794,
1053,
390,
1218,
13,
3166,
592,
5617,
273,
457,
29889,
19206,
29889,
9621,
1053,
390,
1218,
3073,
29892,
461,
29879,
3073,
13,
13,
1990,
6645,
29898,
9323,
519,
29892,
438,
1233,
519,
1125,
13,
1678,
274,
7607,
877,
29882,
29883,
3788,
30989,
30848,
236,
167,
147,
232,
145,
136,
5477,
877,
11078,
3788,
30287,
236,
167,
147,
232,
145,
136,
5477,
877,
687,
3788,
30685,
236,
167,
147,
232,
145,
136,
5477,
877,
1557,
3788,
30457,
236,
167,
147,
232,
145,
136,
5477,
877,
29926,
1609,
3788,
235,
132,
157,
31196,
232,
158,
176,
5477,
877,
1228,
3788,
31295,
30748,
30832,
8785,
13,
1678,
508,
9404,
29922,
9794,
29889,
27890,
29898,
3317,
29918,
2848,
29922,
29906,
29900,
29892,
1859,
1575,
29922,
29883,
29892,
4381,
2433,
687,
1495,
13,
1678,
1544,
353,
4733,
29889,
4219,
3073,
29898,
19465,
29922,
5574,
29897,
259,
396,
30810,
30502,
31393,
30346,
30413,
31383,
30698,
30214,
30413,
30698,
31916,
31152,
232,
147,
170,
30214,
232,
136,
144,
31050,
31846,
234,
134,
169,
30214,
31557,
30698,
30413,
235,
177,
172,
232,
177,
134,
30544,
31424,
31238,
30448,
29892,
31366,
30494,
13,
1678,
21700,
353,
390,
1218,
3073,
580,
13,
1678,
6589,
353,
461,
29879,
3073,
580,
13,
1678,
7484,
29871,
353,
4733,
29889,
18146,
3073,
29898,
4381,
29922,
8824,
29897,
13,
268,
13,
1678,
732,
9794,
29889,
546,
5156,
682,
13,
1678,
822,
679,
29918,
23552,
29918,
2271,
29898,
1311,
1125,
13,
4706,
736,
4852,
2324,
29918,
16432,
613,
313,
511,
8853,
29517,
1115,
1583,
29889,
29517,
1800,
13,
13,
1678,
732,
6799,
13,
1678,
822,
5354,
29898,
1311,
1125,
13,
4706,
736,
3142,
5510,
29898,
1311,
29889,
2324,
467,
1212,
2029,
13,
13,
13,
1990,
20802,
29898,
9794,
29889,
3195,
1125,
13,
13,
1678,
1404,
353,
4733,
29889,
6716,
1762,
6716,
3073,
703,
5150,
29889,
2659,
1159,
13,
1678,
4700,
353,
4733,
29889,
4219,
3073,
29898,
19465,
29922,
5574,
29897,
13,
1678,
17799,
353,
4733,
29889,
15778,
29898,
19465,
29922,
5574,
29897,
13,
1678,
10856,
655,
353,
4733,
29889,
7798,
3073,
29898,
4381,
29922,
29900,
29892,
3863,
519,
29922,
8824,
29897,
13,
13,
1678,
822,
4770,
2523,
356,
12035,
1311,
1125,
13,
4706,
736,
11860,
29879,
313,
29995,
29879,
5513,
1273,
313,
1311,
29889,
1792,
29892,
1583,
29889,
5689,
655,
29897,
13,
13,
13,
29992,
13556,
2147,
29898,
2490,
29918,
7620,
29892,
10004,
29922,
29934,
1218,
29897,
13,
1753,
10856,
655,
29898,
15452,
29892,
3579,
19290,
1125,
13,
1678,
9995,
13,
1678,
7806,
931,
263,
21700,
338,
7160,
29892,
1423,
967,
995,
322,
6623,
278,
13,
1678,
8722,
10856,
655,
363,
278,
4475,
1203,
29915,
29879,
1404,
16205,
29889,
13,
1678,
4001,
26838,
526,
2845,
718,
29896,
24028,
29896,
29892,
565,
263,
21700,
338,
1641,
8788,
29892,
13,
1678,
591,
508,
5251,
393,
278,
5923,
21700,
338,
297,
278,
916,
5305,
29892,
13,
1678,
577,
591,
22932,
278,
10856,
655,
878,
3709,
491,
29871,
29906,
29889,
13,
1678,
9995,
13,
1678,
21700,
353,
9049,
5085,
3366,
8758,
3108,
13,
1678,
995,
353,
938,
29898,
29741,
29889,
1767,
29897,
13,
1678,
565,
451,
9049,
5085,
3366,
11600,
3108,
29901,
13,
4706,
995,
334,
29922,
29871,
29906,
13,
1678,
2793,
29918,
3318,
353,
21700,
29889,
3051,
29918,
3318,
13,
1678,
565,
21700,
29889,
1792,
2804,
2793,
29918,
3318,
29889,
1792,
29901,
13,
4706,
2346,
842,
353,
20802,
29889,
12650,
29889,
4572,
29898,
1792,
29922,
3051,
29918,
3318,
29889,
1792,
29897,
13,
4706,
2346,
842,
29889,
5504,
29898,
5689,
655,
29922,
9794,
29889,
29943,
703,
5689,
655,
1159,
718,
995,
29897,
13,
2
] |
Problem 59.py | mmax5/project-euler | 0 | 60211 | import sys
__author__ = 'mikemax'
text = open('p059_cipher.txt').read(-1)
weights = {}
sums = {}
string = {}
for a in range(97, 122):
for b in range(97, 122):
for c in range(97, 122):
weights[(a << 16) + (b << 8) + c] = 0
sums[(a << 16) + (b << 8) + c] = 0
string[(a << 16) + (b << 8) + c] = ''
chars = [int(char) for char in text.split(',')]
for i in range(0, len(chars), 3):
for w in weights.keys():
first = w & 0xFF ^ chars[i]
if(len(chars)> i+1):
second = (w >> 8) & 0xFF ^ chars[i+1]
third = (w >> 16) & 0xFF ^ chars[i+2]
j = 0
for c in [first, second, third]:
string[w] += chr(c)
if (65 <= c <= 91) or (97 <= c <= 122):
weights[w] += 1
if(len(chars)> i +j):
sums[w] += c
j += 1
max = 0
max_w = 0
for key, value in weights.iteritems():
if value > max:
max = value
max_w = key
print string[max_w], sums[max_w] | [
1,
1053,
10876,
13,
13,
1649,
8921,
1649,
353,
525,
29885,
638,
331,
1165,
29915,
13,
726,
353,
1722,
877,
29886,
29900,
29945,
29929,
29918,
455,
8096,
29889,
3945,
2824,
949,
6278,
29896,
29897,
13,
13,
705,
5861,
353,
6571,
13,
2083,
29879,
353,
6571,
13,
1807,
353,
6571,
13,
13,
1454,
263,
297,
3464,
29898,
29929,
29955,
29892,
29871,
29896,
29906,
29906,
1125,
13,
1678,
363,
289,
297,
3464,
29898,
29929,
29955,
29892,
29871,
29896,
29906,
29906,
1125,
13,
4706,
363,
274,
297,
3464,
29898,
29929,
29955,
29892,
29871,
29896,
29906,
29906,
1125,
13,
9651,
18177,
15625,
29874,
3532,
29871,
29896,
29953,
29897,
718,
313,
29890,
3532,
29871,
29947,
29897,
718,
274,
29962,
353,
29871,
29900,
13,
9651,
25470,
15625,
29874,
3532,
29871,
29896,
29953,
29897,
718,
313,
29890,
3532,
29871,
29947,
29897,
718,
274,
29962,
353,
29871,
29900,
13,
9651,
1347,
15625,
29874,
3532,
29871,
29896,
29953,
29897,
718,
313,
29890,
3532,
29871,
29947,
29897,
718,
274,
29962,
353,
6629,
13,
13,
305,
1503,
353,
518,
524,
29898,
3090,
29897,
363,
1373,
297,
1426,
29889,
5451,
29317,
1495,
29962,
13,
1454,
474,
297,
3464,
29898,
29900,
29892,
7431,
29898,
305,
1503,
511,
29871,
29941,
1125,
13,
1678,
363,
281,
297,
18177,
29889,
8149,
7295,
13,
4706,
937,
353,
281,
669,
29871,
29900,
29916,
4198,
6228,
22524,
29961,
29875,
29962,
13,
4706,
565,
29898,
2435,
29898,
305,
1503,
15410,
474,
29974,
29896,
1125,
13,
9651,
1473,
353,
313,
29893,
5099,
29871,
29947,
29897,
669,
29871,
29900,
29916,
4198,
6228,
22524,
29961,
29875,
29974,
29896,
29962,
13,
9651,
4654,
353,
313,
29893,
5099,
29871,
29896,
29953,
29897,
669,
29871,
29900,
29916,
4198,
6228,
22524,
29961,
29875,
29974,
29906,
29962,
13,
13,
4706,
432,
353,
29871,
29900,
13,
4706,
363,
274,
297,
518,
4102,
29892,
1473,
29892,
4654,
5387,
13,
9651,
1347,
29961,
29893,
29962,
4619,
18460,
29898,
29883,
29897,
13,
9651,
565,
313,
29953,
29945,
5277,
274,
5277,
29871,
29929,
29896,
29897,
470,
313,
29929,
29955,
5277,
274,
5277,
29871,
29896,
29906,
29906,
1125,
13,
18884,
18177,
29961,
29893,
29962,
4619,
29871,
29896,
13,
9651,
565,
29898,
2435,
29898,
305,
1503,
15410,
474,
718,
29926,
1125,
13,
18884,
25470,
29961,
29893,
29962,
4619,
274,
13,
9651,
432,
4619,
29871,
29896,
13,
13,
3317,
353,
29871,
29900,
13,
3317,
29918,
29893,
353,
29871,
29900,
13,
1454,
1820,
29892,
995,
297,
18177,
29889,
1524,
7076,
7295,
13,
1678,
565,
995,
1405,
4236,
29901,
13,
4706,
4236,
353,
995,
13,
4706,
4236,
29918,
29893,
353,
1820,
13,
13,
2158,
1347,
29961,
3317,
29918,
29893,
1402,
25470,
29961,
3317,
29918,
29893,
29962,
2
] |
google/home/enterprise/sdm/v1/enterprise-sdm-v1-py/google/home/enterprise/sdm_v1/services/smart_device_management_service/client.py | googleapis/googleapis-gen | 7 | 94883 | <gh_stars>1-10
# -*- coding: utf-8 -*-
# Copyright 2020 Google LLC
#
# 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 collections import OrderedDict
from distutils import util
import os
import re
from typing import Dict, Optional, Sequence, Tuple, Type, Union
import pkg_resources
from google.api_core import client_options as client_options_lib # type: ignore
from google.api_core import exceptions as core_exceptions # type: ignore
from google.api_core import gapic_v1 # type: ignore
from google.api_core import retry as retries # type: ignore
from google.auth import credentials as ga_credentials # type: ignore
from google.auth.transport import mtls # type: ignore
from google.auth.transport.grpc import SslCredentials # type: ignore
from google.auth.exceptions import MutualTLSChannelError # type: ignore
from google.oauth2 import service_account # type: ignore
from google.home.enterprise.sdm_v1.services.smart_device_management_service import pagers
from google.home.enterprise.sdm_v1.types import device
from google.home.enterprise.sdm_v1.types import site
from google.home.enterprise.sdm_v1.types import smart_device_management_service
from google.protobuf import struct_pb2 # type: ignore
from .transports.base import SmartDeviceManagementServiceTransport, DEFAULT_CLIENT_INFO
from .transports.grpc import SmartDeviceManagementServiceGrpcTransport
from .transports.grpc_asyncio import SmartDeviceManagementServiceGrpcAsyncIOTransport
class SmartDeviceManagementServiceClientMeta(type):
"""Metaclass for the SmartDeviceManagementService client.
This provides class-level methods for building and retrieving
support objects (e.g. transport) without polluting the client instance
objects.
"""
_transport_registry = OrderedDict() # type: Dict[str, Type[SmartDeviceManagementServiceTransport]]
_transport_registry["grpc"] = SmartDeviceManagementServiceGrpcTransport
_transport_registry["grpc_asyncio"] = SmartDeviceManagementServiceGrpcAsyncIOTransport
def get_transport_class(cls,
label: str = None,
) -> Type[SmartDeviceManagementServiceTransport]:
"""Returns an appropriate transport class.
Args:
label: The name of the desired transport. If none is
provided, then the first transport in the registry is used.
Returns:
The transport class to use.
"""
# If a specific transport is requested, return that one.
if label:
return cls._transport_registry[label]
# No transport is requested; return the default (that is, the first one
# in the dictionary).
return next(iter(cls._transport_registry.values()))
class SmartDeviceManagementServiceClient(metaclass=SmartDeviceManagementServiceClientMeta):
"""A service that allows API consumers to provision and manage
Google Home structures and devices for enterprise use cases.
"""
@staticmethod
def _get_default_mtls_endpoint(api_endpoint):
"""Converts api endpoint to mTLS endpoint.
Convert "*.sandbox.googleapis.com" and "*.googleapis.com" to
"*.mtls.sandbox.googleapis.com" and "*.mtls.googleapis.com" respectively.
Args:
api_endpoint (Optional[str]): the api endpoint to convert.
Returns:
str: converted mTLS api endpoint.
"""
if not api_endpoint:
return api_endpoint
mtls_endpoint_re = re.compile(
r"(?P<name>[^.]+)(?P<mtls>\.mtls)?(?P<sandbox>\.sandbox)?(?P<googledomain>\.googleapis\.com)?"
)
m = mtls_endpoint_re.match(api_endpoint)
name, mtls, sandbox, googledomain = m.groups()
if mtls or not googledomain:
return api_endpoint
if sandbox:
return api_endpoint.replace(
"sandbox.googleapis.com", "mtls.sandbox.googleapis.com"
)
return api_endpoint.replace(".googleapis.com", ".mtls.googleapis.com")
DEFAULT_ENDPOINT = "smartdevicemanagement.googleapis.com"
DEFAULT_MTLS_ENDPOINT = _get_default_mtls_endpoint.__func__( # type: ignore
DEFAULT_ENDPOINT
)
@classmethod
def from_service_account_info(cls, info: dict, *args, **kwargs):
"""Creates an instance of this client using the provided credentials
info.
Args:
info (dict): The service account private key info.
args: Additional arguments to pass to the constructor.
kwargs: Additional arguments to pass to the constructor.
Returns:
SmartDeviceManagementServiceClient: The constructed client.
"""
credentials = service_account.Credentials.from_service_account_info(info)
kwargs["credentials"] = credentials
return cls(*args, **kwargs)
@classmethod
def from_service_account_file(cls, filename: str, *args, **kwargs):
"""Creates an instance of this client using the provided credentials
file.
Args:
filename (str): The path to the service account private key json
file.
args: Additional arguments to pass to the constructor.
kwargs: Additional arguments to pass to the constructor.
Returns:
SmartDeviceManagementServiceClient: The constructed client.
"""
credentials = service_account.Credentials.from_service_account_file(
filename)
kwargs["credentials"] = credentials
return cls(*args, **kwargs)
from_service_account_json = from_service_account_file
@property
def transport(self) -> SmartDeviceManagementServiceTransport:
"""Returns the transport used by the client instance.
Returns:
SmartDeviceManagementServiceTransport: The transport used by the client
instance.
"""
return self._transport
@staticmethod
def device_path(enterprise: str,device: str,) -> str:
"""Returns a fully-qualified device string."""
return "enterprises/{enterprise}/devices/{device}".format(enterprise=enterprise, device=device, )
@staticmethod
def parse_device_path(path: str) -> Dict[str,str]:
"""Parses a device path into its component segments."""
m = re.match(r"^enterprises/(?P<enterprise>.+?)/devices/(?P<device>.+?)$", path)
return m.groupdict() if m else {}
@staticmethod
def room_path(enterprise: str,structure: str,room: str,) -> str:
"""Returns a fully-qualified room string."""
return "enterprises/{enterprise}/structures/{structure}/rooms/{room}".format(enterprise=enterprise, structure=structure, room=room, )
@staticmethod
def parse_room_path(path: str) -> Dict[str,str]:
"""Parses a room path into its component segments."""
m = re.match(r"^enterprises/(?P<enterprise>.+?)/structures/(?P<structure>.+?)/rooms/(?P<room>.+?)$", path)
return m.groupdict() if m else {}
@staticmethod
def structure_path(enterprise: str,structure: str,) -> str:
"""Returns a fully-qualified structure string."""
return "enterprises/{enterprise}/structures/{structure}".format(enterprise=enterprise, structure=structure, )
@staticmethod
def parse_structure_path(path: str) -> Dict[str,str]:
"""Parses a structure path into its component segments."""
m = re.match(r"^enterprises/(?P<enterprise>.+?)/structures/(?P<structure>.+?)$", path)
return m.groupdict() if m else {}
@staticmethod
def common_billing_account_path(billing_account: str, ) -> str:
"""Returns a fully-qualified billing_account string."""
return "billingAccounts/{billing_account}".format(billing_account=billing_account, )
@staticmethod
def parse_common_billing_account_path(path: str) -> Dict[str,str]:
"""Parse a billing_account path into its component segments."""
m = re.match(r"^billingAccounts/(?P<billing_account>.+?)$", path)
return m.groupdict() if m else {}
@staticmethod
def common_folder_path(folder: str, ) -> str:
"""Returns a fully-qualified folder string."""
return "folders/{folder}".format(folder=folder, )
@staticmethod
def parse_common_folder_path(path: str) -> Dict[str,str]:
"""Parse a folder path into its component segments."""
m = re.match(r"^folders/(?P<folder>.+?)$", path)
return m.groupdict() if m else {}
@staticmethod
def common_organization_path(organization: str, ) -> str:
"""Returns a fully-qualified organization string."""
return "organizations/{organization}".format(organization=organization, )
@staticmethod
def parse_common_organization_path(path: str) -> Dict[str,str]:
"""Parse a organization path into its component segments."""
m = re.match(r"^organizations/(?P<organization>.+?)$", path)
return m.groupdict() if m else {}
@staticmethod
def common_project_path(project: str, ) -> str:
"""Returns a fully-qualified project string."""
return "projects/{project}".format(project=project, )
@staticmethod
def parse_common_project_path(path: str) -> Dict[str,str]:
"""Parse a project path into its component segments."""
m = re.match(r"^projects/(?P<project>.+?)$", path)
return m.groupdict() if m else {}
@staticmethod
def common_location_path(project: str, location: str, ) -> str:
"""Returns a fully-qualified location string."""
return "projects/{project}/locations/{location}".format(project=project, location=location, )
@staticmethod
def parse_common_location_path(path: str) -> Dict[str,str]:
"""Parse a location path into its component segments."""
m = re.match(r"^projects/(?P<project>.+?)/locations/(?P<location>.+?)$", path)
return m.groupdict() if m else {}
def __init__(self, *,
credentials: Optional[ga_credentials.Credentials] = None,
transport: Union[str, SmartDeviceManagementServiceTransport, None] = None,
client_options: Optional[client_options_lib.ClientOptions] = None,
client_info: gapic_v1.client_info.ClientInfo = DEFAULT_CLIENT_INFO,
) -> None:
"""Instantiates the smart device management service client.
Args:
credentials (Optional[google.auth.credentials.Credentials]): The
authorization credentials to attach to requests. These
credentials identify the application to the service; if none
are specified, the client will attempt to ascertain the
credentials from the environment.
transport (Union[str, SmartDeviceManagementServiceTransport]): The
transport to use. If set to None, a transport is chosen
automatically.
client_options (google.api_core.client_options.ClientOptions): Custom options for the
client. It won't take effect if a ``transport`` instance is provided.
(1) The ``api_endpoint`` property can be used to override the
default endpoint provided by the client. GOOGLE_API_USE_MTLS_ENDPOINT
environment variable can also be used to override the endpoint:
"always" (always use the default mTLS endpoint), "never" (always
use the default regular endpoint) and "auto" (auto switch to the
default mTLS endpoint if client certificate is present, this is
the default value). However, the ``api_endpoint`` property takes
precedence if provided.
(2) If GOOGLE_API_USE_CLIENT_CERTIFICATE environment variable
is "true", then the ``client_cert_source`` property can be used
to provide client certificate for mutual TLS transport. If
not provided, the default SSL client certificate will be used if
present. If GOOGLE_API_USE_CLIENT_CERTIFICATE is "false" or not
set, no client certificate will be used.
client_info (google.api_core.gapic_v1.client_info.ClientInfo):
The client info used to send a user-agent string along with
API requests. If ``None``, then default info will be used.
Generally, you only need to set this if you're developing
your own client library.
Raises:
google.auth.exceptions.MutualTLSChannelError: If mutual TLS transport
creation failed for any reason.
"""
if isinstance(client_options, dict):
client_options = client_options_lib.from_dict(client_options)
if client_options is None:
client_options = client_options_lib.ClientOptions()
# Create SSL credentials for mutual TLS if needed.
use_client_cert = bool(util.strtobool(os.getenv("GOOGLE_API_USE_CLIENT_CERTIFICATE", "false")))
client_cert_source_func = None
is_mtls = False
if use_client_cert:
if client_options.client_cert_source:
is_mtls = True
client_cert_source_func = client_options.client_cert_source
else:
is_mtls = mtls.has_default_client_cert_source()
if is_mtls:
client_cert_source_func = mtls.default_client_cert_source()
else:
client_cert_source_func = None
# Figure out which api endpoint to use.
if client_options.api_endpoint is not None:
api_endpoint = client_options.api_endpoint
else:
use_mtls_env = os.getenv("GOOGLE_API_USE_MTLS_ENDPOINT", "auto")
if use_mtls_env == "never":
api_endpoint = self.DEFAULT_ENDPOINT
elif use_mtls_env == "always":
api_endpoint = self.DEFAULT_MTLS_ENDPOINT
elif use_mtls_env == "auto":
if is_mtls:
api_endpoint = self.DEFAULT_MTLS_ENDPOINT
else:
api_endpoint = self.DEFAULT_ENDPOINT
else:
raise MutualTLSChannelError(
"Unsupported GOOGLE_API_USE_MTLS_ENDPOINT value. Accepted "
"values: never, auto, always"
)
# Save or instantiate the transport.
# Ordinarily, we provide the transport, but allowing a custom transport
# instance provides an extensibility point for unusual situations.
if isinstance(transport, SmartDeviceManagementServiceTransport):
# transport is a SmartDeviceManagementServiceTransport instance.
if credentials or client_options.credentials_file:
raise ValueError("When providing a transport instance, "
"provide its credentials directly.")
if client_options.scopes:
raise ValueError(
"When providing a transport instance, provide its scopes "
"directly."
)
self._transport = transport
else:
Transport = type(self).get_transport_class(transport)
self._transport = Transport(
credentials=credentials,
credentials_file=client_options.credentials_file,
host=api_endpoint,
scopes=client_options.scopes,
client_cert_source_for_mtls=client_cert_source_func,
quota_project_id=client_options.quota_project_id,
client_info=client_info,
always_use_jwt_access=True,
)
def get_device(self,
request: Union[smart_device_management_service.GetDeviceRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
metadata: Sequence[Tuple[str, str]] = (),
) -> device.Device:
r"""Gets a device managed by the enterprise.
Args:
request (Union[google.home.enterprise.sdm_v1.types.GetDeviceRequest, dict]):
The request object. Request message for
SmartDeviceManagementService.GetDevice
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
sent along with the request as metadata.
Returns:
google.home.enterprise.sdm_v1.types.Device:
Device resource represents an
instance of enterprise managed device in
the property.
"""
# Create or coerce a protobuf request object.
# Minor optimization to avoid making a copy if the user passes
# in a smart_device_management_service.GetDeviceRequest.
# There's no risk of modifying the input as we've already verified
# there are no flattened fields.
if not isinstance(request, smart_device_management_service.GetDeviceRequest):
request = smart_device_management_service.GetDeviceRequest(request)
# Wrap the RPC method; this adds retry and timeout information,
# and friendly error handling.
rpc = self._transport._wrapped_methods[self._transport.get_device]
# Certain fields should be provided within the metadata header;
# add these here.
metadata = tuple(metadata) + (
gapic_v1.routing_header.to_grpc_metadata((
("name", request.name),
)),
)
# Send the request.
response = rpc(
request,
retry=retry,
timeout=timeout,
metadata=metadata,
)
# Done; return the response.
return response
def list_devices(self,
request: Union[smart_device_management_service.ListDevicesRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
metadata: Sequence[Tuple[str, str]] = (),
) -> pagers.ListDevicesPager:
r"""Lists devices managed by the enterprise.
Args:
request (Union[google.home.enterprise.sdm_v1.types.ListDevicesRequest, dict]):
The request object. Request message for
SmartDeviceManagementService.ListDevices
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
sent along with the request as metadata.
Returns:
google.home.enterprise.sdm_v1.services.smart_device_management_service.pagers.ListDevicesPager:
Response message for
SmartDeviceManagementService.ListDevices
Iterating over this object will yield
results and resolve additional pages
automatically.
"""
# Create or coerce a protobuf request object.
# Minor optimization to avoid making a copy if the user passes
# in a smart_device_management_service.ListDevicesRequest.
# There's no risk of modifying the input as we've already verified
# there are no flattened fields.
if not isinstance(request, smart_device_management_service.ListDevicesRequest):
request = smart_device_management_service.ListDevicesRequest(request)
# Wrap the RPC method; this adds retry and timeout information,
# and friendly error handling.
rpc = self._transport._wrapped_methods[self._transport.list_devices]
# Certain fields should be provided within the metadata header;
# add these here.
metadata = tuple(metadata) + (
gapic_v1.routing_header.to_grpc_metadata((
("parent", request.parent),
)),
)
# Send the request.
response = rpc(
request,
retry=retry,
timeout=timeout,
metadata=metadata,
)
# This method is paged; wrap the response in a pager, which provides
# an `__iter__` convenience method.
response = pagers.ListDevicesPager(
method=rpc,
request=request,
response=response,
metadata=metadata,
)
# Done; return the response.
return response
def execute_device_command(self,
request: Union[smart_device_management_service.ExecuteDeviceCommandRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
metadata: Sequence[Tuple[str, str]] = (),
) -> smart_device_management_service.ExecuteDeviceCommandResponse:
r"""Executes a command to device managed by the
enterprise.
Args:
request (Union[google.home.enterprise.sdm_v1.types.ExecuteDeviceCommandRequest, dict]):
The request object. Request message for
SmartDeviceManagementService.ExecuteDeviceCommand
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
sent along with the request as metadata.
Returns:
google.home.enterprise.sdm_v1.types.ExecuteDeviceCommandResponse:
Response message for
SmartDeviceManagementService.ExecuteDeviceCommand
"""
# Create or coerce a protobuf request object.
# Minor optimization to avoid making a copy if the user passes
# in a smart_device_management_service.ExecuteDeviceCommandRequest.
# There's no risk of modifying the input as we've already verified
# there are no flattened fields.
if not isinstance(request, smart_device_management_service.ExecuteDeviceCommandRequest):
request = smart_device_management_service.ExecuteDeviceCommandRequest(request)
# Wrap the RPC method; this adds retry and timeout information,
# and friendly error handling.
rpc = self._transport._wrapped_methods[self._transport.execute_device_command]
# Certain fields should be provided within the metadata header;
# add these here.
metadata = tuple(metadata) + (
gapic_v1.routing_header.to_grpc_metadata((
("name", request.name),
)),
)
# Send the request.
response = rpc(
request,
retry=retry,
timeout=timeout,
metadata=metadata,
)
# Done; return the response.
return response
def get_structure(self,
request: Union[smart_device_management_service.GetStructureRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
metadata: Sequence[Tuple[str, str]] = (),
) -> site.Structure:
r"""Gets a structure managed by the enterprise.
Args:
request (Union[google.home.enterprise.sdm_v1.types.GetStructureRequest, dict]):
The request object. Request message for
SmartDeviceManagementService.GetStructure
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
sent along with the request as metadata.
Returns:
google.home.enterprise.sdm_v1.types.Structure:
Structure resource represents an
instance of enterprise managed home or
hotel room.
"""
# Create or coerce a protobuf request object.
# Minor optimization to avoid making a copy if the user passes
# in a smart_device_management_service.GetStructureRequest.
# There's no risk of modifying the input as we've already verified
# there are no flattened fields.
if not isinstance(request, smart_device_management_service.GetStructureRequest):
request = smart_device_management_service.GetStructureRequest(request)
# Wrap the RPC method; this adds retry and timeout information,
# and friendly error handling.
rpc = self._transport._wrapped_methods[self._transport.get_structure]
# Certain fields should be provided within the metadata header;
# add these here.
metadata = tuple(metadata) + (
gapic_v1.routing_header.to_grpc_metadata((
("name", request.name),
)),
)
# Send the request.
response = rpc(
request,
retry=retry,
timeout=timeout,
metadata=metadata,
)
# Done; return the response.
return response
def list_structures(self,
request: Union[smart_device_management_service.ListStructuresRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
metadata: Sequence[Tuple[str, str]] = (),
) -> pagers.ListStructuresPager:
r"""Lists structures managed by the enterprise.
Args:
request (Union[google.home.enterprise.sdm_v1.types.ListStructuresRequest, dict]):
The request object. Request message for
SmartDeviceManagementService.ListStructures
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
sent along with the request as metadata.
Returns:
google.home.enterprise.sdm_v1.services.smart_device_management_service.pagers.ListStructuresPager:
Response message for
SmartDeviceManagementService.ListStructures
Iterating over this object will yield
results and resolve additional pages
automatically.
"""
# Create or coerce a protobuf request object.
# Minor optimization to avoid making a copy if the user passes
# in a smart_device_management_service.ListStructuresRequest.
# There's no risk of modifying the input as we've already verified
# there are no flattened fields.
if not isinstance(request, smart_device_management_service.ListStructuresRequest):
request = smart_device_management_service.ListStructuresRequest(request)
# Wrap the RPC method; this adds retry and timeout information,
# and friendly error handling.
rpc = self._transport._wrapped_methods[self._transport.list_structures]
# Certain fields should be provided within the metadata header;
# add these here.
metadata = tuple(metadata) + (
gapic_v1.routing_header.to_grpc_metadata((
("parent", request.parent),
)),
)
# Send the request.
response = rpc(
request,
retry=retry,
timeout=timeout,
metadata=metadata,
)
# This method is paged; wrap the response in a pager, which provides
# an `__iter__` convenience method.
response = pagers.ListStructuresPager(
method=rpc,
request=request,
response=response,
metadata=metadata,
)
# Done; return the response.
return response
def get_room(self,
request: Union[smart_device_management_service.GetRoomRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
metadata: Sequence[Tuple[str, str]] = (),
) -> site.Room:
r"""Gets a room managed by the enterprise.
Args:
request (Union[google.home.enterprise.sdm_v1.types.GetRoomRequest, dict]):
The request object. Request message for
SmartDeviceManagementService.GetRoom
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
sent along with the request as metadata.
Returns:
google.home.enterprise.sdm_v1.types.Room:
Room resource represents an instance
of sub-space within a structure such as
rooms in a hotel suite or rental
apartment.
"""
# Create or coerce a protobuf request object.
# Minor optimization to avoid making a copy if the user passes
# in a smart_device_management_service.GetRoomRequest.
# There's no risk of modifying the input as we've already verified
# there are no flattened fields.
if not isinstance(request, smart_device_management_service.GetRoomRequest):
request = smart_device_management_service.GetRoomRequest(request)
# Wrap the RPC method; this adds retry and timeout information,
# and friendly error handling.
rpc = self._transport._wrapped_methods[self._transport.get_room]
# Certain fields should be provided within the metadata header;
# add these here.
metadata = tuple(metadata) + (
gapic_v1.routing_header.to_grpc_metadata((
("name", request.name),
)),
)
# Send the request.
response = rpc(
request,
retry=retry,
timeout=timeout,
metadata=metadata,
)
# Done; return the response.
return response
def list_rooms(self,
request: Union[smart_device_management_service.ListRoomsRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
metadata: Sequence[Tuple[str, str]] = (),
) -> pagers.ListRoomsPager:
r"""Lists rooms managed by the enterprise.
Args:
request (Union[google.home.enterprise.sdm_v1.types.ListRoomsRequest, dict]):
The request object. Request message for
SmartDeviceManagementService.ListRooms
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
sent along with the request as metadata.
Returns:
google.home.enterprise.sdm_v1.services.smart_device_management_service.pagers.ListRoomsPager:
Response message for
SmartDeviceManagementService.ListRooms
Iterating over this object will yield
results and resolve additional pages
automatically.
"""
# Create or coerce a protobuf request object.
# Minor optimization to avoid making a copy if the user passes
# in a smart_device_management_service.ListRoomsRequest.
# There's no risk of modifying the input as we've already verified
# there are no flattened fields.
if not isinstance(request, smart_device_management_service.ListRoomsRequest):
request = smart_device_management_service.ListRoomsRequest(request)
# Wrap the RPC method; this adds retry and timeout information,
# and friendly error handling.
rpc = self._transport._wrapped_methods[self._transport.list_rooms]
# Certain fields should be provided within the metadata header;
# add these here.
metadata = tuple(metadata) + (
gapic_v1.routing_header.to_grpc_metadata((
("parent", request.parent),
)),
)
# Send the request.
response = rpc(
request,
retry=retry,
timeout=timeout,
metadata=metadata,
)
# This method is paged; wrap the response in a pager, which provides
# an `__iter__` convenience method.
response = pagers.ListRoomsPager(
method=rpc,
request=request,
response=response,
metadata=metadata,
)
# Done; return the response.
return response
def __enter__(self):
return self
def __exit__(self, type, value, traceback):
"""Releases underlying transport's resources.
.. warning::
ONLY use as a context manager if the transport is NOT shared
with other clients! Exiting the with block will CLOSE the transport
and may cause errors in other clients!
"""
self.transport.close()
try:
DEFAULT_CLIENT_INFO = gapic_v1.client_info.ClientInfo(
gapic_version=pkg_resources.get_distribution(
"google-home-enterprise-sdm",
).version,
)
except pkg_resources.DistributionNotFound:
DEFAULT_CLIENT_INFO = gapic_v1.client_info.ClientInfo()
__all__ = (
"SmartDeviceManagementServiceClient",
)
| [
1,
529,
12443,
29918,
303,
1503,
29958,
29896,
29899,
29896,
29900,
13,
29937,
448,
29930,
29899,
14137,
29901,
23616,
29899,
29947,
448,
29930,
29899,
13,
29937,
14187,
1266,
29871,
29906,
29900,
29906,
29900,
5087,
365,
12182,
13,
29937,
13,
29937,
10413,
21144,
1090,
278,
13380,
19245,
29892,
10079,
29871,
29906,
29889,
29900,
313,
1552,
376,
29931,
293,
1947,
1496,
13,
29937,
366,
1122,
451,
671,
445,
934,
5174,
297,
752,
13036,
411,
278,
19245,
29889,
13,
29937,
887,
1122,
4017,
263,
3509,
310,
278,
19245,
472,
13,
29937,
13,
29937,
268,
1732,
597,
1636,
29889,
4288,
29889,
990,
29914,
506,
11259,
29914,
27888,
1430,
1660,
29899,
29906,
29889,
29900,
13,
29937,
13,
29937,
25870,
3734,
491,
22903,
4307,
470,
15502,
304,
297,
5007,
29892,
7047,
13,
29937,
13235,
1090,
278,
19245,
338,
13235,
373,
385,
376,
3289,
8519,
29908,
350,
3289,
3235,
29892,
13,
29937,
399,
1806,
8187,
2692,
399,
1718,
29934,
13566,
29059,
6323,
8707,
29928,
22122,
29903,
8079,
13764,
29979,
476,
22255,
29892,
2845,
4653,
470,
2411,
2957,
29889,
13,
29937,
2823,
278,
19245,
363,
278,
2702,
4086,
14765,
1076,
11239,
322,
13,
29937,
27028,
1090,
278,
19245,
29889,
13,
29937,
13,
3166,
16250,
1053,
8170,
287,
21533,
13,
3166,
1320,
13239,
1053,
3667,
13,
5215,
2897,
13,
5215,
337,
13,
3166,
19229,
1053,
360,
919,
29892,
28379,
29892,
922,
3910,
29892,
12603,
552,
29892,
5167,
29892,
7761,
13,
5215,
282,
9415,
29918,
13237,
13,
13,
3166,
5386,
29889,
2754,
29918,
3221,
1053,
3132,
29918,
6768,
408,
3132,
29918,
6768,
29918,
1982,
29871,
396,
1134,
29901,
11455,
13,
3166,
5386,
29889,
2754,
29918,
3221,
1053,
15283,
408,
7136,
29918,
11739,
29879,
308,
396,
1134,
29901,
11455,
13,
3166,
5386,
29889,
2754,
29918,
3221,
1053,
17261,
293,
29918,
29894,
29896,
462,
795,
396,
1134,
29901,
11455,
13,
3166,
5386,
29889,
2754,
29918,
3221,
1053,
337,
2202,
408,
3240,
2722,
462,
418,
396,
1134,
29901,
11455,
13,
3166,
5386,
29889,
5150,
1053,
16140,
408,
10364,
29918,
11944,
9409,
632,
396,
1134,
29901,
11455,
13,
3166,
5386,
29889,
5150,
29889,
27882,
1053,
286,
29873,
3137,
462,
9651,
396,
1134,
29901,
11455,
13,
3166,
5386,
29889,
5150,
29889,
27882,
29889,
629,
6739,
1053,
317,
2536,
28037,
632,
396,
1134,
29901,
11455,
13,
3166,
5386,
29889,
5150,
29889,
11739,
29879,
1053,
20749,
950,
29911,
8547,
13599,
2392,
3986,
396,
1134,
29901,
11455,
13,
3166,
5386,
29889,
23106,
29906,
1053,
2669,
29918,
10149,
462,
308,
396,
1134,
29901,
11455,
13,
13,
3166,
5386,
29889,
5184,
29889,
5893,
7734,
29889,
4928,
29885,
29918,
29894,
29896,
29889,
9916,
29889,
3844,
442,
29918,
10141,
29918,
21895,
29918,
5509,
1053,
10203,
414,
13,
3166,
5386,
29889,
5184,
29889,
5893,
7734,
29889,
4928,
29885,
29918,
29894,
29896,
29889,
8768,
1053,
4742,
13,
3166,
5386,
29889,
5184,
29889,
5893,
7734,
29889,
4928,
29885,
29918,
29894,
29896,
29889,
8768,
1053,
3268,
13,
3166,
5386,
29889,
5184,
29889,
5893,
7734,
29889,
4928,
29885,
29918,
29894,
29896,
29889,
8768,
1053,
15040,
29918,
10141,
29918,
21895,
29918,
5509,
13,
3166,
5386,
29889,
17529,
9721,
1053,
2281,
29918,
24381,
29906,
29871,
396,
1134,
29901,
11455,
13,
3166,
869,
3286,
4011,
29889,
3188,
1053,
4116,
442,
11501,
27107,
3170,
27395,
29892,
22236,
29918,
27205,
3919,
29918,
11690,
13,
3166,
869,
3286,
4011,
29889,
629,
6739,
1053,
4116,
442,
11501,
27107,
3170,
3338,
6739,
27395,
13,
3166,
869,
3286,
4011,
29889,
629,
6739,
29918,
294,
948,
3934,
1053,
4116,
442,
11501,
27107,
3170,
3338,
6739,
8123,
5971,
27395,
13,
13,
13,
1990,
4116,
442,
11501,
27107,
3170,
4032,
19346,
29898,
1853,
1125,
13,
1678,
9995,
10095,
562,
605,
363,
278,
4116,
442,
11501,
27107,
3170,
3132,
29889,
13,
13,
1678,
910,
8128,
770,
29899,
5563,
3519,
363,
5214,
322,
5663,
15387,
13,
1678,
2304,
3618,
313,
29872,
29889,
29887,
29889,
8608,
29897,
1728,
21180,
17068,
278,
3132,
2777,
13,
1678,
3618,
29889,
13,
1678,
9995,
13,
1678,
903,
27882,
29918,
1727,
6020,
353,
8170,
287,
21533,
580,
29871,
396,
1134,
29901,
360,
919,
29961,
710,
29892,
5167,
29961,
12636,
442,
11501,
27107,
3170,
27395,
5262,
13,
1678,
903,
27882,
29918,
1727,
6020,
3366,
629,
6739,
3108,
353,
4116,
442,
11501,
27107,
3170,
3338,
6739,
27395,
13,
1678,
903,
27882,
29918,
1727,
6020,
3366,
629,
6739,
29918,
294,
948,
3934,
3108,
353,
4116,
442,
11501,
27107,
3170,
3338,
6739,
8123,
5971,
27395,
13,
13,
1678,
822,
679,
29918,
27882,
29918,
1990,
29898,
25932,
29892,
13,
9651,
3858,
29901,
851,
353,
6213,
29892,
13,
4706,
1723,
1599,
5167,
29961,
12636,
442,
11501,
27107,
3170,
27395,
5387,
13,
4706,
9995,
11609,
29879,
385,
8210,
8608,
770,
29889,
13,
13,
4706,
826,
3174,
29901,
13,
9651,
3858,
29901,
450,
1024,
310,
278,
7429,
8608,
29889,
960,
5642,
338,
13,
18884,
4944,
29892,
769,
278,
937,
8608,
297,
278,
21235,
338,
1304,
29889,
13,
13,
4706,
16969,
29901,
13,
9651,
450,
8608,
770,
304,
671,
29889,
13,
4706,
9995,
13,
4706,
396,
960,
263,
2702,
8608,
338,
13877,
29892,
736,
393,
697,
29889,
13,
4706,
565,
3858,
29901,
13,
9651,
736,
1067,
29879,
3032,
27882,
29918,
1727,
6020,
29961,
1643,
29962,
13,
13,
4706,
396,
1939,
8608,
338,
13877,
29936,
736,
278,
2322,
313,
5747,
338,
29892,
278,
937,
697,
13,
4706,
396,
297,
278,
8600,
467,
13,
4706,
736,
2446,
29898,
1524,
29898,
25932,
3032,
27882,
29918,
1727,
6020,
29889,
5975,
22130,
13,
13,
13,
1990,
4116,
442,
11501,
27107,
3170,
4032,
29898,
2527,
562,
605,
29922,
12636,
442,
11501,
27107,
3170,
4032,
19346,
1125,
13,
1678,
9995,
29909,
2669,
393,
6511,
3450,
11233,
414,
304,
25161,
322,
10933,
13,
1678,
5087,
8778,
12286,
322,
9224,
363,
3896,
7734,
671,
4251,
29889,
13,
1678,
9995,
13,
13,
1678,
732,
7959,
5696,
13,
1678,
822,
903,
657,
29918,
4381,
29918,
4378,
3137,
29918,
29734,
29898,
2754,
29918,
29734,
1125,
13,
4706,
9995,
1168,
369,
1372,
7882,
16248,
304,
286,
29911,
8547,
16248,
29889,
13,
13,
4706,
14806,
376,
10521,
29879,
26738,
29889,
15947,
29889,
510,
29908,
322,
376,
10521,
15947,
29889,
510,
29908,
304,
13,
4706,
376,
10521,
4378,
3137,
29889,
29879,
26738,
29889,
15947,
29889,
510,
29908,
322,
376,
10521,
4378,
3137,
29889,
15947,
29889,
510,
29908,
8307,
29889,
13,
4706,
826,
3174,
29901,
13,
9651,
7882,
29918,
29734,
313,
27636,
29961,
710,
29962,
1125,
278,
7882,
16248,
304,
3588,
29889,
13,
4706,
16969,
29901,
13,
9651,
851,
29901,
11543,
286,
29911,
8547,
7882,
16248,
29889,
13,
4706,
9995,
13,
4706,
565,
451,
7882,
29918,
29734,
29901,
13,
9651,
736,
7882,
29918,
29734,
13,
13,
4706,
286,
29873,
3137,
29918,
29734,
29918,
276,
353,
337,
29889,
12198,
29898,
13,
9651,
364,
29908,
10780,
29925,
29966,
978,
29958,
22896,
5586,
29974,
5033,
29973,
29925,
29966,
4378,
3137,
14247,
29889,
4378,
3137,
6877,
10780,
29925,
29966,
29879,
26738,
14247,
29889,
29879,
26738,
6877,
10780,
29925,
29966,
1484,
468,
839,
290,
475,
14247,
29889,
15947,
23301,
510,
29897,
3026,
13,
4706,
1723,
13,
13,
4706,
286,
353,
286,
29873,
3137,
29918,
29734,
29918,
276,
29889,
4352,
29898,
2754,
29918,
29734,
29897,
13,
4706,
1024,
29892,
286,
29873,
3137,
29892,
11982,
1884,
29892,
27304,
839,
290,
475,
353,
286,
29889,
13155,
580,
13,
4706,
565,
286,
29873,
3137,
470,
451,
27304,
839,
290,
475,
29901,
13,
9651,
736,
7882,
29918,
29734,
13,
13,
4706,
565,
11982,
1884,
29901,
13,
9651,
736,
7882,
29918,
29734,
29889,
6506,
29898,
13,
18884,
376,
29879,
26738,
29889,
15947,
29889,
510,
613,
376,
4378,
3137,
29889,
29879,
26738,
29889,
15947,
29889,
510,
29908,
13,
9651,
1723,
13,
13,
4706,
736,
7882,
29918,
29734,
29889,
6506,
17350,
15947,
29889,
510,
613,
11393,
4378,
3137,
29889,
15947,
29889,
510,
1159,
13,
13,
1678,
22236,
29918,
1430,
11191,
6992,
29911,
353,
376,
3844,
442,
3359,
293,
11422,
5049,
29889,
15947,
29889,
510,
29908,
13,
1678,
22236,
29918,
11490,
8547,
29918,
1430,
11191,
6992,
29911,
353,
903,
657,
29918,
4381,
29918,
4378,
3137,
29918,
29734,
17255,
9891,
12035,
29871,
396,
1134,
29901,
11455,
13,
4706,
22236,
29918,
1430,
11191,
6992,
29911,
13,
1678,
1723,
13,
13,
1678,
732,
1990,
5696,
13,
1678,
822,
515,
29918,
5509,
29918,
10149,
29918,
3888,
29898,
25932,
29892,
5235,
29901,
9657,
29892,
334,
5085,
29892,
3579,
19290,
1125,
13,
4706,
9995,
9832,
1078,
385,
2777,
310,
445,
3132,
773,
278,
4944,
16140,
13,
9651,
5235,
29889,
13,
13,
4706,
826,
3174,
29901,
13,
9651,
5235,
313,
8977,
1125,
450,
2669,
3633,
2024,
1820,
5235,
29889,
13,
9651,
6389,
29901,
3462,
3245,
6273,
304,
1209,
304,
278,
5823,
29889,
13,
9651,
9049,
5085,
29901,
3462,
3245,
6273,
304,
1209,
304,
278,
5823,
29889,
13,
13,
4706,
16969,
29901,
13,
9651,
4116,
442,
11501,
27107,
3170,
4032,
29901,
450,
13319,
3132,
29889,
13,
4706,
9995,
13,
4706,
16140,
353,
2669,
29918,
10149,
29889,
28037,
29889,
3166,
29918,
5509,
29918,
10149,
29918,
3888,
29898,
3888,
29897,
13,
4706,
9049,
5085,
3366,
11944,
9409,
3108,
353,
16140,
13,
4706,
736,
1067,
29879,
10456,
5085,
29892,
3579,
19290,
29897,
13,
13,
1678,
732,
1990,
5696,
13,
1678,
822,
515,
29918,
5509,
29918,
10149,
29918,
1445,
29898,
25932,
29892,
10422,
29901,
851,
29892,
334,
5085,
29892,
3579,
19290,
1125,
13,
4706,
9995,
9832,
1078,
385,
2777,
310,
445,
3132,
773,
278,
4944,
16140,
13,
9651,
934,
29889,
13,
13,
4706,
826,
3174,
29901,
13,
9651,
10422,
313,
710,
1125,
450,
2224,
304,
278,
2669,
3633,
2024,
1820,
4390,
13,
18884,
934,
29889,
13,
9651,
6389,
29901,
3462,
3245,
6273,
304,
1209,
304,
278,
5823,
29889,
13,
9651,
9049,
5085,
29901,
3462,
3245,
6273,
304,
1209,
304,
278,
5823,
29889,
13,
13,
4706,
16969,
29901,
13,
9651,
4116,
442,
11501,
27107,
3170,
4032,
29901,
450,
13319,
3132,
29889,
13,
4706,
9995,
13,
4706,
16140,
353,
2669,
29918,
10149,
29889,
28037,
29889,
3166,
29918,
5509,
29918,
10149,
29918,
1445,
29898,
13,
9651,
10422,
29897,
13,
4706,
9049,
5085,
3366,
11944,
9409,
3108,
353,
16140,
13,
4706,
736,
1067,
29879,
10456,
5085,
29892,
3579,
19290,
29897,
13,
13,
1678,
515,
29918,
5509,
29918,
10149,
29918,
3126,
353,
515,
29918,
5509,
29918,
10149,
29918,
1445,
13,
13,
1678,
732,
6799,
13,
1678,
822,
8608,
29898,
1311,
29897,
1599,
4116,
442,
11501,
27107,
3170,
27395,
29901,
13,
4706,
9995,
11609,
29879,
278,
8608,
1304,
491,
278,
3132,
2777,
29889,
13,
13,
4706,
16969,
29901,
13,
9651,
4116,
442,
11501,
27107,
3170,
27395,
29901,
450,
8608,
1304,
491,
278,
3132,
13,
18884,
2777,
29889,
13,
4706,
9995,
13,
4706,
736,
1583,
3032,
27882,
13,
13,
1678,
732,
7959,
5696,
13,
1678,
822,
4742,
29918,
2084,
29898,
5893,
7734,
29901,
851,
29892,
10141,
29901,
851,
29892,
29897,
1599,
851,
29901,
13,
4706,
9995,
11609,
29879,
263,
8072,
29899,
15380,
2164,
4742,
1347,
1213,
15945,
13,
4706,
736,
376,
5893,
558,
4637,
19248,
5893,
7734,
6822,
3359,
1575,
19248,
10141,
29913,
1642,
4830,
29898,
5893,
7734,
29922,
5893,
7734,
29892,
4742,
29922,
10141,
29892,
1723,
13,
13,
1678,
732,
7959,
5696,
13,
1678,
822,
6088,
29918,
10141,
29918,
2084,
29898,
2084,
29901,
851,
29897,
1599,
360,
919,
29961,
710,
29892,
710,
5387,
13,
4706,
9995,
29925,
1503,
267,
263,
4742,
2224,
964,
967,
4163,
24611,
1213,
15945,
13,
4706,
286,
353,
337,
29889,
4352,
29898,
29878,
29908,
29985,
5893,
558,
4637,
29914,
10780,
29925,
29966,
5893,
7734,
15513,
29974,
29973,
6802,
3359,
1575,
29914,
10780,
29925,
29966,
10141,
15513,
29974,
29973,
1262,
613,
2224,
29897,
13,
4706,
736,
286,
29889,
2972,
8977,
580,
565,
286,
1683,
6571,
13,
13,
1678,
732,
7959,
5696,
13,
1678,
822,
5716,
29918,
2084,
29898,
5893,
7734,
29901,
851,
29892,
23905,
29901,
851,
29892,
8345,
29901,
851,
29892,
29897,
1599,
851,
29901,
13,
4706,
9995,
11609,
29879,
263,
8072,
29899,
15380,
2164,
5716,
1347,
1213,
15945,
13,
4706,
736,
376,
5893,
558,
4637,
19248,
5893,
7734,
6822,
4984,
1973,
19248,
23905,
6822,
18901,
19248,
8345,
29913,
1642,
4830,
29898,
5893,
7734,
29922,
5893,
7734,
29892,
3829,
29922,
23905,
29892,
5716,
29922,
8345,
29892,
1723,
13,
13,
1678,
732,
7959,
5696,
13,
1678,
822,
6088,
29918,
8345,
29918,
2084,
29898,
2084,
29901,
851,
29897,
1599,
360,
919,
29961,
710,
29892,
710,
5387,
13,
4706,
9995,
29925,
1503,
267,
263,
5716,
2224,
964,
967,
4163,
24611,
1213,
15945,
13,
4706,
286,
353,
337,
29889,
4352,
29898,
29878,
29908,
29985,
5893,
558,
4637,
29914,
10780,
29925,
29966,
5893,
7734,
15513,
29974,
29973,
6802,
4984,
1973,
29914,
10780,
29925,
29966,
23905,
15513,
29974,
29973,
6802,
18901,
29914,
10780,
29925,
29966,
8345,
15513,
29974,
29973,
1262,
613,
2224,
29897,
13,
4706,
736,
286,
29889,
2972,
8977,
580,
565,
286,
1683,
6571,
13,
13,
1678,
732,
7959,
5696,
13,
1678,
822,
3829,
29918,
2084,
29898,
5893,
7734,
29901,
851,
29892,
23905,
29901,
851,
29892,
29897,
1599,
851,
29901,
13,
4706,
9995,
11609,
29879,
263,
8072,
29899,
15380,
2164,
3829,
1347,
1213,
15945,
13,
4706,
736,
376,
5893,
558,
4637,
19248,
5893,
7734,
6822,
4984,
1973,
19248,
23905,
29913,
1642,
4830,
29898,
5893,
7734,
29922,
5893,
7734,
29892,
3829,
29922,
23905,
29892,
1723,
13,
13,
1678,
732,
7959,
5696,
13,
1678,
822,
6088,
29918,
23905,
29918,
2084,
29898,
2084,
29901,
851,
29897,
1599,
360,
919,
29961,
710,
29892,
710,
5387,
13,
4706,
9995,
29925,
1503,
267,
263,
3829,
2224,
964,
967,
4163,
24611,
1213,
15945,
13,
4706,
286,
353,
337,
29889,
4352,
29898,
29878,
29908,
29985,
5893,
558,
4637,
29914,
10780,
29925,
29966,
5893,
7734,
15513,
29974,
29973,
6802,
4984,
1973,
29914,
10780,
29925,
29966,
23905,
15513,
29974,
29973,
1262,
613,
2224,
29897,
13,
4706,
736,
286,
29889,
2972,
8977,
580,
565,
286,
1683,
6571,
13,
13,
1678,
732,
7959,
5696,
13,
1678,
822,
3619,
29918,
29890,
8873,
29918,
10149,
29918,
2084,
29898,
29890,
8873,
29918,
10149,
29901,
851,
29892,
1723,
1599,
851,
29901,
13,
4706,
9995,
11609,
29879,
263,
8072,
29899,
15380,
2164,
289,
8873,
29918,
10149,
1347,
1213,
15945,
13,
4706,
736,
376,
29890,
8873,
10601,
29879,
19248,
29890,
8873,
29918,
10149,
29913,
1642,
4830,
29898,
29890,
8873,
29918,
10149,
29922,
29890,
8873,
29918,
10149,
29892,
1723,
13,
13,
1678,
732,
7959,
5696,
13,
1678,
822,
6088,
29918,
9435,
29918,
29890,
8873,
29918,
10149,
29918,
2084,
29898,
2084,
29901,
851,
29897,
1599,
360,
919,
29961,
710,
29892,
710,
5387,
13,
4706,
9995,
12914,
263,
289,
8873,
29918,
10149,
2224,
964,
967,
4163,
24611,
1213,
15945,
13,
4706,
286,
353,
337,
29889,
4352,
29898,
29878,
29908,
29985,
29890,
8873,
10601,
29879,
29914,
10780,
29925,
29966,
29890,
8873,
29918,
10149,
15513,
29974,
29973,
1262,
613,
2224,
29897,
13,
4706,
736,
286,
29889,
2972,
8977,
580,
565,
286,
1683,
6571,
13,
13,
1678,
732,
7959,
5696,
13,
1678,
822,
3619,
29918,
12083,
29918,
2084,
29898,
12083,
29901,
851,
29892,
1723,
1599,
851,
29901,
13,
4706,
9995,
11609,
29879,
263,
8072,
29899,
15380,
2164,
4138,
1347,
1213,
15945,
13,
4706,
736,
376,
8771,
414,
19248,
12083,
29913,
1642,
4830,
29898,
12083,
29922,
12083,
29892,
1723,
13,
13,
1678,
732,
7959,
5696,
13,
1678,
822,
6088,
29918,
9435,
29918,
12083,
29918,
2084,
29898,
2084,
29901,
851,
29897,
1599,
360,
919,
29961,
710,
29892,
710,
5387,
13,
4706,
9995,
12914,
263,
4138,
2224,
964,
967,
4163,
24611,
1213,
15945,
13,
4706,
286,
353,
337,
29889,
4352,
29898,
29878,
29908,
29985,
8771,
414,
29914,
10780,
29925,
29966,
12083,
15513,
29974,
29973,
1262,
613,
2224,
29897,
13,
4706,
736,
286,
29889,
2972,
8977,
580,
565,
286,
1683,
6571,
13,
13,
1678,
732,
7959,
5696,
13,
1678,
822,
3619,
29918,
6388,
2133,
29918,
2084,
29898,
6388,
2133,
29901,
851,
29892,
1723,
1599,
851,
29901,
13,
4706,
9995,
11609,
29879,
263,
8072,
29899,
15380,
2164,
13013,
1347,
1213,
15945,
13,
4706,
736,
376,
6388,
17063,
19248,
6388,
2133,
29913,
1642,
4830,
29898,
6388,
2133,
29922,
6388,
2133,
29892,
1723,
13,
13,
1678,
732,
7959,
5696,
13,
1678,
822,
6088,
29918,
9435,
29918,
6388,
2133,
29918,
2084,
29898,
2084,
29901,
851,
29897,
1599,
360,
919,
29961,
710,
29892,
710,
5387,
13,
4706,
9995,
12914,
263,
13013,
2224,
964,
967,
4163,
24611,
1213,
15945,
13,
4706,
286,
353,
337,
29889,
4352,
29898,
29878,
29908,
29985,
6388,
17063,
29914,
10780,
29925,
29966,
6388,
2133,
15513,
29974,
29973,
1262,
613,
2224,
29897,
13,
4706,
736,
286,
29889,
2972,
8977,
580,
565,
286,
1683,
6571,
13,
13,
1678,
732,
7959,
5696,
13,
1678,
822,
3619,
29918,
4836,
29918,
2084,
29898,
4836,
29901,
851,
29892,
1723,
1599,
851,
29901,
13,
4706,
9995,
11609,
29879,
263,
8072,
29899,
15380,
2164,
2060,
1347,
1213,
15945,
13,
4706,
736,
376,
16418,
19248,
4836,
29913,
1642,
4830,
29898,
4836,
29922,
4836,
29892,
1723,
13,
13,
1678,
732,
7959,
5696,
13,
1678,
822,
6088,
29918,
9435,
29918,
4836,
29918,
2084,
29898,
2084,
29901,
851,
29897,
1599,
360,
919,
29961,
710,
29892,
710,
5387,
13,
4706,
9995,
12914,
263,
2060,
2224,
964,
967,
4163,
24611,
1213,
15945,
13,
4706,
286,
353,
337,
29889,
4352,
29898,
29878,
29908,
29985,
16418,
29914,
10780,
29925,
29966,
4836,
15513,
29974,
29973,
1262,
613,
2224,
29897,
13,
4706,
736,
286,
29889,
2972,
8977,
580,
565,
286,
1683,
6571,
13,
13,
1678,
732,
7959,
5696,
13,
1678,
822,
3619,
29918,
5479,
29918,
2084,
29898,
4836,
29901,
851,
29892,
4423,
29901,
851,
29892,
1723,
1599,
851,
29901,
13,
4706,
9995,
11609,
29879,
263,
8072,
29899,
15380,
2164,
4423,
1347,
1213,
15945,
13,
4706,
736,
376,
16418,
19248,
4836,
6822,
2029,
800,
19248,
5479,
29913,
1642,
4830,
29898,
4836,
29922,
4836,
29892,
4423,
29922,
5479,
29892,
1723,
13,
13,
1678,
732,
7959,
5696,
13,
1678,
822,
6088,
29918,
9435,
29918,
5479,
29918,
2084,
29898,
2084,
29901,
851,
29897,
1599,
360,
919,
29961,
710,
29892,
710,
5387,
13,
4706,
9995,
12914,
263,
4423,
2224,
964,
967,
4163,
24611,
1213,
15945,
13,
4706,
286,
353,
337,
29889,
4352,
29898,
29878,
29908,
29985,
16418,
29914,
10780,
29925,
29966,
4836,
15513,
29974,
29973,
6802,
2029,
800,
29914,
10780,
29925,
29966,
5479,
15513,
29974,
29973,
1262,
613,
2224,
29897,
13,
4706,
736,
286,
29889,
2972,
8977,
580,
565,
286,
1683,
6571,
13,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
334,
29892,
13,
9651,
16140,
29901,
28379,
29961,
3249,
29918,
11944,
9409,
29889,
28037,
29962,
353,
6213,
29892,
13,
9651,
8608,
29901,
7761,
29961,
710,
29892,
4116,
442,
11501,
27107,
3170,
27395,
29892,
6213,
29962,
353,
6213,
29892,
13,
9651,
3132,
29918,
6768,
29901,
28379,
29961,
4645,
29918,
6768,
29918,
1982,
29889,
4032,
5856,
29962,
353,
6213,
29892,
13,
9651,
3132,
29918,
3888,
29901,
17261,
293,
29918,
29894,
29896,
29889,
4645,
29918,
3888,
29889,
4032,
3401,
353,
22236,
29918,
27205,
3919,
29918,
11690,
29892,
13,
9651,
1723,
1599,
6213,
29901,
13,
4706,
9995,
3379,
3656,
1078,
278,
15040,
4742,
10643,
2669,
3132,
29889,
13,
13,
4706,
826,
3174,
29901,
13,
9651,
16140,
313,
27636,
29961,
3608,
29889,
5150,
29889,
11944,
9409,
29889,
28037,
29962,
1125,
450,
13,
18884,
28733,
16140,
304,
10641,
304,
7274,
29889,
4525,
13,
18884,
16140,
12439,
278,
2280,
304,
278,
2669,
29936,
565,
5642,
13,
18884,
526,
6790,
29892,
278,
3132,
674,
4218,
304,
408,
14082,
278,
13,
18884,
16140,
515,
278,
5177,
29889,
13,
9651,
8608,
313,
19986,
29961,
710,
29892,
4116,
442,
11501,
27107,
3170,
27395,
29962,
1125,
450,
13,
18884,
8608,
304,
671,
29889,
960,
731,
304,
6213,
29892,
263,
8608,
338,
10434,
13,
18884,
6336,
29889,
13,
9651,
3132,
29918,
6768,
313,
3608,
29889,
2754,
29918,
3221,
29889,
4645,
29918,
6768,
29889,
4032,
5856,
1125,
8701,
3987,
363,
278,
13,
18884,
3132,
29889,
739,
2113,
29915,
29873,
2125,
2779,
565,
263,
4954,
27882,
16159,
2777,
338,
4944,
29889,
13,
18884,
313,
29896,
29897,
450,
4954,
2754,
29918,
29734,
16159,
2875,
508,
367,
1304,
304,
5712,
278,
13,
18884,
2322,
16248,
4944,
491,
278,
3132,
29889,
21947,
29949,
29954,
1307,
29918,
8787,
29918,
17171,
29918,
11490,
8547,
29918,
1430,
11191,
6992,
29911,
13,
18884,
5177,
2286,
508,
884,
367,
1304,
304,
5712,
278,
16248,
29901,
13,
18884,
376,
21936,
29908,
313,
21936,
671,
278,
2322,
286,
29911,
8547,
16248,
511,
376,
484,
369,
29908,
313,
21936,
13,
18884,
671,
278,
2322,
4943,
16248,
29897,
322,
376,
6921,
29908,
313,
6921,
4607,
304,
278,
13,
18884,
2322,
286,
29911,
8547,
16248,
565,
3132,
12289,
338,
2198,
29892,
445,
338,
13,
18884,
278,
2322,
995,
467,
2398,
29892,
278,
4954,
2754,
29918,
29734,
16159,
2875,
4893,
13,
18884,
9399,
663,
565,
4944,
29889,
13,
18884,
313,
29906,
29897,
960,
21947,
29949,
29954,
1307,
29918,
8787,
29918,
17171,
29918,
27205,
3919,
29918,
29907,
20161,
6545,
2965,
3040,
5177,
2286,
13,
18884,
338,
376,
3009,
613,
769,
278,
4954,
4645,
29918,
6327,
29918,
4993,
16159,
2875,
508,
367,
1304,
13,
18884,
304,
3867,
3132,
12289,
363,
5478,
950,
27658,
8608,
29889,
960,
13,
18884,
451,
4944,
29892,
278,
2322,
17122,
3132,
12289,
674,
367,
1304,
565,
13,
18884,
2198,
29889,
960,
21947,
29949,
29954,
1307,
29918,
8787,
29918,
17171,
29918,
27205,
3919,
29918,
29907,
20161,
6545,
2965,
3040,
338,
376,
4541,
29908,
470,
451,
13,
18884,
731,
29892,
694,
3132,
12289,
674,
367,
1304,
29889,
13,
9651,
3132,
29918,
3888,
313,
3608,
29889,
2754,
29918,
3221,
29889,
29887,
481,
293,
29918,
29894,
29896,
29889,
4645,
29918,
3888,
29889,
4032,
3401,
1125,
13,
18884,
450,
3132,
5235,
1304,
304,
3638,
263,
1404,
29899,
14748,
1347,
3412,
411,
13,
18884,
3450,
7274,
29889,
960,
4954,
8516,
29952,
1673,
769,
2322,
5235,
674,
367,
1304,
29889,
13,
18884,
3251,
635,
29892,
366,
871,
817,
304,
731,
445,
565,
366,
29915,
276,
14338,
13,
18884,
596,
1914,
3132,
3489,
29889,
13,
13,
4706,
390,
1759,
267,
29901,
13,
9651,
5386,
29889,
5150,
29889,
11739,
29879,
29889,
29924,
329,
950,
29911,
8547,
13599,
2392,
29901,
960,
5478,
950,
27658,
8608,
13,
18884,
11265,
5229,
363,
738,
2769,
29889,
13,
4706,
9995,
13,
4706,
565,
338,
8758,
29898,
4645,
29918,
6768,
29892,
9657,
1125,
13,
9651,
3132,
29918,
6768,
353,
3132,
29918,
6768,
29918,
1982,
29889,
3166,
29918,
8977,
29898,
4645,
29918,
6768,
29897,
13,
4706,
565,
3132,
29918,
6768,
338,
6213,
29901,
13,
9651,
3132,
29918,
6768,
353,
3132,
29918,
6768,
29918,
1982,
29889,
4032,
5856,
580,
13,
13,
4706,
396,
6204,
17122,
16140,
363,
5478,
950,
27658,
565,
4312,
29889,
13,
4706,
671,
29918,
4645,
29918,
6327,
353,
6120,
29898,
4422,
29889,
710,
517,
11227,
29898,
359,
29889,
657,
6272,
703,
17080,
29949,
29954,
1307,
29918,
8787,
29918,
17171,
29918,
27205,
3919,
29918,
29907,
20161,
6545,
2965,
3040,
613,
376,
4541,
29908,
4961,
13,
13,
4706,
3132,
29918,
6327,
29918,
4993,
29918,
9891,
353,
6213,
13,
4706,
338,
29918,
4378,
3137,
353,
7700,
13,
4706,
565,
671,
29918,
4645,
29918,
6327,
29901,
13,
9651,
565,
3132,
29918,
6768,
29889,
4645,
29918,
6327,
29918,
4993,
29901,
13,
18884,
338,
29918,
4378,
3137,
353,
5852,
13,
18884,
3132,
29918,
6327,
29918,
4993,
29918,
9891,
353,
3132,
29918,
6768,
29889,
4645,
29918,
6327,
29918,
4993,
13,
9651,
1683,
29901,
13,
18884,
338,
29918,
4378,
3137,
353,
286,
29873,
3137,
29889,
5349,
29918,
4381,
29918,
4645,
29918,
6327,
29918,
4993,
580,
13,
18884,
565,
338,
29918,
4378,
3137,
29901,
13,
462,
1678,
3132,
29918,
6327,
29918,
4993,
29918,
9891,
353,
286,
29873,
3137,
29889,
4381,
29918,
4645,
29918,
6327,
29918,
4993,
580,
13,
18884,
1683,
29901,
13,
462,
1678,
3132,
29918,
6327,
29918,
4993,
29918,
9891,
353,
6213,
13,
13,
4706,
396,
11479,
714,
607,
7882,
16248,
304,
671,
29889,
13,
4706,
565,
3132,
29918,
6768,
29889,
2754,
29918,
29734,
338,
451,
6213,
29901,
13,
9651,
7882,
29918,
29734,
353,
3132,
29918,
6768,
29889,
2754,
29918,
29734,
13,
4706,
1683,
29901,
13,
9651,
671,
29918,
4378,
3137,
29918,
6272,
353,
2897,
29889,
657,
6272,
703,
17080,
29949,
29954,
1307,
29918,
8787,
29918,
17171,
29918,
11490,
8547,
29918,
1430,
11191,
6992,
29911,
613,
376,
6921,
1159,
13,
9651,
565,
671,
29918,
4378,
3137,
29918,
6272,
1275,
376,
484,
369,
1115,
13,
18884,
7882,
29918,
29734,
353,
1583,
29889,
23397,
29918,
1430,
11191,
6992,
29911,
13,
9651,
25342,
671,
29918,
4378,
3137,
29918,
6272,
1275,
376,
21936,
1115,
13,
18884,
7882,
29918,
29734,
353,
1583,
29889,
23397,
29918,
11490,
8547,
29918,
1430,
11191,
6992,
29911,
13,
9651,
25342,
671,
29918,
4378,
3137,
29918,
6272,
1275,
376,
6921,
1115,
13,
18884,
565,
338,
29918,
4378,
3137,
29901,
13,
462,
1678,
7882,
29918,
29734,
353,
1583,
29889,
23397,
29918,
11490,
8547,
29918,
1430,
11191,
6992,
29911,
13,
18884,
1683,
29901,
13,
462,
1678,
7882,
29918,
29734,
353,
1583,
29889,
23397,
29918,
1430,
11191,
6992,
29911,
13,
9651,
1683,
29901,
13,
18884,
12020,
20749,
950,
29911,
8547,
13599,
2392,
29898,
13,
462,
1678,
376,
25807,
29884,
3016,
287,
21947,
29949,
29954,
1307,
29918,
8787,
29918,
17171,
29918,
11490,
8547,
29918,
1430,
11191,
6992,
29911,
995,
29889,
29848,
287,
376,
13,
462,
1678,
376,
5975,
29901,
2360,
29892,
4469,
29892,
2337,
29908,
13,
18884,
1723,
13,
13,
4706,
396,
16913,
470,
25112,
278,
8608,
29889,
13,
4706,
396,
16557,
262,
6275,
29892,
591,
3867,
278,
8608,
29892,
541,
14372,
263,
2888,
8608,
13,
4706,
396,
2777,
8128,
385,
21103,
4127,
1298,
363,
22910,
18845,
29889,
13,
4706,
565,
338,
8758,
29898,
27882,
29892,
4116,
442,
11501,
27107,
3170,
27395,
1125,
13,
9651,
396,
8608,
338,
263,
4116,
442,
11501,
27107,
3170,
27395,
2777,
29889,
13,
9651,
565,
16140,
470,
3132,
29918,
6768,
29889,
11944,
9409,
29918,
1445,
29901,
13,
18884,
12020,
7865,
2392,
703,
10401,
13138,
263,
8608,
2777,
29892,
376,
13,
462,
462,
376,
16123,
680,
967,
16140,
4153,
23157,
13,
9651,
565,
3132,
29918,
6768,
29889,
21785,
267,
29901,
13,
18884,
12020,
7865,
2392,
29898,
13,
462,
1678,
376,
10401,
13138,
263,
8608,
2777,
29892,
3867,
967,
16505,
267,
376,
13,
462,
1678,
376,
11851,
368,
1213,
13,
18884,
1723,
13,
9651,
1583,
3032,
27882,
353,
8608,
13,
4706,
1683,
29901,
13,
9651,
15710,
353,
1134,
29898,
1311,
467,
657,
29918,
27882,
29918,
1990,
29898,
27882,
29897,
13,
9651,
1583,
3032,
27882,
353,
15710,
29898,
13,
18884,
16140,
29922,
11944,
9409,
29892,
13,
18884,
16140,
29918,
1445,
29922,
4645,
29918,
6768,
29889,
11944,
9409,
29918,
1445,
29892,
13,
18884,
3495,
29922,
2754,
29918,
29734,
29892,
13,
18884,
16505,
267,
29922,
4645,
29918,
6768,
29889,
21785,
267,
29892,
13,
18884,
3132,
29918,
6327,
29918,
4993,
29918,
1454,
29918,
4378,
3137,
29922,
4645,
29918,
6327,
29918,
4993,
29918,
9891,
29892,
13,
18884,
439,
4616,
29918,
4836,
29918,
333,
29922,
4645,
29918,
6768,
29889,
339,
4616,
29918,
4836,
29918,
333,
29892,
13,
18884,
3132,
29918,
3888,
29922,
4645,
29918,
3888,
29892,
13,
18884,
2337,
29918,
1509,
29918,
29926,
14554,
29918,
5943,
29922,
5574,
29892,
13,
9651,
1723,
13,
13,
1678,
822,
679,
29918,
10141,
29898,
1311,
29892,
13,
9651,
2009,
29901,
7761,
29961,
3844,
442,
29918,
10141,
29918,
21895,
29918,
5509,
29889,
2577,
11501,
3089,
29892,
9657,
29962,
353,
6213,
29892,
13,
9651,
334,
29892,
13,
9651,
337,
2202,
29901,
3240,
2722,
29889,
8015,
719,
353,
17261,
293,
29918,
29894,
29896,
29889,
5696,
29889,
23397,
29892,
13,
9651,
11815,
29901,
5785,
353,
6213,
29892,
13,
9651,
15562,
29901,
922,
3910,
29961,
23215,
552,
29961,
710,
29892,
851,
5262,
353,
313,
511,
13,
9651,
1723,
1599,
4742,
29889,
11501,
29901,
13,
4706,
364,
15945,
29908,
29954,
1691,
263,
4742,
8745,
491,
278,
3896,
7734,
29889,
13,
13,
4706,
826,
3174,
29901,
13,
9651,
2009,
313,
19986,
29961,
3608,
29889,
5184,
29889,
5893,
7734,
29889,
4928,
29885,
29918,
29894,
29896,
29889,
8768,
29889,
2577,
11501,
3089,
29892,
9657,
29962,
1125,
13,
18884,
450,
2009,
1203,
29889,
10729,
2643,
363,
13,
18884,
4116,
442,
11501,
27107,
3170,
29889,
2577,
11501,
13,
9651,
337,
2202,
313,
3608,
29889,
2754,
29918,
3221,
29889,
276,
2202,
29889,
8015,
719,
1125,
12037,
362,
310,
825,
4436,
29892,
565,
738,
29892,
13,
18884,
881,
367,
3240,
1255,
29889,
13,
9651,
11815,
313,
7411,
1125,
450,
11815,
363,
445,
2009,
29889,
13,
9651,
15562,
313,
20529,
29961,
23215,
552,
29961,
710,
29892,
851,
5262,
1125,
3767,
886,
607,
881,
367,
13,
18884,
2665,
3412,
411,
278,
2009,
408,
15562,
29889,
13,
13,
4706,
16969,
29901,
13,
9651,
5386,
29889,
5184,
29889,
5893,
7734,
29889,
4928,
29885,
29918,
29894,
29896,
29889,
8768,
29889,
11501,
29901,
13,
18884,
21830,
6503,
11524,
385,
13,
18884,
2777,
310,
3896,
7734,
8745,
4742,
297,
13,
18884,
278,
2875,
29889,
13,
13,
4706,
9995,
13,
4706,
396,
6204,
470,
1302,
261,
346,
263,
17814,
9721,
2009,
1203,
29889,
13,
4706,
396,
21987,
13883,
304,
4772,
3907,
263,
3509,
565,
278,
1404,
14517,
13,
4706,
396,
297,
263,
15040,
29918,
10141,
29918,
21895,
29918,
5509,
29889,
2577,
11501,
3089,
29889,
13,
4706,
396,
1670,
29915,
29879,
694,
12045,
310,
23815,
278,
1881,
408,
591,
29915,
345,
2307,
26834,
13,
4706,
396,
727,
526,
694,
1652,
8606,
287,
4235,
29889,
13,
4706,
565,
451,
338,
8758,
29898,
3827,
29892,
15040,
29918,
10141,
29918,
21895,
29918,
5509,
29889,
2577,
11501,
3089,
1125,
13,
9651,
2009,
353,
15040,
29918,
10141,
29918,
21895,
29918,
5509,
29889,
2577,
11501,
3089,
29898,
3827,
29897,
13,
13,
4706,
396,
399,
2390,
278,
390,
9026,
1158,
29936,
445,
12778,
337,
2202,
322,
11815,
2472,
29892,
13,
4706,
396,
322,
19780,
1059,
11415,
29889,
13,
4706,
364,
6739,
353,
1583,
3032,
27882,
3032,
29893,
336,
2986,
29918,
23515,
29961,
1311,
3032,
27882,
29889,
657,
29918,
10141,
29962,
13,
13,
4706,
396,
315,
13946,
4235,
881,
367,
4944,
2629,
278,
15562,
4839,
29936,
13,
4706,
396,
788,
1438,
1244,
29889,
13,
4706,
15562,
353,
18761,
29898,
19635,
29897,
718,
313,
13,
9651,
17261,
293,
29918,
29894,
29896,
29889,
14608,
292,
29918,
6672,
29889,
517,
29918,
629,
6739,
29918,
19635,
3552,
13,
18884,
4852,
978,
613,
2009,
29889,
978,
511,
13,
9651,
1723,
511,
13,
4706,
1723,
13,
13,
4706,
396,
15076,
278,
2009,
29889,
13,
4706,
2933,
353,
364,
6739,
29898,
13,
9651,
2009,
29892,
13,
9651,
337,
2202,
29922,
276,
2202,
29892,
13,
9651,
11815,
29922,
15619,
29892,
13,
9651,
15562,
29922,
19635,
29892,
13,
4706,
1723,
13,
13,
4706,
396,
25679,
29936,
736,
278,
2933,
29889,
13,
4706,
736,
2933,
13,
13,
1678,
822,
1051,
29918,
3359,
1575,
29898,
1311,
29892,
13,
9651,
2009,
29901,
7761,
29961,
3844,
442,
29918,
10141,
29918,
21895,
29918,
5509,
29889,
1293,
16618,
1575,
3089,
29892,
9657,
29962,
353,
6213,
29892,
13,
9651,
334,
29892,
13,
9651,
337,
2202,
29901,
3240,
2722,
29889,
8015,
719,
353,
17261,
293,
29918,
29894,
29896,
29889,
5696,
29889,
23397,
29892,
13,
9651,
11815,
29901,
5785,
353,
6213,
29892,
13,
9651,
15562,
29901,
922,
3910,
29961,
23215,
552,
29961,
710,
29892,
851,
5262,
353,
313,
511,
13,
9651,
1723,
1599,
10203,
414,
29889,
1293,
16618,
1575,
22166,
29901,
13,
4706,
364,
15945,
29908,
1293,
29879,
9224,
8745,
491,
278,
3896,
7734,
29889,
13,
13,
4706,
826,
3174,
29901,
13,
9651,
2009,
313,
19986,
29961,
3608,
29889,
5184,
29889,
5893,
7734,
29889,
4928,
29885,
29918,
29894,
29896,
29889,
8768,
29889,
1293,
16618,
1575,
3089,
29892,
9657,
29962,
1125,
13,
18884,
450,
2009,
1203,
29889,
10729,
2643,
363,
13,
18884,
4116,
442,
11501,
27107,
3170,
29889,
1293,
16618,
1575,
13,
9651,
337,
2202,
313,
3608,
29889,
2754,
29918,
3221,
29889,
276,
2202,
29889,
8015,
719,
1125,
12037,
362,
310,
825,
4436,
29892,
565,
738,
29892,
13,
18884,
881,
367,
3240,
1255,
29889,
13,
9651,
11815,
313,
7411,
1125,
450,
11815,
363,
445,
2009,
29889,
13,
9651,
15562,
313,
20529,
29961,
23215,
552,
29961,
710,
29892,
851,
5262,
1125,
3767,
886,
607,
881,
367,
13,
18884,
2665,
3412,
411,
278,
2009,
408,
15562,
29889,
13,
13,
4706,
16969,
29901,
13,
9651,
5386,
29889,
5184,
29889,
5893,
7734,
29889,
4928,
29885,
29918,
29894,
29896,
29889,
9916,
29889,
3844,
442,
29918,
10141,
29918,
21895,
29918,
5509,
29889,
13573,
414,
29889,
1293,
16618,
1575,
22166,
29901,
13,
18884,
13291,
2643,
363,
13,
18884,
4116,
442,
11501,
27107,
3170,
29889,
1293,
16618,
1575,
13,
18884,
20504,
1218,
975,
445,
1203,
674,
7709,
13,
18884,
2582,
322,
8814,
5684,
6515,
13,
18884,
6336,
29889,
13,
13,
4706,
9995,
13,
4706,
396,
6204,
470,
1302,
261,
346,
263,
17814,
9721,
2009,
1203,
29889,
13,
4706,
396,
21987,
13883,
304,
4772,
3907,
263,
3509,
565,
278,
1404,
14517,
13,
4706,
396,
297,
263,
15040,
29918,
10141,
29918,
21895,
29918,
5509,
29889,
1293,
16618,
1575,
3089,
29889,
13,
4706,
396,
1670,
29915,
29879,
694,
12045,
310,
23815,
278,
1881,
408,
591,
29915,
345,
2307,
26834,
13,
4706,
396,
727,
526,
694,
1652,
8606,
287,
4235,
29889,
13,
4706,
565,
451,
338,
8758,
29898,
3827,
29892,
15040,
29918,
10141,
29918,
21895,
29918,
5509,
29889,
1293,
16618,
1575,
3089,
1125,
13,
9651,
2009,
353,
15040,
29918,
10141,
29918,
21895,
29918,
5509,
29889,
1293,
16618,
1575,
3089,
29898,
3827,
29897,
13,
13,
4706,
396,
399,
2390,
278,
390,
9026,
1158,
29936,
445,
12778,
337,
2202,
322,
11815,
2472,
29892,
13,
4706,
396,
322,
19780,
1059,
11415,
29889,
13,
4706,
364,
6739,
353,
1583,
3032,
27882,
3032,
29893,
336,
2986,
29918,
23515,
29961,
1311,
3032,
27882,
29889,
1761,
29918,
3359,
1575,
29962,
13,
13,
4706,
396,
315,
13946,
4235,
881,
367,
4944,
2629,
278,
15562,
4839,
29936,
13,
4706,
396,
788,
1438,
1244,
29889,
13,
4706,
15562,
353,
18761,
29898,
19635,
29897,
718,
313,
13,
9651,
17261,
293,
29918,
29894,
29896,
29889,
14608,
292,
29918,
6672,
29889,
517,
29918,
629,
6739,
29918,
19635,
3552,
13,
18884,
4852,
3560,
613,
2009,
29889,
3560,
511,
13,
9651,
1723,
511,
13,
4706,
1723,
13,
13,
4706,
396,
15076,
278,
2009,
29889,
13,
4706,
2933,
353,
364,
6739,
29898,
13,
9651,
2009,
29892,
13,
9651,
337,
2202,
29922,
276,
2202,
29892,
13,
9651,
11815,
29922,
15619,
29892,
13,
9651,
15562,
29922,
19635,
29892,
13,
4706,
1723,
13,
13,
4706,
396,
910,
1158,
338,
282,
4063,
29936,
12244,
278,
2933,
297,
263,
282,
1875,
29892,
607,
8128,
13,
4706,
396,
385,
21326,
1524,
1649,
29952,
29703,
1158,
29889,
13,
4706,
2933,
353,
10203,
414,
29889,
1293,
16618,
1575,
22166,
29898,
13,
9651,
1158,
29922,
29878,
6739,
29892,
13,
9651,
2009,
29922,
3827,
29892,
13,
9651,
2933,
29922,
5327,
29892,
13,
9651,
15562,
29922,
19635,
29892,
13,
4706,
1723,
13,
13,
4706,
396,
25679,
29936,
736,
278,
2933,
29889,
13,
4706,
736,
2933,
13,
13,
1678,
822,
6222,
29918,
10141,
29918,
6519,
29898,
1311,
29892,
13,
9651,
2009,
29901,
7761,
29961,
3844,
442,
29918,
10141,
29918,
21895,
29918,
5509,
29889,
12296,
11501,
6255,
3089,
29892,
9657,
29962,
353,
6213,
29892,
13,
9651,
334,
29892,
13,
9651,
337,
2202,
29901,
3240,
2722,
29889,
8015,
719,
353,
17261,
293,
29918,
29894,
29896,
29889,
5696,
29889,
23397,
29892,
13,
9651,
11815,
29901,
5785,
353,
6213,
29892,
13,
9651,
15562,
29901,
922,
3910,
29961,
23215,
552,
29961,
710,
29892,
851,
5262,
353,
313,
511,
13,
9651,
1723,
1599,
15040,
29918,
10141,
29918,
21895,
29918,
5509,
29889,
12296,
11501,
6255,
5103,
29901,
13,
4706,
364,
15945,
29908,
5379,
2667,
263,
1899,
304,
4742,
8745,
491,
278,
13,
4706,
3896,
7734,
29889,
13,
13,
4706,
826,
3174,
29901,
13,
9651,
2009,
313,
19986,
29961,
3608,
29889,
5184,
29889,
5893,
7734,
29889,
4928,
29885,
29918,
29894,
29896,
29889,
8768,
29889,
12296,
11501,
6255,
3089,
29892,
9657,
29962,
1125,
13,
18884,
450,
2009,
1203,
29889,
10729,
2643,
363,
13,
18884,
4116,
442,
11501,
27107,
3170,
29889,
12296,
11501,
6255,
13,
9651,
337,
2202,
313,
3608,
29889,
2754,
29918,
3221,
29889,
276,
2202,
29889,
8015,
719,
1125,
12037,
362,
310,
825,
4436,
29892,
565,
738,
29892,
13,
18884,
881,
367,
3240,
1255,
29889,
13,
9651,
11815,
313,
7411,
1125,
450,
11815,
363,
445,
2009,
29889,
13,
9651,
15562,
313,
20529,
29961,
23215,
552,
29961,
710,
29892,
851,
5262,
1125,
3767,
886,
607,
881,
367,
13,
18884,
2665,
3412,
411,
278,
2009,
408,
15562,
29889,
13,
13,
4706,
16969,
29901,
13,
9651,
5386,
29889,
5184,
29889,
5893,
7734,
29889,
4928,
29885,
29918,
29894,
29896,
29889,
8768,
29889,
12296,
11501,
6255,
5103,
29901,
13,
18884,
13291,
2643,
363,
13,
18884,
4116,
442,
11501,
27107,
3170,
29889,
12296,
11501,
6255,
13,
13,
4706,
9995,
13,
4706,
396,
6204,
470,
1302,
261,
346,
263,
17814,
9721,
2009,
1203,
29889,
13,
4706,
396,
21987,
13883,
304,
4772,
3907,
263,
3509,
565,
278,
1404,
14517,
13,
4706,
396,
297,
263,
15040,
29918,
10141,
29918,
21895,
29918,
5509,
29889,
12296,
11501,
6255,
3089,
29889,
13,
4706,
396,
1670,
29915,
29879,
694,
12045,
310,
23815,
278,
1881,
408,
591,
29915,
345,
2307,
26834,
13,
4706,
396,
727,
526,
694,
1652,
8606,
287,
4235,
29889,
13,
4706,
565,
451,
338,
8758,
29898,
3827,
29892,
15040,
29918,
10141,
29918,
21895,
29918,
5509,
29889,
12296,
11501,
6255,
3089,
1125,
13,
9651,
2009,
353,
15040,
29918,
10141,
29918,
21895,
29918,
5509,
29889,
12296,
11501,
6255,
3089,
29898,
3827,
29897,
13,
13,
4706,
396,
399,
2390,
278,
390,
9026,
1158,
29936,
445,
12778,
337,
2202,
322,
11815,
2472,
29892,
13,
4706,
396,
322,
19780,
1059,
11415,
29889,
13,
4706,
364,
6739,
353,
1583,
3032,
27882,
3032,
29893,
336,
2986,
29918,
23515,
29961,
1311,
3032,
27882,
29889,
7978,
29918,
10141,
29918,
6519,
29962,
13,
13,
4706,
396,
315,
13946,
4235,
881,
367,
4944,
2629,
278,
15562,
4839,
29936,
13,
4706,
396,
788,
1438,
1244,
29889,
13,
4706,
15562,
353,
18761,
29898,
19635,
29897,
718,
313,
13,
9651,
17261,
293,
29918,
29894,
29896,
29889,
14608,
292,
29918,
6672,
29889,
517,
29918,
629,
6739,
29918,
19635,
3552,
13,
18884,
4852,
978,
613,
2009,
29889,
978,
511,
13,
9651,
1723,
511,
13,
4706,
1723,
13,
13,
4706,
396,
15076,
278,
2009,
29889,
13,
4706,
2933,
353,
364,
6739,
29898,
13,
9651,
2009,
29892,
13,
9651,
337,
2202,
29922,
276,
2202,
29892,
13,
9651,
11815,
29922,
15619,
29892,
13,
9651,
15562,
29922,
19635,
29892,
13,
4706,
1723,
13,
13,
4706,
396,
25679,
29936,
736,
278,
2933,
29889,
13,
4706,
736,
2933,
13,
13,
1678,
822,
679,
29918,
23905,
29898,
1311,
29892,
13,
9651,
2009,
29901,
7761,
29961,
3844,
442,
29918,
10141,
29918,
21895,
29918,
5509,
29889,
2577,
5015,
12425,
3089,
29892,
9657,
29962,
353,
6213,
29892,
13,
9651,
334,
29892,
13,
9651,
337,
2202,
29901,
3240,
2722,
29889,
8015,
719,
353,
17261,
293,
29918,
29894,
29896,
29889,
5696,
29889,
23397,
29892,
13,
9651,
11815,
29901,
5785,
353,
6213,
29892,
13,
9651,
15562,
29901,
922,
3910,
29961,
23215,
552,
29961,
710,
29892,
851,
5262,
353,
313,
511,
13,
9651,
1723,
1599,
3268,
29889,
5015,
12425,
29901,
13,
4706,
364,
15945,
29908,
29954,
1691,
263,
3829,
8745,
491,
278,
3896,
7734,
29889,
13,
13,
4706,
826,
3174,
29901,
13,
9651,
2009,
313,
19986,
29961,
3608,
29889,
5184,
29889,
5893,
7734,
29889,
4928,
29885,
29918,
29894,
29896,
29889,
8768,
29889,
2577,
5015,
12425,
3089,
29892,
9657,
29962,
1125,
13,
18884,
450,
2009,
1203,
29889,
10729,
2643,
363,
13,
18884,
4116,
442,
11501,
27107,
3170,
29889,
2577,
5015,
12425,
13,
9651,
337,
2202,
313,
3608,
29889,
2754,
29918,
3221,
29889,
276,
2202,
29889,
8015,
719,
1125,
12037,
362,
310,
825,
4436,
29892,
565,
738,
29892,
13,
18884,
881,
367,
3240,
1255,
29889,
13,
9651,
11815,
313,
7411,
1125,
450,
11815,
363,
445,
2009,
29889,
13,
9651,
15562,
313,
20529,
29961,
23215,
552,
29961,
710,
29892,
851,
5262,
1125,
3767,
886,
607,
881,
367,
13,
18884,
2665,
3412,
411,
278,
2009,
408,
15562,
29889,
13,
13,
4706,
16969,
29901,
13,
9651,
5386,
29889,
5184,
29889,
5893,
7734,
29889,
4928,
29885,
29918,
29894,
29896,
29889,
8768,
29889,
5015,
12425,
29901,
13,
18884,
3767,
12425,
6503,
11524,
385,
13,
18884,
2777,
310,
3896,
7734,
8745,
3271,
470,
13,
18884,
16730,
5716,
29889,
13,
13,
4706,
9995,
13,
4706,
396,
6204,
470,
1302,
261,
346,
263,
17814,
9721,
2009,
1203,
29889,
13,
4706,
396,
21987,
13883,
304,
4772,
3907,
263,
3509,
565,
278,
1404,
14517,
13,
4706,
396,
297,
263,
15040,
29918,
10141,
29918,
21895,
29918,
5509,
29889,
2577,
5015,
12425,
3089,
29889,
13,
4706,
396,
1670,
29915,
29879,
694,
12045,
310,
23815,
278,
1881,
408,
591,
29915,
345,
2307,
26834,
13,
4706,
396,
727,
526,
694,
1652,
8606,
287,
4235,
29889,
13,
4706,
565,
451,
338,
8758,
29898,
3827,
29892,
15040,
29918,
10141,
29918,
21895,
29918,
5509,
29889,
2577,
5015,
12425,
3089,
1125,
13,
9651,
2009,
353,
15040,
29918,
10141,
29918,
21895,
29918,
5509,
29889,
2577,
5015,
12425,
3089,
29898,
3827,
29897,
13,
13,
4706,
396,
399,
2390,
278,
390,
9026,
1158,
29936,
445,
12778,
337,
2202,
322,
11815,
2472,
29892,
13,
4706,
396,
322,
19780,
1059,
11415,
29889,
13,
4706,
364,
6739,
353,
1583,
3032,
27882,
3032,
29893,
336,
2986,
29918,
23515,
29961,
1311,
3032,
27882,
29889,
657,
29918,
23905,
29962,
13,
13,
4706,
396,
315,
13946,
4235,
881,
367,
4944,
2629,
278,
15562,
4839,
29936,
13,
4706,
396,
788,
1438,
1244,
29889,
13,
4706,
15562,
353,
18761,
29898,
19635,
29897,
718,
313,
13,
9651,
17261,
293,
29918,
29894,
29896,
29889,
14608,
292,
29918,
6672,
29889,
517,
29918,
629,
6739,
29918,
19635,
3552,
13,
18884,
4852,
978,
613,
2009,
29889,
978,
511,
13,
9651,
1723,
511,
13,
4706,
1723,
13,
13,
4706,
396,
15076,
278,
2009,
29889,
13,
4706,
2933,
353,
364,
6739,
29898,
13,
9651,
2009,
29892,
13,
9651,
337,
2202,
29922,
276,
2202,
29892,
13,
9651,
11815,
29922,
15619,
29892,
13,
9651,
15562,
29922,
19635,
29892,
13,
4706,
1723,
13,
13,
4706,
396,
25679,
29936,
736,
278,
2933,
29889,
13,
4706,
736,
2933,
13,
13,
1678,
822,
1051,
29918,
4984,
1973,
29898,
1311,
29892,
13,
9651,
2009,
29901,
7761,
29961,
3844,
442,
29918,
10141,
29918,
21895,
29918,
5509,
29889,
1293,
19560,
1973,
3089,
29892,
9657,
29962,
353,
6213,
29892,
13,
9651,
334,
29892,
13,
9651,
337,
2202,
29901,
3240,
2722,
29889,
8015,
719,
353,
17261,
293,
29918,
29894,
29896,
29889,
5696,
29889,
23397,
29892,
13,
9651,
11815,
29901,
5785,
353,
6213,
29892,
13,
9651,
15562,
29901,
922,
3910,
29961,
23215,
552,
29961,
710,
29892,
851,
5262,
353,
313,
511,
13,
9651,
1723,
1599,
10203,
414,
29889,
1293,
19560,
1973,
22166,
29901,
13,
4706,
364,
15945,
29908,
1293,
29879,
12286,
8745,
491,
278,
3896,
7734,
29889,
13,
13,
4706,
826,
3174,
29901,
13,
9651,
2009,
313,
19986,
29961,
3608,
29889,
5184,
29889,
5893,
7734,
29889,
4928,
29885,
29918,
29894,
29896,
29889,
8768,
29889,
1293,
19560,
1973,
3089,
29892,
9657,
29962,
1125,
13,
18884,
450,
2009,
1203,
29889,
10729,
2643,
363,
13,
18884,
4116,
442,
11501,
27107,
3170,
29889,
1293,
19560,
1973,
13,
9651,
337,
2202,
313,
3608,
29889,
2754,
29918,
3221,
29889,
276,
2202,
29889,
8015,
719,
1125,
12037,
362,
310,
825,
4436,
29892,
565,
738,
29892,
13,
18884,
881,
367,
3240,
1255,
29889,
13,
9651,
11815,
313,
7411,
1125,
450,
11815,
363,
445,
2009,
29889,
13,
9651,
15562,
313,
20529,
29961,
23215,
552,
29961,
710,
29892,
851,
5262,
1125,
3767,
886,
607,
881,
367,
13,
18884,
2665,
3412,
411,
278,
2009,
408,
15562,
29889,
13,
13,
4706,
16969,
29901,
13,
9651,
5386,
29889,
5184,
29889,
5893,
7734,
29889,
4928,
29885,
29918,
29894,
29896,
29889,
9916,
29889,
3844,
442,
29918,
10141,
29918,
21895,
29918,
5509,
29889,
13573,
414,
29889,
1293,
19560,
1973,
22166,
29901,
13,
18884,
13291,
2643,
363,
13,
18884,
4116,
442,
11501,
27107,
3170,
29889,
1293,
19560,
1973,
13,
18884,
20504,
1218,
975,
445,
1203,
674,
7709,
13,
18884,
2582,
322,
8814,
5684,
6515,
13,
18884,
6336,
29889,
13,
13,
4706,
9995,
13,
4706,
396,
6204,
470,
1302,
261,
346,
263,
17814,
9721,
2009,
1203,
29889,
13,
4706,
396,
21987,
13883,
304,
4772,
3907,
263,
3509,
565,
278,
1404,
14517,
13,
4706,
396,
297,
263,
15040,
29918,
10141,
29918,
21895,
29918,
5509,
29889,
1293,
19560,
1973,
3089,
29889,
13,
4706,
396,
1670,
29915,
29879,
694,
12045,
310,
23815,
278,
1881,
408,
591,
29915,
345,
2307,
26834,
13,
4706,
396,
727,
526,
694,
1652,
8606,
287,
4235,
29889,
13,
4706,
565,
451,
338,
8758,
29898,
3827,
29892,
15040,
29918,
10141,
29918,
21895,
29918,
5509,
29889,
1293,
19560,
1973,
3089,
1125,
13,
9651,
2009,
353,
15040,
29918,
10141,
29918,
21895,
29918,
5509,
29889,
1293,
19560,
1973,
3089,
29898,
3827,
29897,
13,
13,
4706,
396,
399,
2390,
278,
390,
9026,
1158,
29936,
445,
12778,
337,
2202,
322,
11815,
2472,
29892,
13,
4706,
396,
322,
19780,
1059,
11415,
29889,
13,
4706,
364,
6739,
353,
1583,
3032,
27882,
3032,
29893,
336,
2986,
29918,
23515,
29961,
1311,
3032,
27882,
29889,
1761,
29918,
4984,
1973,
29962,
13,
13,
4706,
396,
315,
13946,
4235,
881,
367,
4944,
2629,
278,
15562,
4839,
29936,
13,
4706,
396,
788,
1438,
1244,
29889,
13,
4706,
15562,
353,
18761,
29898,
19635,
29897,
718,
313,
13,
9651,
17261,
293,
29918,
29894,
29896,
29889,
14608,
292,
29918,
6672,
29889,
517,
29918,
629,
6739,
29918,
19635,
3552,
13,
18884,
4852,
3560,
613,
2009,
29889,
3560,
511,
13,
9651,
1723,
511,
13,
4706,
1723,
13,
13,
4706,
396,
15076,
278,
2009,
29889,
13,
4706,
2933,
353,
364,
6739,
29898,
13,
9651,
2009,
29892,
13,
9651,
337,
2202,
29922,
276,
2202,
29892,
13,
9651,
11815,
29922,
15619,
29892,
13,
9651,
15562,
29922,
19635,
29892,
13,
4706,
1723,
13,
13,
4706,
396,
910,
1158,
338,
282,
4063,
29936,
12244,
278,
2933,
297,
263,
282,
1875,
29892,
607,
8128,
13,
4706,
396,
385,
21326,
1524,
1649,
29952,
29703,
1158,
29889,
13,
4706,
2933,
353,
10203,
414,
29889,
1293,
19560,
1973,
22166,
29898,
13,
9651,
1158,
29922,
29878,
6739,
29892,
13,
9651,
2009,
29922,
3827,
29892,
13,
9651,
2933,
29922,
5327,
29892,
13,
9651,
15562,
29922,
19635,
29892,
13,
4706,
1723,
13,
13,
4706,
396,
25679,
29936,
736,
278,
2933,
29889,
13,
4706,
736,
2933,
13,
13,
1678,
822,
679,
29918,
8345,
29898,
1311,
29892,
13,
9651,
2009,
29901,
7761,
29961,
3844,
442,
29918,
10141,
29918,
21895,
29918,
5509,
29889,
2577,
9588,
290,
3089,
29892,
9657,
29962,
353,
6213,
29892,
13,
9651,
334,
29892,
13,
9651,
337,
2202,
29901,
3240,
2722,
29889,
8015,
719,
353,
17261,
293,
29918,
29894,
29896,
29889,
5696,
29889,
23397,
29892,
13,
9651,
11815,
29901,
5785,
353,
6213,
29892,
13,
9651,
15562,
29901,
922,
3910,
29961,
23215,
552,
29961,
710,
29892,
851,
5262,
353,
313,
511,
13,
9651,
1723,
1599,
3268,
29889,
9588,
290,
29901,
13,
4706,
364,
15945,
29908,
29954,
1691,
263,
5716,
8745,
491,
278,
3896,
7734,
29889,
13,
13,
4706,
826,
3174,
29901,
13,
9651,
2009,
313,
19986,
29961,
3608,
29889,
5184,
29889,
5893,
7734,
29889,
4928,
29885,
29918,
29894,
29896,
29889,
8768,
29889,
2577,
9588,
290,
3089,
29892,
9657,
29962,
1125,
13,
18884,
450,
2009,
1203,
29889,
10729,
2643,
363,
13,
18884,
4116,
442,
11501,
27107,
3170,
29889,
2577,
9588,
290,
13,
9651,
337,
2202,
313,
3608,
29889,
2754,
29918,
3221,
29889,
276,
2202,
29889,
8015,
719,
1125,
12037,
362,
310,
825,
4436,
29892,
565,
738,
29892,
13,
18884,
881,
367,
3240,
1255,
29889,
13,
9651,
11815,
313,
7411,
1125,
450,
11815,
363,
445,
2009,
29889,
13,
9651,
15562,
313,
20529,
29961,
23215,
552,
29961,
710,
29892,
851,
5262,
1125,
3767,
886,
607,
881,
367,
13,
18884,
2665,
3412,
411,
278,
2009,
408,
15562,
29889,
13,
13,
4706,
16969,
29901,
13,
9651,
5386,
29889,
5184,
29889,
5893,
7734,
29889,
4928,
29885,
29918,
29894,
29896,
29889,
8768,
29889,
9588,
290,
29901,
13,
18884,
25114,
6503,
11524,
385,
2777,
13,
18884,
310,
1014,
29899,
3493,
2629,
263,
3829,
1316,
408,
13,
18884,
19600,
297,
263,
16730,
9460,
470,
364,
13703,
13,
18884,
263,
8076,
29889,
13,
13,
4706,
9995,
13,
4706,
396,
6204,
470,
1302,
261,
346,
263,
17814,
9721,
2009,
1203,
29889,
13,
4706,
396,
21987,
13883,
304,
4772,
3907,
263,
3509,
565,
278,
1404,
14517,
13,
4706,
396,
297,
263,
15040,
29918,
10141,
29918,
21895,
29918,
5509,
29889,
2577,
9588,
290,
3089,
29889,
13,
4706,
396,
1670,
29915,
29879,
694,
12045,
310,
23815,
278,
1881,
408,
591,
29915,
345,
2307,
26834,
13,
4706,
396,
727,
526,
694,
1652,
8606,
287,
4235,
29889,
13,
4706,
565,
451,
338,
8758,
29898,
3827,
29892,
15040,
29918,
10141,
29918,
21895,
29918,
5509,
29889,
2577,
9588,
290,
3089,
1125,
13,
9651,
2009,
353,
15040,
29918,
10141,
29918,
21895,
29918,
5509,
29889,
2577,
9588,
290,
3089,
29898,
3827,
29897,
13,
13,
4706,
396,
399,
2390,
278,
390,
9026,
1158,
29936,
445,
12778,
337,
2202,
322,
11815,
2472,
29892,
13,
4706,
396,
322,
19780,
1059,
11415,
29889,
13,
4706,
364,
6739,
353,
1583,
3032,
27882,
3032,
29893,
336,
2986,
29918,
23515,
29961,
1311,
3032,
27882,
29889,
657,
29918,
8345,
29962,
13,
13,
4706,
396,
315,
13946,
4235,
881,
367,
4944,
2629,
278,
15562,
4839,
29936,
13,
4706,
396,
788,
1438,
1244,
29889,
13,
4706,
15562,
353,
18761,
29898,
19635,
29897,
718,
313,
13,
9651,
17261,
293,
29918,
29894,
29896,
29889,
14608,
292,
29918,
6672,
29889,
517,
29918,
629,
6739,
29918,
19635,
3552,
13,
18884,
4852,
978,
613,
2009,
29889,
978,
511,
13,
9651,
1723,
511,
13,
4706,
1723,
13,
13,
4706,
396,
15076,
278,
2009,
29889,
13,
4706,
2933,
353,
364,
6739,
29898,
13,
9651,
2009,
29892,
13,
9651,
337,
2202,
29922,
276,
2202,
29892,
13,
9651,
11815,
29922,
15619,
29892,
13,
9651,
15562,
29922,
19635,
29892,
13,
4706,
1723,
13,
13,
4706,
396,
25679,
29936,
736,
278,
2933,
29889,
13,
4706,
736,
2933,
13,
13,
1678,
822,
1051,
29918,
18901,
29898,
1311,
29892,
13,
9651,
2009,
29901,
7761,
29961,
3844,
442,
29918,
10141,
29918,
21895,
29918,
5509,
29889,
1293,
9588,
4835,
3089,
29892,
9657,
29962,
353,
6213,
29892,
13,
9651,
334,
29892,
13,
9651,
337,
2202,
29901,
3240,
2722,
29889,
8015,
719,
353,
17261,
293,
29918,
29894,
29896,
29889,
5696,
29889,
23397,
29892,
13,
9651,
11815,
29901,
5785,
353,
6213,
29892,
13,
9651,
15562,
29901,
922,
3910,
29961,
23215,
552,
29961,
710,
29892,
851,
5262,
353,
313,
511,
13,
9651,
1723,
1599,
10203,
414,
29889,
1293,
9588,
4835,
22166,
29901,
13,
4706,
364,
15945,
29908,
1293,
29879,
19600,
8745,
491,
278,
3896,
7734,
29889,
13,
13,
4706,
826,
3174,
29901,
13,
9651,
2009,
313,
19986,
29961,
3608,
29889,
5184,
29889,
5893,
7734,
29889,
4928,
29885,
29918,
29894,
29896,
29889,
8768,
29889,
1293,
9588,
4835,
3089,
29892,
9657,
29962,
1125,
13,
18884,
450,
2009,
1203,
29889,
10729,
2643,
363,
13,
18884,
4116,
442,
11501,
27107,
3170,
29889,
1293,
9588,
4835,
13,
9651,
337,
2202,
313,
3608,
29889,
2754,
29918,
3221,
29889,
276,
2202,
29889,
8015,
719,
1125,
12037,
362,
310,
825,
4436,
29892,
565,
738,
29892,
13,
18884,
881,
367,
3240,
1255,
29889,
13,
9651,
11815,
313,
7411,
1125,
450,
11815,
363,
445,
2009,
29889,
13,
9651,
15562,
313,
20529,
29961,
23215,
552,
29961,
710,
29892,
851,
5262,
1125,
3767,
886,
607,
881,
367,
13,
18884,
2665,
3412,
411,
278,
2009,
408,
15562,
29889,
13,
13,
4706,
16969,
29901,
13,
9651,
5386,
29889,
5184,
29889,
5893,
7734,
29889,
4928,
29885,
29918,
29894,
29896,
29889,
9916,
29889,
3844,
442,
29918,
10141,
29918,
21895,
29918,
5509,
29889,
13573,
414,
29889,
1293,
9588,
4835,
22166,
29901,
13,
18884,
13291,
2643,
363,
13,
18884,
4116,
442,
11501,
27107,
3170,
29889,
1293,
9588,
4835,
13,
18884,
20504,
1218,
975,
445,
1203,
674,
7709,
13,
18884,
2582,
322,
8814,
5684,
6515,
13,
18884,
6336,
29889,
13,
13,
4706,
9995,
13,
4706,
396,
6204,
470,
1302,
261,
346,
263,
17814,
9721,
2009,
1203,
29889,
13,
4706,
396,
21987,
13883,
304,
4772,
3907,
263,
3509,
565,
278,
1404,
14517,
13,
4706,
396,
297,
263,
15040,
29918,
10141,
29918,
21895,
29918,
5509,
29889,
1293,
9588,
4835,
3089,
29889,
13,
4706,
396,
1670,
29915,
29879,
694,
12045,
310,
23815,
278,
1881,
408,
591,
29915,
345,
2307,
26834,
13,
4706,
396,
727,
526,
694,
1652,
8606,
287,
4235,
29889,
13,
4706,
565,
451,
338,
8758,
29898,
3827,
29892,
15040,
29918,
10141,
29918,
21895,
29918,
5509,
29889,
1293,
9588,
4835,
3089,
1125,
13,
9651,
2009,
353,
15040,
29918,
10141,
29918,
21895,
29918,
5509,
29889,
1293,
9588,
4835,
3089,
29898,
3827,
29897,
13,
13,
4706,
396,
399,
2390,
278,
390,
9026,
1158,
29936,
445,
12778,
337,
2202,
322,
11815,
2472,
29892,
13,
4706,
396,
322,
19780,
1059,
11415,
29889,
13,
4706,
364,
6739,
353,
1583,
3032,
27882,
3032,
29893,
336,
2986,
29918,
23515,
29961,
1311,
3032,
27882,
29889,
1761,
29918,
18901,
29962,
13,
13,
4706,
396,
315,
13946,
4235,
881,
367,
4944,
2629,
278,
15562,
4839,
29936,
13,
4706,
396,
788,
1438,
1244,
29889,
13,
4706,
15562,
353,
18761,
29898,
19635,
29897,
718,
313,
13,
9651,
17261,
293,
29918,
29894,
29896,
29889,
14608,
292,
29918,
6672,
29889,
517,
29918,
629,
6739,
29918,
19635,
3552,
13,
18884,
4852,
3560,
613,
2009,
29889,
3560,
511,
13,
9651,
1723,
511,
13,
4706,
1723,
13,
13,
4706,
396,
15076,
278,
2009,
29889,
13,
4706,
2933,
353,
364,
6739,
29898,
13,
9651,
2009,
29892,
13,
9651,
337,
2202,
29922,
276,
2202,
29892,
13,
9651,
11815,
29922,
15619,
29892,
13,
9651,
15562,
29922,
19635,
29892,
13,
4706,
1723,
13,
13,
4706,
396,
910,
1158,
338,
282,
4063,
29936,
12244,
278,
2933,
297,
263,
282,
1875,
29892,
607,
8128,
13,
4706,
396,
385,
21326,
1524,
1649,
29952,
29703,
1158,
29889,
13,
4706,
2933,
353,
10203,
414,
29889,
1293,
9588,
4835,
22166,
29898,
13,
9651,
1158,
29922,
29878,
6739,
29892,
13,
9651,
2009,
29922,
3827,
29892,
13,
9651,
2933,
29922,
5327,
29892,
13,
9651,
15562,
29922,
19635,
29892,
13,
4706,
1723,
13,
13,
4706,
396,
25679,
29936,
736,
278,
2933,
29889,
13,
4706,
736,
2933,
13,
13,
1678,
822,
4770,
5893,
12035,
1311,
1125,
13,
4706,
736,
1583,
13,
13,
1678,
822,
4770,
13322,
12035,
1311,
29892,
1134,
29892,
995,
29892,
9637,
1627,
1125,
13,
4706,
9995,
1123,
17836,
14407,
8608,
29915,
29879,
7788,
29889,
13,
13,
4706,
6317,
9177,
1057,
13,
9651,
6732,
16786,
671,
408,
263,
3030,
8455,
565,
278,
8608,
338,
6058,
7258,
13,
9651,
411,
916,
13154,
29991,
1222,
11407,
278,
411,
2908,
674,
315,
3927,
1660,
278,
8608,
13,
9651,
322,
1122,
4556,
4436,
297,
916,
13154,
29991,
13,
4706,
9995,
13,
4706,
1583,
29889,
27882,
29889,
5358,
580,
13,
13,
13,
13,
2202,
29901,
13,
1678,
22236,
29918,
27205,
3919,
29918,
11690,
353,
17261,
293,
29918,
29894,
29896,
29889,
4645,
29918,
3888,
29889,
4032,
3401,
29898,
13,
4706,
17261,
293,
29918,
3259,
29922,
15865,
29918,
13237,
29889,
657,
29918,
27691,
29898,
13,
9651,
376,
3608,
29899,
5184,
29899,
5893,
7734,
29899,
4928,
29885,
613,
13,
4706,
13742,
3259,
29892,
13,
1678,
1723,
13,
19499,
282,
9415,
29918,
13237,
29889,
13398,
3224,
17413,
29901,
13,
1678,
22236,
29918,
27205,
3919,
29918,
11690,
353,
17261,
293,
29918,
29894,
29896,
29889,
4645,
29918,
3888,
29889,
4032,
3401,
580,
13,
13,
13,
1649,
497,
1649,
353,
313,
13,
1678,
376,
12636,
442,
11501,
27107,
3170,
4032,
613,
13,
29897,
13,
2
] |
gslib/tests/test_stet_util.py | ttobisawa/gsutil | 0 | 8863 | <reponame>ttobisawa/gsutil<filename>gslib/tests/test_stet_util.py
# -*- coding: utf-8 -*-
# Copyright 2021 Google Inc. 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.
"""Tests for stet_util.py."""
from __future__ import absolute_import
from __future__ import print_function
from __future__ import division
from __future__ import unicode_literals
import os
import shutil
from gslib import storage_url
from gslib.tests import testcase
from gslib.tests import util
from gslib.tests.util import unittest
from gslib.utils import execution_util
from gslib.utils import stet_util
import mock
class TestStetUtil(testcase.GsUtilUnitTestCase):
"""Test STET utils."""
@mock.patch.object(execution_util, 'ExecuteExternalCommand')
def test_stet_upload_uses_binary_and_config_from_boto(
self, mock_execute_external_command):
fake_config_path = self.CreateTempFile()
mock_execute_external_command.return_value = ('stdout', 'stderr')
mock_logger = mock.Mock()
source_url = storage_url.StorageUrlFromString('in')
destination_url = storage_url.StorageUrlFromString('gs://bucket/obj')
with util.SetBotoConfigForTest([
('GSUtil', 'stet_binary_path', 'fake_binary_path'),
('GSUtil', 'stet_config_path', fake_config_path),
]):
out_file_url = stet_util.encrypt_upload(source_url, destination_url,
mock_logger)
self.assertEqual(out_file_url,
storage_url.StorageUrlFromString('in_.stet_tmp'))
mock_execute_external_command.assert_called_once_with([
'fake_binary_path',
'encrypt',
'--config-file={}'.format(fake_config_path),
'--blob-id=gs://bucket/obj',
'in',
'in_.stet_tmp',
])
mock_logger.debug.assert_called_once_with('stderr')
@mock.patch.object(execution_util, 'ExecuteExternalCommand')
def test_stet_upload_runs_with_binary_from_path_with_correct_settings(
self, mock_execute_external_command):
fake_config_path = self.CreateTempFile()
temporary_path_directory = self.CreateTempDir()
fake_stet_binary_path = self.CreateTempFile(tmpdir=temporary_path_directory,
file_name='stet')
previous_path = os.getenv('PATH')
os.environ['PATH'] += os.path.pathsep + temporary_path_directory
mock_execute_external_command.return_value = ('stdout', 'stderr')
mock_logger = mock.Mock()
source_url = storage_url.StorageUrlFromString('in')
destination_url = storage_url.StorageUrlFromString('gs://bucket/obj')
with util.SetBotoConfigForTest([
('GSUtil', 'stet_binary_path', None),
('GSUtil', 'stet_config_path', fake_config_path),
]):
out_file_url = stet_util.encrypt_upload(source_url, destination_url,
mock_logger)
self.assertEqual(out_file_url,
storage_url.StorageUrlFromString('in_.stet_tmp'))
mock_execute_external_command.assert_called_once_with([
fake_stet_binary_path,
'encrypt',
'--config-file={}'.format(fake_config_path),
'--blob-id=gs://bucket/obj',
'in',
'in_.stet_tmp',
])
mock_logger.debug.assert_called_once_with('stderr')
os.environ['PATH'] = previous_path
@mock.patch.object(execution_util, 'ExecuteExternalCommand')
def test_stet_upload_uses_config_from_default_path_with_correct_settings(
self, mock_execute_external_command):
mock_execute_external_command.return_value = ('stdout', 'stderr')
mock_logger = mock.Mock()
source_url = storage_url.StorageUrlFromString('in')
destination_url = storage_url.StorageUrlFromString('gs://bucket/obj')
with util.SetBotoConfigForTest([
('GSUtil', 'stet_binary_path', 'fake_binary_path'),
('GSUtil', 'stet_config_path', None),
]):
with mock.patch.object(os.path,
'exists',
new=mock.Mock(return_value=True)):
out_file_url = stet_util.encrypt_upload(source_url, destination_url,
mock_logger)
self.assertEqual(out_file_url,
storage_url.StorageUrlFromString('in_.stet_tmp'))
mock_execute_external_command.assert_called_once_with([
'fake_binary_path',
'encrypt',
'--config-file={}'.format(
os.path.expanduser(stet_util.DEFAULT_STET_CONFIG_PATH)),
'--blob-id=gs://bucket/obj',
'in',
'in_.stet_tmp',
])
mock_logger.debug.assert_called_once_with('stderr')
@mock.patch.object(shutil, 'move')
@mock.patch.object(execution_util, 'ExecuteExternalCommand')
def test_stet_download_runs_binary_and_replaces_temp_file(
self, mock_execute_external_command, mock_move):
fake_config_path = self.CreateTempFile()
mock_execute_external_command.return_value = ('stdout', 'stderr')
mock_logger = mock.Mock()
source_url = storage_url.StorageUrlFromString('gs://bucket/obj')
destination_url = storage_url.StorageUrlFromString('out')
with util.SetBotoConfigForTest([
('GSUtil', 'stet_binary_path', 'fake_binary_path'),
('GSUtil', 'stet_config_path', fake_config_path),
]):
stet_util.decrypt_download(source_url, destination_url, mock_logger)
mock_execute_external_command.assert_called_once_with([
'fake_binary_path', 'decrypt',
'--config-file={}'.format(fake_config_path),
'--blob-id=gs://bucket/obj', 'out', 'out_.stet_tmp'
])
mock_logger.debug.assert_called_once_with('stderr')
mock_move.assert_called_once_with('out_.stet_tmp', 'out')
@mock.patch.object(stet_util,
'_get_stet_binary_from_path',
new=mock.Mock(return_value=None))
def test_stet_util_errors_if_no_binary(self):
fake_config_path = self.CreateTempFile()
source_url = storage_url.StorageUrlFromString('in')
destination_url = storage_url.StorageUrlFromString('gs://bucket/obj')
with util.SetBotoConfigForTest([
('GSUtil', 'stet_binary_path', None),
('GSUtil', 'stet_config_path', fake_config_path),
]):
with self.assertRaises(KeyError):
stet_util.encrypt_upload(source_url, destination_url, None)
def test_stet_util_errors_if_no_config(self):
source_url = storage_url.StorageUrlFromString('in')
destination_url = storage_url.StorageUrlFromString('gs://bucket/obj')
with util.SetBotoConfigForTest([
('GSUtil', 'stet_binary_path', 'fake_binary_path'),
('GSUtil', 'stet_config_path', None),
]):
with mock.patch.object(os.path,
'exists',
new=mock.Mock(return_value=False)):
with self.assertRaises(KeyError):
stet_util.encrypt_upload(source_url, destination_url, None)
@mock.patch.object(os.path, 'expanduser', autospec=True)
@mock.patch.object(execution_util,
'ExecuteExternalCommand',
new=mock.Mock(return_value=('stdout', 'stderr')))
def test_stet_util_expands_home_directory_symbol(self, mock_expanduser):
fake_config_path = self.CreateTempFile()
source_url = storage_url.StorageUrlFromString('in')
destination_url = storage_url.StorageUrlFromString('gs://bucket/obj')
with util.SetBotoConfigForTest([
('GSUtil', 'stet_binary_path', 'fake_binary_path'),
('GSUtil', 'stet_config_path', fake_config_path),
]):
stet_util.encrypt_upload(source_url, destination_url, mock.Mock())
mock_expanduser.assert_has_calls(
[mock.call('fake_binary_path'),
mock.call(fake_config_path)])
| [
1,
529,
276,
1112,
420,
29958,
16461,
18809,
10011,
29914,
3174,
4422,
29966,
9507,
29958,
3174,
1982,
29914,
21150,
29914,
1688,
29918,
303,
300,
29918,
4422,
29889,
2272,
13,
29937,
448,
29930,
29899,
14137,
29901,
23616,
29899,
29947,
448,
29930,
29899,
13,
29937,
14187,
1266,
29871,
29906,
29900,
29906,
29896,
5087,
9266,
29889,
2178,
26863,
2538,
9841,
29889,
13,
29937,
13,
29937,
10413,
21144,
1090,
278,
13380,
19245,
29892,
10079,
29871,
29906,
29889,
29900,
313,
1552,
376,
29931,
293,
1947,
1496,
13,
29937,
366,
1122,
451,
671,
445,
934,
5174,
297,
752,
13036,
411,
278,
19245,
29889,
13,
29937,
887,
1122,
4017,
263,
3509,
310,
278,
19245,
472,
13,
29937,
13,
29937,
268,
1732,
597,
1636,
29889,
4288,
29889,
990,
29914,
506,
11259,
29914,
27888,
1430,
1660,
29899,
29906,
29889,
29900,
13,
29937,
13,
29937,
25870,
3734,
491,
22903,
4307,
470,
15502,
304,
297,
5007,
29892,
7047,
13,
29937,
13235,
1090,
278,
19245,
338,
13235,
373,
385,
376,
3289,
8519,
29908,
350,
3289,
3235,
29892,
13,
29937,
399,
1806,
8187,
2692,
399,
1718,
29934,
13566,
29059,
6323,
8707,
29928,
22122,
29903,
8079,
13764,
29979,
476,
22255,
29892,
2845,
4653,
470,
2411,
2957,
29889,
13,
29937,
2823,
278,
19245,
363,
278,
2702,
4086,
14765,
1076,
11239,
322,
13,
29937,
27028,
1090,
278,
19245,
29889,
13,
15945,
29908,
24376,
363,
380,
300,
29918,
4422,
29889,
2272,
1213,
15945,
13,
13,
3166,
4770,
29888,
9130,
1649,
1053,
8380,
29918,
5215,
13,
3166,
4770,
29888,
9130,
1649,
1053,
1596,
29918,
2220,
13,
3166,
4770,
29888,
9130,
1649,
1053,
8542,
13,
3166,
4770,
29888,
9130,
1649,
1053,
29104,
29918,
20889,
1338,
13,
13,
5215,
2897,
13,
5215,
528,
4422,
13,
13,
3166,
330,
29879,
1982,
1053,
8635,
29918,
2271,
13,
3166,
330,
29879,
1982,
29889,
21150,
1053,
1243,
4878,
13,
3166,
330,
29879,
1982,
29889,
21150,
1053,
3667,
13,
3166,
330,
29879,
1982,
29889,
21150,
29889,
4422,
1053,
443,
27958,
13,
3166,
330,
29879,
1982,
29889,
13239,
1053,
8225,
29918,
4422,
13,
3166,
330,
29879,
1982,
29889,
13239,
1053,
380,
300,
29918,
4422,
13,
13,
5215,
11187,
13,
13,
13,
1990,
4321,
855,
300,
7270,
29898,
1688,
4878,
29889,
29954,
29879,
7270,
8325,
3057,
8259,
1125,
13,
29871,
9995,
3057,
6850,
2544,
3667,
29879,
1213,
15945,
13,
13,
29871,
732,
17640,
29889,
5041,
29889,
3318,
29898,
22256,
29918,
4422,
29892,
525,
12296,
25865,
6255,
1495,
13,
29871,
822,
1243,
29918,
303,
300,
29918,
9009,
29918,
6394,
29918,
19541,
29918,
392,
29918,
2917,
29918,
3166,
29918,
29890,
3747,
29898,
13,
418,
1583,
29892,
11187,
29918,
7978,
29918,
23176,
29918,
6519,
1125,
13,
1678,
25713,
29918,
2917,
29918,
2084,
353,
1583,
29889,
4391,
15637,
2283,
580,
13,
1678,
11187,
29918,
7978,
29918,
23176,
29918,
6519,
29889,
2457,
29918,
1767,
353,
6702,
25393,
742,
525,
303,
20405,
1495,
13,
1678,
11187,
29918,
21707,
353,
11187,
29889,
18680,
580,
13,
13,
1678,
2752,
29918,
2271,
353,
8635,
29918,
2271,
29889,
10486,
5983,
4591,
1231,
877,
262,
1495,
13,
1678,
12551,
29918,
2271,
353,
8635,
29918,
2271,
29889,
10486,
5983,
4591,
1231,
877,
3174,
597,
21454,
29914,
5415,
1495,
13,
1678,
411,
3667,
29889,
2697,
29933,
3747,
3991,
2831,
3057,
4197,
13,
4706,
6702,
10749,
7270,
742,
525,
303,
300,
29918,
19541,
29918,
2084,
742,
525,
29888,
1296,
29918,
19541,
29918,
2084,
5477,
13,
4706,
6702,
10749,
7270,
742,
525,
303,
300,
29918,
2917,
29918,
2084,
742,
25713,
29918,
2917,
29918,
2084,
511,
13,
1678,
4514,
1125,
13,
418,
714,
29918,
1445,
29918,
2271,
353,
380,
300,
29918,
4422,
29889,
3977,
4641,
29918,
9009,
29898,
4993,
29918,
2271,
29892,
12551,
29918,
2271,
29892,
13,
462,
462,
795,
11187,
29918,
21707,
29897,
13,
13,
1678,
1583,
29889,
9294,
9843,
29898,
449,
29918,
1445,
29918,
2271,
29892,
13,
462,
268,
8635,
29918,
2271,
29889,
10486,
5983,
4591,
1231,
877,
262,
5396,
303,
300,
29918,
7050,
8785,
13,
1678,
11187,
29918,
7978,
29918,
23176,
29918,
6519,
29889,
9294,
29918,
13998,
29918,
10646,
29918,
2541,
4197,
13,
4706,
525,
29888,
1296,
29918,
19541,
29918,
2084,
742,
13,
4706,
525,
3977,
4641,
742,
13,
4706,
525,
489,
2917,
29899,
1445,
3790,
29913,
4286,
4830,
29898,
29888,
1296,
29918,
2917,
29918,
2084,
511,
13,
4706,
525,
489,
10054,
29899,
333,
29922,
3174,
597,
21454,
29914,
5415,
742,
13,
4706,
525,
262,
742,
13,
4706,
525,
262,
5396,
303,
300,
29918,
7050,
742,
13,
268,
2314,
13,
1678,
11187,
29918,
21707,
29889,
8382,
29889,
9294,
29918,
13998,
29918,
10646,
29918,
2541,
877,
303,
20405,
1495,
13,
13,
29871,
732,
17640,
29889,
5041,
29889,
3318,
29898,
22256,
29918,
4422,
29892,
525,
12296,
25865,
6255,
1495,
13,
29871,
822,
1243,
29918,
303,
300,
29918,
9009,
29918,
3389,
29879,
29918,
2541,
29918,
19541,
29918,
3166,
29918,
2084,
29918,
2541,
29918,
15728,
29918,
11027,
29898,
13,
418,
1583,
29892,
11187,
29918,
7978,
29918,
23176,
29918,
6519,
1125,
13,
1678,
25713,
29918,
2917,
29918,
2084,
353,
1583,
29889,
4391,
15637,
2283,
580,
13,
1678,
13201,
29918,
2084,
29918,
12322,
353,
1583,
29889,
4391,
15637,
9170,
580,
13,
1678,
25713,
29918,
303,
300,
29918,
19541,
29918,
2084,
353,
1583,
29889,
4391,
15637,
2283,
29898,
7050,
3972,
29922,
1356,
1971,
653,
29918,
2084,
29918,
12322,
29892,
13,
462,
462,
18884,
934,
29918,
978,
2433,
303,
300,
1495,
13,
1678,
3517,
29918,
2084,
353,
2897,
29889,
657,
6272,
877,
10145,
1495,
13,
1678,
2897,
29889,
21813,
1839,
10145,
2033,
4619,
2897,
29889,
2084,
29889,
2084,
19570,
718,
13201,
29918,
2084,
29918,
12322,
13,
13,
1678,
11187,
29918,
7978,
29918,
23176,
29918,
6519,
29889,
2457,
29918,
1767,
353,
6702,
25393,
742,
525,
303,
20405,
1495,
13,
1678,
11187,
29918,
21707,
353,
11187,
29889,
18680,
580,
13,
13,
1678,
2752,
29918,
2271,
353,
8635,
29918,
2271,
29889,
10486,
5983,
4591,
1231,
877,
262,
1495,
13,
1678,
12551,
29918,
2271,
353,
8635,
29918,
2271,
29889,
10486,
5983,
4591,
1231,
877,
3174,
597,
21454,
29914,
5415,
1495,
13,
1678,
411,
3667,
29889,
2697,
29933,
3747,
3991,
2831,
3057,
4197,
13,
4706,
6702,
10749,
7270,
742,
525,
303,
300,
29918,
19541,
29918,
2084,
742,
6213,
511,
13,
4706,
6702,
10749,
7270,
742,
525,
303,
300,
29918,
2917,
29918,
2084,
742,
25713,
29918,
2917,
29918,
2084,
511,
13,
1678,
4514,
1125,
13,
418,
714,
29918,
1445,
29918,
2271,
353,
380,
300,
29918,
4422,
29889,
3977,
4641,
29918,
9009,
29898,
4993,
29918,
2271,
29892,
12551,
29918,
2271,
29892,
13,
462,
462,
795,
11187,
29918,
21707,
29897,
13,
13,
1678,
1583,
29889,
9294,
9843,
29898,
449,
29918,
1445,
29918,
2271,
29892,
13,
462,
268,
8635,
29918,
2271,
29889,
10486,
5983,
4591,
1231,
877,
262,
5396,
303,
300,
29918,
7050,
8785,
13,
1678,
11187,
29918,
7978,
29918,
23176,
29918,
6519,
29889,
9294,
29918,
13998,
29918,
10646,
29918,
2541,
4197,
13,
4706,
25713,
29918,
303,
300,
29918,
19541,
29918,
2084,
29892,
13,
4706,
525,
3977,
4641,
742,
13,
4706,
525,
489,
2917,
29899,
1445,
3790,
29913,
4286,
4830,
29898,
29888,
1296,
29918,
2917,
29918,
2084,
511,
13,
4706,
525,
489,
10054,
29899,
333,
29922,
3174,
597,
21454,
29914,
5415,
742,
13,
4706,
525,
262,
742,
13,
4706,
525,
262,
5396,
303,
300,
29918,
7050,
742,
13,
268,
2314,
13,
1678,
11187,
29918,
21707,
29889,
8382,
29889,
9294,
29918,
13998,
29918,
10646,
29918,
2541,
877,
303,
20405,
1495,
13,
13,
1678,
2897,
29889,
21813,
1839,
10145,
2033,
353,
3517,
29918,
2084,
13,
13,
29871,
732,
17640,
29889,
5041,
29889,
3318,
29898,
22256,
29918,
4422,
29892,
525,
12296,
25865,
6255,
1495,
13,
29871,
822,
1243,
29918,
303,
300,
29918,
9009,
29918,
6394,
29918,
2917,
29918,
3166,
29918,
4381,
29918,
2084,
29918,
2541,
29918,
15728,
29918,
11027,
29898,
13,
418,
1583,
29892,
11187,
29918,
7978,
29918,
23176,
29918,
6519,
1125,
13,
1678,
11187,
29918,
7978,
29918,
23176,
29918,
6519,
29889,
2457,
29918,
1767,
353,
6702,
25393,
742,
525,
303,
20405,
1495,
13,
1678,
11187,
29918,
21707,
353,
11187,
29889,
18680,
580,
13,
13,
1678,
2752,
29918,
2271,
353,
8635,
29918,
2271,
29889,
10486,
5983,
4591,
1231,
877,
262,
1495,
13,
1678,
12551,
29918,
2271,
353,
8635,
29918,
2271,
29889,
10486,
5983,
4591,
1231,
877,
3174,
597,
21454,
29914,
5415,
1495,
13,
1678,
411,
3667,
29889,
2697,
29933,
3747,
3991,
2831,
3057,
4197,
13,
4706,
6702,
10749,
7270,
742,
525,
303,
300,
29918,
19541,
29918,
2084,
742,
525,
29888,
1296,
29918,
19541,
29918,
2084,
5477,
13,
4706,
6702,
10749,
7270,
742,
525,
303,
300,
29918,
2917,
29918,
2084,
742,
6213,
511,
13,
1678,
4514,
1125,
13,
418,
411,
11187,
29889,
5041,
29889,
3318,
29898,
359,
29889,
2084,
29892,
13,
462,
632,
525,
9933,
742,
13,
462,
632,
716,
29922,
17640,
29889,
18680,
29898,
2457,
29918,
1767,
29922,
5574,
22164,
13,
4706,
714,
29918,
1445,
29918,
2271,
353,
380,
300,
29918,
4422,
29889,
3977,
4641,
29918,
9009,
29898,
4993,
29918,
2271,
29892,
12551,
29918,
2271,
29892,
13,
462,
462,
18884,
11187,
29918,
21707,
29897,
13,
13,
1678,
1583,
29889,
9294,
9843,
29898,
449,
29918,
1445,
29918,
2271,
29892,
13,
462,
268,
8635,
29918,
2271,
29889,
10486,
5983,
4591,
1231,
877,
262,
5396,
303,
300,
29918,
7050,
8785,
13,
1678,
11187,
29918,
7978,
29918,
23176,
29918,
6519,
29889,
9294,
29918,
13998,
29918,
10646,
29918,
2541,
4197,
13,
4706,
525,
29888,
1296,
29918,
19541,
29918,
2084,
742,
13,
4706,
525,
3977,
4641,
742,
13,
4706,
525,
489,
2917,
29899,
1445,
3790,
29913,
4286,
4830,
29898,
13,
9651,
2897,
29889,
2084,
29889,
18837,
1792,
29898,
303,
300,
29918,
4422,
29889,
23397,
29918,
1254,
2544,
29918,
25903,
29918,
10145,
8243,
13,
4706,
525,
489,
10054,
29899,
333,
29922,
3174,
597,
21454,
29914,
5415,
742,
13,
4706,
525,
262,
742,
13,
4706,
525,
262,
5396,
303,
300,
29918,
7050,
742,
13,
268,
2314,
13,
1678,
11187,
29918,
21707,
29889,
8382,
29889,
9294,
29918,
13998,
29918,
10646,
29918,
2541,
877,
303,
20405,
1495,
13,
13,
29871,
732,
17640,
29889,
5041,
29889,
3318,
29898,
845,
4422,
29892,
525,
11631,
1495,
13,
29871,
732,
17640,
29889,
5041,
29889,
3318,
29898,
22256,
29918,
4422,
29892,
525,
12296,
25865,
6255,
1495,
13,
29871,
822,
1243,
29918,
303,
300,
29918,
10382,
29918,
3389,
29879,
29918,
19541,
29918,
392,
29918,
3445,
6048,
29918,
7382,
29918,
1445,
29898,
13,
418,
1583,
29892,
11187,
29918,
7978,
29918,
23176,
29918,
6519,
29892,
11187,
29918,
11631,
1125,
13,
1678,
25713,
29918,
2917,
29918,
2084,
353,
1583,
29889,
4391,
15637,
2283,
580,
13,
1678,
11187,
29918,
7978,
29918,
23176,
29918,
6519,
29889,
2457,
29918,
1767,
353,
6702,
25393,
742,
525,
303,
20405,
1495,
13,
1678,
11187,
29918,
21707,
353,
11187,
29889,
18680,
580,
13,
13,
1678,
2752,
29918,
2271,
353,
8635,
29918,
2271,
29889,
10486,
5983,
4591,
1231,
877,
3174,
597,
21454,
29914,
5415,
1495,
13,
1678,
12551,
29918,
2271,
353,
8635,
29918,
2271,
29889,
10486,
5983,
4591,
1231,
877,
449,
1495,
13,
1678,
411,
3667,
29889,
2697,
29933,
3747,
3991,
2831,
3057,
4197,
13,
4706,
6702,
10749,
7270,
742,
525,
303,
300,
29918,
19541,
29918,
2084,
742,
525,
29888,
1296,
29918,
19541,
29918,
2084,
5477,
13,
4706,
6702,
10749,
7270,
742,
525,
303,
300,
29918,
2917,
29918,
2084,
742,
25713,
29918,
2917,
29918,
2084,
511,
13,
1678,
4514,
1125,
13,
418,
380,
300,
29918,
4422,
29889,
7099,
4641,
29918,
10382,
29898,
4993,
29918,
2271,
29892,
12551,
29918,
2271,
29892,
11187,
29918,
21707,
29897,
13,
13,
1678,
11187,
29918,
7978,
29918,
23176,
29918,
6519,
29889,
9294,
29918,
13998,
29918,
10646,
29918,
2541,
4197,
13,
4706,
525,
29888,
1296,
29918,
19541,
29918,
2084,
742,
525,
7099,
4641,
742,
13,
4706,
525,
489,
2917,
29899,
1445,
3790,
29913,
4286,
4830,
29898,
29888,
1296,
29918,
2917,
29918,
2084,
511,
13,
4706,
525,
489,
10054,
29899,
333,
29922,
3174,
597,
21454,
29914,
5415,
742,
525,
449,
742,
525,
449,
5396,
303,
300,
29918,
7050,
29915,
13,
268,
2314,
13,
1678,
11187,
29918,
21707,
29889,
8382,
29889,
9294,
29918,
13998,
29918,
10646,
29918,
2541,
877,
303,
20405,
1495,
13,
1678,
11187,
29918,
11631,
29889,
9294,
29918,
13998,
29918,
10646,
29918,
2541,
877,
449,
5396,
303,
300,
29918,
7050,
742,
525,
449,
1495,
13,
13,
29871,
732,
17640,
29889,
5041,
29889,
3318,
29898,
303,
300,
29918,
4422,
29892,
13,
462,
268,
22868,
657,
29918,
303,
300,
29918,
19541,
29918,
3166,
29918,
2084,
742,
13,
462,
268,
716,
29922,
17640,
29889,
18680,
29898,
2457,
29918,
1767,
29922,
8516,
876,
13,
29871,
822,
1243,
29918,
303,
300,
29918,
4422,
29918,
12523,
29918,
361,
29918,
1217,
29918,
19541,
29898,
1311,
1125,
13,
1678,
25713,
29918,
2917,
29918,
2084,
353,
1583,
29889,
4391,
15637,
2283,
580,
13,
1678,
2752,
29918,
2271,
353,
8635,
29918,
2271,
29889,
10486,
5983,
4591,
1231,
877,
262,
1495,
13,
1678,
12551,
29918,
2271,
353,
8635,
29918,
2271,
29889,
10486,
5983,
4591,
1231,
877,
3174,
597,
21454,
29914,
5415,
1495,
13,
1678,
411,
3667,
29889,
2697,
29933,
3747,
3991,
2831,
3057,
4197,
13,
4706,
6702,
10749,
7270,
742,
525,
303,
300,
29918,
19541,
29918,
2084,
742,
6213,
511,
13,
4706,
6702,
10749,
7270,
742,
525,
303,
300,
29918,
2917,
29918,
2084,
742,
25713,
29918,
2917,
29918,
2084,
511,
13,
1678,
4514,
1125,
13,
418,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
2558,
2392,
1125,
13,
4706,
380,
300,
29918,
4422,
29889,
3977,
4641,
29918,
9009,
29898,
4993,
29918,
2271,
29892,
12551,
29918,
2271,
29892,
6213,
29897,
13,
13,
29871,
822,
1243,
29918,
303,
300,
29918,
4422,
29918,
12523,
29918,
361,
29918,
1217,
29918,
2917,
29898,
1311,
1125,
13,
1678,
2752,
29918,
2271,
353,
8635,
29918,
2271,
29889,
10486,
5983,
4591,
1231,
877,
262,
1495,
13,
1678,
12551,
29918,
2271,
353,
8635,
29918,
2271,
29889,
10486,
5983,
4591,
1231,
877,
3174,
597,
21454,
29914,
5415,
1495,
13,
1678,
411,
3667,
29889,
2697,
29933,
3747,
3991,
2831,
3057,
4197,
13,
4706,
6702,
10749,
7270,
742,
525,
303,
300,
29918,
19541,
29918,
2084,
742,
525,
29888,
1296,
29918,
19541,
29918,
2084,
5477,
13,
4706,
6702,
10749,
7270,
742,
525,
303,
300,
29918,
2917,
29918,
2084,
742,
6213,
511,
13,
1678,
4514,
1125,
13,
418,
411,
11187,
29889,
5041,
29889,
3318,
29898,
359,
29889,
2084,
29892,
13,
462,
632,
525,
9933,
742,
13,
462,
632,
716,
29922,
17640,
29889,
18680,
29898,
2457,
29918,
1767,
29922,
8824,
22164,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
2558,
2392,
1125,
13,
3986,
380,
300,
29918,
4422,
29889,
3977,
4641,
29918,
9009,
29898,
4993,
29918,
2271,
29892,
12551,
29918,
2271,
29892,
6213,
29897,
13,
13,
29871,
732,
17640,
29889,
5041,
29889,
3318,
29898,
359,
29889,
2084,
29892,
525,
18837,
1792,
742,
1120,
359,
3135,
29922,
5574,
29897,
13,
29871,
732,
17640,
29889,
5041,
29889,
3318,
29898,
22256,
29918,
4422,
29892,
13,
462,
268,
525,
12296,
25865,
6255,
742,
13,
462,
268,
716,
29922,
17640,
29889,
18680,
29898,
2457,
29918,
1767,
29922,
877,
25393,
742,
525,
303,
20405,
29915,
4961,
13,
29871,
822,
1243,
29918,
303,
300,
29918,
4422,
29918,
4548,
4167,
29918,
5184,
29918,
12322,
29918,
18098,
29898,
1311,
29892,
11187,
29918,
18837,
1792,
1125,
13,
1678,
25713,
29918,
2917,
29918,
2084,
353,
1583,
29889,
4391,
15637,
2283,
580,
13,
1678,
2752,
29918,
2271,
353,
8635,
29918,
2271,
29889,
10486,
5983,
4591,
1231,
877,
262,
1495,
13,
1678,
12551,
29918,
2271,
353,
8635,
29918,
2271,
29889,
10486,
5983,
4591,
1231,
877,
3174,
597,
21454,
29914,
5415,
1495,
13,
1678,
411,
3667,
29889,
2697,
29933,
3747,
3991,
2831,
3057,
4197,
13,
4706,
6702,
10749,
7270,
742,
525,
303,
300,
29918,
19541,
29918,
2084,
742,
525,
29888,
1296,
29918,
19541,
29918,
2084,
5477,
13,
4706,
6702,
10749,
7270,
742,
525,
303,
300,
29918,
2917,
29918,
2084,
742,
25713,
29918,
2917,
29918,
2084,
511,
13,
1678,
4514,
1125,
13,
418,
380,
300,
29918,
4422,
29889,
3977,
4641,
29918,
9009,
29898,
4993,
29918,
2271,
29892,
12551,
29918,
2271,
29892,
11187,
29889,
18680,
3101,
13,
1678,
11187,
29918,
18837,
1792,
29889,
9294,
29918,
5349,
29918,
29883,
4293,
29898,
13,
4706,
518,
17640,
29889,
4804,
877,
29888,
1296,
29918,
19541,
29918,
2084,
5477,
13,
308,
11187,
29889,
4804,
29898,
29888,
1296,
29918,
2917,
29918,
2084,
29897,
2314,
13,
2
] |
app.py | Terrence-Cummings/sqlalchemy-challenge | 0 | 38799 | #Dependencies, libraries, and imports
from matplotlib import style
style.use('fivethirtyeight')
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
import datetime as dt
#SQLalchemy libraries and functions
import sqlalchemy
from sqlalchemy.ext.automap import automap_base
from sqlalchemy.orm import Session
from sqlalchemy import create_engine, func, inspect, MetaData
from sqlalchemy import Column, Integer, String, Float
from sqlalchemy.ext.declarative import declarative_base
#VROOM, VROOM!
engine = create_engine("sqlite:///Resources/hawaii.sqlite")
#Use automap to get table structures and reflect into classes
Base = automap_base()
Base.prepare(engine, reflect=True)
#See what classes have been created. Classes created should match tables found by Inspector
classes_created = Base.classes.keys()
#Single variable to represent each Class associated with the automapped Base
Measurement = Base.classes.measurement
Station = Base.classes.station
#Classes are now all setup. Start query session.
session = Session(engine)
# Design a query to retrieve the last 12 months of precipitation data and plot the results
#Find the earliest date in the Measurement table by query. Convert to python dictionary, read date as text, convert to datetime.
earliest_date_query = session.query(Measurement.date).order_by(Measurement.date).first()
ed_dict=earliest_date_query._asdict()
earliest_date = ed_dict['date']
earliest_date_dt = dt.datetime.strptime(earliest_date, "%Y-%m-%d")
#Find the latest date in the Measurement table by query. Convert to python dictionary, read date as text, convert to datetime.
latest_date_query = session.query(Measurement.date).order_by(Measurement.date.desc()).first()
ld_dict=latest_date_query._asdict()
latest_date = ld_dict['date']
latest_date_dt = dt.datetime.strptime(latest_date, "%Y-%m-%d")
# Calculate the date 1 year ago from the latest data point in the database
year_ago_latest_dt = latest_date_dt - dt.timedelta(days=365)
year_ago_latest = dt.datetime.strftime(year_ago_latest_dt, "%Y-%m-%d")
# What are the most active stations? (i.e. what stations have the most rows)?
stat_freq = session.query(Measurement.station, func.count(Measurement.station)).group_by(Measurement.station).order_by(func.count(Measurement.station).desc()).all()
max_stat_freq = stat_freq[0][0]
session.close()
#BEGIN FLASK APP
from flask import Flask, jsonify
app = Flask(__name__)
@app.route("/")
def welcome():
print("Server received request for 'Home' page...")
return (
f"Welcome to Surf's Up weather API!<br>"
f"We collect precipitation and temperature data from weather stations on the island of Oahu in Hawaii.<br><br>"
f"Earliest date of data = {earliest_date}<br>"
f"Latest date of data = {latest_date}<br><br>"
f"Available URL Routes:<br><br>"
f"Below URL returns JSON of precipitation on Oahu on each day between {year_ago_latest} and {latest_date}.<br>"
f"Copy this URL to browser:<br>"
f"/api/v1.0/precipitation<br><br>"
f"Below URL returns JSON of temperature at station {max_stat_freq} on Oahu on each day between {year_ago_latest} and {latest_date}.<br>"
f"Copy this URL to browser:<br>"
f"/api/v1.0/temperature<br><br>"
f"Below URL returns JSON of the weather stations on Oahu.<br>"
f"Copy this URL to browser:<br>"
f"/api/v1.0/stations<br><br>"
f"Below URL returns the max, min, and avg temperature on Oahu encompassing the START and END dates provided by the user in the URL.<br>"
f"If no END date provided in the URL then END date is assume to be {latest_date}<br>"
f"Copy this URL to browser and replace START/END with dates in YYYY-MM-DD format:<br>"
f"/api/v1.0/START/END"
)
@app.route("/api/v1.0/precipitation/")
def precipitation():
print("Server received request for 'Precipitation' page...")
session = Session(engine)
#Query precipitation observations for last year
date_prcp_query = session.query(Measurement.date, Measurement.prcp).\
filter(Measurement.date<=latest_date_dt).filter(Measurement.date>=year_ago_latest_dt)
session.close()
#Save as df and grab only the max precip observation for each day in the last year
date_prcp_df = pd.DataFrame(date_prcp_query, columns=['Date', 'Precipitation'])
date_prcp_df.set_index('Date', inplace=True)
date_prcp_df.dropna(inplace=True)
date_prcp_df.sort_index(inplace=True)
date_prcp_max = date_prcp_df.groupby('Date')[['Precipitation']].max()
#Turn into dictionary for jsonification
prcp_query_dict = date_prcp_max.to_dict()
return jsonify(prcp_query_dict)
@app.route("/api/v1.0/stations/")
def stations():
print("Server received request for 'Stations' page...")
session = Session(engine)
#Query all the weather station details
station_query = session.query(Station.station, Station.name, Station.latitude, Station.longitude, Station.elevation)
station_df = pd.DataFrame(station_query, columns = ['station', 'name', 'latitude', 'longitude', 'elevation'])
station_df.set_index('station', inplace=True)
station_df.dropna(inplace=True)
session.close()
#Make a dictionary of weather station characteristics for jsonification
station_dict = station_df.to_dict(orient='index')
return jsonify(station_dict)
@app.route("/api/v1.0/temperature/")
def temperatures():
print("Server received request for 'Temperatures' page...")
session = Session(engine)
#Query temperature observations for the last year at the station with the most observations
tobs_date_query = session.query(Measurement.date, Measurement.tobs).\
filter(Measurement.date<=latest_date_dt).filter(Measurement.date>=year_ago_latest_dt).\
filter(Measurement.station==max_stat_freq)
session.close()
#Save query as df
tobs_date_df = pd.DataFrame(tobs_date_query, columns=['Date','Temperature'])
tobs_date_df.set_index('Date', inplace=True)
tobs_date_df.dropna(inplace=True)
#Transform df into dictionary for jsonification
tobs_date_dict = tobs_date_df.to_dict()
return jsonify(tobs_date_dict)
@app.route("/api/v1.0/<start>/")
def temp_start(start):
#Control on START date within database date range
if start<earliest_date or start>latest_date:
return (
f"START must be between {earliest_date} and {latest_date}.<br>"
f"/api/v1.0/START"
)
print("Server received request for 'Min, Max, Avg Start End' page...")
session = Session(engine)
#Query max, min, and avg temperature between START date and last date in database
TMAX = session.query(func.max(Measurement.tobs)).\
filter(Measurement.date<=latest_date).filter(Measurement.date>=start).all()
TMIN = session.query(func.min(Measurement.tobs)).\
filter(Measurement.date<=latest_date).filter(Measurement.date>=start).all()
TAVG = session.query(func.avg(Measurement.tobs)).\
filter(Measurement.date<=latest_date).filter(Measurement.date>=start).all()
session.close()
#Round TAVG for presentation
TAVG = round(TAVG[0][0],1)
#Calc number of days in the query for information
days_obs = latest_date_dt - dt.datetime.strptime(start, "%Y-%m-%d")
days_obs = days_obs.days
return (
f"The maximum temperature on Oahu for the {days_obs} days between {start} and {latest_date} was {TMAX[0][0]}.<br>"
f"The minimum temperature on Oahu for the {days_obs} days between {start} and {latest_date} was {TMIN[0][0]}.<br>"
f"The average temperature on Oahu for the {days_obs} days between {start} and {latest_date} was {TAVG}.<br>"
)
@app.route("/api/v1.0/<start>/<end>/")
def temp_start_end(start, end):
#Check START and END dates are within the range of database dates
if start<earliest_date or start>latest_date or end<earliest_date or end>latest_date:
return (
f"START and END must be between {earliest_date} and {latest_date}.<br>"
f"/api/v1.0/START/END"
)
#Allow for START and END interchanged in URL
if end<start:
start_temp = start
start = end
end = start_temp
print("Server received request for 'Min, Max, Avg Start End' page...")
session = Session(engine)
#Query max, min, and avg temperature between START date and END date in database
TMAX = session.query(func.max(Measurement.tobs)).\
filter(Measurement.date<=end).filter(Measurement.date>=start).all()
TMIN = session.query(func.min(Measurement.tobs)).\
filter(Measurement.date<=end).filter(Measurement.date>=start).all()
TAVG = session.query(func.avg(Measurement.tobs)).\
filter(Measurement.date<=end).filter(Measurement.date>=start).all()
session.close()
#Round TAVG for presentation
TAVG = round(TAVG[0][0],1)
#Calc number of days in the query for information
days_obs = dt.datetime.strptime(end, "%Y-%m-%d") - dt.datetime.strptime(start, "%Y-%m-%d")
days_obs = days_obs.days
return (
f"The maximum temperature on Oahu for the {days_obs} days between {start} and {end} was {TMAX[0][0]}.<br>"
f"The minimum temperature on Oahu for the {days_obs} days between {start} and {end} was {TMIN[0][0]}.<br>"
f"The average temperature on Oahu for the {days_obs} days between {start} and {end} was {TAVG}.<br>"
)
if __name__ == "__main__":
app.run(debug=True)
| [
1,
396,
8498,
7158,
29892,
9562,
29892,
322,
24802,
13,
3166,
22889,
1053,
3114,
13,
3293,
29889,
1509,
877,
29888,
440,
621,
13163,
29872,
523,
1495,
13,
5215,
22889,
29889,
2272,
5317,
408,
14770,
13,
5215,
12655,
408,
7442,
13,
5215,
11701,
408,
10518,
13,
5215,
12865,
408,
11636,
13,
13,
29937,
4176,
284,
305,
6764,
9562,
322,
3168,
13,
5215,
4576,
284,
305,
6764,
13,
3166,
4576,
284,
305,
6764,
29889,
1062,
29889,
17405,
481,
1053,
3345,
481,
29918,
3188,
13,
3166,
4576,
284,
305,
6764,
29889,
555,
1053,
16441,
13,
3166,
4576,
284,
305,
6764,
1053,
1653,
29918,
10599,
29892,
3653,
29892,
16096,
29892,
20553,
1469,
13,
3166,
4576,
284,
305,
6764,
1053,
12481,
29892,
8102,
29892,
1714,
29892,
27842,
13,
3166,
4576,
284,
305,
6764,
29889,
1062,
29889,
311,
16544,
1230,
1053,
7669,
1230,
29918,
3188,
13,
13,
29937,
29963,
1672,
6488,
29892,
478,
1672,
6488,
29991,
13,
10599,
353,
1653,
29918,
10599,
703,
22793,
597,
29914,
13770,
29914,
29882,
1450,
1794,
29875,
29889,
22793,
1159,
13,
13,
29937,
11403,
3345,
481,
304,
679,
1591,
12286,
322,
9432,
964,
4413,
13,
5160,
353,
3345,
481,
29918,
3188,
580,
13,
5160,
29889,
19125,
29898,
10599,
29892,
9432,
29922,
5574,
29897,
13,
13,
29937,
13393,
825,
4413,
505,
1063,
2825,
29889,
4134,
267,
2825,
881,
1993,
6131,
1476,
491,
13377,
1103,
272,
13,
13203,
29918,
11600,
353,
7399,
29889,
13203,
29889,
8149,
580,
13,
13,
29937,
15771,
2286,
304,
2755,
1269,
4134,
6942,
411,
278,
3345,
17280,
7399,
13,
6816,
3745,
358,
353,
7399,
29889,
13203,
29889,
26658,
358,
13,
22814,
353,
7399,
29889,
13203,
29889,
19569,
13,
13,
29937,
27403,
526,
1286,
599,
6230,
29889,
7370,
2346,
4867,
29889,
13,
7924,
353,
16441,
29898,
10599,
29897,
13,
13,
29937,
12037,
263,
2346,
304,
10563,
278,
1833,
29871,
29896,
29906,
7378,
310,
25720,
7018,
848,
322,
6492,
278,
2582,
13,
13,
29937,
12542,
278,
24577,
2635,
297,
278,
2191,
3745,
358,
1591,
491,
2346,
29889,
14806,
304,
3017,
8600,
29892,
1303,
2635,
408,
1426,
29892,
3588,
304,
12865,
29889,
13,
799,
20409,
29918,
1256,
29918,
1972,
353,
4867,
29889,
1972,
29898,
6816,
3745,
358,
29889,
1256,
467,
2098,
29918,
1609,
29898,
6816,
3745,
358,
29889,
1256,
467,
4102,
580,
13,
287,
29918,
8977,
29922,
799,
20409,
29918,
1256,
29918,
1972,
3032,
294,
8977,
580,
13,
799,
20409,
29918,
1256,
353,
1226,
29918,
8977,
1839,
1256,
2033,
13,
799,
20409,
29918,
1256,
29918,
6008,
353,
11636,
29889,
12673,
29889,
710,
415,
603,
29898,
799,
20409,
29918,
1256,
29892,
11860,
29979,
19222,
29885,
19222,
29881,
1159,
13,
13,
29937,
12542,
278,
9281,
2635,
297,
278,
2191,
3745,
358,
1591,
491,
2346,
29889,
14806,
304,
3017,
8600,
29892,
1303,
2635,
408,
1426,
29892,
3588,
304,
12865,
29889,
13,
12333,
29918,
1256,
29918,
1972,
353,
4867,
29889,
1972,
29898,
6816,
3745,
358,
29889,
1256,
467,
2098,
29918,
1609,
29898,
6816,
3745,
358,
29889,
1256,
29889,
14273,
16655,
4102,
580,
13,
430,
29918,
8977,
29922,
12333,
29918,
1256,
29918,
1972,
3032,
294,
8977,
580,
13,
12333,
29918,
1256,
353,
301,
29881,
29918,
8977,
1839,
1256,
2033,
13,
12333,
29918,
1256,
29918,
6008,
353,
11636,
29889,
12673,
29889,
710,
415,
603,
29898,
12333,
29918,
1256,
29892,
11860,
29979,
19222,
29885,
19222,
29881,
1159,
13,
13,
29937,
20535,
403,
278,
2635,
29871,
29896,
1629,
8020,
515,
278,
9281,
848,
1298,
297,
278,
2566,
13,
6360,
29918,
4425,
29918,
12333,
29918,
6008,
353,
9281,
29918,
1256,
29918,
6008,
448,
11636,
29889,
9346,
287,
2554,
29898,
16700,
29922,
29941,
29953,
29945,
29897,
13,
6360,
29918,
4425,
29918,
12333,
353,
11636,
29889,
12673,
29889,
710,
615,
603,
29898,
6360,
29918,
4425,
29918,
12333,
29918,
6008,
29892,
11860,
29979,
19222,
29885,
19222,
29881,
1159,
13,
13,
29937,
1724,
526,
278,
1556,
6136,
16355,
29973,
313,
29875,
29889,
29872,
29889,
825,
16355,
505,
278,
1556,
4206,
6877,
13,
6112,
29918,
29888,
7971,
353,
4867,
29889,
1972,
29898,
6816,
3745,
358,
29889,
19569,
29892,
3653,
29889,
2798,
29898,
6816,
3745,
358,
29889,
19569,
8106,
2972,
29918,
1609,
29898,
6816,
3745,
358,
29889,
19569,
467,
2098,
29918,
1609,
29898,
9891,
29889,
2798,
29898,
6816,
3745,
358,
29889,
19569,
467,
14273,
16655,
497,
580,
13,
3317,
29918,
6112,
29918,
29888,
7971,
353,
1002,
29918,
29888,
7971,
29961,
29900,
3816,
29900,
29962,
13,
13,
7924,
29889,
5358,
580,
13,
13,
29937,
29933,
17958,
383,
29931,
3289,
29968,
12279,
29925,
13,
3166,
29784,
1053,
2379,
1278,
29892,
4390,
1598,
13,
13,
932,
353,
2379,
1278,
22168,
978,
1649,
29897,
13,
13,
29992,
932,
29889,
13134,
11974,
1159,
13,
1753,
12853,
7295,
13,
1678,
1596,
703,
6004,
4520,
2009,
363,
525,
11184,
29915,
1813,
856,
1159,
13,
1678,
736,
313,
13,
4706,
285,
29908,
28862,
2763,
304,
6298,
29888,
29915,
29879,
5020,
14826,
3450,
29991,
29966,
1182,
11903,
13,
4706,
285,
29908,
4806,
6314,
25720,
7018,
322,
10430,
848,
515,
14826,
16355,
373,
278,
11359,
310,
438,
29017,
297,
26901,
29875,
19423,
1182,
5299,
1182,
11903,
13,
4706,
285,
29908,
29923,
279,
20409,
2635,
310,
848,
353,
426,
799,
20409,
29918,
1256,
29913,
29966,
1182,
11903,
13,
4706,
285,
29908,
13992,
342,
2635,
310,
848,
353,
426,
12333,
29918,
1256,
29913,
29966,
1182,
5299,
1182,
11903,
13,
4706,
285,
29908,
27635,
3988,
20829,
267,
29901,
29966,
1182,
5299,
1182,
11903,
13,
4706,
285,
29908,
21140,
340,
3988,
3639,
4663,
310,
25720,
7018,
373,
438,
29017,
373,
1269,
2462,
1546,
426,
6360,
29918,
4425,
29918,
12333,
29913,
322,
426,
12333,
29918,
1256,
1836,
29966,
1182,
11903,
13,
4706,
285,
29908,
11882,
445,
3988,
304,
4714,
29901,
29966,
1182,
11903,
29871,
13,
4706,
285,
23901,
2754,
29914,
29894,
29896,
29889,
29900,
29914,
1457,
7334,
7018,
29966,
1182,
5299,
1182,
11903,
13,
4706,
285,
29908,
21140,
340,
3988,
3639,
4663,
310,
10430,
472,
5073,
426,
3317,
29918,
6112,
29918,
29888,
7971,
29913,
373,
438,
29017,
373,
1269,
2462,
1546,
426,
6360,
29918,
4425,
29918,
12333,
29913,
322,
426,
12333,
29918,
1256,
1836,
29966,
1182,
11903,
13,
4706,
285,
29908,
11882,
445,
3988,
304,
4714,
29901,
29966,
1182,
11903,
29871,
13,
4706,
285,
23901,
2754,
29914,
29894,
29896,
29889,
29900,
29914,
12863,
1535,
29966,
1182,
5299,
1182,
11903,
13,
4706,
285,
29908,
21140,
340,
3988,
3639,
4663,
310,
278,
14826,
16355,
373,
438,
29017,
19423,
1182,
11903,
13,
4706,
285,
29908,
11882,
445,
3988,
304,
4714,
29901,
29966,
1182,
11903,
29871,
13,
4706,
285,
23901,
2754,
29914,
29894,
29896,
29889,
29900,
29914,
303,
800,
29966,
1182,
5299,
1182,
11903,
13,
4706,
285,
29908,
21140,
340,
3988,
3639,
278,
4236,
29892,
1375,
29892,
322,
1029,
29887,
10430,
373,
438,
29017,
427,
2388,
465,
292,
278,
6850,
8322,
322,
11056,
10116,
4944,
491,
278,
1404,
297,
278,
3988,
19423,
1182,
11903,
13,
4706,
285,
29908,
3644,
694,
11056,
2635,
4944,
297,
278,
3988,
769,
11056,
2635,
338,
5251,
304,
367,
426,
12333,
29918,
1256,
29913,
29966,
1182,
11903,
13,
4706,
285,
29908,
11882,
445,
3988,
304,
4714,
322,
5191,
6850,
8322,
29914,
11794,
411,
10116,
297,
612,
14995,
29979,
29899,
7428,
29899,
7858,
3402,
29901,
29966,
1182,
11903,
29871,
13,
4706,
285,
23901,
2754,
29914,
29894,
29896,
29889,
29900,
29914,
25826,
29914,
11794,
29908,
13,
1678,
1723,
13,
13,
13,
29992,
932,
29889,
13134,
11974,
2754,
29914,
29894,
29896,
29889,
29900,
29914,
1457,
7334,
7018,
29914,
1159,
13,
1753,
25720,
7018,
7295,
13,
1678,
1596,
703,
6004,
4520,
2009,
363,
525,
29925,
4361,
29886,
7018,
29915,
1813,
856,
1159,
13,
1678,
4867,
353,
16441,
29898,
10599,
29897,
13,
1678,
396,
3010,
25720,
7018,
13917,
363,
1833,
1629,
13,
1678,
2635,
29918,
558,
6814,
29918,
1972,
353,
4867,
29889,
1972,
29898,
6816,
3745,
358,
29889,
1256,
29892,
2191,
3745,
358,
29889,
558,
6814,
467,
29905,
13,
4706,
4175,
29898,
6816,
3745,
358,
29889,
1256,
14065,
12333,
29918,
1256,
29918,
6008,
467,
4572,
29898,
6816,
3745,
358,
29889,
1256,
18572,
6360,
29918,
4425,
29918,
12333,
29918,
6008,
29897,
13,
1678,
4867,
29889,
5358,
580,
13,
13,
1678,
396,
11371,
408,
4489,
322,
17229,
871,
278,
4236,
25720,
15500,
363,
1269,
2462,
297,
278,
1833,
1629,
13,
1678,
2635,
29918,
558,
6814,
29918,
2176,
353,
10518,
29889,
17271,
29898,
1256,
29918,
558,
6814,
29918,
1972,
29892,
4341,
29922,
1839,
2539,
742,
525,
29925,
4361,
29886,
7018,
11287,
13,
1678,
2635,
29918,
558,
6814,
29918,
2176,
29889,
842,
29918,
2248,
877,
2539,
742,
297,
6689,
29922,
5574,
29897,
13,
1678,
2635,
29918,
558,
6814,
29918,
2176,
29889,
8865,
1056,
29898,
262,
6689,
29922,
5574,
29897,
13,
1678,
2635,
29918,
558,
6814,
29918,
2176,
29889,
6605,
29918,
2248,
29898,
262,
6689,
29922,
5574,
29897,
13,
1678,
2635,
29918,
558,
6814,
29918,
3317,
353,
2635,
29918,
558,
6814,
29918,
2176,
29889,
27789,
877,
2539,
29861,
1839,
29925,
4361,
29886,
7018,
2033,
1822,
3317,
580,
13,
1678,
396,
27407,
964,
8600,
363,
4390,
2450,
13,
1678,
544,
6814,
29918,
1972,
29918,
8977,
353,
2635,
29918,
558,
6814,
29918,
3317,
29889,
517,
29918,
8977,
580,
13,
13,
1678,
736,
4390,
1598,
29898,
558,
6814,
29918,
1972,
29918,
8977,
29897,
13,
13,
29992,
932,
29889,
13134,
11974,
2754,
29914,
29894,
29896,
29889,
29900,
29914,
303,
800,
29914,
1159,
13,
1753,
16355,
7295,
13,
1678,
1596,
703,
6004,
4520,
2009,
363,
525,
855,
800,
29915,
1813,
856,
1159,
13,
1678,
4867,
353,
16441,
29898,
10599,
29897,
13,
1678,
396,
3010,
599,
278,
14826,
5073,
4902,
13,
1678,
5073,
29918,
1972,
353,
4867,
29889,
1972,
29898,
22814,
29889,
19569,
29892,
12039,
29889,
978,
29892,
12039,
29889,
5066,
4279,
29892,
12039,
29889,
5426,
4279,
29892,
12039,
29889,
29872,
2608,
362,
29897,
13,
1678,
5073,
29918,
2176,
353,
10518,
29889,
17271,
29898,
19569,
29918,
1972,
29892,
4341,
353,
6024,
19569,
742,
525,
978,
742,
525,
5066,
4279,
742,
525,
5426,
4279,
742,
525,
29872,
2608,
362,
11287,
13,
1678,
5073,
29918,
2176,
29889,
842,
29918,
2248,
877,
19569,
742,
297,
6689,
29922,
5574,
29897,
13,
1678,
5073,
29918,
2176,
29889,
8865,
1056,
29898,
262,
6689,
29922,
5574,
29897,
13,
1678,
4867,
29889,
5358,
580,
13,
1678,
396,
9984,
263,
8600,
310,
14826,
5073,
21862,
363,
4390,
2450,
13,
1678,
5073,
29918,
8977,
353,
5073,
29918,
2176,
29889,
517,
29918,
8977,
29898,
12236,
2433,
2248,
1495,
13,
13,
1678,
736,
4390,
1598,
29898,
19569,
29918,
8977,
29897,
13,
13,
29992,
932,
29889,
13134,
11974,
2754,
29914,
29894,
29896,
29889,
29900,
29914,
12863,
1535,
29914,
1159,
13,
1753,
6238,
3698,
7295,
13,
1678,
1596,
703,
6004,
4520,
2009,
363,
525,
5776,
546,
3698,
29915,
1813,
856,
1159,
13,
13,
1678,
4867,
353,
16441,
29898,
10599,
29897,
13,
1678,
396,
3010,
10430,
13917,
363,
278,
1833,
1629,
472,
278,
5073,
411,
278,
1556,
13917,
13,
1678,
304,
5824,
29918,
1256,
29918,
1972,
353,
4867,
29889,
1972,
29898,
6816,
3745,
358,
29889,
1256,
29892,
2191,
3745,
358,
29889,
517,
5824,
467,
29905,
13,
1678,
4175,
29898,
6816,
3745,
358,
29889,
1256,
14065,
12333,
29918,
1256,
29918,
6008,
467,
4572,
29898,
6816,
3745,
358,
29889,
1256,
18572,
6360,
29918,
4425,
29918,
12333,
29918,
6008,
467,
29905,
13,
1678,
4175,
29898,
6816,
3745,
358,
29889,
19569,
1360,
3317,
29918,
6112,
29918,
29888,
7971,
29897,
13,
1678,
4867,
29889,
5358,
580,
13,
1678,
396,
11371,
2346,
408,
4489,
13,
1678,
304,
5824,
29918,
1256,
29918,
2176,
353,
10518,
29889,
17271,
29898,
517,
5824,
29918,
1256,
29918,
1972,
29892,
4341,
29922,
1839,
2539,
3788,
5776,
546,
1535,
11287,
13,
1678,
304,
5824,
29918,
1256,
29918,
2176,
29889,
842,
29918,
2248,
877,
2539,
742,
297,
6689,
29922,
5574,
29897,
13,
1678,
304,
5824,
29918,
1256,
29918,
2176,
29889,
8865,
1056,
29898,
262,
6689,
29922,
5574,
29897,
13,
1678,
396,
13372,
4489,
964,
8600,
363,
4390,
2450,
13,
1678,
304,
5824,
29918,
1256,
29918,
8977,
353,
304,
5824,
29918,
1256,
29918,
2176,
29889,
517,
29918,
8977,
580,
13,
13,
1678,
736,
4390,
1598,
29898,
517,
5824,
29918,
1256,
29918,
8977,
29897,
13,
13,
29992,
932,
29889,
13134,
11974,
2754,
29914,
29894,
29896,
29889,
29900,
29914,
29966,
2962,
20690,
1159,
13,
1753,
5694,
29918,
2962,
29898,
2962,
1125,
13,
1678,
396,
4809,
373,
6850,
8322,
2635,
2629,
2566,
2635,
3464,
13,
1678,
565,
1369,
29966,
799,
20409,
29918,
1256,
470,
1369,
29958,
12333,
29918,
1256,
29901,
13,
4706,
736,
313,
13,
9651,
285,
29908,
25826,
1818,
367,
1546,
426,
799,
20409,
29918,
1256,
29913,
322,
426,
12333,
29918,
1256,
1836,
29966,
1182,
11903,
13,
9651,
285,
23901,
2754,
29914,
29894,
29896,
29889,
29900,
29914,
25826,
29908,
13,
4706,
1723,
13,
13,
1678,
1596,
703,
6004,
4520,
2009,
363,
525,
8140,
29892,
5918,
29892,
7740,
29887,
7370,
2796,
29915,
1813,
856,
1159,
13,
1678,
4867,
353,
16441,
29898,
10599,
29897,
13,
1678,
396,
3010,
4236,
29892,
1375,
29892,
322,
1029,
29887,
10430,
1546,
6850,
8322,
2635,
322,
1833,
2635,
297,
2566,
13,
1678,
323,
12648,
353,
4867,
29889,
1972,
29898,
9891,
29889,
3317,
29898,
6816,
3745,
358,
29889,
517,
5824,
8106,
29905,
13,
4706,
4175,
29898,
6816,
3745,
358,
29889,
1256,
14065,
12333,
29918,
1256,
467,
4572,
29898,
6816,
3745,
358,
29889,
1256,
18572,
2962,
467,
497,
580,
13,
1678,
323,
16173,
353,
4867,
29889,
1972,
29898,
9891,
29889,
1195,
29898,
6816,
3745,
358,
29889,
517,
5824,
8106,
29905,
13,
4706,
4175,
29898,
6816,
3745,
358,
29889,
1256,
14065,
12333,
29918,
1256,
467,
4572,
29898,
6816,
3745,
358,
29889,
1256,
18572,
2962,
467,
497,
580,
13,
1678,
323,
7520,
29954,
353,
4867,
29889,
1972,
29898,
9891,
29889,
485,
29887,
29898,
6816,
3745,
358,
29889,
517,
5824,
8106,
29905,
13,
4706,
4175,
29898,
6816,
3745,
358,
29889,
1256,
14065,
12333,
29918,
1256,
467,
4572,
29898,
6816,
3745,
358,
29889,
1256,
18572,
2962,
467,
497,
580,
13,
1678,
4867,
29889,
5358,
580,
13,
1678,
396,
29934,
618,
323,
7520,
29954,
363,
24329,
13,
1678,
323,
7520,
29954,
353,
4513,
29898,
6040,
29963,
29954,
29961,
29900,
3816,
29900,
1402,
29896,
29897,
13,
13,
1678,
396,
7856,
29883,
1353,
310,
3841,
297,
278,
2346,
363,
2472,
13,
1678,
3841,
29918,
26290,
353,
9281,
29918,
1256,
29918,
6008,
448,
11636,
29889,
12673,
29889,
710,
415,
603,
29898,
2962,
29892,
11860,
29979,
19222,
29885,
19222,
29881,
1159,
13,
1678,
3841,
29918,
26290,
353,
3841,
29918,
26290,
29889,
16700,
13,
13,
1678,
736,
29871,
313,
13,
9651,
285,
29908,
1576,
7472,
10430,
373,
438,
29017,
363,
278,
426,
16700,
29918,
26290,
29913,
3841,
1546,
426,
2962,
29913,
322,
426,
12333,
29918,
1256,
29913,
471,
426,
29911,
12648,
29961,
29900,
3816,
29900,
29962,
1836,
29966,
1182,
11903,
13,
9651,
285,
29908,
1576,
9212,
10430,
373,
438,
29017,
363,
278,
426,
16700,
29918,
26290,
29913,
3841,
1546,
426,
2962,
29913,
322,
426,
12333,
29918,
1256,
29913,
471,
426,
29911,
16173,
29961,
29900,
3816,
29900,
29962,
1836,
29966,
1182,
11903,
13,
9651,
285,
29908,
1576,
6588,
10430,
373,
438,
29017,
363,
278,
426,
16700,
29918,
26290,
29913,
3841,
1546,
426,
2962,
29913,
322,
426,
12333,
29918,
1256,
29913,
471,
426,
6040,
29963,
29954,
1836,
29966,
1182,
11903,
13,
1678,
1723,
13,
13,
29992,
932,
29889,
13134,
11974,
2754,
29914,
29894,
29896,
29889,
29900,
29914,
29966,
2962,
20690,
29966,
355,
20690,
1159,
13,
1753,
5694,
29918,
2962,
29918,
355,
29898,
2962,
29892,
1095,
1125,
13,
1678,
396,
5596,
6850,
8322,
322,
11056,
10116,
526,
2629,
278,
3464,
310,
2566,
10116,
13,
1678,
565,
1369,
29966,
799,
20409,
29918,
1256,
470,
1369,
29958,
12333,
29918,
1256,
470,
1095,
29966,
799,
20409,
29918,
1256,
470,
1095,
29958,
12333,
29918,
1256,
29901,
13,
4706,
736,
313,
13,
9651,
285,
29908,
25826,
322,
11056,
1818,
367,
1546,
426,
799,
20409,
29918,
1256,
29913,
322,
426,
12333,
29918,
1256,
1836,
29966,
1182,
11903,
13,
9651,
285,
23901,
2754,
29914,
29894,
29896,
29889,
29900,
29914,
25826,
29914,
11794,
29908,
13,
4706,
1723,
13,
1678,
396,
15930,
363,
6850,
8322,
322,
11056,
1006,
15033,
297,
3988,
13,
1678,
565,
1095,
29966,
2962,
29901,
13,
4706,
1369,
29918,
7382,
353,
1369,
13,
4706,
1369,
353,
1095,
13,
4706,
1095,
353,
1369,
29918,
7382,
13,
13,
1678,
1596,
703,
6004,
4520,
2009,
363,
525,
8140,
29892,
5918,
29892,
7740,
29887,
7370,
2796,
29915,
1813,
856,
1159,
13,
1678,
4867,
353,
16441,
29898,
10599,
29897,
13,
1678,
396,
3010,
4236,
29892,
1375,
29892,
322,
1029,
29887,
10430,
1546,
6850,
8322,
2635,
322,
11056,
2635,
297,
2566,
13,
1678,
323,
12648,
353,
4867,
29889,
1972,
29898,
9891,
29889,
3317,
29898,
6816,
3745,
358,
29889,
517,
5824,
8106,
29905,
13,
4706,
4175,
29898,
6816,
3745,
358,
29889,
1256,
14065,
355,
467,
4572,
29898,
6816,
3745,
358,
29889,
1256,
18572,
2962,
467,
497,
580,
13,
1678,
323,
16173,
353,
4867,
29889,
1972,
29898,
9891,
29889,
1195,
29898,
6816,
3745,
358,
29889,
517,
5824,
8106,
29905,
13,
4706,
4175,
29898,
6816,
3745,
358,
29889,
1256,
14065,
355,
467,
4572,
29898,
6816,
3745,
358,
29889,
1256,
18572,
2962,
467,
497,
580,
13,
1678,
323,
7520,
29954,
353,
4867,
29889,
1972,
29898,
9891,
29889,
485,
29887,
29898,
6816,
3745,
358,
29889,
517,
5824,
8106,
29905,
13,
4706,
4175,
29898,
6816,
3745,
358,
29889,
1256,
14065,
355,
467,
4572,
29898,
6816,
3745,
358,
29889,
1256,
18572,
2962,
467,
497,
580,
13,
1678,
4867,
29889,
5358,
580,
13,
1678,
396,
29934,
618,
323,
7520,
29954,
363,
24329,
13,
1678,
323,
7520,
29954,
353,
4513,
29898,
6040,
29963,
29954,
29961,
29900,
3816,
29900,
1402,
29896,
29897,
13,
1678,
396,
7856,
29883,
1353,
310,
3841,
297,
278,
2346,
363,
2472,
13,
1678,
3841,
29918,
26290,
353,
11636,
29889,
12673,
29889,
710,
415,
603,
29898,
355,
29892,
11860,
29979,
19222,
29885,
19222,
29881,
1159,
448,
11636,
29889,
12673,
29889,
710,
415,
603,
29898,
2962,
29892,
11860,
29979,
19222,
29885,
19222,
29881,
1159,
13,
1678,
3841,
29918,
26290,
353,
3841,
29918,
26290,
29889,
16700,
13,
13,
1678,
736,
29871,
313,
13,
9651,
285,
29908,
1576,
7472,
10430,
373,
438,
29017,
363,
278,
426,
16700,
29918,
26290,
29913,
3841,
1546,
426,
2962,
29913,
322,
426,
355,
29913,
471,
426,
29911,
12648,
29961,
29900,
3816,
29900,
29962,
1836,
29966,
1182,
11903,
13,
9651,
285,
29908,
1576,
9212,
10430,
373,
438,
29017,
363,
278,
426,
16700,
29918,
26290,
29913,
3841,
1546,
426,
2962,
29913,
322,
426,
355,
29913,
471,
426,
29911,
16173,
29961,
29900,
3816,
29900,
29962,
1836,
29966,
1182,
11903,
13,
9651,
285,
29908,
1576,
6588,
10430,
373,
438,
29017,
363,
278,
426,
16700,
29918,
26290,
29913,
3841,
1546,
426,
2962,
29913,
322,
426,
355,
29913,
471,
426,
6040,
29963,
29954,
1836,
29966,
1182,
11903,
13,
1678,
1723,
13,
13,
13,
361,
4770,
978,
1649,
1275,
376,
1649,
3396,
1649,
1115,
13,
1678,
623,
29889,
3389,
29898,
8382,
29922,
5574,
29897,
13,
13,
13,
2
] |
legacy_code/tf_cnn_siamese/model.py | PerryXDeng/project_punyslayer | 2 | 7297 | import legacy_code.tf_cnn_siamese.configurations as conf
import tensorflow as tf
import numpy as np
def construct_cnn(x, conv_weights, conv_biases, fc_weights, fc_biases,
dropout = False):
"""
constructs the convolution graph for one image
:param x: input node
:param conv_weights: convolution weights
:param conv_biases: relu biases for each convolution
:param fc_weights: fully connected weights, only one set should be used here
:param fc_biases: fully connected biases, only one set should be used here
:param dropout: whether to add a dropout layer for the fully connected layer
:return: output node
"""
k = conf.NUM_POOL
for i in range(conf.NUM_CONVS):
x = tf.nn.conv2d(x, conv_weights[i], strides=[1, 1, 1, 1], padding='SAME',
data_format=conf.DATA_FORMAT)
x = tf.nn.relu(tf.nn.bias_add(x, conv_biases[i],
data_format=conf.DATA_FORMAT))
if k > 0:
x = tf.nn.max_pool(x, ksize=conf.POOL_KDIM,strides=conf.POOL_KDIM,
padding='VALID', data_format=conf.DATA_FORMAT)
k -= 1
# Reshape the feature map cuboids into vectors for fc layers
features_shape = x.get_shape().as_list()
n = features_shape[0]
m = features_shape[1] * features_shape[2] * features_shape[3]
features = tf.reshape(x, [n, m])
# last fc_weights determine output dimensions
fc = tf.nn.sigmoid(tf.matmul(features, fc_weights[0]) + fc_biases[0])
# for actual training
if dropout:
fc = tf.nn.dropout(fc, conf.DROP_RATE)
return fc
def construct_logits_model(x_1, x_2, conv_weights, conv_biases, fc_weights,
fc_biases, dropout=False):
"""
constructs the logit node before the final sigmoid activation
:param x_1: input image node 1
:param x_2: input image node 2
:param conv_weights: nodes for convolution weights
:param conv_biases: nodes for convolution relu biases
:param fc_weights: nodes for fully connected weights
:param fc_biases: nodes for fully connected biases
:param dropout: whether to include dropout layers
:return: logit node
"""
with tf.name_scope("twin_1"):
twin_1 = construct_cnn(x_1, conv_weights, conv_biases,
fc_weights, fc_biases, dropout)
with tf.name_scope("twin_2"):
twin_2 = construct_cnn(x_2, conv_weights, conv_biases,
fc_weights, fc_biases, dropout)
# logits on squared difference
sq_diff = tf.squared_difference(twin_1, twin_2)
logits = tf.matmul(sq_diff, fc_weights[1]) + fc_biases[1]
return logits
def construct_full_model(x_1, x_2, conv_weights, conv_biases,fc_weights,
fc_biases):
"""
constructs the graph for the neural network without loss node or optimizer
:param x_1: input image node 1
:param x_2: input image node 2
:param conv_weights: nodes for convolution weights
:param conv_biases: nodes for convolution relu biases
:param fc_weights: nodes for fully connected weights
:param fc_biases: nodes for fully connected biases
:return: sigmoid output node
"""
logits = construct_logits_model(x_1, x_2, conv_weights, conv_biases,
fc_weights, fc_biases, dropout=False)
return tf.nn.sigmoid(logits)
def construct_loss_optimizer(x_1, x_2, labels, conv_weights, conv_biases,
fc_weights, fc_biases, dropout=False,
lagrange=False):
"""
constructs the neural network graph with the loss and optimizer node
:param x_1: input image node 1
:param x_2: input image node 2
:param labels: expected output
:param conv_weights: nodes for convolution weights
:param conv_biases: nodes for convolution relu biases
:param fc_weights: nodes for fully connected weights
:param fc_biases: nodes for fully connected biases
:param dropout: whether to use dropout
:param lagrange: whether to apply constraints
:return: the node for the optimizer as well as the loss
"""
logits = construct_logits_model(x_1, x_2, conv_weights, conv_biases,
fc_weights, fc_biases, dropout)
# cross entropy loss on sigmoids of joined output and labels
loss_vec = tf.nn.sigmoid_cross_entropy_with_logits(labels=labels,
logits=logits)
loss = tf.reduce_mean(loss_vec)
if lagrange:
# constraints on sigmoid layers
regularizers = (tf.nn.l2_loss(fc_weights[0]) + tf.nn.l2_loss(fc_biases[0]) +
tf.nn.l2_loss(fc_weights[1]) + tf.nn.l2_loss(fc_biases[1]))
loss += conf.LAMBDA * regularizers
# setting up the optimization
batch = tf.Variable(0, dtype=conf.DTYPE)
# vanilla momentum optimizer
# accumulation = momentum * accumulation + gradient
# every epoch: variable -= learning_rate * accumulation
# batch_total = labels.shape[0]
# learning_rate = tf.train.exponential_decay(
# conf.BASE_LEARNING_RATE,
# batch * conf.BATCH_SIZE, # Current index into the dataset.
# batch_total,
# conf.DECAY_RATE, # Decay rate.
# staircase=True)
# trainer = tf.train.MomentumOptimizer(learning_rate, conf.MOMENTUM)\
# .minimize(loss, global_step=batch)
# adaptive momentum estimation optimizer
# default params: learning_rate=0.001, beta1=0.9, beta2=0.999, epsilon=1e-08
trainer = tf.train.AdamOptimizer().minimize(loss, global_step=batch)
return trainer, loss
def construct_joined_model(twin_1, twin_2, fc_weights, fc_biases):
"""
constructs joined model for two sets of extracted features
:param twin_1: features node extracted from first image
:param twin_2: features node extracted from second image
:param fc_weights: nodes for fully connected weights
:param fc_biases: nodes for fully connected biases
:return: logit node
"""
# logits on squared difference
sq_diff = tf.squared_difference(twin_1, twin_2)
logits = tf.matmul(sq_diff, fc_weights[1]) + fc_biases[1]
return tf.nn.sigmoid(logits)
def initialize_weights():
"""
initializes the variable tensors to be trained in the neural network, decides
network dimensions
:return: nodes for the variables
"""
# twin network convolution and pooling variables
conv_weights = []
conv_biases = []
fc_weights = []
fc_biases = []
for i in range(conf.NUM_CONVS):
if i == 0:
inp = conf.NUM_CHANNELS
else:
inp = conf.NUM_FILTERS[i - 1]
out = conf.NUM_FILTERS[i]
conv_dim = [conf.FILTER_LEN, conf.FILTER_LEN, inp, out]
weight_name = "twin_conv" + str(i + 1) + "_weights"
bias_name = "twin_conv" + str(i + 1) + "_biases"
conv_weights.append(tf.Variable(tf.truncated_normal(conv_dim, stddev=0.1,
seed=conf.SEED, dtype=conf.DTYPE),
name=weight_name))
conv_biases.append(tf.Variable(tf.zeros([out], dtype=conf.DTYPE),
name=bias_name))
# twin network fullly connected variables
inp = conf.FEATURE_MAP_SIZE
out = conf.NUM_FC_NEURONS
fc_weights.append(tf.Variable(tf.truncated_normal([inp, out], stddev=0.1,
seed=conf.SEED, dtype=conf.DTYPE),
name="twin_fc_weights"))
fc_biases.append(tf.Variable(tf.constant(0.1, shape=[out], dtype=conf.DTYPE),
name="twin_fc_biases"))
# joined network fully connected variables
inp = conf.NUM_FC_NEURONS
out = 1
fc_weights.append(tf.Variable(tf.truncated_normal([inp, out], stddev=0.1,
seed=conf.SEED, dtype=conf.DTYPE),
name="joined_fc_weights"))
fc_biases.append(tf.Variable(tf.constant(0.1, shape=[out], dtype=conf.DTYPE),
name="joined_fc_biases"))
return conv_weights, conv_biases, fc_weights, fc_biases
def num_params():
"""
calculates the number of parameters in the model
:return: m, number of parameters
"""
m = 0
for i in range(conf.NUM_CONVS):
if i == 0:
inp = conf.NUM_CHANNELS
else:
inp = conf.NUM_FILTERS[i - 1]
out = conf.NUM_FILTERS[i]
conv_dim = [conf.FILTER_LEN, conf.FILTER_LEN, inp, out]
m += np.prod(conv_dim) + np.prod(out)
inp = conf.FEATURE_MAP_SIZE
out = conf.NUM_FC_NEURONS
m += inp * out + out
inp = conf.NUM_FC_NEURONS
out = 1
m += inp * out + out
return m
if __name__ == "__main__":
print("Number of Parameters: " + str(num_params()))
| [
1,
1053,
25000,
29918,
401,
29889,
13264,
29918,
29883,
15755,
29918,
1039,
314,
968,
29889,
2917,
332,
800,
408,
1970,
13,
5215,
26110,
408,
15886,
13,
5215,
12655,
408,
7442,
13,
13,
13,
1753,
3386,
29918,
29883,
15755,
29898,
29916,
29892,
7602,
29918,
705,
5861,
29892,
7602,
29918,
5365,
2129,
29892,
285,
29883,
29918,
705,
5861,
29892,
285,
29883,
29918,
5365,
2129,
29892,
13,
462,
29871,
5768,
449,
353,
7700,
1125,
13,
29871,
9995,
13,
29871,
3386,
29879,
278,
26851,
3983,
363,
697,
1967,
13,
29871,
584,
3207,
921,
29901,
1881,
2943,
13,
29871,
584,
3207,
7602,
29918,
705,
5861,
29901,
26851,
18177,
13,
29871,
584,
3207,
7602,
29918,
5365,
2129,
29901,
1104,
29884,
4768,
2129,
363,
1269,
26851,
13,
29871,
584,
3207,
285,
29883,
29918,
705,
5861,
29901,
8072,
6631,
18177,
29892,
871,
697,
731,
881,
367,
1304,
1244,
13,
29871,
584,
3207,
285,
29883,
29918,
5365,
2129,
29901,
8072,
6631,
4768,
2129,
29892,
871,
697,
731,
881,
367,
1304,
1244,
13,
29871,
584,
3207,
5768,
449,
29901,
3692,
304,
788,
263,
5768,
449,
7546,
363,
278,
8072,
6631,
7546,
13,
29871,
584,
2457,
29901,
1962,
2943,
13,
29871,
9995,
13,
29871,
413,
353,
1970,
29889,
13967,
29918,
13152,
5607,
13,
29871,
363,
474,
297,
3464,
29898,
5527,
29889,
13967,
29918,
6007,
21819,
1125,
13,
1678,
921,
353,
15886,
29889,
15755,
29889,
20580,
29906,
29881,
29898,
29916,
29892,
7602,
29918,
705,
5861,
29961,
29875,
1402,
851,
2247,
11759,
29896,
29892,
29871,
29896,
29892,
29871,
29896,
29892,
29871,
29896,
1402,
7164,
2433,
8132,
2303,
742,
13,
462,
268,
848,
29918,
4830,
29922,
5527,
29889,
14573,
29918,
19094,
1299,
29897,
13,
1678,
921,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29898,
13264,
29889,
15755,
29889,
29890,
3173,
29918,
1202,
29898,
29916,
29892,
7602,
29918,
5365,
2129,
29961,
29875,
1402,
13,
462,
462,
29871,
848,
29918,
4830,
29922,
5527,
29889,
14573,
29918,
19094,
1299,
876,
13,
1678,
565,
413,
1405,
29871,
29900,
29901,
13,
418,
921,
353,
15886,
29889,
15755,
29889,
3317,
29918,
10109,
29898,
29916,
29892,
413,
2311,
29922,
5527,
29889,
13152,
5607,
29918,
29968,
4571,
29924,
29892,
710,
2247,
29922,
5527,
29889,
13152,
5607,
29918,
29968,
4571,
29924,
29892,
13,
462,
4706,
7164,
2433,
26707,
742,
848,
29918,
4830,
29922,
5527,
29889,
14573,
29918,
19094,
1299,
29897,
13,
1678,
413,
22361,
29871,
29896,
13,
29871,
396,
2538,
14443,
278,
4682,
2910,
13630,
3398,
29879,
964,
12047,
363,
285,
29883,
15359,
13,
29871,
5680,
29918,
12181,
353,
921,
29889,
657,
29918,
12181,
2141,
294,
29918,
1761,
580,
13,
29871,
302,
353,
5680,
29918,
12181,
29961,
29900,
29962,
13,
29871,
286,
353,
5680,
29918,
12181,
29961,
29896,
29962,
334,
5680,
29918,
12181,
29961,
29906,
29962,
334,
5680,
29918,
12181,
29961,
29941,
29962,
13,
29871,
5680,
353,
15886,
29889,
690,
14443,
29898,
29916,
29892,
518,
29876,
29892,
286,
2314,
13,
29871,
396,
1833,
285,
29883,
29918,
705,
5861,
8161,
1962,
13391,
13,
29871,
285,
29883,
353,
15886,
29889,
15755,
29889,
18816,
29885,
3398,
29898,
13264,
29889,
2922,
16109,
29898,
22100,
29892,
285,
29883,
29918,
705,
5861,
29961,
29900,
2314,
718,
285,
29883,
29918,
5365,
2129,
29961,
29900,
2314,
13,
29871,
396,
363,
3935,
6694,
13,
29871,
565,
5768,
449,
29901,
13,
1678,
285,
29883,
353,
15886,
29889,
15755,
29889,
8865,
449,
29898,
13801,
29892,
1970,
29889,
29928,
29366,
29918,
29934,
3040,
29897,
13,
29871,
736,
285,
29883,
13,
13,
13,
1753,
3386,
29918,
1188,
1169,
29918,
4299,
29898,
29916,
29918,
29896,
29892,
921,
29918,
29906,
29892,
7602,
29918,
705,
5861,
29892,
7602,
29918,
5365,
2129,
29892,
285,
29883,
29918,
705,
5861,
29892,
13,
462,
965,
285,
29883,
29918,
5365,
2129,
29892,
5768,
449,
29922,
8824,
1125,
13,
29871,
9995,
13,
29871,
3386,
29879,
278,
1480,
277,
2943,
1434,
278,
2186,
4365,
29885,
3398,
26229,
13,
29871,
584,
3207,
921,
29918,
29896,
29901,
1881,
1967,
2943,
29871,
29896,
13,
29871,
584,
3207,
921,
29918,
29906,
29901,
1881,
1967,
2943,
29871,
29906,
13,
29871,
584,
3207,
7602,
29918,
705,
5861,
29901,
7573,
363,
26851,
18177,
13,
29871,
584,
3207,
7602,
29918,
5365,
2129,
29901,
7573,
363,
26851,
1104,
29884,
4768,
2129,
13,
29871,
584,
3207,
285,
29883,
29918,
705,
5861,
29901,
7573,
363,
8072,
6631,
18177,
13,
29871,
584,
3207,
285,
29883,
29918,
5365,
2129,
29901,
7573,
363,
8072,
6631,
4768,
2129,
13,
29871,
584,
3207,
5768,
449,
29901,
3692,
304,
3160,
5768,
449,
15359,
13,
29871,
584,
2457,
29901,
1480,
277,
2943,
13,
29871,
9995,
13,
29871,
411,
15886,
29889,
978,
29918,
6078,
703,
29873,
5080,
29918,
29896,
29908,
1125,
13,
1678,
3252,
262,
29918,
29896,
353,
3386,
29918,
29883,
15755,
29898,
29916,
29918,
29896,
29892,
7602,
29918,
705,
5861,
29892,
7602,
29918,
5365,
2129,
29892,
13,
462,
965,
285,
29883,
29918,
705,
5861,
29892,
285,
29883,
29918,
5365,
2129,
29892,
5768,
449,
29897,
13,
29871,
411,
15886,
29889,
978,
29918,
6078,
703,
29873,
5080,
29918,
29906,
29908,
1125,
13,
1678,
3252,
262,
29918,
29906,
353,
3386,
29918,
29883,
15755,
29898,
29916,
29918,
29906,
29892,
7602,
29918,
705,
5861,
29892,
7602,
29918,
5365,
2129,
29892,
13,
462,
965,
285,
29883,
29918,
705,
5861,
29892,
285,
29883,
29918,
5365,
2129,
29892,
5768,
449,
29897,
13,
29871,
396,
1480,
1169,
373,
10674,
1965,
4328,
13,
29871,
18074,
29918,
12765,
353,
15886,
29889,
26613,
1965,
29918,
29881,
17678,
29898,
29873,
5080,
29918,
29896,
29892,
3252,
262,
29918,
29906,
29897,
13,
29871,
1480,
1169,
353,
15886,
29889,
2922,
16109,
29898,
3044,
29918,
12765,
29892,
285,
29883,
29918,
705,
5861,
29961,
29896,
2314,
718,
285,
29883,
29918,
5365,
2129,
29961,
29896,
29962,
13,
29871,
736,
1480,
1169,
13,
13,
13,
1753,
3386,
29918,
8159,
29918,
4299,
29898,
29916,
29918,
29896,
29892,
921,
29918,
29906,
29892,
7602,
29918,
705,
5861,
29892,
7602,
29918,
5365,
2129,
29892,
13801,
29918,
705,
5861,
29892,
13,
462,
308,
285,
29883,
29918,
5365,
2129,
1125,
13,
29871,
9995,
13,
29871,
3386,
29879,
278,
3983,
363,
278,
19677,
3564,
1728,
6410,
2943,
470,
5994,
3950,
13,
29871,
584,
3207,
921,
29918,
29896,
29901,
1881,
1967,
2943,
29871,
29896,
13,
29871,
584,
3207,
921,
29918,
29906,
29901,
1881,
1967,
2943,
29871,
29906,
13,
29871,
584,
3207,
7602,
29918,
705,
5861,
29901,
7573,
363,
26851,
18177,
13,
29871,
584,
3207,
7602,
29918,
5365,
2129,
29901,
7573,
363,
26851,
1104,
29884,
4768,
2129,
13,
29871,
584,
3207,
285,
29883,
29918,
705,
5861,
29901,
7573,
363,
8072,
6631,
18177,
13,
29871,
584,
3207,
285,
29883,
29918,
5365,
2129,
29901,
7573,
363,
8072,
6631,
4768,
2129,
13,
29871,
584,
2457,
29901,
4365,
29885,
3398,
1962,
2943,
13,
29871,
9995,
13,
29871,
1480,
1169,
353,
3386,
29918,
1188,
1169,
29918,
4299,
29898,
29916,
29918,
29896,
29892,
921,
29918,
29906,
29892,
7602,
29918,
705,
5861,
29892,
7602,
29918,
5365,
2129,
29892,
13,
462,
462,
29871,
285,
29883,
29918,
705,
5861,
29892,
285,
29883,
29918,
5365,
2129,
29892,
5768,
449,
29922,
8824,
29897,
13,
29871,
736,
15886,
29889,
15755,
29889,
18816,
29885,
3398,
29898,
1188,
1169,
29897,
13,
13,
13,
1753,
3386,
29918,
6758,
29918,
20640,
3950,
29898,
29916,
29918,
29896,
29892,
921,
29918,
29906,
29892,
11073,
29892,
7602,
29918,
705,
5861,
29892,
7602,
29918,
5365,
2129,
29892,
13,
462,
632,
285,
29883,
29918,
705,
5861,
29892,
285,
29883,
29918,
5365,
2129,
29892,
5768,
449,
29922,
8824,
29892,
13,
462,
632,
11755,
3881,
29922,
8824,
1125,
13,
29871,
9995,
13,
29871,
3386,
29879,
278,
19677,
3564,
3983,
411,
278,
6410,
322,
5994,
3950,
2943,
13,
29871,
584,
3207,
921,
29918,
29896,
29901,
1881,
1967,
2943,
29871,
29896,
13,
29871,
584,
3207,
921,
29918,
29906,
29901,
1881,
1967,
2943,
29871,
29906,
13,
29871,
584,
3207,
11073,
29901,
3806,
1962,
13,
29871,
584,
3207,
7602,
29918,
705,
5861,
29901,
7573,
363,
26851,
18177,
13,
29871,
584,
3207,
7602,
29918,
5365,
2129,
29901,
7573,
363,
26851,
1104,
29884,
4768,
2129,
13,
29871,
584,
3207,
285,
29883,
29918,
705,
5861,
29901,
7573,
363,
8072,
6631,
18177,
13,
29871,
584,
3207,
285,
29883,
29918,
5365,
2129,
29901,
7573,
363,
8072,
6631,
4768,
2129,
13,
29871,
584,
3207,
5768,
449,
29901,
3692,
304,
671,
5768,
449,
13,
29871,
584,
3207,
11755,
3881,
29901,
3692,
304,
3394,
11938,
13,
29871,
584,
2457,
29901,
278,
2943,
363,
278,
5994,
3950,
408,
1532,
408,
278,
6410,
13,
29871,
9995,
13,
29871,
1480,
1169,
353,
3386,
29918,
1188,
1169,
29918,
4299,
29898,
29916,
29918,
29896,
29892,
921,
29918,
29906,
29892,
7602,
29918,
705,
5861,
29892,
7602,
29918,
5365,
2129,
29892,
13,
462,
462,
29871,
285,
29883,
29918,
705,
5861,
29892,
285,
29883,
29918,
5365,
2129,
29892,
5768,
449,
29897,
13,
29871,
396,
4891,
24687,
6410,
373,
4365,
29885,
3398,
29879,
310,
8772,
1962,
322,
11073,
13,
29871,
6410,
29918,
2003,
353,
15886,
29889,
15755,
29889,
18816,
29885,
3398,
29918,
19128,
29918,
296,
14441,
29918,
2541,
29918,
1188,
1169,
29898,
21134,
29922,
21134,
29892,
13,
462,
462,
462,
268,
1480,
1169,
29922,
1188,
1169,
29897,
13,
29871,
6410,
353,
15886,
29889,
17469,
29918,
12676,
29898,
6758,
29918,
2003,
29897,
13,
29871,
565,
11755,
3881,
29901,
13,
1678,
396,
11938,
373,
4365,
29885,
3398,
15359,
13,
1678,
4943,
19427,
353,
313,
13264,
29889,
15755,
29889,
29880,
29906,
29918,
6758,
29898,
13801,
29918,
705,
5861,
29961,
29900,
2314,
718,
15886,
29889,
15755,
29889,
29880,
29906,
29918,
6758,
29898,
13801,
29918,
5365,
2129,
29961,
29900,
2314,
718,
13,
462,
1678,
15886,
29889,
15755,
29889,
29880,
29906,
29918,
6758,
29898,
13801,
29918,
705,
5861,
29961,
29896,
2314,
718,
15886,
29889,
15755,
29889,
29880,
29906,
29918,
6758,
29898,
13801,
29918,
5365,
2129,
29961,
29896,
12622,
13,
1678,
6410,
4619,
1970,
29889,
4375,
9486,
7698,
334,
4943,
19427,
13,
29871,
396,
4444,
701,
278,
13883,
13,
29871,
9853,
353,
15886,
29889,
16174,
29898,
29900,
29892,
26688,
29922,
5527,
29889,
29928,
11116,
29897,
13,
13,
29871,
396,
1109,
2911,
19399,
5994,
3950,
13,
29871,
396,
18414,
2785,
353,
19399,
334,
18414,
2785,
718,
16030,
13,
29871,
396,
1432,
21502,
305,
29901,
2286,
22361,
6509,
29918,
10492,
334,
18414,
2785,
13,
29871,
396,
9853,
29918,
7827,
353,
11073,
29889,
12181,
29961,
29900,
29962,
13,
29871,
396,
6509,
29918,
10492,
353,
15886,
29889,
14968,
29889,
735,
1112,
2556,
29918,
7099,
388,
29898,
13,
29871,
396,
268,
1970,
29889,
25416,
29918,
1307,
25614,
29918,
29934,
3040,
29892,
13,
29871,
396,
268,
9853,
334,
1970,
29889,
29933,
14789,
29918,
14226,
29892,
29871,
396,
9626,
2380,
964,
278,
8783,
29889,
13,
29871,
396,
268,
9853,
29918,
7827,
29892,
13,
29871,
396,
268,
1970,
29889,
2287,
5454,
29979,
29918,
29934,
3040,
29892,
18884,
396,
3826,
388,
6554,
29889,
13,
29871,
396,
268,
380,
1466,
4878,
29922,
5574,
29897,
13,
29871,
396,
1020,
4983,
353,
15886,
29889,
14968,
29889,
29924,
2932,
398,
20624,
326,
3950,
29898,
21891,
29918,
10492,
29892,
1970,
29889,
29924,
6488,
3919,
5005,
2144,
13,
29871,
396,
1678,
869,
1195,
326,
675,
29898,
6758,
29892,
5534,
29918,
10568,
29922,
16175,
29897,
13,
13,
29871,
396,
7744,
573,
19399,
23248,
5994,
3950,
13,
29871,
396,
2322,
8636,
29901,
6509,
29918,
10492,
29922,
29900,
29889,
29900,
29900,
29896,
29892,
21762,
29896,
29922,
29900,
29889,
29929,
29892,
21762,
29906,
29922,
29900,
29889,
29929,
29929,
29929,
29892,
321,
3232,
29922,
29896,
29872,
29899,
29900,
29947,
13,
29871,
1020,
4983,
353,
15886,
29889,
14968,
29889,
3253,
314,
20624,
326,
3950,
2141,
1195,
326,
675,
29898,
6758,
29892,
5534,
29918,
10568,
29922,
16175,
29897,
13,
29871,
736,
1020,
4983,
29892,
6410,
13,
13,
13,
1753,
3386,
29918,
2212,
1312,
29918,
4299,
29898,
29873,
5080,
29918,
29896,
29892,
3252,
262,
29918,
29906,
29892,
285,
29883,
29918,
705,
5861,
29892,
285,
29883,
29918,
5365,
2129,
1125,
13,
29871,
9995,
13,
29871,
3386,
29879,
8772,
1904,
363,
1023,
6166,
310,
23892,
5680,
13,
29871,
584,
3207,
3252,
262,
29918,
29896,
29901,
5680,
2943,
23892,
515,
937,
1967,
13,
29871,
584,
3207,
3252,
262,
29918,
29906,
29901,
5680,
2943,
23892,
515,
1473,
1967,
13,
29871,
584,
3207,
285,
29883,
29918,
705,
5861,
29901,
7573,
363,
8072,
6631,
18177,
13,
29871,
584,
3207,
285,
29883,
29918,
5365,
2129,
29901,
7573,
363,
8072,
6631,
4768,
2129,
13,
29871,
584,
2457,
29901,
1480,
277,
2943,
13,
29871,
9995,
13,
29871,
396,
1480,
1169,
373,
10674,
1965,
4328,
13,
29871,
18074,
29918,
12765,
353,
15886,
29889,
26613,
1965,
29918,
29881,
17678,
29898,
29873,
5080,
29918,
29896,
29892,
3252,
262,
29918,
29906,
29897,
13,
29871,
1480,
1169,
353,
15886,
29889,
2922,
16109,
29898,
3044,
29918,
12765,
29892,
285,
29883,
29918,
705,
5861,
29961,
29896,
2314,
718,
285,
29883,
29918,
5365,
2129,
29961,
29896,
29962,
13,
29871,
736,
15886,
29889,
15755,
29889,
18816,
29885,
3398,
29898,
1188,
1169,
29897,
13,
13,
13,
1753,
11905,
29918,
705,
5861,
7295,
13,
29871,
9995,
13,
29871,
2847,
7093,
278,
2286,
25187,
943,
304,
367,
16370,
297,
278,
19677,
3564,
29892,
1602,
2247,
13,
29871,
3564,
13391,
13,
29871,
584,
2457,
29901,
7573,
363,
278,
3651,
13,
29871,
9995,
13,
29871,
396,
3252,
262,
3564,
26851,
322,
11565,
292,
3651,
13,
29871,
7602,
29918,
705,
5861,
353,
5159,
13,
29871,
7602,
29918,
5365,
2129,
353,
5159,
13,
29871,
285,
29883,
29918,
705,
5861,
353,
5159,
13,
29871,
285,
29883,
29918,
5365,
2129,
353,
5159,
13,
29871,
363,
474,
297,
3464,
29898,
5527,
29889,
13967,
29918,
6007,
21819,
1125,
13,
1678,
565,
474,
1275,
29871,
29900,
29901,
13,
418,
297,
29886,
353,
1970,
29889,
13967,
29918,
3210,
2190,
29940,
6670,
29903,
13,
1678,
1683,
29901,
13,
418,
297,
29886,
353,
1970,
29889,
13967,
29918,
3738,
29931,
4945,
29903,
29961,
29875,
448,
29871,
29896,
29962,
13,
1678,
714,
353,
1970,
29889,
13967,
29918,
3738,
29931,
4945,
29903,
29961,
29875,
29962,
13,
1678,
7602,
29918,
6229,
353,
518,
5527,
29889,
3738,
29931,
4945,
29918,
1307,
29940,
29892,
1970,
29889,
3738,
29931,
4945,
29918,
1307,
29940,
29892,
297,
29886,
29892,
714,
29962,
13,
1678,
7688,
29918,
978,
353,
376,
29873,
5080,
29918,
20580,
29908,
718,
851,
29898,
29875,
718,
29871,
29896,
29897,
718,
11119,
705,
5861,
29908,
13,
1678,
24003,
29918,
978,
353,
376,
29873,
5080,
29918,
20580,
29908,
718,
851,
29898,
29875,
718,
29871,
29896,
29897,
718,
11119,
5365,
2129,
29908,
13,
1678,
7602,
29918,
705,
5861,
29889,
4397,
29898,
13264,
29889,
16174,
29898,
13264,
29889,
509,
4661,
630,
29918,
8945,
29898,
20580,
29918,
6229,
29892,
3659,
3359,
29922,
29900,
29889,
29896,
29892,
13,
462,
462,
1678,
16717,
29922,
5527,
29889,
1660,
3352,
29892,
26688,
29922,
5527,
29889,
29928,
11116,
511,
13,
462,
462,
1678,
1024,
29922,
7915,
29918,
978,
876,
13,
1678,
7602,
29918,
5365,
2129,
29889,
4397,
29898,
13264,
29889,
16174,
29898,
13264,
29889,
3298,
359,
4197,
449,
1402,
26688,
29922,
5527,
29889,
29928,
11116,
511,
13,
462,
462,
259,
1024,
29922,
29890,
3173,
29918,
978,
876,
13,
29871,
396,
3252,
262,
3564,
2989,
368,
6631,
3651,
13,
29871,
297,
29886,
353,
1970,
29889,
16359,
1299,
11499,
29918,
23827,
29918,
14226,
13,
29871,
714,
353,
1970,
29889,
13967,
29918,
8610,
29918,
8186,
4574,
1164,
29903,
13,
29871,
285,
29883,
29918,
705,
5861,
29889,
4397,
29898,
13264,
29889,
16174,
29898,
13264,
29889,
509,
4661,
630,
29918,
8945,
4197,
262,
29886,
29892,
714,
1402,
3659,
3359,
29922,
29900,
29889,
29896,
29892,
13,
462,
18884,
16717,
29922,
5527,
29889,
1660,
3352,
29892,
26688,
29922,
5527,
29889,
29928,
11116,
511,
13,
462,
18884,
1024,
543,
29873,
5080,
29918,
13801,
29918,
705,
5861,
5783,
13,
29871,
285,
29883,
29918,
5365,
2129,
29889,
4397,
29898,
13264,
29889,
16174,
29898,
13264,
29889,
23362,
29898,
29900,
29889,
29896,
29892,
8267,
11759,
449,
1402,
26688,
29922,
5527,
29889,
29928,
11116,
511,
13,
462,
1669,
1024,
543,
29873,
5080,
29918,
13801,
29918,
5365,
2129,
5783,
13,
29871,
396,
8772,
3564,
8072,
6631,
3651,
13,
29871,
297,
29886,
353,
1970,
29889,
13967,
29918,
8610,
29918,
8186,
4574,
1164,
29903,
13,
29871,
714,
353,
29871,
29896,
13,
29871,
285,
29883,
29918,
705,
5861,
29889,
4397,
29898,
13264,
29889,
16174,
29898,
13264,
29889,
509,
4661,
630,
29918,
8945,
4197,
262,
29886,
29892,
714,
1402,
3659,
3359,
29922,
29900,
29889,
29896,
29892,
13,
462,
18884,
16717,
29922,
5527,
29889,
1660,
3352,
29892,
26688,
29922,
5527,
29889,
29928,
11116,
511,
13,
462,
18884,
1024,
543,
2212,
1312,
29918,
13801,
29918,
705,
5861,
5783,
13,
29871,
285,
29883,
29918,
5365,
2129,
29889,
4397,
29898,
13264,
29889,
16174,
29898,
13264,
29889,
23362,
29898,
29900,
29889,
29896,
29892,
8267,
11759,
449,
1402,
26688,
29922,
5527,
29889,
29928,
11116,
511,
13,
462,
1669,
1024,
543,
2212,
1312,
29918,
13801,
29918,
5365,
2129,
5783,
13,
29871,
736,
7602,
29918,
705,
5861,
29892,
7602,
29918,
5365,
2129,
29892,
285,
29883,
29918,
705,
5861,
29892,
285,
29883,
29918,
5365,
2129,
13,
13,
13,
1753,
954,
29918,
7529,
7295,
13,
29871,
9995,
13,
29871,
3408,
1078,
278,
1353,
310,
4128,
297,
278,
1904,
13,
29871,
584,
2457,
29901,
286,
29892,
1353,
310,
4128,
13,
29871,
9995,
13,
29871,
286,
353,
29871,
29900,
13,
29871,
363,
474,
297,
3464,
29898,
5527,
29889,
13967,
29918,
6007,
21819,
1125,
13,
1678,
565,
474,
1275,
29871,
29900,
29901,
13,
418,
297,
29886,
353,
1970,
29889,
13967,
29918,
3210,
2190,
29940,
6670,
29903,
13,
1678,
1683,
29901,
13,
418,
297,
29886,
353,
1970,
29889,
13967,
29918,
3738,
29931,
4945,
29903,
29961,
29875,
448,
29871,
29896,
29962,
13,
1678,
714,
353,
1970,
29889,
13967,
29918,
3738,
29931,
4945,
29903,
29961,
29875,
29962,
13,
1678,
7602,
29918,
6229,
353,
518,
5527,
29889,
3738,
29931,
4945,
29918,
1307,
29940,
29892,
1970,
29889,
3738,
29931,
4945,
29918,
1307,
29940,
29892,
297,
29886,
29892,
714,
29962,
13,
1678,
286,
4619,
7442,
29889,
10633,
29898,
20580,
29918,
6229,
29897,
718,
7442,
29889,
10633,
29898,
449,
29897,
13,
29871,
297,
29886,
353,
1970,
29889,
16359,
1299,
11499,
29918,
23827,
29918,
14226,
13,
29871,
714,
353,
1970,
29889,
13967,
29918,
8610,
29918,
8186,
4574,
1164,
29903,
13,
29871,
286,
4619,
297,
29886,
334,
714,
718,
714,
13,
29871,
297,
29886,
353,
1970,
29889,
13967,
29918,
8610,
29918,
8186,
4574,
1164,
29903,
13,
29871,
714,
353,
29871,
29896,
13,
29871,
286,
4619,
297,
29886,
334,
714,
718,
714,
13,
29871,
736,
286,
13,
13,
13,
361,
4770,
978,
1649,
1275,
376,
1649,
3396,
1649,
1115,
13,
29871,
1596,
703,
4557,
310,
12662,
2699,
29901,
376,
718,
851,
29898,
1949,
29918,
7529,
22130,
13,
2
] |
src/temp2.py | FabBrolMons/frbayart | 0 | 238 | from w1thermsensor import W1ThermSensor
sensor = W1ThermSensor()
temperature_in_celsius = sensor.get_temperature()
temperature_in_fahrenheit = sensor.get_temperature(W1ThermSensor.DEGREES_F)
temperature_in_all_units = sensor.get_temperatures([W1ThermSensor.DEGREES_C, W1ThermSensor.DEGREES_F, W1ThermSensor.KELVIN])
print("Sensor id:" + sensor.id)
print(temperature_in_celsius)
| [
1,
515,
281,
29896,
721,
1516,
6073,
1053,
399,
29896,
1349,
837,
29903,
6073,
13,
13,
29879,
6073,
353,
399,
29896,
1349,
837,
29903,
6073,
580,
13,
12863,
1535,
29918,
262,
29918,
2242,
1039,
375,
353,
23530,
29889,
657,
29918,
12863,
1535,
580,
13,
12863,
1535,
29918,
262,
29918,
19243,
6884,
353,
23530,
29889,
657,
29918,
12863,
1535,
29898,
29956,
29896,
1349,
837,
29903,
6073,
29889,
2287,
29954,
1525,
2890,
29918,
29943,
29897,
13,
12863,
1535,
29918,
262,
29918,
497,
29918,
348,
1169,
353,
23530,
29889,
657,
29918,
12863,
3698,
4197,
29956,
29896,
1349,
837,
29903,
6073,
29889,
2287,
29954,
1525,
2890,
29918,
29907,
29892,
399,
29896,
1349,
837,
29903,
6073,
29889,
2287,
29954,
1525,
2890,
29918,
29943,
29892,
399,
29896,
1349,
837,
29903,
6073,
29889,
6059,
29931,
29963,
1177,
2314,
13,
2158,
703,
29903,
6073,
1178,
6160,
718,
23530,
29889,
333,
29897,
13,
2158,
29898,
12863,
1535,
29918,
262,
29918,
2242,
1039,
375,
29897,
13,
2
] |
cms/migrations/0006_auto_20170122_1545.py | josemlp91/django-landingcms | 0 | 10310 | # -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-01-22 15:45
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('content', '0002_auto_20170122_1509'),
('cms', '0005_auto_20170122_1534'),
]
operations = [
migrations.AddField(
model_name='paginahome',
name='posts1_imagen',
field=models.OneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='posts1_imagen', to='content.ImageContent'),
),
migrations.AddField(
model_name='paginahome',
name='posts1_texto',
field=models.OneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='posts1_texto', to='content.TextContent'),
),
migrations.AddField(
model_name='paginahome',
name='posts1_titulo',
field=models.OneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='posts1_titulo', to='content.TitleContent'),
),
migrations.AddField(
model_name='paginahome',
name='posts2_imagen',
field=models.OneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='posts2_imagen', to='content.ImageContent'),
),
migrations.AddField(
model_name='paginahome',
name='posts2_texto',
field=models.OneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='posts2_texto', to='content.TextContent'),
),
migrations.AddField(
model_name='paginahome',
name='posts2_titulo',
field=models.OneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='posts2_titulo', to='content.TitleContent'),
),
migrations.AddField(
model_name='paginahome',
name='posts3_imagen',
field=models.OneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='posts3_imagen', to='content.ImageContent'),
),
migrations.AddField(
model_name='paginahome',
name='posts3_texto',
field=models.OneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='posts3_texto', to='content.TextContent'),
),
migrations.AddField(
model_name='paginahome',
name='posts3_titulo',
field=models.OneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='posts3_titulo', to='content.TitleContent'),
),
migrations.AddField(
model_name='paginahome',
name='posts4_imagen',
field=models.OneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='posts4_imagen', to='content.ImageContent'),
),
migrations.AddField(
model_name='paginahome',
name='posts4_texto',
field=models.OneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='posts4_texto', to='content.TextContent'),
),
migrations.AddField(
model_name='paginahome',
name='posts4_titulo',
field=models.OneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='posts4_titulo', to='content.TitleContent'),
),
]
| [
1,
396,
448,
29930,
29899,
14137,
29901,
23616,
29899,
29947,
448,
29930,
29899,
13,
29937,
3251,
630,
491,
15337,
29871,
29896,
29889,
29896,
29900,
29889,
29945,
373,
29871,
29906,
29900,
29896,
29955,
29899,
29900,
29896,
29899,
29906,
29906,
29871,
29896,
29945,
29901,
29946,
29945,
13,
3166,
4770,
29888,
9130,
1649,
1053,
29104,
29918,
20889,
1338,
13,
13,
3166,
9557,
29889,
2585,
1053,
9725,
800,
29892,
4733,
13,
5215,
9557,
29889,
2585,
29889,
9794,
29889,
311,
1026,
291,
13,
13,
13,
1990,
341,
16783,
29898,
26983,
800,
29889,
29924,
16783,
1125,
13,
13,
1678,
9962,
353,
518,
13,
4706,
6702,
3051,
742,
525,
29900,
29900,
29900,
29906,
29918,
6921,
29918,
29906,
29900,
29896,
29955,
29900,
29896,
29906,
29906,
29918,
29896,
29945,
29900,
29929,
5477,
13,
4706,
6702,
29883,
1516,
742,
525,
29900,
29900,
29900,
29945,
29918,
6921,
29918,
29906,
29900,
29896,
29955,
29900,
29896,
29906,
29906,
29918,
29896,
29945,
29941,
29946,
5477,
13,
1678,
4514,
13,
13,
1678,
6931,
353,
518,
13,
4706,
9725,
800,
29889,
2528,
3073,
29898,
13,
9651,
1904,
29918,
978,
2433,
13573,
262,
801,
608,
742,
13,
9651,
1024,
2433,
14080,
29896,
29918,
326,
5370,
742,
13,
9651,
1746,
29922,
9794,
29889,
6716,
1762,
6716,
3073,
29898,
19465,
29922,
5574,
29892,
1870,
29922,
5574,
29892,
373,
29918,
8143,
29922,
14095,
29889,
2585,
29889,
9794,
29889,
311,
1026,
291,
29889,
29907,
3289,
5454,
2287,
29892,
4475,
29918,
978,
2433,
14080,
29896,
29918,
326,
5370,
742,
304,
2433,
3051,
29889,
2940,
3916,
5477,
13,
4706,
10353,
13,
4706,
9725,
800,
29889,
2528,
3073,
29898,
13,
9651,
1904,
29918,
978,
2433,
13573,
262,
801,
608,
742,
13,
9651,
1024,
2433,
14080,
29896,
29918,
726,
29877,
742,
13,
9651,
1746,
29922,
9794,
29889,
6716,
1762,
6716,
3073,
29898,
19465,
29922,
5574,
29892,
1870,
29922,
5574,
29892,
373,
29918,
8143,
29922,
14095,
29889,
2585,
29889,
9794,
29889,
311,
1026,
291,
29889,
29907,
3289,
5454,
2287,
29892,
4475,
29918,
978,
2433,
14080,
29896,
29918,
726,
29877,
742,
304,
2433,
3051,
29889,
1626,
3916,
5477,
13,
4706,
10353,
13,
4706,
9725,
800,
29889,
2528,
3073,
29898,
13,
9651,
1904,
29918,
978,
2433,
13573,
262,
801,
608,
742,
13,
9651,
1024,
2433,
14080,
29896,
29918,
23545,
7207,
742,
13,
9651,
1746,
29922,
9794,
29889,
6716,
1762,
6716,
3073,
29898,
19465,
29922,
5574,
29892,
1870,
29922,
5574,
29892,
373,
29918,
8143,
29922,
14095,
29889,
2585,
29889,
9794,
29889,
311,
1026,
291,
29889,
29907,
3289,
5454,
2287,
29892,
4475,
29918,
978,
2433,
14080,
29896,
29918,
23545,
7207,
742,
304,
2433,
3051,
29889,
7030,
3916,
5477,
13,
4706,
10353,
13,
4706,
9725,
800,
29889,
2528,
3073,
29898,
13,
9651,
1904,
29918,
978,
2433,
13573,
262,
801,
608,
742,
13,
9651,
1024,
2433,
14080,
29906,
29918,
326,
5370,
742,
13,
9651,
1746,
29922,
9794,
29889,
6716,
1762,
6716,
3073,
29898,
19465,
29922,
5574,
29892,
1870,
29922,
5574,
29892,
373,
29918,
8143,
29922,
14095,
29889,
2585,
29889,
9794,
29889,
311,
1026,
291,
29889,
29907,
3289,
5454,
2287,
29892,
4475,
29918,
978,
2433,
14080,
29906,
29918,
326,
5370,
742,
304,
2433,
3051,
29889,
2940,
3916,
5477,
13,
4706,
10353,
13,
4706,
9725,
800,
29889,
2528,
3073,
29898,
13,
9651,
1904,
29918,
978,
2433,
13573,
262,
801,
608,
742,
13,
9651,
1024,
2433,
14080,
29906,
29918,
726,
29877,
742,
13,
9651,
1746,
29922,
9794,
29889,
6716,
1762,
6716,
3073,
29898,
19465,
29922,
5574,
29892,
1870,
29922,
5574,
29892,
373,
29918,
8143,
29922,
14095,
29889,
2585,
29889,
9794,
29889,
311,
1026,
291,
29889,
29907,
3289,
5454,
2287,
29892,
4475,
29918,
978,
2433,
14080,
29906,
29918,
726,
29877,
742,
304,
2433,
3051,
29889,
1626,
3916,
5477,
13,
4706,
10353,
13,
4706,
9725,
800,
29889,
2528,
3073,
29898,
13,
9651,
1904,
29918,
978,
2433,
13573,
262,
801,
608,
742,
13,
9651,
1024,
2433,
14080,
29906,
29918,
23545,
7207,
742,
13,
9651,
1746,
29922,
9794,
29889,
6716,
1762,
6716,
3073,
29898,
19465,
29922,
5574,
29892,
1870,
29922,
5574,
29892,
373,
29918,
8143,
29922,
14095,
29889,
2585,
29889,
9794,
29889,
311,
1026,
291,
29889,
29907,
3289,
5454,
2287,
29892,
4475,
29918,
978,
2433,
14080,
29906,
29918,
23545,
7207,
742,
304,
2433,
3051,
29889,
7030,
3916,
5477,
13,
4706,
10353,
13,
4706,
9725,
800,
29889,
2528,
3073,
29898,
13,
9651,
1904,
29918,
978,
2433,
13573,
262,
801,
608,
742,
13,
9651,
1024,
2433,
14080,
29941,
29918,
326,
5370,
742,
13,
9651,
1746,
29922,
9794,
29889,
6716,
1762,
6716,
3073,
29898,
19465,
29922,
5574,
29892,
1870,
29922,
5574,
29892,
373,
29918,
8143,
29922,
14095,
29889,
2585,
29889,
9794,
29889,
311,
1026,
291,
29889,
29907,
3289,
5454,
2287,
29892,
4475,
29918,
978,
2433,
14080,
29941,
29918,
326,
5370,
742,
304,
2433,
3051,
29889,
2940,
3916,
5477,
13,
4706,
10353,
13,
4706,
9725,
800,
29889,
2528,
3073,
29898,
13,
9651,
1904,
29918,
978,
2433,
13573,
262,
801,
608,
742,
13,
9651,
1024,
2433,
14080,
29941,
29918,
726,
29877,
742,
13,
9651,
1746,
29922,
9794,
29889,
6716,
1762,
6716,
3073,
29898,
19465,
29922,
5574,
29892,
1870,
29922,
5574,
29892,
373,
29918,
8143,
29922,
14095,
29889,
2585,
29889,
9794,
29889,
311,
1026,
291,
29889,
29907,
3289,
5454,
2287,
29892,
4475,
29918,
978,
2433,
14080,
29941,
29918,
726,
29877,
742,
304,
2433,
3051,
29889,
1626,
3916,
5477,
13,
4706,
10353,
13,
4706,
9725,
800,
29889,
2528,
3073,
29898,
13,
9651,
1904,
29918,
978,
2433,
13573,
262,
801,
608,
742,
13,
9651,
1024,
2433,
14080,
29941,
29918,
23545,
7207,
742,
13,
9651,
1746,
29922,
9794,
29889,
6716,
1762,
6716,
3073,
29898,
19465,
29922,
5574,
29892,
1870,
29922,
5574,
29892,
373,
29918,
8143,
29922,
14095,
29889,
2585,
29889,
9794,
29889,
311,
1026,
291,
29889,
29907,
3289,
5454,
2287,
29892,
4475,
29918,
978,
2433,
14080,
29941,
29918,
23545,
7207,
742,
304,
2433,
3051,
29889,
7030,
3916,
5477,
13,
4706,
10353,
13,
4706,
9725,
800,
29889,
2528,
3073,
29898,
13,
9651,
1904,
29918,
978,
2433,
13573,
262,
801,
608,
742,
13,
9651,
1024,
2433,
14080,
29946,
29918,
326,
5370,
742,
13,
9651,
1746,
29922,
9794,
29889,
6716,
1762,
6716,
3073,
29898,
19465,
29922,
5574,
29892,
1870,
29922,
5574,
29892,
373,
29918,
8143,
29922,
14095,
29889,
2585,
29889,
9794,
29889,
311,
1026,
291,
29889,
29907,
3289,
5454,
2287,
29892,
4475,
29918,
978,
2433,
14080,
29946,
29918,
326,
5370,
742,
304,
2433,
3051,
29889,
2940,
3916,
5477,
13,
4706,
10353,
13,
4706,
9725,
800,
29889,
2528,
3073,
29898,
13,
9651,
1904,
29918,
978,
2433,
13573,
262,
801,
608,
742,
13,
9651,
1024,
2433,
14080,
29946,
29918,
726,
29877,
742,
13,
9651,
1746,
29922,
9794,
29889,
6716,
1762,
6716,
3073,
29898,
19465,
29922,
5574,
29892,
1870,
29922,
5574,
29892,
373,
29918,
8143,
29922,
14095,
29889,
2585,
29889,
9794,
29889,
311,
1026,
291,
29889,
29907,
3289,
5454,
2287,
29892,
4475,
29918,
978,
2433,
14080,
29946,
29918,
726,
29877,
742,
304,
2433,
3051,
29889,
1626,
3916,
5477,
13,
4706,
10353,
13,
4706,
9725,
800,
29889,
2528,
3073,
29898,
13,
9651,
1904,
29918,
978,
2433,
13573,
262,
801,
608,
742,
13,
9651,
1024,
2433,
14080,
29946,
29918,
23545,
7207,
742,
13,
9651,
1746,
29922,
9794,
29889,
6716,
1762,
6716,
3073,
29898,
19465,
29922,
5574,
29892,
1870,
29922,
5574,
29892,
373,
29918,
8143,
29922,
14095,
29889,
2585,
29889,
9794,
29889,
311,
1026,
291,
29889,
29907,
3289,
5454,
2287,
29892,
4475,
29918,
978,
2433,
14080,
29946,
29918,
23545,
7207,
742,
304,
2433,
3051,
29889,
7030,
3916,
5477,
13,
4706,
10353,
13,
1678,
4514,
13,
2
] |
pypeflow/plugins/contrib/__init__.py | pypeflow/pypeflow | 2 | 59721 | # coding: utf-8
from __future__ import unicode_literals
__author__ = 'gleber'
| [
1,
396,
14137,
29901,
23616,
29899,
29947,
13,
3166,
4770,
29888,
9130,
1649,
1053,
29104,
29918,
20889,
1338,
13,
13,
1649,
8921,
1649,
353,
525,
6234,
495,
29915,
13,
2
] |
src/main/9.tuning_parameters.py | Peter-32/bank_customer | 0 | 154066 | # Add this project to the path
import os; import sys; currDir = os.path.dirname(os.path.realpath("__file__"))
rootDir = os.path.abspath(os.path.join(currDir, '..')); sys.path.insert(1, rootDir)
# Warnings
import warnings
warnings.filterwarnings("ignore")
# My modules
from features.build_features import *
# Public modules
from sklearn.model_selection import GridSearchCV
import numpy as np
from pandas import read_csv
import matplotlib.pyplot as plt
from sklearn.pipeline import Pipeline
from sklearn.linear_model import LogisticRegression
from sklearn.model_selection import cross_val_score, learning_curve
from sklearn.metrics import precision_recall_curve, confusion_matrix, \
precision_score, recall_score
from sklearn.model_selection import cross_val_predict
from numpy.random import seed
import lightgbm as lgb
# Inputs
SHOW_ERROR_ANALYSIS = True
# Extract
seed(40)
train = read_csv("../../data/interim/train.csv")
train_y = train[["y"]].values
dev = read_csv("../../data/interim/dev.csv")
dev_y = dev[["y"]].values
# Data parameters
features_pipeline = data_preparation()
# Model parameters
full_pipeline = Pipeline([
("features", features_pipeline),
("clf", lgb.LGBMClassifier(class_weight='balanced')),
])
import warnings
warnings.simplefilter(action='ignore', category=FutureWarning)
from sklearn.model_selection import train_test_split
# Set seed
np.random.seed(40)
# Initialize
max_score = 0.0
initial_n_estimators = 50
best_params = {'n_estimators':initial_n_estimators, 'learning_rate':0.1, 'max_depth':6, 'subsample':1.00, 'colsample_bytree':1.0, 'reg_lambda':1}
def get_score(params):
model = Pipeline([
("features", features_pipeline),
("clf", lgb.LGBMClassifier(class_weight='balanced', **params)),
])
print("Fitting model")
print(params)
model.fit(train, train_y)
prob_y = model.predict_proba(dev)[:, 1]
precision, recall, _ = precision_recall_curve(dev_y, prob_y, pos_label=1)
score = max([y for (x,y) in zip(precision, recall) if x >= 0.20])
return score
# 1) Tune max depth
params = best_params.copy()
for max_depth in [1, 2, 4, 6, 8]:
params['max_depth'] = max_depth
score = get_score(params)
if score > max_score:
max_score = score
best_params = params.copy()
print("Tuned max depth and have a new max score: %.3f" % score)
# 2) Tune subsample
params = best_params.copy()
for subsample in [0.40, 0.60, 0.80, 0.90]:
params["subsample"] = subsample
score = get_score(params)
if score > max_score:
max_score = score
best_params = params.copy()
print("Tuned subsample and have a new max score: %.3f" % score)
# 3) Tune n_estimators
params = best_params.copy()
for n_estimators in [1.1, 1.3]:
params["n_estimators"] = int(initial_n_estimators*n_estimators)
score = get_score(params)
if score > max_score:
max_score = score
best_params = params.copy()
print("Tuned n_estimators and have a new max score: %.3f" % score)
# 4) Tune learning rate
params = best_params.copy()
for n_estimators, learning_rate in zip([initial_n_estimators*1.4, int(initial_n_estimators/1.4)], [0.07, 0.15]):
params["n_estimators"] = int(n_estimators)
params["learning_rate"] = learning_rate
score = get_score(params)
if score > max_score:
max_score = score
best_params = params.copy()
print("Tuned learning rate and have a new max score: %.3f" % score)
# 5) Tune n_estimators again
params = best_params.copy()
for n_estimators in [int(1.1*initial_n_estimators), int(1.2*initial_n_estimators)]:
params["n_estimators"] = n_estimators
score = get_score(params)
if score > max_score:
max_score = score
best_params = params.copy()
print("Tuned n_estimators again and have a new max score: %.3f" % score)
# 6) Tune sampling by tree
params = best_params.copy()
for colsample_bytree in [0.6, 0.8, 0.9]:
params["colsample_bytree"] = colsample_bytree
score = get_score(params)
if score > max_score:
max_score = score
best_params = params.copy()
print("Tuned colsample_bytree and have a new max score: %.3f" % score)
# 7) Tune subsample again
params = best_params.copy()
for subsample in [0.6, 0.75, 0.9]:
params["subsample"] = subsample
score = get_score(params)
if score > max_score:
max_score = score
best_params = params.copy()
print("Tuned subsample again and have a new max score: %.3f" % score)
# 9) Tune sampling fields
params = best_params.copy()
subsample_ = 0.9 if best_params["subsample"] == 1.0 else best_params["subsample"]
colsample_bytree_ = 0.6 if best_params["colsample_bytree"] == 0.5 else best_params["colsample_bytree"]
for subsample in [subsample_, subsample_ + 0.1]:
for colsample_bytree in [colsample_bytree_ - 0.1, colsample_bytree_]:
params["subsample"] = subsample
params["colsample_bytree"] = colsample_bytree
score = get_score(params)
if score > max_score:
max_score = score
best_params = params.copy()
print("Tuned sampling fields and have a new max score: %.3f" % score)
# 10) Tune alpha
params = best_params.copy()
for reg_lambda in [3, 10, 33, 100, 300]:
params["reg_lambda"] = reg_lambda
score = get_score(params)
if score > max_score:
max_score = score
best_params = params.copy()
print("Tuned alpha and have a new max score: %.3f" % score)
# 11) Tune trees
params = best_params.copy()
up = 1
for i in range(5):
params["n_estimators"] = int(params["n_estimators"] * (1.4 - 0.05*i) if up == 1 else params["n_estimators"] / (1.4 - 0.05*i))
score = get_score(params)
if score > max_score:
max_score = score
best_params = params.copy()
print("Tuned n_estimators and have a new max score: %.3f" % score)
else:
up = 0 if up == 1 else 1
print("Max score: %.3f" % max_score)
print("Best params: %s" % best_params)
full_pipeline = Pipeline([
("features", features_pipeline),
("clf", lgb.LGBMClassifier(class_weight='balanced', **best_params)),
])
full_pipeline = Pipeline([
("features", features_pipeline),
("clf", lgb.LGBMClassifier(class_weight='balanced')),
])
# Tune features pipeline parameters
parameters = {
'features__num_pipeline__new_numeric_attribs_adder__add_age_booleans': [True, False],
'features__hybrid_pipeline__new_hybrid_attribs_adder__add_income': [True, False],
'features__cat_pipeline__drop_unimportant_category_values__drop': [True, False],
'features__cat_pipeline__cat_encoder__drop': ['first', None]
}
gs = GridSearchCV(full_pipeline, parameters, cv=5)
gs.fit(train, train_y)
print("Best params: %s" % gs.best_params_)
full_pipeline = Pipeline([
("features", features_pipeline),
("clf", lgb.LGBMClassifier(class_weight='balanced', **best_params, **gs.best_params_)),
])
# Fit
full_pipeline.fit(train, train_y)
# Predict
precision_threshold = 0.20
prob_y = full_pipeline.predict_proba(dev)[:, 1]
precision, recall, thresholds = precision_recall_curve(dev_y, prob_y, pos_label=1)
print(precision, recall, thresholds)
score = max([y for (x,y) in zip(precision, recall) if x >= precision_threshold])
print('Recall score: %.3f' % score)
# Error analysis
if SHOW_ERROR_ANALYSIS:
precision_threshold_index = min([i for (x,i) in zip(precision, range(len(precision))) if x >= precision_threshold])
dev["prob_y"] = prob_y
prob_y_threshold = (list(thresholds) + [1.1])[precision_threshold_index]
pred_y = (prob_y >= prob_y_threshold).astype(bool)
print("Prob y Threshold: %.1f" % (prob_y_threshold*100))
print(confusion_matrix(dev_y, pred_y))
print("Recall: %.1f" % (recall_score(dev_y, pred_y)*100))
print("Precision: %.1f" % (precision_score(dev_y, pred_y)*100))
| [
1,
396,
3462,
445,
2060,
304,
278,
2224,
13,
5215,
2897,
29936,
1053,
10876,
29936,
16256,
9170,
353,
2897,
29889,
2084,
29889,
25721,
29898,
359,
29889,
2084,
29889,
6370,
2084,
703,
1649,
1445,
1649,
5783,
13,
4632,
9170,
353,
2897,
29889,
2084,
29889,
370,
1028,
493,
29898,
359,
29889,
2084,
29889,
7122,
29898,
21962,
9170,
29892,
525,
636,
14749,
10876,
29889,
2084,
29889,
7851,
29898,
29896,
29892,
3876,
9170,
29897,
13,
13,
29937,
399,
2753,
886,
13,
5215,
18116,
13,
25442,
886,
29889,
4572,
25442,
886,
703,
17281,
1159,
13,
13,
29937,
1619,
10585,
13,
3166,
5680,
29889,
4282,
29918,
22100,
1053,
334,
13,
13,
29937,
5236,
10585,
13,
3166,
2071,
19668,
29889,
4299,
29918,
21731,
1053,
11657,
7974,
15633,
13,
5215,
12655,
408,
7442,
13,
3166,
11701,
1053,
1303,
29918,
7638,
13,
5215,
22889,
29889,
2272,
5317,
408,
14770,
13,
3166,
2071,
19668,
29889,
13096,
5570,
1053,
349,
23828,
13,
3166,
2071,
19668,
29889,
10660,
29918,
4299,
1053,
4522,
4695,
4597,
23881,
13,
3166,
2071,
19668,
29889,
4299,
29918,
21731,
1053,
4891,
29918,
791,
29918,
13628,
29892,
6509,
29918,
2764,
345,
13,
3166,
2071,
19668,
29889,
2527,
10817,
1053,
16716,
29918,
3757,
497,
29918,
2764,
345,
29892,
14679,
29918,
5344,
29892,
320,
13,
462,
9651,
16716,
29918,
13628,
29892,
17386,
29918,
13628,
13,
3166,
2071,
19668,
29889,
4299,
29918,
21731,
1053,
4891,
29918,
791,
29918,
27711,
13,
3166,
12655,
29889,
8172,
1053,
16717,
13,
5215,
3578,
29887,
5838,
408,
301,
26300,
13,
13,
29937,
10567,
29879,
13,
7068,
9806,
29918,
11432,
29918,
2190,
1964,
21554,
3235,
353,
5852,
13,
13,
29937,
7338,
1461,
13,
26776,
29898,
29946,
29900,
29897,
13,
14968,
353,
1303,
29918,
7638,
703,
21546,
1272,
29914,
1639,
326,
29914,
14968,
29889,
7638,
1159,
13,
14968,
29918,
29891,
353,
7945,
29961,
3366,
29891,
3108,
1822,
5975,
13,
3359,
353,
1303,
29918,
7638,
703,
21546,
1272,
29914,
1639,
326,
29914,
3359,
29889,
7638,
1159,
13,
3359,
29918,
29891,
353,
2906,
29961,
3366,
29891,
3108,
1822,
5975,
13,
13,
29937,
3630,
4128,
13,
22100,
29918,
13096,
5570,
353,
848,
29918,
1457,
862,
362,
580,
13,
13,
29937,
8125,
4128,
13,
8159,
29918,
13096,
5570,
353,
349,
23828,
4197,
13,
1678,
4852,
22100,
613,
5680,
29918,
13096,
5570,
511,
13,
1678,
4852,
695,
29888,
613,
301,
26300,
29889,
29931,
7210,
29924,
2385,
3709,
29898,
1990,
29918,
7915,
2433,
5521,
8362,
1495,
511,
13,
2314,
13,
13,
13,
13,
13,
13,
13,
13,
13,
13,
13,
5215,
18116,
13,
25442,
886,
29889,
12857,
4572,
29898,
2467,
2433,
17281,
742,
7663,
29922,
20154,
22709,
29897,
13,
3166,
2071,
19668,
29889,
4299,
29918,
21731,
1053,
7945,
29918,
1688,
29918,
5451,
13,
13,
29937,
3789,
16717,
13,
9302,
29889,
8172,
29889,
26776,
29898,
29946,
29900,
29897,
13,
13,
29937,
25455,
13,
3317,
29918,
13628,
353,
29871,
29900,
29889,
29900,
13,
11228,
29918,
29876,
29918,
342,
326,
4097,
353,
29871,
29945,
29900,
13,
13318,
29918,
7529,
353,
11117,
29876,
29918,
342,
326,
4097,
2396,
11228,
29918,
29876,
29918,
342,
326,
4097,
29892,
525,
21891,
29918,
10492,
2396,
29900,
29889,
29896,
29892,
525,
3317,
29918,
19488,
2396,
29953,
29892,
525,
1491,
11249,
2396,
29896,
29889,
29900,
29900,
29892,
525,
1054,
11249,
29918,
1609,
8336,
2396,
29896,
29889,
29900,
29892,
525,
1727,
29918,
2892,
2396,
29896,
29913,
13,
13,
1753,
679,
29918,
13628,
29898,
7529,
1125,
13,
1678,
1904,
353,
349,
23828,
4197,
13,
4706,
4852,
22100,
613,
5680,
29918,
13096,
5570,
511,
13,
4706,
4852,
695,
29888,
613,
301,
26300,
29889,
29931,
7210,
29924,
2385,
3709,
29898,
1990,
29918,
7915,
2433,
5521,
8362,
742,
3579,
7529,
8243,
13,
268,
2314,
13,
1678,
1596,
703,
29943,
5367,
1904,
1159,
13,
1678,
1596,
29898,
7529,
29897,
13,
1678,
1904,
29889,
9202,
29898,
14968,
29892,
7945,
29918,
29891,
29897,
13,
1678,
2070,
29918,
29891,
353,
1904,
29889,
27711,
29918,
771,
2291,
29898,
3359,
29897,
7503,
29892,
29871,
29896,
29962,
13,
1678,
16716,
29892,
17386,
29892,
903,
353,
16716,
29918,
3757,
497,
29918,
2764,
345,
29898,
3359,
29918,
29891,
29892,
2070,
29918,
29891,
29892,
926,
29918,
1643,
29922,
29896,
29897,
13,
1678,
8158,
353,
4236,
4197,
29891,
363,
313,
29916,
29892,
29891,
29897,
297,
14319,
29898,
17990,
2459,
29892,
17386,
29897,
565,
921,
6736,
29871,
29900,
29889,
29906,
29900,
2314,
13,
1678,
736,
8158,
13,
13,
29937,
29871,
29896,
29897,
323,
1540,
4236,
10809,
13,
7529,
353,
1900,
29918,
7529,
29889,
8552,
580,
13,
1454,
4236,
29918,
19488,
297,
518,
29896,
29892,
29871,
29906,
29892,
29871,
29946,
29892,
29871,
29953,
29892,
29871,
29947,
5387,
13,
1678,
8636,
1839,
3317,
29918,
19488,
2033,
353,
4236,
29918,
19488,
13,
1678,
8158,
353,
679,
29918,
13628,
29898,
7529,
29897,
13,
1678,
565,
8158,
1405,
4236,
29918,
13628,
29901,
13,
4706,
4236,
29918,
13628,
353,
8158,
13,
4706,
1900,
29918,
7529,
353,
8636,
29889,
8552,
580,
13,
4706,
1596,
703,
29911,
348,
287,
4236,
10809,
322,
505,
263,
716,
4236,
8158,
29901,
18695,
29941,
29888,
29908,
1273,
8158,
29897,
13,
13,
29937,
29871,
29906,
29897,
323,
1540,
1014,
11249,
13,
7529,
353,
1900,
29918,
7529,
29889,
8552,
580,
13,
1454,
1014,
11249,
297,
518,
29900,
29889,
29946,
29900,
29892,
29871,
29900,
29889,
29953,
29900,
29892,
29871,
29900,
29889,
29947,
29900,
29892,
29871,
29900,
29889,
29929,
29900,
5387,
13,
1678,
8636,
3366,
1491,
11249,
3108,
353,
1014,
11249,
13,
1678,
8158,
353,
679,
29918,
13628,
29898,
7529,
29897,
13,
1678,
565,
8158,
1405,
4236,
29918,
13628,
29901,
13,
4706,
4236,
29918,
13628,
353,
8158,
13,
4706,
1900,
29918,
7529,
353,
8636,
29889,
8552,
580,
13,
4706,
1596,
703,
29911,
348,
287,
1014,
11249,
322,
505,
263,
716,
4236,
8158,
29901,
18695,
29941,
29888,
29908,
1273,
8158,
29897,
13,
13,
29937,
29871,
29941,
29897,
323,
1540,
302,
29918,
342,
326,
4097,
13,
7529,
353,
1900,
29918,
7529,
29889,
8552,
580,
13,
1454,
302,
29918,
342,
326,
4097,
297,
518,
29896,
29889,
29896,
29892,
29871,
29896,
29889,
29941,
5387,
13,
1678,
8636,
3366,
29876,
29918,
342,
326,
4097,
3108,
353,
938,
29898,
11228,
29918,
29876,
29918,
342,
326,
4097,
29930,
29876,
29918,
342,
326,
4097,
29897,
13,
1678,
8158,
353,
679,
29918,
13628,
29898,
7529,
29897,
13,
1678,
565,
8158,
1405,
4236,
29918,
13628,
29901,
13,
4706,
4236,
29918,
13628,
353,
8158,
13,
4706,
1900,
29918,
7529,
353,
8636,
29889,
8552,
580,
13,
4706,
1596,
703,
29911,
348,
287,
302,
29918,
342,
326,
4097,
322,
505,
263,
716,
4236,
8158,
29901,
18695,
29941,
29888,
29908,
1273,
8158,
29897,
13,
13,
29937,
29871,
29946,
29897,
323,
1540,
6509,
6554,
13,
7529,
353,
1900,
29918,
7529,
29889,
8552,
580,
13,
1454,
302,
29918,
342,
326,
4097,
29892,
6509,
29918,
10492,
297,
14319,
4197,
11228,
29918,
29876,
29918,
342,
326,
4097,
29930,
29896,
29889,
29946,
29892,
938,
29898,
11228,
29918,
29876,
29918,
342,
326,
4097,
29914,
29896,
29889,
29946,
29897,
1402,
518,
29900,
29889,
29900,
29955,
29892,
29871,
29900,
29889,
29896,
29945,
29962,
1125,
13,
1678,
8636,
3366,
29876,
29918,
342,
326,
4097,
3108,
353,
938,
29898,
29876,
29918,
342,
326,
4097,
29897,
13,
1678,
8636,
3366,
21891,
29918,
10492,
3108,
353,
6509,
29918,
10492,
13,
1678,
8158,
353,
679,
29918,
13628,
29898,
7529,
29897,
13,
1678,
565,
8158,
1405,
4236,
29918,
13628,
29901,
13,
4706,
4236,
29918,
13628,
353,
8158,
13,
4706,
1900,
29918,
7529,
353,
8636,
29889,
8552,
580,
13,
4706,
1596,
703,
29911,
348,
287,
6509,
6554,
322,
505,
263,
716,
4236,
8158,
29901,
18695,
29941,
29888,
29908,
1273,
8158,
29897,
13,
13,
29937,
29871,
29945,
29897,
323,
1540,
302,
29918,
342,
326,
4097,
1449,
13,
7529,
353,
1900,
29918,
7529,
29889,
8552,
580,
13,
1454,
302,
29918,
342,
326,
4097,
297,
518,
524,
29898,
29896,
29889,
29896,
29930,
11228,
29918,
29876,
29918,
342,
326,
4097,
511,
938,
29898,
29896,
29889,
29906,
29930,
11228,
29918,
29876,
29918,
342,
326,
4097,
4638,
29901,
13,
1678,
8636,
3366,
29876,
29918,
342,
326,
4097,
3108,
353,
302,
29918,
342,
326,
4097,
13,
1678,
8158,
353,
679,
29918,
13628,
29898,
7529,
29897,
13,
1678,
565,
8158,
1405,
4236,
29918,
13628,
29901,
13,
4706,
4236,
29918,
13628,
353,
8158,
13,
4706,
1900,
29918,
7529,
353,
8636,
29889,
8552,
580,
13,
4706,
1596,
703,
29911,
348,
287,
302,
29918,
342,
326,
4097,
1449,
322,
505,
263,
716,
4236,
8158,
29901,
18695,
29941,
29888,
29908,
1273,
8158,
29897,
13,
13,
29937,
29871,
29953,
29897,
323,
1540,
23460,
491,
5447,
13,
7529,
353,
1900,
29918,
7529,
29889,
8552,
580,
13,
1454,
784,
11249,
29918,
1609,
8336,
297,
518,
29900,
29889,
29953,
29892,
29871,
29900,
29889,
29947,
29892,
29871,
29900,
29889,
29929,
5387,
13,
1678,
8636,
3366,
1054,
11249,
29918,
1609,
8336,
3108,
353,
784,
11249,
29918,
1609,
8336,
13,
1678,
8158,
353,
679,
29918,
13628,
29898,
7529,
29897,
13,
1678,
565,
8158,
1405,
4236,
29918,
13628,
29901,
13,
4706,
4236,
29918,
13628,
353,
8158,
13,
4706,
1900,
29918,
7529,
353,
8636,
29889,
8552,
580,
13,
4706,
1596,
703,
29911,
348,
287,
784,
11249,
29918,
1609,
8336,
322,
505,
263,
716,
4236,
8158,
29901,
18695,
29941,
29888,
29908,
1273,
8158,
29897,
13,
13,
29937,
29871,
29955,
29897,
323,
1540,
1014,
11249,
1449,
13,
7529,
353,
1900,
29918,
7529,
29889,
8552,
580,
13,
1454,
1014,
11249,
297,
518,
29900,
29889,
29953,
29892,
29871,
29900,
29889,
29955,
29945,
29892,
29871,
29900,
29889,
29929,
5387,
13,
1678,
8636,
3366,
1491,
11249,
3108,
353,
1014,
11249,
13,
1678,
8158,
353,
679,
29918,
13628,
29898,
7529,
29897,
13,
1678,
565,
8158,
1405,
4236,
29918,
13628,
29901,
13,
4706,
4236,
29918,
13628,
353,
8158,
13,
4706,
1900,
29918,
7529,
353,
8636,
29889,
8552,
580,
13,
4706,
1596,
703,
29911,
348,
287,
1014,
11249,
1449,
322,
505,
263,
716,
4236,
8158,
29901,
18695,
29941,
29888,
29908,
1273,
8158,
29897,
13,
13,
29937,
29871,
29929,
29897,
323,
1540,
23460,
4235,
13,
7529,
353,
1900,
29918,
7529,
29889,
8552,
580,
13,
1491,
11249,
29918,
353,
29871,
29900,
29889,
29929,
565,
1900,
29918,
7529,
3366,
1491,
11249,
3108,
1275,
29871,
29896,
29889,
29900,
1683,
1900,
29918,
7529,
3366,
1491,
11249,
3108,
13,
1054,
11249,
29918,
1609,
8336,
29918,
353,
29871,
29900,
29889,
29953,
565,
1900,
29918,
7529,
3366,
1054,
11249,
29918,
1609,
8336,
3108,
1275,
29871,
29900,
29889,
29945,
1683,
1900,
29918,
7529,
3366,
1054,
11249,
29918,
1609,
8336,
3108,
13,
1454,
1014,
11249,
297,
518,
1491,
11249,
3383,
1014,
11249,
29918,
718,
29871,
29900,
29889,
29896,
5387,
13,
1678,
363,
784,
11249,
29918,
1609,
8336,
297,
518,
1054,
11249,
29918,
1609,
8336,
29918,
448,
29871,
29900,
29889,
29896,
29892,
784,
11249,
29918,
1609,
8336,
29918,
5387,
13,
4706,
8636,
3366,
1491,
11249,
3108,
353,
1014,
11249,
13,
4706,
8636,
3366,
1054,
11249,
29918,
1609,
8336,
3108,
353,
784,
11249,
29918,
1609,
8336,
13,
4706,
8158,
353,
679,
29918,
13628,
29898,
7529,
29897,
13,
4706,
565,
8158,
1405,
4236,
29918,
13628,
29901,
13,
9651,
4236,
29918,
13628,
353,
8158,
13,
9651,
1900,
29918,
7529,
353,
8636,
29889,
8552,
580,
13,
9651,
1596,
703,
29911,
348,
287,
23460,
4235,
322,
505,
263,
716,
4236,
8158,
29901,
18695,
29941,
29888,
29908,
1273,
8158,
29897,
13,
13,
29937,
29871,
29896,
29900,
29897,
323,
1540,
15595,
13,
7529,
353,
1900,
29918,
7529,
29889,
8552,
580,
13,
1454,
1072,
29918,
2892,
297,
518,
29941,
29892,
29871,
29896,
29900,
29892,
29871,
29941,
29941,
29892,
29871,
29896,
29900,
29900,
29892,
29871,
29941,
29900,
29900,
5387,
13,
1678,
8636,
3366,
1727,
29918,
2892,
3108,
353,
1072,
29918,
2892,
13,
1678,
8158,
353,
679,
29918,
13628,
29898,
7529,
29897,
13,
1678,
565,
8158,
1405,
4236,
29918,
13628,
29901,
13,
4706,
4236,
29918,
13628,
353,
8158,
13,
4706,
1900,
29918,
7529,
353,
8636,
29889,
8552,
580,
13,
4706,
1596,
703,
29911,
348,
287,
15595,
322,
505,
263,
716,
4236,
8158,
29901,
18695,
29941,
29888,
29908,
1273,
8158,
29897,
13,
13,
29937,
29871,
29896,
29896,
29897,
323,
1540,
10697,
13,
7529,
353,
1900,
29918,
7529,
29889,
8552,
580,
13,
786,
353,
29871,
29896,
13,
1454,
474,
297,
3464,
29898,
29945,
1125,
13,
1678,
8636,
3366,
29876,
29918,
342,
326,
4097,
3108,
353,
938,
29898,
7529,
3366,
29876,
29918,
342,
326,
4097,
3108,
334,
313,
29896,
29889,
29946,
448,
29871,
29900,
29889,
29900,
29945,
29930,
29875,
29897,
565,
701,
1275,
29871,
29896,
1683,
8636,
3366,
29876,
29918,
342,
326,
4097,
3108,
847,
313,
29896,
29889,
29946,
448,
29871,
29900,
29889,
29900,
29945,
29930,
29875,
876,
13,
1678,
8158,
353,
679,
29918,
13628,
29898,
7529,
29897,
13,
1678,
565,
8158,
1405,
4236,
29918,
13628,
29901,
13,
4706,
4236,
29918,
13628,
353,
8158,
13,
4706,
1900,
29918,
7529,
353,
8636,
29889,
8552,
580,
13,
4706,
1596,
703,
29911,
348,
287,
302,
29918,
342,
326,
4097,
322,
505,
263,
716,
4236,
8158,
29901,
18695,
29941,
29888,
29908,
1273,
8158,
29897,
13,
1678,
1683,
29901,
13,
4706,
701,
353,
29871,
29900,
565,
701,
1275,
29871,
29896,
1683,
29871,
29896,
13,
13,
2158,
703,
7976,
8158,
29901,
18695,
29941,
29888,
29908,
1273,
4236,
29918,
13628,
29897,
13,
2158,
703,
25353,
8636,
29901,
1273,
29879,
29908,
1273,
1900,
29918,
7529,
29897,
13,
8159,
29918,
13096,
5570,
353,
349,
23828,
4197,
13,
1678,
4852,
22100,
613,
5680,
29918,
13096,
5570,
511,
13,
1678,
4852,
695,
29888,
613,
301,
26300,
29889,
29931,
7210,
29924,
2385,
3709,
29898,
1990,
29918,
7915,
2433,
5521,
8362,
742,
3579,
13318,
29918,
7529,
8243,
13,
2314,
13,
13,
8159,
29918,
13096,
5570,
353,
349,
23828,
4197,
13,
1678,
4852,
22100,
613,
5680,
29918,
13096,
5570,
511,
13,
1678,
4852,
695,
29888,
613,
301,
26300,
29889,
29931,
7210,
29924,
2385,
3709,
29898,
1990,
29918,
7915,
2433,
5521,
8362,
1495,
511,
13,
2314,
13,
13,
29937,
323,
1540,
5680,
16439,
4128,
13,
16744,
353,
426,
13,
1678,
525,
22100,
1649,
1949,
29918,
13096,
5570,
1649,
1482,
29918,
21574,
29918,
1131,
1091,
29879,
29918,
328,
672,
1649,
1202,
29918,
482,
29918,
833,
1772,
550,
2396,
518,
5574,
29892,
7700,
1402,
13,
1678,
525,
22100,
1649,
5819,
19515,
29918,
13096,
5570,
1649,
1482,
29918,
5819,
19515,
29918,
1131,
1091,
29879,
29918,
328,
672,
1649,
1202,
29918,
262,
2763,
2396,
518,
5574,
29892,
7700,
1402,
13,
1678,
525,
22100,
1649,
4117,
29918,
13096,
5570,
1649,
8865,
29918,
348,
17001,
29918,
7320,
29918,
5975,
1649,
8865,
2396,
518,
5574,
29892,
7700,
1402,
13,
1678,
525,
22100,
1649,
4117,
29918,
13096,
5570,
1649,
4117,
29918,
3977,
6119,
1649,
8865,
2396,
6024,
4102,
742,
6213,
29962,
13,
29913,
13,
13,
3174,
353,
11657,
7974,
15633,
29898,
8159,
29918,
13096,
5570,
29892,
4128,
29892,
13850,
29922,
29945,
29897,
13,
3174,
29889,
9202,
29898,
14968,
29892,
7945,
29918,
29891,
29897,
13,
13,
2158,
703,
25353,
8636,
29901,
1273,
29879,
29908,
1273,
330,
29879,
29889,
13318,
29918,
7529,
19925,
13,
8159,
29918,
13096,
5570,
353,
349,
23828,
4197,
13,
1678,
4852,
22100,
613,
5680,
29918,
13096,
5570,
511,
13,
1678,
4852,
695,
29888,
613,
301,
26300,
29889,
29931,
7210,
29924,
2385,
3709,
29898,
1990,
29918,
7915,
2433,
5521,
8362,
742,
3579,
13318,
29918,
7529,
29892,
3579,
3174,
29889,
13318,
29918,
7529,
29918,
8243,
13,
2314,
13,
13,
13,
13,
13,
13,
13,
29937,
383,
277,
13,
8159,
29918,
13096,
5570,
29889,
9202,
29898,
14968,
29892,
7945,
29918,
29891,
29897,
13,
13,
29937,
21099,
919,
13,
17990,
2459,
29918,
386,
12268,
353,
29871,
29900,
29889,
29906,
29900,
13,
22795,
29918,
29891,
353,
2989,
29918,
13096,
5570,
29889,
27711,
29918,
771,
2291,
29898,
3359,
29897,
7503,
29892,
29871,
29896,
29962,
13,
17990,
2459,
29892,
17386,
29892,
266,
3781,
3361,
353,
16716,
29918,
3757,
497,
29918,
2764,
345,
29898,
3359,
29918,
29891,
29892,
2070,
29918,
29891,
29892,
926,
29918,
1643,
29922,
29896,
29897,
13,
2158,
29898,
17990,
2459,
29892,
17386,
29892,
266,
3781,
3361,
29897,
13,
13628,
353,
4236,
4197,
29891,
363,
313,
29916,
29892,
29891,
29897,
297,
14319,
29898,
17990,
2459,
29892,
17386,
29897,
565,
921,
6736,
16716,
29918,
386,
12268,
2314,
13,
2158,
877,
4789,
497,
8158,
29901,
18695,
29941,
29888,
29915,
1273,
8158,
29897,
13,
13,
29937,
4829,
7418,
13,
361,
317,
8187,
29956,
29918,
11432,
29918,
2190,
1964,
21554,
3235,
29901,
13,
1678,
16716,
29918,
386,
12268,
29918,
2248,
353,
1375,
4197,
29875,
363,
313,
29916,
29892,
29875,
29897,
297,
14319,
29898,
17990,
2459,
29892,
3464,
29898,
2435,
29898,
17990,
2459,
4961,
565,
921,
6736,
16716,
29918,
386,
12268,
2314,
13,
1678,
2906,
3366,
22795,
29918,
29891,
3108,
353,
2070,
29918,
29891,
13,
1678,
2070,
29918,
29891,
29918,
386,
12268,
353,
313,
1761,
29898,
386,
3781,
3361,
29897,
718,
518,
29896,
29889,
29896,
2314,
29961,
17990,
2459,
29918,
386,
12268,
29918,
2248,
29962,
13,
1678,
4450,
29918,
29891,
353,
313,
22795,
29918,
29891,
6736,
2070,
29918,
29891,
29918,
386,
12268,
467,
579,
668,
29898,
11227,
29897,
13,
1678,
1596,
703,
1184,
29890,
343,
498,
12268,
29901,
18695,
29896,
29888,
29908,
1273,
313,
22795,
29918,
29891,
29918,
386,
12268,
29930,
29896,
29900,
29900,
876,
13,
1678,
1596,
29898,
5527,
3958,
29918,
5344,
29898,
3359,
29918,
29891,
29892,
4450,
29918,
29891,
876,
13,
1678,
1596,
703,
4789,
497,
29901,
18695,
29896,
29888,
29908,
1273,
313,
3757,
497,
29918,
13628,
29898,
3359,
29918,
29891,
29892,
4450,
29918,
29891,
11877,
29896,
29900,
29900,
876,
13,
1678,
1596,
703,
29925,
3757,
2459,
29901,
18695,
29896,
29888,
29908,
1273,
313,
17990,
2459,
29918,
13628,
29898,
3359,
29918,
29891,
29892,
4450,
29918,
29891,
11877,
29896,
29900,
29900,
876,
13,
2
] |
images.py | tikurahul/Inkplate-6-micropython | 21 | 123007 | <gh_stars>10-100
# https://javl.github.io/image2cpp/
# 40x40
CALENDAR_40_40 = bytearray([
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x00, 0x1c, 0x00, 0x00,
0x38, 0x00, 0x1c, 0x00, 0x00, 0x3c, 0x00, 0x1c, 0x00, 0x01, 0xff, 0xff, 0xff, 0x80, 0x03, 0xff,
0xff, 0xff, 0xc0, 0x07, 0xff, 0xff, 0xff, 0xe0, 0x07, 0xff, 0xff, 0xff, 0xe0, 0x07, 0xff, 0xff,
0xff, 0xe0, 0x07, 0xff, 0xff, 0xff, 0xe0, 0x07, 0xff, 0xff, 0xff, 0xe0, 0x07, 0xff, 0xff, 0xff,
0xe0, 0x07, 0x80, 0x00, 0x01, 0xe0, 0x07, 0x00, 0x00, 0x00, 0xe0, 0x07, 0x00, 0x00, 0x00, 0xe0,
0x07, 0x00, 0x00, 0x00, 0xe0, 0x07, 0x00, 0x00, 0x00, 0xe0, 0x07, 0x00, 0x00, 0x00, 0xe0, 0x07,
0x00, 0x00, 0x00, 0xe0, 0x07, 0x00, 0x0f, 0xf0, 0xe0, 0x07, 0x00, 0x0f, 0xf0, 0xe0, 0x07, 0x00,
0x0f, 0xf0, 0xe0, 0x07, 0x00, 0x0f, 0xf0, 0xe0, 0x07, 0x00, 0x0f, 0xf0, 0xe0, 0x07, 0x00, 0x0f,
0xf0, 0xe0, 0x07, 0x00, 0x0f, 0xf0, 0xe0, 0x07, 0x00, 0x0f, 0xf0, 0xe0, 0x07, 0x00, 0x00, 0x00,
0xe0, 0x07, 0x00, 0x00, 0x00, 0xe0, 0x07, 0x00, 0x00, 0x00, 0xe0, 0x07, 0x80, 0x00, 0x01, 0xe0,
0x07, 0xff, 0xff, 0xff, 0xe0, 0x03, 0xff, 0xff, 0xff, 0xc0, 0x01, 0xff, 0xff, 0xff, 0x80, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
])
| [
1,
529,
12443,
29918,
303,
1503,
29958,
29896,
29900,
29899,
29896,
29900,
29900,
13,
13,
29937,
2045,
597,
9494,
29880,
29889,
3292,
29889,
601,
29914,
3027,
29906,
8223,
29914,
13,
13,
29937,
29871,
29946,
29900,
29916,
29946,
29900,
13,
5454,
1307,
2797,
1718,
29918,
29946,
29900,
29918,
29946,
29900,
353,
7023,
2378,
4197,
13,
268,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29941,
29947,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29896,
29883,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
13,
268,
29900,
29916,
29941,
29947,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29896,
29883,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29941,
29883,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29896,
29883,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29896,
29892,
29871,
29900,
29916,
600,
29892,
29871,
29900,
29916,
600,
29892,
29871,
29900,
29916,
600,
29892,
29871,
29900,
29916,
29947,
29900,
29892,
29871,
29900,
29916,
29900,
29941,
29892,
29871,
29900,
29916,
600,
29892,
13,
268,
29900,
29916,
600,
29892,
29871,
29900,
29916,
600,
29892,
29871,
29900,
21791,
29900,
29892,
29871,
29900,
29916,
29900,
29955,
29892,
29871,
29900,
29916,
600,
29892,
29871,
29900,
29916,
600,
29892,
29871,
29900,
29916,
600,
29892,
29871,
29900,
17115,
29900,
29892,
29871,
29900,
29916,
29900,
29955,
29892,
29871,
29900,
29916,
600,
29892,
29871,
29900,
29916,
600,
29892,
29871,
29900,
29916,
600,
29892,
29871,
29900,
17115,
29900,
29892,
29871,
29900,
29916,
29900,
29955,
29892,
29871,
29900,
29916,
600,
29892,
29871,
29900,
29916,
600,
29892,
13,
268,
29900,
29916,
600,
29892,
29871,
29900,
17115,
29900,
29892,
29871,
29900,
29916,
29900,
29955,
29892,
29871,
29900,
29916,
600,
29892,
29871,
29900,
29916,
600,
29892,
29871,
29900,
29916,
600,
29892,
29871,
29900,
17115,
29900,
29892,
29871,
29900,
29916,
29900,
29955,
29892,
29871,
29900,
29916,
600,
29892,
29871,
29900,
29916,
600,
29892,
29871,
29900,
29916,
600,
29892,
29871,
29900,
17115,
29900,
29892,
29871,
29900,
29916,
29900,
29955,
29892,
29871,
29900,
29916,
600,
29892,
29871,
29900,
29916,
600,
29892,
29871,
29900,
29916,
600,
29892,
13,
268,
29900,
17115,
29900,
29892,
29871,
29900,
29916,
29900,
29955,
29892,
29871,
29900,
29916,
29947,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29896,
29892,
29871,
29900,
17115,
29900,
29892,
29871,
29900,
29916,
29900,
29955,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
17115,
29900,
29892,
29871,
29900,
29916,
29900,
29955,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
17115,
29900,
29892,
13,
268,
29900,
29916,
29900,
29955,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
17115,
29900,
29892,
29871,
29900,
29916,
29900,
29955,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
17115,
29900,
29892,
29871,
29900,
29916,
29900,
29955,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
17115,
29900,
29892,
29871,
29900,
29916,
29900,
29955,
29892,
13,
268,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
17115,
29900,
29892,
29871,
29900,
29916,
29900,
29955,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29888,
29892,
29871,
29900,
24660,
29900,
29892,
29871,
29900,
17115,
29900,
29892,
29871,
29900,
29916,
29900,
29955,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29888,
29892,
29871,
29900,
24660,
29900,
29892,
29871,
29900,
17115,
29900,
29892,
29871,
29900,
29916,
29900,
29955,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
13,
268,
29900,
29916,
29900,
29888,
29892,
29871,
29900,
24660,
29900,
29892,
29871,
29900,
17115,
29900,
29892,
29871,
29900,
29916,
29900,
29955,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29888,
29892,
29871,
29900,
24660,
29900,
29892,
29871,
29900,
17115,
29900,
29892,
29871,
29900,
29916,
29900,
29955,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29888,
29892,
29871,
29900,
24660,
29900,
29892,
29871,
29900,
17115,
29900,
29892,
29871,
29900,
29916,
29900,
29955,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29888,
29892,
13,
268,
29900,
24660,
29900,
29892,
29871,
29900,
17115,
29900,
29892,
29871,
29900,
29916,
29900,
29955,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29888,
29892,
29871,
29900,
24660,
29900,
29892,
29871,
29900,
17115,
29900,
29892,
29871,
29900,
29916,
29900,
29955,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29888,
29892,
29871,
29900,
24660,
29900,
29892,
29871,
29900,
17115,
29900,
29892,
29871,
29900,
29916,
29900,
29955,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
13,
268,
29900,
17115,
29900,
29892,
29871,
29900,
29916,
29900,
29955,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
17115,
29900,
29892,
29871,
29900,
29916,
29900,
29955,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
17115,
29900,
29892,
29871,
29900,
29916,
29900,
29955,
29892,
29871,
29900,
29916,
29947,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29896,
29892,
29871,
29900,
17115,
29900,
29892,
13,
268,
29900,
29916,
29900,
29955,
29892,
29871,
29900,
29916,
600,
29892,
29871,
29900,
29916,
600,
29892,
29871,
29900,
29916,
600,
29892,
29871,
29900,
17115,
29900,
29892,
29871,
29900,
29916,
29900,
29941,
29892,
29871,
29900,
29916,
600,
29892,
29871,
29900,
29916,
600,
29892,
29871,
29900,
29916,
600,
29892,
29871,
29900,
21791,
29900,
29892,
29871,
29900,
29916,
29900,
29896,
29892,
29871,
29900,
29916,
600,
29892,
29871,
29900,
29916,
600,
29892,
29871,
29900,
29916,
600,
29892,
29871,
29900,
29916,
29947,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
13,
268,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
13,
268,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
13,
2314,
13,
2
] |
python/displaywidget.py | karlssonper/gpuip | 10 | 31259 | <reponame>karlssonper/gpuip
from PySide import QtGui, QtOpenGL, QtCore
from OpenGL import GL
from OpenGL import GL
from OpenGL.GL import shaders
from OpenGL.arrays import vbo
from OpenGL.GL.ARB import texture_rg
from OpenGL.GL.ARB import half_float_vertex
from ctypes import c_void_p
import numpy
import math
vert_src = """#version 120
attribute vec2 positionIn;
attribute vec2 texIn;
varying vec2 texcoord;
void main()
{
gl_Position= vec4(positionIn * 2.0 - vec2(1),0,1);
texcoord = texIn;
}
"""
frag_src = """#version 120
uniform sampler2D texture;
uniform int hdr_mode;
uniform float g;
uniform float m;
uniform float s;
varying vec2 texcoord;
float convert(float x)
{
return clamp(pow(x*m,g) *s, 0.0, 1.0);
}
void main()
{
vec2 coords = vec2(texcoord.x, 1.0 - texcoord.y);
vec3 tex = texture2D(texture, coords).xyz;
if (hdr_mode == 1) {
gl_FragColor = vec4(convert(tex.x), convert(tex.y), convert(tex.z), 1);
} else {
gl_FragColor = vec4(tex,1);
}
}
"""
class DisplayWidget(QtGui.QWidget):
def __init__(self, parent):
super(DisplayWidget, self).__init__(parent)
self.buffers = None
self.glWidget = GLWidget(self)
self.bufferComboBox = QtGui.QComboBox(self)
policy = QtGui.QSizePolicy()
policy.setHorizontalPolicy(QtGui.QSizePolicy.Expanding)
self.bufferComboBox.setSizePolicy(policy)
label = QtGui.QLabel("Buffers:")
label.setBuddy(self.bufferComboBox)
self.bufferComboBox.currentIndexChanged["QString"].connect(
self.onBufferSelectChange)
self.interactiveCheckBox = QtGui.QCheckBox("Interactive", self)
midLayout = QtGui.QHBoxLayout()
midLayout.addWidget(label)
midLayout.addWidget(self.bufferComboBox)
midLayout.addWidget(self.interactiveCheckBox)
self.label = QtGui.QLabel("Exposure: 0", self)
self.slider = QtGui.QSlider(QtCore.Qt.Horizontal, self)
self.slider.setRange(-100,100)
self.slider.setValue(0)
self.slider.valueChanged.connect(self.onExposureChange)
bottomLayout = QtGui.QHBoxLayout()
bottomLayout.addWidget(self.label)
bottomLayout.addWidget(self.slider)
bottomLayout.setSizeConstraint(QtGui.QLayout.SetMinimumSize)
layout = QtGui.QVBoxLayout()
layout.addWidget(self.glWidget)
layout.addLayout(midLayout)
layout.addLayout(bottomLayout)
self.setLayout(layout)
def setBuffers(self, buffers):
for i in xrange(self.bufferComboBox.count()):
self.bufferComboBox.removeItem(0)
self.buffers = buffers
buffersList = buffers.keys()
buffersList.sort()
self.bufferComboBox.addItems(buffersList)
def setActiveBuffer(self, bufferName):
idx = self.bufferComboBox.findText(bufferName)
if idx == self.bufferComboBox.currentIndex():
self.refreshDisplay()
else:
self.bufferComboBox.setCurrentIndex(idx)
def onBufferSelectChange(self, value):
if str(value) in self.buffers:
ndarray = self.buffers[str(value)].data
self.glWidget.copyDataToTexture(ndarray)
if ndarray.dtype == numpy.float32 or ndarray.dtype == numpy.float16:
self.slider.setEnabled(True)
else:
self.slider.setEnabled(False)
self.glWidget.glDraw()
def onExposureChange(self):
value = 0.1 * self.slider.value()
self.glWidget.exposure = value
self.label.setText("Exposure: " + str(value))
self.glWidget.glDraw()
def refreshDisplay(self):
self.onBufferSelectChange(self.bufferComboBox.currentText())
def sizeHint(self):
return QtCore.QSize(400,400)
class GLWidget(QtOpenGL.QGLWidget):
def __init__(self, parent):
super(GLWidget, self).__init__(parent)
self.w = 440
self.h = 440
self.rightBtnDown = False
self.texture = None
self.texturedata = None
self.shader = None
self.hdr_mode = 0
self.vbo = None
self.scale = 0.5
self.steps = 0
self.cx = 0.5
self.cy = 0.5
self.gamma = 1.0/2.2
self.exposure = 0
self.zoomFactor = 1.35
self.panFactor = 0.002
def initializeGL(self):
pass
def copyDataToTexture(self, ndarray):
# Update dimensions of widget
self.texturedata = ndarray
self.w = ndarray.shape[0]
self.h = ndarray.shape[1]
self.updateGeometry()
# Generate new texture
if not self.texture:
try:
self.texture = GL.glGenTextures(1)
except Exception:
return
target = GL.GL_TEXTURE_2D
GL.glBindTexture(target, self.texture)
GL.glTexParameterf(target, GL.GL_TEXTURE_MAG_FILTER, GL.GL_NEAREST)
GL.glTexParameterf(target, GL.GL_TEXTURE_MIN_FILTER, GL.GL_NEAREST)
GL.glTexParameterf(target, GL.GL_TEXTURE_WRAP_S, GL.GL_CLAMP_TO_EDGE)
GL.glTexParameterf(target, GL.GL_TEXTURE_WRAP_T, GL.GL_CLAMP_TO_EDGE)
GL.glTexParameteri(target, GL.GL_GENERATE_MIPMAP, GL.GL_FALSE);
# Get texture format
channels = ndarray.shape[2] if ndarray.ndim == 3 else 1
if channels == 1:
glFormat = GL.GL_RED
elif channels == 2:
glFormat = GL.GL_RG
elif channels == 3:
glFormat = GL.GL_RGB
elif channels == 4:
glFormat = GL.GL_RGBA
glInternalFormat = glFormat
# Get texture type
if ndarray.dtype == numpy.float32:
glType = GL.GL_FLOAT
# Need to use the exposure shader if floating point
self.hdr_mode = 1
# The internal format changes with floating point textures
if channels == 1:
glInternalFormat = texture_rg.GL_R32F
elif channels == 2:
glInternalFormat = texture_rg.GL_RG32F
elif channels == 3:
glInternalFormat = GL.GL_RGB32F
elif channels == 4:
glInternalFormat = GL.GL_RGBA32F
elif ndarray.dtype == numpy.float16:
glType = GL.GL_FLOAT
# Need to use the exposure shader if floating point
self.hdr_mode = 1
# The internal format changes with floating point textures
if channels == 1:
glInternalFormat = texture_rg.GL_R16F
elif channels == 2:
glInternalFormat = texture_rg.GL_RG16F
elif channels == 3:
glInternalFormat = GL.GL_RGB16F
elif channels == 4:
glInternalFormat = GL.GL_RGBA16F
else:
glType = GL.GL_UNSIGNED_BYTE
self.hdr_mode = 0
# Copy data to texture
GL.glTexImage2D(target, 0, glInternalFormat, self.w, self.h,
0, glFormat, glType, ndarray)
GL.glBindTexture(target, 0)
def resizeGL(self, width, height):
GL.glViewport(0,0,width,height)
GL.glMatrixMode(GL.GL_PROJECTION)
GL.glLoadIdentity()
GL.glOrtho(0,1,0,1,0,1)
GL.glMatrixMode(GL.GL_MODELVIEW)
def compileShaders(self):
# Build shaders
vert_shader = shaders.compileShader(vert_src, GL.GL_VERTEX_SHADER)
frag_shader = shaders.compileShader(frag_src, GL.GL_FRAGMENT_SHADER)
self.shader = shaders.compileProgram(vert_shader, frag_shader)
def paintGL(self):
if GL.glCheckFramebufferStatus(GL.GL_FRAMEBUFFER) == 33305:
return
GL.glClear(GL.GL_COLOR_BUFFER_BIT)
if not self.texture:
return
if not self.shader:
self.compileShaders()
if not self.vbo:
self.vbo = GL.glGenBuffers(1)
shaders.glUseProgram(self.shader)
GL.glBindBuffer(GL.GL_ARRAY_BUFFER, self.vbo)
vertices = numpy.array(
[-self.scale + self.cx, -self.scale + self.cy ,
self.scale + self.cx, -self.scale + self.cy,
self.scale + self.cx, self.scale + self.cy,
-self.scale + self.cx, self.scale + self.cy,
0,0,1,0,1,1,0,1], dtype = numpy.float32)
GL.glBufferData(GL.GL_ARRAY_BUFFER, 64, vertices, GL.GL_STATIC_DRAW)
loc = GL.glGetAttribLocation(self.shader, "positionIn")
GL.glEnableVertexAttribArray(loc)
GL.glVertexAttribPointer(loc, 2, GL.GL_FLOAT, 0, 8, c_void_p(0))
loc = GL.glGetAttribLocation(self.shader, "texIn")
GL.glEnableVertexAttribArray(loc)
GL.glVertexAttribPointer(loc, 2, GL.GL_FLOAT, 0, 8, c_void_p(32))
def _uniformLoc(name):
return GL.glGetUniformLocation(self.shader,name)
GL.glUniform1f(_uniformLoc("g"), self.gamma);
GL.glUniform1f(_uniformLoc("m"), math.pow(2, self.exposure + 2.47393))
GL.glUniform1f(_uniformLoc("s"), math.pow(2, -3.5 * self.gamma))
GL.glUniform1i(_uniformLoc("hdr_mode"), self.hdr_mode);
GL.glUniform1i(_uniformLoc("texture"), 0);
GL.glActiveTexture(GL.GL_TEXTURE0);
GL.glBindTexture(GL.GL_TEXTURE_2D, self.texture)
GL.glDrawArrays(GL.GL_QUADS, 0, 4);
GL.glBindTexture(GL.GL_TEXTURE_2D, 0)
loc = GL.glGetAttribLocation(self.shader, "positionIn")
GL.glDisableVertexAttribArray(loc)
loc = GL.glGetAttribLocation(self.shader, "texIn")
GL.glDisableVertexAttribArray(loc)
GL.glBindBuffer(GL.GL_ARRAY_BUFFER, 0)
shaders.glUseProgram(0)
if self.rightBtnDown:
self.renderPixelInfo()
def mousePressEvent(self, event):
self.lastPos = event.pos()
if event.button()== QtCore.Qt.RightButton:
self.rightBtnDown = True
self.glDraw()
def mouseReleaseEvent(self, event):
if event.button() == QtCore.Qt.RightButton:
self.rightBtnDown = False
self.glDraw()
def mouseMoveEvent(self, event):
dx = event.x() - self.lastPos.x()
dy = event.y() - self.lastPos.y()
if event.buttons() & QtCore.Qt.LeftButton:
self.cx += self.panFactor*dx
self.cy -= self.panFactor*dy
self.correctCenterCoordinates()
self.lastPos = event.pos()
self.glDraw()
def wheelEvent(self, event):
if event.delta() > 0:
self.steps += 1
else:
self.steps -= 1
# Only allow inital zoom (not smaller)
if self.steps < 0:
self.steps = 0
self.scale = 0.5 * math.pow(self.zoomFactor, self.steps)
self.correctCenterCoordinates()
self.glDraw()
def correctCenterCoordinates(self):
if -self.scale + self.cx > 0:
self.cx = self.scale
if self.scale + self.cx < 1:
self.cx = 1 - self.scale
if -self.scale + self.cy > 0:
self.cy = self.scale
if self.scale + self.cy < 1:
self.cy = 1 - self.scale
def sizeHint(self):
return QtCore.QSize(self.w,self.h)
def renderPixelInfo(self):
# Get pixel positions px and py
size = 2.0*(self.scale)
offx = self.w * (self.scale - self.cx) / size
offy = self.h * (self.scale - self.cy) / size
px = int(offx + (self.lastPos.x() * self.w) / (self.width() * size))
py = int(offy + (self.lastPos.y() * self.h) / (self.height()* size))
py = self.h - py
px = min(max(px,0), self.w - 1)
py = min(max(py,0), self.h - 1)
val = [None, None, None, None]
for i in xrange(self.texturedata.shape[2]):
val[i] = self.texturedata[px][py][i]
texts = ["x:%i y:%i" % (px,py),
"R:%f" % val[0] if val[0] else "n/a",
"G:%f" % val[1] if val[1] else "n/a",
"B:%f" % val[2] if val[2] else "n/a"]
font = QtGui.QFont()
font.setFamily("Monospace")
#font.setFixedPitch(True);
metrics = QtGui.QFontMetrics(font)
sx = 20 # spacing variable
w,h = metrics.width(texts[1]), metrics.height()
metrics.width(" ")
x,y = self.lastPos.x(), self.height() - self.lastPos.y() - sx
dx,dy = 1.0/self.width(), 1.0/self.height()
# Calculate pixel info position
# Swap position if outside screen
if x + 1.5*sx + w < self.width():
x0 = x + 0.75*sx
x1 = x + 1.5*sx + w + 10
tx = x + sx
else:
x0 = x - 0.75*sx
x1 = x - 1.5*sx - w
tx = x - sx - w
if y + sx - 5 * h > 0:
y0 = y + sx
y1 = y + sx - 5 * h
ty = self.height()-y
else:
y0 = y - sx + 3 * h
y1 = y - sx + 8 * h
ty = self.height()-y - 5 * h - 0.5*sx
# Draw transparent quad
GL.glBlendFunc(GL.GL_SRC_ALPHA, GL.GL_ONE_MINUS_SRC_ALPHA);
GL.glEnable(GL.GL_BLEND)
GL.glBegin(GL.GL_QUADS)
GL.glColor4f(0,0,0,0.8)
for x,y in zip([x0,x1,x1,x0],[y0,y0,y1,y1]):
GL.glVertex2f(x * dx, y * dy)
GL.glEnd()
GL.glDisable(GL.GL_BLEND)
# Render text
GL.glColor4f(1,1,1,1)
for i,text in enumerate(texts):
self.renderText(tx, ty + i*h, text, font)
| [
1,
529,
276,
1112,
420,
29958,
5689,
29880,
12371,
546,
29914,
29887,
3746,
666,
13,
3166,
10772,
23908,
1053,
14705,
28707,
29892,
14705,
6585,
7239,
29892,
14705,
9203,
13,
3166,
29508,
1053,
12729,
13,
3166,
29508,
1053,
12729,
13,
3166,
29508,
29889,
7239,
1053,
528,
24574,
13,
3166,
29508,
29889,
2378,
29879,
1053,
325,
833,
13,
3166,
29508,
29889,
7239,
29889,
1718,
29933,
1053,
18459,
29918,
11007,
13,
3166,
29508,
29889,
7239,
29889,
1718,
29933,
1053,
4203,
29918,
7411,
29918,
369,
4776,
13,
3166,
274,
8768,
1053,
274,
29918,
5405,
29918,
29886,
13,
5215,
12655,
13,
5215,
5844,
13,
13,
1765,
29918,
4351,
353,
9995,
29937,
3259,
29871,
29896,
29906,
29900,
13,
12715,
9649,
29906,
2602,
797,
29936,
13,
12715,
9649,
29906,
19696,
797,
29936,
13,
29894,
653,
292,
9649,
29906,
19696,
1111,
536,
29936,
13,
5405,
1667,
580,
13,
29912,
13,
1678,
3144,
29918,
8003,
29922,
9649,
29946,
29898,
3283,
797,
334,
29871,
29906,
29889,
29900,
448,
9649,
29906,
29898,
29896,
511,
29900,
29892,
29896,
416,
13,
1678,
19696,
1111,
536,
353,
19696,
797,
29936,
13,
29913,
13,
15945,
29908,
13,
13,
29888,
1431,
29918,
4351,
353,
9995,
29937,
3259,
29871,
29896,
29906,
29900,
13,
29590,
3514,
20069,
29906,
29928,
18459,
29936,
13,
29590,
938,
298,
7707,
29918,
8513,
29936,
13,
29590,
5785,
330,
29936,
13,
29590,
5785,
286,
29936,
13,
29590,
5785,
269,
29936,
13,
29894,
653,
292,
9649,
29906,
19696,
1111,
536,
29936,
13,
13,
7411,
3588,
29898,
7411,
921,
29897,
13,
29912,
13,
1678,
736,
1067,
1160,
29898,
12248,
29898,
29916,
29930,
29885,
29892,
29887,
29897,
334,
29879,
29892,
29871,
29900,
29889,
29900,
29892,
29871,
29896,
29889,
29900,
416,
13,
29913,
13,
13,
5405,
1667,
580,
13,
29912,
13,
1678,
9649,
29906,
1302,
4339,
353,
9649,
29906,
29898,
4776,
1111,
536,
29889,
29916,
29892,
29871,
29896,
29889,
29900,
448,
19696,
1111,
536,
29889,
29891,
416,
13,
1678,
9649,
29941,
19696,
353,
18459,
29906,
29928,
29898,
726,
545,
29892,
1302,
4339,
467,
20230,
29936,
13,
1678,
565,
313,
29882,
7707,
29918,
8513,
1275,
29871,
29896,
29897,
426,
13,
4706,
3144,
29918,
29943,
1431,
3306,
353,
9649,
29946,
29898,
13441,
29898,
4776,
29889,
29916,
511,
3588,
29898,
4776,
29889,
29891,
511,
3588,
29898,
4776,
29889,
29920,
511,
29871,
29896,
416,
13,
1678,
500,
1683,
426,
13,
4706,
3144,
29918,
29943,
1431,
3306,
353,
9649,
29946,
29898,
4776,
29892,
29896,
416,
13,
1678,
500,
13,
29913,
13,
15945,
29908,
13,
13,
1990,
17440,
8801,
29898,
17303,
28707,
29889,
29984,
8801,
1125,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
3847,
1125,
13,
4706,
2428,
29898,
9323,
8801,
29892,
1583,
467,
1649,
2344,
12035,
3560,
29897,
13,
308,
13,
4706,
1583,
29889,
28040,
414,
353,
6213,
13,
4706,
1583,
29889,
3820,
8801,
353,
12729,
8801,
29898,
1311,
29897,
4706,
13,
1669,
13,
4706,
1583,
29889,
9040,
26628,
353,
14705,
28707,
29889,
29984,
26628,
29898,
1311,
29897,
13,
4706,
8898,
353,
14705,
28707,
29889,
29984,
3505,
15644,
580,
13,
4706,
8898,
29889,
842,
24932,
15644,
29898,
17303,
28707,
29889,
29984,
3505,
15644,
29889,
29777,
292,
29897,
13,
4706,
1583,
29889,
9040,
26628,
29889,
842,
3505,
15644,
29898,
22197,
29897,
13,
4706,
3858,
353,
14705,
28707,
29889,
2239,
1107,
703,
29933,
3096,
414,
29901,
1159,
13,
4706,
3858,
29889,
842,
29933,
566,
4518,
29898,
1311,
29889,
9040,
26628,
29897,
13,
4706,
1583,
29889,
9040,
26628,
29889,
3784,
3220,
7590,
3366,
29984,
1231,
16862,
6915,
29898,
13,
9651,
1583,
29889,
265,
7701,
3549,
7277,
29897,
13,
4706,
1583,
29889,
1639,
4925,
28360,
353,
14705,
28707,
29889,
29984,
28360,
703,
4074,
4925,
613,
1583,
29897,
13,
4706,
7145,
3453,
353,
14705,
28707,
29889,
29984,
29950,
3313,
3453,
580,
13,
4706,
7145,
3453,
29889,
1202,
8801,
29898,
1643,
29897,
13,
4706,
7145,
3453,
29889,
1202,
8801,
29898,
1311,
29889,
9040,
26628,
29897,
13,
4706,
7145,
3453,
29889,
1202,
8801,
29898,
1311,
29889,
1639,
4925,
28360,
29897,
13,
462,
268,
13,
4706,
1583,
29889,
1643,
353,
14705,
28707,
29889,
2239,
1107,
703,
1252,
1066,
545,
29901,
29871,
29900,
613,
1583,
29897,
13,
4706,
1583,
29889,
23165,
353,
14705,
28707,
29889,
29984,
16973,
1241,
29898,
17303,
9203,
29889,
17303,
29889,
24932,
29892,
1583,
29897,
13,
4706,
1583,
29889,
23165,
29889,
842,
6069,
6278,
29896,
29900,
29900,
29892,
29896,
29900,
29900,
29897,
13,
4706,
1583,
29889,
23165,
29889,
842,
1917,
29898,
29900,
29897,
13,
4706,
1583,
29889,
23165,
29889,
1767,
7590,
29889,
6915,
29898,
1311,
29889,
265,
1252,
1066,
545,
7277,
29897,
13,
4706,
5970,
3453,
353,
14705,
28707,
29889,
29984,
29950,
3313,
3453,
580,
13,
4706,
5970,
3453,
29889,
1202,
8801,
29898,
1311,
29889,
1643,
29897,
13,
4706,
5970,
3453,
29889,
1202,
8801,
29898,
1311,
29889,
23165,
29897,
13,
4706,
5970,
3453,
29889,
842,
3505,
21529,
29898,
17303,
28707,
29889,
2239,
1534,
29889,
2697,
8140,
12539,
3505,
29897,
13,
308,
13,
4706,
5912,
353,
14705,
28707,
29889,
29984,
29963,
3313,
3453,
580,
13,
4706,
5912,
29889,
1202,
8801,
29898,
1311,
29889,
3820,
8801,
29897,
13,
4706,
5912,
29889,
1202,
3453,
29898,
6563,
3453,
29897,
13,
4706,
5912,
29889,
1202,
3453,
29898,
8968,
3453,
29897,
13,
4706,
1583,
29889,
842,
3453,
29898,
2680,
29897,
13,
13,
1678,
822,
731,
29933,
3096,
414,
29898,
1311,
29892,
20487,
414,
1125,
13,
4706,
363,
474,
297,
921,
3881,
29898,
1311,
29889,
9040,
26628,
29889,
2798,
580,
1125,
13,
9651,
1583,
29889,
9040,
26628,
29889,
5992,
2001,
29898,
29900,
29897,
13,
4706,
1583,
29889,
28040,
414,
353,
20487,
414,
13,
4706,
20487,
414,
1293,
353,
20487,
414,
29889,
8149,
580,
13,
4706,
20487,
414,
1293,
29889,
6605,
580,
13,
4706,
1583,
29889,
9040,
26628,
29889,
1202,
6913,
29898,
28040,
414,
1293,
29897,
13,
13,
1678,
822,
731,
9966,
7701,
29898,
1311,
29892,
6835,
1170,
1125,
13,
4706,
22645,
353,
1583,
29889,
9040,
26628,
29889,
2886,
1626,
29898,
9040,
1170,
29897,
13,
4706,
565,
22645,
1275,
1583,
29889,
9040,
26628,
29889,
3784,
3220,
7295,
13,
9651,
1583,
29889,
22379,
9323,
580,
13,
4706,
1683,
29901,
13,
9651,
1583,
29889,
9040,
26628,
29889,
842,
7583,
3220,
29898,
13140,
29897,
13,
1678,
13,
1678,
822,
373,
7701,
3549,
7277,
29898,
1311,
29892,
995,
1125,
13,
4706,
565,
851,
29898,
1767,
29897,
297,
1583,
29889,
28040,
414,
29901,
13,
632,
299,
2378,
353,
1583,
29889,
28040,
414,
29961,
710,
29898,
1767,
29897,
1822,
1272,
13,
9651,
1583,
29889,
3820,
8801,
29889,
8552,
1469,
1762,
21898,
29898,
299,
2378,
29897,
13,
9651,
565,
29871,
299,
2378,
29889,
29881,
1853,
1275,
12655,
29889,
7411,
29941,
29906,
470,
29871,
299,
2378,
29889,
29881,
1853,
1275,
12655,
29889,
7411,
29896,
29953,
29901,
13,
18884,
1583,
29889,
23165,
29889,
842,
10861,
29898,
5574,
29897,
13,
9651,
1683,
29901,
13,
18884,
1583,
29889,
23165,
29889,
842,
10861,
29898,
8824,
29897,
13,
9651,
1583,
29889,
3820,
8801,
29889,
3820,
8537,
580,
13,
13,
1678,
822,
373,
1252,
1066,
545,
7277,
29898,
1311,
1125,
13,
4706,
995,
353,
29871,
29900,
29889,
29896,
334,
1583,
29889,
23165,
29889,
1767,
580,
13,
4706,
1583,
29889,
3820,
8801,
29889,
735,
1066,
545,
353,
995,
13,
4706,
1583,
29889,
1643,
29889,
12038,
703,
1252,
1066,
545,
29901,
376,
718,
851,
29898,
1767,
876,
308,
13,
4706,
1583,
29889,
3820,
8801,
29889,
3820,
8537,
580,
13,
13,
1678,
822,
11086,
9323,
29898,
1311,
1125,
13,
4706,
1583,
29889,
265,
7701,
3549,
7277,
29898,
1311,
29889,
9040,
26628,
29889,
3784,
1626,
3101,
13,
13,
1678,
822,
2159,
28016,
29898,
1311,
1125,
13,
4706,
736,
14705,
9203,
29889,
29984,
3505,
29898,
29946,
29900,
29900,
29892,
29946,
29900,
29900,
29897,
13,
13,
1990,
12729,
8801,
29898,
17303,
6585,
7239,
29889,
29984,
7239,
8801,
1125,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
3847,
1125,
13,
4706,
2428,
29898,
7239,
8801,
29892,
1583,
467,
1649,
2344,
12035,
3560,
29897,
13,
308,
13,
4706,
1583,
29889,
29893,
353,
29871,
29946,
29946,
29900,
13,
4706,
1583,
29889,
29882,
353,
29871,
29946,
29946,
29900,
13,
13,
4706,
1583,
29889,
1266,
20808,
6767,
353,
7700,
13,
13,
4706,
1583,
29889,
726,
545,
353,
6213,
13,
4706,
1583,
29889,
726,
545,
1272,
353,
6213,
13,
4706,
1583,
29889,
845,
1664,
353,
6213,
13,
4706,
1583,
29889,
29882,
7707,
29918,
8513,
353,
29871,
29900,
13,
4706,
1583,
29889,
29894,
833,
353,
6213,
13,
308,
13,
4706,
1583,
29889,
7052,
353,
29871,
29900,
29889,
29945,
13,
4706,
1583,
29889,
24530,
353,
29871,
29900,
13,
4706,
1583,
29889,
18904,
353,
29871,
29900,
29889,
29945,
13,
4706,
1583,
29889,
1270,
353,
29871,
29900,
29889,
29945,
13,
308,
13,
4706,
1583,
29889,
4283,
353,
29871,
29896,
29889,
29900,
29914,
29906,
29889,
29906,
13,
4706,
1583,
29889,
735,
1066,
545,
353,
29871,
29900,
13,
13,
4706,
1583,
29889,
2502,
290,
29943,
7168,
353,
29871,
29896,
29889,
29941,
29945,
13,
4706,
1583,
29889,
8357,
29943,
7168,
353,
29871,
29900,
29889,
29900,
29900,
29906,
13,
13,
1678,
822,
11905,
7239,
29898,
1311,
1125,
13,
4706,
1209,
13,
13,
1678,
822,
3509,
1469,
1762,
21898,
29898,
1311,
29892,
29871,
299,
2378,
1125,
13,
4706,
396,
10318,
13391,
310,
11109,
13,
4706,
1583,
29889,
726,
545,
1272,
353,
29871,
299,
2378,
13,
4706,
1583,
29889,
29893,
353,
29871,
299,
2378,
29889,
12181,
29961,
29900,
29962,
13,
4706,
1583,
29889,
29882,
353,
29871,
299,
2378,
29889,
12181,
29961,
29896,
29962,
13,
4706,
1583,
29889,
5504,
7999,
7843,
580,
13,
13,
4706,
396,
3251,
403,
716,
18459,
13,
4706,
565,
451,
1583,
29889,
726,
545,
29901,
13,
9651,
1018,
29901,
13,
18884,
1583,
29889,
726,
545,
353,
12729,
29889,
3820,
15462,
1626,
1973,
29898,
29896,
29897,
13,
9651,
5174,
8960,
29901,
13,
18884,
736,
13,
4706,
3646,
353,
12729,
29889,
7239,
29918,
16975,
11499,
29918,
29906,
29928,
13,
4706,
12729,
29889,
3820,
15708,
21898,
29898,
5182,
29892,
1583,
29889,
726,
545,
29897,
13,
4706,
12729,
29889,
3820,
26887,
9329,
29888,
29898,
5182,
29892,
12729,
29889,
7239,
29918,
16975,
11499,
29918,
1529,
29954,
29918,
3738,
29931,
4945,
29892,
12729,
29889,
7239,
29918,
8186,
29909,
1525,
1254,
29897,
13,
4706,
12729,
29889,
3820,
26887,
9329,
29888,
29898,
5182,
29892,
12729,
29889,
7239,
29918,
16975,
11499,
29918,
16173,
29918,
3738,
29931,
4945,
29892,
12729,
29889,
7239,
29918,
8186,
29909,
1525,
1254,
29897,
13,
4706,
12729,
29889,
3820,
26887,
9329,
29888,
29898,
5182,
29892,
12729,
29889,
7239,
29918,
16975,
11499,
29918,
9980,
3301,
29918,
29903,
29892,
12729,
29889,
7239,
29918,
13875,
3580,
29918,
4986,
29918,
3352,
1692,
29897,
13,
4706,
12729,
29889,
3820,
26887,
9329,
29888,
29898,
5182,
29892,
12729,
29889,
7239,
29918,
16975,
11499,
29918,
9980,
3301,
29918,
29911,
29892,
12729,
29889,
7239,
29918,
13875,
3580,
29918,
4986,
29918,
3352,
1692,
29897,
13,
4706,
12729,
29889,
3820,
26887,
9329,
29875,
29898,
5182,
29892,
12729,
29889,
7239,
29918,
24647,
1001,
3040,
29918,
29924,
5690,
23827,
29892,
12729,
29889,
7239,
29918,
25717,
416,
13,
308,
13,
4706,
396,
3617,
18459,
3402,
13,
4706,
18196,
353,
29871,
299,
2378,
29889,
12181,
29961,
29906,
29962,
565,
29871,
299,
2378,
29889,
299,
326,
1275,
29871,
29941,
1683,
29871,
29896,
13,
4706,
565,
18196,
1275,
29871,
29896,
29901,
13,
9651,
3144,
5809,
353,
12729,
29889,
7239,
29918,
19386,
13,
4706,
25342,
18196,
1275,
29871,
29906,
29901,
13,
9651,
3144,
5809,
353,
12729,
29889,
7239,
29918,
29934,
29954,
13,
4706,
25342,
18196,
1275,
29871,
29941,
29901,
13,
9651,
3144,
5809,
353,
12729,
29889,
7239,
29918,
28212,
13,
4706,
25342,
18196,
1275,
29871,
29946,
29901,
13,
9651,
3144,
5809,
353,
12729,
29889,
7239,
29918,
29934,
29954,
5688,
13,
4706,
3144,
16491,
5809,
353,
3144,
5809,
13,
13,
4706,
396,
3617,
18459,
1134,
13,
4706,
565,
29871,
299,
2378,
29889,
29881,
1853,
1275,
12655,
29889,
7411,
29941,
29906,
29901,
13,
9651,
3144,
1542,
353,
12729,
29889,
7239,
29918,
29943,
3927,
1299,
13,
9651,
396,
20768,
304,
671,
278,
14060,
545,
528,
1664,
565,
16526,
1298,
13,
9651,
1583,
29889,
29882,
7707,
29918,
8513,
353,
29871,
29896,
13,
13,
9651,
396,
450,
7463,
3402,
3620,
411,
16526,
1298,
1426,
1973,
13,
9651,
565,
18196,
1275,
29871,
29896,
29901,
13,
18884,
3144,
16491,
5809,
353,
18459,
29918,
11007,
29889,
7239,
29918,
29934,
29941,
29906,
29943,
13,
9651,
25342,
18196,
1275,
29871,
29906,
29901,
13,
18884,
3144,
16491,
5809,
353,
18459,
29918,
11007,
29889,
7239,
29918,
29934,
29954,
29941,
29906,
29943,
13,
9651,
25342,
18196,
1275,
29871,
29941,
29901,
13,
18884,
3144,
16491,
5809,
353,
12729,
29889,
7239,
29918,
28212,
29941,
29906,
29943,
13,
9651,
25342,
18196,
1275,
29871,
29946,
29901,
13,
18884,
3144,
16491,
5809,
353,
12729,
29889,
7239,
29918,
29934,
29954,
5688,
29941,
29906,
29943,
13,
4706,
25342,
29871,
299,
2378,
29889,
29881,
1853,
1275,
12655,
29889,
7411,
29896,
29953,
29901,
13,
9651,
3144,
1542,
353,
12729,
29889,
7239,
29918,
29943,
3927,
1299,
13,
9651,
396,
20768,
304,
671,
278,
14060,
545,
528,
1664,
565,
16526,
1298,
13,
9651,
1583,
29889,
29882,
7707,
29918,
8513,
353,
29871,
29896,
13,
13,
9651,
396,
450,
7463,
3402,
3620,
411,
16526,
1298,
1426,
1973,
13,
9651,
565,
18196,
1275,
29871,
29896,
29901,
13,
18884,
3144,
16491,
5809,
353,
18459,
29918,
11007,
29889,
7239,
29918,
29934,
29896,
29953,
29943,
13,
9651,
25342,
18196,
1275,
29871,
29906,
29901,
13,
18884,
3144,
16491,
5809,
353,
18459,
29918,
11007,
29889,
7239,
29918,
29934,
29954,
29896,
29953,
29943,
13,
9651,
25342,
18196,
1275,
29871,
29941,
29901,
13,
18884,
3144,
16491,
5809,
353,
12729,
29889,
7239,
29918,
28212,
29896,
29953,
29943,
13,
9651,
25342,
18196,
1275,
29871,
29946,
29901,
13,
18884,
3144,
16491,
5809,
353,
12729,
29889,
7239,
29918,
29934,
29954,
5688,
29896,
29953,
29943,
13,
4706,
1683,
29901,
13,
9651,
3144,
1542,
353,
12729,
29889,
7239,
29918,
29965,
3059,
17298,
3352,
29918,
22716,
4330,
13,
9651,
1583,
29889,
29882,
7707,
29918,
8513,
353,
29871,
29900,
13,
308,
13,
4706,
396,
14187,
848,
304,
18459,
13,
4706,
12729,
29889,
3820,
26887,
2940,
29906,
29928,
29898,
5182,
29892,
29871,
29900,
29892,
3144,
16491,
5809,
29892,
1583,
29889,
29893,
29892,
1583,
29889,
29882,
29892,
13,
462,
308,
29900,
29892,
3144,
5809,
29892,
3144,
1542,
29892,
29871,
299,
2378,
29897,
13,
4706,
12729,
29889,
3820,
15708,
21898,
29898,
5182,
29892,
29871,
29900,
29897,
13,
965,
13,
1678,
822,
19490,
7239,
29898,
1311,
29892,
2920,
29892,
3171,
1125,
13,
4706,
12729,
29889,
3820,
1043,
637,
29898,
29900,
29892,
29900,
29892,
2103,
29892,
3545,
29897,
13,
4706,
12729,
29889,
3820,
14609,
6818,
29898,
7239,
29889,
7239,
29918,
8618,
29967,
29923,
9838,
29897,
13,
4706,
12729,
29889,
3820,
5896,
18415,
580,
13,
4706,
12729,
29889,
3820,
2816,
386,
29877,
29898,
29900,
29892,
29896,
29892,
29900,
29892,
29896,
29892,
29900,
29892,
29896,
29897,
13,
4706,
12729,
29889,
3820,
14609,
6818,
29898,
7239,
29889,
7239,
29918,
20387,
29931,
29963,
8673,
29956,
29897,
13,
539,
13,
1678,
822,
6633,
2713,
24574,
29898,
1311,
1125,
13,
308,
396,
8878,
528,
24574,
13,
4706,
4837,
29918,
845,
1664,
353,
528,
24574,
29889,
12198,
2713,
1664,
29898,
1765,
29918,
4351,
29892,
12729,
29889,
7239,
29918,
5348,
4330,
29990,
29918,
7068,
3035,
1001,
29897,
13,
4706,
13855,
29918,
845,
1664,
353,
528,
24574,
29889,
12198,
2713,
1664,
29898,
29888,
1431,
29918,
4351,
29892,
12729,
29889,
7239,
29918,
29943,
4717,
29954,
13780,
29918,
7068,
3035,
1001,
29897,
13,
4706,
1583,
29889,
845,
1664,
353,
528,
24574,
29889,
12198,
9283,
29898,
1765,
29918,
845,
1664,
29892,
13855,
29918,
845,
1664,
29897,
13,
308,
13,
1678,
822,
10675,
7239,
29898,
1311,
1125,
13,
4706,
565,
12729,
29889,
3820,
5596,
4308,
9040,
5709,
29898,
7239,
29889,
7239,
29918,
29943,
4717,
2303,
7838,
28483,
29897,
1275,
29871,
29941,
29941,
29941,
29900,
29945,
29901,
13,
9651,
736,
13,
308,
13,
4706,
12729,
29889,
3820,
18759,
29898,
7239,
29889,
7239,
29918,
15032,
1955,
29918,
7838,
28483,
29918,
22698,
29897,
13,
308,
13,
4706,
565,
451,
1583,
29889,
726,
545,
29901,
13,
9651,
736,
13,
632,
13,
4706,
565,
451,
1583,
29889,
845,
1664,
29901,
13,
9651,
1583,
29889,
12198,
2713,
24574,
580,
13,
13,
4706,
565,
451,
1583,
29889,
29894,
833,
29901,
13,
9651,
1583,
29889,
29894,
833,
353,
12729,
29889,
3820,
15462,
29933,
3096,
414,
29898,
29896,
29897,
13,
13,
4706,
528,
24574,
29889,
3820,
11403,
9283,
29898,
1311,
29889,
845,
1664,
29897,
13,
18884,
13,
4706,
12729,
29889,
3820,
15708,
7701,
29898,
7239,
29889,
7239,
29918,
1718,
22800,
29918,
7838,
28483,
29892,
1583,
29889,
29894,
833,
29897,
13,
4706,
13791,
353,
12655,
29889,
2378,
29898,
13,
9651,
21069,
1311,
29889,
7052,
718,
1583,
29889,
18904,
29892,
448,
1311,
29889,
7052,
718,
1583,
29889,
1270,
1919,
13,
632,
1583,
29889,
7052,
718,
1583,
29889,
18904,
29892,
448,
1311,
29889,
7052,
718,
1583,
29889,
1270,
29892,
13,
632,
1583,
29889,
7052,
718,
1583,
29889,
18904,
29892,
1583,
29889,
7052,
718,
1583,
29889,
1270,
29892,
13,
632,
448,
1311,
29889,
7052,
718,
1583,
29889,
18904,
29892,
1583,
29889,
7052,
718,
1583,
29889,
1270,
29892,
13,
632,
29900,
29892,
29900,
29892,
29896,
29892,
29900,
29892,
29896,
29892,
29896,
29892,
29900,
29892,
29896,
1402,
26688,
353,
12655,
29889,
7411,
29941,
29906,
29897,
13,
539,
13,
4706,
12729,
29889,
3820,
7701,
1469,
29898,
7239,
29889,
7239,
29918,
1718,
22800,
29918,
7838,
28483,
29892,
29871,
29953,
29946,
29892,
13791,
29892,
12729,
29889,
7239,
29918,
17816,
2965,
29918,
29928,
4717,
29956,
29897,
13,
308,
13,
4706,
1180,
353,
12729,
29889,
3820,
2577,
4165,
1091,
6508,
29898,
1311,
29889,
845,
1664,
29892,
376,
3283,
797,
1159,
13,
4706,
12729,
29889,
3820,
20701,
22479,
4165,
1091,
2588,
29898,
2029,
29897,
13,
4706,
12729,
29889,
3820,
22479,
4165,
1091,
14516,
29898,
2029,
29892,
29871,
29906,
29892,
12729,
29889,
7239,
29918,
29943,
3927,
1299,
29892,
29871,
29900,
29892,
29871,
29947,
29892,
274,
29918,
5405,
29918,
29886,
29898,
29900,
876,
13,
308,
13,
4706,
1180,
353,
12729,
29889,
3820,
2577,
4165,
1091,
6508,
29898,
1311,
29889,
845,
1664,
29892,
376,
4776,
797,
1159,
13,
4706,
12729,
29889,
3820,
20701,
22479,
4165,
1091,
2588,
29898,
2029,
29897,
13,
4706,
12729,
29889,
3820,
22479,
4165,
1091,
14516,
29898,
2029,
29892,
29871,
29906,
29892,
12729,
29889,
7239,
29918,
29943,
3927,
1299,
29892,
29871,
29900,
29892,
29871,
29947,
29892,
274,
29918,
5405,
29918,
29886,
29898,
29941,
29906,
876,
13,
1669,
13,
4706,
822,
903,
29590,
3524,
29898,
978,
1125,
13,
9651,
736,
12729,
29889,
3820,
2577,
2525,
5560,
6508,
29898,
1311,
29889,
845,
1664,
29892,
978,
29897,
13,
4706,
12729,
29889,
3820,
2525,
5560,
29896,
29888,
7373,
29590,
3524,
703,
29887,
4968,
1583,
29889,
4283,
416,
13,
4706,
12729,
29889,
3820,
2525,
5560,
29896,
29888,
7373,
29590,
3524,
703,
29885,
4968,
5844,
29889,
12248,
29898,
29906,
29892,
1583,
29889,
735,
1066,
545,
718,
29871,
29906,
29889,
29946,
29955,
29941,
29929,
29941,
876,
13,
4706,
12729,
29889,
3820,
2525,
5560,
29896,
29888,
7373,
29590,
3524,
703,
29879,
4968,
5844,
29889,
12248,
29898,
29906,
29892,
448,
29941,
29889,
29945,
334,
1583,
29889,
4283,
876,
13,
4706,
12729,
29889,
3820,
2525,
5560,
29896,
29875,
7373,
29590,
3524,
703,
29882,
7707,
29918,
8513,
4968,
1583,
29889,
29882,
7707,
29918,
8513,
416,
13,
4706,
12729,
29889,
3820,
2525,
5560,
29896,
29875,
7373,
29590,
3524,
703,
726,
545,
4968,
29871,
29900,
416,
13,
4706,
12729,
29889,
3820,
9966,
21898,
29898,
7239,
29889,
7239,
29918,
16975,
11499,
29900,
416,
13,
4706,
12729,
29889,
3820,
15708,
21898,
29898,
7239,
29889,
7239,
29918,
16975,
11499,
29918,
29906,
29928,
29892,
1583,
29889,
726,
545,
29897,
13,
13,
4706,
12729,
29889,
3820,
8537,
2588,
29879,
29898,
7239,
29889,
7239,
29918,
13356,
3035,
29903,
29892,
29871,
29900,
29892,
29871,
29946,
416,
13,
13,
4706,
12729,
29889,
3820,
15708,
21898,
29898,
7239,
29889,
7239,
29918,
16975,
11499,
29918,
29906,
29928,
29892,
29871,
29900,
29897,
13,
4706,
1180,
353,
12729,
29889,
3820,
2577,
4165,
1091,
6508,
29898,
1311,
29889,
845,
1664,
29892,
376,
3283,
797,
1159,
13,
4706,
12729,
29889,
3820,
4205,
519,
22479,
4165,
1091,
2588,
29898,
2029,
29897,
13,
4706,
1180,
353,
12729,
29889,
3820,
2577,
4165,
1091,
6508,
29898,
1311,
29889,
845,
1664,
29892,
376,
4776,
797,
1159,
13,
4706,
12729,
29889,
3820,
4205,
519,
22479,
4165,
1091,
2588,
29898,
2029,
29897,
13,
4706,
12729,
29889,
3820,
15708,
7701,
29898,
7239,
29889,
7239,
29918,
1718,
22800,
29918,
7838,
28483,
29892,
29871,
29900,
29897,
13,
4706,
528,
24574,
29889,
3820,
11403,
9283,
29898,
29900,
29897,
13,
308,
13,
4706,
565,
1583,
29889,
1266,
20808,
6767,
29901,
13,
9651,
1583,
29889,
9482,
29637,
3401,
580,
13,
13,
1678,
822,
9495,
10923,
2624,
29898,
1311,
29892,
1741,
1125,
13,
4706,
1583,
29889,
4230,
9135,
353,
1741,
29889,
1066,
580,
13,
308,
13,
4706,
565,
1741,
29889,
3092,
580,
1360,
14705,
9203,
29889,
17303,
29889,
7341,
3125,
29901,
13,
9651,
1583,
29889,
1266,
20808,
6767,
353,
5852,
13,
9651,
1583,
29889,
3820,
8537,
580,
13,
632,
13,
1678,
822,
9495,
19729,
2624,
29898,
1311,
29892,
1741,
1125,
13,
4706,
565,
1741,
29889,
3092,
580,
1275,
14705,
9203,
29889,
17303,
29889,
7341,
3125,
29901,
13,
9651,
1583,
29889,
1266,
20808,
6767,
353,
7700,
13,
9651,
1583,
29889,
3820,
8537,
580,
13,
462,
13,
1678,
822,
9495,
16619,
2624,
29898,
1311,
29892,
1741,
1125,
13,
4706,
15414,
353,
1741,
29889,
29916,
580,
448,
1583,
29889,
4230,
9135,
29889,
29916,
580,
13,
4706,
13475,
353,
1741,
29889,
29891,
580,
448,
1583,
29889,
4230,
9135,
29889,
29891,
580,
13,
13,
4706,
565,
1741,
29889,
4187,
7453,
580,
669,
14705,
9203,
29889,
17303,
29889,
8091,
3125,
29901,
13,
9651,
1583,
29889,
18904,
4619,
1583,
29889,
8357,
29943,
7168,
29930,
8235,
13,
9651,
1583,
29889,
1270,
22361,
1583,
29889,
8357,
29943,
7168,
29930,
4518,
13,
9651,
1583,
29889,
15728,
13409,
7967,
24266,
580,
13,
308,
13,
4706,
1583,
29889,
4230,
9135,
353,
1741,
29889,
1066,
580,
13,
4706,
1583,
29889,
3820,
8537,
580,
13,
13,
1678,
822,
18875,
2624,
29898,
1311,
29892,
1741,
1125,
13,
4706,
565,
1741,
29889,
4181,
580,
1405,
29871,
29900,
29901,
13,
9651,
1583,
29889,
24530,
4619,
29871,
29896,
13,
4706,
1683,
29901,
13,
9651,
1583,
29889,
24530,
22361,
29871,
29896,
13,
632,
13,
4706,
396,
9333,
2758,
2069,
284,
19342,
313,
1333,
7968,
29897,
13,
4706,
565,
1583,
29889,
24530,
529,
29871,
29900,
29901,
13,
9651,
1583,
29889,
24530,
353,
29871,
29900,
13,
308,
13,
4706,
1583,
29889,
7052,
353,
29871,
29900,
29889,
29945,
334,
5844,
29889,
12248,
29898,
1311,
29889,
2502,
290,
29943,
7168,
29892,
1583,
29889,
24530,
29897,
13,
4706,
1583,
29889,
15728,
13409,
7967,
24266,
580,
13,
4706,
1583,
29889,
3820,
8537,
580,
13,
13,
1678,
822,
1959,
13409,
7967,
24266,
29898,
1311,
1125,
13,
4706,
565,
448,
1311,
29889,
7052,
718,
1583,
29889,
18904,
1405,
29871,
29900,
29901,
13,
9651,
1583,
29889,
18904,
353,
1583,
29889,
7052,
13,
4706,
565,
1583,
29889,
7052,
718,
1583,
29889,
18904,
529,
29871,
29896,
29901,
13,
9651,
1583,
29889,
18904,
353,
29871,
29896,
448,
1583,
29889,
7052,
13,
4706,
565,
448,
1311,
29889,
7052,
718,
1583,
29889,
1270,
1405,
29871,
29900,
29901,
13,
9651,
1583,
29889,
1270,
353,
1583,
29889,
7052,
13,
4706,
565,
1583,
29889,
7052,
718,
1583,
29889,
1270,
529,
29871,
29896,
29901,
13,
9651,
1583,
29889,
1270,
353,
29871,
29896,
448,
1583,
29889,
7052,
13,
13,
1678,
822,
2159,
28016,
29898,
1311,
1125,
13,
4706,
736,
14705,
9203,
29889,
29984,
3505,
29898,
1311,
29889,
29893,
29892,
1311,
29889,
29882,
29897,
13,
13,
1678,
822,
4050,
29637,
3401,
29898,
1311,
1125,
13,
4706,
396,
3617,
15526,
11909,
282,
29916,
322,
11451,
13,
4706,
2159,
353,
29871,
29906,
29889,
29900,
16395,
1311,
29889,
7052,
29897,
13,
4706,
1283,
29916,
353,
1583,
29889,
29893,
334,
313,
1311,
29889,
7052,
448,
1583,
29889,
18904,
29897,
847,
2159,
13,
4706,
1283,
29891,
353,
1583,
29889,
29882,
334,
313,
1311,
29889,
7052,
448,
1583,
29889,
1270,
29897,
847,
2159,
13,
4706,
282,
29916,
353,
938,
29898,
2696,
29916,
718,
313,
1311,
29889,
4230,
9135,
29889,
29916,
580,
334,
1583,
29889,
29893,
29897,
847,
313,
1311,
29889,
2103,
580,
334,
2159,
876,
13,
4706,
11451,
353,
938,
29898,
2696,
29891,
718,
313,
1311,
29889,
4230,
9135,
29889,
29891,
580,
334,
1583,
29889,
29882,
29897,
847,
313,
1311,
29889,
3545,
580,
29930,
2159,
876,
13,
4706,
11451,
353,
1583,
29889,
29882,
448,
11451,
13,
4706,
282,
29916,
353,
1375,
29898,
3317,
29898,
1756,
29892,
29900,
511,
1583,
29889,
29893,
448,
29871,
29896,
29897,
13,
4706,
11451,
353,
1375,
29898,
3317,
29898,
2272,
29892,
29900,
511,
1583,
29889,
29882,
448,
29871,
29896,
29897,
13,
308,
13,
4706,
659,
353,
518,
8516,
29892,
6213,
29892,
6213,
29892,
6213,
29962,
13,
4706,
363,
474,
297,
921,
3881,
29898,
1311,
29889,
726,
545,
1272,
29889,
12181,
29961,
29906,
29962,
1125,
13,
9651,
659,
29961,
29875,
29962,
353,
1583,
29889,
726,
545,
1272,
29961,
1756,
3816,
2272,
3816,
29875,
29962,
13,
4706,
26442,
353,
6796,
29916,
16664,
29875,
343,
16664,
29875,
29908,
1273,
313,
1756,
29892,
2272,
511,
29871,
13,
462,
376,
29934,
16664,
29888,
29908,
1273,
659,
29961,
29900,
29962,
565,
659,
29961,
29900,
29962,
1683,
376,
29876,
29914,
29874,
613,
29871,
13,
462,
376,
29954,
16664,
29888,
29908,
1273,
659,
29961,
29896,
29962,
565,
659,
29961,
29896,
29962,
1683,
376,
29876,
29914,
29874,
613,
13,
462,
376,
29933,
16664,
29888,
29908,
1273,
659,
29961,
29906,
29962,
565,
659,
29961,
29906,
29962,
1683,
376,
29876,
29914,
29874,
3108,
13,
4706,
4079,
353,
14705,
28707,
29889,
29984,
9824,
580,
13,
4706,
4079,
29889,
842,
27104,
703,
7185,
359,
3535,
1159,
13,
4706,
396,
5657,
29889,
842,
26262,
29925,
2335,
29898,
5574,
416,
13,
4706,
21556,
353,
14705,
28707,
29889,
29984,
9824,
10095,
10817,
29898,
5657,
29897,
13,
4706,
269,
29916,
353,
29871,
29906,
29900,
396,
29250,
2286,
13,
4706,
281,
29892,
29882,
353,
21556,
29889,
2103,
29898,
726,
29879,
29961,
29896,
11724,
21556,
29889,
3545,
580,
13,
4706,
21556,
29889,
2103,
703,
16521,
13,
4706,
921,
29892,
29891,
29871,
353,
1583,
29889,
4230,
9135,
29889,
29916,
3285,
1583,
29889,
3545,
580,
448,
1583,
29889,
4230,
9135,
29889,
29891,
580,
448,
269,
29916,
13,
4706,
15414,
29892,
4518,
353,
29871,
29896,
29889,
29900,
29914,
1311,
29889,
2103,
3285,
29871,
29896,
29889,
29900,
29914,
1311,
29889,
3545,
580,
13,
632,
13,
4706,
396,
20535,
403,
15526,
5235,
2602,
13,
4706,
396,
3925,
481,
2602,
565,
5377,
4315,
13,
4706,
565,
921,
718,
29871,
29896,
29889,
29945,
29930,
29879,
29916,
718,
281,
529,
1583,
29889,
2103,
7295,
13,
9651,
921,
29900,
353,
921,
718,
29871,
29900,
29889,
29955,
29945,
29930,
29879,
29916,
13,
9651,
921,
29896,
353,
921,
718,
29871,
29896,
29889,
29945,
29930,
29879,
29916,
718,
281,
718,
29871,
29896,
29900,
13,
9651,
25568,
353,
921,
718,
269,
29916,
13,
4706,
1683,
29901,
13,
9651,
921,
29900,
353,
921,
448,
29871,
29900,
29889,
29955,
29945,
29930,
29879,
29916,
13,
9651,
921,
29896,
353,
921,
448,
29871,
29896,
29889,
29945,
29930,
29879,
29916,
448,
281,
13,
9651,
25568,
353,
921,
448,
269,
29916,
448,
281,
13,
4706,
565,
343,
718,
269,
29916,
448,
29871,
29945,
334,
298,
1405,
29871,
29900,
29901,
13,
9651,
343,
29900,
353,
343,
718,
269,
29916,
13,
9651,
343,
29896,
353,
343,
718,
269,
29916,
448,
29871,
29945,
334,
298,
13,
9651,
7911,
353,
1583,
29889,
3545,
580,
29899,
29891,
13,
4706,
1683,
29901,
13,
9651,
343,
29900,
353,
343,
448,
269,
29916,
718,
29871,
29941,
334,
298,
13,
9651,
343,
29896,
353,
343,
448,
269,
29916,
718,
29871,
29947,
334,
298,
13,
9651,
7911,
353,
1583,
29889,
3545,
580,
29899,
29891,
448,
29871,
29945,
334,
298,
448,
29871,
29900,
29889,
29945,
29930,
29879,
29916,
13,
13,
4706,
396,
18492,
17772,
18890,
13,
4706,
12729,
29889,
3820,
10358,
355,
14400,
29898,
7239,
29889,
7239,
29918,
29903,
10363,
29918,
1964,
29925,
15715,
29892,
12729,
29889,
7239,
29918,
12413,
29918,
16173,
3308,
29918,
29903,
10363,
29918,
1964,
29925,
15715,
416,
13,
4706,
12729,
29889,
3820,
20701,
29898,
7239,
29889,
7239,
29918,
29933,
1307,
2797,
29897,
13,
4706,
12729,
29889,
3820,
17946,
29898,
7239,
29889,
7239,
29918,
13356,
3035,
29903,
29897,
13,
4706,
12729,
29889,
3820,
3306,
29946,
29888,
29898,
29900,
29892,
29900,
29892,
29900,
29892,
29900,
29889,
29947,
29897,
13,
4706,
363,
921,
29892,
29891,
297,
14319,
4197,
29916,
29900,
29892,
29916,
29896,
29892,
29916,
29896,
29892,
29916,
29900,
16272,
29891,
29900,
29892,
29891,
29900,
29892,
29891,
29896,
29892,
29891,
29896,
29962,
1125,
13,
9651,
12729,
29889,
3820,
22479,
29906,
29888,
29898,
29916,
334,
15414,
29892,
343,
334,
13475,
29897,
13,
4706,
12729,
29889,
3820,
5044,
580,
13,
4706,
12729,
29889,
3820,
4205,
519,
29898,
7239,
29889,
7239,
29918,
29933,
1307,
2797,
29897,
13,
308,
13,
4706,
396,
26000,
1426,
13,
4706,
12729,
29889,
3820,
3306,
29946,
29888,
29898,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
29897,
13,
4706,
363,
474,
29892,
726,
297,
26985,
29898,
726,
29879,
1125,
13,
9651,
1583,
29889,
9482,
1626,
29898,
7508,
29892,
7911,
718,
474,
29930,
29882,
29892,
1426,
29892,
4079,
29897,
13,
1669,
13,
13,
268,
13,
2
] |
taburu/event.py | TRI-AMDD/taburu | 0 | 60727 | <reponame>TRI-AMDD/taburu
# Copyright (c) 2019 Toyota Research Institute
import abc
from datetime import datetime
from monty.json import MSONable
class Event(abc.ABC):
def __init__(self, time=None):
self._time = time or datetime.utcnow().isoformat()
# TODO: more descriptive name, populate space?
class ParametersAdded(Event, MSONable):
def __init__(self, table_name, parameters, time=None):
self.table_name = table_name
self.parameters = parameters
super(ParametersAdded, self).__init__(time)
def as_dict(self):
return {
"@class": self.__class__.__name__,
"@module": self.__class__.__module__,
"table_name": self.table_name,
"parameters": self.parameters,
"time": self._time
}
class MethodAdded(Event, MSONable):
def __init__(self, name, parameter_indices, time=None):
self.name = name
self.parameter_indices = parameter_indices
super(MethodAdded, self).__init__(time)
def as_dict(self):
return {
"@class": self.__class__.__name__,
"@module": self.__class__.__module__,
"name": self.name,
"parameters": self.parameter_indices,
"time": self._time
}
| [
1,
529,
276,
1112,
420,
29958,
29911,
3960,
29899,
5194,
7858,
29914,
3891,
20144,
13,
29937,
14187,
1266,
313,
29883,
29897,
29871,
29906,
29900,
29896,
29929,
29411,
4616,
10550,
8907,
13,
5215,
25638,
13,
3166,
12865,
1053,
12865,
13,
3166,
7629,
29891,
29889,
3126,
1053,
341,
3094,
519,
13,
13,
13,
1990,
6864,
29898,
10736,
29889,
19658,
1125,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
931,
29922,
8516,
1125,
13,
4706,
1583,
3032,
2230,
353,
931,
470,
12865,
29889,
329,
29883,
3707,
2141,
10718,
4830,
580,
13,
13,
13,
29937,
14402,
29901,
901,
29037,
573,
1024,
29892,
19450,
2913,
29973,
13,
1990,
12662,
2699,
2528,
287,
29898,
2624,
29892,
341,
3094,
519,
1125,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
1591,
29918,
978,
29892,
4128,
29892,
931,
29922,
8516,
1125,
13,
4706,
1583,
29889,
2371,
29918,
978,
353,
1591,
29918,
978,
13,
4706,
1583,
29889,
16744,
353,
4128,
13,
4706,
2428,
29898,
11507,
2528,
287,
29892,
1583,
467,
1649,
2344,
12035,
2230,
29897,
13,
13,
1678,
822,
408,
29918,
8977,
29898,
1311,
1125,
13,
4706,
736,
426,
13,
9651,
17962,
1990,
1115,
1583,
17255,
1990,
1649,
17255,
978,
1649,
29892,
13,
9651,
17962,
5453,
1115,
1583,
17255,
1990,
1649,
17255,
5453,
1649,
29892,
13,
9651,
376,
2371,
29918,
978,
1115,
1583,
29889,
2371,
29918,
978,
29892,
13,
9651,
376,
16744,
1115,
1583,
29889,
16744,
29892,
13,
9651,
376,
2230,
1115,
1583,
3032,
2230,
13,
4706,
500,
13,
13,
13,
1990,
8108,
2528,
287,
29898,
2624,
29892,
341,
3094,
519,
1125,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
1024,
29892,
3443,
29918,
513,
1575,
29892,
931,
29922,
8516,
1125,
13,
4706,
1583,
29889,
978,
353,
1024,
13,
4706,
1583,
29889,
15501,
29918,
513,
1575,
353,
3443,
29918,
513,
1575,
13,
4706,
2428,
29898,
4062,
2528,
287,
29892,
1583,
467,
1649,
2344,
12035,
2230,
29897,
13,
13,
1678,
822,
408,
29918,
8977,
29898,
1311,
1125,
13,
4706,
736,
426,
13,
9651,
17962,
1990,
1115,
1583,
17255,
1990,
1649,
17255,
978,
1649,
29892,
13,
9651,
17962,
5453,
1115,
1583,
17255,
1990,
1649,
17255,
5453,
1649,
29892,
13,
9651,
376,
978,
1115,
1583,
29889,
978,
29892,
13,
9651,
376,
16744,
1115,
1583,
29889,
15501,
29918,
513,
1575,
29892,
13,
9651,
376,
2230,
1115,
1583,
3032,
2230,
13,
4706,
500,
13,
13,
2
] |
odoo/addons/base/tests/test_ir_http.py | jjiege/odoo | 0 | 78159 | # -*- coding: utf-8 -*-
from odoo.tests import common
import odoo
GIF = b"R0lGODdhAQABAIAAAP///////ywAAAAAAQABAAACAkQBADs="
class test_ir_http_mimetype(common.TransactionCase):
def test_ir_http_mimetype_attachment(self):
""" Test mimetype for attachment """
attachment = self.env['ir.attachment'].create({
'datas': GIF,
'name': 'Test mimetype gif',
'datas_fname': 'file.gif'})
status, headers, content = self.env['ir.http'].binary_content(
id=attachment.id,
mimetype=None,
default_mimetype='application/octet-stream',
env=self.env
)
mimetype = dict(headers).get('Content-Type')
self.assertEqual(mimetype, 'image/gif')
def test_ir_http_mimetype_attachment_name(self):
""" Test mimetype for attachment with bad name"""
attachment = self.env['ir.attachment'].create({
'datas': GIF,
'name': 'Test mimetype gif with png name',
'datas_fname': 'file.png'})
status, headers, content = self.env['ir.http'].binary_content(
id=attachment.id,
mimetype=None,
default_mimetype='application/octet-stream',
env=self.env
)
mimetype = dict(headers).get('Content-Type')
# TODO: fix and change it in master, should be image/gif
self.assertEqual(mimetype, 'image/png')
def test_ir_http_mimetype_basic_field(self):
""" Test mimetype for classic field """
partner = self.env['res.partner'].create({
'image': GIF,
'name': 'Test mimetype basic field',
})
status, headers, content = self.env['ir.http'].binary_content(
model='res.partner',
id=partner.id,
field='image',
default_mimetype='application/octet-stream',
env=self.env
)
mimetype = dict(headers).get('Content-Type')
self.assertEqual(mimetype, 'image/gif')
def test_ir_http_mimetype_computed_field(self):
""" Test mimetype for computed field wich resize picture"""
prop = self.env['ir.property'].create({
'fields_id': self.env['ir.model.fields'].search([], limit=1).id,
'name': "Property binary",
'value_binary': GIF,
'type': 'binary',
})
resized = odoo.tools.image_get_resized_images(prop.value_binary, return_big=True, avoid_resize_medium=True)['image_small']
# Simul computed field which resize and that is not attachement=True (E.G. on product)
prop.write({'value_binary': resized})
status, headers, content = self.env['ir.http'].binary_content(
model='ir.property',
id=prop.id,
field='value_binary',
default_mimetype='application/octet-stream',
env=self.env
)
mimetype = dict(headers).get('Content-Type')
self.assertEqual(mimetype, 'image/gif')
def test_ir_http_attachment_access(self):
""" Test attachment access with and without access token """
public_user = self.env.ref('base.public_user')
attachment = self.env['ir.attachment'].create({
'datas': GIF,
'name': 'Test valid access token with image',
'datas_fname': 'image.gif'
})
defaults = {
'id': attachment.id,
'default_mimetype': 'image/gif',
'env': public_user.sudo(public_user.id).env,
}
def test_access(**kwargs):
status, _, _ = self.env['ir.http'].binary_content(
**dict(defaults, **kwargs)
)
return status
status = test_access()
self.assertEqual(status, 403, "no access")
status = test_access(access_token=u'Secret')
self.assertEqual(status, 403,
"no access if access token for attachment without access token")
attachment.access_token = u'Secret'
status = test_access(access_token=u'Secret')
self.assertEqual(status, 200, "access for correct access token")
status = test_access(access_token=u'Wrong')
self.assertEqual(status, 403, "no access for wrong access token")
attachment.public = True
status = test_access()
self.assertEqual(status, 200, "access for attachment with access")
status = test_access(access_token=u'Wrong')
self.assertEqual(status, 403,
"no access for wrong access token for attachment with access")
attachment.unlink()
status = test_access()
self.assertEqual(status, 404, "no access for deleted attachment")
status = test_access(access_token=u'Secret')
self.assertEqual(status, 404,
"no access with access token for deleted attachment")
| [
1,
396,
448,
29930,
29899,
14137,
29901,
23616,
29899,
29947,
448,
29930,
29899,
13,
13,
3166,
288,
1867,
29877,
29889,
21150,
1053,
3619,
13,
5215,
288,
1867,
29877,
13,
13,
29954,
6545,
353,
289,
29908,
29934,
29900,
29880,
29954,
13668,
12744,
29909,
29984,
2882,
23869,
6344,
3301,
6165,
6658,
5693,
23184,
6344,
29984,
2882,
6344,
2477,
29909,
29895,
29984,
29933,
3035,
29879,
543,
13,
13,
13,
1990,
1243,
29918,
381,
29918,
1124,
29918,
29885,
17528,
668,
29898,
9435,
29889,
12460,
8259,
1125,
13,
13,
1678,
822,
1243,
29918,
381,
29918,
1124,
29918,
29885,
17528,
668,
29918,
14930,
358,
29898,
1311,
1125,
13,
4706,
9995,
4321,
286,
17528,
668,
363,
26305,
9995,
13,
4706,
26305,
353,
1583,
29889,
6272,
1839,
381,
29889,
14930,
358,
13359,
3258,
3319,
13,
9651,
525,
14538,
2396,
402,
6545,
29892,
13,
9651,
525,
978,
2396,
525,
3057,
286,
17528,
668,
330,
361,
742,
13,
9651,
525,
14538,
29918,
29888,
978,
2396,
525,
1445,
29889,
18660,
29915,
1800,
13,
13,
4706,
4660,
29892,
9066,
29892,
2793,
353,
1583,
29889,
6272,
1839,
381,
29889,
1124,
13359,
19541,
29918,
3051,
29898,
13,
9651,
1178,
29922,
14930,
358,
29889,
333,
29892,
13,
9651,
286,
17528,
668,
29922,
8516,
29892,
13,
9651,
2322,
29918,
29885,
17528,
668,
2433,
6214,
29914,
20082,
300,
29899,
5461,
742,
13,
9651,
8829,
29922,
1311,
29889,
6272,
13,
4706,
1723,
13,
4706,
286,
17528,
668,
353,
9657,
29898,
13662,
467,
657,
877,
3916,
29899,
1542,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
29885,
17528,
668,
29892,
525,
3027,
29914,
18660,
1495,
13,
13,
1678,
822,
1243,
29918,
381,
29918,
1124,
29918,
29885,
17528,
668,
29918,
14930,
358,
29918,
978,
29898,
1311,
1125,
13,
4706,
9995,
4321,
286,
17528,
668,
363,
26305,
411,
4319,
1024,
15945,
29908,
13,
4706,
26305,
353,
1583,
29889,
6272,
1839,
381,
29889,
14930,
358,
13359,
3258,
3319,
13,
9651,
525,
14538,
2396,
402,
6545,
29892,
13,
9651,
525,
978,
2396,
525,
3057,
286,
17528,
668,
330,
361,
411,
282,
865,
1024,
742,
13,
9651,
525,
14538,
29918,
29888,
978,
2396,
525,
1445,
29889,
2732,
29915,
1800,
13,
13,
4706,
4660,
29892,
9066,
29892,
2793,
353,
1583,
29889,
6272,
1839,
381,
29889,
1124,
13359,
19541,
29918,
3051,
29898,
13,
9651,
1178,
29922,
14930,
358,
29889,
333,
29892,
13,
9651,
286,
17528,
668,
29922,
8516,
29892,
13,
9651,
2322,
29918,
29885,
17528,
668,
2433,
6214,
29914,
20082,
300,
29899,
5461,
742,
13,
9651,
8829,
29922,
1311,
29889,
6272,
13,
4706,
1723,
13,
4706,
286,
17528,
668,
353,
9657,
29898,
13662,
467,
657,
877,
3916,
29899,
1542,
1495,
13,
4706,
396,
14402,
29901,
2329,
322,
1735,
372,
297,
5835,
29892,
881,
367,
1967,
29914,
18660,
13,
4706,
1583,
29889,
9294,
9843,
29898,
29885,
17528,
668,
29892,
525,
3027,
29914,
2732,
1495,
13,
13,
1678,
822,
1243,
29918,
381,
29918,
1124,
29918,
29885,
17528,
668,
29918,
16121,
29918,
2671,
29898,
1311,
1125,
13,
4706,
9995,
4321,
286,
17528,
668,
363,
22037,
1746,
9995,
13,
4706,
18096,
353,
1583,
29889,
6272,
1839,
690,
29889,
1595,
1089,
13359,
3258,
3319,
13,
9651,
525,
3027,
2396,
402,
6545,
29892,
13,
9651,
525,
978,
2396,
525,
3057,
286,
17528,
668,
6996,
1746,
742,
13,
4706,
5615,
13,
13,
4706,
4660,
29892,
9066,
29892,
2793,
353,
1583,
29889,
6272,
1839,
381,
29889,
1124,
13359,
19541,
29918,
3051,
29898,
13,
9651,
1904,
2433,
690,
29889,
1595,
1089,
742,
13,
9651,
1178,
29922,
1595,
1089,
29889,
333,
29892,
13,
9651,
1746,
2433,
3027,
742,
13,
9651,
2322,
29918,
29885,
17528,
668,
2433,
6214,
29914,
20082,
300,
29899,
5461,
742,
13,
9651,
8829,
29922,
1311,
29889,
6272,
13,
4706,
1723,
13,
4706,
286,
17528,
668,
353,
9657,
29898,
13662,
467,
657,
877,
3916,
29899,
1542,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
29885,
17528,
668,
29892,
525,
3027,
29914,
18660,
1495,
13,
13,
1678,
822,
1243,
29918,
381,
29918,
1124,
29918,
29885,
17528,
668,
29918,
12097,
287,
29918,
2671,
29898,
1311,
1125,
13,
4706,
9995,
4321,
286,
17528,
668,
363,
15712,
1746,
281,
436,
19490,
7623,
15945,
29908,
13,
4706,
3107,
353,
1583,
29889,
6272,
1839,
381,
29889,
6799,
13359,
3258,
3319,
13,
9651,
525,
9621,
29918,
333,
2396,
1583,
29889,
6272,
1839,
381,
29889,
4299,
29889,
9621,
13359,
4478,
4197,
1402,
4046,
29922,
29896,
467,
333,
29892,
13,
9651,
525,
978,
2396,
376,
4854,
7581,
613,
13,
9651,
525,
1767,
29918,
19541,
2396,
402,
6545,
29892,
13,
9651,
525,
1853,
2396,
525,
19541,
742,
13,
4706,
5615,
13,
13,
4706,
620,
1891,
353,
288,
1867,
29877,
29889,
8504,
29889,
3027,
29918,
657,
29918,
690,
1891,
29918,
8346,
29898,
7728,
29889,
1767,
29918,
19541,
29892,
736,
29918,
3752,
29922,
5574,
29892,
4772,
29918,
21476,
29918,
27891,
29922,
5574,
29897,
1839,
3027,
29918,
9278,
2033,
13,
4706,
396,
3439,
352,
15712,
1746,
607,
19490,
322,
393,
338,
451,
10641,
882,
29922,
5574,
313,
29923,
29889,
29954,
29889,
373,
3234,
29897,
13,
4706,
3107,
29889,
3539,
3319,
29915,
1767,
29918,
19541,
2396,
620,
1891,
1800,
13,
4706,
4660,
29892,
9066,
29892,
2793,
353,
1583,
29889,
6272,
1839,
381,
29889,
1124,
13359,
19541,
29918,
3051,
29898,
13,
9651,
1904,
2433,
381,
29889,
6799,
742,
13,
9651,
1178,
29922,
7728,
29889,
333,
29892,
13,
9651,
1746,
2433,
1767,
29918,
19541,
742,
13,
9651,
2322,
29918,
29885,
17528,
668,
2433,
6214,
29914,
20082,
300,
29899,
5461,
742,
13,
9651,
8829,
29922,
1311,
29889,
6272,
13,
4706,
1723,
13,
4706,
286,
17528,
668,
353,
9657,
29898,
13662,
467,
657,
877,
3916,
29899,
1542,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
29885,
17528,
668,
29892,
525,
3027,
29914,
18660,
1495,
13,
13,
1678,
822,
1243,
29918,
381,
29918,
1124,
29918,
14930,
358,
29918,
5943,
29898,
1311,
1125,
13,
4706,
9995,
4321,
26305,
2130,
411,
322,
1728,
2130,
5993,
9995,
13,
4706,
970,
29918,
1792,
353,
1583,
29889,
6272,
29889,
999,
877,
3188,
29889,
3597,
29918,
1792,
1495,
13,
4706,
26305,
353,
1583,
29889,
6272,
1839,
381,
29889,
14930,
358,
13359,
3258,
3319,
13,
9651,
525,
14538,
2396,
402,
6545,
29892,
13,
9651,
525,
978,
2396,
525,
3057,
2854,
2130,
5993,
411,
1967,
742,
13,
9651,
525,
14538,
29918,
29888,
978,
2396,
525,
3027,
29889,
18660,
29915,
13,
4706,
5615,
13,
13,
4706,
21274,
353,
426,
13,
9651,
525,
333,
2396,
26305,
29889,
333,
29892,
13,
9651,
525,
4381,
29918,
29885,
17528,
668,
2396,
525,
3027,
29914,
18660,
742,
13,
9651,
525,
6272,
2396,
970,
29918,
1792,
29889,
15360,
29898,
3597,
29918,
1792,
29889,
333,
467,
6272,
29892,
13,
4706,
500,
13,
13,
4706,
822,
1243,
29918,
5943,
29898,
1068,
19290,
1125,
13,
9651,
4660,
29892,
17117,
903,
353,
1583,
29889,
6272,
1839,
381,
29889,
1124,
13359,
19541,
29918,
3051,
29898,
13,
18884,
3579,
8977,
29898,
4381,
29879,
29892,
3579,
19290,
29897,
13,
9651,
1723,
13,
9651,
736,
4660,
13,
13,
4706,
4660,
353,
1243,
29918,
5943,
580,
13,
4706,
1583,
29889,
9294,
9843,
29898,
4882,
29892,
29871,
29946,
29900,
29941,
29892,
376,
1217,
2130,
1159,
13,
13,
4706,
4660,
353,
1243,
29918,
5943,
29898,
5943,
29918,
6979,
29922,
29884,
29915,
28459,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
4882,
29892,
29871,
29946,
29900,
29941,
29892,
13,
9651,
376,
1217,
2130,
565,
2130,
5993,
363,
26305,
1728,
2130,
5993,
1159,
13,
13,
4706,
26305,
29889,
5943,
29918,
6979,
353,
318,
29915,
28459,
29915,
13,
4706,
4660,
353,
1243,
29918,
5943,
29898,
5943,
29918,
6979,
29922,
29884,
29915,
28459,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
4882,
29892,
29871,
29906,
29900,
29900,
29892,
376,
5943,
363,
1959,
2130,
5993,
1159,
13,
13,
4706,
4660,
353,
1243,
29918,
5943,
29898,
5943,
29918,
6979,
29922,
29884,
29915,
29956,
29373,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
4882,
29892,
29871,
29946,
29900,
29941,
29892,
376,
1217,
2130,
363,
2743,
2130,
5993,
1159,
13,
13,
4706,
26305,
29889,
3597,
353,
5852,
13,
4706,
4660,
353,
1243,
29918,
5943,
580,
13,
4706,
1583,
29889,
9294,
9843,
29898,
4882,
29892,
29871,
29906,
29900,
29900,
29892,
376,
5943,
363,
26305,
411,
2130,
1159,
13,
13,
4706,
4660,
353,
1243,
29918,
5943,
29898,
5943,
29918,
6979,
29922,
29884,
29915,
29956,
29373,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
4882,
29892,
29871,
29946,
29900,
29941,
29892,
13,
9651,
376,
1217,
2130,
363,
2743,
2130,
5993,
363,
26305,
411,
2130,
1159,
13,
13,
4706,
26305,
29889,
348,
2324,
580,
13,
4706,
4660,
353,
1243,
29918,
5943,
580,
13,
4706,
1583,
29889,
9294,
9843,
29898,
4882,
29892,
29871,
29946,
29900,
29946,
29892,
376,
1217,
2130,
363,
11132,
26305,
1159,
13,
13,
4706,
4660,
353,
1243,
29918,
5943,
29898,
5943,
29918,
6979,
29922,
29884,
29915,
28459,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
4882,
29892,
29871,
29946,
29900,
29946,
29892,
13,
9651,
376,
1217,
2130,
411,
2130,
5993,
363,
11132,
26305,
1159,
13,
2
] |
TwitterModule/tweet_complaint.py | CFGIndia20/team-19 | 0 | 176088 | <reponame>CFGIndia20/team-19<filename>TwitterModule/tweet_complaint.py
class TweetComplaint:
def __init__(self, complain_text, city, state, tweet_id, username, image_url):
self.complain_text = complain_text
self.tweet_id = tweet_id
self.username = username
self.city = city
self.state = state
self.image_url = image_url
self.status = "reported"
def __str__(self):
return self.complain_text +'\n'+ str(self.tweet_id) +'\n'+ self.username +'\n'+ self.city +'\n'+ self.state +'\n'+ self.image_url
def to_dict(self):
return {'category': '', 'city': self.city, 'state': self.state, 'image_url': self.image_url,
'status': self.status, 'text': self.complain_text, 'tweet_id': self.tweet_id, 'username': self.username} | [
1,
529,
276,
1112,
420,
29958,
9207,
29954,
2568,
423,
29906,
29900,
29914,
14318,
29899,
29896,
29929,
29966,
9507,
29958,
27418,
5171,
7355,
29914,
29873,
16668,
29918,
2388,
433,
524,
29889,
2272,
13,
1990,
323,
16668,
6843,
433,
524,
29901,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
752,
7420,
29918,
726,
29892,
4272,
29892,
2106,
29892,
7780,
300,
29918,
333,
29892,
8952,
29892,
1967,
29918,
2271,
1125,
13,
13,
4706,
1583,
29889,
2388,
7420,
29918,
726,
353,
752,
7420,
29918,
726,
13,
4706,
1583,
29889,
29873,
16668,
29918,
333,
353,
7780,
300,
29918,
333,
13,
4706,
1583,
29889,
6786,
353,
8952,
13,
4706,
1583,
29889,
12690,
353,
4272,
13,
4706,
1583,
29889,
3859,
353,
2106,
13,
4706,
1583,
29889,
3027,
29918,
2271,
353,
1967,
29918,
2271,
13,
4706,
1583,
29889,
4882,
353,
376,
12276,
287,
29908,
13,
13,
1678,
822,
4770,
710,
12035,
1311,
1125,
13,
4706,
736,
1583,
29889,
2388,
7420,
29918,
726,
718,
12764,
29876,
18717,
851,
29898,
1311,
29889,
29873,
16668,
29918,
333,
29897,
718,
12764,
29876,
18717,
1583,
29889,
6786,
718,
12764,
29876,
18717,
1583,
29889,
12690,
718,
12764,
29876,
18717,
1583,
29889,
3859,
718,
12764,
29876,
18717,
1583,
29889,
3027,
29918,
2271,
13,
13,
1678,
822,
304,
29918,
8977,
29898,
1311,
1125,
13,
4706,
736,
11117,
7320,
2396,
15516,
525,
12690,
2396,
1583,
29889,
12690,
29892,
525,
3859,
2396,
1583,
29889,
3859,
29892,
525,
3027,
29918,
2271,
2396,
1583,
29889,
3027,
29918,
2271,
29892,
13,
308,
525,
4882,
2396,
1583,
29889,
4882,
29892,
525,
726,
2396,
1583,
29889,
2388,
7420,
29918,
726,
29892,
525,
29873,
16668,
29918,
333,
2396,
1583,
29889,
29873,
16668,
29918,
333,
29892,
525,
6786,
2396,
1583,
29889,
6786,
29913,
2
] |
funcoes.py | ZezaoDev/Circtrigo | 0 | 3294 | <reponame>ZezaoDev/Circtrigo
import turtle as t
import math
class circTrigo:
def __init__(self):
self.raio = 0
self.grau = 0
self.seno = 0
self.cosseno = 0
self.tangente = 0
self.quadrante = 0
self.tema = ''
t.bgcolor("black")
t.pencolor("white")
def seta(self):
# DESENHA UMA SETA
t.left(90)
t.forward(5)
t.right(120)
t.forward(10)
t.right(120)
t.forward(10)
t.right(120)
t.forward(5)
t.right(90)
def linha(self, pxls):
# DESENHA UMA LINHA PONTILHADA
pixels = int(pxls//1)
if pixels % 2 == 0:
pixels = pixels + 1
for x in range(0, pixels//10):
t.pendown()
t.forward(5)
t.penup()
t.forward(5)
t.pendown()
t.forward(pixels%10)
def reset(self):
# RETORNA PRA POSICAO INICIAL
t.penup()
t.home()
t.pendown()
t.speed(0)
t.pensize(2)
t.pencolor("white")
def circulo(self, raio):
# DESENHA O CIRCULO
self.raio = raio
t.right(90)
t.penup()
t.forward(self.raio)
t.left(90)
t.pendown()
t.circle(self.raio)
self.reset()
def eixos(self):
# EIXO X
t.penup()
t.backward(self.raio + 50)
t.pendown()
self.linha((self.raio*2)+100)
self.seta()
self.reset()
# EIXO Y
t.left(90)
t.penup()
t.backward(self.raio + 50)
t.pendown()
self.linha((self.raio*2)+100)
self.seta()
self.reset()
def angulo(self, grau):
# DESENHA O ANGULO
self.grau = grau % 360
t.left(self.grau)
t.forward(self.raio)
self.reset()
# DEFINE O VALOR DO SENO, COSSENO E TANGENTE.
self.seno = math.sin(math.radians(self.grau))
self.cosseno = math.cos(math.radians(self.grau))
self.tangente = math.tan(math.radians(self.grau))
# DEFINE O QUADRANTE DO ANGULO
vquad = self.grau
if 0 < vquad < 90:
self.quadrante = 1
elif 90 < vquad < 180:
self.quadrante = 2
elif 180 < vquad < 270:
self.quadrante = 3
elif 270 < vquad < 360:
self.quadrante = 4
if vquad == 0 or vquad == 90 or vquad == 180 or vquad == 270 or vquad == 360: # Quadrante 0 representa os angulos de resultados indefinidos
self.quadrante = 0
def sen(self):
# DESENHA O SENO
t.left(self.grau)
t.forward(self.raio)
t.pencolor("red")
if self.quadrante == 1:
t.left(180 - self.grau)
self.linha(self.cosseno * self.raio)
t.left(90)
t.forward(self.seno * self.raio)
print (self.seno)
elif self.quadrante == 2:
t.right(self.grau)
self.linha((self.cosseno * self.raio) * -1)
t.right(90)
t.forward(self.seno * self.raio)
print (self.seno)
elif self.quadrante == 3:
t.right(self.grau)
self.linha(self.cosseno * self.raio * -1)
t.left(90)
t.forward(self.seno * self.raio * -1)
print (self.seno)
elif self.quadrante == 4:
t.left(180 - self.grau)
self.linha(self.cosseno * self.raio)
t.left(90)
t.forward(self.seno * self.raio)
print (self.seno)
else:
print("Erro: angulo invalido")
self.reset()
def csen(self):
# DESENHA O COSSENO
t.left(self.grau)
t.forward(self.raio)
t.pencolor("green")
if self.quadrante == 1:
t.right(self.grau + 90)
self.linha(self.seno * self.raio)
t.right(90)
t.forward(self.cosseno * self.raio)
print (self.cosseno)
elif self.quadrante == 2:
t.right(self.grau + 90)
self.linha(self.seno * self.raio)
t.right(90)
t.forward(self.cosseno * self.raio)
print (self.cosseno)
elif self.quadrante == 3:
t.right(self.grau - 90)
self.linha(self.seno * self.raio * -1)
t.right(90)
t.forward(self.cosseno * self.raio * -1)
print (self.cosseno)
elif self.quadrante == 4:
t.right(self.grau - 90)
self.linha(self.seno * self.raio * -1)
t.left(90)
t.forward(self.cosseno * self.raio)
print (self.cosseno)
else:
print("Erro: angulo invalido")
self.reset()
def tan(self):
# DESENHA A TANGENTE
t.left(self.grau)
t.penup()
t.pencolor("blue")
if self.quadrante == 1:
t.forward(self.raio)
t.pendown()
self.linha(math.sqrt(((self.tangente*self.raio)**2) + (self.raio**2)) - self.raio)
t.right(self.grau + 90)
t.forward(self.tangente * self.raio)
print (self.tangente)
elif self.quadrante == 2:
t.left(180)
t.forward(self.raio)
t.pendown()
self.linha(math.sqrt(((self.tangente*self.raio)**2) + (self.raio**2)) - self.raio)
t.left(90 - self.grau)
t.forward(self.tangente * self.raio)
print (self.tangente)
elif self.quadrante == 3:
t.left(180)
t.forward(self.raio)
t.pendown()
self.linha(math.sqrt(((self.tangente*self.raio)**2) + (self.raio**2)) - self.raio)
t.right(self.grau - 90)
t.forward(self.tangente * self.raio)
print (self.tangente)
elif self.quadrante == 4:
t.forward(self.raio)
t.pendown()
self.linha(math.sqrt(((self.tangente*self.raio)**2) + (self.raio**2)) - self.raio)
t.right(90 + self.grau)
t.forward(self.tangente * self.raio)
print (self.tangente)
else:
print("Erro: angulo invalido")
self.reset()
| [
1,
529,
276,
1112,
420,
29958,
24625,
1362,
29877,
16618,
29914,
29907,
381,
9988,
5973,
13,
5215,
260,
4227,
280,
408,
260,
13,
5215,
5844,
13,
13,
13,
1990,
3449,
2308,
5973,
29901,
13,
13,
1678,
822,
4770,
2344,
12035,
1311,
1125,
13,
4706,
1583,
29889,
336,
601,
353,
29871,
29900,
13,
4706,
1583,
29889,
3874,
29884,
353,
29871,
29900,
13,
4706,
1583,
29889,
4881,
29877,
353,
29871,
29900,
13,
4706,
1583,
29889,
29883,
2209,
8154,
353,
29871,
29900,
13,
4706,
1583,
29889,
29873,
574,
2016,
353,
29871,
29900,
13,
4706,
1583,
29889,
3425,
661,
371,
353,
29871,
29900,
13,
4706,
1583,
29889,
1356,
29874,
353,
6629,
13,
4706,
260,
29889,
16264,
2780,
703,
8517,
1159,
13,
4706,
260,
29889,
2238,
2780,
703,
10921,
1159,
13,
308,
13,
1678,
822,
731,
29874,
29898,
1311,
1125,
13,
4706,
396,
18539,
1430,
15715,
501,
1529,
11368,
29909,
13,
4706,
260,
29889,
1563,
29898,
29929,
29900,
29897,
13,
4706,
260,
29889,
11333,
29898,
29945,
29897,
13,
4706,
260,
29889,
1266,
29898,
29896,
29906,
29900,
29897,
13,
4706,
260,
29889,
11333,
29898,
29896,
29900,
29897,
13,
4706,
260,
29889,
1266,
29898,
29896,
29906,
29900,
29897,
13,
4706,
260,
29889,
11333,
29898,
29896,
29900,
29897,
13,
4706,
260,
29889,
1266,
29898,
29896,
29906,
29900,
29897,
13,
4706,
260,
29889,
11333,
29898,
29945,
29897,
13,
4706,
260,
29889,
1266,
29898,
29929,
29900,
29897,
13,
13,
1678,
822,
6276,
2350,
29898,
1311,
29892,
282,
20267,
1125,
13,
4706,
396,
18539,
1430,
15715,
501,
1529,
21724,
15715,
349,
1164,
29911,
6227,
29950,
3035,
29909,
13,
4706,
17036,
353,
938,
29898,
1756,
3137,
458,
29896,
29897,
13,
4706,
565,
17036,
1273,
29871,
29906,
1275,
29871,
29900,
29901,
13,
9651,
17036,
353,
17036,
718,
29871,
29896,
13,
4706,
363,
921,
297,
3464,
29898,
29900,
29892,
17036,
458,
29896,
29900,
1125,
13,
9651,
260,
29889,
14081,
776,
580,
13,
9651,
260,
29889,
11333,
29898,
29945,
29897,
13,
9651,
260,
29889,
2238,
786,
580,
13,
9651,
260,
29889,
11333,
29898,
29945,
29897,
13,
9651,
260,
29889,
14081,
776,
580,
13,
4706,
260,
29889,
11333,
29898,
29886,
861,
1379,
29995,
29896,
29900,
29897,
632,
13,
268,
13,
1678,
822,
10092,
29898,
1311,
1125,
13,
4706,
396,
28081,
1955,
3521,
349,
4717,
349,
3267,
2965,
29909,
29949,
2672,
2965,
25758,
13,
4706,
260,
29889,
2238,
786,
580,
13,
4706,
260,
29889,
5184,
580,
13,
4706,
260,
29889,
14081,
776,
580,
13,
4706,
260,
29889,
19322,
29898,
29900,
29897,
13,
4706,
260,
29889,
29886,
575,
675,
29898,
29906,
29897,
13,
4706,
260,
29889,
2238,
2780,
703,
10921,
1159,
13,
13,
1678,
822,
5902,
17227,
29898,
1311,
29892,
1153,
601,
1125,
13,
4706,
396,
18539,
1430,
15715,
438,
315,
8193,
29907,
29965,
3927,
13,
4706,
1583,
29889,
336,
601,
353,
1153,
601,
13,
4706,
260,
29889,
1266,
29898,
29929,
29900,
29897,
13,
4706,
260,
29889,
2238,
786,
580,
13,
4706,
260,
29889,
11333,
29898,
1311,
29889,
336,
601,
29897,
13,
4706,
260,
29889,
1563,
29898,
29929,
29900,
29897,
13,
4706,
260,
29889,
14081,
776,
580,
13,
4706,
260,
29889,
16622,
29898,
1311,
29889,
336,
601,
29897,
13,
4706,
1583,
29889,
12071,
580,
13,
13,
1678,
822,
321,
861,
359,
29898,
1311,
1125,
13,
4706,
396,
382,
6415,
29949,
1060,
13,
4706,
260,
29889,
2238,
786,
580,
13,
4706,
260,
29889,
1627,
1328,
29898,
1311,
29889,
336,
601,
718,
29871,
29945,
29900,
29897,
13,
4706,
260,
29889,
14081,
776,
580,
13,
4706,
1583,
29889,
1915,
2350,
3552,
1311,
29889,
336,
601,
29930,
29906,
7240,
29896,
29900,
29900,
29897,
13,
4706,
1583,
29889,
842,
29874,
580,
13,
4706,
1583,
29889,
12071,
580,
13,
4706,
396,
382,
6415,
29949,
612,
13,
4706,
260,
29889,
1563,
29898,
29929,
29900,
29897,
13,
4706,
260,
29889,
2238,
786,
580,
13,
4706,
260,
29889,
1627,
1328,
29898,
1311,
29889,
336,
601,
718,
29871,
29945,
29900,
29897,
13,
4706,
260,
29889,
14081,
776,
580,
13,
4706,
1583,
29889,
1915,
2350,
3552,
1311,
29889,
336,
601,
29930,
29906,
7240,
29896,
29900,
29900,
29897,
13,
4706,
1583,
29889,
842,
29874,
580,
13,
4706,
1583,
29889,
12071,
580,
13,
13,
1678,
822,
2614,
7207,
29898,
1311,
29892,
2646,
29884,
1125,
13,
4706,
396,
18539,
1430,
15715,
438,
319,
9312,
29965,
3927,
13,
4706,
1583,
29889,
3874,
29884,
353,
2646,
29884,
1273,
29871,
29941,
29953,
29900,
13,
4706,
260,
29889,
1563,
29898,
1311,
29889,
3874,
29884,
29897,
13,
4706,
260,
29889,
11333,
29898,
1311,
29889,
336,
601,
29897,
13,
4706,
1583,
29889,
12071,
580,
13,
4706,
396,
5012,
29943,
8895,
438,
12599,
1955,
11662,
317,
1430,
29949,
29892,
4810,
1799,
1430,
29949,
382,
323,
19453,
3919,
29923,
29889,
13,
4706,
1583,
29889,
4881,
29877,
353,
5844,
29889,
5223,
29898,
755,
29889,
3665,
5834,
29898,
1311,
29889,
3874,
29884,
876,
13,
4706,
1583,
29889,
29883,
2209,
8154,
353,
5844,
29889,
3944,
29898,
755,
29889,
3665,
5834,
29898,
1311,
29889,
3874,
29884,
876,
13,
4706,
1583,
29889,
29873,
574,
2016,
353,
5844,
29889,
13161,
29898,
755,
29889,
3665,
5834,
29898,
1311,
29889,
3874,
29884,
876,
13,
4706,
396,
5012,
29943,
8895,
438,
660,
29965,
3035,
29934,
2190,
4330,
11662,
319,
9312,
29965,
3927,
13,
4706,
325,
3425,
353,
1583,
29889,
3874,
29884,
13,
4706,
565,
29871,
29900,
529,
325,
3425,
529,
29871,
29929,
29900,
29901,
13,
9651,
1583,
29889,
3425,
661,
371,
353,
29871,
29896,
13,
4706,
25342,
29871,
29929,
29900,
529,
325,
3425,
529,
29871,
29896,
29947,
29900,
29901,
13,
9651,
1583,
29889,
3425,
661,
371,
353,
29871,
29906,
13,
4706,
25342,
29871,
29896,
29947,
29900,
529,
325,
3425,
529,
29871,
29906,
29955,
29900,
29901,
13,
9651,
1583,
29889,
3425,
661,
371,
353,
29871,
29941,
13,
4706,
25342,
29871,
29906,
29955,
29900,
529,
325,
3425,
529,
29871,
29941,
29953,
29900,
29901,
13,
9651,
1583,
29889,
3425,
661,
371,
353,
29871,
29946,
13,
4706,
565,
325,
3425,
1275,
29871,
29900,
470,
325,
3425,
1275,
29871,
29929,
29900,
470,
325,
3425,
1275,
29871,
29896,
29947,
29900,
470,
325,
3425,
1275,
29871,
29906,
29955,
29900,
470,
325,
3425,
1275,
29871,
29941,
29953,
29900,
29901,
259,
396,
751,
328,
661,
371,
29871,
29900,
2755,
29874,
2897,
2614,
19733,
316,
1121,
2255,
297,
25476,
4396,
13,
9651,
1583,
29889,
3425,
661,
371,
353,
29871,
29900,
13,
13,
1678,
822,
6940,
29898,
1311,
1125,
13,
4706,
396,
18539,
1430,
15715,
438,
317,
1430,
29949,
13,
4706,
260,
29889,
1563,
29898,
1311,
29889,
3874,
29884,
29897,
13,
4706,
260,
29889,
11333,
29898,
1311,
29889,
336,
601,
29897,
13,
4706,
260,
29889,
2238,
2780,
703,
1127,
1159,
13,
4706,
565,
1583,
29889,
3425,
661,
371,
1275,
29871,
29896,
29901,
13,
9651,
260,
29889,
1563,
29898,
29896,
29947,
29900,
448,
1583,
29889,
3874,
29884,
29897,
13,
9651,
1583,
29889,
1915,
2350,
29898,
1311,
29889,
29883,
2209,
8154,
334,
1583,
29889,
336,
601,
29897,
13,
9651,
260,
29889,
1563,
29898,
29929,
29900,
29897,
13,
9651,
260,
29889,
11333,
29898,
1311,
29889,
4881,
29877,
334,
1583,
29889,
336,
601,
29897,
13,
9651,
1596,
313,
1311,
29889,
4881,
29877,
29897,
13,
4706,
25342,
1583,
29889,
3425,
661,
371,
1275,
29871,
29906,
29901,
13,
9651,
260,
29889,
1266,
29898,
1311,
29889,
3874,
29884,
29897,
13,
9651,
1583,
29889,
1915,
2350,
3552,
1311,
29889,
29883,
2209,
8154,
334,
1583,
29889,
336,
601,
29897,
334,
448,
29896,
29897,
13,
9651,
260,
29889,
1266,
29898,
29929,
29900,
29897,
13,
9651,
260,
29889,
11333,
29898,
1311,
29889,
4881,
29877,
334,
1583,
29889,
336,
601,
29897,
13,
9651,
1596,
313,
1311,
29889,
4881,
29877,
29897,
13,
4706,
25342,
1583,
29889,
3425,
661,
371,
1275,
29871,
29941,
29901,
13,
9651,
260,
29889,
1266,
29898,
1311,
29889,
3874,
29884,
29897,
13,
9651,
1583,
29889,
1915,
2350,
29898,
1311,
29889,
29883,
2209,
8154,
334,
1583,
29889,
336,
601,
334,
448,
29896,
29897,
13,
9651,
260,
29889,
1563,
29898,
29929,
29900,
29897,
13,
9651,
260,
29889,
11333,
29898,
1311,
29889,
4881,
29877,
334,
1583,
29889,
336,
601,
334,
448,
29896,
29897,
13,
9651,
1596,
313,
1311,
29889,
4881,
29877,
29897,
13,
4706,
25342,
1583,
29889,
3425,
661,
371,
1275,
29871,
29946,
29901,
13,
9651,
260,
29889,
1563,
29898,
29896,
29947,
29900,
448,
1583,
29889,
3874,
29884,
29897,
13,
9651,
1583,
29889,
1915,
2350,
29898,
1311,
29889,
29883,
2209,
8154,
334,
1583,
29889,
336,
601,
29897,
13,
9651,
260,
29889,
1563,
29898,
29929,
29900,
29897,
13,
9651,
260,
29889,
11333,
29898,
1311,
29889,
4881,
29877,
334,
1583,
29889,
336,
601,
29897,
13,
9651,
1596,
313,
1311,
29889,
4881,
29877,
29897,
13,
4706,
1683,
29901,
29871,
13,
9651,
1596,
703,
2110,
307,
29901,
2614,
7207,
297,
791,
1941,
1159,
13,
4706,
1583,
29889,
12071,
580,
13,
268,
13,
1678,
822,
274,
4881,
29898,
1311,
1125,
13,
4706,
396,
18539,
1430,
15715,
438,
4810,
1799,
1430,
29949,
13,
4706,
260,
29889,
1563,
29898,
1311,
29889,
3874,
29884,
29897,
13,
4706,
260,
29889,
11333,
29898,
1311,
29889,
336,
601,
29897,
13,
4706,
260,
29889,
2238,
2780,
703,
12692,
1159,
13,
4706,
565,
1583,
29889,
3425,
661,
371,
1275,
29871,
29896,
29901,
13,
9651,
260,
29889,
1266,
29898,
1311,
29889,
3874,
29884,
718,
29871,
29929,
29900,
29897,
13,
9651,
1583,
29889,
1915,
2350,
29898,
1311,
29889,
4881,
29877,
334,
1583,
29889,
336,
601,
29897,
13,
9651,
260,
29889,
1266,
29898,
29929,
29900,
29897,
13,
9651,
260,
29889,
11333,
29898,
1311,
29889,
29883,
2209,
8154,
334,
1583,
29889,
336,
601,
29897,
13,
9651,
1596,
313,
1311,
29889,
29883,
2209,
8154,
29897,
13,
4706,
25342,
1583,
29889,
3425,
661,
371,
1275,
29871,
29906,
29901,
13,
9651,
260,
29889,
1266,
29898,
1311,
29889,
3874,
29884,
718,
29871,
29929,
29900,
29897,
13,
9651,
1583,
29889,
1915,
2350,
29898,
1311,
29889,
4881,
29877,
334,
1583,
29889,
336,
601,
29897,
13,
9651,
260,
29889,
1266,
29898,
29929,
29900,
29897,
13,
9651,
260,
29889,
11333,
29898,
1311,
29889,
29883,
2209,
8154,
334,
1583,
29889,
336,
601,
29897,
13,
9651,
1596,
313,
1311,
29889,
29883,
2209,
8154,
29897,
13,
4706,
25342,
1583,
29889,
3425,
661,
371,
1275,
29871,
29941,
29901,
13,
9651,
260,
29889,
1266,
29898,
1311,
29889,
3874,
29884,
448,
29871,
29929,
29900,
29897,
13,
9651,
1583,
29889,
1915,
2350,
29898,
1311,
29889,
4881,
29877,
334,
1583,
29889,
336,
601,
334,
448,
29896,
29897,
13,
9651,
260,
29889,
1266,
29898,
29929,
29900,
29897,
13,
9651,
260,
29889,
11333,
29898,
1311,
29889,
29883,
2209,
8154,
334,
1583,
29889,
336,
601,
334,
448,
29896,
29897,
13,
9651,
1596,
313,
1311,
29889,
29883,
2209,
8154,
29897,
13,
4706,
25342,
1583,
29889,
3425,
661,
371,
1275,
29871,
29946,
29901,
13,
9651,
260,
29889,
1266,
29898,
1311,
29889,
3874,
29884,
448,
29871,
29929,
29900,
29897,
13,
9651,
1583,
29889,
1915,
2350,
29898,
1311,
29889,
4881,
29877,
334,
1583,
29889,
336,
601,
334,
448,
29896,
29897,
13,
9651,
260,
29889,
1563,
29898,
29929,
29900,
29897,
13,
9651,
260,
29889,
11333,
29898,
1311,
29889,
29883,
2209,
8154,
334,
1583,
29889,
336,
601,
29897,
13,
9651,
1596,
313,
1311,
29889,
29883,
2209,
8154,
29897,
13,
4706,
1683,
29901,
29871,
13,
9651,
1596,
703,
2110,
307,
29901,
2614,
7207,
297,
791,
1941,
1159,
13,
4706,
1583,
29889,
12071,
580,
13,
268,
13,
1678,
822,
10345,
29898,
1311,
1125,
13,
4706,
396,
18539,
1430,
15715,
319,
323,
19453,
3919,
29923,
13,
4706,
260,
29889,
1563,
29898,
1311,
29889,
3874,
29884,
29897,
13,
4706,
260,
29889,
2238,
786,
580,
13,
4706,
260,
29889,
2238,
2780,
703,
9539,
1159,
13,
4706,
565,
1583,
29889,
3425,
661,
371,
1275,
29871,
29896,
29901,
13,
9651,
260,
29889,
11333,
29898,
1311,
29889,
336,
601,
29897,
13,
9651,
260,
29889,
14081,
776,
580,
13,
9651,
1583,
29889,
1915,
2350,
29898,
755,
29889,
3676,
3552,
29898,
1311,
29889,
29873,
574,
2016,
29930,
1311,
29889,
336,
601,
29897,
1068,
29906,
29897,
718,
313,
1311,
29889,
336,
601,
1068,
29906,
876,
448,
1583,
29889,
336,
601,
29897,
13,
9651,
260,
29889,
1266,
29898,
1311,
29889,
3874,
29884,
718,
29871,
29929,
29900,
29897,
13,
9651,
260,
29889,
11333,
29898,
1311,
29889,
29873,
574,
2016,
334,
1583,
29889,
336,
601,
29897,
13,
9651,
1596,
313,
1311,
29889,
29873,
574,
2016,
29897,
13,
4706,
25342,
1583,
29889,
3425,
661,
371,
1275,
29871,
29906,
29901,
13,
9651,
260,
29889,
1563,
29898,
29896,
29947,
29900,
29897,
13,
9651,
260,
29889,
11333,
29898,
1311,
29889,
336,
601,
29897,
13,
9651,
260,
29889,
14081,
776,
580,
13,
9651,
1583,
29889,
1915,
2350,
29898,
755,
29889,
3676,
3552,
29898,
1311,
29889,
29873,
574,
2016,
29930,
1311,
29889,
336,
601,
29897,
1068,
29906,
29897,
718,
313,
1311,
29889,
336,
601,
1068,
29906,
876,
448,
1583,
29889,
336,
601,
29897,
13,
9651,
260,
29889,
1563,
29898,
29929,
29900,
448,
1583,
29889,
3874,
29884,
29897,
13,
9651,
260,
29889,
11333,
29898,
1311,
29889,
29873,
574,
2016,
334,
1583,
29889,
336,
601,
29897,
13,
9651,
1596,
313,
1311,
29889,
29873,
574,
2016,
29897,
13,
4706,
25342,
1583,
29889,
3425,
661,
371,
1275,
29871,
29941,
29901,
13,
9651,
260,
29889,
1563,
29898,
29896,
29947,
29900,
29897,
13,
9651,
260,
29889,
11333,
29898,
1311,
29889,
336,
601,
29897,
13,
9651,
260,
29889,
14081,
776,
580,
13,
9651,
1583,
29889,
1915,
2350,
29898,
755,
29889,
3676,
3552,
29898,
1311,
29889,
29873,
574,
2016,
29930,
1311,
29889,
336,
601,
29897,
1068,
29906,
29897,
718,
313,
1311,
29889,
336,
601,
1068,
29906,
876,
448,
1583,
29889,
336,
601,
29897,
13,
9651,
260,
29889,
1266,
29898,
1311,
29889,
3874,
29884,
448,
29871,
29929,
29900,
29897,
13,
9651,
260,
29889,
11333,
29898,
1311,
29889,
29873,
574,
2016,
334,
1583,
29889,
336,
601,
29897,
13,
9651,
1596,
313,
1311,
29889,
29873,
574,
2016,
29897,
13,
4706,
25342,
1583,
29889,
3425,
661,
371,
1275,
29871,
29946,
29901,
13,
9651,
260,
29889,
11333,
29898,
1311,
29889,
336,
601,
29897,
13,
9651,
260,
29889,
14081,
776,
580,
13,
9651,
1583,
29889,
1915,
2350,
29898,
755,
29889,
3676,
3552,
29898,
1311,
29889,
29873,
574,
2016,
29930,
1311,
29889,
336,
601,
29897,
1068,
29906,
29897,
718,
313,
1311,
29889,
336,
601,
1068,
29906,
876,
448,
1583,
29889,
336,
601,
29897,
13,
9651,
260,
29889,
1266,
29898,
29929,
29900,
718,
1583,
29889,
3874,
29884,
29897,
13,
9651,
260,
29889,
11333,
29898,
1311,
29889,
29873,
574,
2016,
334,
1583,
29889,
336,
601,
29897,
13,
9651,
1596,
313,
1311,
29889,
29873,
574,
2016,
29897,
13,
4706,
1683,
29901,
29871,
13,
9651,
1596,
703,
2110,
307,
29901,
2614,
7207,
297,
791,
1941,
1159,
13,
4706,
1583,
29889,
12071,
580,
13,
268,
13,
2
] |
Notatki/Obliczenia-naukowe/NumPy/NumPy.py | bzglinicki/python-trainin | 1 | 150909 | # Programowanie I R
# Pakiet NumPy
import numpy as np
arr_list = np.array([1, 2, 3, 4, 5])
print(arr_list)
print(type(arr_list))
print()
arr_tuple = np.array((1, 2, 3, 4, 5))
print(arr_tuple)
print(type(arr_tuple))
print()
arr = np.array(42)
print(arr)
print(arr.ndim)
print()
arr = np.array([[1, 2, 3], [4, 5, 6]])
print(arr)
print(arr.ndim)
print()
arr = np.array([[[1, 2, 3], [4, 5, 6]], [[1, 2, 3], [4, 5, 6]]])
print(arr)
print(arr.ndim)
print()
arr = np.array([1, 2, 3, 4], ndmin = 5)
print(arr)
print(arr.ndim)
print()
#***********************************************************************************
arr = np.array([1, 2, 3, 4])
print(arr[0])
print(arr[2] + arr[3])
print()
arr = np.array([[1,2,3,4,5], [6,7,8,9,10]])
print(arr[1, 3])
print(arr[1, 2])
print(arr[1, -1])
print()
arr = np.array([[[1, 2, 3], [4, 5, 6]], [[7, 8, 9], [10, 11, 12]]])
print(arr[0, 1, 2])
print()
#***********************************************************************************
arr = np.array([1, 2, 3, 4, 5, 6, 7])
print(arr[1:5])
print(arr[4:])
print(arr[:4])
print(arr[1:5:2])
print()
arr = np.array([[1, 2, 3, 4, 5], [6, 7, 8, 9, 10]])
print(arr[1, 1:4])
print(arr[0:2, 1:4])
#***********************************************************************************
arr1 = np.array([10, 11, 12, 13, 14, 15])
arr2 = np.array([20, 21, 22, 23, 24, 25])
newarr = np.add(arr1, arr2)
print(newarr)
print()
newarr = np.subtract(arr1, arr2)
print(newarr)
print()
newarr = np.multiply(arr1, arr2)
print(newarr)
print()
newarr = np.divide(arr1, arr2)
print(newarr)
print() | [
1,
396,
7835,
21752,
306,
390,
13,
29937,
14371,
2035,
11848,
19737,
13,
13,
5215,
12655,
408,
7442,
13,
13,
2749,
29918,
1761,
353,
7442,
29889,
2378,
4197,
29896,
29892,
29871,
29906,
29892,
29871,
29941,
29892,
29871,
29946,
29892,
29871,
29945,
2314,
13,
13,
2158,
29898,
2749,
29918,
1761,
29897,
13,
2158,
29898,
1853,
29898,
2749,
29918,
1761,
876,
13,
2158,
580,
13,
13,
2749,
29918,
23583,
353,
7442,
29889,
2378,
3552,
29896,
29892,
29871,
29906,
29892,
29871,
29941,
29892,
29871,
29946,
29892,
29871,
29945,
876,
13,
13,
2158,
29898,
2749,
29918,
23583,
29897,
13,
2158,
29898,
1853,
29898,
2749,
29918,
23583,
876,
13,
2158,
580,
13,
13,
2749,
353,
7442,
29889,
2378,
29898,
29946,
29906,
29897,
13,
2158,
29898,
2749,
29897,
13,
2158,
29898,
2749,
29889,
299,
326,
29897,
13,
2158,
580,
13,
13,
2749,
353,
7442,
29889,
2378,
4197,
29961,
29896,
29892,
29871,
29906,
29892,
29871,
29941,
1402,
518,
29946,
29892,
29871,
29945,
29892,
29871,
29953,
24960,
13,
2158,
29898,
2749,
29897,
13,
2158,
29898,
2749,
29889,
299,
326,
29897,
13,
2158,
580,
13,
13,
2749,
353,
7442,
29889,
2378,
4197,
8999,
29896,
29892,
29871,
29906,
29892,
29871,
29941,
1402,
518,
29946,
29892,
29871,
29945,
29892,
29871,
29953,
20526,
5519,
29896,
29892,
29871,
29906,
29892,
29871,
29941,
1402,
518,
29946,
29892,
29871,
29945,
29892,
29871,
29953,
5262,
2314,
13,
2158,
29898,
2749,
29897,
13,
2158,
29898,
2749,
29889,
299,
326,
29897,
13,
2158,
580,
13,
13,
2749,
353,
7442,
29889,
2378,
4197,
29896,
29892,
29871,
29906,
29892,
29871,
29941,
29892,
29871,
29946,
1402,
29871,
299,
1195,
353,
29871,
29945,
29897,
13,
2158,
29898,
2749,
29897,
13,
2158,
29898,
2749,
29889,
299,
326,
29897,
13,
2158,
580,
13,
13,
29937,
7775,
7775,
7775,
7775,
7775,
17435,
13,
13,
2749,
353,
7442,
29889,
2378,
4197,
29896,
29892,
29871,
29906,
29892,
29871,
29941,
29892,
29871,
29946,
2314,
13,
2158,
29898,
2749,
29961,
29900,
2314,
13,
2158,
29898,
2749,
29961,
29906,
29962,
718,
3948,
29961,
29941,
2314,
13,
2158,
580,
13,
13,
2749,
353,
7442,
29889,
2378,
4197,
29961,
29896,
29892,
29906,
29892,
29941,
29892,
29946,
29892,
29945,
1402,
518,
29953,
29892,
29955,
29892,
29947,
29892,
29929,
29892,
29896,
29900,
24960,
13,
2158,
29898,
2749,
29961,
29896,
29892,
29871,
29941,
2314,
13,
2158,
29898,
2749,
29961,
29896,
29892,
29871,
29906,
2314,
13,
2158,
29898,
2749,
29961,
29896,
29892,
448,
29896,
2314,
29871,
13,
2158,
580,
13,
13,
2749,
353,
7442,
29889,
2378,
4197,
8999,
29896,
29892,
29871,
29906,
29892,
29871,
29941,
1402,
518,
29946,
29892,
29871,
29945,
29892,
29871,
29953,
20526,
5519,
29955,
29892,
29871,
29947,
29892,
29871,
29929,
1402,
518,
29896,
29900,
29892,
29871,
29896,
29896,
29892,
29871,
29896,
29906,
5262,
2314,
13,
2158,
29898,
2749,
29961,
29900,
29892,
29871,
29896,
29892,
29871,
29906,
2314,
13,
2158,
580,
13,
13,
29937,
7775,
7775,
7775,
7775,
7775,
17435,
13,
13,
2749,
353,
7442,
29889,
2378,
4197,
29896,
29892,
29871,
29906,
29892,
29871,
29941,
29892,
29871,
29946,
29892,
29871,
29945,
29892,
29871,
29953,
29892,
29871,
29955,
2314,
13,
2158,
29898,
2749,
29961,
29896,
29901,
29945,
2314,
13,
2158,
29898,
2749,
29961,
29946,
29901,
2314,
13,
2158,
29898,
2749,
7503,
29946,
2314,
13,
2158,
29898,
2749,
29961,
29896,
29901,
29945,
29901,
29906,
2314,
13,
2158,
580,
13,
13,
2749,
353,
7442,
29889,
2378,
4197,
29961,
29896,
29892,
29871,
29906,
29892,
29871,
29941,
29892,
29871,
29946,
29892,
29871,
29945,
1402,
518,
29953,
29892,
29871,
29955,
29892,
29871,
29947,
29892,
29871,
29929,
29892,
29871,
29896,
29900,
24960,
13,
2158,
29898,
2749,
29961,
29896,
29892,
29871,
29896,
29901,
29946,
2314,
13,
2158,
29898,
2749,
29961,
29900,
29901,
29906,
29892,
29871,
29896,
29901,
29946,
2314,
13,
13,
29937,
7775,
7775,
7775,
7775,
7775,
17435,
13,
13,
2749,
29896,
353,
7442,
29889,
2378,
4197,
29896,
29900,
29892,
29871,
29896,
29896,
29892,
29871,
29896,
29906,
29892,
29871,
29896,
29941,
29892,
29871,
29896,
29946,
29892,
29871,
29896,
29945,
2314,
13,
2749,
29906,
353,
7442,
29889,
2378,
4197,
29906,
29900,
29892,
29871,
29906,
29896,
29892,
29871,
29906,
29906,
29892,
29871,
29906,
29941,
29892,
29871,
29906,
29946,
29892,
29871,
29906,
29945,
2314,
13,
1482,
2749,
353,
7442,
29889,
1202,
29898,
2749,
29896,
29892,
3948,
29906,
29897,
13,
2158,
29898,
1482,
2749,
29897,
13,
2158,
580,
13,
13,
1482,
2749,
353,
7442,
29889,
1491,
29873,
1461,
29898,
2749,
29896,
29892,
3948,
29906,
29897,
13,
2158,
29898,
1482,
2749,
29897,
13,
2158,
580,
13,
13,
1482,
2749,
353,
7442,
29889,
18056,
368,
29898,
2749,
29896,
29892,
3948,
29906,
29897,
13,
2158,
29898,
1482,
2749,
29897,
13,
2158,
580,
13,
13,
1482,
2749,
353,
7442,
29889,
4563,
680,
29898,
2749,
29896,
29892,
3948,
29906,
29897,
13,
2158,
29898,
1482,
2749,
29897,
13,
2158,
580,
2
] |
setup.py | srini009/reducer | 0 | 1616943 | <gh_stars>0
import os
import shutil
import re
import sys
def replace_in_file(filename, mapping):
print('==> Editing '+filename)
infile = open(filename)
outfile = open(filename+'.tmp', 'w+')
for line in infile:
for k, v in mapping.items():
line = line.replace(k, v)
outfile.write(line)
infile.close()
outfile.close()
shutil.copyfile(filename+'.tmp', filename)
os.remove(filename+'.tmp')
def list_files_to_edit(root, extensions,
exclude_directories=[],
exclude_files=[]):
result = []
for dirname, dirnames, filenames in os.walk(root):
for filename in filenames:
if filename in exclude_files:
continue
for ext in extensions:
if filename.endswith(ext):
result.append(os.path.join(dirname, filename))
break
for d in exclude_directories:
if d in dirnames:
dirnames.remove(d)
return result
def rename_files_and_directories(root, extensions,
mapping,
exclude_directories=[],
exclude_files=[]):
for dirname, dirnames, filenames in os.walk(root):
# exclude directories
for d in exclude_directories:
if d in dirnames:
dirnames.remove(d)
# rename folders
names_to_changes = {}
for subdirname in dirnames:
new_name = subdirname
for k, v in mapping.items():
new_name = new_name.replace(k, v)
if new_name != subdirname:
print("==> Renaming "+os.path.join(dirname, subdirname)+" into "+os.path.join(dirname, new_name))
shutil.move(os.path.join(dirname, subdirname),
os.path.join(dirname, new_name))
dirnames.remove(subdirname)
dirnames.append(new_name)
# rename files
for filename in filenames:
if filename in exclude_files:
continue
for ext in extensions:
if filename.endswith(ext):
new_name = filename
for k, v in mapping.items():
new_name = new_name.replace(k, v)
if new_name != filename:
print("==> Renaming "+os.path.join(dirname, filename)+" into "+os.path.join(dirname, new_name))
os.rename(os.path.join(dirname, filename),
os.path.join(dirname, new_name))
break # don't try the next extension for this file
if __name__ == '__main__':
service_name = input('Enter the name of your service: ')
if(not re.match('[a-zA-Z_][a-zA-Z\d_]*', service_name)):
print("Error: service name must start with a letter and consist of letters, digits, or underscores")
sys.exit(-1)
service_name = service_name.rstrip()
resource_name = input('Enter the name of the resources (e.g., database): ')
if(not re.match('[a-zA-Z_][a-zA-Z\d_]*', resource_name)):
print("Error: resource name must start with a letter and consist of letters, digits, or underscores")
sys.exit(-1)
mapping = {
'symbiomon' : service_name,
'SYMBIOMON' : service_name.upper(),
'metric' : resource_name,
'METRIC' : resource_name.upper()
}
files_to_edit = list_files_to_edit('.',
extensions=['.c', '.h', '.txt', '.in'],
exclude_directories=['.git','build', '.spack-env', 'munit'],
exclude_files=['uthash.h'])
for f in files_to_edit:
replace_in_file(f, mapping)
rename_files_and_directories('.',
extensions=['.c', '.h', '.txt', '.in'],
mapping=mapping,
exclude_directories=['.git','build', '.spack-env', 'munit'],
exclude_files=['uthash.h'])
| [
1,
529,
12443,
29918,
303,
1503,
29958,
29900,
13,
5215,
2897,
13,
5215,
528,
4422,
13,
5215,
337,
13,
5215,
10876,
13,
13,
13,
1753,
5191,
29918,
262,
29918,
1445,
29898,
9507,
29892,
10417,
1125,
13,
1678,
1596,
877,
1360,
29958,
7641,
292,
525,
29974,
9507,
29897,
13,
1678,
297,
1445,
353,
1722,
29898,
9507,
29897,
13,
1678,
714,
1445,
353,
1722,
29898,
9507,
29974,
4286,
7050,
742,
525,
29893,
29974,
1495,
13,
1678,
363,
1196,
297,
297,
1445,
29901,
13,
4706,
363,
413,
29892,
325,
297,
10417,
29889,
7076,
7295,
13,
9651,
1196,
353,
1196,
29889,
6506,
29898,
29895,
29892,
325,
29897,
13,
4706,
714,
1445,
29889,
3539,
29898,
1220,
29897,
13,
1678,
297,
1445,
29889,
5358,
580,
13,
1678,
714,
1445,
29889,
5358,
580,
13,
1678,
528,
4422,
29889,
8552,
1445,
29898,
9507,
29974,
4286,
7050,
742,
10422,
29897,
13,
1678,
2897,
29889,
5992,
29898,
9507,
29974,
4286,
7050,
1495,
13,
13,
1753,
1051,
29918,
5325,
29918,
517,
29918,
5628,
29898,
4632,
29892,
17752,
29892,
13,
4706,
19060,
29918,
11851,
3842,
11759,
1402,
13,
4706,
19060,
29918,
5325,
29922,
2636,
1125,
13,
1678,
1121,
353,
5159,
13,
1678,
363,
4516,
978,
29892,
4516,
7039,
29892,
977,
264,
1280,
297,
2897,
29889,
20919,
29898,
4632,
1125,
13,
4706,
363,
10422,
297,
977,
264,
1280,
29901,
13,
9651,
565,
10422,
297,
19060,
29918,
5325,
29901,
13,
18884,
6773,
13,
9651,
363,
1294,
297,
17752,
29901,
13,
18884,
565,
10422,
29889,
1975,
2541,
29898,
1062,
1125,
13,
462,
1678,
1121,
29889,
4397,
29898,
359,
29889,
2084,
29889,
7122,
29898,
25721,
29892,
10422,
876,
13,
462,
1678,
2867,
13,
4706,
363,
270,
297,
19060,
29918,
11851,
3842,
29901,
13,
9651,
565,
270,
297,
4516,
7039,
29901,
13,
18884,
4516,
7039,
29889,
5992,
29898,
29881,
29897,
13,
1678,
736,
1121,
13,
13,
1753,
19508,
29918,
5325,
29918,
392,
29918,
11851,
3842,
29898,
4632,
29892,
17752,
29892,
13,
4706,
10417,
29892,
13,
4706,
19060,
29918,
11851,
3842,
11759,
1402,
13,
4706,
19060,
29918,
5325,
29922,
2636,
1125,
13,
1678,
363,
4516,
978,
29892,
4516,
7039,
29892,
977,
264,
1280,
297,
2897,
29889,
20919,
29898,
4632,
1125,
13,
4706,
396,
19060,
17525,
13,
4706,
363,
270,
297,
19060,
29918,
11851,
3842,
29901,
13,
9651,
565,
270,
297,
4516,
7039,
29901,
13,
18884,
4516,
7039,
29889,
5992,
29898,
29881,
29897,
13,
4706,
396,
19508,
16495,
13,
4706,
2983,
29918,
517,
29918,
25990,
353,
6571,
13,
4706,
363,
1014,
25721,
297,
4516,
7039,
29901,
13,
9651,
716,
29918,
978,
353,
1014,
25721,
13,
9651,
363,
413,
29892,
325,
297,
10417,
29889,
7076,
7295,
13,
18884,
716,
29918,
978,
353,
716,
29918,
978,
29889,
6506,
29898,
29895,
29892,
325,
29897,
13,
9651,
565,
716,
29918,
978,
2804,
1014,
25721,
29901,
13,
18884,
1596,
703,
1360,
29958,
7493,
11500,
15691,
359,
29889,
2084,
29889,
7122,
29898,
25721,
29892,
1014,
25721,
7240,
29908,
964,
15691,
359,
29889,
2084,
29889,
7122,
29898,
25721,
29892,
716,
29918,
978,
876,
13,
18884,
528,
4422,
29889,
11631,
29898,
359,
29889,
2084,
29889,
7122,
29898,
25721,
29892,
1014,
25721,
511,
13,
462,
9651,
2897,
29889,
2084,
29889,
7122,
29898,
25721,
29892,
716,
29918,
978,
876,
13,
18884,
4516,
7039,
29889,
5992,
29898,
1491,
25721,
29897,
13,
18884,
4516,
7039,
29889,
4397,
29898,
1482,
29918,
978,
29897,
13,
4706,
396,
19508,
2066,
13,
4706,
363,
10422,
297,
977,
264,
1280,
29901,
13,
9651,
565,
10422,
297,
19060,
29918,
5325,
29901,
13,
18884,
6773,
13,
9651,
363,
1294,
297,
17752,
29901,
13,
18884,
565,
10422,
29889,
1975,
2541,
29898,
1062,
1125,
13,
462,
1678,
716,
29918,
978,
353,
10422,
13,
462,
1678,
363,
29871,
413,
29892,
325,
297,
10417,
29889,
7076,
7295,
13,
462,
4706,
716,
29918,
978,
353,
716,
29918,
978,
29889,
6506,
29898,
29895,
29892,
325,
29897,
13,
462,
1678,
565,
716,
29918,
978,
2804,
10422,
29901,
13,
462,
4706,
1596,
703,
1360,
29958,
7493,
11500,
15691,
359,
29889,
2084,
29889,
7122,
29898,
25721,
29892,
10422,
7240,
29908,
964,
15691,
359,
29889,
2084,
29889,
7122,
29898,
25721,
29892,
716,
29918,
978,
876,
13,
462,
4706,
2897,
29889,
1267,
420,
29898,
359,
29889,
2084,
29889,
7122,
29898,
25721,
29892,
10422,
511,
13,
462,
462,
29871,
2897,
29889,
2084,
29889,
7122,
29898,
25721,
29892,
716,
29918,
978,
876,
13,
462,
1678,
2867,
396,
1016,
29915,
29873,
1018,
278,
2446,
6081,
363,
445,
934,
13,
13,
13,
361,
4770,
978,
1649,
1275,
525,
1649,
3396,
1649,
2396,
13,
1678,
2669,
29918,
978,
353,
1881,
877,
10399,
278,
1024,
310,
596,
2669,
29901,
25710,
13,
1678,
565,
29898,
1333,
337,
29889,
4352,
877,
29961,
29874,
29899,
25265,
29899,
29999,
29918,
3816,
29874,
29899,
25265,
29899,
29999,
29905,
29881,
29918,
14178,
742,
2669,
29918,
978,
22164,
13,
4706,
1596,
703,
2392,
29901,
2669,
1024,
1818,
1369,
411,
263,
5497,
322,
5718,
310,
8721,
29892,
13340,
29892,
470,
23400,
29883,
2361,
1159,
13,
4706,
10876,
29889,
13322,
6278,
29896,
29897,
13,
1678,
2669,
29918,
978,
353,
2669,
29918,
978,
29889,
29878,
17010,
580,
13,
1678,
6503,
29918,
978,
353,
1881,
877,
10399,
278,
1024,
310,
278,
7788,
313,
29872,
29889,
29887,
1696,
2566,
1125,
25710,
13,
1678,
565,
29898,
1333,
337,
29889,
4352,
877,
29961,
29874,
29899,
25265,
29899,
29999,
29918,
3816,
29874,
29899,
25265,
29899,
29999,
29905,
29881,
29918,
14178,
742,
6503,
29918,
978,
22164,
13,
4706,
1596,
703,
2392,
29901,
6503,
1024,
1818,
1369,
411,
263,
5497,
322,
5718,
310,
8721,
29892,
13340,
29892,
470,
23400,
29883,
2361,
1159,
13,
4706,
10876,
29889,
13322,
6278,
29896,
29897,
13,
1678,
10417,
353,
426,
13,
4706,
525,
11967,
5365,
18192,
29915,
584,
2669,
29918,
978,
29892,
13,
4706,
525,
14816,
9486,
5971,
22877,
29915,
584,
2669,
29918,
978,
29889,
21064,
3285,
13,
4706,
525,
16414,
29915,
584,
6503,
29918,
978,
29892,
13,
4706,
525,
2303,
5659,
2965,
29915,
584,
6503,
29918,
978,
29889,
21064,
580,
13,
1678,
500,
13,
1678,
2066,
29918,
517,
29918,
5628,
353,
1051,
29918,
5325,
29918,
517,
29918,
5628,
12839,
742,
13,
4706,
17752,
29922,
1839,
29889,
29883,
742,
15300,
29882,
742,
15300,
3945,
742,
15300,
262,
7464,
13,
4706,
19060,
29918,
11851,
3842,
29922,
1839,
29889,
5559,
3788,
4282,
742,
15300,
1028,
547,
29899,
6272,
742,
525,
29885,
5441,
7464,
13,
4706,
19060,
29918,
5325,
29922,
1839,
2806,
1161,
29889,
29882,
11287,
13,
1678,
363,
285,
297,
2066,
29918,
517,
29918,
5628,
29901,
13,
4706,
5191,
29918,
262,
29918,
1445,
29898,
29888,
29892,
10417,
29897,
13,
1678,
19508,
29918,
5325,
29918,
392,
29918,
11851,
3842,
12839,
742,
13,
4706,
17752,
29922,
1839,
29889,
29883,
742,
15300,
29882,
742,
15300,
3945,
742,
15300,
262,
7464,
13,
4706,
10417,
29922,
20698,
29892,
13,
4706,
19060,
29918,
11851,
3842,
29922,
1839,
29889,
5559,
3788,
4282,
742,
15300,
1028,
547,
29899,
6272,
742,
525,
29885,
5441,
7464,
13,
4706,
19060,
29918,
5325,
29922,
1839,
2806,
1161,
29889,
29882,
11287,
13,
2
] |
core/management/commands/gendoc.py | klebed/esdc-ce | 97 | 44962 | import os
import re
import shutil
from ._base import DanubeCloudCommand, CommandOption, CommandError, lcd
class Command(DanubeCloudCommand):
help = 'Generate documentation files displayed in GUI.'
DOC_REPO = 'https://github.com/erigones/esdc-docs.git'
DOC_TMP_DIR = '/var/tmp/esdc-docs'
options = (
CommandOption('--api', '--api-only', action='store_true', dest='api_only', default=False,
help='Generate only the API documentation.'),
CommandOption('--user-guide', '--user-guide-only', action='store_true', dest='user_guide_only', default=False,
help='Generate only the User Guide.'),
)
def gendoc_api(self):
"""Generate api documentation"""
with lcd(self.PROJECT_DIR):
doc_dir = self._path(self.PROJECT_DIR, 'doc', 'api')
doc_dst = self._path(self.PROJECT_DIR, 'api', 'static', 'api', 'doc')
bin_dst = self._path(self.PROJECT_DIR, 'api', 'static', 'api', 'bin')
# Build sphinx docs
with lcd(doc_dir):
self.local('make esdc-clean; make esdc ESDOCDIR="%s"' % doc_dst)
# Create es script suitable for download
es_src = self._path(self.PROJECT_DIR, 'bin', 'es')
es_dst = self._path(bin_dst, 'es')
es_current = os.path.join(self.settings.PROJECT_DIR, 'var', 'www', 'static', 'api', 'bin', 'es')
api_url = "API_URL = '%s'" % (self.settings.SITE_LINK + '/api')
if os.path.isfile(es_current):
with open(es_current, 'r') as es0:
for line in es0:
if line.startswith("API_URL = '"):
api_url = line
break
with open(es_src) as es1:
with os.fdopen(os.open(es_dst, os.O_WRONLY | os.O_CREAT | os.O_TRUNC, 0o644), 'w') as es2:
es2.write(es1.read().replace("API_URL = 'http://127.0.0.1:8000/api'", api_url))
# Copy es_bash_completion.sh to download location
es_bc_src = self._path(doc_dir, 'es_bash_completion.sh')
self.local('cp %s %s' % (es_bc_src, bin_dst))
self.display('API documentation built successfully.', color='green')
def gendoc_user_guide(self, fallback_branch='master'):
"""Generate user guide"""
doc_dst = self._path(self.PROJECT_DIR, 'gui', 'static', 'user-guide')
with lcd(self.PROJECT_DIR):
try:
branch = self.get_git_version()[0] # Git tag or branch name
except CommandError:
self.display('Could not determine our branch or tag', color='yellow')
branch = fallback_branch
self.display('Falling back to "%s" branch' % branch, color='yellow')
else:
self.display('We are on branch "%s"' % branch)
if self._path_exists(self.DOC_TMP_DIR, 'user-guide', 'conf.py'):
existing_repo = True
self.display('%s already exists in %s' % (self.DOC_REPO, self.DOC_TMP_DIR), color='yellow')
with lcd(self.DOC_TMP_DIR):
self.local('git fetch')
self.display('%s has been successfully updated.' % self.DOC_REPO, color='green')
else:
if self._path_exists(self.DOC_TMP_DIR):
self.display('Removing stale %s', self.DOC_TMP_DIR, color='yellow')
shutil.rmtree(self.DOC_TMP_DIR)
existing_repo = False
self.local('git clone %s %s' % (self.DOC_REPO, self.DOC_TMP_DIR))
self.display('%s has been successfully cloned.' % self.DOC_TMP_DIR, color='green')
with lcd(self.DOC_TMP_DIR):
if self.local('git checkout %s' % branch, raise_on_error=False) != 0:
self.display('Could not checkout esdc-docs branch "%s"' % branch, color='yellow')
branch = fallback_branch
self.display('Falling back to "%s" branch' % branch, color='yellow')
self.local('git checkout %s' % branch)
self.display('Checked out esdc-docs branch "%s"' % branch, color='green')
# If the branch is no a tag name, then we need to merge/pull
if existing_repo and not re.search('^v[0-9]', branch):
self.local('git merge --ff-only origin/%s' % branch)
self.display('Merged esdc-docs branch "%s"' % branch, color='green')
# Build sphinx docs
with lcd(self._path(self.DOC_TMP_DIR, 'user-guide')):
self.local('make esdc-clean; make esdc ESDOCDIR="%s"' % doc_dst)
self.display('User guide built successfully.', color='green')
def handle(self, api_only=False, user_guide_only=False, **options):
if api_only and user_guide_only:
pass
elif api_only:
self.gendoc_api()
return
elif user_guide_only:
self.gendoc_user_guide()
return
self.gendoc_api()
self.display('\n\n', stderr=True)
self.gendoc_user_guide()
| [
1,
1053,
2897,
13,
5215,
337,
13,
5215,
528,
4422,
13,
13,
3166,
869,
29918,
3188,
1053,
3951,
4003,
20442,
6255,
29892,
10516,
8375,
29892,
10516,
2392,
29892,
301,
2252,
13,
13,
13,
1990,
10516,
29898,
18529,
4003,
20442,
6255,
1125,
13,
1678,
1371,
353,
525,
5631,
403,
5106,
2066,
8833,
297,
14839,
6169,
13,
1678,
11662,
29907,
29918,
1525,
13152,
353,
525,
991,
597,
3292,
29889,
510,
29914,
261,
335,
2873,
29914,
267,
13891,
29899,
2640,
29889,
5559,
29915,
13,
1678,
11662,
29907,
29918,
29911,
3580,
29918,
9464,
353,
8207,
1707,
29914,
7050,
29914,
267,
13891,
29899,
2640,
29915,
13,
1678,
3987,
353,
313,
13,
4706,
10516,
8375,
877,
489,
2754,
742,
525,
489,
2754,
29899,
6194,
742,
3158,
2433,
8899,
29918,
3009,
742,
2731,
2433,
2754,
29918,
6194,
742,
2322,
29922,
8824,
29892,
13,
462,
418,
1371,
2433,
5631,
403,
871,
278,
3450,
5106,
29889,
5477,
13,
4706,
10516,
8375,
877,
489,
1792,
29899,
13075,
742,
525,
489,
1792,
29899,
13075,
29899,
6194,
742,
3158,
2433,
8899,
29918,
3009,
742,
2731,
2433,
1792,
29918,
13075,
29918,
6194,
742,
2322,
29922,
8824,
29892,
13,
462,
418,
1371,
2433,
5631,
403,
871,
278,
4911,
16886,
29889,
5477,
13,
1678,
1723,
13,
13,
1678,
822,
330,
355,
542,
29918,
2754,
29898,
1311,
1125,
13,
4706,
9995,
5631,
403,
7882,
5106,
15945,
29908,
13,
4706,
411,
301,
2252,
29898,
1311,
29889,
8618,
17637,
29918,
9464,
1125,
13,
9651,
1574,
29918,
3972,
353,
1583,
3032,
2084,
29898,
1311,
29889,
8618,
17637,
29918,
9464,
29892,
525,
1514,
742,
525,
2754,
1495,
13,
9651,
1574,
29918,
22992,
353,
1583,
3032,
2084,
29898,
1311,
29889,
8618,
17637,
29918,
9464,
29892,
525,
2754,
742,
525,
7959,
742,
525,
2754,
742,
525,
1514,
1495,
13,
9651,
9016,
29918,
22992,
353,
1583,
3032,
2084,
29898,
1311,
29889,
8618,
17637,
29918,
9464,
29892,
525,
2754,
742,
525,
7959,
742,
525,
2754,
742,
525,
2109,
1495,
13,
13,
9651,
396,
8878,
269,
561,
14668,
10561,
13,
9651,
411,
301,
2252,
29898,
1514,
29918,
3972,
1125,
13,
18884,
1583,
29889,
2997,
877,
5675,
831,
13891,
29899,
14941,
29936,
1207,
831,
13891,
17956,
28665,
9464,
543,
29995,
29879,
29908,
29915,
1273,
1574,
29918,
22992,
29897,
13,
13,
9651,
396,
6204,
831,
2471,
13907,
363,
5142,
13,
9651,
831,
29918,
4351,
353,
1583,
3032,
2084,
29898,
1311,
29889,
8618,
17637,
29918,
9464,
29892,
525,
2109,
742,
525,
267,
1495,
13,
9651,
831,
29918,
22992,
353,
1583,
3032,
2084,
29898,
2109,
29918,
22992,
29892,
525,
267,
1495,
13,
9651,
831,
29918,
3784,
353,
2897,
29889,
2084,
29889,
7122,
29898,
1311,
29889,
11027,
29889,
8618,
17637,
29918,
9464,
29892,
525,
1707,
742,
525,
1636,
742,
525,
7959,
742,
525,
2754,
742,
525,
2109,
742,
525,
267,
1495,
13,
9651,
7882,
29918,
2271,
353,
376,
8787,
29918,
4219,
353,
14210,
29879,
11838,
1273,
313,
1311,
29889,
11027,
29889,
29903,
9094,
29918,
23714,
29968,
718,
8207,
2754,
1495,
13,
13,
9651,
565,
2897,
29889,
2084,
29889,
275,
1445,
29898,
267,
29918,
3784,
1125,
13,
18884,
411,
1722,
29898,
267,
29918,
3784,
29892,
525,
29878,
1495,
408,
831,
29900,
29901,
13,
462,
1678,
363,
1196,
297,
831,
29900,
29901,
13,
462,
4706,
565,
1196,
29889,
27382,
2541,
703,
8787,
29918,
4219,
353,
18793,
1125,
13,
462,
9651,
7882,
29918,
2271,
353,
1196,
13,
462,
9651,
2867,
13,
13,
9651,
411,
1722,
29898,
267,
29918,
4351,
29897,
408,
831,
29896,
29901,
13,
18884,
411,
2897,
29889,
11512,
3150,
29898,
359,
29889,
3150,
29898,
267,
29918,
22992,
29892,
2897,
29889,
29949,
29918,
9980,
1164,
16786,
891,
2897,
29889,
29949,
29918,
22245,
1299,
891,
2897,
29889,
29949,
29918,
5659,
3904,
29907,
29892,
29871,
29900,
29877,
29953,
29946,
29946,
511,
525,
29893,
1495,
408,
831,
29906,
29901,
13,
462,
1678,
831,
29906,
29889,
3539,
29898,
267,
29896,
29889,
949,
2141,
6506,
703,
8787,
29918,
4219,
353,
525,
1124,
597,
29896,
29906,
29955,
29889,
29900,
29889,
29900,
29889,
29896,
29901,
29947,
29900,
29900,
29900,
29914,
2754,
29915,
613,
7882,
29918,
2271,
876,
13,
13,
9651,
396,
14187,
831,
29918,
13067,
29918,
5729,
12757,
29889,
845,
304,
5142,
4423,
13,
9651,
831,
29918,
12328,
29918,
4351,
353,
1583,
3032,
2084,
29898,
1514,
29918,
3972,
29892,
525,
267,
29918,
13067,
29918,
5729,
12757,
29889,
845,
1495,
13,
9651,
1583,
29889,
2997,
877,
6814,
1273,
29879,
1273,
29879,
29915,
1273,
313,
267,
29918,
12328,
29918,
4351,
29892,
9016,
29918,
22992,
876,
13,
13,
4706,
1583,
29889,
4990,
877,
8787,
5106,
4240,
8472,
29889,
742,
2927,
2433,
12692,
1495,
13,
13,
1678,
822,
330,
355,
542,
29918,
1792,
29918,
13075,
29898,
1311,
29892,
6416,
1627,
29918,
17519,
2433,
6207,
29374,
13,
4706,
9995,
5631,
403,
1404,
10754,
15945,
29908,
13,
4706,
1574,
29918,
22992,
353,
1583,
3032,
2084,
29898,
1311,
29889,
8618,
17637,
29918,
9464,
29892,
525,
23569,
742,
525,
7959,
742,
525,
1792,
29899,
13075,
1495,
13,
13,
4706,
411,
301,
2252,
29898,
1311,
29889,
8618,
17637,
29918,
9464,
1125,
13,
9651,
1018,
29901,
13,
18884,
5443,
353,
1583,
29889,
657,
29918,
5559,
29918,
3259,
580,
29961,
29900,
29962,
29871,
396,
11786,
4055,
470,
5443,
1024,
13,
9651,
5174,
10516,
2392,
29901,
13,
18884,
1583,
29889,
4990,
877,
23323,
451,
8161,
1749,
5443,
470,
4055,
742,
2927,
2433,
29136,
1495,
13,
18884,
5443,
353,
6416,
1627,
29918,
17519,
13,
18884,
1583,
29889,
4990,
877,
29943,
27855,
1250,
304,
11860,
29879,
29908,
5443,
29915,
1273,
5443,
29892,
2927,
2433,
29136,
1495,
13,
9651,
1683,
29901,
13,
18884,
1583,
29889,
4990,
877,
4806,
526,
373,
5443,
11860,
29879,
29908,
29915,
1273,
5443,
29897,
13,
13,
4706,
565,
1583,
3032,
2084,
29918,
9933,
29898,
1311,
29889,
28665,
29918,
29911,
3580,
29918,
9464,
29892,
525,
1792,
29899,
13075,
742,
525,
5527,
29889,
2272,
29374,
13,
9651,
5923,
29918,
20095,
353,
5852,
13,
9651,
1583,
29889,
4990,
877,
29995,
29879,
2307,
4864,
297,
1273,
29879,
29915,
1273,
313,
1311,
29889,
28665,
29918,
1525,
13152,
29892,
1583,
29889,
28665,
29918,
29911,
3580,
29918,
9464,
511,
2927,
2433,
29136,
1495,
13,
9651,
411,
301,
2252,
29898,
1311,
29889,
28665,
29918,
29911,
3580,
29918,
9464,
1125,
13,
18884,
1583,
29889,
2997,
877,
5559,
6699,
1495,
13,
9651,
1583,
29889,
4990,
877,
29995,
29879,
756,
1063,
8472,
4784,
6169,
1273,
1583,
29889,
28665,
29918,
1525,
13152,
29892,
2927,
2433,
12692,
1495,
13,
4706,
1683,
29901,
13,
9651,
565,
1583,
3032,
2084,
29918,
9933,
29898,
1311,
29889,
28665,
29918,
29911,
3580,
29918,
9464,
1125,
13,
18884,
1583,
29889,
4990,
877,
7301,
21081,
380,
744,
1273,
29879,
742,
1583,
29889,
28665,
29918,
29911,
3580,
29918,
9464,
29892,
2927,
2433,
29136,
1495,
13,
18884,
528,
4422,
29889,
1758,
8336,
29898,
1311,
29889,
28665,
29918,
29911,
3580,
29918,
9464,
29897,
13,
13,
9651,
5923,
29918,
20095,
353,
7700,
13,
9651,
1583,
29889,
2997,
877,
5559,
17432,
1273,
29879,
1273,
29879,
29915,
1273,
313,
1311,
29889,
28665,
29918,
1525,
13152,
29892,
1583,
29889,
28665,
29918,
29911,
3580,
29918,
9464,
876,
13,
9651,
1583,
29889,
4990,
877,
29995,
29879,
756,
1063,
8472,
1067,
22367,
6169,
1273,
1583,
29889,
28665,
29918,
29911,
3580,
29918,
9464,
29892,
2927,
2433,
12692,
1495,
13,
13,
4706,
411,
301,
2252,
29898,
1311,
29889,
28665,
29918,
29911,
3580,
29918,
9464,
1125,
13,
9651,
565,
1583,
29889,
2997,
877,
5559,
24808,
1273,
29879,
29915,
1273,
5443,
29892,
12020,
29918,
265,
29918,
2704,
29922,
8824,
29897,
2804,
29871,
29900,
29901,
13,
18884,
1583,
29889,
4990,
877,
23323,
451,
24808,
831,
13891,
29899,
2640,
5443,
11860,
29879,
29908,
29915,
1273,
5443,
29892,
2927,
2433,
29136,
1495,
13,
18884,
5443,
353,
6416,
1627,
29918,
17519,
13,
18884,
1583,
29889,
4990,
877,
29943,
27855,
1250,
304,
11860,
29879,
29908,
5443,
29915,
1273,
5443,
29892,
2927,
2433,
29136,
1495,
13,
18884,
1583,
29889,
2997,
877,
5559,
24808,
1273,
29879,
29915,
1273,
5443,
29897,
13,
13,
9651,
1583,
29889,
4990,
877,
17817,
714,
831,
13891,
29899,
2640,
5443,
11860,
29879,
29908,
29915,
1273,
5443,
29892,
2927,
2433,
12692,
1495,
13,
9651,
396,
960,
278,
5443,
338,
694,
263,
4055,
1024,
29892,
769,
591,
817,
304,
10366,
29914,
26746,
13,
9651,
565,
5923,
29918,
20095,
322,
451,
337,
29889,
4478,
877,
29985,
29894,
29961,
29900,
29899,
29929,
29962,
742,
5443,
1125,
13,
18884,
1583,
29889,
2997,
877,
5559,
10366,
1192,
600,
29899,
6194,
3978,
22584,
29879,
29915,
1273,
5443,
29897,
13,
18884,
1583,
29889,
4990,
877,
15836,
3192,
831,
13891,
29899,
2640,
5443,
11860,
29879,
29908,
29915,
1273,
5443,
29892,
2927,
2433,
12692,
1495,
13,
13,
4706,
396,
8878,
269,
561,
14668,
10561,
13,
4706,
411,
301,
2252,
29898,
1311,
3032,
2084,
29898,
1311,
29889,
28665,
29918,
29911,
3580,
29918,
9464,
29892,
525,
1792,
29899,
13075,
8785,
29901,
13,
9651,
1583,
29889,
2997,
877,
5675,
831,
13891,
29899,
14941,
29936,
1207,
831,
13891,
17956,
28665,
9464,
543,
29995,
29879,
29908,
29915,
1273,
1574,
29918,
22992,
29897,
13,
13,
4706,
1583,
29889,
4990,
877,
2659,
10754,
4240,
8472,
29889,
742,
2927,
2433,
12692,
1495,
13,
13,
1678,
822,
4386,
29898,
1311,
29892,
7882,
29918,
6194,
29922,
8824,
29892,
1404,
29918,
13075,
29918,
6194,
29922,
8824,
29892,
3579,
6768,
1125,
13,
4706,
565,
7882,
29918,
6194,
322,
1404,
29918,
13075,
29918,
6194,
29901,
13,
9651,
1209,
13,
4706,
25342,
7882,
29918,
6194,
29901,
13,
9651,
1583,
29889,
29887,
355,
542,
29918,
2754,
580,
13,
9651,
736,
13,
4706,
25342,
1404,
29918,
13075,
29918,
6194,
29901,
13,
9651,
1583,
29889,
29887,
355,
542,
29918,
1792,
29918,
13075,
580,
13,
9651,
736,
13,
13,
4706,
1583,
29889,
29887,
355,
542,
29918,
2754,
580,
13,
4706,
1583,
29889,
4990,
28909,
29876,
29905,
29876,
742,
380,
20405,
29922,
5574,
29897,
13,
4706,
1583,
29889,
29887,
355,
542,
29918,
1792,
29918,
13075,
580,
13,
2
] |
arc004_a.py | Lockdef/kyopro-code | 0 | 167238 | import math
n = int(input())
s = [list(map(int, input().split())) for _ in range(n)]
ans = 0
for i in range(n):
for j in range(i+1, n):
x_i = s[i][0]
y_i = s[i][1]
x_j = s[j][0]
y_j = s[j][1]
ans = max(ans, math.sqrt((x_i - x_j)**2 + (y_i - y_j)**2))
print(ans)
| [
1,
1053,
5844,
13,
13,
29876,
353,
938,
29898,
2080,
3101,
13,
29879,
353,
518,
1761,
29898,
1958,
29898,
524,
29892,
1881,
2141,
5451,
22130,
363,
903,
297,
3464,
29898,
29876,
4638,
13,
13,
550,
353,
29871,
29900,
13,
13,
13,
1454,
474,
297,
3464,
29898,
29876,
1125,
13,
1678,
363,
432,
297,
3464,
29898,
29875,
29974,
29896,
29892,
302,
1125,
13,
4706,
921,
29918,
29875,
353,
269,
29961,
29875,
3816,
29900,
29962,
13,
4706,
343,
29918,
29875,
353,
269,
29961,
29875,
3816,
29896,
29962,
13,
4706,
921,
29918,
29926,
353,
269,
29961,
29926,
3816,
29900,
29962,
13,
4706,
343,
29918,
29926,
353,
269,
29961,
29926,
3816,
29896,
29962,
13,
13,
4706,
6063,
353,
4236,
29898,
550,
29892,
5844,
29889,
3676,
3552,
29916,
29918,
29875,
448,
921,
29918,
29926,
29897,
1068,
29906,
718,
313,
29891,
29918,
29875,
448,
343,
29918,
29926,
29897,
1068,
29906,
876,
13,
13,
2158,
29898,
550,
29897,
13,
2
] |
783-minimum-distance-between-bst-nodes/783-minimum-distance-between-bst-nodes.py | hyeseonko/LeetCode | 2 | 19880 | # Definition for a binary tree node.
# class TreeNode:
# def __init__(self, val=0, left=None, right=None):
# self.val = val
# self.left = left
# self.right = right
class Solution:
def minDiffInBST(self, root: Optional[TreeNode]) -> int:
output=[]
stack=[root]
while(stack):
cur = stack.pop(0)
output.append(cur.val)
if cur.left:
stack.append(cur.left)
if cur.right:
stack.append(cur.right)
sorted_output=sorted(output)
diff = sorted_output[1]-sorted_output[0]
for i in range(2,len(sorted_output)):
if sorted_output[i]-sorted_output[i-1]<diff:
diff=sorted_output[i]-sorted_output[i-1]
return diff | [
1,
396,
21940,
363,
263,
7581,
5447,
2943,
29889,
13,
29937,
770,
15472,
4247,
29901,
13,
29937,
268,
822,
4770,
2344,
12035,
1311,
29892,
659,
29922,
29900,
29892,
2175,
29922,
8516,
29892,
1492,
29922,
8516,
1125,
13,
29937,
308,
1583,
29889,
791,
353,
659,
13,
29937,
308,
1583,
29889,
1563,
353,
2175,
13,
29937,
308,
1583,
29889,
1266,
353,
1492,
13,
1990,
24380,
29901,
13,
1678,
822,
1375,
26023,
797,
29933,
1254,
29898,
1311,
29892,
3876,
29901,
28379,
29961,
9643,
4247,
2314,
1599,
938,
29901,
13,
4706,
1962,
29922,
2636,
13,
4706,
5096,
11759,
4632,
29962,
13,
4706,
1550,
29898,
1429,
1125,
13,
9651,
3151,
353,
5096,
29889,
7323,
29898,
29900,
29897,
13,
9651,
1962,
29889,
4397,
29898,
2764,
29889,
791,
29897,
13,
9651,
565,
3151,
29889,
1563,
29901,
13,
18884,
5096,
29889,
4397,
29898,
2764,
29889,
1563,
29897,
13,
9651,
565,
3151,
29889,
1266,
29901,
13,
18884,
5096,
29889,
4397,
29898,
2764,
29889,
1266,
29897,
13,
4706,
12705,
29918,
4905,
29922,
24582,
29898,
4905,
29897,
13,
4706,
2923,
353,
12705,
29918,
4905,
29961,
29896,
29962,
29899,
24582,
29918,
4905,
29961,
29900,
29962,
13,
4706,
363,
474,
297,
3464,
29898,
29906,
29892,
2435,
29898,
24582,
29918,
4905,
22164,
13,
9651,
565,
12705,
29918,
4905,
29961,
29875,
29962,
29899,
24582,
29918,
4905,
29961,
29875,
29899,
29896,
29962,
29966,
12765,
29901,
13,
18884,
2923,
29922,
24582,
29918,
4905,
29961,
29875,
29962,
29899,
24582,
29918,
4905,
29961,
29875,
29899,
29896,
29962,
13,
4706,
736,
2923,
2
] |
nodes/swagger_server/models/job_simulator_opts.py | rdbox-intec/r2s2_for_rostest | 0 | 44990 | <filename>nodes/swagger_server/models/job_simulator_opts.py<gh_stars>0
# coding: utf-8
from __future__ import absolute_import
from datetime import date, datetime # noqa: F401
from typing import List, Dict # noqa: F401
from swagger_server.models.base_model_ import Model
from swagger_server import util
class JobSimulatorOpts(Model):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
"""
def __init__(self, display_no: int=None, screent_no: int=None, vnc_password: str=None, no_vnc_port: int=None): # noqa: E501
"""JobSimulatorOpts - a model defined in Swagger
:param display_no: The display_no of this JobSimulatorOpts. # noqa: E501
:type display_no: int
:param screent_no: The screent_no of this JobSimulatorOpts. # noqa: E501
:type screent_no: int
:param vnc_password: The vnc_password of this JobSimulatorOpts. # noqa: E501
:type vnc_password: str
:param no_vnc_port: The no_vnc_port of this JobSimulatorOpts. # noqa: E501
:type no_vnc_port: int
"""
self.swagger_types = {
'display_no': int,
'screent_no': int,
'vnc_password': str,
'no_vnc_port': int
}
self.attribute_map = {
'display_no': 'display_no',
'screent_no': 'screent_no',
'vnc_password': '<PASSWORD>',
'no_vnc_port': 'no_vnc_port'
}
self._display_no = display_no
self._screent_no = screent_no
self._vnc_password = <PASSWORD>
self._no_vnc_port = no_vnc_port
@classmethod
def from_dict(cls, dikt) -> 'JobSimulatorOpts':
"""Returns the dict as a model
:param dikt: A dict.
:type: dict
:return: The Job_simulator_opts of this JobSimulatorOpts. # noqa: E501
:rtype: JobSimulatorOpts
"""
return util.deserialize_model(dikt, cls)
@property
def display_no(self) -> int:
"""Gets the display_no of this JobSimulatorOpts.
:return: The display_no of this JobSimulatorOpts.
:rtype: int
"""
return self._display_no
@display_no.setter
def display_no(self, display_no: int):
"""Sets the display_no of this JobSimulatorOpts.
:param display_no: The display_no of this JobSimulatorOpts.
:type display_no: int
"""
self._display_no = display_no
@property
def screent_no(self) -> int:
"""Gets the screent_no of this JobSimulatorOpts.
:return: The screent_no of this JobSimulatorOpts.
:rtype: int
"""
return self._screent_no
@screent_no.setter
def screent_no(self, screent_no: int):
"""Sets the screent_no of this JobSimulatorOpts.
:param screent_no: The screent_no of this JobSimulatorOpts.
:type screent_no: int
"""
self._screent_no = screent_no
@property
def vnc_password(self) -> str:
"""Gets the vnc_password of this JobSimulatorOpts.
:return: The vnc_password of this JobSimulatorOpts.
:rtype: str
"""
return self._vnc_password
@vnc_password.setter
def vnc_password(self, vnc_password: str):
"""Sets the vnc_password of this JobSimulatorOpts.
:param vnc_password: The vnc_password of this JobSimulatorOpts.
:type vnc_password: str
"""
self._vnc_password = vnc_password
@property
def no_vnc_port(self) -> int:
"""Gets the no_vnc_port of this JobSimulatorOpts.
:return: The no_vnc_port of this JobSimulatorOpts.
:rtype: int
"""
return self._no_vnc_port
@no_vnc_port.setter
def no_vnc_port(self, no_vnc_port: int):
"""Sets the no_vnc_port of this JobSimulatorOpts.
:param no_vnc_port: The no_vnc_port of this JobSimulatorOpts.
:type no_vnc_port: int
"""
self._no_vnc_port = no_vnc_port
| [
1,
529,
9507,
29958,
18010,
29914,
2774,
9921,
29918,
2974,
29914,
9794,
29914,
9057,
29918,
3601,
9183,
29918,
25707,
29889,
2272,
29966,
12443,
29918,
303,
1503,
29958,
29900,
13,
29937,
14137,
29901,
23616,
29899,
29947,
13,
13,
3166,
4770,
29888,
9130,
1649,
1053,
8380,
29918,
5215,
13,
3166,
12865,
1053,
2635,
29892,
12865,
29871,
396,
694,
25621,
29901,
383,
29946,
29900,
29896,
13,
13,
3166,
19229,
1053,
2391,
29892,
360,
919,
29871,
396,
694,
25621,
29901,
383,
29946,
29900,
29896,
13,
13,
3166,
2381,
9921,
29918,
2974,
29889,
9794,
29889,
3188,
29918,
4299,
29918,
1053,
8125,
13,
3166,
2381,
9921,
29918,
2974,
1053,
3667,
13,
13,
13,
1990,
17163,
8942,
9183,
29949,
16485,
29898,
3195,
1125,
13,
1678,
9995,
12256,
29923,
29901,
910,
770,
338,
4469,
5759,
491,
278,
2381,
9921,
775,
15299,
1824,
29889,
13,
13,
1678,
1938,
451,
3863,
278,
770,
7522,
29889,
13,
1678,
9995,
13,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
2479,
29918,
1217,
29901,
938,
29922,
8516,
29892,
885,
276,
296,
29918,
1217,
29901,
938,
29922,
8516,
29892,
325,
17608,
29918,
5630,
29901,
851,
29922,
8516,
29892,
694,
29918,
29894,
17608,
29918,
637,
29901,
938,
29922,
8516,
1125,
29871,
396,
694,
25621,
29901,
382,
29945,
29900,
29896,
13,
4706,
9995,
11947,
8942,
9183,
29949,
16485,
448,
263,
1904,
3342,
297,
3925,
9921,
13,
13,
4706,
584,
3207,
2479,
29918,
1217,
29901,
450,
2479,
29918,
1217,
310,
445,
17163,
8942,
9183,
29949,
16485,
29889,
29871,
396,
694,
25621,
29901,
382,
29945,
29900,
29896,
13,
4706,
584,
1853,
2479,
29918,
1217,
29901,
938,
13,
4706,
584,
3207,
885,
276,
296,
29918,
1217,
29901,
450,
885,
276,
296,
29918,
1217,
310,
445,
17163,
8942,
9183,
29949,
16485,
29889,
29871,
396,
694,
25621,
29901,
382,
29945,
29900,
29896,
13,
4706,
584,
1853,
885,
276,
296,
29918,
1217,
29901,
938,
13,
4706,
584,
3207,
325,
17608,
29918,
5630,
29901,
450,
325,
17608,
29918,
5630,
310,
445,
17163,
8942,
9183,
29949,
16485,
29889,
29871,
396,
694,
25621,
29901,
382,
29945,
29900,
29896,
13,
4706,
584,
1853,
325,
17608,
29918,
5630,
29901,
851,
13,
4706,
584,
3207,
694,
29918,
29894,
17608,
29918,
637,
29901,
450,
694,
29918,
29894,
17608,
29918,
637,
310,
445,
17163,
8942,
9183,
29949,
16485,
29889,
29871,
396,
694,
25621,
29901,
382,
29945,
29900,
29896,
13,
4706,
584,
1853,
694,
29918,
29894,
17608,
29918,
637,
29901,
938,
13,
4706,
9995,
13,
4706,
1583,
29889,
2774,
9921,
29918,
8768,
353,
426,
13,
9651,
525,
4990,
29918,
1217,
2396,
938,
29892,
13,
9651,
525,
29879,
1037,
296,
29918,
1217,
2396,
938,
29892,
13,
9651,
525,
29894,
17608,
29918,
5630,
2396,
851,
29892,
13,
9651,
525,
1217,
29918,
29894,
17608,
29918,
637,
2396,
938,
13,
4706,
500,
13,
13,
4706,
1583,
29889,
12715,
29918,
1958,
353,
426,
13,
9651,
525,
4990,
29918,
1217,
2396,
525,
4990,
29918,
1217,
742,
13,
9651,
525,
29879,
1037,
296,
29918,
1217,
2396,
525,
29879,
1037,
296,
29918,
1217,
742,
13,
9651,
525,
29894,
17608,
29918,
5630,
2396,
12801,
25711,
17013,
29958,
742,
13,
9651,
525,
1217,
29918,
29894,
17608,
29918,
637,
2396,
525,
1217,
29918,
29894,
17608,
29918,
637,
29915,
13,
4706,
500,
13,
13,
4706,
1583,
3032,
4990,
29918,
1217,
353,
2479,
29918,
1217,
13,
4706,
1583,
3032,
29879,
1037,
296,
29918,
1217,
353,
885,
276,
296,
29918,
1217,
13,
4706,
1583,
3032,
29894,
17608,
29918,
5630,
353,
529,
25711,
17013,
29958,
13,
4706,
1583,
3032,
1217,
29918,
29894,
17608,
29918,
637,
353,
694,
29918,
29894,
17608,
29918,
637,
13,
13,
1678,
732,
1990,
5696,
13,
1678,
822,
515,
29918,
8977,
29898,
25932,
29892,
270,
10391,
29897,
1599,
525,
11947,
8942,
9183,
29949,
16485,
2396,
13,
4706,
9995,
11609,
29879,
278,
9657,
408,
263,
1904,
13,
13,
4706,
584,
3207,
270,
10391,
29901,
319,
9657,
29889,
13,
4706,
584,
1853,
29901,
9657,
13,
4706,
584,
2457,
29901,
450,
17163,
29918,
3601,
9183,
29918,
25707,
310,
445,
17163,
8942,
9183,
29949,
16485,
29889,
29871,
396,
694,
25621,
29901,
382,
29945,
29900,
29896,
13,
4706,
584,
29878,
1853,
29901,
17163,
8942,
9183,
29949,
16485,
13,
4706,
9995,
13,
4706,
736,
3667,
29889,
2783,
261,
6646,
29918,
4299,
29898,
29881,
10391,
29892,
1067,
29879,
29897,
13,
13,
1678,
732,
6799,
13,
1678,
822,
2479,
29918,
1217,
29898,
1311,
29897,
1599,
938,
29901,
13,
4706,
9995,
29954,
1691,
278,
2479,
29918,
1217,
310,
445,
17163,
8942,
9183,
29949,
16485,
29889,
13,
13,
13,
4706,
584,
2457,
29901,
450,
2479,
29918,
1217,
310,
445,
17163,
8942,
9183,
29949,
16485,
29889,
13,
4706,
584,
29878,
1853,
29901,
938,
13,
4706,
9995,
13,
4706,
736,
1583,
3032,
4990,
29918,
1217,
13,
13,
1678,
732,
4990,
29918,
1217,
29889,
842,
357,
13,
1678,
822,
2479,
29918,
1217,
29898,
1311,
29892,
2479,
29918,
1217,
29901,
938,
1125,
13,
4706,
9995,
29903,
1691,
278,
2479,
29918,
1217,
310,
445,
17163,
8942,
9183,
29949,
16485,
29889,
13,
13,
13,
4706,
584,
3207,
2479,
29918,
1217,
29901,
450,
2479,
29918,
1217,
310,
445,
17163,
8942,
9183,
29949,
16485,
29889,
13,
4706,
584,
1853,
2479,
29918,
1217,
29901,
938,
13,
4706,
9995,
13,
13,
4706,
1583,
3032,
4990,
29918,
1217,
353,
2479,
29918,
1217,
13,
13,
1678,
732,
6799,
13,
1678,
822,
885,
276,
296,
29918,
1217,
29898,
1311,
29897,
1599,
938,
29901,
13,
4706,
9995,
29954,
1691,
278,
885,
276,
296,
29918,
1217,
310,
445,
17163,
8942,
9183,
29949,
16485,
29889,
13,
13,
13,
4706,
584,
2457,
29901,
450,
885,
276,
296,
29918,
1217,
310,
445,
17163,
8942,
9183,
29949,
16485,
29889,
13,
4706,
584,
29878,
1853,
29901,
938,
13,
4706,
9995,
13,
4706,
736,
1583,
3032,
29879,
1037,
296,
29918,
1217,
13,
13,
1678,
732,
29879,
1037,
296,
29918,
1217,
29889,
842,
357,
13,
1678,
822,
885,
276,
296,
29918,
1217,
29898,
1311,
29892,
885,
276,
296,
29918,
1217,
29901,
938,
1125,
13,
4706,
9995,
29903,
1691,
278,
885,
276,
296,
29918,
1217,
310,
445,
17163,
8942,
9183,
29949,
16485,
29889,
13,
13,
13,
4706,
584,
3207,
885,
276,
296,
29918,
1217,
29901,
450,
885,
276,
296,
29918,
1217,
310,
445,
17163,
8942,
9183,
29949,
16485,
29889,
13,
4706,
584,
1853,
885,
276,
296,
29918,
1217,
29901,
938,
13,
4706,
9995,
13,
13,
4706,
1583,
3032,
29879,
1037,
296,
29918,
1217,
353,
885,
276,
296,
29918,
1217,
13,
13,
1678,
732,
6799,
13,
1678,
822,
325,
17608,
29918,
5630,
29898,
1311,
29897,
1599,
851,
29901,
13,
4706,
9995,
29954,
1691,
278,
325,
17608,
29918,
5630,
310,
445,
17163,
8942,
9183,
29949,
16485,
29889,
13,
13,
13,
4706,
584,
2457,
29901,
450,
325,
17608,
29918,
5630,
310,
445,
17163,
8942,
9183,
29949,
16485,
29889,
13,
4706,
584,
29878,
1853,
29901,
851,
13,
4706,
9995,
13,
4706,
736,
1583,
3032,
29894,
17608,
29918,
5630,
13,
13,
1678,
732,
29894,
17608,
29918,
5630,
29889,
842,
357,
13,
1678,
822,
325,
17608,
29918,
5630,
29898,
1311,
29892,
325,
17608,
29918,
5630,
29901,
851,
1125,
13,
4706,
9995,
29903,
1691,
278,
325,
17608,
29918,
5630,
310,
445,
17163,
8942,
9183,
29949,
16485,
29889,
13,
13,
13,
4706,
584,
3207,
325,
17608,
29918,
5630,
29901,
450,
325,
17608,
29918,
5630,
310,
445,
17163,
8942,
9183,
29949,
16485,
29889,
13,
4706,
584,
1853,
325,
17608,
29918,
5630,
29901,
851,
13,
4706,
9995,
13,
13,
4706,
1583,
3032,
29894,
17608,
29918,
5630,
353,
325,
17608,
29918,
5630,
13,
13,
1678,
732,
6799,
13,
1678,
822,
694,
29918,
29894,
17608,
29918,
637,
29898,
1311,
29897,
1599,
938,
29901,
13,
4706,
9995,
29954,
1691,
278,
694,
29918,
29894,
17608,
29918,
637,
310,
445,
17163,
8942,
9183,
29949,
16485,
29889,
13,
13,
13,
4706,
584,
2457,
29901,
450,
694,
29918,
29894,
17608,
29918,
637,
310,
445,
17163,
8942,
9183,
29949,
16485,
29889,
13,
4706,
584,
29878,
1853,
29901,
938,
13,
4706,
9995,
13,
4706,
736,
1583,
3032,
1217,
29918,
29894,
17608,
29918,
637,
13,
13,
1678,
732,
1217,
29918,
29894,
17608,
29918,
637,
29889,
842,
357,
13,
1678,
822,
694,
29918,
29894,
17608,
29918,
637,
29898,
1311,
29892,
694,
29918,
29894,
17608,
29918,
637,
29901,
938,
1125,
13,
4706,
9995,
29903,
1691,
278,
694,
29918,
29894,
17608,
29918,
637,
310,
445,
17163,
8942,
9183,
29949,
16485,
29889,
13,
13,
13,
4706,
584,
3207,
694,
29918,
29894,
17608,
29918,
637,
29901,
450,
694,
29918,
29894,
17608,
29918,
637,
310,
445,
17163,
8942,
9183,
29949,
16485,
29889,
13,
4706,
584,
1853,
694,
29918,
29894,
17608,
29918,
637,
29901,
938,
13,
4706,
9995,
13,
13,
4706,
1583,
3032,
1217,
29918,
29894,
17608,
29918,
637,
353,
694,
29918,
29894,
17608,
29918,
637,
13,
2
] |
src/python/turicreate/toolkits/drawing_classifier/drawing_classifier.py | Bpowers4/turicreate | 1 | 145383 | <reponame>Bpowers4/turicreate<filename>src/python/turicreate/toolkits/drawing_classifier/drawing_classifier.py
# -*- coding: utf-8 -*-
# Copyright © 2019 Apple Inc. All rights reserved.
#
# Use of this source code is governed by a BSD-3-clause license that can
# be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause
from __future__ import print_function as _
from __future__ import division as _
from __future__ import absolute_import as _
import turicreate as _tc
from turicreate.toolkits import _coreml_utils
from turicreate.toolkits._model import Model as _Model
import turicreate.toolkits._internal_utils as _tkutl
from turicreate.toolkits._main import ToolkitError as _ToolkitError
from ..image_classifier._evaluation import Evaluation as _Evaluation
from .. import _pre_trained_models
BITMAP_WIDTH = 28
BITMAP_HEIGHT = 28
TRAIN_VALIDATION_SPLIT = 0.95
def _raise_error_if_not_drawing_classifier_input_sframe(dataset, feature, target):
"""
Performs some sanity checks on the SFrame provided as input to
`turicreate.drawing_classifier.create` and raises a ToolkitError
if something in the dataset is missing or wrong.
"""
from turicreate.toolkits._internal_utils import _raise_error_if_not_sframe
_raise_error_if_not_sframe(dataset)
if feature not in dataset.column_names():
raise _ToolkitError("Feature column '%s' does not exist" % feature)
if target not in dataset.column_names():
raise _ToolkitError("Target column '%s' does not exist" % target)
if dataset[feature].dtype != _tc.Image and dataset[feature].dtype != list:
raise _ToolkitError(
"Feature column must contain images"
+ " or stroke-based drawings encoded as lists of strokes"
+ " where each stroke is a list of points and"
+ " each point is stored as a dictionary"
)
if dataset[target].dtype != int and dataset[target].dtype != str:
raise _ToolkitError(
"Target column contains "
+ str(dataset[target].dtype)
+ " but it must contain strings or integers to represent"
+ " labels for drawings."
)
if len(dataset) == 0:
raise _ToolkitError("Input Dataset is empty!")
def create(
input_dataset,
target,
feature=None,
validation_set="auto",
warm_start="auto",
batch_size=256,
max_iterations=500,
verbose=True,
random_seed=None,
**kwargs
):
"""
Create a :class:`DrawingClassifier` model.
Parameters
----------
dataset : SFrame
Input data. The columns named by the ``feature`` and ``target``
parameters will be extracted for training the drawing classifier.
target : string
Name of the column containing the target variable. The values in this
column must be of string or integer type.
feature : string optional
Name of the column containing the input drawings.
The feature column can contain either bitmap-based drawings or
stroke-based drawings. Bitmap-based drawing input can be a grayscale
tc.Image of any size.
Stroke-based drawing input must be in the following format:
Every drawing must be represented by a list of strokes, where each
stroke must be a list of points in the order in which they were drawn
on the canvas.
Each point must be a dictionary with two keys, "x" and "y", and their
respective values must be numerical, i.e. either integer or float.
validation_set : SFrame optional
A dataset for monitoring the model's generalization performance.
The format of this SFrame must be the same as the training set.
By default this argument is set to 'auto' and a validation set is
automatically sampled and used for progress printing. If
validation_set is set to None, then no additional metrics
are computed. The default value is 'auto'.
warm_start : string optional
A string to denote which pretrained model to use. Set to "auto"
by default which uses a model trained on 245 of the 345 classes in the
Quick, Draw! dataset. To disable warm start, pass in None to this
argument. Here is a list of all the pretrained models that
can be passed in as this argument:
"auto": Uses quickdraw_245_v0
"quickdraw_245_v0": Uses a model trained on 245 of the 345 classes in the
Quick, Draw! dataset.
None: No Warm Start
batch_size: int optional
The number of drawings per training step. If not set, a default
value of 256 will be used. If you are getting memory errors,
try decreasing this value. If you have a powerful computer, increasing
this value may improve performance.
max_iterations : int optional
The maximum number of allowed passes through the data. More passes over
the data can result in a more accurately trained model.
verbose : bool optional
If True, print progress updates and model details.
random_seed : int, optional
The results can be reproduced when given the same seed.
Returns
-------
out : DrawingClassifier
A trained :class:`DrawingClassifier` model.
See Also
--------
DrawingClassifier
Examples
--------
.. sourcecode:: python
# Train a drawing classifier model
>>> model = turicreate.drawing_classifier.create(data)
# Make predictions on the training set and as column to the SFrame
>>> data['predictions'] = model.predict(data)
"""
accepted_values_for_warm_start = ["auto", "quickdraw_245_v0", None]
if warm_start is not None:
if type(warm_start) is not str:
raise TypeError(
"'warm_start' must be a string or None. "
+ "'warm_start' can take in the following values: "
+ str(accepted_values_for_warm_start)
)
if warm_start not in accepted_values_for_warm_start:
raise _ToolkitError(
"Unrecognized value for 'warm_start': "
+ warm_start
+ ". 'warm_start' can take in the following "
+ "values: "
+ str(accepted_values_for_warm_start)
)
# Replace 'auto' with name of current default Warm Start model.
warm_start = warm_start.replace("auto", "quickdraw_245_v0")
if "_advanced_parameters" in kwargs:
# XXX: this code will not work. Tracking in https://github.com/apple/turicreate/issues/3007
# Make sure no additional parameters are provided
new_keys = set(kwargs["_advanced_parameters"].keys())
set_keys = set(params.keys())
unsupported = new_keys - set_keys
if unsupported:
raise _ToolkitError("Unknown advanced parameters: {}".format(unsupported))
params.update(kwargs["_advanced_parameters"])
# @TODO: Should be able to automatically choose number of iterations
# based on data size: Tracked in Github Issue #1576
if not isinstance(input_dataset, _tc.SFrame):
raise TypeError('"input_dataset" must be of type SFrame.')
# automatically infer feature column
if feature is None:
feature = _tkutl._find_only_drawing_column(input_dataset)
_raise_error_if_not_drawing_classifier_input_sframe(input_dataset, feature, target)
if batch_size is not None and not isinstance(batch_size, int):
raise TypeError("'batch_size' must be an integer >= 1")
if batch_size is not None and batch_size < 1:
raise ValueError("'batch_size' must be >= 1")
if max_iterations is not None and not isinstance(max_iterations, int):
raise TypeError("'max_iterations' must be an integer >= 1")
if max_iterations is not None and max_iterations < 1:
raise ValueError("'max_iterations' must be >= 1")
import turicreate.toolkits.libtctensorflow
model = _tc.extensions.drawing_classifier()
options = dict()
options["batch_size"] = batch_size
options["max_iterations"] = max_iterations
options["verbose"] = verbose
options["_show_loss"] = False
if validation_set is None:
validation_set = _tc.SFrame()
if warm_start:
# Load CoreML warmstart model
pretrained_mlmodel = _pre_trained_models.DrawingClassifierPreTrainedMLModel()
options["mlmodel_path"] = pretrained_mlmodel.get_model_path()
if random_seed is not None:
options["random_seed"] = random_seed
options["warm_start"] = "" if warm_start is None else warm_start
model.train(input_dataset, target, feature, validation_set, options)
return DrawingClassifier(model_proxy=model, name="drawing_classifier")
class DrawingClassifier(_Model):
"""
A trained model using C++ implementation that is ready to use for classification or export to
CoreML.
This model should not be constructed directly.
"""
_CPP_DRAWING_CLASSIFIER_VERSION = 1
def __init__(self, model_proxy=None, name=None):
self.__proxy__ = model_proxy
self.__name__ = name
@classmethod
def _native_name(cls):
return "drawing_classifier"
def __str__(self):
"""
Return a string description of the model to the ``print`` method.
Returns
-------
out : string
A description of the DrawingClassifier.
"""
return self.__repr__()
def __repr__(self):
"""
Returns a string description of the model, including (where relevant)
the schema of the training data, description of the training data,
training statistics, and model hyperparameters.
Returns
-------
out : string
A description of the model.
"""
width = 40
sections, section_titles = self._get_summary_struct()
out = _tkutl._toolkit_repr_print(self, sections, section_titles, width=width)
return out
def _get_version(self):
return self._CPP_DRAWING_CLASSIFIER_VERSION
def export_coreml(self, filename):
"""
Export the model in Core ML format.
Parameters
----------
filename: str
A valid filename where the model can be saved.
Examples
--------
>>> model.export_coreml("MyModel.mlmodel")
"""
additional_user_defined_metadata = _coreml_utils._get_tc_version_info()
short_description = _coreml_utils._mlmodel_short_description(
"Drawing Classifier"
)
self.__proxy__.export_to_coreml(
filename, short_description, additional_user_defined_metadata
)
def predict(self, dataset, output_type="class"):
"""
Predict on an SFrame or SArray of drawings, or on a single drawing.
Parameters
----------
data : SFrame | SArray | tc.Image
The drawing(s) on which to perform drawing classification.
If dataset is an SFrame, it must have a column with the same name
as the feature column during training. Additional columns are
ignored.
If the data is a single drawing, it can be either of type tc.Image,
in which case it is a bitmap-based drawing input,
or of type list, in which case it is a stroke-based drawing input.
output_type : {'probability', 'class', 'probability_vector'}, optional
Form of the predictions which are one of:
- 'class': Class prediction. For multi-class classification, this
returns the class with maximum probability.
- 'probability': Prediction probability associated with the True
class (not applicable for multi-class classification)
- 'probability_vector': Prediction probability associated with each
class as a vector. Label ordering is dictated by the ``classes``
member variable.
batch_size : int, optional
If you are getting memory errors, try decreasing this value. If you
have a powerful computer, increasing this value may improve
performance.
verbose : bool, optional
If True, prints prediction progress.
Returns
-------
out : SArray
An SArray with model predictions. Each element corresponds to
a drawing and contains a single value corresponding to the
predicted label. Each prediction will have type integer or string
depending on the type of the classes the model was trained on.
If `data` is a single drawing, the return value will be a single
prediction.
See Also
--------
evaluate
Examples
--------
.. sourcecode:: python
# Make predictions
>>> pred = model.predict(data)
# Print predictions, for a better overview
>>> print(pred)
dtype: int
Rows: 10
[3, 4, 3, 3, 4, 5, 8, 8, 8, 4]
"""
if isinstance(dataset, _tc.SArray):
dataset = _tc.SFrame({self.feature: dataset})
return self.__proxy__.predict(dataset, output_type)
def predict_topk(self, dataset, output_type="probability", k=3):
"""
Return top-k predictions for the ``dataset``, using the trained model.
Predictions are returned as an SFrame with three columns: `id`,
`class`, and `probability` or `rank`, depending on the ``output_type``
parameter.
Parameters
----------
dataset : SFrame | SArray | turicreate.Image
Drawings to be classified.
If dataset is an SFrame, it must include columns with the same
names as the features used for model training, but does not require
a target column. Additional columns are ignored.
output_type : {'probability', 'rank'}, optional
Choose the return type of the prediction:
- `probability`: Probability associated with each label in the
prediction.
- `rank` : Rank associated with each label in the prediction.
k : int, optional
Number of classes to return for each input example.
batch_size : int, optional
If you are getting memory errors, try decreasing this value. If you
have a powerful computer, increasing this value may improve
performance.
Returns
-------
out : SFrame
An SFrame with model predictions.
See Also
--------
predict, evaluate
Examples
--------
>>> pred = m.predict_topk(validation_data, k=3)
>>> print(pred)
+----+-------+-------------------+
| id | class | probability |
+----+-------+-------------------+
| 0 | 4 | 0.995623886585 |
| 0 | 9 | 0.0038311756216 |
| 0 | 7 | 0.000301006948575 |
| 1 | 1 | 0.928708016872 |
| 1 | 3 | 0.0440889261663 |
| 1 | 2 | 0.0176190119237 |
| 2 | 3 | 0.996967732906 |
| 2 | 2 | 0.00151345680933 |
| 2 | 7 | 0.000637513934635 |
| 3 | 1 | 0.998070061207 |
| .. | ... | ... |
+----+-------+-------------------+
[35688 rows x 3 columns]
"""
if isinstance(dataset, _tc.SArray):
dataset = _tc.SFrame({self.feature: dataset})
return self.__proxy__.predict_topk(dataset, output_type, k)
def evaluate(self, dataset, metric="auto"):
"""
Evaluate the model by making predictions of target values and comparing
these to actual values.
Parameters
----------
dataset : SFrame
Dataset of new observations. Must include columns with the same
names as the session_id, target and features used for model training.
Additional columns are ignored.
metric : str, optional
Name of the evaluation metric. Possible values are:
- 'auto' : Returns all available metrics.
- 'accuracy' : Classification accuracy (micro average).
- 'auc' : Area under the ROC curve (macro average)
- 'precision' : Precision score (macro average)
- 'recall' : Recall score (macro average)
- 'f1_score' : F1 score (macro average)
- 'log_loss' : Log loss
- 'confusion_matrix' : An SFrame with counts of possible
prediction/true label combinations.
- 'roc_curve' : An SFrame containing information needed for an
ROC curve
Returns
-------
out : dict
Dictionary of evaluation results where the key is the name of the
evaluation metric (e.g. `accuracy`) and the value is the evaluation
score.
See Also
----------
create, predict
Examples
----------
.. sourcecode:: python
>>> results = model.evaluate(data)
>>> print results['accuracy']
"""
evaluation_result = self.__proxy__.evaluate(dataset, metric)
class_label = evaluation_result["prediction_class"]
probability_vector = evaluation_result["prediction_prob"]
del evaluation_result["prediction_class"]
del evaluation_result["prediction_prob"]
predicted = _tc.SFrame(
{"label": class_label, "probability": probability_vector}
)
labels = self.classes
from .._evaluate_utils import (
entropy,
confidence,
relative_confidence,
get_confusion_matrix,
hclusterSort,
l2Dist,
)
evaluation_result["num_test_examples"] = len(dataset)
for k in ["num_classes", "num_examples", "training_time", "max_iterations"]:
evaluation_result[k] = getattr(self, k)
# evaluation_result['input_image_shape'] = getattr(self, 'input_image_shape')
evaluation_result["model_name"] = "Drawing Classifier"
extended_test = dataset.add_column(predicted["probability"], "probs")
extended_test["label"] = dataset[self.target]
extended_test = extended_test.add_columns(
[
extended_test.apply(
lambda d: labels[d["probs"].index(confidence(d["probs"]))]
),
extended_test.apply(lambda d: entropy(d["probs"])),
extended_test.apply(lambda d: confidence(d["probs"])),
extended_test.apply(lambda d: relative_confidence(d["probs"])),
],
["predicted_label", "entropy", "confidence", "relative_confidence"],
)
extended_test = extended_test.add_column(
extended_test.apply(lambda d: d["label"] == d["predicted_label"]), "correct"
)
sf_conf_mat = get_confusion_matrix(extended_test, labels)
confidence_threshold = 0.5
hesitant_threshold = 0.2
evaluation_result["confidence_threshold"] = confidence_threshold
evaluation_result["hesitant_threshold"] = hesitant_threshold
evaluation_result["confidence_metric_for_threshold"] = "relative_confidence"
evaluation_result["conf_mat"] = list(sf_conf_mat)
vectors = map(
lambda l: {
"name": l,
"pos": list(
sf_conf_mat[sf_conf_mat["target_label"] == l].sort(
"predicted_label"
)["norm_prob"]
),
},
labels,
)
evaluation_result["sorted_labels"] = hclusterSort(vectors, l2Dist)[0][
"name"
].split("|")
per_l = extended_test.groupby(
["label"],
{
"count": _tc.aggregate.COUNT,
"correct_count": _tc.aggregate.SUM("correct"),
},
)
per_l["recall"] = per_l.apply(lambda l: l["correct_count"] * 1.0 / l["count"])
per_pl = extended_test.groupby(
["predicted_label"],
{
"predicted_count": _tc.aggregate.COUNT,
"correct_count": _tc.aggregate.SUM("correct"),
},
)
per_pl["precision"] = per_pl.apply(
lambda l: l["correct_count"] * 1.0 / l["predicted_count"]
)
per_pl = per_pl.rename({"predicted_label": "label"})
evaluation_result["label_metrics"] = list(
per_l.join(per_pl, on="label", how="outer").select_columns(
[
"label",
"count",
"correct_count",
"predicted_count",
"recall",
"precision",
]
)
)
evaluation_result["labels"] = labels
extended_test = extended_test.add_row_number("__idx").rename(
{"label": "target_label"}
)
evaluation_result["test_data"] = extended_test
evaluation_result["feature"] = self.feature
return _Evaluation(evaluation_result)
def _get_summary_struct(self):
"""
Returns a structured description of the model, including (where
relevant) the schema of the training data, description of the training
data, training statistics, and model hyperparameters.
Returns
-------
sections : list (of list of tuples)
A list of summary sections.
Each section is a list.
Each item in a section list is a tuple of the form:
('<label>','<field>')
section_titles: list
A list of section titles.
The order matches that of the 'sections' object.
"""
model_fields = [
("Number of classes", "num_classes"),
("Feature column", "feature"),
("Target column", "target"),
]
training_fields = [
("Training Iterations", "max_iterations"),
("Training Accuracy", "training_accuracy"),
("Validation Accuracy", "validation_accuracy"),
("Training Time", "training_time"),
("Number of Examples", "num_examples"),
]
section_titles = ["Schema", "Training summary"]
return ([model_fields, training_fields], section_titles)
| [
1,
529,
276,
1112,
420,
29958,
29933,
12248,
414,
29946,
29914,
29873,
332,
293,
3015,
29966,
9507,
29958,
4351,
29914,
4691,
29914,
29873,
332,
293,
3015,
29914,
10154,
29895,
1169,
29914,
4012,
292,
29918,
1990,
3709,
29914,
4012,
292,
29918,
1990,
3709,
29889,
2272,
13,
29937,
448,
29930,
29899,
14137,
29901,
23616,
29899,
29947,
448,
29930,
29899,
13,
29937,
14187,
1266,
29871,
30211,
29871,
29906,
29900,
29896,
29929,
12113,
9266,
29889,
2178,
10462,
21676,
29889,
13,
29937,
13,
29937,
4803,
310,
445,
2752,
775,
338,
4095,
287,
491,
263,
350,
7230,
29899,
29941,
29899,
16398,
1509,
19405,
393,
508,
13,
29937,
367,
1476,
297,
278,
365,
2965,
1430,
1660,
29889,
3945,
934,
470,
472,
2045,
597,
22156,
1167,
29889,
990,
29914,
506,
11259,
29914,
29933,
7230,
29899,
29941,
29899,
20216,
1509,
13,
13,
3166,
4770,
29888,
9130,
1649,
1053,
1596,
29918,
2220,
408,
903,
13,
3166,
4770,
29888,
9130,
1649,
1053,
8542,
408,
903,
13,
3166,
4770,
29888,
9130,
1649,
1053,
8380,
29918,
5215,
408,
903,
13,
13,
5215,
7013,
293,
3015,
408,
903,
14246,
13,
3166,
7013,
293,
3015,
29889,
10154,
29895,
1169,
1053,
903,
2616,
331,
29880,
29918,
13239,
13,
3166,
7013,
293,
3015,
29889,
10154,
29895,
1169,
3032,
4299,
1053,
8125,
408,
903,
3195,
13,
5215,
7013,
293,
3015,
29889,
10154,
29895,
1169,
3032,
7564,
29918,
13239,
408,
903,
11178,
329,
29880,
13,
3166,
7013,
293,
3015,
29889,
10154,
29895,
1169,
3032,
3396,
1053,
21704,
7354,
2392,
408,
903,
12229,
7354,
2392,
13,
3166,
6317,
3027,
29918,
1990,
3709,
3032,
24219,
362,
1053,
382,
4387,
362,
408,
903,
29923,
4387,
362,
13,
3166,
6317,
1053,
903,
1457,
29918,
3018,
1312,
29918,
9794,
13,
13,
22698,
23827,
29918,
22574,
353,
29871,
29906,
29947,
13,
22698,
23827,
29918,
9606,
22530,
353,
29871,
29906,
29947,
13,
29911,
4717,
1177,
29918,
26707,
8098,
29918,
5550,
29931,
1806,
353,
29871,
29900,
29889,
29929,
29945,
13,
13,
13,
1753,
903,
22692,
29918,
2704,
29918,
361,
29918,
1333,
29918,
4012,
292,
29918,
1990,
3709,
29918,
2080,
29918,
29879,
2557,
29898,
24713,
29892,
4682,
29892,
3646,
1125,
13,
1678,
9995,
13,
1678,
2431,
9514,
777,
9753,
537,
12747,
373,
278,
317,
4308,
4944,
408,
1881,
304,
13,
1678,
421,
29873,
332,
293,
3015,
29889,
4012,
292,
29918,
1990,
3709,
29889,
3258,
29952,
322,
1153,
4637,
263,
21704,
7354,
2392,
13,
1678,
565,
1554,
297,
278,
8783,
338,
4567,
470,
2743,
29889,
13,
1678,
9995,
13,
1678,
515,
7013,
293,
3015,
29889,
10154,
29895,
1169,
3032,
7564,
29918,
13239,
1053,
903,
22692,
29918,
2704,
29918,
361,
29918,
1333,
29918,
29879,
2557,
13,
13,
1678,
903,
22692,
29918,
2704,
29918,
361,
29918,
1333,
29918,
29879,
2557,
29898,
24713,
29897,
13,
1678,
565,
4682,
451,
297,
8783,
29889,
4914,
29918,
7039,
7295,
13,
4706,
12020,
903,
12229,
7354,
2392,
703,
19132,
1897,
14210,
29879,
29915,
947,
451,
1863,
29908,
1273,
4682,
29897,
13,
1678,
565,
3646,
451,
297,
8783,
29889,
4914,
29918,
7039,
7295,
13,
4706,
12020,
903,
12229,
7354,
2392,
703,
8667,
1897,
14210,
29879,
29915,
947,
451,
1863,
29908,
1273,
3646,
29897,
13,
1678,
565,
8783,
29961,
14394,
1822,
29881,
1853,
2804,
903,
14246,
29889,
2940,
322,
8783,
29961,
14394,
1822,
29881,
1853,
2804,
1051,
29901,
13,
4706,
12020,
903,
12229,
7354,
2392,
29898,
13,
9651,
376,
19132,
1897,
1818,
1712,
4558,
29908,
13,
9651,
718,
376,
470,
19782,
29899,
6707,
4216,
886,
18511,
408,
8857,
310,
23351,
10794,
29908,
13,
9651,
718,
376,
988,
1269,
19782,
338,
263,
1051,
310,
3291,
322,
29908,
13,
9651,
718,
376,
1269,
1298,
338,
6087,
408,
263,
8600,
29908,
13,
4706,
1723,
13,
1678,
565,
8783,
29961,
5182,
1822,
29881,
1853,
2804,
938,
322,
8783,
29961,
5182,
1822,
29881,
1853,
2804,
851,
29901,
13,
4706,
12020,
903,
12229,
7354,
2392,
29898,
13,
9651,
376,
8667,
1897,
3743,
376,
13,
9651,
718,
851,
29898,
24713,
29961,
5182,
1822,
29881,
1853,
29897,
13,
9651,
718,
376,
541,
372,
1818,
1712,
6031,
470,
11920,
304,
2755,
29908,
13,
9651,
718,
376,
11073,
363,
4216,
886,
1213,
13,
4706,
1723,
13,
1678,
565,
7431,
29898,
24713,
29897,
1275,
29871,
29900,
29901,
13,
4706,
12020,
903,
12229,
7354,
2392,
703,
4290,
13373,
24541,
338,
4069,
29991,
1159,
13,
13,
13,
1753,
1653,
29898,
13,
1678,
1881,
29918,
24713,
29892,
13,
1678,
3646,
29892,
13,
1678,
4682,
29922,
8516,
29892,
13,
1678,
8845,
29918,
842,
543,
6921,
613,
13,
1678,
14294,
29918,
2962,
543,
6921,
613,
13,
1678,
9853,
29918,
2311,
29922,
29906,
29945,
29953,
29892,
13,
1678,
4236,
29918,
1524,
800,
29922,
29945,
29900,
29900,
29892,
13,
1678,
26952,
29922,
5574,
29892,
13,
1678,
4036,
29918,
26776,
29922,
8516,
29892,
13,
1678,
3579,
19290,
13,
1125,
13,
1678,
9995,
13,
1678,
6204,
263,
584,
1990,
18078,
16327,
2385,
3709,
29952,
1904,
29889,
13,
13,
1678,
12662,
2699,
13,
1678,
448,
1378,
29899,
13,
1678,
8783,
584,
317,
4308,
13,
4706,
10567,
848,
29889,
450,
4341,
4257,
491,
278,
4954,
14394,
16159,
322,
4954,
5182,
16159,
13,
4706,
4128,
674,
367,
23892,
363,
6694,
278,
11580,
770,
3709,
29889,
13,
13,
1678,
3646,
584,
1347,
13,
4706,
4408,
310,
278,
1897,
6943,
278,
3646,
2286,
29889,
450,
1819,
297,
445,
13,
4706,
1897,
1818,
367,
310,
1347,
470,
6043,
1134,
29889,
13,
13,
1678,
4682,
584,
1347,
13136,
13,
4706,
4408,
310,
278,
1897,
6943,
278,
1881,
4216,
886,
29889,
13,
4706,
450,
4682,
1897,
508,
1712,
2845,
21170,
29899,
6707,
4216,
886,
470,
13,
4706,
19782,
29899,
6707,
4216,
886,
29889,
19779,
29899,
6707,
11580,
1881,
508,
367,
263,
16749,
7052,
13,
4706,
260,
29883,
29889,
2940,
310,
738,
2159,
29889,
13,
4706,
624,
10946,
29899,
6707,
11580,
1881,
1818,
367,
297,
278,
1494,
3402,
29901,
13,
4706,
7569,
11580,
1818,
367,
9875,
491,
263,
1051,
310,
23351,
10794,
29892,
988,
1269,
13,
4706,
19782,
1818,
367,
263,
1051,
310,
3291,
297,
278,
1797,
297,
607,
896,
892,
12061,
13,
4706,
373,
278,
10508,
29889,
13,
4706,
7806,
1298,
1818,
367,
263,
8600,
411,
1023,
6611,
29892,
376,
29916,
29908,
322,
376,
29891,
613,
322,
1009,
13,
4706,
18067,
1819,
1818,
367,
16259,
29892,
474,
29889,
29872,
29889,
2845,
6043,
470,
5785,
29889,
13,
13,
1678,
8845,
29918,
842,
584,
317,
4308,
13136,
13,
4706,
319,
8783,
363,
29652,
278,
1904,
29915,
29879,
2498,
2133,
4180,
29889,
13,
4706,
450,
3402,
310,
445,
317,
4308,
1818,
367,
278,
1021,
408,
278,
6694,
731,
29889,
13,
4706,
2648,
2322,
445,
2980,
338,
731,
304,
525,
6921,
29915,
322,
263,
8845,
731,
338,
13,
4706,
6336,
4559,
29881,
322,
1304,
363,
6728,
14010,
29889,
960,
13,
4706,
8845,
29918,
842,
338,
731,
304,
6213,
29892,
769,
694,
5684,
21556,
13,
4706,
526,
15712,
29889,
450,
2322,
995,
338,
525,
6921,
4286,
13,
13,
1678,
14294,
29918,
2962,
584,
1347,
13136,
13,
4706,
319,
1347,
304,
13530,
607,
758,
3018,
1312,
1904,
304,
671,
29889,
3789,
304,
376,
6921,
29908,
13,
4706,
491,
2322,
607,
3913,
263,
1904,
16370,
373,
29871,
29906,
29946,
29945,
310,
278,
29871,
29941,
29946,
29945,
4413,
297,
278,
13,
4706,
26141,
29892,
18492,
29991,
8783,
29889,
1763,
11262,
14294,
1369,
29892,
1209,
297,
6213,
304,
445,
13,
4706,
2980,
29889,
2266,
338,
263,
1051,
310,
599,
278,
758,
3018,
1312,
4733,
393,
13,
4706,
508,
367,
4502,
297,
408,
445,
2980,
29901,
13,
4706,
376,
6921,
1115,
10783,
267,
4996,
4012,
29918,
29906,
29946,
29945,
29918,
29894,
29900,
13,
4706,
376,
24561,
4012,
29918,
29906,
29946,
29945,
29918,
29894,
29900,
1115,
10783,
267,
263,
1904,
16370,
373,
29871,
29906,
29946,
29945,
310,
278,
29871,
29941,
29946,
29945,
4413,
297,
278,
13,
462,
308,
26141,
29892,
18492,
29991,
8783,
29889,
13,
4706,
6213,
29901,
1939,
399,
2817,
7370,
13,
13,
1678,
9853,
29918,
2311,
29901,
938,
13136,
13,
4706,
450,
1353,
310,
4216,
886,
639,
6694,
4331,
29889,
960,
451,
731,
29892,
263,
2322,
13,
4706,
995,
310,
29871,
29906,
29945,
29953,
674,
367,
1304,
29889,
960,
366,
526,
2805,
3370,
4436,
29892,
13,
4706,
1018,
9263,
5832,
445,
995,
29889,
960,
366,
505,
263,
13988,
6601,
29892,
10231,
13,
4706,
445,
995,
1122,
11157,
4180,
29889,
13,
13,
1678,
4236,
29918,
1524,
800,
584,
938,
13136,
13,
4706,
450,
7472,
1353,
310,
6068,
14517,
1549,
278,
848,
29889,
5853,
14517,
975,
13,
4706,
278,
848,
508,
1121,
297,
263,
901,
7913,
2486,
16370,
1904,
29889,
13,
13,
1678,
26952,
584,
6120,
13136,
13,
4706,
960,
5852,
29892,
1596,
6728,
11217,
322,
1904,
4902,
29889,
13,
13,
1678,
4036,
29918,
26776,
584,
938,
29892,
13136,
13,
4706,
450,
2582,
508,
367,
9483,
1133,
746,
2183,
278,
1021,
16717,
29889,
13,
13,
1678,
16969,
13,
1678,
448,
22158,
13,
1678,
714,
584,
18492,
292,
2385,
3709,
13,
4706,
319,
16370,
584,
1990,
18078,
16327,
2385,
3709,
29952,
1904,
29889,
13,
13,
1678,
2823,
3115,
13,
1678,
448,
26589,
13,
1678,
18492,
292,
2385,
3709,
13,
13,
1678,
1222,
9422,
13,
1678,
448,
26589,
13,
1678,
6317,
2752,
401,
1057,
3017,
13,
13,
4706,
396,
28186,
263,
11580,
770,
3709,
1904,
13,
4706,
8653,
1904,
353,
7013,
293,
3015,
29889,
4012,
292,
29918,
1990,
3709,
29889,
3258,
29898,
1272,
29897,
13,
13,
4706,
396,
8561,
27303,
373,
278,
6694,
731,
322,
408,
1897,
304,
278,
317,
4308,
13,
4706,
8653,
848,
1839,
27711,
1080,
2033,
353,
1904,
29889,
27711,
29898,
1272,
29897,
13,
1678,
9995,
13,
13,
1678,
9259,
29918,
5975,
29918,
1454,
29918,
29893,
2817,
29918,
2962,
353,
6796,
6921,
613,
376,
24561,
4012,
29918,
29906,
29946,
29945,
29918,
29894,
29900,
613,
6213,
29962,
13,
1678,
565,
14294,
29918,
2962,
338,
451,
6213,
29901,
13,
4706,
565,
1134,
29898,
29893,
2817,
29918,
2962,
29897,
338,
451,
851,
29901,
13,
9651,
12020,
20948,
29898,
13,
18884,
13577,
29893,
2817,
29918,
2962,
29915,
1818,
367,
263,
1347,
470,
6213,
29889,
376,
13,
18884,
718,
13577,
29893,
2817,
29918,
2962,
29915,
508,
2125,
297,
278,
1494,
1819,
29901,
376,
13,
18884,
718,
851,
29898,
16044,
287,
29918,
5975,
29918,
1454,
29918,
29893,
2817,
29918,
2962,
29897,
13,
9651,
1723,
13,
4706,
565,
14294,
29918,
2962,
451,
297,
9259,
29918,
5975,
29918,
1454,
29918,
29893,
2817,
29918,
2962,
29901,
13,
9651,
12020,
903,
12229,
7354,
2392,
29898,
13,
18884,
376,
2525,
29423,
1891,
995,
363,
525,
29893,
2817,
29918,
2962,
2396,
376,
13,
18884,
718,
14294,
29918,
2962,
13,
18884,
718,
11393,
525,
29893,
2817,
29918,
2962,
29915,
508,
2125,
297,
278,
1494,
376,
13,
18884,
718,
376,
5975,
29901,
376,
13,
18884,
718,
851,
29898,
16044,
287,
29918,
5975,
29918,
1454,
29918,
29893,
2817,
29918,
2962,
29897,
13,
9651,
1723,
13,
4706,
396,
22108,
525,
6921,
29915,
411,
1024,
310,
1857,
2322,
399,
2817,
7370,
1904,
29889,
13,
4706,
14294,
29918,
2962,
353,
14294,
29918,
2962,
29889,
6506,
703,
6921,
613,
376,
24561,
4012,
29918,
29906,
29946,
29945,
29918,
29894,
29900,
1159,
13,
13,
1678,
565,
11119,
328,
16858,
29918,
16744,
29908,
297,
9049,
5085,
29901,
13,
4706,
396,
22615,
29901,
445,
775,
674,
451,
664,
29889,
17026,
292,
297,
2045,
597,
3292,
29889,
510,
29914,
11548,
29914,
29873,
332,
293,
3015,
29914,
12175,
29914,
29941,
29900,
29900,
29955,
13,
4706,
396,
8561,
1854,
694,
5684,
4128,
526,
4944,
13,
4706,
716,
29918,
8149,
353,
731,
29898,
19290,
3366,
29918,
328,
16858,
29918,
16744,
16862,
8149,
3101,
13,
4706,
731,
29918,
8149,
353,
731,
29898,
7529,
29889,
8149,
3101,
13,
4706,
443,
23765,
353,
716,
29918,
8149,
448,
731,
29918,
8149,
13,
4706,
565,
443,
23765,
29901,
13,
9651,
12020,
903,
12229,
7354,
2392,
703,
14148,
12862,
4128,
29901,
6571,
1642,
4830,
29898,
348,
23765,
876,
13,
13,
4706,
8636,
29889,
5504,
29898,
19290,
3366,
29918,
328,
16858,
29918,
16744,
20068,
13,
13,
1678,
396,
732,
4986,
3970,
29901,
10575,
367,
2221,
304,
6336,
6755,
1353,
310,
24372,
13,
1678,
396,
2729,
373,
848,
2159,
29901,
17026,
287,
297,
402,
2985,
26246,
396,
29896,
29945,
29955,
29953,
13,
1678,
565,
451,
338,
8758,
29898,
2080,
29918,
24713,
29892,
903,
14246,
29889,
29903,
4308,
1125,
13,
4706,
12020,
20948,
877,
29908,
2080,
29918,
24713,
29908,
1818,
367,
310,
1134,
317,
4308,
29889,
1495,
13,
13,
1678,
396,
6336,
10115,
4682,
1897,
13,
1678,
565,
4682,
338,
6213,
29901,
13,
4706,
4682,
353,
903,
11178,
329,
29880,
3032,
2886,
29918,
6194,
29918,
4012,
292,
29918,
4914,
29898,
2080,
29918,
24713,
29897,
13,
13,
1678,
903,
22692,
29918,
2704,
29918,
361,
29918,
1333,
29918,
4012,
292,
29918,
1990,
3709,
29918,
2080,
29918,
29879,
2557,
29898,
2080,
29918,
24713,
29892,
4682,
29892,
3646,
29897,
13,
13,
1678,
565,
9853,
29918,
2311,
338,
451,
6213,
322,
451,
338,
8758,
29898,
16175,
29918,
2311,
29892,
938,
1125,
13,
4706,
12020,
20948,
703,
29915,
16175,
29918,
2311,
29915,
1818,
367,
385,
6043,
6736,
29871,
29896,
1159,
13,
1678,
565,
9853,
29918,
2311,
338,
451,
6213,
322,
9853,
29918,
2311,
529,
29871,
29896,
29901,
13,
4706,
12020,
7865,
2392,
703,
29915,
16175,
29918,
2311,
29915,
1818,
367,
6736,
29871,
29896,
1159,
13,
1678,
565,
4236,
29918,
1524,
800,
338,
451,
6213,
322,
451,
338,
8758,
29898,
3317,
29918,
1524,
800,
29892,
938,
1125,
13,
4706,
12020,
20948,
703,
29915,
3317,
29918,
1524,
800,
29915,
1818,
367,
385,
6043,
6736,
29871,
29896,
1159,
13,
1678,
565,
4236,
29918,
1524,
800,
338,
451,
6213,
322,
4236,
29918,
1524,
800,
529,
29871,
29896,
29901,
13,
4706,
12020,
7865,
2392,
703,
29915,
3317,
29918,
1524,
800,
29915,
1818,
367,
6736,
29871,
29896,
1159,
13,
13,
1678,
1053,
7013,
293,
3015,
29889,
10154,
29895,
1169,
29889,
1982,
29873,
312,
6073,
1731,
13,
13,
1678,
1904,
353,
903,
14246,
29889,
24299,
29889,
4012,
292,
29918,
1990,
3709,
580,
13,
1678,
3987,
353,
9657,
580,
13,
1678,
3987,
3366,
16175,
29918,
2311,
3108,
353,
9853,
29918,
2311,
13,
1678,
3987,
3366,
3317,
29918,
1524,
800,
3108,
353,
4236,
29918,
1524,
800,
13,
1678,
3987,
3366,
369,
15828,
3108,
353,
26952,
13,
1678,
3987,
3366,
29918,
4294,
29918,
6758,
3108,
353,
7700,
13,
1678,
565,
8845,
29918,
842,
338,
6213,
29901,
13,
4706,
8845,
29918,
842,
353,
903,
14246,
29889,
29903,
4308,
580,
13,
1678,
565,
14294,
29918,
2962,
29901,
13,
4706,
396,
16012,
10239,
1988,
14294,
2962,
1904,
13,
4706,
758,
3018,
1312,
29918,
828,
4299,
353,
903,
1457,
29918,
3018,
1312,
29918,
9794,
29889,
16327,
2385,
3709,
6572,
5323,
1312,
1988,
3195,
580,
13,
4706,
3987,
3366,
828,
4299,
29918,
2084,
3108,
353,
758,
3018,
1312,
29918,
828,
4299,
29889,
657,
29918,
4299,
29918,
2084,
580,
13,
1678,
565,
4036,
29918,
26776,
338,
451,
6213,
29901,
13,
4706,
3987,
3366,
8172,
29918,
26776,
3108,
353,
4036,
29918,
26776,
13,
1678,
3987,
3366,
29893,
2817,
29918,
2962,
3108,
353,
5124,
565,
14294,
29918,
2962,
338,
6213,
1683,
14294,
29918,
2962,
13,
1678,
1904,
29889,
14968,
29898,
2080,
29918,
24713,
29892,
3646,
29892,
4682,
29892,
8845,
29918,
842,
29892,
3987,
29897,
13,
1678,
736,
18492,
292,
2385,
3709,
29898,
4299,
29918,
14701,
29922,
4299,
29892,
1024,
543,
4012,
292,
29918,
1990,
3709,
1159,
13,
13,
13,
1990,
18492,
292,
2385,
3709,
7373,
3195,
1125,
13,
1678,
9995,
13,
1678,
319,
16370,
1904,
773,
315,
1817,
5314,
393,
338,
7960,
304,
671,
363,
12965,
470,
5609,
304,
13,
1678,
10239,
1988,
29889,
13,
13,
1678,
910,
1904,
881,
451,
367,
13319,
4153,
29889,
13,
1678,
9995,
13,
13,
1678,
903,
6271,
29925,
29918,
29928,
4717,
29956,
4214,
29918,
13875,
1799,
29902,
3738,
1001,
29918,
16358,
353,
29871,
29896,
13,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
1904,
29918,
14701,
29922,
8516,
29892,
1024,
29922,
8516,
1125,
13,
4706,
1583,
17255,
14701,
1649,
353,
1904,
29918,
14701,
13,
4706,
1583,
17255,
978,
1649,
353,
1024,
13,
13,
1678,
732,
1990,
5696,
13,
1678,
822,
903,
11487,
29918,
978,
29898,
25932,
1125,
13,
4706,
736,
376,
4012,
292,
29918,
1990,
3709,
29908,
13,
13,
1678,
822,
4770,
710,
12035,
1311,
1125,
13,
4706,
9995,
13,
4706,
7106,
263,
1347,
6139,
310,
278,
1904,
304,
278,
4954,
2158,
16159,
1158,
29889,
13,
13,
4706,
16969,
13,
4706,
448,
22158,
13,
4706,
714,
584,
1347,
13,
9651,
319,
6139,
310,
278,
18492,
292,
2385,
3709,
29889,
13,
4706,
9995,
13,
4706,
736,
1583,
17255,
276,
558,
1649,
580,
13,
13,
1678,
822,
4770,
276,
558,
12035,
1311,
1125,
13,
4706,
9995,
13,
4706,
16969,
263,
1347,
6139,
310,
278,
1904,
29892,
3704,
313,
3062,
8018,
29897,
13,
4706,
278,
10938,
310,
278,
6694,
848,
29892,
6139,
310,
278,
6694,
848,
29892,
13,
4706,
6694,
13964,
29892,
322,
1904,
11266,
16744,
29889,
13,
13,
4706,
16969,
13,
4706,
448,
22158,
13,
4706,
714,
584,
1347,
13,
9651,
319,
6139,
310,
278,
1904,
29889,
13,
4706,
9995,
13,
13,
4706,
2920,
353,
29871,
29946,
29900,
13,
4706,
13926,
29892,
4004,
29918,
23545,
793,
353,
1583,
3032,
657,
29918,
7727,
29918,
4984,
580,
13,
4706,
714,
353,
903,
11178,
329,
29880,
3032,
10154,
7354,
29918,
276,
558,
29918,
2158,
29898,
1311,
29892,
13926,
29892,
4004,
29918,
23545,
793,
29892,
2920,
29922,
2103,
29897,
13,
4706,
736,
714,
13,
13,
1678,
822,
903,
657,
29918,
3259,
29898,
1311,
1125,
13,
4706,
736,
1583,
3032,
6271,
29925,
29918,
29928,
4717,
29956,
4214,
29918,
13875,
1799,
29902,
3738,
1001,
29918,
16358,
13,
13,
1678,
822,
5609,
29918,
2616,
331,
29880,
29898,
1311,
29892,
10422,
1125,
13,
4706,
9995,
13,
4706,
1222,
637,
278,
1904,
297,
10239,
23158,
3402,
29889,
13,
13,
4706,
12662,
2699,
13,
4706,
448,
1378,
29899,
13,
4706,
10422,
29901,
851,
13,
3986,
319,
2854,
10422,
988,
278,
1904,
508,
367,
7160,
29889,
13,
13,
4706,
1222,
9422,
13,
4706,
448,
26589,
13,
4706,
8653,
1904,
29889,
15843,
29918,
2616,
331,
29880,
703,
3421,
3195,
29889,
828,
4299,
1159,
13,
4706,
9995,
13,
4706,
5684,
29918,
1792,
29918,
12119,
29918,
19635,
353,
903,
2616,
331,
29880,
29918,
13239,
3032,
657,
29918,
14246,
29918,
3259,
29918,
3888,
580,
13,
4706,
3273,
29918,
8216,
353,
903,
2616,
331,
29880,
29918,
13239,
3032,
828,
4299,
29918,
12759,
29918,
8216,
29898,
13,
9651,
376,
16327,
4134,
3709,
29908,
13,
4706,
1723,
13,
4706,
1583,
17255,
14701,
26914,
15843,
29918,
517,
29918,
2616,
331,
29880,
29898,
13,
9651,
10422,
29892,
3273,
29918,
8216,
29892,
5684,
29918,
1792,
29918,
12119,
29918,
19635,
13,
4706,
1723,
13,
13,
1678,
822,
8500,
29898,
1311,
29892,
8783,
29892,
1962,
29918,
1853,
543,
1990,
29908,
1125,
13,
4706,
9995,
13,
4706,
21099,
919,
373,
385,
317,
4308,
470,
317,
2588,
310,
4216,
886,
29892,
470,
373,
263,
2323,
11580,
29889,
13,
13,
4706,
12662,
2699,
13,
4706,
448,
1378,
29899,
13,
4706,
848,
584,
317,
4308,
891,
317,
2588,
891,
260,
29883,
29889,
2940,
13,
9651,
450,
11580,
29898,
29879,
29897,
373,
607,
304,
2189,
11580,
12965,
29889,
13,
9651,
960,
8783,
338,
385,
317,
4308,
29892,
372,
1818,
505,
263,
1897,
411,
278,
1021,
1024,
13,
9651,
408,
278,
4682,
1897,
2645,
6694,
29889,
3462,
3245,
4341,
526,
13,
9651,
17262,
29889,
13,
9651,
960,
278,
848,
338,
263,
2323,
11580,
29892,
372,
508,
367,
2845,
310,
1134,
260,
29883,
29889,
2940,
29892,
13,
9651,
297,
607,
1206,
372,
338,
263,
21170,
29899,
6707,
11580,
1881,
29892,
13,
9651,
470,
310,
1134,
1051,
29892,
297,
607,
1206,
372,
338,
263,
19782,
29899,
6707,
11580,
1881,
29889,
13,
13,
4706,
1962,
29918,
1853,
584,
11117,
22795,
3097,
742,
525,
1990,
742,
525,
22795,
3097,
29918,
8111,
16675,
13136,
13,
9651,
3812,
310,
278,
27303,
607,
526,
697,
310,
29901,
13,
13,
9651,
448,
525,
1990,
2396,
4134,
18988,
29889,
1152,
2473,
29899,
1990,
12965,
29892,
445,
13,
795,
3639,
278,
770,
411,
7472,
6976,
29889,
13,
9651,
448,
525,
22795,
3097,
2396,
21099,
2463,
6976,
6942,
411,
278,
5852,
13,
795,
770,
313,
1333,
22903,
363,
2473,
29899,
1990,
12965,
29897,
13,
9651,
448,
525,
22795,
3097,
29918,
8111,
2396,
21099,
2463,
6976,
6942,
411,
1269,
13,
795,
770,
408,
263,
4608,
29889,
15796,
20520,
338,
9657,
630,
491,
278,
4954,
13203,
16159,
13,
795,
4509,
2286,
29889,
13,
13,
4706,
9853,
29918,
2311,
584,
938,
29892,
13136,
13,
9651,
960,
366,
526,
2805,
3370,
4436,
29892,
1018,
9263,
5832,
445,
995,
29889,
960,
366,
13,
9651,
505,
263,
13988,
6601,
29892,
10231,
445,
995,
1122,
11157,
13,
9651,
4180,
29889,
13,
13,
4706,
26952,
584,
6120,
29892,
13136,
13,
9651,
960,
5852,
29892,
14677,
18988,
6728,
29889,
13,
13,
4706,
16969,
13,
4706,
448,
22158,
13,
4706,
714,
584,
317,
2588,
13,
9651,
530,
317,
2588,
411,
1904,
27303,
29889,
7806,
1543,
16161,
304,
13,
9651,
263,
11580,
322,
3743,
263,
2323,
995,
6590,
304,
278,
13,
9651,
25383,
3858,
29889,
7806,
18988,
674,
505,
1134,
6043,
470,
1347,
13,
9651,
8679,
373,
278,
1134,
310,
278,
4413,
278,
1904,
471,
16370,
373,
29889,
13,
9651,
960,
421,
1272,
29952,
338,
263,
2323,
11580,
29892,
278,
736,
995,
674,
367,
263,
2323,
13,
9651,
18988,
29889,
13,
13,
4706,
2823,
3115,
13,
4706,
448,
26589,
13,
4706,
14707,
13,
13,
4706,
1222,
9422,
13,
4706,
448,
26589,
13,
4706,
6317,
2752,
401,
1057,
3017,
13,
13,
9651,
396,
8561,
27303,
13,
9651,
8653,
4450,
353,
1904,
29889,
27711,
29898,
1272,
29897,
13,
13,
9651,
396,
13905,
27303,
29892,
363,
263,
2253,
975,
1493,
13,
9651,
8653,
1596,
29898,
11965,
29897,
13,
9651,
26688,
29901,
938,
13,
9651,
390,
1242,
29901,
29871,
29896,
29900,
13,
9651,
518,
29941,
29892,
29871,
29946,
29892,
29871,
29941,
29892,
29871,
29941,
29892,
29871,
29946,
29892,
29871,
29945,
29892,
29871,
29947,
29892,
29871,
29947,
29892,
29871,
29947,
29892,
29871,
29946,
29962,
13,
4706,
9995,
13,
4706,
565,
338,
8758,
29898,
24713,
29892,
903,
14246,
29889,
29903,
2588,
1125,
13,
9651,
8783,
353,
903,
14246,
29889,
29903,
4308,
3319,
1311,
29889,
14394,
29901,
8783,
1800,
13,
4706,
736,
1583,
17255,
14701,
26914,
27711,
29898,
24713,
29892,
1962,
29918,
1853,
29897,
13,
13,
1678,
822,
8500,
29918,
3332,
29895,
29898,
1311,
29892,
8783,
29892,
1962,
29918,
1853,
543,
22795,
3097,
613,
413,
29922,
29941,
1125,
13,
4706,
9995,
13,
4706,
7106,
2246,
29899,
29895,
27303,
363,
278,
4954,
24713,
29952,
1673,
773,
278,
16370,
1904,
29889,
13,
4706,
21099,
919,
1080,
526,
4133,
408,
385,
317,
4308,
411,
2211,
4341,
29901,
421,
333,
1673,
13,
4706,
421,
1990,
1673,
322,
421,
22795,
3097,
29952,
470,
421,
10003,
1673,
8679,
373,
278,
4954,
4905,
29918,
1853,
16159,
13,
4706,
3443,
29889,
13,
13,
4706,
12662,
2699,
13,
4706,
448,
1378,
29899,
13,
4706,
8783,
584,
317,
4308,
891,
317,
2588,
891,
7013,
293,
3015,
29889,
2940,
13,
9651,
18492,
886,
304,
367,
770,
2164,
29889,
13,
9651,
960,
8783,
338,
385,
317,
4308,
29892,
372,
1818,
3160,
4341,
411,
278,
1021,
13,
9651,
2983,
408,
278,
5680,
1304,
363,
1904,
6694,
29892,
541,
947,
451,
1996,
13,
9651,
263,
3646,
1897,
29889,
3462,
3245,
4341,
526,
17262,
29889,
13,
13,
4706,
1962,
29918,
1853,
584,
11117,
22795,
3097,
742,
525,
10003,
16675,
13136,
13,
9651,
14542,
852,
278,
736,
1134,
310,
278,
18988,
29901,
13,
13,
9651,
448,
421,
22795,
3097,
6998,
1019,
29890,
3097,
6942,
411,
1269,
3858,
297,
278,
13,
462,
632,
18988,
29889,
13,
9651,
448,
421,
10003,
29952,
539,
584,
22125,
6942,
411,
1269,
3858,
297,
278,
18988,
29889,
13,
13,
4706,
413,
584,
938,
29892,
13136,
13,
9651,
9681,
310,
4413,
304,
736,
363,
1269,
1881,
1342,
29889,
13,
13,
4706,
9853,
29918,
2311,
584,
938,
29892,
13136,
13,
9651,
960,
366,
526,
2805,
3370,
4436,
29892,
1018,
9263,
5832,
445,
995,
29889,
960,
366,
13,
9651,
505,
263,
13988,
6601,
29892,
10231,
445,
995,
1122,
11157,
13,
9651,
4180,
29889,
13,
13,
4706,
16969,
13,
4706,
448,
22158,
13,
4706,
714,
584,
317,
4308,
13,
9651,
530,
317,
4308,
411,
1904,
27303,
29889,
13,
13,
4706,
2823,
3115,
13,
4706,
448,
26589,
13,
4706,
8500,
29892,
14707,
13,
13,
4706,
1222,
9422,
13,
4706,
448,
26589,
13,
4706,
8653,
4450,
353,
286,
29889,
27711,
29918,
3332,
29895,
29898,
18157,
29918,
1272,
29892,
413,
29922,
29941,
29897,
13,
4706,
8653,
1596,
29898,
11965,
29897,
13,
4706,
718,
27385,
807,
12918,
2683,
12918,
13,
4706,
891,
1178,
891,
770,
891,
259,
6976,
268,
891,
13,
4706,
718,
27385,
807,
12918,
2683,
12918,
13,
4706,
891,
29871,
29900,
29871,
891,
1678,
29946,
259,
891,
1678,
29900,
29889,
29929,
29929,
29945,
29953,
29906,
29941,
29947,
29947,
29953,
29945,
29947,
29945,
29871,
891,
13,
4706,
891,
29871,
29900,
29871,
891,
1678,
29929,
259,
891,
259,
29900,
29889,
29900,
29900,
29941,
29947,
29941,
29896,
29896,
29955,
29945,
29953,
29906,
29896,
29953,
29871,
891,
13,
4706,
891,
29871,
29900,
29871,
891,
1678,
29955,
259,
891,
29871,
29900,
29889,
29900,
29900,
29900,
29941,
29900,
29896,
29900,
29900,
29953,
29929,
29946,
29947,
29945,
29955,
29945,
891,
13,
4706,
891,
29871,
29896,
29871,
891,
1678,
29896,
259,
891,
1678,
29900,
29889,
29929,
29906,
29947,
29955,
29900,
29947,
29900,
29896,
29953,
29947,
29955,
29906,
29871,
891,
13,
4706,
891,
29871,
29896,
29871,
891,
1678,
29941,
259,
891,
259,
29900,
29889,
29900,
29946,
29946,
29900,
29947,
29947,
29929,
29906,
29953,
29896,
29953,
29953,
29941,
29871,
891,
13,
4706,
891,
29871,
29896,
29871,
891,
1678,
29906,
259,
891,
259,
29900,
29889,
29900,
29896,
29955,
29953,
29896,
29929,
29900,
29896,
29896,
29929,
29906,
29941,
29955,
29871,
891,
13,
4706,
891,
29871,
29906,
29871,
891,
1678,
29941,
259,
891,
1678,
29900,
29889,
29929,
29929,
29953,
29929,
29953,
29955,
29955,
29941,
29906,
29929,
29900,
29953,
29871,
891,
13,
4706,
891,
29871,
29906,
29871,
891,
1678,
29906,
259,
891,
259,
29900,
29889,
29900,
29900,
29896,
29945,
29896,
29941,
29946,
29945,
29953,
29947,
29900,
29929,
29941,
29941,
891,
13,
4706,
891,
29871,
29906,
29871,
891,
1678,
29955,
259,
891,
29871,
29900,
29889,
29900,
29900,
29900,
29953,
29941,
29955,
29945,
29896,
29941,
29929,
29941,
29946,
29953,
29941,
29945,
891,
13,
4706,
891,
29871,
29941,
29871,
891,
1678,
29896,
259,
891,
1678,
29900,
29889,
29929,
29929,
29947,
29900,
29955,
29900,
29900,
29953,
29896,
29906,
29900,
29955,
29871,
891,
13,
4706,
891,
6317,
891,
29871,
2023,
29871,
891,
4706,
2023,
4706,
891,
13,
4706,
718,
27385,
807,
12918,
2683,
12918,
13,
4706,
518,
29941,
29945,
29953,
29947,
29947,
4206,
921,
29871,
29941,
4341,
29962,
13,
4706,
9995,
13,
4706,
565,
338,
8758,
29898,
24713,
29892,
903,
14246,
29889,
29903,
2588,
1125,
13,
9651,
8783,
353,
903,
14246,
29889,
29903,
4308,
3319,
1311,
29889,
14394,
29901,
8783,
1800,
13,
4706,
736,
1583,
17255,
14701,
26914,
27711,
29918,
3332,
29895,
29898,
24713,
29892,
1962,
29918,
1853,
29892,
413,
29897,
13,
13,
1678,
822,
14707,
29898,
1311,
29892,
8783,
29892,
12714,
543,
6921,
29908,
1125,
13,
4706,
9995,
13,
4706,
382,
4387,
403,
278,
1904,
491,
3907,
27303,
310,
3646,
1819,
322,
17420,
13,
4706,
1438,
304,
3935,
1819,
29889,
13,
13,
4706,
12662,
2699,
13,
4706,
448,
1378,
29899,
13,
4706,
8783,
584,
317,
4308,
13,
9651,
13373,
24541,
310,
716,
13917,
29889,
19928,
3160,
4341,
411,
278,
1021,
13,
9651,
2983,
408,
278,
4867,
29918,
333,
29892,
3646,
322,
5680,
1304,
363,
1904,
6694,
29889,
13,
9651,
3462,
3245,
4341,
526,
17262,
29889,
13,
13,
4706,
12714,
584,
851,
29892,
13136,
13,
9651,
4408,
310,
278,
17983,
12714,
29889,
29871,
20049,
1819,
526,
29901,
13,
13,
9651,
448,
525,
6921,
29915,
632,
584,
16969,
599,
3625,
21556,
29889,
13,
9651,
448,
525,
562,
2764,
4135,
29915,
308,
584,
23236,
13600,
313,
29885,
2357,
6588,
467,
13,
9651,
448,
525,
14766,
29915,
795,
584,
18320,
1090,
278,
16641,
29907,
11672,
313,
25254,
6588,
29897,
13,
9651,
448,
525,
17990,
2459,
29915,
4706,
584,
349,
3757,
2459,
8158,
313,
25254,
6588,
29897,
13,
9651,
448,
525,
3757,
497,
29915,
965,
584,
3599,
497,
8158,
313,
25254,
6588,
29897,
13,
9651,
448,
525,
29888,
29896,
29918,
13628,
29915,
308,
584,
383,
29896,
8158,
313,
25254,
6588,
29897,
13,
9651,
448,
525,
1188,
29918,
6758,
29915,
308,
584,
4522,
6410,
13,
9651,
448,
525,
5527,
3958,
29918,
5344,
29915,
584,
530,
317,
4308,
411,
18139,
310,
1950,
13,
462,
462,
259,
18988,
29914,
3009,
3858,
18240,
29889,
13,
9651,
448,
525,
10198,
29918,
2764,
345,
29915,
4706,
584,
530,
317,
4308,
6943,
2472,
4312,
363,
385,
13,
462,
462,
259,
16641,
29907,
11672,
13,
13,
4706,
16969,
13,
4706,
448,
22158,
13,
4706,
714,
584,
9657,
13,
9651,
13343,
310,
17983,
2582,
988,
278,
1820,
338,
278,
1024,
310,
278,
13,
9651,
17983,
12714,
313,
29872,
29889,
29887,
29889,
421,
562,
2764,
4135,
6348,
322,
278,
995,
338,
278,
17983,
13,
9651,
8158,
29889,
13,
13,
4706,
2823,
3115,
13,
4706,
448,
1378,
29899,
13,
4706,
1653,
29892,
8500,
13,
13,
4706,
1222,
9422,
13,
4706,
448,
1378,
29899,
13,
4706,
6317,
2752,
401,
1057,
3017,
13,
13,
3986,
8653,
2582,
353,
1904,
29889,
24219,
403,
29898,
1272,
29897,
13,
3986,
8653,
1596,
2582,
1839,
562,
2764,
4135,
2033,
13,
4706,
9995,
13,
13,
4706,
17983,
29918,
2914,
353,
1583,
17255,
14701,
26914,
24219,
403,
29898,
24713,
29892,
12714,
29897,
13,
13,
4706,
770,
29918,
1643,
353,
17983,
29918,
2914,
3366,
11965,
2463,
29918,
1990,
3108,
13,
4706,
6976,
29918,
8111,
353,
17983,
29918,
2914,
3366,
11965,
2463,
29918,
22795,
3108,
13,
13,
4706,
628,
17983,
29918,
2914,
3366,
11965,
2463,
29918,
1990,
3108,
13,
4706,
628,
17983,
29918,
2914,
3366,
11965,
2463,
29918,
22795,
3108,
13,
13,
4706,
25383,
353,
903,
14246,
29889,
29903,
4308,
29898,
13,
9651,
8853,
1643,
1115,
770,
29918,
1643,
29892,
376,
22795,
3097,
1115,
6976,
29918,
8111,
29913,
13,
4706,
1723,
13,
4706,
11073,
353,
1583,
29889,
13203,
13,
13,
4706,
515,
6317,
29918,
24219,
403,
29918,
13239,
1053,
313,
13,
9651,
24687,
29892,
13,
9651,
16420,
29892,
13,
9651,
6198,
29918,
5527,
5084,
29892,
13,
9651,
679,
29918,
5527,
3958,
29918,
5344,
29892,
13,
9651,
298,
19594,
13685,
29892,
13,
9651,
301,
29906,
13398,
29892,
13,
4706,
1723,
13,
13,
4706,
17983,
29918,
2914,
3366,
1949,
29918,
1688,
29918,
19057,
3108,
353,
7431,
29898,
24713,
29897,
13,
4706,
363,
413,
297,
6796,
1949,
29918,
13203,
613,
376,
1949,
29918,
19057,
613,
376,
26495,
29918,
2230,
613,
376,
3317,
29918,
1524,
800,
3108,
29901,
13,
9651,
17983,
29918,
2914,
29961,
29895,
29962,
353,
679,
5552,
29898,
1311,
29892,
413,
29897,
13,
13,
4706,
396,
17983,
29918,
2914,
1839,
2080,
29918,
3027,
29918,
12181,
2033,
353,
679,
5552,
29898,
1311,
29892,
525,
2080,
29918,
3027,
29918,
12181,
1495,
13,
13,
4706,
17983,
29918,
2914,
3366,
4299,
29918,
978,
3108,
353,
376,
16327,
4134,
3709,
29908,
13,
4706,
10410,
29918,
1688,
353,
8783,
29889,
1202,
29918,
4914,
29898,
11965,
18186,
3366,
22795,
3097,
12436,
376,
771,
5824,
1159,
13,
4706,
10410,
29918,
1688,
3366,
1643,
3108,
353,
8783,
29961,
1311,
29889,
5182,
29962,
13,
13,
4706,
10410,
29918,
1688,
353,
10410,
29918,
1688,
29889,
1202,
29918,
13099,
29898,
13,
9651,
518,
13,
18884,
10410,
29918,
1688,
29889,
7302,
29898,
13,
462,
1678,
14013,
270,
29901,
11073,
29961,
29881,
3366,
771,
5824,
16862,
2248,
29898,
5527,
5084,
29898,
29881,
3366,
771,
5824,
3108,
28166,
13,
18884,
10353,
13,
18884,
10410,
29918,
1688,
29889,
7302,
29898,
2892,
270,
29901,
24687,
29898,
29881,
3366,
771,
5824,
20068,
511,
13,
18884,
10410,
29918,
1688,
29889,
7302,
29898,
2892,
270,
29901,
16420,
29898,
29881,
3366,
771,
5824,
20068,
511,
13,
18884,
10410,
29918,
1688,
29889,
7302,
29898,
2892,
270,
29901,
6198,
29918,
5527,
5084,
29898,
29881,
3366,
771,
5824,
20068,
511,
13,
9651,
21251,
13,
9651,
6796,
11965,
18186,
29918,
1643,
613,
376,
296,
14441,
613,
376,
5527,
5084,
613,
376,
22925,
29918,
5527,
5084,
12436,
13,
4706,
1723,
13,
13,
4706,
10410,
29918,
1688,
353,
10410,
29918,
1688,
29889,
1202,
29918,
4914,
29898,
13,
9651,
10410,
29918,
1688,
29889,
7302,
29898,
2892,
270,
29901,
270,
3366,
1643,
3108,
1275,
270,
3366,
11965,
18186,
29918,
1643,
3108,
511,
376,
15728,
29908,
13,
4706,
1723,
13,
13,
4706,
18668,
29918,
5527,
29918,
2922,
353,
679,
29918,
5527,
3958,
29918,
5344,
29898,
1062,
2760,
29918,
1688,
29892,
11073,
29897,
13,
4706,
16420,
29918,
386,
12268,
353,
29871,
29900,
29889,
29945,
13,
4706,
19066,
277,
424,
29918,
386,
12268,
353,
29871,
29900,
29889,
29906,
13,
4706,
17983,
29918,
2914,
3366,
5527,
5084,
29918,
386,
12268,
3108,
353,
16420,
29918,
386,
12268,
13,
4706,
17983,
29918,
2914,
3366,
13244,
277,
424,
29918,
386,
12268,
3108,
353,
19066,
277,
424,
29918,
386,
12268,
13,
4706,
17983,
29918,
2914,
3366,
5527,
5084,
29918,
16414,
29918,
1454,
29918,
386,
12268,
3108,
353,
376,
22925,
29918,
5527,
5084,
29908,
13,
13,
4706,
17983,
29918,
2914,
3366,
5527,
29918,
2922,
3108,
353,
1051,
29898,
4668,
29918,
5527,
29918,
2922,
29897,
13,
13,
4706,
12047,
353,
2910,
29898,
13,
9651,
14013,
301,
29901,
426,
13,
18884,
376,
978,
1115,
301,
29892,
13,
18884,
376,
1066,
1115,
1051,
29898,
13,
462,
1678,
18668,
29918,
5527,
29918,
2922,
29961,
4668,
29918,
5527,
29918,
2922,
3366,
5182,
29918,
1643,
3108,
1275,
301,
1822,
6605,
29898,
13,
462,
4706,
376,
11965,
18186,
29918,
1643,
29908,
13,
462,
1678,
1723,
3366,
12324,
29918,
22795,
3108,
13,
18884,
10353,
13,
9651,
2981,
13,
9651,
11073,
29892,
13,
4706,
1723,
13,
4706,
17983,
29918,
2914,
3366,
24582,
29918,
21134,
3108,
353,
298,
19594,
13685,
29898,
345,
14359,
29892,
301,
29906,
13398,
9601,
29900,
3816,
13,
9651,
376,
978,
29908,
13,
308,
1822,
5451,
703,
29989,
1159,
13,
13,
4706,
639,
29918,
29880,
353,
10410,
29918,
1688,
29889,
27789,
29898,
13,
9651,
6796,
1643,
12436,
13,
9651,
426,
13,
18884,
376,
2798,
1115,
903,
14246,
29889,
26193,
403,
29889,
18736,
29892,
13,
18884,
376,
15728,
29918,
2798,
1115,
903,
14246,
29889,
26193,
403,
29889,
25021,
703,
15728,
4968,
13,
9651,
2981,
13,
4706,
1723,
13,
4706,
639,
29918,
29880,
3366,
3757,
497,
3108,
353,
639,
29918,
29880,
29889,
7302,
29898,
2892,
301,
29901,
301,
3366,
15728,
29918,
2798,
3108,
334,
29871,
29896,
29889,
29900,
847,
301,
3366,
2798,
20068,
13,
13,
4706,
639,
29918,
572,
353,
10410,
29918,
1688,
29889,
27789,
29898,
13,
9651,
6796,
11965,
18186,
29918,
1643,
12436,
13,
9651,
426,
13,
18884,
376,
11965,
18186,
29918,
2798,
1115,
903,
14246,
29889,
26193,
403,
29889,
18736,
29892,
13,
18884,
376,
15728,
29918,
2798,
1115,
903,
14246,
29889,
26193,
403,
29889,
25021,
703,
15728,
4968,
13,
9651,
2981,
13,
4706,
1723,
13,
4706,
639,
29918,
572,
3366,
17990,
2459,
3108,
353,
639,
29918,
572,
29889,
7302,
29898,
13,
9651,
14013,
301,
29901,
301,
3366,
15728,
29918,
2798,
3108,
334,
29871,
29896,
29889,
29900,
847,
301,
3366,
11965,
18186,
29918,
2798,
3108,
13,
4706,
1723,
13,
4706,
639,
29918,
572,
353,
639,
29918,
572,
29889,
1267,
420,
3319,
29908,
11965,
18186,
29918,
1643,
1115,
376,
1643,
29908,
1800,
13,
4706,
17983,
29918,
2914,
3366,
1643,
29918,
2527,
10817,
3108,
353,
1051,
29898,
13,
9651,
639,
29918,
29880,
29889,
7122,
29898,
546,
29918,
572,
29892,
373,
543,
1643,
613,
920,
543,
5561,
2564,
2622,
29918,
13099,
29898,
13,
18884,
518,
13,
462,
1678,
376,
1643,
613,
13,
462,
1678,
376,
2798,
613,
13,
462,
1678,
376,
15728,
29918,
2798,
613,
13,
462,
1678,
376,
11965,
18186,
29918,
2798,
613,
13,
462,
1678,
376,
3757,
497,
613,
13,
462,
1678,
376,
17990,
2459,
613,
13,
18884,
4514,
13,
9651,
1723,
13,
4706,
1723,
13,
4706,
17983,
29918,
2914,
3366,
21134,
3108,
353,
11073,
13,
13,
4706,
10410,
29918,
1688,
353,
10410,
29918,
1688,
29889,
1202,
29918,
798,
29918,
4537,
703,
1649,
13140,
2564,
1267,
420,
29898,
13,
9651,
8853,
1643,
1115,
376,
5182,
29918,
1643,
9092,
13,
4706,
1723,
13,
13,
4706,
17983,
29918,
2914,
3366,
1688,
29918,
1272,
3108,
353,
10410,
29918,
1688,
13,
4706,
17983,
29918,
2914,
3366,
14394,
3108,
353,
1583,
29889,
14394,
13,
13,
4706,
736,
903,
29923,
4387,
362,
29898,
24219,
362,
29918,
2914,
29897,
13,
13,
1678,
822,
903,
657,
29918,
7727,
29918,
4984,
29898,
1311,
1125,
13,
4706,
9995,
13,
4706,
16969,
263,
2281,
2955,
6139,
310,
278,
1904,
29892,
3704,
313,
3062,
13,
4706,
8018,
29897,
278,
10938,
310,
278,
6694,
848,
29892,
6139,
310,
278,
6694,
13,
4706,
848,
29892,
6694,
13964,
29892,
322,
1904,
11266,
16744,
29889,
13,
13,
4706,
16969,
13,
4706,
448,
22158,
13,
4706,
13926,
584,
1051,
313,
974,
1051,
310,
5291,
2701,
29897,
13,
9651,
319,
1051,
310,
15837,
13926,
29889,
13,
795,
7806,
4004,
338,
263,
1051,
29889,
13,
18884,
7806,
2944,
297,
263,
4004,
1051,
338,
263,
18761,
310,
278,
883,
29901,
13,
462,
29871,
6702,
29966,
1643,
29958,
3788,
29966,
2671,
29958,
1495,
13,
4706,
4004,
29918,
23545,
793,
29901,
1051,
13,
9651,
319,
1051,
310,
4004,
17735,
29889,
13,
795,
450,
1797,
7087,
393,
310,
278,
525,
27117,
29915,
1203,
29889,
13,
4706,
9995,
13,
4706,
1904,
29918,
9621,
353,
518,
13,
9651,
4852,
4557,
310,
4413,
613,
376,
1949,
29918,
13203,
4968,
13,
9651,
4852,
19132,
1897,
613,
376,
14394,
4968,
13,
9651,
4852,
8667,
1897,
613,
376,
5182,
4968,
13,
4706,
4514,
13,
4706,
6694,
29918,
9621,
353,
518,
13,
9651,
4852,
5323,
2827,
20504,
800,
613,
376,
3317,
29918,
1524,
800,
4968,
13,
9651,
4852,
5323,
2827,
4831,
332,
4135,
613,
376,
26495,
29918,
562,
2764,
4135,
4968,
13,
9651,
4852,
19448,
4831,
332,
4135,
613,
376,
18157,
29918,
562,
2764,
4135,
4968,
13,
9651,
4852,
5323,
2827,
5974,
613,
376,
26495,
29918,
2230,
4968,
13,
9651,
4852,
4557,
310,
1222,
9422,
613,
376,
1949,
29918,
19057,
4968,
13,
4706,
4514,
13,
13,
4706,
4004,
29918,
23545,
793,
353,
6796,
12763,
613,
376,
5323,
2827,
15837,
3108,
13,
4706,
736,
9310,
4299,
29918,
9621,
29892,
6694,
29918,
9621,
1402,
4004,
29918,
23545,
793,
29897,
13,
2
] |
main/models.py | LeonDante-ctrl/danterev | 0 | 1617187 | from django.db import models
class Award(models.Model):
name=models.CharField(max_length=300)
description=models.TextField(max_length=5000)
developer=models.CharField(max_length=300)
created_date=models.DateField()
averangeRating=models.FloatField(default=0)
image=models.URLField(default=None, null=True)
linktosite=models.URLField(default=None, null=True)
def __str__(self):
return self.name
# Create your models here.
| [
1,
515,
9557,
29889,
2585,
1053,
4733,
13,
13,
13,
1990,
7526,
29898,
9794,
29889,
3195,
1125,
13,
1678,
1024,
29922,
9794,
29889,
27890,
29898,
3317,
29918,
2848,
29922,
29941,
29900,
29900,
29897,
13,
1678,
6139,
29922,
9794,
29889,
15778,
29898,
3317,
29918,
2848,
29922,
29945,
29900,
29900,
29900,
29897,
418,
13,
1678,
13897,
29922,
9794,
29889,
27890,
29898,
3317,
29918,
2848,
29922,
29941,
29900,
29900,
29897,
13,
1678,
2825,
29918,
1256,
29922,
9794,
29889,
2539,
3073,
580,
13,
1678,
4759,
927,
29934,
1218,
29922,
9794,
29889,
11031,
3073,
29898,
4381,
29922,
29900,
29897,
13,
1678,
1967,
29922,
9794,
29889,
4219,
3073,
29898,
4381,
29922,
8516,
29892,
1870,
29922,
5574,
29897,
13,
1678,
1544,
29873,
359,
568,
29922,
9794,
29889,
4219,
3073,
29898,
4381,
29922,
8516,
29892,
1870,
29922,
5574,
29897,
13,
13,
13,
1678,
822,
4770,
710,
12035,
1311,
1125,
13,
4706,
736,
1583,
29889,
978,
13,
13,
29937,
6204,
596,
4733,
1244,
29889,
13,
2
] |
python/course/leetcode/leetcode.py | TimVan1596/ACM-ICPC | 1 | 30951 | # -*- coding:utf-8 -*-
# @Time:2020/6/15 11:38
# @Author:TimVan
# @File:leetcode.py
# @Software:PyCharm
# Definition for singly-linked list.
# for j in range(10, 5, -1):
# print(j)
print('a'.find(' '))
| [
1,
396,
448,
29930,
29899,
14137,
29901,
9420,
29899,
29947,
448,
29930,
29899,
13,
29937,
732,
2481,
29901,
29906,
29900,
29906,
29900,
29914,
29953,
29914,
29896,
29945,
29871,
29896,
29896,
29901,
29941,
29947,
13,
29937,
732,
13720,
29901,
13711,
29963,
273,
13,
29937,
732,
2283,
29901,
280,
300,
401,
29889,
2272,
13,
29937,
732,
6295,
14093,
29901,
19737,
1451,
2817,
13,
29937,
21940,
363,
1809,
368,
29899,
2324,
287,
1051,
29889,
13,
13,
29937,
363,
432,
297,
3464,
29898,
29896,
29900,
29892,
29871,
29945,
29892,
448,
29896,
1125,
13,
29937,
268,
1596,
29898,
29926,
29897,
13,
13,
2158,
877,
29874,
4286,
2886,
877,
525,
876,
13,
2
] |
bigml/tests/create_external_steps.py | pertinkoira/python | 0 | 59950 | <filename>bigml/tests/create_external_steps.py<gh_stars>0
# -*- coding: utf-8 -*-
#
# Copyright 2020-2022 BigML
#
# 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 time
import json
import csv
import sys
from datetime import datetime
from .world import world, res_filename
from nose.tools import eq_, assert_less
from bigml.api import HTTP_CREATED, HTTP_ACCEPTED
from bigml.api import FINISHED
from bigml.api import FAULTY
from bigml.api import UPLOADING
from bigml.api import get_status
from .read_resource_steps import wait_until_status_code_is
#@step(r'I create an external connector$')
def i_create_external_connector(step):
resource = world.api.create_external_connector(None, \
{'project': world.project_id})
# update status
world.status = resource['code']
world.location = resource['location']
world.external_connector = resource['object']
# save reference
world.external_connectors.append(resource['resource'])
#@step(r'I wait until the external connector status code is either (\d) or (\d) less than (\d+)')
def wait_until_external_connector_status_code_is(step, code1, code2, secs):
world.external_connector = wait_until_status_code_is(
code1, code2, secs, world.external_connector)
#@step(r'I wait until the external_connector is ready less than (\d+)')
def the_external_connector_is_finished(step, secs):
wait_until_external_connector_status_code_is(step, FINISHED, FAULTY, secs)
#@step(r'I update the external_connector with params "(.*)"')
def i_update_external_connector_with(step, data="{}"):
resource = world.api.update_external_connector( \
world.external_connector.get('resource'), json.loads(data))
world.status = resource['code']
eq_(world.status, HTTP_ACCEPTED)
#@step(r'the external connector exists and has args "(.*)"')
def external_connector_has_args(step, args="{}"):
args = json.loads(args)
for key, value in list(args.items()):
if key in world.external_connector:
eq_(world.external_connector[key], value,
"Expected key %s: %s. Found %s" % (key, value, world.external_connector[key]))
else:
assert False, "No key %s in external connector." % key
| [
1,
529,
9507,
29958,
3752,
828,
29914,
21150,
29914,
3258,
29918,
23176,
29918,
24530,
29889,
2272,
29966,
12443,
29918,
303,
1503,
29958,
29900,
13,
29937,
448,
29930,
29899,
14137,
29901,
23616,
29899,
29947,
448,
29930,
29899,
13,
29937,
13,
29937,
14187,
1266,
29871,
29906,
29900,
29906,
29900,
29899,
29906,
29900,
29906,
29906,
7997,
1988,
13,
29937,
13,
29937,
10413,
21144,
1090,
278,
13380,
19245,
29892,
10079,
29871,
29906,
29889,
29900,
313,
1552,
376,
29931,
293,
1947,
1496,
366,
1122,
13,
29937,
451,
671,
445,
934,
5174,
297,
752,
13036,
411,
278,
19245,
29889,
887,
1122,
4017,
13,
29937,
263,
3509,
310,
278,
19245,
472,
13,
29937,
13,
29937,
268,
1732,
597,
1636,
29889,
4288,
29889,
990,
29914,
506,
11259,
29914,
27888,
1430,
1660,
29899,
29906,
29889,
29900,
13,
29937,
13,
29937,
25870,
3734,
491,
22903,
4307,
470,
15502,
304,
297,
5007,
29892,
7047,
13,
29937,
13235,
1090,
278,
19245,
338,
13235,
373,
385,
376,
3289,
8519,
29908,
350,
3289,
3235,
29892,
399,
1806,
8187,
2692,
13,
29937,
399,
1718,
29934,
13566,
29059,
6323,
8707,
29928,
22122,
29903,
8079,
13764,
29979,
476,
22255,
29892,
2845,
4653,
470,
2411,
2957,
29889,
2823,
278,
13,
29937,
19245,
363,
278,
2702,
4086,
14765,
1076,
11239,
322,
27028,
13,
29937,
1090,
278,
19245,
29889,
13,
13,
5215,
931,
13,
5215,
4390,
13,
5215,
11799,
13,
5215,
10876,
13,
13,
13,
3166,
12865,
1053,
12865,
13,
3166,
869,
11526,
1053,
3186,
29892,
620,
29918,
9507,
13,
3166,
26414,
29889,
8504,
1053,
11594,
3383,
4974,
29918,
2222,
13,
13,
3166,
4802,
828,
29889,
2754,
1053,
7331,
29918,
27045,
29928,
29892,
7331,
29918,
2477,
4741,
7982,
3352,
13,
3166,
4802,
828,
29889,
2754,
1053,
383,
1177,
3235,
29950,
3352,
13,
3166,
4802,
828,
29889,
2754,
1053,
13515,
8647,
29979,
13,
3166,
4802,
828,
29889,
2754,
1053,
11901,
29428,
4214,
13,
3166,
4802,
828,
29889,
2754,
1053,
679,
29918,
4882,
13,
13,
13,
3166,
869,
949,
29918,
10314,
29918,
24530,
1053,
4480,
29918,
29305,
29918,
4882,
29918,
401,
29918,
275,
13,
13,
29937,
29992,
10568,
29898,
29878,
29915,
29902,
1653,
385,
7029,
1826,
2801,
29938,
1495,
13,
1753,
474,
29918,
3258,
29918,
23176,
29918,
11958,
2801,
29898,
10568,
1125,
13,
1678,
6503,
353,
3186,
29889,
2754,
29889,
3258,
29918,
23176,
29918,
11958,
2801,
29898,
8516,
29892,
320,
13,
4706,
11117,
4836,
2396,
3186,
29889,
4836,
29918,
333,
1800,
13,
1678,
396,
2767,
4660,
13,
1678,
3186,
29889,
4882,
353,
6503,
1839,
401,
2033,
13,
1678,
3186,
29889,
5479,
353,
6503,
1839,
5479,
2033,
13,
1678,
3186,
29889,
23176,
29918,
11958,
2801,
353,
6503,
1839,
3318,
2033,
13,
1678,
396,
4078,
3407,
13,
1678,
3186,
29889,
23176,
29918,
6915,
943,
29889,
4397,
29898,
10314,
1839,
10314,
11287,
13,
13,
13,
29937,
29992,
10568,
29898,
29878,
29915,
29902,
4480,
2745,
278,
7029,
1826,
2801,
4660,
775,
338,
2845,
3441,
29881,
29897,
470,
3441,
29881,
29897,
3109,
1135,
3441,
29881,
28135,
1495,
13,
1753,
4480,
29918,
29305,
29918,
23176,
29918,
11958,
2801,
29918,
4882,
29918,
401,
29918,
275,
29898,
10568,
29892,
775,
29896,
29892,
775,
29906,
29892,
409,
2395,
1125,
13,
1678,
3186,
29889,
23176,
29918,
11958,
2801,
353,
4480,
29918,
29305,
29918,
4882,
29918,
401,
29918,
275,
29898,
13,
4706,
775,
29896,
29892,
775,
29906,
29892,
409,
2395,
29892,
3186,
29889,
23176,
29918,
11958,
2801,
29897,
13,
13,
13,
29937,
29992,
10568,
29898,
29878,
29915,
29902,
4480,
2745,
278,
7029,
29918,
11958,
2801,
338,
7960,
3109,
1135,
3441,
29881,
28135,
1495,
13,
1753,
278,
29918,
23176,
29918,
11958,
2801,
29918,
275,
29918,
4951,
3276,
29898,
10568,
29892,
409,
2395,
1125,
13,
1678,
4480,
29918,
29305,
29918,
23176,
29918,
11958,
2801,
29918,
4882,
29918,
401,
29918,
275,
29898,
10568,
29892,
383,
1177,
3235,
29950,
3352,
29892,
13515,
8647,
29979,
29892,
409,
2395,
29897,
13,
13,
29937,
29992,
10568,
29898,
29878,
29915,
29902,
2767,
278,
7029,
29918,
11958,
2801,
411,
8636,
18227,
5575,
5513,
1495,
13,
1753,
474,
29918,
5504,
29918,
23176,
29918,
11958,
2801,
29918,
2541,
29898,
10568,
29892,
848,
10724,
5038,
1125,
13,
1678,
6503,
353,
3186,
29889,
2754,
29889,
5504,
29918,
23176,
29918,
11958,
2801,
29898,
320,
13,
4706,
3186,
29889,
23176,
29918,
11958,
2801,
29889,
657,
877,
10314,
5477,
4390,
29889,
18132,
29898,
1272,
876,
13,
1678,
3186,
29889,
4882,
353,
6503,
1839,
401,
2033,
13,
1678,
11594,
23538,
11526,
29889,
4882,
29892,
7331,
29918,
2477,
4741,
7982,
3352,
29897,
13,
13,
29937,
29992,
10568,
29898,
29878,
29915,
1552,
7029,
1826,
2801,
4864,
322,
756,
6389,
18227,
5575,
5513,
1495,
13,
1753,
7029,
29918,
11958,
2801,
29918,
5349,
29918,
5085,
29898,
10568,
29892,
6389,
10724,
5038,
1125,
13,
1678,
6389,
353,
4390,
29889,
18132,
29898,
5085,
29897,
13,
1678,
363,
1820,
29892,
995,
297,
1051,
29898,
5085,
29889,
7076,
580,
1125,
13,
4706,
565,
1820,
297,
3186,
29889,
23176,
29918,
11958,
2801,
29901,
13,
9651,
11594,
23538,
11526,
29889,
23176,
29918,
11958,
2801,
29961,
1989,
1402,
995,
29892,
13,
18884,
376,
1252,
6021,
1820,
1273,
29879,
29901,
1273,
29879,
29889,
7460,
1273,
29879,
29908,
1273,
313,
1989,
29892,
995,
29892,
3186,
29889,
23176,
29918,
11958,
2801,
29961,
1989,
12622,
13,
4706,
1683,
29901,
13,
9651,
4974,
7700,
29892,
376,
3782,
1820,
1273,
29879,
297,
7029,
1826,
2801,
1213,
1273,
1820,
13,
2
] |
MRC/q.py | alinghi/AI-Portfolio-Hub | 0 | 79867 | <gh_stars>0
from datasets import (
Dataset,
load_from_disk,
concatenate_datasets,
)
org_dataset = load_from_disk("data/test_dataset")
tt=org_dataset["validation"]
f=open("./question.csv","w")
for idx,i in enumerate(tt):
f.write("\t ".join([str(idx+1),i["id"],i["question"]])+"\n")
f.close()
| [
1,
529,
12443,
29918,
303,
1503,
29958,
29900,
13,
3166,
20035,
1053,
313,
13,
1678,
13373,
24541,
29892,
13,
1678,
2254,
29918,
3166,
29918,
20960,
29892,
13,
1678,
16125,
403,
29918,
14538,
1691,
29892,
13,
29897,
13,
990,
29918,
24713,
353,
2254,
29918,
3166,
29918,
20960,
703,
1272,
29914,
1688,
29918,
24713,
1159,
13,
698,
29922,
990,
29918,
24713,
3366,
18157,
3108,
13,
29888,
29922,
3150,
703,
6904,
12470,
29889,
7638,
3284,
29893,
1159,
13,
1454,
22645,
29892,
29875,
297,
26985,
29898,
698,
1125,
13,
12,
29888,
29889,
3539,
14182,
29873,
11393,
7122,
4197,
710,
29898,
13140,
29974,
29896,
511,
29875,
3366,
333,
12436,
29875,
3366,
12470,
3108,
2314,
13578,
29905,
29876,
1159,
13,
29888,
29889,
5358,
580,
13,
2
] |
Chapter 13/stableSpiral.py | hsauro/PathwayModelingBook | 2 | 137270 | <reponame>hsauro/PathwayModelingBook
import numpy as np
import matplotlib.pyplot as plt
import tellurium as te
Y, X = np.mgrid[-4:4:100j, -4:4:100j]
r = te.loada('''
x' = -0.5*x - y;
y' = x - y;
x = 4; y = -4;
''')
m = r.simulate (0, 8, 100)
U = -0.5*X - Y
V = X - Y
plt.subplots(1,2, figsize=(10,4))
plt.subplot(121)
plt.xlabel('x', fontsize='16')
plt.ylabel('y', fontsize='16')
plt.streamplot(X, Y, U, V, density=[1, 1])
plt.ylim((-4,4))
plt.xlim((-4,4))
plt.axhline(0, color='black')
plt.axvline(0, color='black')
plt.subplot(122)
plt.ylim((-5,5))
plt.xlim((0,8))
plt.xlabel('Time', fontsize='13')
plt.plot (m[:,0], m[:,1], color='r', linewidth=2, label='x')
plt.plot (m[:,0], m[:,2], color='b', linewidth=2, label='y')
plt.legend()
plt.savefig ('c:\\tmp\\phase.pdf')
plt.show()
| [
1,
529,
276,
1112,
420,
29958,
9499,
585,
307,
29914,
2605,
1582,
3195,
292,
10967,
13,
5215,
12655,
408,
7442,
13,
5215,
22889,
29889,
2272,
5317,
408,
14770,
13,
5215,
2649,
332,
1974,
408,
734,
13,
13,
29979,
29892,
1060,
353,
7442,
29889,
29885,
7720,
14352,
29946,
29901,
29946,
29901,
29896,
29900,
29900,
29926,
29892,
448,
29946,
29901,
29946,
29901,
29896,
29900,
29900,
29926,
29962,
13,
13,
29878,
353,
734,
29889,
417,
1114,
877,
4907,
13,
1678,
921,
29915,
353,
448,
29900,
29889,
29945,
29930,
29916,
448,
343,
29936,
13,
1678,
343,
29915,
353,
29871,
921,
448,
343,
29936,
13,
268,
13,
1678,
921,
353,
29871,
29946,
29936,
343,
353,
448,
29946,
29936,
13,
4907,
1495,
13,
13,
29885,
353,
364,
29889,
3601,
5987,
313,
29900,
29892,
29871,
29947,
29892,
29871,
29896,
29900,
29900,
29897,
13,
13,
29965,
353,
29871,
448,
29900,
29889,
29945,
29930,
29990,
448,
612,
13,
29963,
353,
29871,
1060,
448,
612,
13,
13,
572,
29873,
29889,
1491,
26762,
29898,
29896,
29892,
29906,
29892,
2537,
2311,
7607,
29896,
29900,
29892,
29946,
876,
13,
572,
29873,
29889,
1491,
5317,
29898,
29896,
29906,
29896,
29897,
13,
572,
29873,
29889,
29916,
1643,
877,
29916,
742,
4079,
2311,
2433,
29896,
29953,
1495,
13,
572,
29873,
29889,
29891,
1643,
877,
29891,
742,
4079,
2311,
2433,
29896,
29953,
1495,
13,
572,
29873,
29889,
5461,
5317,
29898,
29990,
29892,
612,
29892,
501,
29892,
478,
29892,
9027,
11759,
29896,
29892,
29871,
29896,
2314,
13,
13,
572,
29873,
29889,
29891,
2576,
3552,
29899,
29946,
29892,
29946,
876,
13,
572,
29873,
29889,
29916,
2576,
3552,
29899,
29946,
29892,
29946,
876,
13,
13,
572,
29873,
29889,
1165,
7760,
29898,
29900,
29892,
2927,
2433,
8517,
1495,
13,
572,
29873,
29889,
1165,
29894,
1220,
29898,
29900,
29892,
2927,
2433,
8517,
1495,
13,
13,
572,
29873,
29889,
1491,
5317,
29898,
29896,
29906,
29906,
29897,
13,
13,
572,
29873,
29889,
29891,
2576,
3552,
29899,
29945,
29892,
29945,
876,
13,
572,
29873,
29889,
29916,
2576,
3552,
29900,
29892,
29947,
876,
13,
572,
29873,
29889,
29916,
1643,
877,
2481,
742,
4079,
2311,
2433,
29896,
29941,
1495,
13,
13,
13,
572,
29873,
29889,
5317,
313,
29885,
7503,
29892,
29900,
1402,
286,
7503,
29892,
29896,
1402,
2927,
2433,
29878,
742,
1196,
2103,
29922,
29906,
29892,
3858,
2433,
29916,
1495,
13,
572,
29873,
29889,
5317,
313,
29885,
7503,
29892,
29900,
1402,
286,
7503,
29892,
29906,
1402,
2927,
2433,
29890,
742,
1196,
2103,
29922,
29906,
29892,
3858,
2433,
29891,
1495,
13,
572,
29873,
29889,
26172,
580,
13,
13,
572,
29873,
29889,
7620,
1003,
6702,
29883,
22298,
7050,
1966,
21646,
29889,
5140,
1495,
13,
13,
572,
29873,
29889,
4294,
580,
13,
2
] |
GPBlend/dct_module.py | GuardSkill/ImageBlend | 0 | 92083 | <filename>GPBlend/dct_module.py
import time
import torch
import math
import torch
import torch.nn as nn
import torch.nn.functional as F
import numbers
import numpy as np
class dctmodule(nn.Module):
def __init__(self, shape):
super(dctmodule, self).__init__()
N = shape[-1]
k = torch.nn.Parameter(- torch.arange(N, dtype=float)[None, :] * np.pi / (2 * N))
self.W_r = torch.cos(k)
self.W_i = torch.sin(k)
def forward(self, x, norm=None):
x_shape = x.shape
N = x_shape[-1]
x = x.contiguous().view(-1, N)
v = torch.cat([x[:, ::2], x[:, 1::2].flip([1])], dim=1)
# Vc = torch.rfft(v, 1, onesided=False) #
Vc = torch.view_as_real(torch.fft.fft(v, dim=1)) # pytoch 1.9
V = Vc[:, :, 0] * self.W_r - Vc[:, :, 1] * self.W_i
if norm == 'ortho':
V[:, 0] /= np.sqrt(N) * 2
V[:, 1:] /= np.sqrt(N / 2) * 2
V = 2 * V.view(*x_shape)
return V
class dctmodule2D(nn.Module):
def __init__(self, shape):
super(dctmodule2D, self).__init__()
N_weight = shape[-1]
k_weight = - torch.arange(N_weight, dtype=float)[None, :] * np.pi / (2 * N_weight)
self.W_r_weight = torch.nn.Parameter(torch.cos(k_weight))
self.W_i_weight = torch.nn.Parameter(torch.sin(k_weight))
self.inverted_index_weight = torch.arange(N_weight - 1, 0, -2)
self.index_weight = torch.arange(0, N_weight, 2)
N_height = shape[-2]
k_height = - torch.arange(N_height, dtype=float)[None, :] * np.pi / (2 * N_height)
self.W_r_height = torch.nn.Parameter(torch.cos(k_height))
self.W_i_height = torch.nn.Parameter(torch.sin(k_height))
self.inverted_index_height = torch.arange(N_height - 1, 0, -2)
self.index_height = torch.arange(0, N_height, 2)
self.N_weight = N_weight
self.N_height = N_height
def _apply(self, fn):
super(dctmodule2D, self)._apply(fn)
self.inverted_index_weight = fn(self.inverted_index_weight)
self.inverted_index_height = fn(self.inverted_index_height)
self.W_r_weight = fn(self.W_r_weight)
self.W_i_weight = fn(self.W_i_weight)
self.W_r_height = fn(self.W_r_height)
self.W_i_height = fn(self.W_i_height)
return self
def forward(self, x, norm='ortho'):
x_shape = x.shape
N = self.N_weight
x = x.contiguous().view(-1, N)
# v = torch.cat([x[:, ::2], x[:, 1::2].flip([1])], dim=1)
v = torch.cat([x[:, self.index_weight], x[:, self.inverted_index_weight]], dim=1)
# Vc = torch.rfft(v, 1, onesided=False) #
Vc = torch.view_as_real(torch.fft.fft(v.float(), dim=1)) # pytoch 1.9
# Vc = torch.view_as_real(torch.fft.fft(v, dim=1))
V = Vc[:, :, 0] * self.W_r_weight - Vc[:, :, 1] * self.W_i_weight
if norm == 'ortho':
V[:, 0] /= np.sqrt(N) * 2
V[:, 1:] /= np.sqrt(N / 2) * 2
V = 2 * V.view(*x_shape)
x = V.transpose(-1, -2)
x_shape = x.shape
N = self.N_height
x = x.contiguous().view(-1, N)
# v = torch.cat([x[:, ::2], x[:, 1::2].flip([1])], dim=1)
v = torch.cat([x[:, self.index_height], x[:, self.inverted_index_height]], dim=1)
# Vc = torch.rfft(v, 1, onesided=False)
# torch.cuda.synchronize()
# TEST_TIME = time.time()
Vc = torch.view_as_real(torch.fft.fft(v, dim=1)) # pytoch 1.9 第二次fft最耗时
# Vc = torch.view_as_real(torch.fft.fft(v, dim=1))
# Vc = Vc
# torch.cuda.synchronize()
# print('TEST TIME', (time.time() - TEST_TIME) * 1000)
V = Vc[:, :, 0] * self.W_r_height - Vc[:, :, 1] * self.W_i_height
if norm == 'ortho':
V[:, 0] /= np.sqrt(N) * 2
V[:, 1:] /= np.sqrt(N / 2) * 2
V = 2 * V.view(*x_shape)
V = V.transpose(-1, -2)
return V
class idctmodule2D(nn.Module):
def __init__(self, shape):
super(idctmodule2D, self).__init__()
N_weight = shape[-1]
k_weight = torch.arange(N_weight, dtype=float)[None, :] * np.pi / (2 * N_weight)
self.W_r_weight = torch.nn.Parameter(torch.cos(k_weight))
self.W_i_weight = torch.nn.Parameter(torch.sin(k_weight))
self.inverted_index_weight = torch.arange(N_weight - 1, 0, -2)
self.index_weight = torch.arange(0, N_weight, 2)
N_height = shape[-2]
k_height = torch.arange(N_height, dtype=float)[None, :] * np.pi / (2 * N_height)
self.W_r_height = torch.nn.Parameter(torch.cos(k_height))
self.W_i_height = torch.nn.Parameter(torch.sin(k_height))
self.inverted_index_height = torch.arange(N_height - 1, 0, -2)
self.index_height = torch.arange(0, N_height, 2)
self.N_weight = N_weight
self.N_height = N_height
def _apply(self, fn):
super(idctmodule2D, self)._apply(fn)
self.inverted_index_weight = fn(self.inverted_index_weight)
self.inverted_index_height = fn(self.inverted_index_height)
self.W_r_weight = fn(self.W_r_weight)
self.W_i_weight = fn(self.W_i_weight)
self.W_r_height = fn(self.W_r_height)
self.W_i_height = fn(self.W_i_height)
return self
def forward(self, X, norm='ortho'):
x_shape = X.shape
N = self.N_weight
X_v = X.contiguous().view(-1, x_shape[-1]) / 2
if norm == 'ortho':
X_v[:, 0] *= np.sqrt(N) * 2
X_v[:, 1:] *= np.sqrt(N / 2) * 2
V_t_r = X_v
V_t_i = torch.cat([X_v[:, :1] * 0, -X_v.flip([1])[:, :-1]], dim=1)
V_r = V_t_r * self.W_r_weight - V_t_i * self.W_i_weight
V_i = V_t_r * self.W_i_weight + V_t_i * self.W_r_weight
V = torch.cat([V_r.unsqueeze(2), V_i.unsqueeze(2)], dim=2)
# v = torch.irfft(V, 1, onesided=False)
v = torch.fft.irfft(torch.view_as_complex(V), n=V.shape[1], dim=1) # torch 1.9
# v = torch.fft.irfft(torch.view_as_complex(V.float()), n=V.shape[1], dim=1).half() # torch 1.9
x = v.new_zeros(v.shape)
x[:, ::2] += v[:, :N - (N // 2)]
x[:, 1::2] += v.flip([1])[:, :N // 2]
x = x.view(*x_shape)
X = x.transpose(-1, -2)
x_shape = X.shape
N = self.N_height
X_v = X.contiguous().view(-1, x_shape[-1]) / 2
if norm == 'ortho':
X_v[:, 0] *= np.sqrt(N) * 2
X_v[:, 1:] *= np.sqrt(N / 2) * 2
V_t_r = X_v
V_t_i = torch.cat([X_v[:, :1] * 0, -X_v.flip([1])[:, :-1]], dim=1)
V_r = V_t_r * self.W_r_height - V_t_i * self.W_i_height
V_i = V_t_r * self.W_i_height + V_t_i * self.W_r_height
V = torch.cat([V_r.unsqueeze(2), V_i.unsqueeze(2)], dim=2)
# v = torch.irfft(V, 1, onesided=
v = torch.fft.irfft(torch.view_as_complex(V), n=V.shape[1], dim=1)
# v = torch.fft.irfft(torch.view_as_complex(V.float()), n=V.shape[1], dim=1).half() # torch 1.9
x = v.new_zeros(v.shape)
x[:, ::2] += v[:, :N - (N // 2)]
x[:, 1::2] += v.flip([1])[:, :N // 2]
x = x.view(*x_shape)
return x.transpose(-1, -2)
| [
1,
529,
9507,
29958,
19903,
10358,
355,
29914,
29881,
312,
29918,
5453,
29889,
2272,
13,
5215,
931,
13,
13,
5215,
4842,
305,
13,
5215,
5844,
13,
13,
5215,
4842,
305,
13,
5215,
4842,
305,
29889,
15755,
408,
302,
29876,
13,
5215,
4842,
305,
29889,
15755,
29889,
2220,
284,
408,
383,
13,
5215,
3694,
13,
5215,
12655,
408,
7442,
13,
13,
13,
1990,
270,
312,
5453,
29898,
15755,
29889,
7355,
1125,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
8267,
1125,
13,
4706,
2428,
29898,
29881,
312,
5453,
29892,
1583,
467,
1649,
2344,
1649,
580,
13,
4706,
405,
353,
8267,
14352,
29896,
29962,
13,
4706,
413,
353,
4842,
305,
29889,
15755,
29889,
9329,
6278,
4842,
305,
29889,
279,
927,
29898,
29940,
29892,
26688,
29922,
7411,
9601,
8516,
29892,
584,
29962,
334,
7442,
29889,
1631,
847,
313,
29906,
334,
405,
876,
13,
4706,
1583,
29889,
29956,
29918,
29878,
353,
4842,
305,
29889,
3944,
29898,
29895,
29897,
13,
4706,
1583,
29889,
29956,
29918,
29875,
353,
4842,
305,
29889,
5223,
29898,
29895,
29897,
13,
13,
1678,
822,
6375,
29898,
1311,
29892,
921,
29892,
6056,
29922,
8516,
1125,
13,
4706,
921,
29918,
12181,
353,
921,
29889,
12181,
13,
4706,
405,
353,
921,
29918,
12181,
14352,
29896,
29962,
13,
4706,
921,
353,
921,
29889,
1285,
5526,
681,
2141,
1493,
6278,
29896,
29892,
405,
29897,
13,
4706,
325,
353,
4842,
305,
29889,
4117,
4197,
29916,
7503,
29892,
4761,
29906,
1402,
921,
7503,
29892,
29871,
29896,
1057,
29906,
1822,
29888,
3466,
4197,
29896,
2314,
1402,
3964,
29922,
29896,
29897,
13,
13,
4706,
396,
478,
29883,
353,
4842,
305,
29889,
29878,
600,
29873,
29898,
29894,
29892,
29871,
29896,
29892,
6743,
2618,
29922,
8824,
29897,
795,
396,
13,
4706,
478,
29883,
353,
4842,
305,
29889,
1493,
29918,
294,
29918,
6370,
29898,
7345,
305,
29889,
600,
29873,
29889,
600,
29873,
29898,
29894,
29892,
3964,
29922,
29896,
876,
29871,
396,
11451,
517,
305,
29871,
29896,
29889,
29929,
13,
4706,
478,
353,
478,
29883,
7503,
29892,
584,
29892,
29871,
29900,
29962,
334,
1583,
29889,
29956,
29918,
29878,
448,
478,
29883,
7503,
29892,
584,
29892,
29871,
29896,
29962,
334,
1583,
29889,
29956,
29918,
29875,
13,
13,
4706,
565,
6056,
1275,
525,
2072,
29877,
2396,
13,
9651,
478,
7503,
29892,
29871,
29900,
29962,
847,
29922,
7442,
29889,
3676,
29898,
29940,
29897,
334,
29871,
29906,
13,
9651,
478,
7503,
29892,
29871,
29896,
17531,
847,
29922,
7442,
29889,
3676,
29898,
29940,
847,
29871,
29906,
29897,
334,
29871,
29906,
13,
4706,
478,
353,
29871,
29906,
334,
478,
29889,
1493,
10456,
29916,
29918,
12181,
29897,
13,
4706,
736,
478,
13,
13,
13,
1990,
270,
312,
5453,
29906,
29928,
29898,
15755,
29889,
7355,
1125,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
8267,
1125,
13,
4706,
2428,
29898,
29881,
312,
5453,
29906,
29928,
29892,
1583,
467,
1649,
2344,
1649,
580,
13,
4706,
405,
29918,
7915,
353,
8267,
14352,
29896,
29962,
13,
4706,
413,
29918,
7915,
353,
448,
4842,
305,
29889,
279,
927,
29898,
29940,
29918,
7915,
29892,
26688,
29922,
7411,
9601,
8516,
29892,
584,
29962,
334,
7442,
29889,
1631,
847,
313,
29906,
334,
405,
29918,
7915,
29897,
13,
4706,
1583,
29889,
29956,
29918,
29878,
29918,
7915,
353,
4842,
305,
29889,
15755,
29889,
9329,
29898,
7345,
305,
29889,
3944,
29898,
29895,
29918,
7915,
876,
13,
4706,
1583,
29889,
29956,
29918,
29875,
29918,
7915,
353,
4842,
305,
29889,
15755,
29889,
9329,
29898,
7345,
305,
29889,
5223,
29898,
29895,
29918,
7915,
876,
13,
13,
4706,
1583,
29889,
262,
1765,
287,
29918,
2248,
29918,
7915,
353,
4842,
305,
29889,
279,
927,
29898,
29940,
29918,
7915,
448,
29871,
29896,
29892,
29871,
29900,
29892,
448,
29906,
29897,
13,
4706,
1583,
29889,
2248,
29918,
7915,
353,
4842,
305,
29889,
279,
927,
29898,
29900,
29892,
405,
29918,
7915,
29892,
29871,
29906,
29897,
13,
13,
4706,
405,
29918,
3545,
353,
8267,
14352,
29906,
29962,
13,
4706,
413,
29918,
3545,
353,
448,
4842,
305,
29889,
279,
927,
29898,
29940,
29918,
3545,
29892,
26688,
29922,
7411,
9601,
8516,
29892,
584,
29962,
334,
7442,
29889,
1631,
847,
313,
29906,
334,
405,
29918,
3545,
29897,
13,
4706,
1583,
29889,
29956,
29918,
29878,
29918,
3545,
353,
4842,
305,
29889,
15755,
29889,
9329,
29898,
7345,
305,
29889,
3944,
29898,
29895,
29918,
3545,
876,
13,
4706,
1583,
29889,
29956,
29918,
29875,
29918,
3545,
353,
4842,
305,
29889,
15755,
29889,
9329,
29898,
7345,
305,
29889,
5223,
29898,
29895,
29918,
3545,
876,
13,
4706,
1583,
29889,
262,
1765,
287,
29918,
2248,
29918,
3545,
353,
4842,
305,
29889,
279,
927,
29898,
29940,
29918,
3545,
448,
29871,
29896,
29892,
29871,
29900,
29892,
448,
29906,
29897,
13,
4706,
1583,
29889,
2248,
29918,
3545,
353,
4842,
305,
29889,
279,
927,
29898,
29900,
29892,
405,
29918,
3545,
29892,
29871,
29906,
29897,
13,
13,
4706,
1583,
29889,
29940,
29918,
7915,
353,
405,
29918,
7915,
13,
4706,
1583,
29889,
29940,
29918,
3545,
353,
405,
29918,
3545,
13,
13,
1678,
822,
903,
7302,
29898,
1311,
29892,
7876,
1125,
13,
4706,
2428,
29898,
29881,
312,
5453,
29906,
29928,
29892,
1583,
467,
29918,
7302,
29898,
9144,
29897,
13,
4706,
1583,
29889,
262,
1765,
287,
29918,
2248,
29918,
7915,
353,
7876,
29898,
1311,
29889,
262,
1765,
287,
29918,
2248,
29918,
7915,
29897,
13,
4706,
1583,
29889,
262,
1765,
287,
29918,
2248,
29918,
3545,
353,
7876,
29898,
1311,
29889,
262,
1765,
287,
29918,
2248,
29918,
3545,
29897,
13,
4706,
1583,
29889,
29956,
29918,
29878,
29918,
7915,
353,
7876,
29898,
1311,
29889,
29956,
29918,
29878,
29918,
7915,
29897,
13,
4706,
1583,
29889,
29956,
29918,
29875,
29918,
7915,
353,
7876,
29898,
1311,
29889,
29956,
29918,
29875,
29918,
7915,
29897,
13,
4706,
1583,
29889,
29956,
29918,
29878,
29918,
3545,
353,
7876,
29898,
1311,
29889,
29956,
29918,
29878,
29918,
3545,
29897,
13,
4706,
1583,
29889,
29956,
29918,
29875,
29918,
3545,
353,
7876,
29898,
1311,
29889,
29956,
29918,
29875,
29918,
3545,
29897,
13,
4706,
736,
1583,
13,
13,
1678,
822,
6375,
29898,
1311,
29892,
921,
29892,
6056,
2433,
2072,
29877,
29374,
13,
13,
4706,
921,
29918,
12181,
353,
921,
29889,
12181,
13,
4706,
405,
353,
1583,
29889,
29940,
29918,
7915,
13,
4706,
921,
353,
921,
29889,
1285,
5526,
681,
2141,
1493,
6278,
29896,
29892,
405,
29897,
13,
4706,
396,
325,
353,
4842,
305,
29889,
4117,
4197,
29916,
7503,
29892,
4761,
29906,
1402,
921,
7503,
29892,
29871,
29896,
1057,
29906,
1822,
29888,
3466,
4197,
29896,
2314,
1402,
3964,
29922,
29896,
29897,
13,
4706,
325,
353,
4842,
305,
29889,
4117,
4197,
29916,
7503,
29892,
1583,
29889,
2248,
29918,
7915,
1402,
921,
7503,
29892,
1583,
29889,
262,
1765,
287,
29918,
2248,
29918,
7915,
20526,
3964,
29922,
29896,
29897,
13,
13,
4706,
396,
478,
29883,
353,
4842,
305,
29889,
29878,
600,
29873,
29898,
29894,
29892,
29871,
29896,
29892,
6743,
2618,
29922,
8824,
29897,
795,
396,
13,
13,
4706,
478,
29883,
353,
4842,
305,
29889,
1493,
29918,
294,
29918,
6370,
29898,
7345,
305,
29889,
600,
29873,
29889,
600,
29873,
29898,
29894,
29889,
7411,
3285,
3964,
29922,
29896,
876,
29871,
396,
11451,
517,
305,
29871,
29896,
29889,
29929,
13,
4706,
396,
478,
29883,
353,
4842,
305,
29889,
1493,
29918,
294,
29918,
6370,
29898,
7345,
305,
29889,
600,
29873,
29889,
600,
29873,
29898,
29894,
29892,
3964,
29922,
29896,
876,
13,
4706,
478,
353,
478,
29883,
7503,
29892,
584,
29892,
29871,
29900,
29962,
334,
1583,
29889,
29956,
29918,
29878,
29918,
7915,
448,
478,
29883,
7503,
29892,
584,
29892,
29871,
29896,
29962,
334,
1583,
29889,
29956,
29918,
29875,
29918,
7915,
13,
13,
4706,
565,
6056,
1275,
525,
2072,
29877,
2396,
13,
9651,
478,
7503,
29892,
29871,
29900,
29962,
847,
29922,
7442,
29889,
3676,
29898,
29940,
29897,
334,
29871,
29906,
13,
9651,
478,
7503,
29892,
29871,
29896,
17531,
847,
29922,
7442,
29889,
3676,
29898,
29940,
847,
29871,
29906,
29897,
334,
29871,
29906,
13,
4706,
478,
353,
29871,
29906,
334,
478,
29889,
1493,
10456,
29916,
29918,
12181,
29897,
13,
13,
4706,
921,
353,
478,
29889,
3286,
4220,
6278,
29896,
29892,
448,
29906,
29897,
13,
13,
4706,
921,
29918,
12181,
353,
921,
29889,
12181,
13,
4706,
405,
353,
1583,
29889,
29940,
29918,
3545,
13,
4706,
921,
353,
921,
29889,
1285,
5526,
681,
2141,
1493,
6278,
29896,
29892,
405,
29897,
13,
4706,
396,
325,
353,
4842,
305,
29889,
4117,
4197,
29916,
7503,
29892,
4761,
29906,
1402,
921,
7503,
29892,
29871,
29896,
1057,
29906,
1822,
29888,
3466,
4197,
29896,
2314,
1402,
3964,
29922,
29896,
29897,
13,
4706,
325,
353,
4842,
305,
29889,
4117,
4197,
29916,
7503,
29892,
1583,
29889,
2248,
29918,
3545,
1402,
921,
7503,
29892,
1583,
29889,
262,
1765,
287,
29918,
2248,
29918,
3545,
20526,
3964,
29922,
29896,
29897,
13,
13,
4706,
396,
478,
29883,
353,
4842,
305,
29889,
29878,
600,
29873,
29898,
29894,
29892,
29871,
29896,
29892,
6743,
2618,
29922,
8824,
29897,
13,
4706,
396,
4842,
305,
29889,
29883,
6191,
29889,
29879,
9524,
675,
580,
13,
4706,
396,
17067,
1254,
29918,
15307,
353,
931,
29889,
2230,
580,
13,
4706,
478,
29883,
353,
4842,
305,
29889,
1493,
29918,
294,
29918,
6370,
29898,
7345,
305,
29889,
600,
29873,
29889,
600,
29873,
29898,
29894,
29892,
3964,
29922,
29896,
876,
29871,
396,
11451,
517,
305,
29871,
29896,
29889,
29929,
1678,
30622,
30685,
30936,
600,
29873,
30878,
235,
131,
154,
30594,
13,
4706,
396,
478,
29883,
353,
4842,
305,
29889,
1493,
29918,
294,
29918,
6370,
29898,
7345,
305,
29889,
600,
29873,
29889,
600,
29873,
29898,
29894,
29892,
3964,
29922,
29896,
876,
13,
4706,
396,
478,
29883,
353,
478,
29883,
13,
4706,
396,
4842,
305,
29889,
29883,
6191,
29889,
29879,
9524,
675,
580,
13,
4706,
396,
1596,
877,
18267,
323,
8890,
742,
313,
2230,
29889,
2230,
580,
448,
17067,
1254,
29918,
15307,
29897,
334,
29871,
29896,
29900,
29900,
29900,
29897,
13,
4706,
478,
353,
478,
29883,
7503,
29892,
584,
29892,
29871,
29900,
29962,
334,
1583,
29889,
29956,
29918,
29878,
29918,
3545,
448,
478,
29883,
7503,
29892,
584,
29892,
29871,
29896,
29962,
334,
1583,
29889,
29956,
29918,
29875,
29918,
3545,
13,
13,
4706,
565,
6056,
1275,
525,
2072,
29877,
2396,
13,
9651,
478,
7503,
29892,
29871,
29900,
29962,
847,
29922,
7442,
29889,
3676,
29898,
29940,
29897,
334,
29871,
29906,
13,
9651,
478,
7503,
29892,
29871,
29896,
17531,
847,
29922,
7442,
29889,
3676,
29898,
29940,
847,
29871,
29906,
29897,
334,
29871,
29906,
13,
4706,
478,
353,
29871,
29906,
334,
478,
29889,
1493,
10456,
29916,
29918,
12181,
29897,
13,
4706,
478,
353,
478,
29889,
3286,
4220,
6278,
29896,
29892,
448,
29906,
29897,
13,
13,
4706,
736,
478,
13,
13,
13,
1990,
1178,
312,
5453,
29906,
29928,
29898,
15755,
29889,
7355,
1125,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
8267,
1125,
13,
4706,
2428,
29898,
333,
312,
5453,
29906,
29928,
29892,
1583,
467,
1649,
2344,
1649,
580,
13,
4706,
405,
29918,
7915,
353,
8267,
14352,
29896,
29962,
13,
4706,
413,
29918,
7915,
353,
4842,
305,
29889,
279,
927,
29898,
29940,
29918,
7915,
29892,
26688,
29922,
7411,
9601,
8516,
29892,
584,
29962,
334,
7442,
29889,
1631,
847,
313,
29906,
334,
405,
29918,
7915,
29897,
13,
4706,
1583,
29889,
29956,
29918,
29878,
29918,
7915,
353,
4842,
305,
29889,
15755,
29889,
9329,
29898,
7345,
305,
29889,
3944,
29898,
29895,
29918,
7915,
876,
13,
4706,
1583,
29889,
29956,
29918,
29875,
29918,
7915,
353,
4842,
305,
29889,
15755,
29889,
9329,
29898,
7345,
305,
29889,
5223,
29898,
29895,
29918,
7915,
876,
13,
13,
4706,
1583,
29889,
262,
1765,
287,
29918,
2248,
29918,
7915,
353,
4842,
305,
29889,
279,
927,
29898,
29940,
29918,
7915,
448,
29871,
29896,
29892,
29871,
29900,
29892,
448,
29906,
29897,
13,
4706,
1583,
29889,
2248,
29918,
7915,
353,
4842,
305,
29889,
279,
927,
29898,
29900,
29892,
405,
29918,
7915,
29892,
29871,
29906,
29897,
13,
13,
4706,
405,
29918,
3545,
353,
8267,
14352,
29906,
29962,
13,
4706,
413,
29918,
3545,
353,
4842,
305,
29889,
279,
927,
29898,
29940,
29918,
3545,
29892,
26688,
29922,
7411,
9601,
8516,
29892,
584,
29962,
334,
7442,
29889,
1631,
847,
313,
29906,
334,
405,
29918,
3545,
29897,
13,
4706,
1583,
29889,
29956,
29918,
29878,
29918,
3545,
353,
4842,
305,
29889,
15755,
29889,
9329,
29898,
7345,
305,
29889,
3944,
29898,
29895,
29918,
3545,
876,
13,
4706,
1583,
29889,
29956,
29918,
29875,
29918,
3545,
353,
4842,
305,
29889,
15755,
29889,
9329,
29898,
7345,
305,
29889,
5223,
29898,
29895,
29918,
3545,
876,
13,
4706,
1583,
29889,
262,
1765,
287,
29918,
2248,
29918,
3545,
353,
4842,
305,
29889,
279,
927,
29898,
29940,
29918,
3545,
448,
29871,
29896,
29892,
29871,
29900,
29892,
448,
29906,
29897,
13,
4706,
1583,
29889,
2248,
29918,
3545,
353,
4842,
305,
29889,
279,
927,
29898,
29900,
29892,
405,
29918,
3545,
29892,
29871,
29906,
29897,
13,
13,
4706,
1583,
29889,
29940,
29918,
7915,
353,
405,
29918,
7915,
13,
4706,
1583,
29889,
29940,
29918,
3545,
353,
405,
29918,
3545,
13,
13,
1678,
822,
903,
7302,
29898,
1311,
29892,
7876,
1125,
13,
4706,
2428,
29898,
333,
312,
5453,
29906,
29928,
29892,
1583,
467,
29918,
7302,
29898,
9144,
29897,
13,
4706,
1583,
29889,
262,
1765,
287,
29918,
2248,
29918,
7915,
353,
7876,
29898,
1311,
29889,
262,
1765,
287,
29918,
2248,
29918,
7915,
29897,
13,
4706,
1583,
29889,
262,
1765,
287,
29918,
2248,
29918,
3545,
353,
7876,
29898,
1311,
29889,
262,
1765,
287,
29918,
2248,
29918,
3545,
29897,
13,
4706,
1583,
29889,
29956,
29918,
29878,
29918,
7915,
353,
7876,
29898,
1311,
29889,
29956,
29918,
29878,
29918,
7915,
29897,
13,
4706,
1583,
29889,
29956,
29918,
29875,
29918,
7915,
353,
7876,
29898,
1311,
29889,
29956,
29918,
29875,
29918,
7915,
29897,
13,
4706,
1583,
29889,
29956,
29918,
29878,
29918,
3545,
353,
7876,
29898,
1311,
29889,
29956,
29918,
29878,
29918,
3545,
29897,
13,
4706,
1583,
29889,
29956,
29918,
29875,
29918,
3545,
353,
7876,
29898,
1311,
29889,
29956,
29918,
29875,
29918,
3545,
29897,
13,
4706,
736,
1583,
13,
13,
1678,
822,
6375,
29898,
1311,
29892,
1060,
29892,
6056,
2433,
2072,
29877,
29374,
13,
4706,
921,
29918,
12181,
353,
1060,
29889,
12181,
13,
4706,
405,
353,
1583,
29889,
29940,
29918,
7915,
13,
4706,
1060,
29918,
29894,
353,
1060,
29889,
1285,
5526,
681,
2141,
1493,
6278,
29896,
29892,
921,
29918,
12181,
14352,
29896,
2314,
847,
29871,
29906,
13,
13,
4706,
565,
6056,
1275,
525,
2072,
29877,
2396,
13,
9651,
1060,
29918,
29894,
7503,
29892,
29871,
29900,
29962,
334,
29922,
7442,
29889,
3676,
29898,
29940,
29897,
334,
29871,
29906,
13,
9651,
1060,
29918,
29894,
7503,
29892,
29871,
29896,
17531,
334,
29922,
7442,
29889,
3676,
29898,
29940,
847,
29871,
29906,
29897,
334,
29871,
29906,
13,
13,
4706,
478,
29918,
29873,
29918,
29878,
353,
1060,
29918,
29894,
13,
4706,
478,
29918,
29873,
29918,
29875,
353,
4842,
305,
29889,
4117,
4197,
29990,
29918,
29894,
7503,
29892,
584,
29896,
29962,
334,
29871,
29900,
29892,
448,
29990,
29918,
29894,
29889,
29888,
3466,
4197,
29896,
2314,
7503,
29892,
8956,
29896,
20526,
3964,
29922,
29896,
29897,
13,
13,
4706,
478,
29918,
29878,
353,
478,
29918,
29873,
29918,
29878,
334,
1583,
29889,
29956,
29918,
29878,
29918,
7915,
448,
478,
29918,
29873,
29918,
29875,
334,
1583,
29889,
29956,
29918,
29875,
29918,
7915,
13,
4706,
478,
29918,
29875,
353,
478,
29918,
29873,
29918,
29878,
334,
1583,
29889,
29956,
29918,
29875,
29918,
7915,
718,
478,
29918,
29873,
29918,
29875,
334,
1583,
29889,
29956,
29918,
29878,
29918,
7915,
13,
13,
4706,
478,
353,
4842,
305,
29889,
4117,
4197,
29963,
29918,
29878,
29889,
6948,
802,
29872,
911,
29898,
29906,
511,
478,
29918,
29875,
29889,
6948,
802,
29872,
911,
29898,
29906,
29897,
1402,
3964,
29922,
29906,
29897,
13,
13,
4706,
396,
325,
353,
4842,
305,
29889,
381,
600,
29873,
29898,
29963,
29892,
29871,
29896,
29892,
6743,
2618,
29922,
8824,
29897,
13,
4706,
325,
353,
4842,
305,
29889,
600,
29873,
29889,
381,
600,
29873,
29898,
7345,
305,
29889,
1493,
29918,
294,
29918,
19676,
29898,
29963,
511,
302,
29922,
29963,
29889,
12181,
29961,
29896,
1402,
3964,
29922,
29896,
29897,
29871,
396,
4842,
305,
29871,
29896,
29889,
29929,
13,
4706,
396,
325,
353,
4842,
305,
29889,
600,
29873,
29889,
381,
600,
29873,
29898,
7345,
305,
29889,
1493,
29918,
294,
29918,
19676,
29898,
29963,
29889,
7411,
25739,
302,
29922,
29963,
29889,
12181,
29961,
29896,
1402,
3964,
29922,
29896,
467,
24498,
580,
29871,
396,
4842,
305,
29871,
29896,
29889,
29929,
13,
4706,
921,
353,
325,
29889,
1482,
29918,
3298,
359,
29898,
29894,
29889,
12181,
29897,
13,
4706,
921,
7503,
29892,
4761,
29906,
29962,
4619,
325,
7503,
29892,
584,
29940,
448,
313,
29940,
849,
29871,
29906,
4638,
13,
4706,
921,
7503,
29892,
29871,
29896,
1057,
29906,
29962,
4619,
325,
29889,
29888,
3466,
4197,
29896,
2314,
7503,
29892,
584,
29940,
849,
29871,
29906,
29962,
13,
13,
4706,
921,
353,
921,
29889,
1493,
10456,
29916,
29918,
12181,
29897,
13,
13,
4706,
1060,
353,
921,
29889,
3286,
4220,
6278,
29896,
29892,
448,
29906,
29897,
13,
13,
4706,
921,
29918,
12181,
353,
1060,
29889,
12181,
13,
4706,
405,
353,
1583,
29889,
29940,
29918,
3545,
13,
4706,
1060,
29918,
29894,
353,
1060,
29889,
1285,
5526,
681,
2141,
1493,
6278,
29896,
29892,
921,
29918,
12181,
14352,
29896,
2314,
847,
29871,
29906,
13,
13,
4706,
565,
6056,
1275,
525,
2072,
29877,
2396,
13,
9651,
1060,
29918,
29894,
7503,
29892,
29871,
29900,
29962,
334,
29922,
7442,
29889,
3676,
29898,
29940,
29897,
334,
29871,
29906,
13,
9651,
1060,
29918,
29894,
7503,
29892,
29871,
29896,
17531,
334,
29922,
7442,
29889,
3676,
29898,
29940,
847,
29871,
29906,
29897,
334,
29871,
29906,
13,
13,
4706,
478,
29918,
29873,
29918,
29878,
353,
1060,
29918,
29894,
13,
4706,
478,
29918,
29873,
29918,
29875,
353,
4842,
305,
29889,
4117,
4197,
29990,
29918,
29894,
7503,
29892,
584,
29896,
29962,
334,
29871,
29900,
29892,
448,
29990,
29918,
29894,
29889,
29888,
3466,
4197,
29896,
2314,
7503,
29892,
8956,
29896,
20526,
3964,
29922,
29896,
29897,
13,
13,
4706,
478,
29918,
29878,
353,
478,
29918,
29873,
29918,
29878,
334,
1583,
29889,
29956,
29918,
29878,
29918,
3545,
448,
478,
29918,
29873,
29918,
29875,
334,
1583,
29889,
29956,
29918,
29875,
29918,
3545,
13,
4706,
478,
29918,
29875,
353,
478,
29918,
29873,
29918,
29878,
334,
1583,
29889,
29956,
29918,
29875,
29918,
3545,
718,
478,
29918,
29873,
29918,
29875,
334,
1583,
29889,
29956,
29918,
29878,
29918,
3545,
13,
13,
4706,
478,
353,
4842,
305,
29889,
4117,
4197,
29963,
29918,
29878,
29889,
6948,
802,
29872,
911,
29898,
29906,
511,
478,
29918,
29875,
29889,
6948,
802,
29872,
911,
29898,
29906,
29897,
1402,
3964,
29922,
29906,
29897,
13,
13,
4706,
396,
325,
353,
4842,
305,
29889,
381,
600,
29873,
29898,
29963,
29892,
29871,
29896,
29892,
6743,
2618,
29922,
13,
4706,
325,
353,
4842,
305,
29889,
600,
29873,
29889,
381,
600,
29873,
29898,
7345,
305,
29889,
1493,
29918,
294,
29918,
19676,
29898,
29963,
511,
302,
29922,
29963,
29889,
12181,
29961,
29896,
1402,
3964,
29922,
29896,
29897,
13,
4706,
396,
325,
353,
4842,
305,
29889,
600,
29873,
29889,
381,
600,
29873,
29898,
7345,
305,
29889,
1493,
29918,
294,
29918,
19676,
29898,
29963,
29889,
7411,
25739,
302,
29922,
29963,
29889,
12181,
29961,
29896,
1402,
3964,
29922,
29896,
467,
24498,
580,
29871,
396,
4842,
305,
29871,
29896,
29889,
29929,
13,
13,
4706,
921,
353,
325,
29889,
1482,
29918,
3298,
359,
29898,
29894,
29889,
12181,
29897,
13,
4706,
921,
7503,
29892,
4761,
29906,
29962,
4619,
325,
7503,
29892,
584,
29940,
448,
313,
29940,
849,
29871,
29906,
4638,
13,
4706,
921,
7503,
29892,
29871,
29896,
1057,
29906,
29962,
4619,
325,
29889,
29888,
3466,
4197,
29896,
2314,
7503,
29892,
584,
29940,
849,
29871,
29906,
29962,
13,
13,
4706,
921,
353,
921,
29889,
1493,
10456,
29916,
29918,
12181,
29897,
13,
13,
4706,
736,
921,
29889,
3286,
4220,
6278,
29896,
29892,
448,
29906,
29897,
13,
2
] |
sets-add.py | limeonion/Python-Programming | 0 | 19550 | <reponame>limeonion/Python-Programming
'''
f we want to add a single element to an existing set, we can use the .add() operation.
It adds the element to the set and returns 'None'.
Example
>>> s = set('HackerRank')
>>> s.add('H')
>>> print s
set(['a', 'c', 'e', 'H', 'k', 'n', 'r', 'R'])
>>> print s.add('HackerRank')
None
>>> print s
set(['a', 'c', 'e', 'HackerRank', 'H', 'k', 'n', 'r', 'R'])
The first line contains an integer N, the total number of country stamps.
The next N lines contains the name of the country where the stamp is from.
Output Format
Output the total number of distinct country stamps on a single line.
'''
n = int(input())
countries = set()
for i in range(n):
countries.add(input())
print(len(countries))
| [
1,
529,
276,
1112,
420,
29958,
28046,
265,
291,
29914,
11980,
29899,
9283,
4056,
13,
12008,
13,
29888,
591,
864,
304,
788,
263,
2323,
1543,
304,
385,
5923,
731,
29892,
591,
508,
671,
278,
869,
1202,
580,
5858,
29889,
29871,
13,
3112,
12778,
278,
1543,
304,
278,
731,
322,
3639,
525,
8516,
4286,
13,
13,
14023,
13,
13,
6778,
29958,
269,
353,
731,
877,
29950,
28940,
29934,
804,
1495,
13,
6778,
29958,
269,
29889,
1202,
877,
29950,
1495,
13,
6778,
29958,
1596,
269,
13,
842,
18959,
29874,
742,
525,
29883,
742,
525,
29872,
742,
525,
29950,
742,
525,
29895,
742,
525,
29876,
742,
525,
29878,
742,
525,
29934,
11287,
13,
6778,
29958,
1596,
269,
29889,
1202,
877,
29950,
28940,
29934,
804,
1495,
13,
8516,
13,
6778,
29958,
1596,
269,
13,
842,
18959,
29874,
742,
525,
29883,
742,
525,
29872,
742,
525,
29950,
28940,
29934,
804,
742,
525,
29950,
742,
525,
29895,
742,
525,
29876,
742,
525,
29878,
742,
525,
29934,
11287,
13,
13,
1576,
937,
1196,
3743,
385,
6043,
405,
29892,
278,
3001,
1353,
310,
4234,
380,
15092,
29889,
13,
1576,
2446,
405,
3454,
3743,
278,
1024,
310,
278,
4234,
988,
278,
25214,
338,
515,
29889,
29871,
13,
13,
13,
6466,
19191,
13,
13,
6466,
278,
3001,
1353,
310,
8359,
4234,
380,
15092,
373,
263,
2323,
1196,
29889,
13,
13,
12008,
13,
29876,
353,
938,
29898,
2080,
3101,
13,
2798,
2722,
353,
731,
580,
13,
13,
1454,
474,
297,
3464,
29898,
29876,
1125,
13,
1678,
10916,
29889,
1202,
29898,
2080,
3101,
13,
2158,
29898,
2435,
29898,
2798,
2722,
876,
13,
2
] |
scripts/testSmurfProcessor.py | bopopescu/smurf-processor | 1 | 111094 | <filename>scripts/testSmurfProcessor.py
#!/usr/bin/env python3
#-----------------------------------------------------------------------------
# Title : Test file for MceTransmit
#-----------------------------------------------------------------------------
# File : exoTest.py
# Created : 2018-02-28
#-----------------------------------------------------------------------------
# This file is part of the rogue_example software. It is subject to
# the license terms in the LICENSE.txt file found in the top-level directory
# of this distribution and at:
# https://confluence.slac.stanford.edu/display/ppareg/LICENSE.html.
# No part of the rogue_example software, including this file, may be
# copied, modified, propagated, or distributed except according to the terms
# contained in the LICENSE.txt file.
#-----------------------------------------------------------------------------
import rogue.utilities
import Smurf
import pyrogue
import time
# Data generator
prbsTx = rogue.utilities.Prbs()
# Our receiver
rx = Smurf.SmurfProcessor()
# Connect the stream
pyrogue.streamConnect(prbsTx,rx)
# Generate Data
#prbsTx.enable(1000)
try:
while (True):
prbsTx.genFrame(2176)
#print(" Rx: Count {}, Bytes {}, Last {}".format(rx.getCount(), rx.getBytes(), rx.getLast()))
time.sleep(.0025)
rx.printTransmitStatistic()
except KeyboardInterrupt:
pass
| [
1,
529,
9507,
29958,
16713,
29914,
1688,
12636,
332,
29888,
18689,
29889,
2272,
13,
29937,
14708,
4855,
29914,
2109,
29914,
6272,
3017,
29941,
13,
29937,
2683,
2683,
2683,
2683,
9072,
29899,
13,
29937,
18527,
418,
584,
4321,
934,
363,
341,
346,
4300,
2415,
13,
29937,
2683,
2683,
2683,
2683,
9072,
29899,
13,
29937,
3497,
539,
584,
429,
29877,
3057,
29889,
2272,
13,
29937,
6760,
630,
1678,
584,
29871,
29906,
29900,
29896,
29947,
29899,
29900,
29906,
29899,
29906,
29947,
13,
29937,
2683,
2683,
2683,
2683,
9072,
29899,
13,
29937,
910,
934,
338,
760,
310,
278,
696,
13000,
29918,
4773,
7047,
29889,
739,
338,
4967,
304,
13,
29937,
278,
19405,
4958,
297,
278,
365,
2965,
1430,
1660,
29889,
3945,
934,
1476,
297,
278,
2246,
29899,
5563,
3884,
13,
29937,
310,
445,
4978,
322,
472,
29901,
13,
29937,
1678,
2045,
597,
535,
25044,
663,
29889,
29879,
4620,
29889,
14411,
4006,
29889,
6085,
29914,
4990,
29914,
407,
598,
29887,
29914,
27888,
1430,
1660,
29889,
1420,
29889,
13,
29937,
1939,
760,
310,
278,
696,
13000,
29918,
4773,
7047,
29892,
3704,
445,
934,
29892,
1122,
367,
13,
29937,
13746,
29892,
9120,
29892,
13089,
630,
29892,
470,
13235,
5174,
5034,
304,
278,
4958,
13,
29937,
11122,
297,
278,
365,
2965,
1430,
1660,
29889,
3945,
934,
29889,
13,
29937,
2683,
2683,
2683,
2683,
9072,
29899,
13,
5215,
696,
13000,
29889,
4422,
1907,
13,
5215,
4116,
332,
29888,
13,
5215,
11451,
9102,
434,
13,
5215,
931,
13,
13,
29937,
3630,
15299,
13,
558,
5824,
29911,
29916,
353,
696,
13000,
29889,
4422,
1907,
29889,
4040,
5824,
580,
13,
13,
29937,
8680,
19870,
13,
17697,
353,
4116,
332,
29888,
29889,
12636,
332,
29888,
18689,
580,
13,
13,
29937,
14971,
278,
4840,
13,
2272,
9102,
434,
29889,
5461,
17918,
29898,
558,
5824,
29911,
29916,
29892,
17697,
29897,
13,
13,
29937,
3251,
403,
3630,
13,
29937,
558,
5824,
29911,
29916,
29889,
12007,
29898,
29896,
29900,
29900,
29900,
29897,
13,
13,
2202,
29901,
13,
1678,
1550,
313,
5574,
1125,
13,
4706,
544,
5824,
29911,
29916,
29889,
1885,
4308,
29898,
29906,
29896,
29955,
29953,
29897,
13,
4706,
396,
2158,
703,
390,
29916,
29901,
3917,
24335,
2648,
2167,
24335,
9208,
6571,
1642,
4830,
29898,
17697,
29889,
657,
3981,
3285,
364,
29916,
29889,
657,
11207,
3285,
364,
29916,
29889,
657,
8897,
22130,
13,
4706,
931,
29889,
17059,
11891,
29900,
29900,
29906,
29945,
29897,
13,
13,
4706,
364,
29916,
29889,
2158,
4300,
2415,
9513,
4695,
580,
13,
13,
19499,
7670,
3377,
4074,
6685,
29901,
13,
1678,
1209,
13,
2
] |
MultiObjectiveModel_YMPNet_Pavan/depth_predictor.py | eva5covergence/EVA5_AI_Projects | 0 | 195190 | <filename>MultiObjectiveModel_YMPNet_Pavan/depth_predictor.py
"""Compute depth maps for images in the input folder.
"""
import os
import glob
import torch
import midas_utils
import cv2
from midas_processing import pre_processing
from midas_processing import post_processing
from utils.model_utils import load_model
cfg = 'cfg/yolov3-custom.cfg'
def write_depth_outs(input_path, output_path, model_path, device):
print("initialize")
model = load_model(model_path, device,cfg)
model.eval()
image_gen = pre_processing(input_path, output_path, device)
count=0
for sample,img, img_name,num_images in image_gen:
# print(sample.shape, img.shape)
f=os.path.basename(img_name)
f=os.path.splitext(f)[0]
print(" Writing {} ({}/{})".format(output_path+f+".png", count + 1, num_images))
prediction,(_,_) = model(sample)
prediction, filename = post_processing(prediction, output_path, img, img_name)
# print(prediction.shape)
midas_utils.write_depth(filename, prediction, bits=2)
count+=1
print("DONE")
| [
1,
529,
9507,
29958,
15329,
2061,
573,
3195,
29918,
29979,
3580,
6779,
29918,
29925,
29080,
29914,
19488,
29918,
27711,
272,
29889,
2272,
13,
15945,
29908,
20606,
29872,
10809,
11053,
363,
4558,
297,
278,
1881,
4138,
29889,
13,
15945,
29908,
13,
5215,
2897,
13,
5215,
13149,
13,
5215,
4842,
305,
13,
5215,
7145,
294,
29918,
13239,
13,
5215,
13850,
29906,
13,
13,
13,
13,
3166,
7145,
294,
29918,
19170,
1053,
758,
29918,
19170,
13,
3166,
7145,
294,
29918,
19170,
1053,
1400,
29918,
19170,
13,
3166,
3667,
29879,
29889,
4299,
29918,
13239,
1053,
2254,
29918,
4299,
13,
16859,
353,
525,
16859,
29914,
29891,
324,
586,
29941,
29899,
6341,
29889,
16859,
29915,
13,
13,
1753,
2436,
29918,
19488,
29918,
17718,
29898,
2080,
29918,
2084,
29892,
1962,
29918,
2084,
29892,
1904,
29918,
2084,
29892,
4742,
1125,
13,
1678,
1596,
703,
24926,
1159,
13,
1678,
1904,
353,
2254,
29918,
4299,
29898,
4299,
29918,
2084,
29892,
4742,
29892,
16859,
29897,
13,
1678,
1904,
29889,
14513,
580,
13,
1678,
1967,
29918,
1885,
353,
758,
29918,
19170,
29898,
2080,
29918,
2084,
29892,
1962,
29918,
2084,
29892,
4742,
29897,
13,
1678,
2302,
29922,
29900,
13,
1678,
363,
4559,
29892,
2492,
29892,
10153,
29918,
978,
29892,
1949,
29918,
8346,
297,
1967,
29918,
1885,
29901,
13,
4706,
396,
1596,
29898,
11249,
29889,
12181,
29892,
10153,
29889,
12181,
29897,
13,
4706,
285,
29922,
359,
29889,
2084,
29889,
6500,
3871,
29898,
2492,
29918,
978,
29897,
13,
4706,
285,
29922,
359,
29889,
2084,
29889,
23579,
568,
486,
29898,
29888,
9601,
29900,
29962,
13,
4706,
1596,
703,
29871,
28676,
6571,
21313,
6822,
29912,
1800,
1642,
4830,
29898,
4905,
29918,
2084,
29974,
29888,
29974,
1642,
2732,
613,
2302,
718,
29871,
29896,
29892,
954,
29918,
8346,
876,
13,
4706,
18988,
22657,
3383,
19925,
353,
1904,
29898,
11249,
29897,
13,
4706,
18988,
29892,
10422,
353,
1400,
29918,
19170,
29898,
11965,
2463,
29892,
1962,
29918,
2084,
29892,
10153,
29892,
10153,
29918,
978,
29897,
13,
4706,
396,
1596,
29898,
11965,
2463,
29889,
12181,
29897,
13,
4706,
7145,
294,
29918,
13239,
29889,
3539,
29918,
19488,
29898,
9507,
29892,
18988,
29892,
9978,
29922,
29906,
29897,
13,
4706,
2302,
23661,
29896,
13,
1678,
1596,
703,
29928,
12413,
1159,
13,
13,
13,
13,
13,
13,
13,
13,
13,
13,
2
] |
unittests/testing.py | DNPLab/dnpLab | 0 | 154398 | import numpy as np
import dnplab as dnp
def get_gauss_3d(std_noise=0.0):
x = np.r_[0:100]
y = np.r_[0:100]
z = np.r_[0:100]
noise = std_noise * np.random.randn(len(x), len(y), len(z))
gauss = np.exp(-1.0 * (x - 50) ** 2.0 / (10.0 ** 2))
gauss_3d = (
gauss.reshape(-1, 1, 1) * gauss.reshape(1, -1, 1) * gauss.reshape(1, 1, -1)
)
gauss_3d += noise
return x, y, z, gauss_3d
def test3d(std_noise=0.0):
x, y, z, gauss_3d = get_gauss_3d(std_noise)
test_data = dnp.DNPData(gauss_3d, ["x", "y", "z"], [x, y, z])
return test_data
| [
1,
1053,
12655,
408,
7442,
13,
5215,
270,
29876,
572,
370,
408,
270,
9302,
13,
13,
13,
1753,
679,
29918,
29887,
11214,
29918,
29941,
29881,
29898,
4172,
29918,
1217,
895,
29922,
29900,
29889,
29900,
1125,
13,
1678,
921,
353,
7442,
29889,
29878,
29918,
29961,
29900,
29901,
29896,
29900,
29900,
29962,
13,
1678,
343,
353,
7442,
29889,
29878,
29918,
29961,
29900,
29901,
29896,
29900,
29900,
29962,
13,
1678,
503,
353,
7442,
29889,
29878,
29918,
29961,
29900,
29901,
29896,
29900,
29900,
29962,
13,
13,
1678,
11462,
353,
3659,
29918,
1217,
895,
334,
7442,
29889,
8172,
29889,
9502,
29876,
29898,
2435,
29898,
29916,
511,
7431,
29898,
29891,
511,
7431,
29898,
29920,
876,
13,
1678,
330,
11214,
353,
7442,
29889,
4548,
6278,
29896,
29889,
29900,
334,
313,
29916,
448,
29871,
29945,
29900,
29897,
3579,
29871,
29906,
29889,
29900,
847,
313,
29896,
29900,
29889,
29900,
3579,
29871,
29906,
876,
13,
1678,
330,
11214,
29918,
29941,
29881,
353,
313,
13,
4706,
330,
11214,
29889,
690,
14443,
6278,
29896,
29892,
29871,
29896,
29892,
29871,
29896,
29897,
334,
330,
11214,
29889,
690,
14443,
29898,
29896,
29892,
448,
29896,
29892,
29871,
29896,
29897,
334,
330,
11214,
29889,
690,
14443,
29898,
29896,
29892,
29871,
29896,
29892,
448,
29896,
29897,
13,
1678,
1723,
13,
1678,
330,
11214,
29918,
29941,
29881,
4619,
11462,
13,
1678,
736,
921,
29892,
343,
29892,
503,
29892,
330,
11214,
29918,
29941,
29881,
13,
13,
13,
1753,
1243,
29941,
29881,
29898,
4172,
29918,
1217,
895,
29922,
29900,
29889,
29900,
1125,
13,
1678,
921,
29892,
343,
29892,
503,
29892,
330,
11214,
29918,
29941,
29881,
353,
679,
29918,
29887,
11214,
29918,
29941,
29881,
29898,
4172,
29918,
1217,
895,
29897,
13,
1678,
1243,
29918,
1272,
353,
270,
9302,
29889,
29928,
25500,
1469,
29898,
29887,
11214,
29918,
29941,
29881,
29892,
6796,
29916,
613,
376,
29891,
613,
376,
29920,
12436,
518,
29916,
29892,
343,
29892,
503,
2314,
13,
1678,
736,
1243,
29918,
1272,
13,
2
] |
Weather/Citi_Weather_Impact.py | sakshiseth/Citi_Hack | 5 | 120957 | <filename>Weather/Citi_Weather_Impact.py
from Weather.WeatherAlert import getWeatherForecastDetails
import matplotlib.pyplot as plt
import random
class makeWeatherConclusion():
def getWeatherConclusionAsImage(self):
metro_city = ["Delhi", "Bangalore", "Pune", "Hyderabad", "Chennai", "Mumbai", "Kolkata", "Ahmedabad",
"Amaravati", "Visakhapatnam", "Jaipur", "Surat", "Jamshedpur", "Nagpur"]
WeatherFore = getWeatherForecastDetails()
State_pair = dict()
for city in metro_city:
response = WeatherFore.getDetails(city)
if response in State_pair:
State_pair[response] += ", "+ city
else:
State_pair[response] = city
Labels = []
Sizes = []
for condition in State_pair:
label = str(condition).upper()+ " : " +State_pair[condition]
Labels.append(label)
Sizes.append(len(label.split(', ')))
print(Labels)
print(Sizes)
explode = []
for i in range(0,len(Sizes)):
if i%2 == 0:
explode.append(0.0)
else:
explode.append(0.1)
plt.subplots(figsize =(15, 12))
plt.pie(Sizes, labels = Labels,explode=explode)
plt.savefig('./template/Weather.jpg') | [
1,
529,
9507,
29958,
4806,
1624,
29914,
29907,
4812,
29918,
4806,
1624,
29918,
24192,
627,
29889,
2272,
13,
3166,
1334,
1624,
29889,
4806,
1624,
16649,
1053,
679,
4806,
1624,
29943,
487,
4384,
10602,
30004,
13,
5215,
22889,
29889,
2272,
5317,
408,
14770,
30004,
13,
5215,
4036,
30004,
13,
30004,
13,
1990,
1207,
4806,
1624,
1168,
10085,
7295,
30004,
13,
1678,
822,
679,
4806,
1624,
1168,
10085,
2887,
2940,
29898,
1311,
1125,
30004,
13,
4706,
1539,
307,
29918,
12690,
353,
6796,
13157,
2918,
613,
376,
29933,
574,
284,
487,
613,
376,
29925,
1540,
613,
376,
26322,
672,
20143,
613,
376,
1451,
264,
1056,
29875,
613,
376,
29924,
3774,
1794,
613,
376,
29968,
28387,
532,
613,
376,
17565,
2168,
20143,
15231,
13,
462,
3986,
376,
29909,
3034,
485,
2219,
613,
376,
6116,
19426,
26347,
8588,
613,
376,
29967,
29874,
666,
332,
613,
376,
18498,
271,
613,
376,
29967,
314,
845,
287,
15503,
613,
376,
29940,
351,
15503,
3108,
30004,
13,
30004,
13,
4706,
1334,
1624,
29943,
487,
353,
679,
4806,
1624,
29943,
487,
4384,
10602,
26471,
13,
4706,
4306,
29918,
18784,
353,
9657,
26471,
13,
4706,
363,
4272,
297,
1539,
307,
29918,
12690,
29901,
30004,
13,
9651,
2933,
353,
1334,
1624,
29943,
487,
29889,
657,
10602,
29898,
12690,
8443,
13,
9651,
565,
2933,
297,
4306,
29918,
18784,
29901,
30004,
13,
18884,
4306,
29918,
18784,
29961,
5327,
29962,
4619,
9162,
15691,
4272,
30004,
13,
9651,
1683,
29901,
30004,
13,
18884,
4306,
29918,
18784,
29961,
5327,
29962,
353,
4272,
30004,
13,
4706,
15796,
29879,
353,
5159,
30004,
13,
4706,
317,
7093,
353,
5159,
30004,
13,
4706,
363,
4195,
297,
4306,
29918,
18784,
29901,
30004,
13,
9651,
3858,
353,
851,
29898,
16122,
467,
21064,
580,
29974,
376,
584,
376,
718,
2792,
29918,
18784,
29961,
16122,
29962,
30004,
13,
9651,
15796,
29879,
29889,
4397,
29898,
1643,
8443,
13,
9651,
317,
7093,
29889,
4397,
29898,
2435,
29898,
1643,
29889,
5451,
29317,
525,
4961,
30004,
13,
4706,
1596,
29898,
4775,
29879,
8443,
13,
4706,
1596,
29898,
29903,
7093,
8443,
13,
4706,
3902,
356,
353,
5159,
30004,
13,
4706,
363,
474,
297,
3464,
29898,
29900,
29892,
2435,
29898,
29903,
7093,
22164,
30004,
13,
9651,
565,
474,
29995,
29906,
1275,
29871,
29900,
29901,
30004,
13,
18884,
3902,
356,
29889,
4397,
29898,
29900,
29889,
29900,
8443,
13,
9651,
1683,
29901,
30004,
13,
18884,
3902,
356,
29889,
4397,
29898,
29900,
29889,
29896,
8443,
13,
4706,
14770,
29889,
1491,
26762,
29898,
1003,
2311,
353,
29898,
29896,
29945,
29892,
29871,
29896,
29906,
876,
30004,
13,
4706,
14770,
29889,
12343,
29898,
29903,
7093,
29892,
11073,
353,
15796,
29879,
29892,
24516,
356,
29922,
24516,
356,
8443,
13,
4706,
14770,
29889,
7620,
1003,
877,
6904,
6886,
29914,
4806,
1624,
29889,
6173,
1495,
2
] |
scripts/watch_continuous.py | drozzy/autonomous-learning-library | 584 | 128820 | # pylint: disable=unused-import
import argparse
from all.bodies import TimeFeature
from all.environments import GymEnvironment, PybulletEnvironment
from all.experiments import load_and_watch
from .continuous import ENVS
def main():
parser = argparse.ArgumentParser(description="Watch a continuous agent.")
parser.add_argument("env", help="ID of the Environment")
parser.add_argument("filename", help="File where the model was saved.")
parser.add_argument(
"--device",
default="cuda",
help="The name of the device to run the agent on (e.g. cpu, cuda, cuda:0)",
)
parser.add_argument(
"--fps",
default=120,
help="Playback speed",
)
args = parser.parse_args()
if args.env in ENVS:
env = GymEnvironment(args.env, device=args.device)
elif 'BulletEnv' in args.env or args.env in PybulletEnvironment.short_names:
env = PybulletEnvironment(args.env, device=args.device)
else:
env = GymEnvironment(args.env, device=args.device)
load_and_watch(args.filename, env, fps=args.fps)
if __name__ == "__main__":
main()
| [
1,
396,
282,
2904,
524,
29901,
11262,
29922,
348,
3880,
29899,
5215,
13,
5215,
1852,
5510,
13,
3166,
599,
29889,
29890,
397,
583,
1053,
5974,
19132,
13,
3166,
599,
29889,
21813,
1860,
1053,
402,
962,
18649,
29892,
10772,
18850,
18649,
13,
3166,
599,
29889,
735,
546,
7862,
1053,
2254,
29918,
392,
29918,
12344,
13,
3166,
869,
20621,
681,
1053,
12524,
21819,
13,
13,
13,
1753,
1667,
7295,
13,
1678,
13812,
353,
1852,
5510,
29889,
15730,
11726,
29898,
8216,
543,
24709,
263,
9126,
10823,
23157,
13,
1678,
13812,
29889,
1202,
29918,
23516,
703,
6272,
613,
1371,
543,
1367,
310,
278,
16738,
1159,
13,
1678,
13812,
29889,
1202,
29918,
23516,
703,
9507,
613,
1371,
543,
2283,
988,
278,
1904,
471,
7160,
23157,
13,
1678,
13812,
29889,
1202,
29918,
23516,
29898,
13,
4706,
376,
489,
10141,
613,
13,
4706,
2322,
543,
29883,
6191,
613,
13,
4706,
1371,
543,
1576,
1024,
310,
278,
4742,
304,
1065,
278,
10823,
373,
313,
29872,
29889,
29887,
29889,
26403,
29892,
274,
6191,
29892,
274,
6191,
29901,
29900,
19123,
13,
1678,
1723,
13,
1678,
13812,
29889,
1202,
29918,
23516,
29898,
13,
4706,
376,
489,
29888,
567,
613,
13,
4706,
2322,
29922,
29896,
29906,
29900,
29892,
13,
4706,
1371,
543,
13454,
1627,
6210,
613,
13,
1678,
1723,
13,
1678,
6389,
353,
13812,
29889,
5510,
29918,
5085,
580,
13,
13,
1678,
565,
6389,
29889,
6272,
297,
12524,
21819,
29901,
13,
4706,
8829,
353,
402,
962,
18649,
29898,
5085,
29889,
6272,
29892,
4742,
29922,
5085,
29889,
10141,
29897,
13,
1678,
25342,
525,
29933,
352,
1026,
21745,
29915,
297,
6389,
29889,
6272,
470,
6389,
29889,
6272,
297,
10772,
18850,
18649,
29889,
12759,
29918,
7039,
29901,
13,
4706,
8829,
353,
10772,
18850,
18649,
29898,
5085,
29889,
6272,
29892,
4742,
29922,
5085,
29889,
10141,
29897,
13,
1678,
1683,
29901,
13,
4706,
8829,
353,
402,
962,
18649,
29898,
5085,
29889,
6272,
29892,
4742,
29922,
5085,
29889,
10141,
29897,
13,
13,
1678,
2254,
29918,
392,
29918,
12344,
29898,
5085,
29889,
9507,
29892,
8829,
29892,
285,
567,
29922,
5085,
29889,
29888,
567,
29897,
13,
13,
13,
361,
4770,
978,
1649,
1275,
376,
1649,
3396,
1649,
1115,
13,
1678,
1667,
580,
13,
2
] |
hy-data-analysis-with-python-spring-2020/part05-e12_coefficient_of_determination/test/test_coefficient_of_determination.py | Melimet/DAP2020 | 0 | 95329 | <reponame>Melimet/DAP2020
#!/usr/bin/python3
import unittest
from tmc import points
from tmc.utils import load, get_out
coefficient_of_determination = load('src.coefficient_of_determination', 'coefficient_of_determination')
class CoefficientOfDetermination(unittest.TestCase):
@points('p05-12.1')
def test_all_features(self):
scores = coefficient_of_determination()
self.assertAlmostEqual(scores[0], 1.0, msg="Incorrect coefficient of determination!")
@points('p05-12.2')
def test_individual_features(self):
scores = coefficient_of_determination()
sums=[0.0258828579115,0.0968186306153,0.0881564161891,0.868276772892]
for i in range(1,5):
self.assertAlmostEqual(sums[i-1], sum(scores[i:i+2]),
msg="Incorrect individual coefficients of determination!")
if __name__ == '__main__':
unittest.main()
| [
1,
529,
276,
1112,
420,
29958,
29924,
295,
17528,
29914,
29928,
3301,
29906,
29900,
29906,
29900,
13,
29937,
14708,
4855,
29914,
2109,
29914,
4691,
29941,
13,
13,
5215,
443,
27958,
13,
13,
13,
3166,
260,
14047,
1053,
3291,
13,
13,
3166,
260,
14047,
29889,
13239,
1053,
2254,
29892,
679,
29918,
449,
13,
13,
1111,
8462,
29918,
974,
29918,
4801,
837,
3381,
353,
2254,
877,
4351,
29889,
1111,
8462,
29918,
974,
29918,
4801,
837,
3381,
742,
525,
1111,
8462,
29918,
974,
29918,
4801,
837,
3381,
1495,
13,
13,
1990,
3189,
8462,
2776,
6362,
837,
3381,
29898,
348,
27958,
29889,
3057,
8259,
1125,
13,
13,
1678,
732,
9748,
877,
29886,
29900,
29945,
29899,
29896,
29906,
29889,
29896,
1495,
13,
1678,
822,
1243,
29918,
497,
29918,
22100,
29898,
1311,
1125,
13,
4706,
19435,
353,
10825,
29918,
974,
29918,
4801,
837,
3381,
580,
13,
4706,
1583,
29889,
9294,
2499,
3242,
9843,
29898,
1557,
2361,
29961,
29900,
1402,
29871,
29896,
29889,
29900,
29892,
10191,
543,
797,
15728,
10825,
310,
3683,
3381,
29991,
1159,
13,
13,
1678,
732,
9748,
877,
29886,
29900,
29945,
29899,
29896,
29906,
29889,
29906,
1495,
13,
1678,
822,
1243,
29918,
513,
23352,
29918,
22100,
29898,
1311,
1125,
13,
4706,
19435,
353,
10825,
29918,
974,
29918,
4801,
837,
3381,
580,
13,
13,
4706,
25470,
11759,
29900,
29889,
29900,
29906,
29945,
29947,
29947,
29906,
29947,
29945,
29955,
29929,
29896,
29896,
29945,
29892,
29900,
29889,
29900,
29929,
29953,
29947,
29896,
29947,
29953,
29941,
29900,
29953,
29896,
29945,
29941,
29892,
29900,
29889,
29900,
29947,
29947,
29896,
29945,
29953,
29946,
29896,
29953,
29896,
29947,
29929,
29896,
29892,
29900,
29889,
29947,
29953,
29947,
29906,
29955,
29953,
29955,
29955,
29906,
29947,
29929,
29906,
29962,
13,
4706,
363,
474,
297,
3464,
29898,
29896,
29892,
29945,
1125,
13,
9651,
1583,
29889,
9294,
2499,
3242,
9843,
29898,
2083,
29879,
29961,
29875,
29899,
29896,
1402,
2533,
29898,
1557,
2361,
29961,
29875,
29901,
29875,
29974,
29906,
11724,
13,
462,
462,
259,
10191,
543,
797,
15728,
5375,
16127,
310,
3683,
3381,
29991,
1159,
13,
13,
13,
361,
4770,
978,
1649,
1275,
525,
1649,
3396,
1649,
2396,
13,
1678,
443,
27958,
29889,
3396,
580,
13,
268,
13,
2
] |
lsc.py | yubeic/Lie-Group-Sparse-Coding | 9 | 128549 | <reponame>yubeic/Lie-Group-Sparse-Coding<filename>lsc.py
import torch
import numpy as np
import matplotlib.pyplot as plt
import torch.nn.functional as f
import utils
from IPython import display
import time
device = torch.device("cuda")
def combine_variance(avg_a, count_a, var_a, avg_b, count_b, var_b):
"""
Compute variance of X given mean and variances of A and B, where X = A union B.
Reference: https://en.wikipedia.org/wiki/Algorithms_for_calculating_variance#cite_note-:0-10
"""
if count_a + count_b <= 1:
return torch.zeros(var_a.size()).cuda()
delta = avg_b - avg_a
M2_a = var_a * (count_a - 1)
M2_b = var_b * (count_b - 1)
M2 = M2_a + M2_b + delta ** 2 * count_a * count_b / (count_a + count_b)
return M2 / (count_a + count_b - 1)
def combine_mean(avg_a, count_a, avg_b, count_b):
"""
Compute variance of X given mean and variances of A and B, where X = A union B.
"""
if count_a + count_b == 0:
return torch.zeros(avg_a.size()).cuda()
return (count_a * avg_a + count_b * avg_b)/(count_a + count_b)
def statistics(data):
"""
Compute mean and variance of data along first axis
"""
B = data.size()[0]
avg = data.sum(dim=0)/B
if B == 1:
variance = torch.zeros(avg.size()).cuda()
else:
variance = ((data - avg)**2).sum(dim=0)/(B-1)
return (avg, variance)
class RunningStatistics:
"""
Compute running mean and variance
"""
def __init__(self, size):
self.avg = torch.zeros(size).cuda()
self.variance = torch.zeros(size).cuda()
self.stderr = torch.zeros(size).cuda()
self.count = 0
def update(self, data):
"""
data - (batch_size, ...(any number of dimensions here)...)
"""
new_avg, new_variance = statistics(data)
new_count = data.size()[0]
updated_avg = combine_mean(self.avg, self.count, new_avg, new_count)
updated_variance = combine_variance(self.avg, self.count, self.variance, new_avg, new_count, new_variance)
self.avg, self.variance = updated_avg, updated_variance
self.count = self.count + new_count
self.stderr = (self.variance/self.count)**0.5
def print_stats(self):
ratio = torch.abs(self.stderr/self.avg)
print("Standard error ratio range: {} - {}".format(ratio.min(), ratio.max()))
def orthogonalize(w):
u, s, v = torch.svd(w)
return torch.mm(u, v.t())
def eta(T, eta_0=0.25):
return eta_0/np.sqrt(T)
def to_cartesian(r, theta):
return (r*torch.cos(theta)).float(), (r*torch.sin(theta)).float()
def to_polar(a, b):
return (a**2 + b**2).sqrt().float(), torch.atan2(b, a).float()
def rot(delta_theta, a, b):
r, theta = to_polar(a, b)
return to_cartesian(r, theta+delta_theta)
def reconstruct(x, w, s_hat, omega):
"""
x - (B,D)
w - (B,L*2)
s_hat - (B,n)
omega - (L,n)
returns y_hat - (B,D)
"""
w1, w2 = w[:,::2], w[:,1::2] # (D,L), (D,L)
u1 = torch.einsum('dl, bd -> bl', w1, x) # (B,L)
u2 = torch.einsum('dl, bd -> bl', w2, x) # (B,L)
m_hat = torch.einsum('ln,bn->bl', omega.float(), s_hat.float()) # (B,L)
B, L = u1.size()[0], u1.size()[1]
ru = torch.zeros((B,L*2)).cuda() # (B,L*2)
ru1, ru2 = rot(m_hat, u1, u2) # (B,L), (B,L)
ru[:,::2], ru[:,1::2] = ru1, ru2
y_hat = torch.einsum('dj, bj -> bd', w, ru) # (B,D)
return y_hat
def posterior_phi(u, v, omega, s, k=None, m=None):
"""
Inputs:
u, v - (B,L*2)
omega - (L,n)
k, m - (B,J)
Returns:
k_hat, m_hat - (B,J), where J = number of unique omegas excluding omega = (0,0)
"""
u1, u2 = u[:,::2], u[:,1::2] # (B,L)
v1, v2 = v[:,::2], v[:,1::2] # (B,L)
B, L, n = u1.size()[0], u1.size()[1], omega.size()[1]
assert isinstance(omega, torch.cuda.IntTensor)
unique_omega, inverse_idx = torch.unique(omega, dim=0, return_inverse=True) # (J,n), (L)
J = unique_omega.size()[0]
a = (u1*v1+u2*v2)/s**2 # (B,L)
b = (u1*v2-u2*v1)/s**2 # (B,L)
graph1, graph2 = torch.zeros(B,L,J,device=device), torch.zeros(B,L,J,device=device)
graph1[:,torch.arange(L,device=device),inverse_idx] = a
graph2[:,torch.arange(L,device=device),inverse_idx] = b
eta_posterior_1, eta_posterior_2 = graph1.sum(dim=1), graph2.sum(dim=1) # (B,J)
zero_inds = (unique_omega == 0).all(dim=1)
eta_posterior_1[:,zero_inds], eta_posterior_2[:,zero_inds] = 0, 0
if k is not None and m is not None:
eta_prior_1, eta_prior_2 = to_cartesian(k, m) # (B,J), (B,J)
eta_posterior_1 += eta_prior_1
eta_posterior_2 += eta_prior_2
k_hat, m_hat = to_polar(eta_posterior_1, eta_posterior_2) # (B,J), (B,J)
return k_hat, m_hat
def compute_q(u, v, omega, k_hat, m_hat, N=100, map_est=False):
"""
Inputs:
u, v - (B,L*2)
omega - (L,n)
k_hat, m_hat - (B,J)
"""
B, L = u.size()[0], int(u.size()[1]/2)
unique_omega, inverse_idx = torch.unique(omega, dim=0, return_inverse=True) # (J,n), (L)
c, s = utils.circular_moment_numint_multi(k_hat, m_hat, unique_omega, unique_omega, N=N, map_est=map_est) # (B,J), (B,J) (0.0013s)
c, s = c[:,inverse_idx], s[:,inverse_idx] # (B,L), (B,L)
qc, qs = torch.empty(B,L*2,device=device), torch.empty(B,L*2,device=device)
qc[:,::2], qc[:,1::2] = c.clone(), c.clone()
qs[:,::2], qs[:,1::2] = s.clone(), s.clone()
return qc, qs # (B,L*2),(B,L*2),((B,L*2),(B,L*2))
def compute_aux_var(y, psi, w, alpha, omega, sigma, k=None, m=None, N=100, map_est=False):
x = torch.einsum('dk,bk->bd',psi,alpha) # (B,D)
u = torch.einsum('dl,bd->bl',w,x) # (B,L*2)
v = torch.einsum('dl,bd->bl',w,y) # (B,L*2)
k_hat, m_hat = posterior_phi(u, v, omega, sigma, k=k, m=m) # (B,J), (B,J) (0.0013s)
q = compute_q(u, v, omega, k_hat, m_hat, N=N, map_est=map_est) # (0.0017s)
res = y - torch.einsum('dl,bl->bd',w,mul_q(q, u)) # (B,D)
tres = torch.einsum('dl,bl->bd',w,mul_q(q, torch.einsum('dl,bd->bl',w,res), transpose=True))
return x, u, v, k_hat, m_hat, q, res, tres
def mul_q(q, x, transpose=False):
qc, qs = q[0], q[1]
xc = x.clone()
xs = torch.zeros(x.size(),device=device)
xs[:,::2], xs[:,1::2] = -x[:,1::2].clone(), x[:,::2].clone()
if transpose:
xs = -xs
result = qc*xc + qs*xs
return result
def grad_w(x, res, w, q, sigma):
B = x.size()[0]
wres, wx = torch.einsum('dl,bd->bl',w,res), torch.einsum('dl,bd->bl',w,x)
qwres, qwx = mul_q(q, wres, transpose=True), mul_q(q, wx, transpose=False)
return (torch.einsum('bd,bl->dl',x,qwres) + torch.einsum('bd,bl->dl',res,qwx)) / (sigma**2*B)
def grad_w_modified(x, res, w, q, sigma):
B = x.size()[0]
wres, wx = torch.einsum('dl,bd->bl',w,res), torch.einsum('dl,bd->bl',w,x)
qwres, qwx = mul_q(q, wres, transpose=True), mul_q(q, wx, transpose=False)
return (torch.einsum('bd,bl->dl',x,qwres) + torch.einsum('bd,bl->dl',res,qwx)) / (sigma**2*B)
def grad_alpha(tres, psi, alpha, prev_alpha, sigma, lamb, lamb2):
return torch.einsum('dk,bd->bk',psi,tres) / (sigma**2) - lamb*torch.sign(alpha) - 2*lamb2*(alpha - prev_alpha)
def grad_alpha_modified(tres, psi, alpha, prev_alpha, sigma, lamb, lamb2):
return torch.einsum('dk,bd->bk',psi,tres) / (sigma**2) - lamb*torch.sign(alpha) - 2*lamb2*(alpha - prev_alpha)
def grad_psi(tres, alpha, sigma):
B = tres.size()[0]
return torch.einsum('bd,bk->dk',tres,alpha) / (sigma**2 * B)
def grad_psi_modified(psi, tres, alpha, sigma, lamb):
B = tres.size()[0]
reg_term = torch.einsum('dk,k->dk',psi,torch.diag(torch.einsum('dk,dl->kl',psi,psi))-1)
return torch.einsum('bd,bk->dk',tres,alpha) / (sigma**2 * B) - lamb*reg_term
def alpha_update_FISTA(y, psi, w, omega, alpha, sigma, lamb, lamb2, steps, k=None, m=None, eta_alpha=0.001, N=100, modified=False, plot=False, map_est=False, adaptive=True, adaptive_steps=False):
D, K = psi.size()[0], psi.size()[1]
tk_n, tk = 1.0, 1.0
prev_alpha, alpha_y = alpha.clone(), alpha.clone()
if adaptive:
wpsi = torch.mm(w.t(),psi)
lipschitz = 1.5*torch.max(torch.symeig(torch.mm(wpsi.t(),wpsi),eigenvectors=False)[0])/sigma**2
eta_alpha = 1.0/lipschitz
# print(1/eta_alpha)
if adaptive_steps:
steps = int(21*torch.sqrt(0.001/eta_alpha))-1
# print(eta_alpha, int(21*torch.sqrt(0.001/eta_alpha))-1)
if plot:
fig = plt.figure(figsize=(10,5))
for t in range(steps):
# From here till end excluding compute_aux_var (0.0033s)
tk = tk_n
tk_n = (1+np.sqrt(1+4*tk**2))/2
alpha_pre = alpha.clone()
x, u, v, k_hat, m_hat, q, res, tres = compute_aux_var(y, psi, w, alpha_y, omega, sigma, k=k, m=m, N=N, map_est=map_est) # (0.0032s)
if modified:
dalpha = eta(1, eta_0=eta_alpha)*grad_alpha_modified(tres, psi, alpha_y, prev_alpha, sigma, lamb, lamb2)
else:
dalpha = eta(1, eta_0=eta_alpha)*grad_alpha(tres, psi, alpha_y, prev_alpha, sigma, lamb, lamb2)
alpha = (alpha_y + dalpha).clamp(min=0.)
alpha_y = alpha + (tk-1)/tk_n * (alpha - alpha_pre)
# Plot loss and alpha
if plot and t % 1 == 0:
nll = -log_likelihood(x, y, u, v, psi, alpha, k_hat, m_hat, omega, lamb, lamb2, sigma, mean=True, N=N, modified=modified)
fig.add_subplot(1,2,1)
plt.scatter(t, nll)
fig.add_subplot(1,2,2)
plt.scatter(np.ones(alpha.size()[1])*t, alpha[0].cpu().numpy(), c=np.arange(K))
display.clear_output(wait=True)
display.display(plt.gcf())
if plot:
display.clear_output()
return alpha
def psi_update(psi, alpha, tres, sigma, eta_psi, lamb, modified=False):
if modified:
dpsi = eta(1, eta_0=eta_psi)*grad_psi_modified(psi, tres, alpha, sigma, lamb) # (D,K)
new_psi = psi + dpsi
else:
dpsi = eta(1, eta_0=eta_psi)*grad_psi(tres, alpha, sigma) # (D,K)
new_psi = f.normalize(psi + dpsi, dim=0)
# if torch.isnan(new_psi).any():
# print("Infinity in new_psi. Setting dpsi = 0.")
# new_psi = psi.clone()
dpsi_length = torch.mean(torch.norm(new_psi - psi, dim=0))
psi = new_psi.clone()
return psi, dpsi_length
def w_update_riemann(optimizer, x, w, q, res, sigma, modified=False):
"""
optimizer - geoopt.optim.RiemannianAdam/geoopt.optim.RiemannianSGD
psi, w - geoopt.ManifoldParameter
"""
w_old = w.clone()
optimizer.zero_grad()
if modified:
w.grad = -grad_w_modified(x, res, w, q, sigma)
else:
w.grad = -grad_w(x, res, w, q, sigma)
optimizer.step()
dw_norm = torch.norm(w - w_old)
return w, dw_norm
def log_likelihood(x, y, u, v, psi, alpha, k_hat, m_hat, omega, lamb, lamb2, s, mean=True, N=100, modified=False, map_est=False):
"""
Computes log likelihood.
x, y - (B,D)
u, v - (B,L*2)
omega - (L,n)
k_hat, m_hat - (B,J)
Assume k = 0, m = 0
"""
D = x.size()[1]
u1, u2 = u[:,::2], u[:,1::2]
v1, v2 = v[:,::2], v[:,1::2]
k, m = torch.zeros(k_hat.size(),device=device), torch.zeros(m_hat.size(),device=device) # (B,J), (B,J)
unique_omega = torch.unique(omega, dim=0) # (J)
Z_term = utils.log_Z_numint_multi(k_hat, m_hat, unique_omega, N=N, map_est=map_est) - utils.log_Z_numint_multi(k, m, unique_omega, N=N, map_est=map_est) # (B)
constant_term = - ((u**2).sum(dim=1)+(y**2).sum(dim=1))/(2*s**2) # (B)
zero_inds = (omega == 0).all(dim=1)
u10, u20 = u1[:,zero_inds], u2[:,zero_inds]
v10, v20 = v1[:,zero_inds], v2[:,zero_inds]
if len(zero_inds) > 0:
zero_term = (torch.einsum('bn,bn->b',u10,v10) + torch.einsum('bn,bn->b',u20,v20))/s**2 # (B)
else:
zero_term = torch.zeros(x.size()[0],device=device) # (B)
batch_log_likelihood = Z_term + constant_term + zero_term - lamb*alpha.norm(p=1,dim=1) # (B)
if modified:
batch_log_likelihood -= lamb2*torch.norm(torch.diag(torch.einsum('dk,dl->kl',psi,psi))-1)**2 # Psi regularization term
if mean:
return torch.mean(batch_log_likelihood).cpu().numpy() # (1)
else:
return batch_log_likelihood.cpu().numpy() # (B) | [
1,
529,
276,
1112,
420,
29958,
29891,
4003,
293,
29914,
29931,
347,
29899,
4782,
29899,
29903,
5510,
29899,
29907,
3689,
29966,
9507,
29958,
29880,
1557,
29889,
2272,
13,
5215,
4842,
305,
13,
5215,
12655,
408,
7442,
13,
5215,
22889,
29889,
2272,
5317,
408,
14770,
13,
5215,
4842,
305,
29889,
15755,
29889,
2220,
284,
408,
285,
13,
5215,
3667,
29879,
13,
3166,
5641,
1656,
1053,
2479,
13,
5215,
931,
13,
13,
10141,
353,
4842,
305,
29889,
10141,
703,
29883,
6191,
1159,
13,
13,
1753,
14405,
29918,
1707,
8837,
29898,
485,
29887,
29918,
29874,
29892,
2302,
29918,
29874,
29892,
722,
29918,
29874,
29892,
1029,
29887,
29918,
29890,
29892,
2302,
29918,
29890,
29892,
722,
29918,
29890,
1125,
13,
1678,
9995,
13,
1678,
11796,
29872,
20162,
310,
1060,
2183,
2099,
322,
722,
713,
778,
310,
319,
322,
350,
29892,
988,
1060,
353,
319,
9833,
350,
29889,
13,
1678,
12105,
29901,
2045,
597,
264,
29889,
6011,
29889,
990,
29914,
4594,
29914,
22461,
12404,
29918,
1454,
29918,
15807,
1218,
29918,
1707,
8837,
29937,
2036,
29918,
6812,
29899,
29901,
29900,
29899,
29896,
29900,
13,
1678,
9995,
13,
1678,
565,
2302,
29918,
29874,
718,
2302,
29918,
29890,
5277,
29871,
29896,
29901,
13,
4706,
736,
4842,
305,
29889,
3298,
359,
29898,
1707,
29918,
29874,
29889,
2311,
16655,
29883,
6191,
580,
13,
1678,
19471,
353,
1029,
29887,
29918,
29890,
448,
1029,
29887,
29918,
29874,
13,
1678,
341,
29906,
29918,
29874,
353,
722,
29918,
29874,
334,
313,
2798,
29918,
29874,
448,
29871,
29896,
29897,
13,
1678,
341,
29906,
29918,
29890,
353,
722,
29918,
29890,
334,
313,
2798,
29918,
29890,
448,
29871,
29896,
29897,
13,
1678,
341,
29906,
353,
341,
29906,
29918,
29874,
718,
341,
29906,
29918,
29890,
718,
19471,
3579,
29871,
29906,
334,
2302,
29918,
29874,
334,
2302,
29918,
29890,
847,
313,
2798,
29918,
29874,
718,
2302,
29918,
29890,
29897,
13,
1678,
736,
341,
29906,
847,
313,
2798,
29918,
29874,
718,
2302,
29918,
29890,
448,
29871,
29896,
29897,
13,
13,
1753,
14405,
29918,
12676,
29898,
485,
29887,
29918,
29874,
29892,
2302,
29918,
29874,
29892,
1029,
29887,
29918,
29890,
29892,
2302,
29918,
29890,
1125,
13,
1678,
9995,
13,
1678,
11796,
29872,
20162,
310,
1060,
2183,
2099,
322,
722,
713,
778,
310,
319,
322,
350,
29892,
988,
1060,
353,
319,
9833,
350,
29889,
13,
1678,
9995,
13,
1678,
565,
2302,
29918,
29874,
718,
2302,
29918,
29890,
1275,
29871,
29900,
29901,
13,
4706,
736,
4842,
305,
29889,
3298,
359,
29898,
485,
29887,
29918,
29874,
29889,
2311,
16655,
29883,
6191,
580,
13,
1678,
736,
313,
2798,
29918,
29874,
334,
1029,
29887,
29918,
29874,
718,
2302,
29918,
29890,
334,
1029,
29887,
29918,
29890,
6802,
29898,
2798,
29918,
29874,
718,
2302,
29918,
29890,
29897,
13,
13,
1753,
13964,
29898,
1272,
1125,
13,
1678,
9995,
13,
1678,
11796,
29872,
2099,
322,
20162,
310,
848,
3412,
937,
9685,
13,
1678,
9995,
13,
1678,
350,
353,
848,
29889,
2311,
580,
29961,
29900,
29962,
13,
1678,
1029,
29887,
353,
848,
29889,
2083,
29898,
6229,
29922,
29900,
6802,
29933,
13,
1678,
565,
350,
1275,
29871,
29896,
29901,
13,
4706,
20162,
353,
4842,
305,
29889,
3298,
359,
29898,
485,
29887,
29889,
2311,
16655,
29883,
6191,
580,
13,
1678,
1683,
29901,
13,
4706,
20162,
353,
5135,
1272,
448,
1029,
29887,
29897,
1068,
29906,
467,
2083,
29898,
6229,
29922,
29900,
6802,
29898,
29933,
29899,
29896,
29897,
13,
1678,
736,
313,
485,
29887,
29892,
20162,
29897,
13,
13,
1990,
19509,
9513,
6765,
29901,
13,
1678,
9995,
13,
1678,
11796,
29872,
2734,
2099,
322,
20162,
13,
1678,
9995,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
2159,
1125,
13,
4706,
1583,
29889,
485,
29887,
353,
4842,
305,
29889,
3298,
359,
29898,
2311,
467,
29883,
6191,
580,
13,
4706,
1583,
29889,
1707,
8837,
353,
4842,
305,
29889,
3298,
359,
29898,
2311,
467,
29883,
6191,
580,
13,
4706,
1583,
29889,
303,
20405,
353,
4842,
305,
29889,
3298,
359,
29898,
2311,
467,
29883,
6191,
580,
13,
4706,
1583,
29889,
2798,
353,
29871,
29900,
13,
308,
13,
1678,
822,
2767,
29898,
1311,
29892,
848,
1125,
13,
4706,
9995,
13,
4706,
848,
448,
313,
16175,
29918,
2311,
29892,
2023,
29898,
1384,
1353,
310,
13391,
1244,
467,
636,
29897,
13,
4706,
9995,
13,
4706,
716,
29918,
485,
29887,
29892,
716,
29918,
1707,
8837,
353,
13964,
29898,
1272,
29897,
13,
4706,
716,
29918,
2798,
353,
848,
29889,
2311,
580,
29961,
29900,
29962,
13,
4706,
4784,
29918,
485,
29887,
353,
14405,
29918,
12676,
29898,
1311,
29889,
485,
29887,
29892,
1583,
29889,
2798,
29892,
716,
29918,
485,
29887,
29892,
716,
29918,
2798,
29897,
13,
4706,
4784,
29918,
1707,
8837,
353,
14405,
29918,
1707,
8837,
29898,
1311,
29889,
485,
29887,
29892,
1583,
29889,
2798,
29892,
1583,
29889,
1707,
8837,
29892,
716,
29918,
485,
29887,
29892,
716,
29918,
2798,
29892,
716,
29918,
1707,
8837,
29897,
13,
4706,
1583,
29889,
485,
29887,
29892,
1583,
29889,
1707,
8837,
353,
4784,
29918,
485,
29887,
29892,
4784,
29918,
1707,
8837,
13,
4706,
1583,
29889,
2798,
353,
1583,
29889,
2798,
718,
716,
29918,
2798,
13,
4706,
1583,
29889,
303,
20405,
353,
313,
1311,
29889,
1707,
8837,
29914,
1311,
29889,
2798,
29897,
1068,
29900,
29889,
29945,
13,
308,
13,
1678,
822,
1596,
29918,
16202,
29898,
1311,
1125,
13,
4706,
11959,
353,
4842,
305,
29889,
6897,
29898,
1311,
29889,
303,
20405,
29914,
1311,
29889,
485,
29887,
29897,
13,
4706,
1596,
703,
15449,
1059,
11959,
3464,
29901,
6571,
448,
6571,
1642,
4830,
29898,
3605,
601,
29889,
1195,
3285,
11959,
29889,
3317,
22130,
13,
13,
1753,
28143,
675,
29898,
29893,
1125,
13,
1678,
318,
29892,
269,
29892,
325,
353,
4842,
305,
29889,
4501,
29881,
29898,
29893,
29897,
13,
1678,
736,
4842,
305,
29889,
4317,
29898,
29884,
29892,
325,
29889,
29873,
3101,
13,
13,
1753,
634,
29874,
29898,
29911,
29892,
634,
29874,
29918,
29900,
29922,
29900,
29889,
29906,
29945,
1125,
13,
1678,
736,
634,
29874,
29918,
29900,
29914,
9302,
29889,
3676,
29898,
29911,
29897,
13,
13,
1753,
304,
29918,
13823,
18970,
29898,
29878,
29892,
278,
941,
1125,
13,
1678,
736,
313,
29878,
29930,
7345,
305,
29889,
3944,
29898,
3416,
8106,
7411,
3285,
313,
29878,
29930,
7345,
305,
29889,
5223,
29898,
3416,
8106,
7411,
580,
13,
268,
13,
1753,
304,
29918,
3733,
279,
29898,
29874,
29892,
289,
1125,
13,
1678,
736,
313,
29874,
1068,
29906,
718,
289,
1068,
29906,
467,
3676,
2141,
7411,
3285,
4842,
305,
29889,
23402,
29906,
29898,
29890,
29892,
263,
467,
7411,
580,
13,
13,
1753,
5731,
29898,
4181,
29918,
3416,
29892,
263,
29892,
289,
1125,
13,
1678,
364,
29892,
278,
941,
353,
304,
29918,
3733,
279,
29898,
29874,
29892,
289,
29897,
13,
1678,
736,
304,
29918,
13823,
18970,
29898,
29878,
29892,
278,
941,
29974,
4181,
29918,
3416,
29897,
13,
13,
1753,
337,
11433,
29898,
29916,
29892,
281,
29892,
269,
29918,
2455,
29892,
2703,
2442,
1125,
13,
1678,
9995,
13,
1678,
921,
448,
313,
29933,
29892,
29928,
29897,
13,
1678,
281,
448,
313,
29933,
29892,
29931,
29930,
29906,
29897,
13,
1678,
269,
29918,
2455,
448,
313,
29933,
29892,
29876,
29897,
13,
1678,
2703,
2442,
448,
313,
29931,
29892,
29876,
29897,
13,
1678,
3639,
343,
29918,
2455,
448,
313,
29933,
29892,
29928,
29897,
13,
1678,
9995,
13,
1678,
281,
29896,
29892,
281,
29906,
353,
281,
7503,
29892,
1057,
29906,
1402,
281,
7503,
29892,
29896,
1057,
29906,
29962,
396,
313,
29928,
29892,
29931,
511,
313,
29928,
29892,
29931,
29897,
13,
1678,
318,
29896,
353,
4842,
305,
29889,
29872,
1144,
398,
877,
11671,
29892,
289,
29881,
1599,
1999,
742,
281,
29896,
29892,
921,
29897,
396,
313,
29933,
29892,
29931,
29897,
13,
1678,
318,
29906,
353,
4842,
305,
29889,
29872,
1144,
398,
877,
11671,
29892,
289,
29881,
1599,
1999,
742,
281,
29906,
29892,
921,
29897,
396,
313,
29933,
29892,
29931,
29897,
13,
1678,
286,
29918,
2455,
353,
4842,
305,
29889,
29872,
1144,
398,
877,
3083,
29892,
11197,
976,
2204,
742,
2703,
2442,
29889,
7411,
3285,
269,
29918,
2455,
29889,
7411,
3101,
396,
313,
29933,
29892,
29931,
29897,
13,
268,
13,
1678,
350,
29892,
365,
353,
318,
29896,
29889,
2311,
580,
29961,
29900,
1402,
318,
29896,
29889,
2311,
580,
29961,
29896,
29962,
13,
1678,
5796,
353,
4842,
305,
29889,
3298,
359,
3552,
29933,
29892,
29931,
29930,
29906,
8106,
29883,
6191,
580,
396,
313,
29933,
29892,
29931,
29930,
29906,
29897,
13,
1678,
5796,
29896,
29892,
5796,
29906,
353,
5731,
29898,
29885,
29918,
2455,
29892,
318,
29896,
29892,
318,
29906,
29897,
396,
313,
29933,
29892,
29931,
511,
313,
29933,
29892,
29931,
29897,
13,
1678,
5796,
7503,
29892,
1057,
29906,
1402,
5796,
7503,
29892,
29896,
1057,
29906,
29962,
353,
5796,
29896,
29892,
5796,
29906,
13,
1678,
343,
29918,
2455,
353,
4842,
305,
29889,
29872,
1144,
398,
877,
19776,
29892,
289,
29926,
1599,
289,
29881,
742,
281,
29892,
5796,
29897,
396,
313,
29933,
29892,
29928,
29897,
13,
1678,
736,
343,
29918,
2455,
13,
13,
1753,
13446,
29918,
2876,
29898,
29884,
29892,
325,
29892,
2703,
2442,
29892,
269,
29892,
413,
29922,
8516,
29892,
286,
29922,
8516,
1125,
13,
1678,
9995,
13,
1678,
10567,
29879,
29901,
13,
1678,
318,
29892,
325,
448,
313,
29933,
29892,
29931,
29930,
29906,
29897,
13,
1678,
2703,
2442,
448,
313,
29931,
29892,
29876,
29897,
13,
1678,
413,
29892,
286,
448,
313,
29933,
29892,
29967,
29897,
13,
1678,
16969,
29901,
13,
1678,
413,
29918,
2455,
29892,
286,
29918,
2455,
448,
313,
29933,
29892,
29967,
511,
988,
435,
353,
1353,
310,
5412,
2703,
387,
294,
429,
22368,
2703,
2442,
353,
313,
29900,
29892,
29900,
29897,
13,
1678,
9995,
13,
1678,
318,
29896,
29892,
318,
29906,
353,
318,
7503,
29892,
1057,
29906,
1402,
318,
7503,
29892,
29896,
1057,
29906,
29962,
396,
313,
29933,
29892,
29931,
29897,
13,
1678,
325,
29896,
29892,
325,
29906,
353,
325,
7503,
29892,
1057,
29906,
1402,
325,
7503,
29892,
29896,
1057,
29906,
29962,
396,
313,
29933,
29892,
29931,
29897,
13,
1678,
350,
29892,
365,
29892,
302,
353,
318,
29896,
29889,
2311,
580,
29961,
29900,
1402,
318,
29896,
29889,
2311,
580,
29961,
29896,
1402,
2703,
2442,
29889,
2311,
580,
29961,
29896,
29962,
13,
1678,
4974,
338,
8758,
29898,
4787,
29892,
4842,
305,
29889,
29883,
6191,
29889,
2928,
29911,
6073,
29897,
13,
268,
13,
1678,
5412,
29918,
4787,
29892,
16402,
29918,
13140,
353,
4842,
305,
29889,
13092,
29898,
4787,
29892,
3964,
29922,
29900,
29892,
736,
29918,
262,
3901,
29922,
5574,
29897,
396,
313,
29967,
29892,
29876,
511,
313,
29931,
29897,
13,
1678,
435,
353,
5412,
29918,
4787,
29889,
2311,
580,
29961,
29900,
29962,
13,
1678,
263,
353,
313,
29884,
29896,
29930,
29894,
29896,
29974,
29884,
29906,
29930,
29894,
29906,
6802,
29879,
1068,
29906,
396,
313,
29933,
29892,
29931,
29897,
13,
1678,
289,
353,
313,
29884,
29896,
29930,
29894,
29906,
29899,
29884,
29906,
29930,
29894,
29896,
6802,
29879,
1068,
29906,
396,
313,
29933,
29892,
29931,
29897,
13,
13,
1678,
3983,
29896,
29892,
3983,
29906,
353,
4842,
305,
29889,
3298,
359,
29898,
29933,
29892,
29931,
29892,
29967,
29892,
10141,
29922,
10141,
511,
4842,
305,
29889,
3298,
359,
29898,
29933,
29892,
29931,
29892,
29967,
29892,
10141,
29922,
10141,
29897,
13,
1678,
3983,
29896,
7503,
29892,
7345,
305,
29889,
279,
927,
29898,
29931,
29892,
10141,
29922,
10141,
511,
262,
3901,
29918,
13140,
29962,
353,
263,
13,
1678,
3983,
29906,
7503,
29892,
7345,
305,
29889,
279,
927,
29898,
29931,
29892,
10141,
29922,
10141,
511,
262,
3901,
29918,
13140,
29962,
353,
289,
13,
1678,
634,
29874,
29918,
2490,
261,
1611,
29918,
29896,
29892,
634,
29874,
29918,
2490,
261,
1611,
29918,
29906,
353,
3983,
29896,
29889,
2083,
29898,
6229,
29922,
29896,
511,
3983,
29906,
29889,
2083,
29898,
6229,
29922,
29896,
29897,
396,
313,
29933,
29892,
29967,
29897,
13,
1678,
5225,
29918,
12772,
353,
313,
13092,
29918,
4787,
1275,
29871,
29900,
467,
497,
29898,
6229,
29922,
29896,
29897,
13,
1678,
634,
29874,
29918,
2490,
261,
1611,
29918,
29896,
7503,
29892,
9171,
29918,
12772,
1402,
634,
29874,
29918,
2490,
261,
1611,
29918,
29906,
7503,
29892,
9171,
29918,
12772,
29962,
353,
29871,
29900,
29892,
29871,
29900,
13,
268,
13,
1678,
565,
413,
338,
451,
6213,
322,
286,
338,
451,
6213,
29901,
13,
4706,
634,
29874,
29918,
29886,
13479,
29918,
29896,
29892,
634,
29874,
29918,
29886,
13479,
29918,
29906,
353,
304,
29918,
13823,
18970,
29898,
29895,
29892,
286,
29897,
396,
313,
29933,
29892,
29967,
511,
313,
29933,
29892,
29967,
29897,
13,
4706,
634,
29874,
29918,
2490,
261,
1611,
29918,
29896,
4619,
634,
29874,
29918,
29886,
13479,
29918,
29896,
13,
4706,
634,
29874,
29918,
2490,
261,
1611,
29918,
29906,
4619,
634,
29874,
29918,
29886,
13479,
29918,
29906,
13,
13,
1678,
413,
29918,
2455,
29892,
286,
29918,
2455,
353,
304,
29918,
3733,
279,
29898,
1187,
29918,
2490,
261,
1611,
29918,
29896,
29892,
634,
29874,
29918,
2490,
261,
1611,
29918,
29906,
29897,
396,
313,
29933,
29892,
29967,
511,
313,
29933,
29892,
29967,
29897,
13,
1678,
736,
413,
29918,
2455,
29892,
286,
29918,
2455,
13,
13,
1753,
10272,
29918,
29939,
29898,
29884,
29892,
325,
29892,
2703,
2442,
29892,
413,
29918,
2455,
29892,
286,
29918,
2455,
29892,
405,
29922,
29896,
29900,
29900,
29892,
2910,
29918,
342,
29922,
8824,
1125,
13,
1678,
9995,
13,
1678,
10567,
29879,
29901,
13,
1678,
318,
29892,
325,
448,
313,
29933,
29892,
29931,
29930,
29906,
29897,
13,
1678,
2703,
2442,
448,
313,
29931,
29892,
29876,
29897,
13,
1678,
413,
29918,
2455,
29892,
286,
29918,
2455,
448,
313,
29933,
29892,
29967,
29897,
13,
1678,
9995,
13,
1678,
350,
29892,
365,
353,
318,
29889,
2311,
580,
29961,
29900,
1402,
938,
29898,
29884,
29889,
2311,
580,
29961,
29896,
16261,
29906,
29897,
13,
1678,
5412,
29918,
4787,
29892,
16402,
29918,
13140,
353,
4842,
305,
29889,
13092,
29898,
4787,
29892,
3964,
29922,
29900,
29892,
736,
29918,
262,
3901,
29922,
5574,
29897,
396,
313,
29967,
29892,
29876,
511,
313,
29931,
29897,
13,
1678,
274,
29892,
269,
353,
3667,
29879,
29889,
6034,
1070,
29918,
29885,
2932,
29918,
1949,
524,
29918,
9910,
29898,
29895,
29918,
2455,
29892,
286,
29918,
2455,
29892,
5412,
29918,
4787,
29892,
5412,
29918,
4787,
29892,
405,
29922,
29940,
29892,
2910,
29918,
342,
29922,
1958,
29918,
342,
29897,
396,
313,
29933,
29892,
29967,
511,
313,
29933,
29892,
29967,
29897,
313,
29900,
29889,
29900,
29900,
29896,
29941,
29879,
29897,
13,
1678,
274,
29892,
269,
353,
274,
7503,
29892,
262,
3901,
29918,
13140,
1402,
269,
7503,
29892,
262,
3901,
29918,
13140,
29962,
396,
313,
29933,
29892,
29931,
511,
313,
29933,
29892,
29931,
29897,
13,
1678,
3855,
29883,
29892,
3855,
29879,
353,
4842,
305,
29889,
6310,
29898,
29933,
29892,
29931,
29930,
29906,
29892,
10141,
29922,
10141,
511,
4842,
305,
29889,
6310,
29898,
29933,
29892,
29931,
29930,
29906,
29892,
10141,
29922,
10141,
29897,
13,
1678,
3855,
29883,
7503,
29892,
1057,
29906,
1402,
3855,
29883,
7503,
29892,
29896,
1057,
29906,
29962,
353,
274,
29889,
16513,
3285,
274,
29889,
16513,
580,
13,
1678,
3855,
29879,
7503,
29892,
1057,
29906,
1402,
3855,
29879,
7503,
29892,
29896,
1057,
29906,
29962,
353,
269,
29889,
16513,
3285,
269,
29889,
16513,
580,
13,
1678,
736,
3855,
29883,
29892,
3855,
29879,
396,
313,
29933,
29892,
29931,
29930,
29906,
21336,
29933,
29892,
29931,
29930,
29906,
511,
3552,
29933,
29892,
29931,
29930,
29906,
21336,
29933,
29892,
29931,
29930,
29906,
876,
13,
13,
1753,
10272,
29918,
2993,
29918,
1707,
29898,
29891,
29892,
282,
1039,
29892,
281,
29892,
15595,
29892,
2703,
2442,
29892,
269,
2934,
29892,
413,
29922,
8516,
29892,
286,
29922,
8516,
29892,
405,
29922,
29896,
29900,
29900,
29892,
2910,
29918,
342,
29922,
8824,
1125,
13,
1678,
921,
353,
4842,
305,
29889,
29872,
1144,
398,
877,
8181,
29892,
29890,
29895,
976,
6448,
742,
6134,
29892,
2312,
29897,
396,
313,
29933,
29892,
29928,
29897,
13,
1678,
318,
353,
4842,
305,
29889,
29872,
1144,
398,
877,
11671,
29892,
6448,
976,
2204,
742,
29893,
29892,
29916,
29897,
396,
313,
29933,
29892,
29931,
29930,
29906,
29897,
13,
1678,
325,
353,
4842,
305,
29889,
29872,
1144,
398,
877,
11671,
29892,
6448,
976,
2204,
742,
29893,
29892,
29891,
29897,
396,
313,
29933,
29892,
29931,
29930,
29906,
29897,
13,
1678,
413,
29918,
2455,
29892,
286,
29918,
2455,
353,
13446,
29918,
2876,
29898,
29884,
29892,
325,
29892,
2703,
2442,
29892,
269,
2934,
29892,
413,
29922,
29895,
29892,
286,
29922,
29885,
29897,
396,
313,
29933,
29892,
29967,
511,
313,
29933,
29892,
29967,
29897,
313,
29900,
29889,
29900,
29900,
29896,
29941,
29879,
29897,
13,
1678,
3855,
353,
10272,
29918,
29939,
29898,
29884,
29892,
325,
29892,
2703,
2442,
29892,
413,
29918,
2455,
29892,
286,
29918,
2455,
29892,
405,
29922,
29940,
29892,
2910,
29918,
342,
29922,
1958,
29918,
342,
29897,
396,
313,
29900,
29889,
29900,
29900,
29896,
29955,
29879,
29897,
13,
1678,
620,
353,
343,
448,
4842,
305,
29889,
29872,
1144,
398,
877,
11671,
29892,
2204,
976,
6448,
742,
29893,
29892,
16109,
29918,
29939,
29898,
29939,
29892,
318,
876,
396,
313,
29933,
29892,
29928,
29897,
13,
1678,
9941,
353,
4842,
305,
29889,
29872,
1144,
398,
877,
11671,
29892,
2204,
976,
6448,
742,
29893,
29892,
16109,
29918,
29939,
29898,
29939,
29892,
4842,
305,
29889,
29872,
1144,
398,
877,
11671,
29892,
6448,
976,
2204,
742,
29893,
29892,
690,
511,
1301,
4220,
29922,
5574,
876,
13,
1678,
736,
921,
29892,
318,
29892,
325,
29892,
413,
29918,
2455,
29892,
286,
29918,
2455,
29892,
3855,
29892,
620,
29892,
9941,
13,
13,
1753,
15065,
29918,
29939,
29898,
29939,
29892,
921,
29892,
1301,
4220,
29922,
8824,
1125,
13,
1678,
3855,
29883,
29892,
3855,
29879,
353,
3855,
29961,
29900,
1402,
3855,
29961,
29896,
29962,
13,
1678,
921,
29883,
353,
921,
29889,
16513,
580,
13,
1678,
14492,
353,
4842,
305,
29889,
3298,
359,
29898,
29916,
29889,
2311,
3285,
10141,
29922,
10141,
29897,
13,
1678,
14492,
7503,
29892,
1057,
29906,
1402,
14492,
7503,
29892,
29896,
1057,
29906,
29962,
353,
448,
29916,
7503,
29892,
29896,
1057,
29906,
1822,
16513,
3285,
921,
7503,
29892,
1057,
29906,
1822,
16513,
580,
13,
1678,
565,
1301,
4220,
29901,
13,
4706,
14492,
353,
448,
10351,
13,
1678,
1121,
353,
3855,
29883,
29930,
21791,
718,
3855,
29879,
29930,
10351,
13,
1678,
736,
1121,
13,
13,
1753,
4656,
29918,
29893,
29898,
29916,
29892,
620,
29892,
281,
29892,
3855,
29892,
269,
2934,
1125,
13,
1678,
350,
353,
921,
29889,
2311,
580,
29961,
29900,
29962,
13,
1678,
281,
690,
29892,
26437,
353,
4842,
305,
29889,
29872,
1144,
398,
877,
11671,
29892,
6448,
976,
2204,
742,
29893,
29892,
690,
511,
4842,
305,
29889,
29872,
1144,
398,
877,
11671,
29892,
6448,
976,
2204,
742,
29893,
29892,
29916,
29897,
13,
1678,
3855,
29893,
690,
29892,
3855,
23310,
353,
15065,
29918,
29939,
29898,
29939,
29892,
281,
690,
29892,
1301,
4220,
29922,
5574,
511,
15065,
29918,
29939,
29898,
29939,
29892,
26437,
29892,
1301,
4220,
29922,
8824,
29897,
13,
1678,
736,
313,
7345,
305,
29889,
29872,
1144,
398,
877,
6448,
29892,
2204,
976,
11671,
742,
29916,
29892,
29939,
29893,
690,
29897,
718,
4842,
305,
29889,
29872,
1144,
398,
877,
6448,
29892,
2204,
976,
11671,
742,
690,
29892,
29939,
23310,
876,
847,
313,
3754,
1068,
29906,
29930,
29933,
29897,
13,
13,
1753,
4656,
29918,
29893,
29918,
1545,
2164,
29898,
29916,
29892,
620,
29892,
281,
29892,
3855,
29892,
269,
2934,
1125,
13,
1678,
350,
353,
921,
29889,
2311,
580,
29961,
29900,
29962,
13,
1678,
281,
690,
29892,
26437,
353,
4842,
305,
29889,
29872,
1144,
398,
877,
11671,
29892,
6448,
976,
2204,
742,
29893,
29892,
690,
511,
4842,
305,
29889,
29872,
1144,
398,
877,
11671,
29892,
6448,
976,
2204,
742,
29893,
29892,
29916,
29897,
13,
1678,
3855,
29893,
690,
29892,
3855,
23310,
353,
15065,
29918,
29939,
29898,
29939,
29892,
281,
690,
29892,
1301,
4220,
29922,
5574,
511,
15065,
29918,
29939,
29898,
29939,
29892,
26437,
29892,
1301,
4220,
29922,
8824,
29897,
13,
1678,
736,
313,
7345,
305,
29889,
29872,
1144,
398,
877,
6448,
29892,
2204,
976,
11671,
742,
29916,
29892,
29939,
29893,
690,
29897,
718,
4842,
305,
29889,
29872,
1144,
398,
877,
6448,
29892,
2204,
976,
11671,
742,
690,
29892,
29939,
23310,
876,
847,
313,
3754,
1068,
29906,
29930,
29933,
29897,
13,
13,
1753,
4656,
29918,
2312,
29898,
5888,
29892,
282,
1039,
29892,
15595,
29892,
12379,
29918,
2312,
29892,
269,
2934,
29892,
301,
1117,
29892,
301,
1117,
29906,
1125,
13,
1678,
736,
4842,
305,
29889,
29872,
1144,
398,
877,
8181,
29892,
6448,
976,
29890,
29895,
742,
6134,
29892,
5888,
29897,
847,
313,
3754,
1068,
29906,
29897,
448,
301,
1117,
29930,
7345,
305,
29889,
4530,
29898,
2312,
29897,
448,
29871,
29906,
29930,
29880,
1117,
29906,
16395,
2312,
448,
12379,
29918,
2312,
29897,
13,
13,
1753,
4656,
29918,
2312,
29918,
1545,
2164,
29898,
5888,
29892,
282,
1039,
29892,
15595,
29892,
12379,
29918,
2312,
29892,
269,
2934,
29892,
301,
1117,
29892,
301,
1117,
29906,
1125,
13,
1678,
736,
4842,
305,
29889,
29872,
1144,
398,
877,
8181,
29892,
6448,
976,
29890,
29895,
742,
6134,
29892,
5888,
29897,
847,
313,
3754,
1068,
29906,
29897,
448,
301,
1117,
29930,
7345,
305,
29889,
4530,
29898,
2312,
29897,
448,
29871,
29906,
29930,
29880,
1117,
29906,
16395,
2312,
448,
12379,
29918,
2312,
29897,
13,
13,
1753,
4656,
29918,
6134,
29898,
5888,
29892,
15595,
29892,
269,
2934,
1125,
13,
1678,
350,
353,
9941,
29889,
2311,
580,
29961,
29900,
29962,
13,
1678,
736,
4842,
305,
29889,
29872,
1144,
398,
877,
6448,
29892,
29890,
29895,
976,
8181,
742,
5888,
29892,
2312,
29897,
847,
313,
3754,
1068,
29906,
334,
350,
29897,
13,
13,
1753,
4656,
29918,
6134,
29918,
1545,
2164,
29898,
6134,
29892,
9941,
29892,
15595,
29892,
269,
2934,
29892,
301,
1117,
1125,
13,
1678,
350,
353,
9941,
29889,
2311,
580,
29961,
29900,
29962,
13,
1678,
1072,
29918,
8489,
353,
4842,
305,
29889,
29872,
1144,
398,
877,
8181,
29892,
29895,
976,
8181,
742,
6134,
29892,
7345,
305,
29889,
6051,
351,
29898,
7345,
305,
29889,
29872,
1144,
398,
877,
8181,
29892,
11671,
976,
6321,
742,
6134,
29892,
6134,
876,
29899,
29896,
29897,
13,
1678,
736,
4842,
305,
29889,
29872,
1144,
398,
877,
6448,
29892,
29890,
29895,
976,
8181,
742,
5888,
29892,
2312,
29897,
847,
313,
3754,
1068,
29906,
334,
350,
29897,
448,
301,
1117,
29930,
1727,
29918,
8489,
13,
13,
1753,
15595,
29918,
5504,
29918,
3738,
1254,
29909,
29898,
29891,
29892,
282,
1039,
29892,
281,
29892,
2703,
2442,
29892,
15595,
29892,
269,
2934,
29892,
301,
1117,
29892,
301,
1117,
29906,
29892,
6576,
29892,
413,
29922,
8516,
29892,
286,
29922,
8516,
29892,
634,
29874,
29918,
2312,
29922,
29900,
29889,
29900,
29900,
29896,
29892,
405,
29922,
29896,
29900,
29900,
29892,
9120,
29922,
8824,
29892,
6492,
29922,
8824,
29892,
2910,
29918,
342,
29922,
8824,
29892,
7744,
573,
29922,
5574,
29892,
7744,
573,
29918,
24530,
29922,
8824,
1125,
13,
1678,
360,
29892,
476,
353,
282,
1039,
29889,
2311,
580,
29961,
29900,
1402,
282,
1039,
29889,
2311,
580,
29961,
29896,
29962,
13,
1678,
18883,
29918,
29876,
29892,
18883,
353,
29871,
29896,
29889,
29900,
29892,
29871,
29896,
29889,
29900,
13,
1678,
12379,
29918,
2312,
29892,
15595,
29918,
29891,
353,
15595,
29889,
16513,
3285,
15595,
29889,
16513,
580,
13,
1678,
565,
7744,
573,
29901,
13,
4706,
281,
6134,
353,
4842,
305,
29889,
4317,
29898,
29893,
29889,
29873,
3285,
6134,
29897,
13,
4706,
17186,
305,
2784,
353,
29871,
29896,
29889,
29945,
29930,
7345,
305,
29889,
3317,
29898,
7345,
305,
29889,
11967,
29872,
335,
29898,
7345,
305,
29889,
4317,
29898,
29893,
6134,
29889,
29873,
3285,
29893,
6134,
511,
29872,
2101,
345,
14359,
29922,
8824,
9601,
29900,
2314,
29914,
3754,
1068,
29906,
13,
4706,
634,
29874,
29918,
2312,
353,
29871,
29896,
29889,
29900,
29914,
492,
567,
305,
2784,
13,
29937,
308,
1596,
29898,
29896,
29914,
1187,
29918,
2312,
29897,
13,
4706,
565,
7744,
573,
29918,
24530,
29901,
13,
9651,
6576,
353,
938,
29898,
29906,
29896,
29930,
7345,
305,
29889,
3676,
29898,
29900,
29889,
29900,
29900,
29896,
29914,
1187,
29918,
2312,
876,
29899,
29896,
13,
29937,
632,
1596,
29898,
1187,
29918,
2312,
29892,
938,
29898,
29906,
29896,
29930,
7345,
305,
29889,
3676,
29898,
29900,
29889,
29900,
29900,
29896,
29914,
1187,
29918,
2312,
876,
29899,
29896,
29897,
13,
1678,
565,
6492,
29901,
13,
4706,
2537,
353,
14770,
29889,
4532,
29898,
1003,
2311,
7607,
29896,
29900,
29892,
29945,
876,
13,
1678,
363,
260,
297,
3464,
29898,
24530,
1125,
13,
4706,
396,
3645,
1244,
3428,
1095,
429,
22368,
10272,
29918,
2993,
29918,
1707,
313,
29900,
29889,
29900,
29900,
29941,
29941,
29879,
29897,
13,
4706,
18883,
353,
18883,
29918,
29876,
13,
4706,
18883,
29918,
29876,
353,
313,
29896,
29974,
9302,
29889,
3676,
29898,
29896,
29974,
29946,
29930,
11178,
1068,
29906,
876,
29914,
29906,
13,
4706,
15595,
29918,
1457,
353,
15595,
29889,
16513,
580,
13,
4706,
921,
29892,
318,
29892,
325,
29892,
413,
29918,
2455,
29892,
286,
29918,
2455,
29892,
3855,
29892,
620,
29892,
9941,
353,
10272,
29918,
2993,
29918,
1707,
29898,
29891,
29892,
282,
1039,
29892,
281,
29892,
15595,
29918,
29891,
29892,
2703,
2442,
29892,
269,
2934,
29892,
413,
29922,
29895,
29892,
286,
29922,
29885,
29892,
405,
29922,
29940,
29892,
2910,
29918,
342,
29922,
1958,
29918,
342,
29897,
396,
313,
29900,
29889,
29900,
29900,
29941,
29906,
29879,
29897,
13,
4706,
565,
9120,
29901,
13,
9651,
270,
2312,
353,
634,
29874,
29898,
29896,
29892,
634,
29874,
29918,
29900,
29922,
1187,
29918,
2312,
11877,
5105,
29918,
2312,
29918,
1545,
2164,
29898,
5888,
29892,
282,
1039,
29892,
15595,
29918,
29891,
29892,
12379,
29918,
2312,
29892,
269,
2934,
29892,
301,
1117,
29892,
301,
1117,
29906,
29897,
13,
4706,
1683,
29901,
13,
9651,
270,
2312,
353,
634,
29874,
29898,
29896,
29892,
634,
29874,
29918,
29900,
29922,
1187,
29918,
2312,
11877,
5105,
29918,
2312,
29898,
5888,
29892,
282,
1039,
29892,
15595,
29918,
29891,
29892,
12379,
29918,
2312,
29892,
269,
2934,
29892,
301,
1117,
29892,
301,
1117,
29906,
29897,
13,
4706,
15595,
353,
313,
2312,
29918,
29891,
718,
270,
2312,
467,
695,
1160,
29898,
1195,
29922,
29900,
1846,
13,
4706,
15595,
29918,
29891,
353,
15595,
718,
313,
11178,
29899,
29896,
6802,
11178,
29918,
29876,
334,
313,
2312,
448,
15595,
29918,
1457,
29897,
13,
308,
13,
4706,
396,
18399,
6410,
322,
15595,
13,
4706,
565,
6492,
322,
260,
1273,
29871,
29896,
1275,
29871,
29900,
29901,
13,
9651,
302,
645,
353,
448,
1188,
29918,
5081,
22342,
29898,
29916,
29892,
343,
29892,
318,
29892,
325,
29892,
282,
1039,
29892,
15595,
29892,
413,
29918,
2455,
29892,
286,
29918,
2455,
29892,
2703,
2442,
29892,
301,
1117,
29892,
301,
1117,
29906,
29892,
269,
2934,
29892,
2099,
29922,
5574,
29892,
405,
29922,
29940,
29892,
9120,
29922,
1545,
2164,
29897,
13,
9651,
2537,
29889,
1202,
29918,
1491,
5317,
29898,
29896,
29892,
29906,
29892,
29896,
29897,
13,
9651,
14770,
29889,
1557,
2620,
29898,
29873,
29892,
302,
645,
29897,
13,
9651,
2537,
29889,
1202,
29918,
1491,
5317,
29898,
29896,
29892,
29906,
29892,
29906,
29897,
13,
9651,
14770,
29889,
1557,
2620,
29898,
9302,
29889,
2873,
29898,
2312,
29889,
2311,
580,
29961,
29896,
2314,
29930,
29873,
29892,
15595,
29961,
29900,
1822,
21970,
2141,
23749,
3285,
274,
29922,
9302,
29889,
279,
927,
29898,
29968,
876,
13,
9651,
2479,
29889,
8551,
29918,
4905,
29898,
10685,
29922,
5574,
29897,
13,
9651,
2479,
29889,
4990,
29898,
572,
29873,
29889,
29887,
6854,
3101,
13,
1678,
565,
6492,
29901,
13,
4706,
2479,
29889,
8551,
29918,
4905,
580,
13,
1678,
736,
15595,
13,
13,
1753,
282,
1039,
29918,
5504,
29898,
6134,
29892,
15595,
29892,
9941,
29892,
269,
2934,
29892,
634,
29874,
29918,
6134,
29892,
301,
1117,
29892,
9120,
29922,
8824,
1125,
13,
1678,
565,
9120,
29901,
13,
4706,
270,
6134,
353,
634,
29874,
29898,
29896,
29892,
634,
29874,
29918,
29900,
29922,
1187,
29918,
6134,
11877,
5105,
29918,
6134,
29918,
1545,
2164,
29898,
6134,
29892,
9941,
29892,
15595,
29892,
269,
2934,
29892,
301,
1117,
29897,
396,
313,
29928,
29892,
29968,
29897,
13,
4706,
716,
29918,
6134,
353,
282,
1039,
718,
270,
6134,
13,
1678,
1683,
29901,
13,
4706,
270,
6134,
353,
634,
29874,
29898,
29896,
29892,
634,
29874,
29918,
29900,
29922,
1187,
29918,
6134,
11877,
5105,
29918,
6134,
29898,
5888,
29892,
15595,
29892,
269,
2934,
29897,
396,
313,
29928,
29892,
29968,
29897,
13,
4706,
716,
29918,
6134,
353,
285,
29889,
8945,
675,
29898,
6134,
718,
270,
6134,
29892,
3964,
29922,
29900,
29897,
13,
29937,
268,
565,
4842,
305,
29889,
275,
13707,
29898,
1482,
29918,
6134,
467,
1384,
7295,
13,
29937,
308,
1596,
703,
797,
4951,
537,
297,
716,
29918,
6134,
29889,
21605,
270,
6134,
353,
29871,
29900,
23157,
13,
29937,
308,
716,
29918,
6134,
353,
282,
1039,
29889,
16513,
580,
13,
1678,
270,
6134,
29918,
2848,
353,
4842,
305,
29889,
12676,
29898,
7345,
305,
29889,
12324,
29898,
1482,
29918,
6134,
448,
282,
1039,
29892,
3964,
29922,
29900,
876,
13,
1678,
282,
1039,
353,
716,
29918,
6134,
29889,
16513,
580,
13,
1678,
736,
282,
1039,
29892,
270,
6134,
29918,
2848,
13,
13,
1753,
281,
29918,
5504,
29918,
374,
24767,
29898,
20640,
3950,
29892,
921,
29892,
281,
29892,
3855,
29892,
620,
29892,
269,
2934,
29892,
9120,
29922,
8824,
1125,
13,
1678,
9995,
13,
1678,
5994,
3950,
448,
1737,
3634,
415,
29889,
20640,
29889,
29934,
23745,
713,
3253,
314,
29914,
479,
3634,
415,
29889,
20640,
29889,
29934,
23745,
713,
26016,
29928,
13,
1678,
282,
1039,
29892,
281,
448,
1737,
3634,
415,
29889,
2517,
361,
1025,
9329,
13,
1678,
9995,
13,
1678,
281,
29918,
1025,
353,
281,
29889,
16513,
580,
13,
1678,
5994,
3950,
29889,
9171,
29918,
5105,
580,
13,
1678,
565,
9120,
29901,
13,
4706,
281,
29889,
5105,
353,
448,
5105,
29918,
29893,
29918,
1545,
2164,
29898,
29916,
29892,
620,
29892,
281,
29892,
3855,
29892,
269,
2934,
29897,
13,
1678,
1683,
29901,
13,
4706,
281,
29889,
5105,
353,
448,
5105,
29918,
29893,
29898,
29916,
29892,
620,
29892,
281,
29892,
3855,
29892,
269,
2934,
29897,
13,
1678,
5994,
3950,
29889,
10568,
580,
13,
1678,
11988,
29918,
12324,
353,
4842,
305,
29889,
12324,
29898,
29893,
448,
281,
29918,
1025,
29897,
13,
1678,
736,
281,
29892,
11988,
29918,
12324,
13,
13,
1753,
1480,
29918,
5081,
22342,
29898,
29916,
29892,
343,
29892,
318,
29892,
325,
29892,
282,
1039,
29892,
15595,
29892,
413,
29918,
2455,
29892,
286,
29918,
2455,
29892,
2703,
2442,
29892,
301,
1117,
29892,
301,
1117,
29906,
29892,
269,
29892,
2099,
29922,
5574,
29892,
405,
29922,
29896,
29900,
29900,
29892,
9120,
29922,
8824,
29892,
2910,
29918,
342,
29922,
8824,
1125,
13,
1678,
9995,
13,
1678,
11796,
267,
1480,
4188,
22342,
29889,
13,
1678,
921,
29892,
343,
448,
313,
29933,
29892,
29928,
29897,
13,
1678,
318,
29892,
325,
448,
313,
29933,
29892,
29931,
29930,
29906,
29897,
13,
1678,
2703,
2442,
448,
313,
29931,
29892,
29876,
29897,
13,
1678,
413,
29918,
2455,
29892,
286,
29918,
2455,
448,
313,
29933,
29892,
29967,
29897,
13,
1678,
22680,
413,
353,
29871,
29900,
29892,
286,
353,
29871,
29900,
13,
1678,
9995,
13,
1678,
360,
353,
921,
29889,
2311,
580,
29961,
29896,
29962,
13,
1678,
318,
29896,
29892,
318,
29906,
353,
318,
7503,
29892,
1057,
29906,
1402,
318,
7503,
29892,
29896,
1057,
29906,
29962,
13,
1678,
325,
29896,
29892,
325,
29906,
353,
325,
7503,
29892,
1057,
29906,
1402,
325,
7503,
29892,
29896,
1057,
29906,
29962,
13,
1678,
413,
29892,
286,
353,
4842,
305,
29889,
3298,
359,
29898,
29895,
29918,
2455,
29889,
2311,
3285,
10141,
29922,
10141,
511,
4842,
305,
29889,
3298,
359,
29898,
29885,
29918,
2455,
29889,
2311,
3285,
10141,
29922,
10141,
29897,
396,
313,
29933,
29892,
29967,
511,
313,
29933,
29892,
29967,
29897,
13,
1678,
5412,
29918,
4787,
353,
4842,
305,
29889,
13092,
29898,
4787,
29892,
3964,
29922,
29900,
29897,
396,
313,
29967,
29897,
13,
1678,
796,
29918,
8489,
353,
3667,
29879,
29889,
1188,
29918,
29999,
29918,
1949,
524,
29918,
9910,
29898,
29895,
29918,
2455,
29892,
286,
29918,
2455,
29892,
5412,
29918,
4787,
29892,
405,
29922,
29940,
29892,
2910,
29918,
342,
29922,
1958,
29918,
342,
29897,
448,
3667,
29879,
29889,
1188,
29918,
29999,
29918,
1949,
524,
29918,
9910,
29898,
29895,
29892,
286,
29892,
5412,
29918,
4787,
29892,
405,
29922,
29940,
29892,
2910,
29918,
342,
29922,
1958,
29918,
342,
29897,
396,
313,
29933,
29897,
13,
1678,
4868,
29918,
8489,
353,
448,
5135,
29884,
1068,
29906,
467,
2083,
29898,
6229,
29922,
29896,
7240,
29898,
29891,
1068,
29906,
467,
2083,
29898,
6229,
29922,
29896,
876,
14571,
29906,
29930,
29879,
1068,
29906,
29897,
396,
313,
29933,
29897,
13,
1678,
5225,
29918,
12772,
353,
313,
4787,
1275,
29871,
29900,
467,
497,
29898,
6229,
29922,
29896,
29897,
13,
1678,
318,
29896,
29900,
29892,
318,
29906,
29900,
353,
318,
29896,
7503,
29892,
9171,
29918,
12772,
1402,
318,
29906,
7503,
29892,
9171,
29918,
12772,
29962,
13,
1678,
325,
29896,
29900,
29892,
325,
29906,
29900,
353,
325,
29896,
7503,
29892,
9171,
29918,
12772,
1402,
325,
29906,
7503,
29892,
9171,
29918,
12772,
29962,
13,
1678,
565,
7431,
29898,
9171,
29918,
12772,
29897,
1405,
29871,
29900,
29901,
13,
4706,
5225,
29918,
8489,
353,
313,
7345,
305,
29889,
29872,
1144,
398,
877,
11197,
29892,
11197,
976,
29890,
742,
29884,
29896,
29900,
29892,
29894,
29896,
29900,
29897,
718,
4842,
305,
29889,
29872,
1144,
398,
877,
11197,
29892,
11197,
976,
29890,
742,
29884,
29906,
29900,
29892,
29894,
29906,
29900,
876,
29914,
29879,
1068,
29906,
396,
313,
29933,
29897,
13,
1678,
1683,
29901,
13,
4706,
5225,
29918,
8489,
353,
4842,
305,
29889,
3298,
359,
29898,
29916,
29889,
2311,
580,
29961,
29900,
1402,
10141,
29922,
10141,
29897,
396,
313,
29933,
29897,
13,
308,
13,
1678,
9853,
29918,
1188,
29918,
5081,
22342,
353,
796,
29918,
8489,
718,
4868,
29918,
8489,
718,
5225,
29918,
8489,
448,
301,
1117,
29930,
2312,
29889,
12324,
29898,
29886,
29922,
29896,
29892,
6229,
29922,
29896,
29897,
396,
313,
29933,
29897,
13,
1678,
565,
9120,
29901,
13,
4706,
9853,
29918,
1188,
29918,
5081,
22342,
22361,
301,
1117,
29906,
29930,
7345,
305,
29889,
12324,
29898,
7345,
305,
29889,
6051,
351,
29898,
7345,
305,
29889,
29872,
1144,
398,
877,
8181,
29892,
11671,
976,
6321,
742,
6134,
29892,
6134,
876,
29899,
29896,
29897,
1068,
29906,
396,
349,
1039,
4943,
2133,
1840,
13,
1678,
565,
2099,
29901,
13,
4706,
736,
4842,
305,
29889,
12676,
29898,
16175,
29918,
1188,
29918,
5081,
22342,
467,
21970,
2141,
23749,
580,
396,
313,
29896,
29897,
13,
1678,
1683,
29901,
13,
4706,
736,
9853,
29918,
1188,
29918,
5081,
22342,
29889,
21970,
2141,
23749,
580,
396,
313,
29933,
29897,
2
] |
setup.py | olgabot/NouGAT | 5 | 94298 | #!/usr/bin/env python
from nougat import __version__
from setuptools import setup
version = __version__
try:
with open("requirements.txt", "r") as f:
install_requires = [x.strip() for x in f.readlines()]
except IOError:
install_requires = []
setup(name='nougat',
version=version,
description= 'An automated analysis pipeline for de novo assembly',
author='<NAME>',
author_email='<EMAIL>',
url='https://github.com/SciLifeLab/NouGAT',
license='MIT',
scripts=['nougat/deNovo_pipeline.py'],
packages=['nougat'],
namespace_packages=['nougat'],
entry_points={
'console_scripts': [
'scilifelab_denovo = sciLifeLab_utils.run_denovo:main',
],
},
install_requires=install_requires
)
| [
1,
18787,
4855,
29914,
2109,
29914,
6272,
3017,
13,
3166,
302,
692,
271,
1053,
4770,
3259,
1649,
13,
3166,
731,
21245,
8789,
1053,
6230,
13,
13,
3259,
353,
4770,
3259,
1649,
13,
13,
2202,
29901,
13,
1678,
411,
1722,
703,
12277,
1860,
29889,
3945,
613,
376,
29878,
1159,
408,
285,
29901,
13,
4706,
2601,
29918,
276,
339,
2658,
353,
518,
29916,
29889,
17010,
580,
363,
921,
297,
285,
29889,
949,
9012,
580,
29962,
13,
19499,
10663,
2392,
29901,
13,
1678,
2601,
29918,
276,
339,
2658,
353,
5159,
13,
13,
13,
14669,
29898,
978,
2433,
29876,
692,
271,
742,
13,
1678,
1873,
29922,
3259,
29892,
13,
1678,
6139,
29922,
525,
2744,
3345,
630,
7418,
16439,
363,
316,
2420,
29877,
11470,
742,
13,
1678,
4148,
2433,
29966,
5813,
29958,
742,
13,
1678,
4148,
29918,
5269,
2433,
29966,
26862,
6227,
29958,
742,
13,
1678,
3142,
2433,
991,
597,
3292,
29889,
510,
29914,
29903,
455,
26754,
28632,
29914,
29940,
283,
29954,
1299,
742,
13,
1678,
19405,
2433,
26349,
742,
13,
1678,
12078,
29922,
1839,
29876,
692,
271,
29914,
311,
29940,
6962,
29918,
13096,
5570,
29889,
2272,
7464,
13,
1678,
9741,
29922,
1839,
29876,
692,
271,
7464,
13,
1678,
7397,
29918,
8318,
29922,
1839,
29876,
692,
271,
7464,
13,
13,
1678,
6251,
29918,
9748,
3790,
13,
4706,
525,
11058,
29918,
16713,
2396,
518,
13,
9651,
525,
1557,
309,
361,
295,
370,
29918,
1145,
6962,
353,
4560,
26754,
28632,
29918,
13239,
29889,
3389,
29918,
1145,
6962,
29901,
3396,
742,
13,
4706,
21251,
13,
1678,
2981,
13,
1678,
2601,
29918,
276,
339,
2658,
29922,
6252,
29918,
276,
339,
2658,
13,
29897,
13,
2
] |
tools/lint/lib/checks/negative.py | maiermic/test262 | 0 | 1616291 | <reponame>maiermic/test262
import re
from ..check import Check
_THROW_STMT = re.compile(
r'^\$DONOTEVALUATE\(\);$',
re.MULTILINE)
_THROW_STMT_LEGACY = re.compile(
r'^throw "Test262: This statement should not be evaluated\.";$',
re.MULTILINE)
class CheckNegative(Check):
'''Ensure tests have the expected YAML-formatted metadata.'''
ID = 'NEGATIVE'
def run(self, name, meta, source):
if meta is None or meta.get('negative') is None:
return
negative = meta['negative']
if not isinstance(negative, dict):
return '"negative" must be a dictionary with fields "type" and "phase"'
if not 'type' in negative:
return '"negative" must specify a "type" field'
if not 'phase' in negative:
return '"negative" must specify a "phase" field'
if negative["phase"] in ["parse", "resolution"]:
if meta.get('flags') and 'raw' in meta['flags']:
if not _THROW_STMT_LEGACY.search(source):
return 'Negative tests of type "early" must include a `throw` statement'
elif not _THROW_STMT.search(source):
return 'Negative tests of type "early" must include a $DONOTEVALUATE() call'
| [
1,
529,
276,
1112,
420,
29958,
655,
631,
13076,
29914,
1688,
29906,
29953,
29906,
13,
5215,
337,
13,
3166,
6317,
3198,
1053,
5399,
13,
13,
29918,
4690,
25180,
29918,
1254,
11490,
353,
337,
29889,
12198,
29898,
13,
418,
364,
29915,
3823,
29938,
29928,
1164,
2891,
29923,
8932,
29965,
3040,
29905,
1194,
416,
29938,
742,
13,
418,
337,
29889,
29924,
8647,
6227,
8895,
29897,
13,
13,
29918,
4690,
25180,
29918,
1254,
11490,
29918,
1307,
29954,
2477,
29979,
353,
337,
29889,
12198,
29898,
13,
418,
364,
29915,
29985,
20539,
376,
3057,
29906,
29953,
29906,
29901,
910,
3229,
881,
451,
367,
19030,
29905,
1213,
29936,
29938,
742,
13,
418,
337,
29889,
29924,
8647,
6227,
8895,
29897,
13,
13,
1990,
5399,
29940,
387,
1230,
29898,
5596,
1125,
13,
1678,
14550,
29923,
1983,
545,
6987,
505,
278,
3806,
612,
23956,
29899,
689,
19667,
15562,
29889,
12008,
13,
1678,
3553,
353,
525,
8186,
29954,
1299,
18474,
29915,
13,
13,
1678,
822,
1065,
29898,
1311,
29892,
1024,
29892,
12700,
29892,
2752,
1125,
13,
4706,
565,
12700,
338,
6213,
470,
12700,
29889,
657,
877,
22198,
1495,
338,
6213,
29901,
13,
9651,
736,
13,
13,
4706,
8178,
353,
12700,
1839,
22198,
2033,
13,
4706,
565,
451,
338,
8758,
29898,
22198,
29892,
9657,
1125,
13,
9651,
736,
18793,
22198,
29908,
1818,
367,
263,
8600,
411,
4235,
376,
1853,
29908,
322,
376,
21646,
29908,
29915,
13,
13,
4706,
565,
451,
525,
1853,
29915,
297,
8178,
29901,
13,
9651,
736,
18793,
22198,
29908,
1818,
6084,
263,
376,
1853,
29908,
1746,
29915,
13,
13,
4706,
565,
451,
525,
21646,
29915,
297,
8178,
29901,
13,
9651,
736,
18793,
22198,
29908,
1818,
6084,
263,
376,
21646,
29908,
1746,
29915,
13,
13,
4706,
565,
8178,
3366,
21646,
3108,
297,
6796,
5510,
613,
376,
9778,
918,
3108,
29901,
13,
9651,
565,
12700,
29889,
657,
877,
15764,
1495,
322,
525,
1610,
29915,
297,
12700,
1839,
15764,
2033,
29901,
13,
18884,
565,
451,
903,
4690,
25180,
29918,
1254,
11490,
29918,
1307,
29954,
2477,
29979,
29889,
4478,
29898,
4993,
1125,
13,
462,
1678,
736,
525,
29940,
387,
1230,
6987,
310,
1134,
376,
799,
368,
29908,
1818,
3160,
263,
421,
20539,
29952,
3229,
29915,
13,
9651,
25342,
451,
903,
4690,
25180,
29918,
1254,
11490,
29889,
4478,
29898,
4993,
1125,
13,
18884,
736,
525,
29940,
387,
1230,
6987,
310,
1134,
376,
799,
368,
29908,
1818,
3160,
263,
395,
29928,
1164,
2891,
29923,
8932,
29965,
3040,
580,
1246,
29915,
13,
2
] |
pyaud_plugins/__init__.py | jshwi/pyaud | 2 | 102256 | """
plugins
=======
"""
from . import modules
__all__ = ["modules"]
| [
1,
9995,
13,
12800,
13,
2751,
25512,
13,
15945,
29908,
13,
3166,
869,
1053,
10585,
13,
13,
1649,
497,
1649,
353,
6796,
7576,
3108,
13,
2
] |
fiftyone/core/patches.py | SNeugber/fiftyone | 0 | 8282 | """
Patches views.
| Copyright 2017-2021, Voxel51, Inc.
| `voxel51.com <https://voxel51.com/>`_
|
"""
from copy import deepcopy
import eta.core.utils as etau
import fiftyone.core.aggregations as foa
import fiftyone.core.dataset as fod
import fiftyone.core.fields as fof
import fiftyone.core.labels as fol
import fiftyone.core.media as fom
import fiftyone.core.sample as fos
import fiftyone.core.view as fov
_SINGLE_TYPES_MAP = {
fol.Detections: fol.Detection,
fol.Polylines: fol.Polyline,
}
_PATCHES_TYPES = (fol.Detections, fol.Polylines)
_NO_MATCH_ID = ""
class _PatchView(fos.SampleView):
@property
def _sample_id(self):
return self._doc.sample_id
def save(self):
super().save()
self._view._sync_source_sample(self)
class PatchView(_PatchView):
"""A patch in a :class:`PatchesView`.
:class:`PatchView` instances should not be created manually; they are
generated by iterating over :class:`PatchesView` instances.
Args:
doc: a :class:`fiftyone.core.odm.DatasetSampleDocument`
view: the :class:`PatchesView` that the patch belongs to
selected_fields (None): a set of field names that this view is
restricted to
excluded_fields (None): a set of field names that are excluded from
this view
filtered_fields (None): a set of field names of list fields that are
filtered in this view
"""
pass
class EvaluationPatchView(_PatchView):
"""A patch in an :class:`EvaluationPatchesView`.
:class:`EvaluationPatchView` instances should not be created manually; they
are generated by iterating over :class:`EvaluationPatchesView` instances.
Args:
doc: a :class:`fiftyone.core.odm.DatasetSampleDocument`
view: the :class:`EvaluationPatchesView` that the patch belongs to
selected_fields (None): a set of field names that this view is
restricted to
excluded_fields (None): a set of field names that are excluded from
this view
filtered_fields (None): a set of field names of list fields that are
filtered in this view
"""
pass
class _PatchesView(fov.DatasetView):
def __init__(
self, source_collection, patches_stage, patches_dataset, _stages=None
):
if _stages is None:
_stages = []
self._source_collection = source_collection
self._patches_stage = patches_stage
self._patches_dataset = patches_dataset
self.__stages = _stages
def __copy__(self):
return self.__class__(
self._source_collection,
deepcopy(self._patches_stage),
self._patches_dataset,
_stages=deepcopy(self.__stages),
)
@property
def _base_view(self):
return self.__class__(
self._source_collection,
self._patches_stage,
self._patches_dataset,
)
@property
def _dataset(self):
return self._patches_dataset
@property
def _root_dataset(self):
return self._source_collection._root_dataset
@property
def _stages(self):
return self.__stages
@property
def _all_stages(self):
return (
self._source_collection.view()._all_stages
+ [self._patches_stage]
+ self.__stages
)
@property
def _label_fields(self):
raise NotImplementedError("subclass must implement _label_fields")
@property
def _element_str(self):
return "patch"
@property
def _elements_str(self):
return "patches"
@property
def name(self):
return self.dataset_name + "-patches"
@classmethod
def _get_default_sample_fields(
cls, include_private=False, use_db_fields=False
):
fields = super()._get_default_sample_fields(
include_private=include_private, use_db_fields=use_db_fields
)
if use_db_fields:
return fields + ("_sample_id",)
return fields + ("sample_id",)
def set_values(self, field_name, *args, **kwargs):
field = field_name.split(".", 1)[0]
must_sync = field in self._label_fields
# The `set_values()` operation could change the contents of this view,
# so we first record the sample IDs that need to be synced
if must_sync and self._stages:
ids = self.values("_id")
else:
ids = None
super().set_values(field_name, *args, **kwargs)
if must_sync:
self._sync_source_field(field, ids=ids)
def save(self, fields=None):
"""Overwrites the object patches in the source dataset with the
contents of the view.
If this view contains any additional fields that were not extracted
from the source dataset, these fields are not saved.
.. warning::
This will permanently delete any omitted, filtered, or otherwise
modified patches from the source dataset.
Args:
fields (None): an optional field or list of fields to save. If
specified, only these fields are overwritten
"""
if etau.is_str(fields):
fields = [fields]
super().save(fields=fields)
if fields is None:
fields = self._label_fields
else:
fields = [l for l in fields if l in self._label_fields]
#
# IMPORTANT: we sync the contents of `_patches_dataset`, not `self`
# here because the `save()` call above updated the dataset, which means
# this view may no longer have the same contents (e.g., if `skip()` is
# involved)
#
self._sync_source_root(fields)
def reload(self):
self._root_dataset.reload()
#
# Regenerate the patches dataset
#
# This assumes that calling `load_view()` when the current patches
# dataset has been deleted will cause a new one to be generated
#
self._patches_dataset.delete()
_view = self._patches_stage.load_view(self._source_collection)
self._patches_dataset = _view._patches_dataset
def _sync_source_sample(self, sample):
for field in self._label_fields:
self._sync_source_sample_field(sample, field)
def _sync_source_sample_field(self, sample, field):
label_type = self._patches_dataset._get_label_field_type(field)
is_list_field = issubclass(label_type, fol._LABEL_LIST_FIELDS)
doc = sample._doc.field_to_mongo(field)
if is_list_field:
doc = doc[label_type._LABEL_LIST_FIELD]
self._source_collection._set_labels_by_id(
field, [sample.sample_id], [doc]
)
def _sync_source_field(self, field, ids=None):
_, label_path = self._patches_dataset._get_label_field_path(field)
if ids is not None:
view = self._patches_dataset.mongo(
[{"$match": {"_id": {"$in": ids}}}]
)
else:
view = self._patches_dataset
sample_ids, docs = view.aggregate(
[foa.Values("sample_id"), foa.Values(label_path, _raw=True)]
)
self._source_collection._set_labels_by_id(field, sample_ids, docs)
def _sync_source_root(self, fields):
for field in fields:
self._sync_source_root_field(field)
def _sync_source_root_field(self, field):
_, id_path = self._get_label_field_path(field, "id")
label_path = id_path.rsplit(".", 1)[0]
#
# Sync label updates
#
sample_ids, docs, label_ids = self._patches_dataset.aggregate(
[
foa.Values("sample_id"),
foa.Values(label_path, _raw=True),
foa.Values(id_path, unwind=True),
]
)
self._source_collection._set_labels_by_id(field, sample_ids, docs)
#
# Sync label deletions
#
_, src_id_path = self._source_collection._get_label_field_path(
field, "id"
)
src_ids = self._source_collection.values(src_id_path, unwind=True)
delete_ids = set(src_ids) - set(label_ids)
if delete_ids:
self._source_collection._dataset.delete_labels(
ids=delete_ids, fields=field
)
def _get_ids_map(self, field):
label_type = self._patches_dataset._get_label_field_type(field)
is_list_field = issubclass(label_type, fol._LABEL_LIST_FIELDS)
_, id_path = self._get_label_field_path(field, "id")
sample_ids, label_ids = self.values(["id", id_path])
ids_map = {}
if is_list_field:
for sample_id, _label_ids in zip(sample_ids, label_ids):
if not _label_ids:
continue
for label_id in _label_ids:
ids_map[label_id] = sample_id
else:
for sample_id, label_id in zip(sample_ids, label_ids):
if not label_id:
continue
ids_map[label_id] = sample_id
return ids_map
class PatchesView(_PatchesView):
"""A :class:`fiftyone.core.view.DatasetView` of patches from a
:class:`fiftyone.core.dataset.Dataset`.
Patches views contain an ordered collection of patch samples, each of which
contains a subset of a sample of the parent dataset corresponding to a
single object or logical grouping of of objects.
Patches retrieved from patches views are returned as :class:`PatchView`
objects.
Args:
source_collection: the
:class:`fiftyone.core.collections.SampleCollection` from which this
view was created
patches_stage: the :class:`fiftyone.core.stages.ToPatches` stage that
defines how the patches were extracted
patches_dataset: the :class:`fiftyone.core.dataset.Dataset` that serves
the patches in this view
"""
_SAMPLE_CLS = PatchView
def __init__(
self, source_collection, patches_stage, patches_dataset, _stages=None
):
super().__init__(
source_collection, patches_stage, patches_dataset, _stages=_stages
)
self._patches_field = patches_stage.field
@property
def _label_fields(self):
return [self._patches_field]
@property
def patches_field(self):
"""The field from which the patches in this view were extracted."""
return self._patches_field
class EvaluationPatchesView(_PatchesView):
"""A :class:`fiftyone.core.view.DatasetView` containing evaluation patches
from a :class:`fiftyone.core.dataset.Dataset`.
Evalation patches views contain an ordered collection of evaluation
examples, each of which contains the ground truth and/or predicted labels
for a true positive, false positive, or false negative example from an
evaluation run on the underlying dataset.
Patches retrieved from patches views are returned as
:class:`EvaluationPatchView` objects.
Args:
source_collection: the
:class:`fiftyone.core.collections.SampleCollection` from which this
view was created
patches_stage: the :class:`fiftyone.core.stages.ToEvaluationPatches`
stage that defines how the patches were extracted
patches_dataset: the :class:`fiftyone.core.dataset.Dataset` that serves
the patches in this view
"""
_SAMPLE_CLS = EvaluationPatchView
def __init__(
self, source_collection, patches_stage, patches_dataset, _stages=None
):
super().__init__(
source_collection, patches_stage, patches_dataset, _stages=_stages
)
eval_key = patches_stage.eval_key
eval_info = source_collection.get_evaluation_info(eval_key)
self._gt_field = eval_info.config.gt_field
self._pred_field = eval_info.config.pred_field
@property
def _label_fields(self):
return [self._gt_field, self._pred_field]
@property
def gt_field(self):
"""The ground truth field for the evaluation patches in this view."""
return self._gt_field
@property
def pred_field(self):
"""The predictions field for the evaluation patches in this view."""
return self._pred_field
def make_patches_dataset(
sample_collection, field, keep_label_lists=False, name=None
):
"""Creates a dataset that contains one sample per object patch in the
specified field of the collection.
Fields other than ``field`` and the default sample fields will not be
included in the returned dataset. A ``sample_id`` field will be added that
records the sample ID from which each patch was taken.
Args:
sample_collection: a
:class:`fiftyone.core.collections.SampleCollection`
field: the patches field, which must be of type
:class:`fiftyone.core.labels.Detections` or
:class:`fiftyone.core.labels.Polylines`
keep_label_lists (False): whether to store the patches in label list
fields of the same type as the input collection rather than using
their single label variants
name (None): a name for the returned dataset
Returns:
a :class:`fiftyone.core.dataset.Dataset`
"""
if keep_label_lists:
field_type = sample_collection._get_label_field_type(field)
else:
field_type = _get_single_label_field_type(sample_collection, field)
dataset = fod.Dataset(name, _patches=True)
dataset.media_type = fom.IMAGE
dataset.add_sample_field(
"sample_id", fof.ObjectIdField, db_field="_sample_id"
)
dataset.add_sample_field(
field, fof.EmbeddedDocumentField, embedded_doc_type=field_type
)
patches_view = _make_patches_view(
sample_collection, field, keep_label_lists=keep_label_lists
)
_write_samples(dataset, patches_view)
return dataset
def _get_single_label_field_type(sample_collection, field):
label_type = sample_collection._get_label_field_type(field)
if label_type not in _SINGLE_TYPES_MAP:
raise ValueError("Unsupported label field type %s" % label_type)
return _SINGLE_TYPES_MAP[label_type]
def make_evaluation_dataset(sample_collection, eval_key, name=None):
"""Creates a dataset based on the results of the evaluation with the given
key that contains one sample for each true positive, false positive, and
false negative example in the input collection, respectively.
True positive examples will result in samples with both their ground truth
and predicted fields populated, while false positive/negative examples will
only have one of their corresponding predicted/ground truth fields
populated, respectively.
If multiple predictions are matched to a ground truth object (e.g., if the
evaluation protocol includes a crowd attribute), then all matched
predictions will be stored in the single sample along with the ground truth
object.
The returned dataset will also have top-level ``type`` and ``iou`` fields
populated based on the evaluation results for that example, as well as a
``sample_id`` field recording the sample ID of the example, and a ``crowd``
field if the evaluation protocol defines a crowd attribute.
.. note::
The returned dataset will contain patches for the contents of the input
collection, which may differ from the view on which the ``eval_key``
evaluation was performed. This may exclude some labels that were
evaluated and/or include labels that were not evaluated.
If you would like to see patches for the exact view on which an
evaluation was performed, first call
:meth:`load_evaluation_view() <fiftyone.core.collections.SampleCollection.load_evaluation_view>`
to load the view and then convert to patches.
Args:
sample_collection: a
:class:`fiftyone.core.collections.SampleCollection`
eval_key: an evaluation key that corresponds to the evaluation of
ground truth/predicted fields that are of type
:class:`fiftyone.core.labels.Detections` or
:class:`fiftyone.core.labels.Polylines`
name (None): a name for the returned dataset
Returns:
a :class:`fiftyone.core.dataset.Dataset`
"""
# Parse evaluation info
eval_info = sample_collection.get_evaluation_info(eval_key)
pred_field = eval_info.config.pred_field
gt_field = eval_info.config.gt_field
if hasattr(eval_info.config, "iscrowd"):
crowd_attr = eval_info.config.iscrowd
else:
crowd_attr = None
pred_type = sample_collection._get_label_field_type(pred_field)
gt_type = sample_collection._get_label_field_type(gt_field)
# Setup dataset with correct schema
dataset = fod.Dataset(name, _patches=True)
dataset.media_type = fom.IMAGE
dataset.add_sample_field(
pred_field, fof.EmbeddedDocumentField, embedded_doc_type=pred_type
)
dataset.add_sample_field(
gt_field, fof.EmbeddedDocumentField, embedded_doc_type=gt_type
)
dataset.add_sample_field(
"sample_id", fof.ObjectIdField, db_field="_sample_id"
)
dataset.add_sample_field("type", fof.StringField)
dataset.add_sample_field("iou", fof.FloatField)
if crowd_attr is not None:
dataset.add_sample_field("crowd", fof.BooleanField)
# Add ground truth patches
gt_view = _make_eval_view(
sample_collection, eval_key, gt_field, crowd_attr=crowd_attr
)
_write_samples(dataset, gt_view)
# Merge matched predictions
_merge_matched_labels(dataset, sample_collection, eval_key, pred_field)
# Add unmatched predictions
unmatched_pred_view = _make_eval_view(
sample_collection, eval_key, pred_field, skip_matched=True
)
_add_samples(dataset, unmatched_pred_view)
return dataset
def _make_patches_view(sample_collection, field, keep_label_lists=False):
if sample_collection._is_frames:
raise ValueError(
"Creating patches views into frame views is not yet supported"
)
if sample_collection._is_frame_field(field):
raise ValueError(
"Frame label patches cannot be directly extracted; you must first "
"convert your video dataset to frames via `to_frames()`"
)
label_type = sample_collection._get_label_field_type(field)
if issubclass(label_type, _PATCHES_TYPES):
list_field = field + "." + label_type._LABEL_LIST_FIELD
else:
raise ValueError(
"Invalid label field type %s. Extracting patches is only "
"supported for the following types: %s"
% (label_type, _PATCHES_TYPES)
)
pipeline = [
{
"$project": {
"_id": True,
"_sample_id": "$_id",
"_media_type": True,
"filepath": True,
"metadata": True,
"tags": True,
field + "._cls": True,
list_field: True,
}
},
{"$unwind": "$" + list_field},
{"$set": {"_rand": {"$rand": {}}}},
{"$set": {"_id": "$" + list_field + "._id"}},
]
if keep_label_lists:
pipeline.append({"$set": {list_field: ["$" + list_field]}})
else:
pipeline.append({"$set": {field: "$" + list_field}})
return sample_collection.mongo(pipeline)
def _make_eval_view(
sample_collection, eval_key, field, skip_matched=False, crowd_attr=None
):
eval_type = field + "." + eval_key
eval_id = field + "." + eval_key + "_id"
eval_iou = field + "." + eval_key + "_iou"
view = _make_patches_view(sample_collection, field)
if skip_matched:
view = view.mongo(
[
{
"$match": {
"$expr": {
"$or": [
{"$eq": ["$" + eval_id, _NO_MATCH_ID]},
{"$not": {"$gt": ["$" + eval_id, None]}},
]
}
}
}
]
)
view = view.mongo(
[{"$set": {"type": "$" + eval_type, "iou": "$" + eval_iou}}]
)
if crowd_attr is not None:
crowd_path1 = "$" + field + "." + crowd_attr
# @todo remove Attributes usage
crowd_path2 = "$" + field + ".attributes." + crowd_attr + ".value"
view = view.mongo(
[
{
"$set": {
"crowd": {
"$cond": {
"if": {"$gt": [crowd_path1, None]},
"then": {"$toBool": crowd_path1},
"else": {
"$cond": {
"if": {"$gt": [crowd_path2, None]},
"then": {"$toBool": crowd_path2},
"else": None,
}
},
}
}
}
}
]
)
return _upgrade_labels(view, field)
def _upgrade_labels(view, field):
tmp_field = "_" + field
label_type = view._get_label_field_type(field)
return view.mongo(
[
{"$set": {tmp_field: "$" + field}},
{"$unset": field},
{
"$set": {
field: {
"_cls": label_type.__name__,
label_type._LABEL_LIST_FIELD: ["$" + tmp_field],
}
}
},
{"$unset": tmp_field},
]
)
def _merge_matched_labels(dataset, src_collection, eval_key, field):
field_type = src_collection._get_label_field_type(field)
list_field = field + "." + field_type._LABEL_LIST_FIELD
eval_id = eval_key + "_id"
eval_field = list_field + "." + eval_id
pipeline = src_collection._pipeline(detach_frames=True)
pipeline.extend(
[
{"$project": {list_field: True}},
{"$unwind": "$" + list_field},
{
"$match": {
"$expr": {
"$and": [
{"$gt": ["$" + eval_field, None]},
{"$ne": ["$" + eval_field, _NO_MATCH_ID]},
]
}
}
},
{
"$group": {
"_id": {"$toObjectId": "$" + eval_field},
"_labels": {"$push": "$" + list_field},
}
},
{
"$project": {
field: {
"_cls": field_type.__name__,
field_type._LABEL_LIST_FIELD: "$_labels",
}
},
},
{
"$merge": {
"into": dataset._sample_collection_name,
"on": "_id",
"whenMatched": "merge",
"whenNotMatched": "discard",
}
},
]
)
src_collection._dataset._aggregate(pipeline=pipeline, attach_frames=False)
def _write_samples(dataset, src_collection):
pipeline = src_collection._pipeline(detach_frames=True)
pipeline.append({"$out": dataset._sample_collection_name})
src_collection._dataset._aggregate(pipeline=pipeline, attach_frames=False)
def _add_samples(dataset, src_collection):
pipeline = src_collection._pipeline(detach_frames=True)
pipeline.append(
{
"$merge": {
"into": dataset._sample_collection_name,
"on": "_id",
"whenMatched": "keepExisting",
"whenNotMatched": "insert",
}
}
)
src_collection._dataset._aggregate(pipeline=pipeline, attach_frames=False)
| [
1,
9995,
13,
29925,
905,
267,
8386,
29889,
13,
13,
29989,
14187,
1266,
29871,
29906,
29900,
29896,
29955,
29899,
29906,
29900,
29906,
29896,
29892,
478,
2251,
295,
29945,
29896,
29892,
9266,
29889,
13,
29989,
421,
1365,
29916,
295,
29945,
29896,
29889,
510,
529,
991,
597,
1365,
29916,
295,
29945,
29896,
29889,
510,
3779,
29952,
29918,
13,
29989,
13,
15945,
29908,
13,
3166,
3509,
1053,
6483,
8552,
13,
13,
5215,
634,
29874,
29889,
3221,
29889,
13239,
408,
634,
585,
13,
13,
5215,
19044,
650,
29889,
3221,
29889,
26193,
800,
408,
1701,
29874,
13,
5215,
19044,
650,
29889,
3221,
29889,
24713,
408,
285,
397,
13,
5215,
19044,
650,
29889,
3221,
29889,
9621,
408,
285,
974,
13,
5215,
19044,
650,
29889,
3221,
29889,
21134,
408,
900,
13,
5215,
19044,
650,
29889,
3221,
29889,
9799,
408,
285,
290,
13,
5215,
19044,
650,
29889,
3221,
29889,
11249,
408,
14452,
13,
5215,
19044,
650,
29889,
3221,
29889,
1493,
408,
285,
586,
13,
13,
13,
29918,
29903,
4214,
1307,
29918,
15631,
29925,
2890,
29918,
23827,
353,
426,
13,
1678,
900,
29889,
29928,
2650,
1953,
29901,
900,
29889,
29928,
2650,
428,
29892,
13,
1678,
900,
29889,
7713,
2904,
1475,
29901,
900,
29889,
7713,
29891,
1220,
29892,
13,
29913,
13,
29918,
29925,
14789,
2890,
29918,
15631,
29925,
2890,
353,
313,
4542,
29889,
29928,
2650,
1953,
29892,
900,
29889,
7713,
2904,
1475,
29897,
13,
29918,
6632,
29918,
29924,
14789,
29918,
1367,
353,
5124,
13,
13,
13,
1990,
903,
29925,
905,
1043,
29898,
29888,
359,
29889,
17708,
1043,
1125,
13,
1678,
732,
6799,
13,
1678,
822,
903,
11249,
29918,
333,
29898,
1311,
1125,
13,
4706,
736,
1583,
3032,
1514,
29889,
11249,
29918,
333,
13,
13,
1678,
822,
4078,
29898,
1311,
1125,
13,
4706,
2428,
2141,
7620,
580,
13,
4706,
1583,
3032,
1493,
3032,
16593,
29918,
4993,
29918,
11249,
29898,
1311,
29897,
13,
13,
13,
1990,
349,
905,
1043,
7373,
29925,
905,
1043,
1125,
13,
1678,
9995,
29909,
13261,
297,
263,
584,
1990,
18078,
29925,
905,
267,
1043,
1412,
13,
13,
1678,
584,
1990,
18078,
29925,
905,
1043,
29952,
8871,
881,
451,
367,
2825,
7522,
29936,
896,
526,
13,
1678,
5759,
491,
4256,
1218,
975,
584,
1990,
18078,
29925,
905,
267,
1043,
29952,
8871,
29889,
13,
13,
1678,
826,
3174,
29901,
13,
4706,
1574,
29901,
263,
584,
1990,
18078,
28491,
1017,
650,
29889,
3221,
29889,
397,
29885,
29889,
16390,
24541,
17708,
6268,
29952,
13,
4706,
1776,
29901,
278,
584,
1990,
18078,
29925,
905,
267,
1043,
29952,
393,
278,
13261,
14393,
304,
13,
4706,
4629,
29918,
9621,
313,
8516,
1125,
263,
731,
310,
1746,
2983,
393,
445,
1776,
338,
13,
9651,
22078,
304,
13,
4706,
429,
13347,
29918,
9621,
313,
8516,
1125,
263,
731,
310,
1746,
2983,
393,
526,
429,
13347,
515,
13,
9651,
445,
1776,
13,
4706,
22289,
29918,
9621,
313,
8516,
1125,
263,
731,
310,
1746,
2983,
310,
1051,
4235,
393,
526,
13,
9651,
22289,
297,
445,
1776,
13,
1678,
9995,
13,
13,
1678,
1209,
13,
13,
13,
1990,
382,
4387,
362,
29925,
905,
1043,
7373,
29925,
905,
1043,
1125,
13,
1678,
9995,
29909,
13261,
297,
385,
584,
1990,
18078,
29923,
4387,
362,
29925,
905,
267,
1043,
1412,
13,
13,
1678,
584,
1990,
18078,
29923,
4387,
362,
29925,
905,
1043,
29952,
8871,
881,
451,
367,
2825,
7522,
29936,
896,
13,
1678,
526,
5759,
491,
4256,
1218,
975,
584,
1990,
18078,
29923,
4387,
362,
29925,
905,
267,
1043,
29952,
8871,
29889,
13,
13,
1678,
826,
3174,
29901,
13,
4706,
1574,
29901,
263,
584,
1990,
18078,
28491,
1017,
650,
29889,
3221,
29889,
397,
29885,
29889,
16390,
24541,
17708,
6268,
29952,
13,
4706,
1776,
29901,
278,
584,
1990,
18078,
29923,
4387,
362,
29925,
905,
267,
1043,
29952,
393,
278,
13261,
14393,
304,
13,
4706,
4629,
29918,
9621,
313,
8516,
1125,
263,
731,
310,
1746,
2983,
393,
445,
1776,
338,
13,
9651,
22078,
304,
13,
4706,
429,
13347,
29918,
9621,
313,
8516,
1125,
263,
731,
310,
1746,
2983,
393,
526,
429,
13347,
515,
13,
9651,
445,
1776,
13,
4706,
22289,
29918,
9621,
313,
8516,
1125,
263,
731,
310,
1746,
2983,
310,
1051,
4235,
393,
526,
13,
9651,
22289,
297,
445,
1776,
13,
1678,
9995,
13,
13,
1678,
1209,
13,
13,
13,
1990,
903,
29925,
905,
267,
1043,
29898,
29888,
586,
29889,
16390,
24541,
1043,
1125,
13,
1678,
822,
4770,
2344,
12035,
13,
4706,
1583,
29892,
2752,
29918,
10855,
29892,
13261,
267,
29918,
19190,
29892,
13261,
267,
29918,
24713,
29892,
903,
303,
1179,
29922,
8516,
13,
268,
1125,
13,
4706,
565,
903,
303,
1179,
338,
6213,
29901,
13,
9651,
903,
303,
1179,
353,
5159,
13,
13,
4706,
1583,
3032,
4993,
29918,
10855,
353,
2752,
29918,
10855,
13,
4706,
1583,
3032,
5041,
267,
29918,
19190,
353,
13261,
267,
29918,
19190,
13,
4706,
1583,
3032,
5041,
267,
29918,
24713,
353,
13261,
267,
29918,
24713,
13,
4706,
1583,
17255,
303,
1179,
353,
903,
303,
1179,
13,
13,
1678,
822,
4770,
8552,
12035,
1311,
1125,
13,
4706,
736,
1583,
17255,
1990,
12035,
13,
9651,
1583,
3032,
4993,
29918,
10855,
29892,
13,
9651,
6483,
8552,
29898,
1311,
3032,
5041,
267,
29918,
19190,
511,
13,
9651,
1583,
3032,
5041,
267,
29918,
24713,
29892,
13,
9651,
903,
303,
1179,
29922,
24535,
8552,
29898,
1311,
17255,
303,
1179,
511,
13,
4706,
1723,
13,
13,
1678,
732,
6799,
13,
1678,
822,
903,
3188,
29918,
1493,
29898,
1311,
1125,
13,
4706,
736,
1583,
17255,
1990,
12035,
13,
9651,
1583,
3032,
4993,
29918,
10855,
29892,
13,
9651,
1583,
3032,
5041,
267,
29918,
19190,
29892,
13,
9651,
1583,
3032,
5041,
267,
29918,
24713,
29892,
13,
4706,
1723,
13,
13,
1678,
732,
6799,
13,
1678,
822,
903,
24713,
29898,
1311,
1125,
13,
4706,
736,
1583,
3032,
5041,
267,
29918,
24713,
13,
13,
1678,
732,
6799,
13,
1678,
822,
903,
4632,
29918,
24713,
29898,
1311,
1125,
13,
4706,
736,
1583,
3032,
4993,
29918,
10855,
3032,
4632,
29918,
24713,
13,
13,
1678,
732,
6799,
13,
1678,
822,
903,
303,
1179,
29898,
1311,
1125,
13,
4706,
736,
1583,
17255,
303,
1179,
13,
13,
1678,
732,
6799,
13,
1678,
822,
903,
497,
29918,
303,
1179,
29898,
1311,
1125,
13,
4706,
736,
313,
13,
9651,
1583,
3032,
4993,
29918,
10855,
29889,
1493,
2141,
29918,
497,
29918,
303,
1179,
13,
9651,
718,
518,
1311,
3032,
5041,
267,
29918,
19190,
29962,
13,
9651,
718,
1583,
17255,
303,
1179,
13,
4706,
1723,
13,
13,
1678,
732,
6799,
13,
1678,
822,
903,
1643,
29918,
9621,
29898,
1311,
1125,
13,
4706,
12020,
2216,
1888,
2037,
287,
2392,
703,
1491,
1990,
1818,
2334,
903,
1643,
29918,
9621,
1159,
13,
13,
1678,
732,
6799,
13,
1678,
822,
903,
5029,
29918,
710,
29898,
1311,
1125,
13,
4706,
736,
376,
5041,
29908,
13,
13,
1678,
732,
6799,
13,
1678,
822,
903,
17664,
29918,
710,
29898,
1311,
1125,
13,
4706,
736,
376,
5041,
267,
29908,
13,
13,
1678,
732,
6799,
13,
1678,
822,
1024,
29898,
1311,
1125,
13,
4706,
736,
1583,
29889,
24713,
29918,
978,
718,
11663,
5041,
267,
29908,
13,
13,
1678,
732,
1990,
5696,
13,
1678,
822,
903,
657,
29918,
4381,
29918,
11249,
29918,
9621,
29898,
13,
4706,
1067,
29879,
29892,
3160,
29918,
9053,
29922,
8824,
29892,
671,
29918,
2585,
29918,
9621,
29922,
8824,
13,
268,
1125,
13,
4706,
4235,
353,
2428,
2141,
29918,
657,
29918,
4381,
29918,
11249,
29918,
9621,
29898,
13,
9651,
3160,
29918,
9053,
29922,
2856,
29918,
9053,
29892,
671,
29918,
2585,
29918,
9621,
29922,
1509,
29918,
2585,
29918,
9621,
13,
4706,
1723,
13,
13,
4706,
565,
671,
29918,
2585,
29918,
9621,
29901,
13,
9651,
736,
4235,
718,
4852,
29918,
11249,
29918,
333,
613,
29897,
13,
13,
4706,
736,
4235,
718,
4852,
11249,
29918,
333,
613,
29897,
13,
13,
1678,
822,
731,
29918,
5975,
29898,
1311,
29892,
1746,
29918,
978,
29892,
334,
5085,
29892,
3579,
19290,
1125,
13,
4706,
1746,
353,
1746,
29918,
978,
29889,
5451,
17350,
613,
29871,
29896,
9601,
29900,
29962,
13,
4706,
1818,
29918,
16593,
353,
1746,
297,
1583,
3032,
1643,
29918,
9621,
13,
13,
4706,
396,
450,
421,
842,
29918,
5975,
2555,
5858,
1033,
1735,
278,
8118,
310,
445,
1776,
29892,
13,
4706,
396,
577,
591,
937,
2407,
278,
4559,
23481,
393,
817,
304,
367,
5222,
1133,
13,
4706,
565,
1818,
29918,
16593,
322,
1583,
3032,
303,
1179,
29901,
13,
9651,
18999,
353,
1583,
29889,
5975,
703,
29918,
333,
1159,
13,
4706,
1683,
29901,
13,
9651,
18999,
353,
6213,
13,
13,
4706,
2428,
2141,
842,
29918,
5975,
29898,
2671,
29918,
978,
29892,
334,
5085,
29892,
3579,
19290,
29897,
13,
13,
4706,
565,
1818,
29918,
16593,
29901,
13,
9651,
1583,
3032,
16593,
29918,
4993,
29918,
2671,
29898,
2671,
29892,
18999,
29922,
4841,
29897,
13,
13,
1678,
822,
4078,
29898,
1311,
29892,
4235,
29922,
8516,
1125,
13,
4706,
9995,
3563,
8231,
267,
278,
1203,
13261,
267,
297,
278,
2752,
8783,
411,
278,
13,
4706,
8118,
310,
278,
1776,
29889,
13,
13,
4706,
960,
445,
1776,
3743,
738,
5684,
4235,
393,
892,
451,
23892,
13,
4706,
515,
278,
2752,
8783,
29892,
1438,
4235,
526,
451,
7160,
29889,
13,
13,
4706,
6317,
9177,
1057,
13,
13,
9651,
910,
674,
9410,
2705,
5217,
738,
25811,
29892,
22289,
29892,
470,
6467,
13,
9651,
9120,
13261,
267,
515,
278,
2752,
8783,
29889,
13,
13,
4706,
826,
3174,
29901,
13,
9651,
4235,
313,
8516,
1125,
385,
13136,
1746,
470,
1051,
310,
4235,
304,
4078,
29889,
960,
13,
18884,
6790,
29892,
871,
1438,
4235,
526,
975,
17625,
13,
4706,
9995,
13,
4706,
565,
634,
585,
29889,
275,
29918,
710,
29898,
9621,
1125,
13,
9651,
4235,
353,
518,
9621,
29962,
13,
13,
4706,
2428,
2141,
7620,
29898,
9621,
29922,
9621,
29897,
13,
13,
4706,
565,
4235,
338,
6213,
29901,
13,
9651,
4235,
353,
1583,
3032,
1643,
29918,
9621,
13,
4706,
1683,
29901,
13,
9651,
4235,
353,
518,
29880,
363,
301,
297,
4235,
565,
301,
297,
1583,
3032,
1643,
29918,
9621,
29962,
13,
13,
4706,
396,
13,
4706,
396,
306,
3580,
8476,
13566,
29901,
591,
16523,
278,
8118,
310,
19392,
5041,
267,
29918,
24713,
1673,
451,
421,
1311,
29952,
13,
4706,
396,
1244,
1363,
278,
421,
7620,
2555,
1246,
2038,
4784,
278,
8783,
29892,
607,
2794,
13,
4706,
396,
445,
1776,
1122,
694,
5520,
505,
278,
1021,
8118,
313,
29872,
29889,
29887,
1696,
565,
421,
11014,
2555,
338,
13,
4706,
396,
9701,
29897,
13,
4706,
396,
13,
13,
4706,
1583,
3032,
16593,
29918,
4993,
29918,
4632,
29898,
9621,
29897,
13,
13,
1678,
822,
19763,
29898,
1311,
1125,
13,
4706,
1583,
3032,
4632,
29918,
24713,
29889,
28120,
580,
13,
13,
4706,
396,
13,
4706,
396,
2169,
759,
403,
278,
13261,
267,
8783,
13,
4706,
396,
13,
4706,
396,
910,
15894,
393,
5432,
421,
1359,
29918,
1493,
2555,
746,
278,
1857,
13261,
267,
13,
4706,
396,
8783,
756,
1063,
11132,
674,
4556,
263,
716,
697,
304,
367,
5759,
13,
4706,
396,
13,
13,
4706,
1583,
3032,
5041,
267,
29918,
24713,
29889,
8143,
580,
13,
4706,
903,
1493,
353,
1583,
3032,
5041,
267,
29918,
19190,
29889,
1359,
29918,
1493,
29898,
1311,
3032,
4993,
29918,
10855,
29897,
13,
4706,
1583,
3032,
5041,
267,
29918,
24713,
353,
903,
1493,
3032,
5041,
267,
29918,
24713,
13,
13,
1678,
822,
903,
16593,
29918,
4993,
29918,
11249,
29898,
1311,
29892,
4559,
1125,
13,
4706,
363,
1746,
297,
1583,
3032,
1643,
29918,
9621,
29901,
13,
9651,
1583,
3032,
16593,
29918,
4993,
29918,
11249,
29918,
2671,
29898,
11249,
29892,
1746,
29897,
13,
13,
1678,
822,
903,
16593,
29918,
4993,
29918,
11249,
29918,
2671,
29898,
1311,
29892,
4559,
29892,
1746,
1125,
13,
4706,
3858,
29918,
1853,
353,
1583,
3032,
5041,
267,
29918,
24713,
3032,
657,
29918,
1643,
29918,
2671,
29918,
1853,
29898,
2671,
29897,
13,
4706,
338,
29918,
1761,
29918,
2671,
353,
338,
1491,
1990,
29898,
1643,
29918,
1853,
29892,
900,
3032,
24461,
6670,
29918,
24360,
29918,
3738,
6670,
8452,
29897,
13,
13,
4706,
1574,
353,
4559,
3032,
1514,
29889,
2671,
29918,
517,
29918,
29885,
7443,
29898,
2671,
29897,
13,
4706,
565,
338,
29918,
1761,
29918,
2671,
29901,
13,
9651,
1574,
353,
1574,
29961,
1643,
29918,
1853,
3032,
24461,
6670,
29918,
24360,
29918,
3738,
27286,
29962,
13,
13,
4706,
1583,
3032,
4993,
29918,
10855,
3032,
842,
29918,
21134,
29918,
1609,
29918,
333,
29898,
13,
9651,
1746,
29892,
518,
11249,
29889,
11249,
29918,
333,
1402,
518,
1514,
29962,
13,
4706,
1723,
13,
13,
1678,
822,
903,
16593,
29918,
4993,
29918,
2671,
29898,
1311,
29892,
1746,
29892,
18999,
29922,
8516,
1125,
13,
4706,
17117,
3858,
29918,
2084,
353,
1583,
3032,
5041,
267,
29918,
24713,
3032,
657,
29918,
1643,
29918,
2671,
29918,
2084,
29898,
2671,
29897,
13,
13,
4706,
565,
18999,
338,
451,
6213,
29901,
13,
9651,
1776,
353,
1583,
3032,
5041,
267,
29918,
24713,
29889,
29885,
7443,
29898,
13,
18884,
518,
6377,
29938,
4352,
1115,
8853,
29918,
333,
1115,
8853,
29938,
262,
1115,
18999,
930,
6525,
13,
9651,
1723,
13,
4706,
1683,
29901,
13,
9651,
1776,
353,
1583,
3032,
5041,
267,
29918,
24713,
13,
13,
4706,
4559,
29918,
4841,
29892,
10561,
353,
1776,
29889,
26193,
403,
29898,
13,
9651,
518,
1181,
29874,
29889,
9065,
703,
11249,
29918,
333,
4968,
1701,
29874,
29889,
9065,
29898,
1643,
29918,
2084,
29892,
903,
1610,
29922,
5574,
4638,
13,
4706,
1723,
13,
13,
4706,
1583,
3032,
4993,
29918,
10855,
3032,
842,
29918,
21134,
29918,
1609,
29918,
333,
29898,
2671,
29892,
4559,
29918,
4841,
29892,
10561,
29897,
13,
13,
1678,
822,
903,
16593,
29918,
4993,
29918,
4632,
29898,
1311,
29892,
4235,
1125,
13,
4706,
363,
1746,
297,
4235,
29901,
13,
9651,
1583,
3032,
16593,
29918,
4993,
29918,
4632,
29918,
2671,
29898,
2671,
29897,
13,
13,
1678,
822,
903,
16593,
29918,
4993,
29918,
4632,
29918,
2671,
29898,
1311,
29892,
1746,
1125,
13,
4706,
17117,
1178,
29918,
2084,
353,
1583,
3032,
657,
29918,
1643,
29918,
2671,
29918,
2084,
29898,
2671,
29892,
376,
333,
1159,
13,
4706,
3858,
29918,
2084,
353,
1178,
29918,
2084,
29889,
2288,
2830,
17350,
613,
29871,
29896,
9601,
29900,
29962,
13,
13,
4706,
396,
13,
4706,
396,
317,
2720,
3858,
11217,
13,
4706,
396,
13,
13,
4706,
4559,
29918,
4841,
29892,
10561,
29892,
3858,
29918,
4841,
353,
1583,
3032,
5041,
267,
29918,
24713,
29889,
26193,
403,
29898,
13,
9651,
518,
13,
18884,
1701,
29874,
29889,
9065,
703,
11249,
29918,
333,
4968,
13,
18884,
1701,
29874,
29889,
9065,
29898,
1643,
29918,
2084,
29892,
903,
1610,
29922,
5574,
511,
13,
18884,
1701,
29874,
29889,
9065,
29898,
333,
29918,
2084,
29892,
443,
14800,
29922,
5574,
511,
13,
9651,
4514,
13,
4706,
1723,
13,
13,
4706,
1583,
3032,
4993,
29918,
10855,
3032,
842,
29918,
21134,
29918,
1609,
29918,
333,
29898,
2671,
29892,
4559,
29918,
4841,
29892,
10561,
29897,
13,
13,
4706,
396,
13,
4706,
396,
317,
2720,
3858,
7374,
1080,
13,
4706,
396,
13,
13,
4706,
17117,
4765,
29918,
333,
29918,
2084,
353,
1583,
3032,
4993,
29918,
10855,
3032,
657,
29918,
1643,
29918,
2671,
29918,
2084,
29898,
13,
9651,
1746,
29892,
376,
333,
29908,
13,
4706,
1723,
13,
4706,
4765,
29918,
4841,
353,
1583,
3032,
4993,
29918,
10855,
29889,
5975,
29898,
4351,
29918,
333,
29918,
2084,
29892,
443,
14800,
29922,
5574,
29897,
13,
4706,
5217,
29918,
4841,
353,
731,
29898,
4351,
29918,
4841,
29897,
448,
731,
29898,
1643,
29918,
4841,
29897,
13,
13,
4706,
565,
5217,
29918,
4841,
29901,
13,
9651,
1583,
3032,
4993,
29918,
10855,
3032,
24713,
29889,
8143,
29918,
21134,
29898,
13,
18884,
18999,
29922,
8143,
29918,
4841,
29892,
4235,
29922,
2671,
13,
9651,
1723,
13,
13,
1678,
822,
903,
657,
29918,
4841,
29918,
1958,
29898,
1311,
29892,
1746,
1125,
13,
4706,
3858,
29918,
1853,
353,
1583,
3032,
5041,
267,
29918,
24713,
3032,
657,
29918,
1643,
29918,
2671,
29918,
1853,
29898,
2671,
29897,
13,
4706,
338,
29918,
1761,
29918,
2671,
353,
338,
1491,
1990,
29898,
1643,
29918,
1853,
29892,
900,
3032,
24461,
6670,
29918,
24360,
29918,
3738,
6670,
8452,
29897,
13,
13,
4706,
17117,
1178,
29918,
2084,
353,
1583,
3032,
657,
29918,
1643,
29918,
2671,
29918,
2084,
29898,
2671,
29892,
376,
333,
1159,
13,
13,
4706,
4559,
29918,
4841,
29892,
3858,
29918,
4841,
353,
1583,
29889,
5975,
29898,
3366,
333,
613,
1178,
29918,
2084,
2314,
13,
13,
4706,
18999,
29918,
1958,
353,
6571,
13,
4706,
565,
338,
29918,
1761,
29918,
2671,
29901,
13,
9651,
363,
4559,
29918,
333,
29892,
903,
1643,
29918,
4841,
297,
14319,
29898,
11249,
29918,
4841,
29892,
3858,
29918,
4841,
1125,
13,
18884,
565,
451,
903,
1643,
29918,
4841,
29901,
13,
462,
1678,
6773,
13,
13,
18884,
363,
3858,
29918,
333,
297,
903,
1643,
29918,
4841,
29901,
13,
462,
1678,
18999,
29918,
1958,
29961,
1643,
29918,
333,
29962,
353,
4559,
29918,
333,
13,
13,
4706,
1683,
29901,
13,
9651,
363,
4559,
29918,
333,
29892,
3858,
29918,
333,
297,
14319,
29898,
11249,
29918,
4841,
29892,
3858,
29918,
4841,
1125,
13,
18884,
565,
451,
3858,
29918,
333,
29901,
13,
462,
1678,
6773,
13,
13,
18884,
18999,
29918,
1958,
29961,
1643,
29918,
333,
29962,
353,
4559,
29918,
333,
13,
13,
4706,
736,
18999,
29918,
1958,
13,
13,
13,
1990,
349,
905,
267,
1043,
7373,
29925,
905,
267,
1043,
1125,
13,
1678,
9995,
29909,
584,
1990,
18078,
28491,
1017,
650,
29889,
3221,
29889,
1493,
29889,
16390,
24541,
1043,
29952,
310,
13261,
267,
515,
263,
13,
1678,
584,
1990,
18078,
28491,
1017,
650,
29889,
3221,
29889,
24713,
29889,
16390,
24541,
1412,
13,
13,
1678,
349,
905,
267,
8386,
1712,
385,
10372,
4333,
310,
13261,
11916,
29892,
1269,
310,
607,
13,
1678,
3743,
263,
11306,
310,
263,
4559,
310,
278,
3847,
8783,
6590,
304,
263,
13,
1678,
2323,
1203,
470,
16667,
27270,
310,
310,
3618,
29889,
13,
13,
1678,
349,
905,
267,
27387,
515,
13261,
267,
8386,
526,
4133,
408,
584,
1990,
18078,
29925,
905,
1043,
29952,
13,
1678,
3618,
29889,
13,
13,
1678,
826,
3174,
29901,
13,
4706,
2752,
29918,
10855,
29901,
278,
13,
9651,
584,
1990,
18078,
28491,
1017,
650,
29889,
3221,
29889,
29027,
29889,
17708,
7196,
29952,
515,
607,
445,
13,
9651,
1776,
471,
2825,
13,
4706,
13261,
267,
29918,
19190,
29901,
278,
584,
1990,
18078,
28491,
1017,
650,
29889,
3221,
29889,
303,
1179,
29889,
1762,
29925,
905,
267,
29952,
7408,
393,
13,
9651,
17645,
920,
278,
13261,
267,
892,
23892,
13,
4706,
13261,
267,
29918,
24713,
29901,
278,
584,
1990,
18078,
28491,
1017,
650,
29889,
3221,
29889,
24713,
29889,
16390,
24541,
29952,
393,
19700,
13,
9651,
278,
13261,
267,
297,
445,
1776,
13,
1678,
9995,
13,
13,
1678,
903,
8132,
3580,
1307,
29918,
6154,
29903,
353,
349,
905,
1043,
13,
13,
1678,
822,
4770,
2344,
12035,
13,
4706,
1583,
29892,
2752,
29918,
10855,
29892,
13261,
267,
29918,
19190,
29892,
13261,
267,
29918,
24713,
29892,
903,
303,
1179,
29922,
8516,
13,
268,
1125,
13,
4706,
2428,
2141,
1649,
2344,
12035,
13,
9651,
2752,
29918,
10855,
29892,
13261,
267,
29918,
19190,
29892,
13261,
267,
29918,
24713,
29892,
903,
303,
1179,
29922,
29918,
303,
1179,
13,
4706,
1723,
13,
13,
4706,
1583,
3032,
5041,
267,
29918,
2671,
353,
13261,
267,
29918,
19190,
29889,
2671,
13,
13,
1678,
732,
6799,
13,
1678,
822,
903,
1643,
29918,
9621,
29898,
1311,
1125,
13,
4706,
736,
518,
1311,
3032,
5041,
267,
29918,
2671,
29962,
13,
13,
1678,
732,
6799,
13,
1678,
822,
13261,
267,
29918,
2671,
29898,
1311,
1125,
13,
4706,
9995,
1576,
1746,
515,
607,
278,
13261,
267,
297,
445,
1776,
892,
23892,
1213,
15945,
13,
4706,
736,
1583,
3032,
5041,
267,
29918,
2671,
13,
13,
13,
1990,
382,
4387,
362,
29925,
905,
267,
1043,
7373,
29925,
905,
267,
1043,
1125,
13,
1678,
9995,
29909,
584,
1990,
18078,
28491,
1017,
650,
29889,
3221,
29889,
1493,
29889,
16390,
24541,
1043,
29952,
6943,
17983,
13261,
267,
13,
1678,
515,
263,
584,
1990,
18078,
28491,
1017,
650,
29889,
3221,
29889,
24713,
29889,
16390,
24541,
1412,
13,
13,
1678,
382,
791,
362,
13261,
267,
8386,
1712,
385,
10372,
4333,
310,
17983,
13,
1678,
6455,
29892,
1269,
310,
607,
3743,
278,
5962,
8760,
322,
29914,
272,
25383,
11073,
13,
1678,
363,
263,
1565,
6374,
29892,
2089,
6374,
29892,
470,
2089,
8178,
1342,
515,
385,
13,
1678,
17983,
1065,
373,
278,
14407,
8783,
29889,
13,
13,
1678,
349,
905,
267,
27387,
515,
13261,
267,
8386,
526,
4133,
408,
13,
1678,
584,
1990,
18078,
29923,
4387,
362,
29925,
905,
1043,
29952,
3618,
29889,
13,
13,
1678,
826,
3174,
29901,
13,
4706,
2752,
29918,
10855,
29901,
278,
13,
9651,
584,
1990,
18078,
28491,
1017,
650,
29889,
3221,
29889,
29027,
29889,
17708,
7196,
29952,
515,
607,
445,
13,
9651,
1776,
471,
2825,
13,
4706,
13261,
267,
29918,
19190,
29901,
278,
584,
1990,
18078,
28491,
1017,
650,
29889,
3221,
29889,
303,
1179,
29889,
1762,
29923,
4387,
362,
29925,
905,
267,
29952,
13,
9651,
7408,
393,
17645,
920,
278,
13261,
267,
892,
23892,
13,
4706,
13261,
267,
29918,
24713,
29901,
278,
584,
1990,
18078,
28491,
1017,
650,
29889,
3221,
29889,
24713,
29889,
16390,
24541,
29952,
393,
19700,
13,
9651,
278,
13261,
267,
297,
445,
1776,
13,
1678,
9995,
13,
13,
1678,
903,
8132,
3580,
1307,
29918,
6154,
29903,
353,
382,
4387,
362,
29925,
905,
1043,
13,
13,
1678,
822,
4770,
2344,
12035,
13,
4706,
1583,
29892,
2752,
29918,
10855,
29892,
13261,
267,
29918,
19190,
29892,
13261,
267,
29918,
24713,
29892,
903,
303,
1179,
29922,
8516,
13,
268,
1125,
13,
4706,
2428,
2141,
1649,
2344,
12035,
13,
9651,
2752,
29918,
10855,
29892,
13261,
267,
29918,
19190,
29892,
13261,
267,
29918,
24713,
29892,
903,
303,
1179,
29922,
29918,
303,
1179,
13,
4706,
1723,
13,
13,
4706,
19745,
29918,
1989,
353,
13261,
267,
29918,
19190,
29889,
14513,
29918,
1989,
13,
4706,
19745,
29918,
3888,
353,
2752,
29918,
10855,
29889,
657,
29918,
24219,
362,
29918,
3888,
29898,
14513,
29918,
1989,
29897,
13,
4706,
1583,
3032,
4141,
29918,
2671,
353,
19745,
29918,
3888,
29889,
2917,
29889,
4141,
29918,
2671,
13,
4706,
1583,
3032,
11965,
29918,
2671,
353,
19745,
29918,
3888,
29889,
2917,
29889,
11965,
29918,
2671,
13,
13,
1678,
732,
6799,
13,
1678,
822,
903,
1643,
29918,
9621,
29898,
1311,
1125,
13,
4706,
736,
518,
1311,
3032,
4141,
29918,
2671,
29892,
1583,
3032,
11965,
29918,
2671,
29962,
13,
13,
1678,
732,
6799,
13,
1678,
822,
330,
29873,
29918,
2671,
29898,
1311,
1125,
13,
4706,
9995,
1576,
5962,
8760,
1746,
363,
278,
17983,
13261,
267,
297,
445,
1776,
1213,
15945,
13,
4706,
736,
1583,
3032,
4141,
29918,
2671,
13,
13,
1678,
732,
6799,
13,
1678,
822,
4450,
29918,
2671,
29898,
1311,
1125,
13,
4706,
9995,
1576,
27303,
1746,
363,
278,
17983,
13261,
267,
297,
445,
1776,
1213,
15945,
13,
4706,
736,
1583,
3032,
11965,
29918,
2671,
13,
13,
13,
1753,
1207,
29918,
5041,
267,
29918,
24713,
29898,
13,
1678,
4559,
29918,
10855,
29892,
1746,
29892,
3013,
29918,
1643,
29918,
21513,
29922,
8824,
29892,
1024,
29922,
8516,
13,
1125,
13,
1678,
9995,
9832,
1078,
263,
8783,
393,
3743,
697,
4559,
639,
1203,
13261,
297,
278,
13,
1678,
6790,
1746,
310,
278,
4333,
29889,
13,
13,
1678,
8989,
29879,
916,
1135,
4954,
2671,
16159,
322,
278,
2322,
4559,
4235,
674,
451,
367,
13,
1678,
5134,
297,
278,
4133,
8783,
29889,
319,
4954,
11249,
29918,
333,
16159,
1746,
674,
367,
2715,
393,
13,
1678,
6475,
278,
4559,
3553,
515,
607,
1269,
13261,
471,
4586,
29889,
13,
13,
1678,
826,
3174,
29901,
13,
4706,
4559,
29918,
10855,
29901,
263,
13,
9651,
584,
1990,
18078,
28491,
1017,
650,
29889,
3221,
29889,
29027,
29889,
17708,
7196,
29952,
13,
4706,
1746,
29901,
278,
13261,
267,
1746,
29892,
607,
1818,
367,
310,
1134,
13,
9651,
584,
1990,
18078,
28491,
1017,
650,
29889,
3221,
29889,
21134,
29889,
29928,
2650,
1953,
29952,
470,
13,
9651,
584,
1990,
18078,
28491,
1017,
650,
29889,
3221,
29889,
21134,
29889,
7713,
2904,
1475,
29952,
13,
4706,
3013,
29918,
1643,
29918,
21513,
313,
8824,
1125,
3692,
304,
3787,
278,
13261,
267,
297,
3858,
1051,
13,
9651,
4235,
310,
278,
1021,
1134,
408,
278,
1881,
4333,
3265,
1135,
773,
13,
9651,
1009,
2323,
3858,
29161,
13,
4706,
1024,
313,
8516,
1125,
263,
1024,
363,
278,
4133,
8783,
13,
13,
1678,
16969,
29901,
13,
4706,
263,
584,
1990,
18078,
28491,
1017,
650,
29889,
3221,
29889,
24713,
29889,
16390,
24541,
29952,
13,
1678,
9995,
13,
1678,
565,
3013,
29918,
1643,
29918,
21513,
29901,
13,
4706,
1746,
29918,
1853,
353,
4559,
29918,
10855,
3032,
657,
29918,
1643,
29918,
2671,
29918,
1853,
29898,
2671,
29897,
13,
1678,
1683,
29901,
13,
4706,
1746,
29918,
1853,
353,
903,
657,
29918,
14369,
29918,
1643,
29918,
2671,
29918,
1853,
29898,
11249,
29918,
10855,
29892,
1746,
29897,
13,
13,
1678,
8783,
353,
285,
397,
29889,
16390,
24541,
29898,
978,
29892,
903,
5041,
267,
29922,
5574,
29897,
13,
1678,
8783,
29889,
9799,
29918,
1853,
353,
285,
290,
29889,
2382,
13,
1678,
8783,
29889,
1202,
29918,
11249,
29918,
2671,
29898,
13,
4706,
376,
11249,
29918,
333,
613,
285,
974,
29889,
2061,
1204,
3073,
29892,
4833,
29918,
2671,
543,
29918,
11249,
29918,
333,
29908,
13,
1678,
1723,
13,
1678,
8783,
29889,
1202,
29918,
11249,
29918,
2671,
29898,
13,
4706,
1746,
29892,
285,
974,
29889,
6026,
2580,
7176,
6268,
3073,
29892,
15685,
29918,
1514,
29918,
1853,
29922,
2671,
29918,
1853,
13,
1678,
1723,
13,
13,
1678,
13261,
267,
29918,
1493,
353,
903,
5675,
29918,
5041,
267,
29918,
1493,
29898,
13,
4706,
4559,
29918,
10855,
29892,
1746,
29892,
3013,
29918,
1643,
29918,
21513,
29922,
17462,
29918,
1643,
29918,
21513,
13,
1678,
1723,
13,
1678,
903,
3539,
29918,
27736,
29898,
24713,
29892,
13261,
267,
29918,
1493,
29897,
13,
13,
1678,
736,
8783,
13,
13,
13,
1753,
903,
657,
29918,
14369,
29918,
1643,
29918,
2671,
29918,
1853,
29898,
11249,
29918,
10855,
29892,
1746,
1125,
13,
1678,
3858,
29918,
1853,
353,
4559,
29918,
10855,
3032,
657,
29918,
1643,
29918,
2671,
29918,
1853,
29898,
2671,
29897,
13,
13,
1678,
565,
3858,
29918,
1853,
451,
297,
903,
29903,
4214,
1307,
29918,
15631,
29925,
2890,
29918,
23827,
29901,
13,
4706,
12020,
7865,
2392,
703,
25807,
29884,
3016,
287,
3858,
1746,
1134,
1273,
29879,
29908,
1273,
3858,
29918,
1853,
29897,
13,
13,
1678,
736,
903,
29903,
4214,
1307,
29918,
15631,
29925,
2890,
29918,
23827,
29961,
1643,
29918,
1853,
29962,
13,
13,
13,
1753,
1207,
29918,
24219,
362,
29918,
24713,
29898,
11249,
29918,
10855,
29892,
19745,
29918,
1989,
29892,
1024,
29922,
8516,
1125,
13,
1678,
9995,
9832,
1078,
263,
8783,
2729,
373,
278,
2582,
310,
278,
17983,
411,
278,
2183,
13,
1678,
1820,
393,
3743,
697,
4559,
363,
1269,
1565,
6374,
29892,
2089,
6374,
29892,
322,
13,
1678,
2089,
8178,
1342,
297,
278,
1881,
4333,
29892,
8307,
29889,
13,
13,
1678,
5852,
6374,
6455,
674,
1121,
297,
11916,
411,
1716,
1009,
5962,
8760,
13,
1678,
322,
25383,
4235,
24146,
29892,
1550,
2089,
6374,
29914,
22198,
6455,
674,
13,
1678,
871,
505,
697,
310,
1009,
6590,
25383,
29914,
2057,
8760,
4235,
13,
1678,
24146,
29892,
8307,
29889,
13,
13,
1678,
960,
2999,
27303,
526,
19228,
304,
263,
5962,
8760,
1203,
313,
29872,
29889,
29887,
1696,
565,
278,
13,
1678,
17983,
9608,
7805,
263,
19174,
5352,
511,
769,
599,
19228,
13,
1678,
27303,
674,
367,
6087,
297,
278,
2323,
4559,
3412,
411,
278,
5962,
8760,
13,
1678,
1203,
29889,
13,
13,
1678,
450,
4133,
8783,
674,
884,
505,
2246,
29899,
5563,
4954,
1853,
16159,
322,
4954,
29875,
283,
16159,
4235,
13,
1678,
24146,
2729,
373,
278,
17983,
2582,
363,
393,
1342,
29892,
408,
1532,
408,
263,
13,
1678,
4954,
11249,
29918,
333,
16159,
1746,
16867,
278,
4559,
3553,
310,
278,
1342,
29892,
322,
263,
4954,
29883,
798,
29881,
16159,
13,
1678,
1746,
565,
278,
17983,
9608,
17645,
263,
19174,
5352,
29889,
13,
13,
1678,
6317,
4443,
1057,
13,
13,
4706,
450,
4133,
8783,
674,
1712,
13261,
267,
363,
278,
8118,
310,
278,
1881,
13,
4706,
4333,
29892,
607,
1122,
1163,
515,
278,
1776,
373,
607,
278,
4954,
14513,
29918,
1989,
16159,
13,
4706,
17983,
471,
8560,
29889,
910,
1122,
19060,
777,
11073,
393,
892,
13,
4706,
19030,
322,
29914,
272,
3160,
11073,
393,
892,
451,
19030,
29889,
13,
13,
4706,
960,
366,
723,
763,
304,
1074,
13261,
267,
363,
278,
2684,
1776,
373,
607,
385,
13,
4706,
17983,
471,
8560,
29892,
937,
1246,
13,
4706,
584,
29885,
621,
18078,
1359,
29918,
24219,
362,
29918,
1493,
580,
529,
28491,
1017,
650,
29889,
3221,
29889,
29027,
29889,
17708,
7196,
29889,
1359,
29918,
24219,
362,
29918,
1493,
13885,
13,
4706,
304,
2254,
278,
1776,
322,
769,
3588,
304,
13261,
267,
29889,
13,
13,
1678,
826,
3174,
29901,
13,
4706,
4559,
29918,
10855,
29901,
263,
13,
9651,
584,
1990,
18078,
28491,
1017,
650,
29889,
3221,
29889,
29027,
29889,
17708,
7196,
29952,
13,
4706,
19745,
29918,
1989,
29901,
385,
17983,
1820,
393,
16161,
304,
278,
17983,
310,
13,
9651,
5962,
8760,
29914,
11965,
18186,
4235,
393,
526,
310,
1134,
13,
9651,
584,
1990,
18078,
28491,
1017,
650,
29889,
3221,
29889,
21134,
29889,
29928,
2650,
1953,
29952,
470,
13,
9651,
584,
1990,
18078,
28491,
1017,
650,
29889,
3221,
29889,
21134,
29889,
7713,
2904,
1475,
29952,
13,
4706,
1024,
313,
8516,
1125,
263,
1024,
363,
278,
4133,
8783,
13,
13,
1678,
16969,
29901,
13,
4706,
263,
584,
1990,
18078,
28491,
1017,
650,
29889,
3221,
29889,
24713,
29889,
16390,
24541,
29952,
13,
1678,
9995,
13,
1678,
396,
20969,
17983,
5235,
13,
1678,
19745,
29918,
3888,
353,
4559,
29918,
10855,
29889,
657,
29918,
24219,
362,
29918,
3888,
29898,
14513,
29918,
1989,
29897,
13,
1678,
4450,
29918,
2671,
353,
19745,
29918,
3888,
29889,
2917,
29889,
11965,
29918,
2671,
13,
1678,
330,
29873,
29918,
2671,
353,
19745,
29918,
3888,
29889,
2917,
29889,
4141,
29918,
2671,
13,
1678,
565,
756,
5552,
29898,
14513,
29918,
3888,
29889,
2917,
29892,
376,
10669,
798,
29881,
29908,
1125,
13,
4706,
19174,
29918,
5552,
353,
19745,
29918,
3888,
29889,
2917,
29889,
10669,
798,
29881,
13,
1678,
1683,
29901,
13,
4706,
19174,
29918,
5552,
353,
6213,
13,
13,
1678,
4450,
29918,
1853,
353,
4559,
29918,
10855,
3032,
657,
29918,
1643,
29918,
2671,
29918,
1853,
29898,
11965,
29918,
2671,
29897,
13,
1678,
330,
29873,
29918,
1853,
353,
4559,
29918,
10855,
3032,
657,
29918,
1643,
29918,
2671,
29918,
1853,
29898,
4141,
29918,
2671,
29897,
13,
13,
1678,
396,
3789,
786,
8783,
411,
1959,
10938,
13,
1678,
8783,
353,
285,
397,
29889,
16390,
24541,
29898,
978,
29892,
903,
5041,
267,
29922,
5574,
29897,
13,
1678,
8783,
29889,
9799,
29918,
1853,
353,
285,
290,
29889,
2382,
13,
1678,
8783,
29889,
1202,
29918,
11249,
29918,
2671,
29898,
13,
4706,
4450,
29918,
2671,
29892,
285,
974,
29889,
6026,
2580,
7176,
6268,
3073,
29892,
15685,
29918,
1514,
29918,
1853,
29922,
11965,
29918,
1853,
13,
1678,
1723,
13,
1678,
8783,
29889,
1202,
29918,
11249,
29918,
2671,
29898,
13,
4706,
330,
29873,
29918,
2671,
29892,
285,
974,
29889,
6026,
2580,
7176,
6268,
3073,
29892,
15685,
29918,
1514,
29918,
1853,
29922,
4141,
29918,
1853,
13,
1678,
1723,
13,
1678,
8783,
29889,
1202,
29918,
11249,
29918,
2671,
29898,
13,
4706,
376,
11249,
29918,
333,
613,
285,
974,
29889,
2061,
1204,
3073,
29892,
4833,
29918,
2671,
543,
29918,
11249,
29918,
333,
29908,
13,
1678,
1723,
13,
1678,
8783,
29889,
1202,
29918,
11249,
29918,
2671,
703,
1853,
613,
285,
974,
29889,
1231,
3073,
29897,
13,
1678,
8783,
29889,
1202,
29918,
11249,
29918,
2671,
703,
29875,
283,
613,
285,
974,
29889,
11031,
3073,
29897,
13,
1678,
565,
19174,
29918,
5552,
338,
451,
6213,
29901,
13,
4706,
8783,
29889,
1202,
29918,
11249,
29918,
2671,
703,
29883,
798,
29881,
613,
285,
974,
29889,
18146,
3073,
29897,
13,
13,
1678,
396,
3462,
5962,
8760,
13261,
267,
13,
1678,
330,
29873,
29918,
1493,
353,
903,
5675,
29918,
14513,
29918,
1493,
29898,
13,
4706,
4559,
29918,
10855,
29892,
19745,
29918,
1989,
29892,
330,
29873,
29918,
2671,
29892,
19174,
29918,
5552,
29922,
29883,
798,
29881,
29918,
5552,
13,
1678,
1723,
13,
1678,
903,
3539,
29918,
27736,
29898,
24713,
29892,
330,
29873,
29918,
1493,
29897,
13,
13,
1678,
396,
4702,
479,
19228,
27303,
13,
1678,
903,
14634,
29918,
4352,
287,
29918,
21134,
29898,
24713,
29892,
4559,
29918,
10855,
29892,
19745,
29918,
1989,
29892,
4450,
29918,
2671,
29897,
13,
13,
1678,
396,
3462,
443,
4352,
287,
27303,
13,
1678,
443,
4352,
287,
29918,
11965,
29918,
1493,
353,
903,
5675,
29918,
14513,
29918,
1493,
29898,
13,
4706,
4559,
29918,
10855,
29892,
19745,
29918,
1989,
29892,
4450,
29918,
2671,
29892,
14383,
29918,
4352,
287,
29922,
5574,
13,
1678,
1723,
13,
1678,
903,
1202,
29918,
27736,
29898,
24713,
29892,
443,
4352,
287,
29918,
11965,
29918,
1493,
29897,
13,
13,
1678,
736,
8783,
13,
13,
13,
1753,
903,
5675,
29918,
5041,
267,
29918,
1493,
29898,
11249,
29918,
10855,
29892,
1746,
29892,
3013,
29918,
1643,
29918,
21513,
29922,
8824,
1125,
13,
1678,
565,
4559,
29918,
10855,
3032,
275,
29918,
19935,
29901,
13,
4706,
12020,
7865,
2392,
29898,
13,
9651,
376,
9832,
1218,
13261,
267,
8386,
964,
3515,
8386,
338,
451,
3447,
6969,
29908,
13,
4706,
1723,
13,
13,
1678,
565,
4559,
29918,
10855,
3032,
275,
29918,
2557,
29918,
2671,
29898,
2671,
1125,
13,
4706,
12020,
7865,
2392,
29898,
13,
9651,
376,
4308,
3858,
13261,
267,
2609,
367,
4153,
23892,
29936,
366,
1818,
937,
376,
13,
9651,
376,
13441,
596,
4863,
8783,
304,
16608,
3025,
421,
517,
29918,
19935,
2555,
29908,
13,
4706,
1723,
13,
13,
1678,
3858,
29918,
1853,
353,
4559,
29918,
10855,
3032,
657,
29918,
1643,
29918,
2671,
29918,
1853,
29898,
2671,
29897,
13,
1678,
565,
338,
1491,
1990,
29898,
1643,
29918,
1853,
29892,
903,
29925,
14789,
2890,
29918,
15631,
29925,
2890,
1125,
13,
4706,
1051,
29918,
2671,
353,
1746,
718,
376,
1213,
718,
3858,
29918,
1853,
3032,
24461,
6670,
29918,
24360,
29918,
3738,
27286,
13,
1678,
1683,
29901,
13,
4706,
12020,
7865,
2392,
29898,
13,
9651,
376,
13919,
3858,
1746,
1134,
1273,
29879,
29889,
7338,
1461,
292,
13261,
267,
338,
871,
376,
13,
9651,
376,
23765,
363,
278,
1494,
4072,
29901,
1273,
29879,
29908,
13,
9651,
1273,
313,
1643,
29918,
1853,
29892,
903,
29925,
14789,
2890,
29918,
15631,
29925,
2890,
29897,
13,
4706,
1723,
13,
13,
1678,
16439,
353,
518,
13,
4706,
426,
13,
9651,
3908,
4836,
1115,
426,
13,
18884,
11119,
333,
1115,
5852,
29892,
13,
18884,
11119,
11249,
29918,
333,
1115,
3908,
29918,
333,
613,
13,
18884,
11119,
9799,
29918,
1853,
1115,
5852,
29892,
13,
18884,
376,
1445,
2084,
1115,
5852,
29892,
13,
18884,
376,
19635,
1115,
5852,
29892,
13,
18884,
376,
11338,
1115,
5852,
29892,
13,
18884,
1746,
718,
376,
3032,
25932,
1115,
5852,
29892,
13,
18884,
1051,
29918,
2671,
29901,
5852,
29892,
13,
9651,
500,
13,
4706,
2981,
13,
4706,
8853,
29938,
348,
14800,
1115,
3908,
29908,
718,
1051,
29918,
2671,
1118,
13,
4706,
8853,
29938,
842,
1115,
8853,
29918,
9502,
1115,
8853,
29938,
9502,
1115,
426,
930,
11656,
13,
4706,
8853,
29938,
842,
1115,
8853,
29918,
333,
1115,
3908,
29908,
718,
1051,
29918,
2671,
718,
376,
3032,
333,
29908,
11656,
13,
1678,
4514,
13,
13,
1678,
565,
3013,
29918,
1643,
29918,
21513,
29901,
13,
4706,
16439,
29889,
4397,
3319,
29908,
29938,
842,
1115,
426,
1761,
29918,
2671,
29901,
6796,
29938,
29908,
718,
1051,
29918,
2671,
29962,
24289,
13,
1678,
1683,
29901,
13,
4706,
16439,
29889,
4397,
3319,
29908,
29938,
842,
1115,
426,
2671,
29901,
3908,
29908,
718,
1051,
29918,
2671,
24289,
13,
13,
1678,
736,
4559,
29918,
10855,
29889,
29885,
7443,
29898,
13096,
5570,
29897,
13,
13,
13,
1753,
903,
5675,
29918,
14513,
29918,
1493,
29898,
13,
1678,
4559,
29918,
10855,
29892,
19745,
29918,
1989,
29892,
1746,
29892,
14383,
29918,
4352,
287,
29922,
8824,
29892,
19174,
29918,
5552,
29922,
8516,
13,
1125,
13,
1678,
19745,
29918,
1853,
353,
1746,
718,
376,
1213,
718,
19745,
29918,
1989,
13,
1678,
19745,
29918,
333,
353,
1746,
718,
376,
1213,
718,
19745,
29918,
1989,
718,
11119,
333,
29908,
13,
1678,
19745,
29918,
29875,
283,
353,
1746,
718,
376,
1213,
718,
19745,
29918,
1989,
718,
11119,
29875,
283,
29908,
13,
13,
1678,
1776,
353,
903,
5675,
29918,
5041,
267,
29918,
1493,
29898,
11249,
29918,
10855,
29892,
1746,
29897,
13,
13,
1678,
565,
14383,
29918,
4352,
287,
29901,
13,
4706,
1776,
353,
1776,
29889,
29885,
7443,
29898,
13,
9651,
518,
13,
18884,
426,
13,
462,
1678,
3908,
4352,
1115,
426,
13,
462,
4706,
3908,
13338,
1115,
426,
13,
462,
9651,
3908,
272,
1115,
518,
13,
462,
18884,
8853,
29938,
1837,
1115,
6796,
29938,
29908,
718,
19745,
29918,
333,
29892,
903,
6632,
29918,
29924,
14789,
29918,
1367,
29962,
1118,
13,
462,
18884,
8853,
29938,
1333,
1115,
8853,
29938,
4141,
1115,
6796,
29938,
29908,
718,
19745,
29918,
333,
29892,
6213,
29962,
11656,
13,
462,
9651,
4514,
13,
462,
4706,
500,
13,
462,
1678,
500,
13,
18884,
500,
13,
9651,
4514,
13,
4706,
1723,
13,
13,
1678,
1776,
353,
1776,
29889,
29885,
7443,
29898,
13,
4706,
518,
6377,
29938,
842,
1115,
8853,
1853,
1115,
3908,
29908,
718,
19745,
29918,
1853,
29892,
376,
29875,
283,
1115,
3908,
29908,
718,
19745,
29918,
29875,
283,
930,
29962,
13,
1678,
1723,
13,
13,
1678,
565,
19174,
29918,
5552,
338,
451,
6213,
29901,
13,
4706,
19174,
29918,
2084,
29896,
353,
3908,
29908,
718,
1746,
718,
376,
1213,
718,
19174,
29918,
5552,
13,
13,
4706,
396,
732,
29873,
8144,
3349,
6212,
5026,
8744,
13,
4706,
19174,
29918,
2084,
29906,
353,
3908,
29908,
718,
1746,
718,
11393,
15697,
1213,
718,
19174,
29918,
5552,
718,
11393,
1767,
29908,
13,
13,
4706,
1776,
353,
1776,
29889,
29885,
7443,
29898,
13,
9651,
518,
13,
18884,
426,
13,
462,
1678,
3908,
842,
1115,
426,
13,
462,
4706,
376,
29883,
798,
29881,
1115,
426,
13,
462,
9651,
3908,
1116,
1115,
426,
13,
462,
18884,
376,
361,
1115,
8853,
29938,
4141,
1115,
518,
29883,
798,
29881,
29918,
2084,
29896,
29892,
6213,
29962,
1118,
13,
462,
18884,
376,
6098,
1115,
8853,
29938,
517,
24693,
1115,
19174,
29918,
2084,
29896,
1118,
13,
462,
18884,
376,
2870,
1115,
426,
13,
462,
462,
1678,
3908,
1116,
1115,
426,
13,
462,
462,
4706,
376,
361,
1115,
8853,
29938,
4141,
1115,
518,
29883,
798,
29881,
29918,
2084,
29906,
29892,
6213,
29962,
1118,
13,
462,
462,
4706,
376,
6098,
1115,
8853,
29938,
517,
24693,
1115,
19174,
29918,
2084,
29906,
1118,
13,
462,
462,
4706,
376,
2870,
1115,
6213,
29892,
13,
462,
462,
1678,
500,
13,
462,
18884,
2981,
13,
462,
9651,
500,
13,
462,
4706,
500,
13,
462,
1678,
500,
13,
18884,
500,
13,
9651,
4514,
13,
4706,
1723,
13,
13,
1678,
736,
903,
786,
8228,
29918,
21134,
29898,
1493,
29892,
1746,
29897,
13,
13,
13,
1753,
903,
786,
8228,
29918,
21134,
29898,
1493,
29892,
1746,
1125,
13,
1678,
13128,
29918,
2671,
353,
11119,
29908,
718,
1746,
13,
1678,
3858,
29918,
1853,
353,
1776,
3032,
657,
29918,
1643,
29918,
2671,
29918,
1853,
29898,
2671,
29897,
13,
1678,
736,
1776,
29889,
29885,
7443,
29898,
13,
4706,
518,
13,
9651,
8853,
29938,
842,
1115,
426,
7050,
29918,
2671,
29901,
3908,
29908,
718,
1746,
11656,
13,
9651,
8853,
29938,
348,
842,
1115,
1746,
1118,
13,
9651,
426,
13,
18884,
3908,
842,
1115,
426,
13,
462,
1678,
1746,
29901,
426,
13,
462,
4706,
11119,
25932,
1115,
3858,
29918,
1853,
17255,
978,
1649,
29892,
13,
462,
4706,
3858,
29918,
1853,
3032,
24461,
6670,
29918,
24360,
29918,
3738,
27286,
29901,
6796,
29938,
29908,
718,
13128,
29918,
2671,
1402,
13,
462,
1678,
500,
13,
18884,
500,
13,
9651,
2981,
13,
9651,
8853,
29938,
348,
842,
1115,
13128,
29918,
2671,
1118,
13,
4706,
4514,
13,
1678,
1723,
13,
13,
13,
1753,
903,
14634,
29918,
4352,
287,
29918,
21134,
29898,
24713,
29892,
4765,
29918,
10855,
29892,
19745,
29918,
1989,
29892,
1746,
1125,
13,
1678,
1746,
29918,
1853,
353,
4765,
29918,
10855,
3032,
657,
29918,
1643,
29918,
2671,
29918,
1853,
29898,
2671,
29897,
13,
13,
1678,
1051,
29918,
2671,
353,
1746,
718,
376,
1213,
718,
1746,
29918,
1853,
3032,
24461,
6670,
29918,
24360,
29918,
3738,
27286,
13,
1678,
19745,
29918,
333,
353,
19745,
29918,
1989,
718,
11119,
333,
29908,
13,
1678,
19745,
29918,
2671,
353,
1051,
29918,
2671,
718,
376,
1213,
718,
19745,
29918,
333,
13,
13,
1678,
16439,
353,
4765,
29918,
10855,
3032,
13096,
5570,
29898,
4801,
496,
29918,
19935,
29922,
5574,
29897,
13,
1678,
16439,
29889,
21843,
29898,
13,
4706,
518,
13,
9651,
8853,
29938,
4836,
1115,
426,
1761,
29918,
2671,
29901,
5852,
11656,
13,
9651,
8853,
29938,
348,
14800,
1115,
3908,
29908,
718,
1051,
29918,
2671,
1118,
13,
9651,
426,
13,
18884,
3908,
4352,
1115,
426,
13,
462,
1678,
3908,
13338,
1115,
426,
13,
462,
4706,
3908,
392,
1115,
518,
13,
462,
9651,
8853,
29938,
4141,
1115,
6796,
29938,
29908,
718,
19745,
29918,
2671,
29892,
6213,
29962,
1118,
13,
462,
9651,
8853,
29938,
484,
1115,
6796,
29938,
29908,
718,
19745,
29918,
2671,
29892,
903,
6632,
29918,
29924,
14789,
29918,
1367,
29962,
1118,
13,
462,
4706,
4514,
13,
462,
1678,
500,
13,
18884,
500,
13,
9651,
2981,
13,
9651,
426,
13,
18884,
3908,
2972,
1115,
426,
13,
462,
1678,
11119,
333,
1115,
8853,
29938,
517,
2061,
1204,
1115,
3908,
29908,
718,
19745,
29918,
2671,
1118,
13,
462,
1678,
11119,
21134,
1115,
8853,
29938,
5910,
1115,
3908,
29908,
718,
1051,
29918,
2671,
1118,
13,
18884,
500,
13,
9651,
2981,
13,
9651,
426,
13,
18884,
3908,
4836,
1115,
426,
13,
462,
1678,
1746,
29901,
426,
13,
462,
4706,
11119,
25932,
1115,
1746,
29918,
1853,
17255,
978,
1649,
29892,
13,
462,
4706,
1746,
29918,
1853,
3032,
24461,
6670,
29918,
24360,
29918,
3738,
27286,
29901,
3908,
29918,
21134,
613,
13,
462,
1678,
500,
13,
18884,
2981,
13,
9651,
2981,
13,
9651,
426,
13,
18884,
3908,
14634,
1115,
426,
13,
462,
1678,
376,
8941,
1115,
8783,
3032,
11249,
29918,
10855,
29918,
978,
29892,
13,
462,
1678,
376,
265,
1115,
11119,
333,
613,
13,
462,
1678,
376,
8256,
9652,
287,
1115,
376,
14634,
613,
13,
462,
1678,
376,
8256,
3664,
9652,
287,
1115,
376,
2218,
7543,
613,
13,
18884,
500,
13,
9651,
2981,
13,
4706,
4514,
13,
1678,
1723,
13,
13,
1678,
4765,
29918,
10855,
3032,
24713,
3032,
26193,
403,
29898,
13096,
5570,
29922,
13096,
5570,
29892,
10641,
29918,
19935,
29922,
8824,
29897,
13,
13,
13,
1753,
903,
3539,
29918,
27736,
29898,
24713,
29892,
4765,
29918,
10855,
1125,
13,
1678,
16439,
353,
4765,
29918,
10855,
3032,
13096,
5570,
29898,
4801,
496,
29918,
19935,
29922,
5574,
29897,
13,
1678,
16439,
29889,
4397,
3319,
29908,
29938,
449,
1115,
8783,
3032,
11249,
29918,
10855,
29918,
978,
1800,
13,
13,
1678,
4765,
29918,
10855,
3032,
24713,
3032,
26193,
403,
29898,
13096,
5570,
29922,
13096,
5570,
29892,
10641,
29918,
19935,
29922,
8824,
29897,
13,
13,
13,
1753,
903,
1202,
29918,
27736,
29898,
24713,
29892,
4765,
29918,
10855,
1125,
13,
1678,
16439,
353,
4765,
29918,
10855,
3032,
13096,
5570,
29898,
4801,
496,
29918,
19935,
29922,
5574,
29897,
13,
1678,
16439,
29889,
4397,
29898,
13,
4706,
426,
13,
9651,
3908,
14634,
1115,
426,
13,
18884,
376,
8941,
1115,
8783,
3032,
11249,
29918,
10855,
29918,
978,
29892,
13,
18884,
376,
265,
1115,
11119,
333,
613,
13,
18884,
376,
8256,
9652,
287,
1115,
376,
17462,
1252,
15423,
613,
13,
18884,
376,
8256,
3664,
9652,
287,
1115,
376,
7851,
613,
13,
9651,
500,
13,
4706,
500,
13,
1678,
1723,
13,
13,
1678,
4765,
29918,
10855,
3032,
24713,
3032,
26193,
403,
29898,
13096,
5570,
29922,
13096,
5570,
29892,
10641,
29918,
19935,
29922,
8824,
29897,
13,
2
] |
preprocess.py | Antonioxv/Transformer-Pytorch | 3 | 82679 | <reponame>Antonioxv/Transformer-Pytorch
# -*- coding: utf-8 -*-
"""
Copied from https://www.github.com/kyubyong/transformer.
"""
from __future__ import print_function
import os
import regex
import codecs
import argparse
from collections import Counter
parser = argparse.ArgumentParser(description='Preprocessing')
parser.add_argument('--train_src', required=True, type=str, help='Path to training source data')
parser.add_argument('--train_tgt', required=True, type=str, help='Path to training target data')
def make_vocab(file_path, file_name):
"""Constructs vocabulary.
Args:
file_path: A string. Input file path.
file_name: A string. Output file name.
Writes vocabulary line by line to `preprocessed/file_name`
"""
text = codecs.open(file_path, 'r', 'utf-8').read()
text = regex.sub("[^\s\p{Latin}']", "", text)
words = text.split()
word2cnt = Counter(words)
os.makedirs('preprocessed', exist_ok=True)
with codecs.open('preprocessed/{}'.format(file_name), 'w', 'utf-8') as fout:
fout.write("{}\t1000000000\n{}\t1000000000\n{}\t1000000000\n{}\t1000000000\n".format("<PAD>", "<UNK>", "<S>", "</S>"))
for word, cnt in word2cnt.most_common(len(word2cnt)):
fout.write(u"{}\t{}\n".format(word, cnt))
def main():
args = parser.parse_args()
print(args)
make_vocab(args.train_src, "de.vocab.tsv")
make_vocab(args.train_tgt, "en.vocab.tsv")
print('Terminated')
if __name__ == '__main__':
main()
| [
1,
529,
276,
1112,
420,
29958,
13448,
14642,
29916,
29894,
29914,
13372,
261,
29899,
29925,
3637,
25350,
13,
29937,
448,
29930,
29899,
14137,
29901,
23616,
29899,
29947,
448,
29930,
29899,
13,
15945,
29908,
13,
29907,
459,
1000,
515,
2045,
597,
1636,
29889,
3292,
29889,
510,
29914,
3459,
4471,
549,
29914,
9067,
261,
29889,
13,
15945,
29908,
13,
13,
3166,
4770,
29888,
9130,
1649,
1053,
1596,
29918,
2220,
13,
5215,
2897,
13,
5215,
6528,
13,
5215,
775,
2395,
13,
5215,
1852,
5510,
13,
3166,
16250,
1053,
315,
5336,
13,
13,
16680,
353,
1852,
5510,
29889,
15730,
11726,
29898,
8216,
2433,
6572,
19170,
1495,
13,
16680,
29889,
1202,
29918,
23516,
877,
489,
14968,
29918,
4351,
742,
3734,
29922,
5574,
29892,
1134,
29922,
710,
29892,
1371,
2433,
2605,
304,
6694,
2752,
848,
1495,
13,
16680,
29889,
1202,
29918,
23516,
877,
489,
14968,
29918,
29873,
4141,
742,
3734,
29922,
5574,
29892,
1134,
29922,
710,
29892,
1371,
2433,
2605,
304,
6694,
3646,
848,
1495,
13,
13,
13,
1753,
1207,
29918,
29894,
542,
370,
29898,
1445,
29918,
2084,
29892,
934,
29918,
978,
1125,
13,
1678,
9995,
1168,
4984,
29879,
7931,
370,
352,
653,
29889,
13,
1678,
826,
3174,
29901,
13,
418,
934,
29918,
2084,
29901,
319,
1347,
29889,
10567,
934,
2224,
29889,
13,
418,
934,
29918,
978,
29901,
319,
1347,
29889,
10604,
934,
1024,
29889,
13,
1678,
16849,
267,
7931,
370,
352,
653,
1196,
491,
1196,
304,
421,
1457,
5014,
287,
29914,
1445,
29918,
978,
29952,
13,
1678,
9995,
13,
1678,
1426,
353,
775,
2395,
29889,
3150,
29898,
1445,
29918,
2084,
29892,
525,
29878,
742,
525,
9420,
29899,
29947,
2824,
949,
580,
13,
1678,
1426,
353,
6528,
29889,
1491,
703,
29961,
3823,
29879,
29905,
29886,
29912,
13992,
262,
29913,
2033,
613,
12633,
1426,
29897,
13,
1678,
3838,
353,
1426,
29889,
5451,
580,
13,
1678,
1734,
29906,
20047,
353,
315,
5336,
29898,
9303,
29897,
13,
1678,
2897,
29889,
29885,
12535,
12935,
877,
1457,
5014,
287,
742,
1863,
29918,
554,
29922,
5574,
29897,
13,
1678,
411,
775,
2395,
29889,
3150,
877,
1457,
5014,
287,
29914,
8875,
4286,
4830,
29898,
1445,
29918,
978,
511,
525,
29893,
742,
525,
9420,
29899,
29947,
1495,
408,
285,
449,
29901,
13,
4706,
285,
449,
29889,
3539,
703,
29912,
1012,
29873,
29896,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29905,
29876,
29912,
1012,
29873,
29896,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29905,
29876,
29912,
1012,
29873,
29896,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29905,
29876,
29912,
1012,
29873,
29896,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29905,
29876,
1642,
4830,
28945,
29925,
3035,
28341,
9872,
3904,
29968,
28341,
9872,
29903,
28341,
25225,
29903,
29958,
5783,
13,
4706,
363,
1734,
29892,
274,
593,
297,
1734,
29906,
20047,
29889,
3242,
29918,
9435,
29898,
2435,
29898,
1742,
29906,
20047,
22164,
13,
9651,
285,
449,
29889,
3539,
29898,
29884,
29908,
29912,
1012,
29873,
29912,
1012,
29876,
1642,
4830,
29898,
1742,
29892,
274,
593,
876,
13,
13,
13,
1753,
1667,
7295,
13,
1678,
6389,
353,
13812,
29889,
5510,
29918,
5085,
580,
13,
1678,
1596,
29898,
5085,
29897,
13,
1678,
1207,
29918,
29894,
542,
370,
29898,
5085,
29889,
14968,
29918,
4351,
29892,
376,
311,
29889,
29894,
542,
370,
29889,
1372,
29894,
1159,
13,
1678,
1207,
29918,
29894,
542,
370,
29898,
5085,
29889,
14968,
29918,
29873,
4141,
29892,
376,
264,
29889,
29894,
542,
370,
29889,
1372,
29894,
1159,
13,
1678,
1596,
877,
14343,
262,
630,
1495,
13,
13,
13,
361,
4770,
978,
1649,
1275,
525,
1649,
3396,
1649,
2396,
13,
1678,
1667,
580,
13,
2
] |
db_conn.py | achhetr/Library-book-store-app | 0 | 16901 | import sqlite3
class Database:
# create book always if not exists
def __init__(self,db):
self.conn = sqlite3.connect(db)
self.cur = self.conn.execute("CREATE TABLE IF NOT EXISTS book (id INTEGER PRIMARY KEY, " +
"title TEXT, author TEXT, year INTEGER, isbn INTEGER)")
self.conn.commit()
def insert(self,title,author,year,isbn):
self.cur.execute("INSERT INTO book VALUES (NULL,?,?,?,?)",(title,author,year,isbn))
self.conn.commit()
def view(self):
self.cur.execute("SELECT * FROM book")
rows = self.cur.fetchall()
return rows
def search(self,title="",author="",year="",isbn=""):
self.cur.execute("SELECT * FROM book WHERE title=? OR author=? " +
"OR year=? OR isbn=?",(title,author,year,isbn))
rows = self.cur.fetchall()
return rows
def delete(self,id):
self.cur.execute("DELETE FROM book WHERE id=?",(id,))
self.conn.commit()
def update(self,id,title,author,year,isbn):
self.cur.execute("UPDATE book SET title=?, author=?, " +
"year=?,isbn=? WHERE id=?", (title,author,year,isbn,id))
self.conn.commit()
def __del__(self):
self.conn.close() | [
1,
1053,
21120,
29941,
13,
13,
1990,
5470,
29901,
13,
13,
1678,
396,
1653,
3143,
2337,
565,
451,
4864,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
2585,
1125,
13,
4706,
1583,
29889,
13082,
353,
21120,
29941,
29889,
6915,
29898,
2585,
29897,
13,
4706,
1583,
29889,
2764,
353,
1583,
29889,
13082,
29889,
7978,
703,
27045,
10911,
10762,
6058,
28731,
3143,
313,
333,
2672,
4330,
17070,
29778,
14636,
29892,
376,
718,
13,
462,
9651,
376,
3257,
323,
12194,
29892,
4148,
323,
12194,
29892,
1629,
2672,
4330,
17070,
29892,
338,
11197,
2672,
4330,
17070,
25760,
13,
13,
4706,
1583,
29889,
13082,
29889,
15060,
580,
13,
13,
1678,
822,
4635,
29898,
1311,
29892,
3257,
29892,
8921,
29892,
6360,
29892,
275,
11197,
1125,
13,
4706,
1583,
29889,
2764,
29889,
7978,
703,
19460,
11646,
3143,
15673,
313,
10074,
29892,
14579,
14579,
14579,
7897,
613,
29898,
3257,
29892,
8921,
29892,
6360,
29892,
275,
11197,
876,
13,
4706,
1583,
29889,
13082,
29889,
15060,
580,
13,
13,
1678,
822,
1776,
29898,
1311,
1125,
13,
4706,
1583,
29889,
2764,
29889,
7978,
703,
6404,
334,
3895,
3143,
1159,
13,
4706,
4206,
353,
1583,
29889,
2764,
29889,
9155,
497,
580,
13,
4706,
736,
4206,
13,
13,
1678,
822,
2740,
29898,
1311,
29892,
3257,
543,
613,
8921,
543,
613,
6360,
543,
613,
275,
11197,
13776,
1125,
13,
4706,
1583,
29889,
2764,
29889,
7978,
703,
6404,
334,
3895,
3143,
5754,
3611,
29922,
29973,
6323,
4148,
29922,
29973,
376,
718,
13,
462,
1678,
376,
1955,
1629,
29922,
29973,
6323,
338,
11197,
29922,
29973,
613,
29898,
3257,
29892,
8921,
29892,
6360,
29892,
275,
11197,
876,
13,
4706,
4206,
353,
1583,
29889,
2764,
29889,
9155,
497,
580,
13,
4706,
736,
4206,
13,
13,
1678,
822,
5217,
29898,
1311,
29892,
333,
1125,
13,
4706,
1583,
29889,
2764,
29889,
7978,
703,
2287,
18476,
3895,
3143,
5754,
1178,
29922,
29973,
613,
29898,
333,
29892,
876,
13,
4706,
1583,
29889,
13082,
29889,
15060,
580,
13,
13,
1678,
822,
2767,
29898,
1311,
29892,
333,
29892,
3257,
29892,
8921,
29892,
6360,
29892,
275,
11197,
1125,
13,
4706,
1583,
29889,
2764,
29889,
7978,
703,
14474,
3143,
11368,
3611,
29922,
14579,
4148,
29922,
14579,
376,
718,
13,
462,
1678,
376,
6360,
29922,
14579,
275,
11197,
29922,
29973,
5754,
1178,
29922,
29973,
613,
313,
3257,
29892,
8921,
29892,
6360,
29892,
275,
11197,
29892,
333,
876,
13,
4706,
1583,
29889,
13082,
29889,
15060,
580,
13,
13,
1678,
822,
4770,
6144,
12035,
1311,
1125,
13,
4706,
1583,
29889,
13082,
29889,
5358,
580,
2
] |
src/data/make_weather.py | sreejithkrishnanr/powerlaws | 1 | 181307 | <filename>src/data/make_weather.py<gh_stars>1-10
# -*- coding: utf-8 -*-
import os
import sys
import click
import logging
from dotenv import find_dotenv, load_dotenv
from collections import OrderedDict
import pandas as pd
@click.command()
@click.argument('input_filepath', type=click.Path(exists=True))
@click.argument('output_filepath', type=click.Path())
def main(input_filepath, output_filepath):
""" Process weather.csv
"""
from src.utils.data import ensure_no_na
logger = logging.getLogger(__name__)
logger.info('Reading %s' % (input_filepath,))
dataset = pd.read_csv(input_filepath, parse_dates=[1])
logger.info("Processing weather data")
dataset['Weight'] = 1 / dataset['Distance']
dataset['Weighted_Temperature'] = dataset['Temperature'] * dataset['Weight']
groups = dataset.groupby(['SiteId', 'Timestamp'])
dataset = pd.DataFrame(data=OrderedDict([
('DistanceMean', groups['Distance'].mean()),
('DistanceMin', groups['Distance'].min()),
('DistanceMax', groups['Distance'].max()),
('DistanceVariance', groups['Distance'].std().fillna(0)),
('NumStations', groups['Distance'].count()),
('TemperatureMean', groups['Weighted_Temperature'].sum() / groups['Weight'].sum()),
('TemperatureVariance', groups['Temperature'].std().fillna(0)),
('TemperatureMin', groups['Temperature'].min()),
('TemperatureMax', groups['Temperature'].max()),
]))
dataset = dataset.reset_index()
ensure_no_na(dataset)
logger.info("Saving to %s" % (output_filepath,))
dataset.to_hdf(output_filepath, "data", index=False)
if __name__ == '__main__':
log_fmt = '%(asctime)s - %(name)s - %(levelname)s - %(message)s'
logging.basicConfig(level=logging.INFO, format=log_fmt)
# not used in this stub but often useful for finding various files
project_dir = os.path.join(os.path.dirname(__file__), os.pardir, os.pardir)
sys.path.insert(0, project_dir)
# find .env automagically by walking up directories until it's found, then
# load up the .env entries as environment variables
load_dotenv(find_dotenv())
main()
| [
1,
529,
9507,
29958,
4351,
29914,
1272,
29914,
5675,
29918,
705,
1624,
29889,
2272,
29966,
12443,
29918,
303,
1503,
29958,
29896,
29899,
29896,
29900,
13,
29937,
448,
29930,
29899,
14137,
29901,
23616,
29899,
29947,
448,
29930,
29899,
13,
5215,
2897,
13,
5215,
10876,
13,
5215,
2828,
13,
5215,
12183,
13,
3166,
8329,
6272,
1053,
1284,
29918,
6333,
6272,
29892,
2254,
29918,
6333,
6272,
13,
3166,
16250,
1053,
8170,
287,
21533,
13,
13,
5215,
11701,
408,
10518,
13,
13,
13,
29992,
3808,
29889,
6519,
580,
13,
29992,
3808,
29889,
23516,
877,
2080,
29918,
1445,
2084,
742,
1134,
29922,
3808,
29889,
2605,
29898,
9933,
29922,
5574,
876,
13,
29992,
3808,
29889,
23516,
877,
4905,
29918,
1445,
2084,
742,
1134,
29922,
3808,
29889,
2605,
3101,
13,
1753,
1667,
29898,
2080,
29918,
1445,
2084,
29892,
1962,
29918,
1445,
2084,
1125,
13,
1678,
9995,
10554,
14826,
29889,
7638,
13,
1678,
9995,
13,
1678,
515,
4765,
29889,
13239,
29889,
1272,
1053,
9801,
29918,
1217,
29918,
1056,
13,
13,
1678,
17927,
353,
12183,
29889,
657,
16363,
22168,
978,
1649,
29897,
13,
1678,
17927,
29889,
3888,
877,
6359,
292,
1273,
29879,
29915,
1273,
313,
2080,
29918,
1445,
2084,
29892,
876,
13,
1678,
8783,
353,
10518,
29889,
949,
29918,
7638,
29898,
2080,
29918,
1445,
2084,
29892,
6088,
29918,
15190,
11759,
29896,
2314,
13,
13,
1678,
17927,
29889,
3888,
703,
7032,
292,
14826,
848,
1159,
13,
1678,
8783,
1839,
22676,
2033,
353,
29871,
29896,
847,
8783,
1839,
27469,
2033,
13,
1678,
8783,
1839,
22676,
287,
29918,
5776,
546,
1535,
2033,
353,
8783,
1839,
5776,
546,
1535,
2033,
334,
8783,
1839,
22676,
2033,
13,
13,
1678,
6471,
353,
8783,
29889,
27789,
18959,
17033,
1204,
742,
525,
27939,
11287,
13,
13,
1678,
8783,
353,
10518,
29889,
17271,
29898,
1272,
29922,
7514,
287,
21533,
4197,
13,
4706,
6702,
27469,
6816,
273,
742,
6471,
1839,
27469,
13359,
12676,
25739,
13,
4706,
6702,
27469,
8140,
742,
6471,
1839,
27469,
13359,
1195,
25739,
13,
4706,
6702,
27469,
7976,
742,
6471,
1839,
27469,
13359,
3317,
25739,
13,
4706,
6702,
27469,
9037,
8837,
742,
6471,
1839,
27469,
13359,
4172,
2141,
5589,
1056,
29898,
29900,
8243,
13,
4706,
6702,
8009,
855,
800,
742,
6471,
1839,
27469,
13359,
2798,
25739,
13,
4706,
6702,
5776,
546,
1535,
6816,
273,
742,
6471,
1839,
22676,
287,
29918,
5776,
546,
1535,
13359,
2083,
580,
847,
6471,
1839,
22676,
13359,
2083,
25739,
13,
4706,
6702,
5776,
546,
1535,
9037,
8837,
742,
6471,
1839,
5776,
546,
1535,
13359,
4172,
2141,
5589,
1056,
29898,
29900,
8243,
13,
4706,
6702,
5776,
546,
1535,
8140,
742,
6471,
1839,
5776,
546,
1535,
13359,
1195,
25739,
13,
4706,
6702,
5776,
546,
1535,
7976,
742,
6471,
1839,
5776,
546,
1535,
13359,
3317,
25739,
13,
1678,
4514,
876,
13,
1678,
8783,
353,
8783,
29889,
12071,
29918,
2248,
580,
13,
13,
1678,
9801,
29918,
1217,
29918,
1056,
29898,
24713,
29897,
13,
13,
1678,
17927,
29889,
3888,
703,
29903,
5555,
304,
1273,
29879,
29908,
1273,
313,
4905,
29918,
1445,
2084,
29892,
876,
13,
1678,
8783,
29889,
517,
29918,
29882,
2176,
29898,
4905,
29918,
1445,
2084,
29892,
376,
1272,
613,
2380,
29922,
8824,
29897,
13,
13,
13,
361,
4770,
978,
1649,
1275,
525,
1649,
3396,
1649,
2396,
13,
1678,
1480,
29918,
23479,
353,
14210,
29898,
294,
312,
603,
29897,
29879,
448,
1273,
29898,
978,
29897,
29879,
448,
1273,
29898,
5563,
978,
29897,
29879,
448,
1273,
29898,
4906,
29897,
29879,
29915,
13,
1678,
12183,
29889,
16121,
3991,
29898,
5563,
29922,
21027,
29889,
11690,
29892,
3402,
29922,
1188,
29918,
23479,
29897,
13,
13,
1678,
396,
451,
1304,
297,
445,
19281,
541,
4049,
5407,
363,
9138,
5164,
2066,
13,
1678,
2060,
29918,
3972,
353,
2897,
29889,
2084,
29889,
7122,
29898,
359,
29889,
2084,
29889,
25721,
22168,
1445,
1649,
511,
2897,
29889,
29886,
538,
381,
29892,
2897,
29889,
29886,
538,
381,
29897,
13,
13,
1678,
10876,
29889,
2084,
29889,
7851,
29898,
29900,
29892,
2060,
29918,
3972,
29897,
13,
13,
1678,
396,
1284,
869,
6272,
3345,
351,
1711,
491,
22049,
701,
17525,
2745,
372,
29915,
29879,
1476,
29892,
769,
13,
1678,
396,
2254,
701,
278,
869,
6272,
9976,
408,
5177,
3651,
13,
1678,
2254,
29918,
6333,
6272,
29898,
2886,
29918,
6333,
6272,
3101,
13,
13,
1678,
1667,
580,
13,
2
] |
venv1/Lib/site-packages/tensorflow/contrib/saved_model/python/saved_model/signature_def_utils.py | Soum-Soum/Tensorflow_Face_Finder | 0 | 90099 | # Copyright 2016 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
"""SignatureDef utility functions implementation."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
def get_signature_def_by_key(meta_graph_def, signature_def_key):
"""Utility function to get a SignatureDef protocol buffer by its key.
Args:
meta_graph_def: MetaGraphDef protocol buffer with the SignatureDefMap to
look up.
signature_def_key: Key of the SignatureDef protocol buffer to find in the
SignatureDefMap.
Returns:
A SignatureDef protocol buffer corresponding to the supplied key, if it
exists.
Raises:
ValueError: If no entry corresponding to the supplied key is found in the
SignatureDefMap of the MetaGraphDef.
"""
if signature_def_key not in meta_graph_def.signature_def:
raise ValueError("No SignatureDef with key '%s' found in MetaGraphDef." %
signature_def_key)
return meta_graph_def.signature_def[signature_def_key]
| [
1,
396,
14187,
1266,
29871,
29906,
29900,
29896,
29953,
450,
323,
6073,
17907,
13189,
943,
29889,
2178,
26863,
2538,
9841,
22993,
13,
29937,
30004,
13,
29937,
10413,
21144,
1090,
278,
13380,
19245,
29892,
10079,
29871,
29906,
29889,
29900,
313,
1552,
376,
29931,
293,
1947,
18584,
13,
29937,
366,
1122,
451,
671,
445,
934,
5174,
297,
752,
13036,
411,
278,
19245,
22993,
13,
29937,
887,
1122,
4017,
263,
3509,
310,
278,
19245,
472,
30004,
13,
29937,
30004,
13,
29937,
268,
1732,
597,
1636,
29889,
4288,
29889,
990,
29914,
506,
11259,
29914,
27888,
1430,
1660,
29899,
29906,
29889,
29900,
30004,
13,
29937,
30004,
13,
29937,
25870,
3734,
491,
22903,
4307,
470,
15502,
304,
297,
5007,
29892,
7047,
30004,
13,
29937,
13235,
1090,
278,
19245,
338,
13235,
373,
385,
376,
3289,
8519,
29908,
350,
3289,
3235,
11167,
13,
29937,
399,
1806,
8187,
2692,
399,
1718,
29934,
13566,
29059,
6323,
8707,
29928,
22122,
29903,
8079,
13764,
29979,
476,
22255,
29892,
2845,
4653,
470,
2411,
2957,
22993,
13,
29937,
2823,
278,
19245,
363,
278,
2702,
4086,
14765,
1076,
11239,
322,
30004,
13,
29937,
27028,
1090,
278,
19245,
22993,
13,
29937,
1275,
9166,
9166,
9166,
9166,
4936,
2751,
30004,
13,
15945,
29908,
10140,
1535,
3206,
19725,
3168,
5314,
1213,
15945,
30004,
13,
30004,
13,
3166,
4770,
29888,
9130,
1649,
1053,
8380,
29918,
5215,
30004,
13,
3166,
4770,
29888,
9130,
1649,
1053,
8542,
30004,
13,
3166,
4770,
29888,
9130,
1649,
1053,
1596,
29918,
2220,
30004,
13,
30004,
13,
30004,
13,
1753,
679,
29918,
4530,
1535,
29918,
1753,
29918,
1609,
29918,
1989,
29898,
7299,
29918,
4262,
29918,
1753,
29892,
12608,
29918,
1753,
29918,
1989,
1125,
30004,
13,
29871,
9995,
7270,
537,
740,
304,
679,
263,
9954,
1535,
3206,
9608,
6835,
491,
967,
1820,
22993,
13,
30004,
13,
29871,
826,
3174,
29901,
30004,
13,
1678,
12700,
29918,
4262,
29918,
1753,
29901,
20553,
9527,
3206,
9608,
6835,
411,
278,
9954,
1535,
3206,
3388,
304,
30004,
13,
418,
1106,
701,
22993,
13,
1678,
12608,
29918,
1753,
29918,
1989,
29901,
7670,
310,
278,
9954,
1535,
3206,
9608,
6835,
304,
1284,
297,
278,
30004,
13,
418,
9954,
1535,
3206,
3388,
22993,
13,
30004,
13,
29871,
16969,
29901,
30004,
13,
1678,
319,
9954,
1535,
3206,
9608,
6835,
6590,
304,
278,
19056,
1820,
29892,
565,
372,
30004,
13,
1678,
4864,
22993,
13,
30004,
13,
29871,
390,
1759,
267,
29901,
30004,
13,
1678,
7865,
2392,
29901,
960,
694,
6251,
6590,
304,
278,
19056,
1820,
338,
1476,
297,
278,
30004,
13,
1678,
9954,
1535,
3206,
3388,
310,
278,
20553,
9527,
3206,
22993,
13,
29871,
9995,
30004,
13,
29871,
565,
12608,
29918,
1753,
29918,
1989,
451,
297,
12700,
29918,
4262,
29918,
1753,
29889,
4530,
1535,
29918,
1753,
29901,
30004,
13,
1678,
12020,
7865,
2392,
703,
3782,
9954,
1535,
3206,
411,
1820,
14210,
29879,
29915,
1476,
297,
20553,
9527,
3206,
1213,
1273,
30004,
13,
462,
268,
12608,
29918,
1753,
29918,
1989,
8443,
13,
29871,
736,
12700,
29918,
4262,
29918,
1753,
29889,
4530,
1535,
29918,
1753,
29961,
4530,
1535,
29918,
1753,
29918,
1989,
29962,
30004,
13,
2
] |
datatube/test/coerce_dtypes_test.py | eerkela/archivetube | 0 | 37701 | from datetime import datetime, timedelta, timezone
import random
import unittest
import numpy as np
import pandas as pd
from pandas.testing import assert_frame_equal, assert_series_equal
import pytz
if __name__ == "__main__":
from pathlib import Path
import sys
sys.path.insert(0, str(Path(__file__).resolve().parents[2]))
from datatube.dtype import coerce_dtypes
unittest.TestCase.maxDiff = None
class CoerceDtypeBasicTests(unittest.TestCase):
def test_coerce_dtypes_returns_copy(self):
# series
in_series = pd.Series([1, 2, 3])
out_series = coerce_dtypes(in_series, float)
self.assertNotEqual(id(in_series), id(out_series))
# dataframe
in_df = pd.DataFrame({"copy": [1, 2, 3]})
out_df = coerce_dtypes(in_df, {"copy": float})
self.assertNotEqual(id(in_df), id(out_df))
class CoerceIntegerDtypeTests(unittest.TestCase):
@classmethod
def setUpClass(cls) -> None:
size = 3 # minimum 3
cls.integers = [-1 * size // 2 + i + 1 for i in range(size)]
# integers = [..., -1, 0, 1, ...]
cls.bool_flags = [(i + 1) % 2 for i in range(size)]
# bool_flags = [1, 0, 1, 0, 1, ...]
cls.col_name = "integers"
def test_coerce_from_integer_to_integer_no_na(self):
in_data = self.integers
out_data = in_data.copy()
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, int)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: int})
assert_frame_equal(result, out_df)
def test_coerce_from_integer_to_integer_with_na(self):
in_data = self.integers + [None]
out_data = in_data.copy()
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, int)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: int})
assert_frame_equal(result, out_df)
def test_coerce_from_integer_to_float_no_na(self):
in_data = self.integers
out_data = [float(i) for i in self.integers]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, float)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: float})
assert_frame_equal(result, out_df)
def test_coerce_from_integer_to_float_with_na(self):
in_data = self.integers + [None]
out_data = [float(i) for i in self.integers] + [None]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, float)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: float})
assert_frame_equal(result, out_df)
def test_coerce_from_integer_to_complex_no_na(self):
in_data = self.integers
out_data = [complex(i, 0) for i in self.integers]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, complex)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: complex})
assert_frame_equal(result, out_df)
def test_coerce_from_integer_to_complex_with_na(self):
in_data = self.integers + [None]
out_data = [complex(i, 0) for i in self.integers] + [None]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, complex)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: complex})
assert_frame_equal(result, out_df)
def test_coerce_from_integer_to_string_no_na(self):
in_data = self.integers
out_data = [str(i) for i in self.integers]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, str)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: str})
assert_frame_equal(result, out_df)
def test_coerce_from_integer_to_string_with_na(self):
in_data = self.integers + [None]
out_data = [str(i) for i in self.integers] + [None]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, str)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: str})
assert_frame_equal(result, out_df)
def test_coerce_from_generic_integer_to_boolean_no_na(self):
in_data = self.integers
# series
in_series = pd.Series(in_data)
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce series "
f"values to {bool} without losing information (head: "
f"{list(in_series.head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_series, bool)
self.assertEqual(str(err.exception), err_msg)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce column "
f"{repr(self.col_name)} to {bool} without losing "
f"information (head: {list(in_df[self.col_name].head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_df, {self.col_name: bool})
self.assertEqual(str(err.exception), err_msg)
def test_coerce_from_generic_integer_to_boolean_with_na(self):
in_data = self.integers + [None]
# series
in_series = pd.Series(in_data)
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce series "
f"values to {bool} without losing information (head: "
f"{list(in_series.head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_series, bool)
self.assertEqual(str(err.exception), err_msg)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce column "
f"{repr(self.col_name)} to {bool} without losing "
f"information (head: {list(in_df[self.col_name].head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_df, {self.col_name: bool})
self.assertEqual(str(err.exception), err_msg)
def test_coerce_from_integer_bool_flag_to_boolean_no_na(self):
in_data = self.bool_flags
out_data = [bool(i) for i in self.bool_flags]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, bool)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: bool})
assert_frame_equal(result, out_df)
def test_coerce_from_integer_bool_flag_to_boolean_with_na(self):
in_data = self.bool_flags + [None]
out_data = [bool(i) for i in self.bool_flags] + [None]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, bool)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: bool})
assert_frame_equal(result, out_df)
def test_coerce_from_integer_to_datetime_no_na(self):
in_data = self.integers
out_data = [datetime.fromtimestamp(i, tz=timezone.utc)
for i in self.integers]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, datetime)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: datetime})
assert_frame_equal(result, out_df)
def test_coerce_from_integer_to_datetime_with_na(self):
in_data = self.integers + [None]
out_data = [datetime.fromtimestamp(i, tz=timezone.utc)
for i in self.integers] + [None]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, datetime)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: datetime})
assert_frame_equal(result, out_df)
def test_coerce_from_integer_to_timedelta_no_na(self):
in_data = self.integers
out_data = [timedelta(seconds=i) for i in self.integers]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, timedelta)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: timedelta})
assert_frame_equal(result, out_df)
def test_coerce_from_integer_to_timedelta_with_na(self):
in_data = self.integers + [None]
out_data = [timedelta(seconds=i) for i in self.integers] + [None]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, timedelta)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: timedelta})
assert_frame_equal(result, out_df)
def test_coerce_from_integer_to_object_no_na(self):
in_series = pd.Series(self.integers)
out_series = in_series.astype(np.dtype("O"))
# series
result = coerce_dtypes(in_series, object)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_series})
out_df = pd.DataFrame({self.col_name: out_series})
result = coerce_dtypes(in_df, {self.col_name: object})
assert_frame_equal(result, out_df)
def test_coerce_from_integer_to_object_with_na(self):
in_series = pd.Series(self.integers + [None])
out_series = in_series.astype(np.dtype("O"))
# series
result = coerce_dtypes(in_series, object)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_series})
out_df = pd.DataFrame({self.col_name: out_series})
result = coerce_dtypes(in_df, {self.col_name: object})
assert_frame_equal(result, out_df)
class CoerceFloatDtypeTests(unittest.TestCase):
@classmethod
def setUpClass(cls) -> None:
random.seed(12345)
size = 3 # minimum 3
cls.whole_floats = [-1 * size // 2 + i + 1.0 for i in range(size)]
# whole_flats = [..., -1.0, 0.0, 1.0, ...]
cls.decimal_floats = [-1 * size // 2 + i + 1 + random.random()
for i in range(size)]
# decimal_floats = [..., -1.0 + e, 0.0 + e, 1.0 + e, ...]
cls.decimal_floats_between_0_and_1 = [random.random()
for _ in range(size)]
# decimal_floats_between_0_and_1 = [0.xxxx, 0.xxxx, 0.xxxx, ...]
cls.bool_flags = [(i + 1.0) % 2 for i in range(size)]
# bool_flags = [1.0, 0.0, 1.0, 0.0, 1.0, ...]
cls.col_name = "floats"
def test_coerce_from_whole_float_to_integer_no_na(self):
in_data = self.whole_floats
out_data = [int(f) for f in self.whole_floats]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, int)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: int})
assert_frame_equal(result, out_df)
def test_coerce_from_whole_float_to_integer_with_na(self):
in_data = self.whole_floats + [None]
out_data = [int(f) for f in self.whole_floats] + [None]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, int)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: int})
assert_frame_equal(result, out_df)
def test_coerce_from_decimal_float_to_integer_no_na(self):
in_data = self.decimal_floats
# series
in_series = pd.Series(in_data)
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce series "
f"values to {int} without losing information (head: "
f"{list(in_series.head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_series, int)
self.assertEqual(str(err.exception), err_msg)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce column "
f"{repr(self.col_name)} to {int} without losing "
f"information (head: {list(in_df[self.col_name].head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_df, {self.col_name: int})
self.assertEqual(str(err.exception), err_msg)
def test_coerce_from_decimal_float_to_integer_with_na(self):
in_data = self.decimal_floats + [None]
# series
in_series = pd.Series(in_data)
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce series "
f"values to {int} without losing information (head: "
f"{list(in_series.head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_series, int)
self.assertEqual(str(err.exception), err_msg)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce column "
f"{repr(self.col_name)} to {int} without losing "
f"information (head: {list(in_df[self.col_name].head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_df, {self.col_name: int})
self.assertEqual(str(err.exception), err_msg)
def test_coerce_from_float_to_float_no_na(self):
in_data = self.decimal_floats
out_data = in_data.copy()
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, float)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: float})
assert_frame_equal(result, out_df)
def test_coerce_from_float_to_float_with_na(self):
in_data = self.decimal_floats + [None]
out_data = in_data.copy()
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, float)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: float})
assert_frame_equal(result, out_df)
def test_coerce_from_float_to_complex_no_na(self):
in_data = self.decimal_floats
out_data = [complex(f, 0) for f in self.decimal_floats]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, complex)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: complex})
assert_frame_equal(result, out_df)
def test_coerce_from_float_to_complex_with_na(self):
in_data = self.decimal_floats + [None]
out_data = [complex(f, 0) for f in self.decimal_floats] + [None]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, complex)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: complex})
assert_frame_equal(result, out_df)
def test_coerce_from_float_to_string_no_na(self):
in_data = self.decimal_floats
out_data = [str(f) for f in self.decimal_floats]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, str)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: str})
assert_frame_equal(result, out_df)
def test_coerce_from_float_to_string_with_na(self):
in_data = self.decimal_floats + [None]
out_data = [str(f) for f in self.decimal_floats] + [None]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, str)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: str})
assert_frame_equal(result, out_df)
def test_coerce_from_generic_float_to_boolean_no_na(self):
in_data = self.decimal_floats
# series
in_series = pd.Series(in_data)
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce series "
f"values to {bool} without losing information (head: "
f"{list(in_series.head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_series, bool)
self.assertEqual(str(err.exception), err_msg)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce column "
f"{repr(self.col_name)} to {bool} without losing "
f"information (head: {list(in_df[self.col_name].head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_df, {self.col_name: bool})
self.assertEqual(str(err.exception), err_msg)
def test_coerce_from_generic_float_to_boolean_with_na(self):
in_data = self.decimal_floats + [None]
# series
in_series = pd.Series(in_data)
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce series "
f"values to {bool} without losing information (head: "
f"{list(in_series.head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_series, bool)
self.assertEqual(str(err.exception), err_msg)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce column "
f"{repr(self.col_name)} to {bool} without losing "
f"information (head: {list(in_df[self.col_name].head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_df, {self.col_name: bool})
self.assertEqual(str(err.exception), err_msg)
def test_coerce_from_float_bool_flag_to_boolean_no_na(self):
in_data = self.bool_flags
out_data = [bool(f) for f in self.bool_flags]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, bool)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: bool})
assert_frame_equal(result, out_df)
def test_coerce_from_float_bool_flag_to_boolean_with_na(self):
in_data = self.bool_flags + [None]
out_data = [bool(f) for f in self.bool_flags] + [None]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, bool)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: bool})
assert_frame_equal(result, out_df)
def test_coerce_from_decimal_float_between_0_and_1_to_boolean_no_na(self):
in_data = self.decimal_floats_between_0_and_1
# series
in_series = pd.Series(in_data)
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce series "
f"values to {bool} without losing information (head: "
f"{list(in_series.head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_series, bool)
self.assertEqual(str(err.exception), err_msg)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce column "
f"{repr(self.col_name)} to {bool} without losing "
f"information (head: {list(in_df[self.col_name].head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_df, {self.col_name: bool})
self.assertEqual(str(err.exception), err_msg)
def test_coerce_from_decimal_float_between_0_and_1_to_boolean_with_na(self):
in_data = self.decimal_floats_between_0_and_1 + [None]
# series
in_series = pd.Series(in_data)
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce series "
f"values to {bool} without losing information (head: "
f"{list(in_series.head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_series, bool)
self.assertEqual(str(err.exception), err_msg)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce column "
f"{repr(self.col_name)} to {bool} without losing "
f"information (head: {list(in_df[self.col_name].head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_df, {self.col_name: bool})
self.assertEqual(str(err.exception), err_msg)
def test_coerce_from_float_to_datetime_no_na(self):
in_data = self.decimal_floats
out_data = [datetime.fromtimestamp(f, tz=timezone.utc)
for f in self.decimal_floats]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, datetime)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: datetime})
assert_frame_equal(result, out_df)
def test_coerce_from_float_to_datetime_with_na(self):
in_data = self.decimal_floats + [None]
out_data = [datetime.fromtimestamp(f, tz=timezone.utc)
for f in self.decimal_floats] + [None]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, datetime)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: datetime})
assert_frame_equal(result, out_df)
def test_coerce_from_float_to_timedelta_no_na(self):
in_data = self.decimal_floats
out_data = [timedelta(seconds=f) for f in self.decimal_floats]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, timedelta)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: timedelta})
assert_frame_equal(result, out_df)
def test_coerce_from_float_to_timedelta_with_na(self):
in_data = self.decimal_floats + [None]
out_data = [timedelta(seconds=f) for f in self.decimal_floats] + [None]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, timedelta)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: timedelta})
assert_frame_equal(result, out_df)
def test_coerce_from_float_to_object_no_na(self):
in_series = pd.Series(self.decimal_floats)
out_series = in_series.astype(np.dtype("O"))
# series
result = coerce_dtypes(in_series, object)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_series})
out_df = pd.DataFrame({self.col_name: out_series})
result = coerce_dtypes(in_df, {self.col_name: object})
assert_frame_equal(result, out_df)
def test_coerce_from_float_to_object_with_na(self):
in_series = pd.Series(self.decimal_floats + [None])
out_series = in_series.astype(np.dtype("O"))
# series
result = coerce_dtypes(in_series, object)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_series})
out_df = pd.DataFrame({self.col_name: out_series})
result = coerce_dtypes(in_df, {self.col_name: object})
assert_frame_equal(result, out_df)
class CoerceComplexDtypeTests(unittest.TestCase):
@classmethod
def setUpClass(cls) -> None:
random.seed(12345)
size = 3
cls.real_whole_complex = [complex(-1 * size // 2 + i + 1.0, 0)
for i in range(size)]
# ^ = [..., complex(-1, 0), complex(0, 0), complex(1, 0), ...]
cls.real_complex = [complex(-1 * size // 2 + i + 1 + random.random(), 0)
for i in range(size)]
# ^ = [..., complex(-1+e, 0), complex(0+e, 0), complex(1+e, 0), ...]
cls.real_complex_between_0_and_1 = [complex(random.random(), 0)
for _ in range(size)]
# ^ = [complex(0.xxxx, 0), complex(0.xxxx, 0), complex(0.xxxx, 0), ...]
cls.imag_complex = [complex(-1 * size // 2 + i + 1 + random.random(),
-1 * size // 2 + i + 1 + random.random())
for i in range(size)]
# ^ = [..., complex(-1+e,-1+e), complex(0+e,0+e), complex(1+e,1+e), ...]
cls.bool_flags = [complex((i + 1) % 2, 0) for i in range(size)]
# ^ = [complex(1, 0), complex(0, 0), complex(1, 0), complex(0, 0), ...]
cls.col_name = "complex"
def test_coerce_from_real_whole_complex_to_integer_no_na(self):
in_data = self.real_whole_complex
out_data = [int(c.real) for c in self.real_whole_complex]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, int)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: int})
assert_frame_equal(result, out_df)
def test_coerce_from_real_whole_complex_to_integer_with_na(self):
in_data = self.real_whole_complex + [None]
out_data = [int(c.real) for c in self.real_whole_complex] + [None]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, int)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: int})
assert_frame_equal(result, out_df)
def test_coerce_from_real_decimal_complex_to_integer_no_na(self):
in_data = self.real_complex
# series
in_series = pd.Series(in_data)
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce series "
f"values to {int} without losing information (head: "
f"{list(in_series.head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_series, int)
self.assertEqual(str(err.exception), err_msg)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce column "
f"{repr(self.col_name)} to {int} without losing "
f"information (head: {list(in_df[self.col_name].head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_df, {self.col_name: int})
self.assertEqual(str(err.exception), err_msg)
def test_coerce_from_real_decimal_complex_to_integer_with_na(self):
in_data = self.real_complex + [None]
# series
in_series = pd.Series(in_data)
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce series "
f"values to {int} without losing information (head: "
f"{list(in_series.head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_series, int)
self.assertEqual(str(err.exception), err_msg)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce column "
f"{repr(self.col_name)} to {int} without losing "
f"information (head: {list(in_df[self.col_name].head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_df, {self.col_name: int})
self.assertEqual(str(err.exception), err_msg)
def test_coerce_from_imaginary_complex_to_integer_no_na(self):
in_data = self.imag_complex
# series
in_series = pd.Series(in_data)
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce series "
f"values to {int} without losing information (head: "
f"{list(in_series.head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_series, int)
self.assertEqual(str(err.exception), err_msg)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce column "
f"{repr(self.col_name)} to {int} without losing "
f"information (head: {list(in_df[self.col_name].head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_df, {self.col_name: int})
self.assertEqual(str(err.exception), err_msg)
def test_coerce_from_imaginary_complex_to_integer_with_na(self):
in_data = self.imag_complex + [None]
# series
in_series = pd.Series(in_data)
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce series "
f"values to {int} without losing information (head: "
f"{list(in_series.head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_series, int)
self.assertEqual(str(err.exception), err_msg)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce column "
f"{repr(self.col_name)} to {int} without losing "
f"information (head: {list(in_df[self.col_name].head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_df, {self.col_name: int})
self.assertEqual(str(err.exception), err_msg)
def test_coerce_from_real_complex_to_float_no_na(self):
in_data = self.real_complex
out_data = [c.real for c in self.real_complex]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, float)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: float})
assert_frame_equal(result, out_df)
def test_coerce_from_real_complex_to_float_with_na(self):
in_data = self.real_complex + [None]
out_data = [c.real for c in self.real_complex] + [None]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, float)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: float})
assert_frame_equal(result, out_df)
def test_coerce_from_imaginary_complex_to_float_no_na(self):
in_data = self.imag_complex
# series
in_series = pd.Series(in_data)
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce series "
f"values to {float} without losing information (head: "
f"{list(in_series.head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_series, float)
self.assertEqual(str(err.exception), err_msg)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce column "
f"{repr(self.col_name)} to {float} without losing "
f"information (head: {list(in_df[self.col_name].head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_df, {self.col_name: float})
self.assertEqual(str(err.exception), err_msg)
def test_coerce_from_imaginary_complex_to_float_with_na(self):
in_data = self.imag_complex + [None]
# series
in_series = pd.Series(in_data)
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce series "
f"values to {float} without losing information (head: "
f"{list(in_series.head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_series, float)
self.assertEqual(str(err.exception), err_msg)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce column "
f"{repr(self.col_name)} to {float} without losing "
f"information (head: {list(in_df[self.col_name].head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_df, {self.col_name: float})
self.assertEqual(str(err.exception), err_msg)
def test_coerce_from_complex_to_complex_no_na(self):
in_data = self.imag_complex
out_data = in_data.copy()
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, complex)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: complex})
assert_frame_equal(result, out_df)
def test_coerce_from_complex_to_complex_with_na(self):
in_data = self.imag_complex + [None]
out_data = in_data.copy()
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, complex)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: complex})
assert_frame_equal(result, out_df)
def test_coerce_from_complex_to_string_no_na(self):
in_data = self.imag_complex
out_data = [str(c) for c in self.imag_complex]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, str)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: str})
assert_frame_equal(result, out_df)
def test_coerce_from_complex_to_string_with_na(self):
in_data = self.imag_complex + [None]
out_data = [str(c) for c in self.imag_complex] + [None]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, str)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: str})
assert_frame_equal(result, out_df)
def test_coerce_from_complex_bool_flag_to_boolean_no_na(self):
in_data = self.bool_flags
out_data = [bool(c.real) for c in self.bool_flags]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, bool)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: bool})
assert_frame_equal(result, out_df)
def test_coerce_from_complex_bool_flag_to_boolean_with_na(self):
in_data = self.bool_flags + [None]
out_data = [bool(c.real) for c in self.bool_flags] + [None]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, bool)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: bool})
assert_frame_equal(result, out_df)
def test_coerce_from_real_complex_to_boolean_no_na(self):
in_data = self.real_complex
# series
in_series = pd.Series(in_data)
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce series "
f"values to {bool} without losing information (head: "
f"{list(in_series.head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_series, bool)
self.assertEqual(str(err.exception), err_msg)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce column "
f"{repr(self.col_name)} to {bool} without losing "
f"information (head: {list(in_df[self.col_name].head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_df, {self.col_name: bool})
self.assertEqual(str(err.exception), err_msg)
def test_coerce_from_real_complex_to_boolean_with_na(self):
in_data = self.real_complex + [None]
# series
in_series = pd.Series(in_data)
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce series "
f"values to {bool} without losing information (head: "
f"{list(in_series.head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_series, bool)
self.assertEqual(str(err.exception), err_msg)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce column "
f"{repr(self.col_name)} to {bool} without losing "
f"information (head: {list(in_df[self.col_name].head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_df, {self.col_name: bool})
self.assertEqual(str(err.exception), err_msg)
def test_coerce_from_real_whole_complex_to_boolean_no_na(self):
in_data = self.real_whole_complex
# series
in_series = pd.Series(in_data)
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce series "
f"values to {bool} without losing information (head: "
f"{list(in_series.head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_series, bool)
self.assertEqual(str(err.exception), err_msg)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce column "
f"{repr(self.col_name)} to {bool} without losing "
f"information (head: {list(in_df[self.col_name].head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_df, {self.col_name: bool})
self.assertEqual(str(err.exception), err_msg)
def test_coerce_from_real_whole_complex_to_boolean_with_na(self):
in_data = self.real_whole_complex + [None]
# series
in_series = pd.Series(in_data)
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce series "
f"values to {bool} without losing information (head: "
f"{list(in_series.head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_series, bool)
self.assertEqual(str(err.exception), err_msg)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce column "
f"{repr(self.col_name)} to {bool} without losing "
f"information (head: {list(in_df[self.col_name].head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_df, {self.col_name: bool})
self.assertEqual(str(err.exception), err_msg)
def test_coerce_from_real_complex_between_0_and_1_to_boolean_no_na(self):
in_data = self.real_complex_between_0_and_1
# series
in_series = pd.Series(in_data)
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce series "
f"values to {bool} without losing information (head: "
f"{list(in_series.head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_series, bool)
self.assertEqual(str(err.exception), err_msg)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce column "
f"{repr(self.col_name)} to {bool} without losing "
f"information (head: {list(in_df[self.col_name].head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_df, {self.col_name: bool})
self.assertEqual(str(err.exception), err_msg)
def test_coerce_from_real_complex_between_0_and_1_to_boolean_with_na(self):
in_data = self.real_complex_between_0_and_1 + [None]
# series
in_series = pd.Series(in_data)
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce series "
f"values to {bool} without losing information (head: "
f"{list(in_series.head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_series, bool)
self.assertEqual(str(err.exception), err_msg)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce column "
f"{repr(self.col_name)} to {bool} without losing "
f"information (head: {list(in_df[self.col_name].head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_df, {self.col_name: bool})
self.assertEqual(str(err.exception), err_msg)
def test_coerce_from_imaginary_complex_to_boolean_no_na(self):
in_data = self.imag_complex
# series
in_series = pd.Series(in_data)
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce series "
f"values to {bool} without losing information (head: "
f"{list(in_series.head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_series, bool)
self.assertEqual(str(err.exception), err_msg)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce column "
f"{repr(self.col_name)} to {bool} without losing "
f"information (head: {list(in_df[self.col_name].head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_df, {self.col_name: bool})
self.assertEqual(str(err.exception), err_msg)
def test_coerce_from_imaginary_complex_to_boolean_with_na(self):
in_data = self.imag_complex + [None]
# series
in_series = pd.Series(in_data)
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce series "
f"values to {bool} without losing information (head: "
f"{list(in_series.head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_series, bool)
self.assertEqual(str(err.exception), err_msg)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce column "
f"{repr(self.col_name)} to {bool} without losing "
f"information (head: {list(in_df[self.col_name].head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_df, {self.col_name: bool})
self.assertEqual(str(err.exception), err_msg)
def test_coerce_from_real_complex_to_datetime_no_na(self):
in_data = self.real_complex
out_data = [datetime.fromtimestamp(c.real, tz=timezone.utc)
for c in self.real_complex]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, datetime)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: datetime})
assert_frame_equal(result, out_df)
def test_coerce_from_real_complex_to_datetime_with_na(self):
in_data = self.real_complex + [None]
out_data = [datetime.fromtimestamp(c.real, tz=timezone.utc)
for c in self.real_complex] + [None]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, datetime)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: datetime})
assert_frame_equal(result, out_df)
def test_coerce_from_imaginary_complex_to_datetime_no_na(self):
in_data = self.imag_complex
# series
in_series = pd.Series(in_data)
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce series "
f"values to {datetime} without losing information (head: "
f"{list(in_series.head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_series, datetime)
self.assertEqual(str(err.exception), err_msg)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce column "
f"{repr(self.col_name)} to {datetime} without losing "
f"information (head: {list(in_df[self.col_name].head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_df, {self.col_name: datetime})
self.assertEqual(str(err.exception), err_msg)
def test_coerce_from_imaginary_complex_to_datetime_with_na(self):
in_data = self.imag_complex + [None]
# series
in_series = pd.Series(in_data)
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce series "
f"values to {datetime} without losing information (head: "
f"{list(in_series.head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_series, datetime)
self.assertEqual(str(err.exception), err_msg)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce column "
f"{repr(self.col_name)} to {datetime} without losing "
f"information (head: {list(in_df[self.col_name].head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_df, {self.col_name: datetime})
self.assertEqual(str(err.exception), err_msg)
def test_coerce_from_real_complex_to_timedelta_no_na(self):
in_data = self.real_complex
out_data = [timedelta(seconds=c.real) for c in self.real_complex]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, timedelta)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: timedelta})
assert_frame_equal(result, out_df)
def test_coerce_from_real_complex_to_timedelta_with_na(self):
in_data = self.real_complex + [None]
out_data = ([timedelta(seconds=c.real) for c in self.real_complex] +
[None])
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, timedelta)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: timedelta})
assert_frame_equal(result, out_df)
def test_coerce_from_imaginary_complex_to_timedelta_no_na(self):
in_data = self.imag_complex
# series
in_series = pd.Series(in_data)
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce series "
f"values to {timedelta} without losing information (head: "
f"{list(in_series.head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_series, timedelta)
self.assertEqual(str(err.exception), err_msg)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce column "
f"{repr(self.col_name)} to {timedelta} without losing "
f"information (head: {list(in_df[self.col_name].head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_df, {self.col_name: timedelta})
self.assertEqual(str(err.exception), err_msg)
def test_coerce_from_imaginary_complex_to_timedelta_with_na(self):
in_data = self.imag_complex + [None]
# series
in_series = pd.Series(in_data)
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce series "
f"values to {timedelta} without losing information (head: "
f"{list(in_series.head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_series, timedelta)
self.assertEqual(str(err.exception), err_msg)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce column "
f"{repr(self.col_name)} to {timedelta} without losing "
f"information (head: {list(in_df[self.col_name].head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_df, {self.col_name: timedelta})
self.assertEqual(str(err.exception), err_msg)
def test_coerce_from_complex_to_object_no_na(self):
in_series = pd.Series(self.imag_complex)
out_series = in_series.astype(np.dtype("O"))
# series
result = coerce_dtypes(in_series, object)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_series})
out_df = pd.DataFrame({self.col_name: out_series})
result = coerce_dtypes(in_df, {self.col_name: object})
assert_frame_equal(result, out_df)
def test_coerce_from_complex_to_object_wth_na(self):
in_series = pd.Series(self.imag_complex + [None])
out_series = in_series.astype(np.dtype("O"))
# series
result = coerce_dtypes(in_series, object)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_series})
out_df = pd.DataFrame({self.col_name: out_series})
result = coerce_dtypes(in_df, {self.col_name: object})
assert_frame_equal(result, out_df)
class CoerceStringDtypeTests(unittest.TestCase):
@classmethod
def setUpClass(cls) -> None:
random.seed(12345)
size = 3
cls.integers = [-1 * size // 2 + i + 1 for i in range(size)]
# ^ = [..., -1, 0, 1, ...]
cls.floats = [i + random.random() for i in cls.integers]
# ^ = [..., -1+e, 0+e, 1+e, ...]
cls.complex = [complex(f, f) for f in cls.floats]
# ^ = [..., complex(-1+e,-1+e), complex(0+e,0+e), complex(1+e,1+e), ...]
cls.characters = [chr((i % 26) + ord("a")) for i in range(size)]
# ^ = ["a", "b", "c", ..., "a", "b", "c", ...]
cls.booleans = [bool((i + 1) % 2) for i in range(size)]
# ^ = [True, False, True, False, ...]
cls.naive_datetimes = [datetime.utcfromtimestamp(f) for f in cls.floats]
# ^ = [..., utc time -1+e, utc time 0+e, utc_time 1+e, ...] (no tz)
cls.aware_datetimes = [datetime.fromtimestamp(f, tz=timezone.utc)
for f in cls.floats]
# ^ = [..., utc time -1+e, utc time 0+e, utc_time 1+e, ...] (with tz)
cls.aware_naive_datetimes = []
for index, f in enumerate(cls.floats):
if index % 2: # naive
cls.aware_naive_datetimes.append(datetime.utcfromtimestamp(f))
else: # aware
val = datetime.fromtimestamp(f, tz=timezone.utc)
cls.aware_naive_datetimes.append(val)
# ^ = [aware, naive, aware, naive, aware, ...]
cls.mixed_timezones = []
for index, f in enumerate(cls.floats):
tz_name = pytz.all_timezones[index % len(pytz.all_timezones)]
tz = pytz.timezone(tz_name)
val = datetime.fromtimestamp(f, tz=tz)
cls.mixed_timezones.append(val)
# ^ = ["Africa/Abidjan", "Africa/Accra", "Africa/Addis_Ababa", ...]
cls.timedeltas = [timedelta(seconds=f) for f in cls.floats]
# ^ = [..., -1+e seconds, 0+e seconds, 1+e seconds, ...]
cls.col_name = "strings"
def test_coerce_from_integer_string_to_integer_no_na(self):
in_data = [str(i) for i in self.integers]
out_data = self.integers
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, int)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: int})
assert_frame_equal(result, out_df)
def test_coerce_from_integer_string_to_integer_with_na(self):
in_data = [str(i) for i in self.integers] + [None]
out_data = self.integers + [None]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, int)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: int})
assert_frame_equal(result, out_df)
def test_coerce_from_float_string_to_float_no_na(self):
in_data = [str(f) for f in self.floats]
out_data = self.floats
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, float)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: float})
assert_frame_equal(result, out_df)
def test_coerce_from_float_string_to_float_with_na(self):
in_data = [str(f) for f in self.floats] + [None]
out_data = self.floats + [None]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, float)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: float})
assert_frame_equal(result, out_df)
def test_coerce_from_complex_string_to_complex_no_na(self):
in_data = [str(c) for c in self.complex]
out_data = self.complex
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, complex)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: complex})
assert_frame_equal(result, out_df)
def test_coerce_from_complex_string_to_complex_with_na(self):
in_data = [str(c) for c in self.complex] + [None]
out_data = self.complex + [None]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, complex)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: complex})
assert_frame_equal(result, out_df)
def test_coerce_from_character_string_to_string_no_na(self):
in_data = self.characters
out_data = in_data.copy()
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, str)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: str})
assert_frame_equal(result, out_df)
def test_coerce_from_character_string_to_string_with_na(self):
in_data = self.characters + [None]
out_data = in_data.copy()
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, str)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: str})
assert_frame_equal(result, out_df)
def test_coerce_from_boolean_string_to_boolean_no_na(self):
in_data = [str(b) for b in self.booleans]
out_data = self.booleans
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, bool)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: bool})
assert_frame_equal(result, out_df)
def test_coerce_from_boolean_string_to_boolean_with_na(self):
in_data = [str(b) for b in self.booleans] + [None]
out_data = self.booleans + [None]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, bool)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: bool})
assert_frame_equal(result, out_df)
def test_coerce_from_naive_datetime_string_to_datetime_no_na(self):
in_data = [str(d) for d in self.naive_datetimes]
out_data = self.naive_datetimes
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, datetime)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: datetime})
assert_frame_equal(result, out_df)
def test_coerce_from_naive_datetime_string_to_datetime_with_na(self):
in_data = [str(d) for d in self.naive_datetimes] + [None]
out_data = self.naive_datetimes + [None]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, datetime)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: datetime})
assert_frame_equal(result, out_df)
def test_coerce_from_naive_ISO_8601_string_to_datetime_no_na(self):
in_data = [d.isoformat() for d in self.naive_datetimes]
out_data = self.naive_datetimes
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, datetime)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: datetime})
assert_frame_equal(result, out_df)
def test_coerce_from_naive_ISO_8601_string_to_datetime_with_na(self):
in_data = [d.isoformat() for d in self.naive_datetimes] + [None]
out_data = self.naive_datetimes + [None]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, datetime)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: datetime})
assert_frame_equal(result, out_df)
def test_coerce_from_aware_datetime_string_to_datetime_no_na(self):
in_data = [str(d) for d in self.aware_datetimes]
out_data = self.aware_datetimes
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, datetime)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: datetime})
assert_frame_equal(result, out_df)
def test_coerce_from_aware_datetime_string_to_datetime_with_na(self):
in_data = [str(d) for d in self.aware_datetimes] + [None]
out_data = self.aware_datetimes + [None]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, datetime)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: datetime})
assert_frame_equal(result, out_df)
def test_coerce_from_aware_ISO_8601_string_to_datetime_no_na(self):
in_data = [d.isoformat() for d in self.aware_datetimes]
out_data = self.aware_datetimes
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, datetime)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: datetime})
assert_frame_equal(result, out_df)
def test_coerce_from_aware_ISO_8601_string_to_datetime_with_na(self):
in_data = [d.isoformat() for d in self.aware_datetimes] + [None]
out_data = self.aware_datetimes + [None]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, datetime)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: datetime})
assert_frame_equal(result, out_df)
def test_coerce_from_aware_naive_datetime_string_to_datetime_no_na(self):
raise NotImplementedError()
def test_coerce_from_aware_naive_datetime_string_to_datetime_with_na(self):
raise NotImplementedError()
def test_coerce_from_aware_naive_ISO_8601_string_to_datetime_no_na(self):
raise NotImplementedError()
def test_coerce_from_aware_naive_ISO_8601_string_to_datetime_with_na(self):
raise NotImplementedError()
def test_coerce_from_mixed_tz_datetime_string_to_datetime_no_na(self):
raise NotImplementedError()
def test_coerce_from_mixed_tz_datetime_string_to_datetime_with_na(self):
raise NotImplementedError()
def test_coerce_from_mixed_tz_ISO_8601_string_to_datetime_no_na(self):
raise NotImplementedError()
def test_coerce_from_mixed_tz_ISO_8601_string_to_datetime_with_na(self):
raise NotImplementedError()
def test_coerce_from_timedelta_string_to_timedelta_no_na(self):
in_data = [str(t) for t in self.timedeltas]
out_data = self.timedeltas
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, timedelta)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: timedelta})
assert_frame_equal(result, out_df)
def test_coerce_from_timedelta_string_to_timedelta_with_na(self):
in_data = [str(t) for t in self.timedeltas] + [None]
out_data = self.timedeltas + [None]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, timedelta)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: timedelta})
assert_frame_equal(result, out_df)
def test_coerce_from_string_to_object_no_na(self):
in_series = pd.Series(self.timedeltas)
out_series = in_series.astype(np.dtype("O"))
# series
result = coerce_dtypes(in_series, object)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_series})
out_df = pd.DataFrame({self.col_name: out_series})
result = coerce_dtypes(in_df, {self.col_name: object})
assert_frame_equal(result, out_df)
def test_coerce_from_string_to_object_with_na(self):
in_series = pd.Series(self.timedeltas + [None])
out_series = in_series.astype(np.dtype("O"))
# series
result = coerce_dtypes(in_series, object)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_series})
out_df = pd.DataFrame({self.col_name: out_series})
result = coerce_dtypes(in_df, {self.col_name: object})
assert_frame_equal(result, out_df)
class CoerceBooleanDtypeTests(unittest.TestCase):
@classmethod
def setUpClass(cls) -> None:
size = 3
cls.booleans = [bool((i + 1) % 2) for i in range(size)]
# ^ = [True, False, True, False, ...]
cls.col_name = "booleans"
def test_coerce_from_boolean_to_integer_no_na(self):
in_data = self.booleans
out_data = [int(b) for b in self.booleans]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, int)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: int})
assert_frame_equal(result, out_df)
def test_coerce_from_boolean_to_integer_with_na(self):
in_data = self.booleans + [None]
out_data = [int(b) for b in self.booleans] + [None]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, int)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: int})
assert_frame_equal(result, out_df)
def test_coerce_from_boolean_to_float_no_na(self):
in_data = self.booleans
out_data = [float(b) for b in self.booleans]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, float)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: float})
assert_frame_equal(result, out_df)
def test_coerce_from_boolean_to_float_with_na(self):
in_data = self.booleans + [None]
out_data = [float(b) for b in self.booleans] + [None]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, float)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: float})
assert_frame_equal(result, out_df)
def test_coerce_from_boolean_to_complex_no_na(self):
in_data = self.booleans
out_data = [complex(b, 0) for b in self.booleans]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, complex)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: complex})
assert_frame_equal(result, out_df)
def test_coerce_from_boolean_to_complex_with_na(self):
in_data = self.booleans + [None]
out_data = [complex(b, 0) for b in self.booleans] + [None]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, complex)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: complex})
assert_frame_equal(result, out_df)
def test_coerce_from_boolean_to_string_no_na(self):
in_data = self.booleans
out_data = [str(b) for b in self.booleans]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, str)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: str})
assert_frame_equal(result, out_df)
def test_coerce_from_boolean_to_string_with_na(self):
in_data = self.booleans + [None]
out_data = [str(b) for b in self.booleans] + [None]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, str)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: str})
assert_frame_equal(result, out_df)
def test_coerce_from_boolean_to_boolean_no_na(self):
in_data = self.booleans
out_data = in_data.copy()
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, bool)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: bool})
assert_frame_equal(result, out_df)
def test_coerce_from_boolean_to_boolean_with_na(self):
in_data = self.booleans + [None]
out_data = in_data.copy()
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, bool)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: bool})
assert_frame_equal(result, out_df)
def test_coerce_from_boolean_to_datetime_no_na(self):
in_data = self.booleans
out_data = [datetime.fromtimestamp(b, tz=timezone.utc)
for b in self.booleans]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, datetime)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: datetime})
assert_frame_equal(result, out_df)
def test_coerce_from_boolean_to_datetime_with_na(self):
in_data = self.booleans + [None]
out_data = [datetime.fromtimestamp(b, tz=timezone.utc)
for b in self.booleans] + [None]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, datetime)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: datetime})
assert_frame_equal(result, out_df)
def test_coerce_from_boolean_to_timedelta_no_na(self):
in_data = self.booleans
out_data = [timedelta(seconds=b) for b in self.booleans]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, timedelta)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: timedelta})
assert_frame_equal(result, out_df)
def test_coerce_from_boolean_to_timedelta_with_na(self):
in_data = self.booleans + [None]
out_data = [timedelta(seconds=b) for b in self.booleans] + [None]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, timedelta)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: timedelta})
assert_frame_equal(result, out_df)
def test_coerce_from_boolean_to_object_no_na(self):
in_series = pd.Series(self.booleans)
out_series = in_series.astype(np.dtype("O"))
# series
result = coerce_dtypes(in_series, object)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_series})
out_df = pd.DataFrame({self.col_name: in_series})
result = coerce_dtypes(in_df, {self.col_name: object})
assert_frame_equal(result, out_df)
def test_coerce_from_boolean_to_object_with_na(self):
in_series = pd.Series(self.booleans + [None])
out_series = in_series.astype(np.dtype("O"))
# series
result = coerce_dtypes(in_series, object)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_series})
out_df = pd.DataFrame({self.col_name: in_series})
result = coerce_dtypes(in_df, {self.col_name: object})
assert_frame_equal(result, out_df)
class CoerceDatetimeDtypeTests(unittest.TestCase):
@classmethod
def setUpClass(cls) -> None:
random.seed(12345)
size = 3
integers = [-1 * size // 2 + i + 1 for i in range(size)]
floats = [i + random.random() for i in integers]
cls.whole_datetimes = [datetime.fromtimestamp(i, tz=timezone.utc)
for i in integers]
# ^ = [..., utc time -1, utc time 0, utc time 1, ...]
cls.datetimes_between_0_and_1 = [datetime.fromtimestamp(random.random(),
tz=timezone.utc)
for _ in range(size)]
# ^ = [utc time 0+e, utc time 0+e, utc time 0+e, ...]
cls.bool_flags = [datetime.fromtimestamp((i + 1) % 2, tz=timezone.utc)
for i in range(size)]
# ^ = [utc time 1, utc time 0, utc time 1, utc time 0, ...]
cls.naive_datetimes = [datetime.utcfromtimestamp(f) for f in floats]
# ^ = [..., utc time -1+e, utc time 0+e, utc time 1+e, ...] (no tz)
cls.aware_datetimes = [datetime.fromtimestamp(f, tz=timezone.utc)
for f in floats]
# ^ = [..., utc time -1+e, utc time 0+e, utc_time 1+e, ...] (with tz)
cls.aware_naive_datetimes = []
for index, f in enumerate(floats):
if index % 2: # naive
cls.aware_naive_datetimes.append(datetime.utcfromtimestamp(f))
else: # aware
val = datetime.fromtimestamp(f, tz=timezone.utc)
cls.aware_naive_datetimes.append(val)
# ^ = [aware, naive, aware, naive, aware, ...]
cls.mixed_timezones = []
for index, f in enumerate(floats):
tz_name = pytz.all_timezones[index % len(pytz.all_timezones)]
tz = pytz.timezone(tz_name)
val = datetime.fromtimestamp(f, tz=tz)
cls.mixed_timezones.append(val)
# ^ = ["Africa/Abidjan", "Africa/Accra", "Africa/Addis_Ababa", ...]
cls.col_name = "datetimes"
def test_coerce_from_whole_datetime_to_integer_no_na(self):
in_data = self.whole_datetimes
out_data = [int(d.timestamp()) for d in self.whole_datetimes]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, int)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: int})
assert_frame_equal(result, out_df)
def test_coerce_from_whole_datetime_to_integer_with_na(self):
in_data = self.whole_datetimes + [None]
out_data = [int(d.timestamp()) for d in self.whole_datetimes] + [None]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, int)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: int})
assert_frame_equal(result, out_df)
def test_coerce_from_random_datetime_to_integer_no_na(self):
in_data = self.aware_datetimes
# series
in_series = pd.Series(in_data)
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce series "
f"values to {int} without losing information (head: "
f"{list(in_series.head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_series, int)
self.assertEqual(str(err.exception), err_msg)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce column "
f"{repr(self.col_name)} to {int} without losing "
f"information (head: {list(in_df[self.col_name].head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_df, {self.col_name: int})
self.assertEqual(str(err.exception), err_msg)
def test_coerce_from_random_datetime_to_integer_with_na(self):
in_data = self.aware_datetimes + [None]
# series
in_series = pd.Series(in_data)
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce series "
f"values to {int} without losing information (head: "
f"{list(in_series.head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_series, int)
self.assertEqual(str(err.exception), err_msg)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce column "
f"{repr(self.col_name)} to {int} without losing "
f"information (head: {list(in_df[self.col_name].head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_df, {self.col_name: int})
self.assertEqual(str(err.exception), err_msg)
def test_coerce_datetime_to_float_no_na(self):
in_data = self.aware_datetimes
out_data = [d.timestamp() for d in self.aware_datetimes]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, float)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: float})
assert_frame_equal(result, out_df)
def test_coerce_datetime_to_float_with_na(self):
in_data = self.aware_datetimes + [None]
out_data = [d.timestamp() for d in self.aware_datetimes] + [None]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, float)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: float})
assert_frame_equal(result, out_df)
def test_coerce_from_datetime_to_complex_no_na(self):
in_data = self.aware_datetimes
out_data = [complex(d.timestamp(), 0) for d in self.aware_datetimes]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, complex)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: complex})
assert_frame_equal(result, out_df)
def test_coerce_from_datetime_to_complex_with_na(self):
in_data = self.aware_datetimes + [None]
out_data = ([complex(d.timestamp(), 0) for d in self.aware_datetimes] +
[None])
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, complex)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: complex})
assert_frame_equal(result, out_df)
def test_coerce_from_datetime_to_string_no_na(self):
in_data = self.aware_datetimes
out_data = [d.isoformat() for d in self.aware_datetimes]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, str)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: str})
assert_frame_equal(result, out_df)
def test_coerce_from_datetime_to_string_with_na(self):
in_data = self.aware_datetimes + [None]
out_data = [d.isoformat() for d in self.aware_datetimes] + [None]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, str)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: str})
assert_frame_equal(result, out_df)
def test_coerce_from_datetime_bool_flag_to_boolean_no_na(self):
in_data = self.bool_flags
out_data = [bool(d.timestamp()) for d in self.bool_flags]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, bool)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: bool})
assert_frame_equal(result, out_df)
def test_coerce_from_datetime_bool_flag_to_boolean_with_na(self):
in_data = self.bool_flags + [None]
out_data = [bool(d.timestamp()) for d in self.bool_flags] + [None]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, bool)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: bool})
assert_frame_equal(result, out_df)
def test_coerce_from_random_datetime_to_boolean_no_na(self):
in_data = self.aware_datetimes
# series
in_series = pd.Series(in_data)
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce series "
f"values to {bool} without losing information (head: "
f"{list(in_series.head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_series, bool)
self.assertEqual(str(err.exception), err_msg)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce column "
f"{repr(self.col_name)} to {bool} without losing "
f"information (head: {list(in_df[self.col_name].head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_df, {self.col_name: bool})
self.assertEqual(str(err.exception), err_msg)
def test_coerce_from_random_datetime_to_boolean_with_na(self):
in_data = self.aware_datetimes + [None]
# series
in_series = pd.Series(in_data)
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce series "
f"values to {bool} without losing information (head: "
f"{list(in_series.head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_series, bool)
self.assertEqual(str(err.exception), err_msg)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce column "
f"{repr(self.col_name)} to {bool} without losing "
f"information (head: {list(in_df[self.col_name].head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_df, {self.col_name: bool})
self.assertEqual(str(err.exception), err_msg)
def test_coerce_from_datetime_between_0_and_1_to_boolean_no_na(self):
in_data = self.datetimes_between_0_and_1
# series
in_series = pd.Series(in_data)
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce series "
f"values to {bool} without losing information (head: "
f"{list(in_series.head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_series, bool)
self.assertEqual(str(err.exception), err_msg)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce column "
f"{repr(self.col_name)} to {bool} without losing "
f"information (head: {list(in_df[self.col_name].head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_df, {self.col_name: bool})
self.assertEqual(str(err.exception), err_msg)
def test_coerce_from_datetime_between_0_and_1_to_boolean_with_na(self):
in_data = self.datetimes_between_0_and_1 + [None]
# series
in_series = pd.Series(in_data)
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce series "
f"values to {bool} without losing information (head: "
f"{list(in_series.head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_series, bool)
self.assertEqual(str(err.exception), err_msg)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce column "
f"{repr(self.col_name)} to {bool} without losing "
f"information (head: {list(in_df[self.col_name].head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_df, {self.col_name: bool})
self.assertEqual(str(err.exception), err_msg)
def test_coerce_from_datetime_to_datetime_no_na(self):
in_data = self.aware_datetimes
out_data = in_data.copy()
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, datetime)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: datetime})
assert_frame_equal(result, out_df)
def test_coerce_from_datetime_to_datetime_with_na(self):
in_data = self.aware_datetimes + [None]
out_data = in_data.copy()
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, datetime)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: datetime})
assert_frame_equal(result, out_df)
def test_coerce_from_datetime_to_timedelta_no_na(self):
in_data = self.aware_datetimes
out_data = [timedelta(seconds=d.timestamp())
for d in self.aware_datetimes]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, timedelta)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: timedelta})
assert_frame_equal(result, out_df)
def test_coerce_from_datetime_to_timedelta_with_na(self):
in_data = self.aware_datetimes + [None]
out_data = [timedelta(seconds=d.timestamp())
for d in self.aware_datetimes] + [None]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, timedelta)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: timedelta})
assert_frame_equal(result, out_df)
def test_coerce_from_datetime_to_object_no_na(self):
in_series = pd.Series(self.aware_datetimes)
out_series = in_series.astype(np.dtype("O"))
# series
result = coerce_dtypes(in_series, object)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_series})
out_df = pd.DataFrame({self.col_name: out_series})
result = coerce_dtypes(in_df, {self.col_name: object})
assert_frame_equal(result, out_df)
def test_coerce_from_datetime_to_object_with_na(self):
in_series = pd.Series(self.aware_datetimes + [None])
out_series = in_series.astype(np.dtype("O"))
# series
result = coerce_dtypes(in_series, object)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_series})
out_df = pd.DataFrame({self.col_name: out_series})
result = coerce_dtypes(in_df, {self.col_name: object})
assert_frame_equal(result, out_df)
class CoerceTimedeltaDtypeTests(unittest.TestCase):
@classmethod
def setUpClass(cls) -> None:
random.seed(1<PASSWORD>)
size = 3
integers = [-1 * size // 2 + i + 1 for i in range(size)]
floats = [i + random.random() for i in integers]
cls.whole_timedeltas = [timedelta(seconds=i) for i in integers]
# ^ = [..., timedelta(-1), timedelta(0), timedelta(1), ...]
cls.timedeltas = [timedelta(seconds=f) for f in floats]
# ^ = [..., timedelta(-1+e), timedelta(0+e), timedelta(1+e), ...]
cls.timedeltas_between_0_and_1 = [timedelta(seconds=random.random())
for _ in range(size)]
# ^ = [timedelta(0+e), timedelta(0+e), timedelta(0+e), ...]
cls.bool_flags = [timedelta(seconds=(i + 1) % 2) for i in range(size)]
# ^ = [timedelta(1), timedelta(0), timedelta(1), timedelta(0), ...]
cls.col_name = "timedeltas"
def test_coerce_from_whole_timedelta_to_integer_no_na(self):
in_data = self.whole_timedeltas
out_data = [int(t.total_seconds()) for t in self.whole_timedeltas]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, int)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: int})
assert_frame_equal(result, out_df)
def test_coerce_from_whole_timedelta_to_integer_with_na(self):
in_data = self.whole_timedeltas + [None]
out_data = ([int(t.total_seconds()) for t in self.whole_timedeltas] +
[None])
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, int)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: int})
assert_frame_equal(result, out_df)
def test_coerce_from_random_timedelta_to_integer_no_na(self):
in_data = self.timedeltas
# series
in_series = pd.Series(in_data)
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce series "
f"values to {int} without losing information (head: "
f"{list(in_series.head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_series, int)
self.assertEqual(str(err.exception), err_msg)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce column "
f"{repr(self.col_name)} to {int} without losing "
f"information (head: {list(in_df[self.col_name].head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_df, {self.col_name: int})
self.assertEqual(str(err.exception), err_msg)
def test_coerce_from_random_timedelta_to_integer_with_na(self):
in_data = self.timedeltas + [None]
# series
in_series = pd.Series(in_data)
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce series "
f"values to {int} without losing information (head: "
f"{list(in_series.head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_series, int)
self.assertEqual(str(err.exception), err_msg)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce column "
f"{repr(self.col_name)} to {int} without losing "
f"information (head: {list(in_df[self.col_name].head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_df, {self.col_name: int})
self.assertEqual(str(err.exception), err_msg)
def test_coerce_from_timedelta_to_float_no_na(self):
in_data = self.timedeltas
out_data = [t.total_seconds() for t in self.timedeltas]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, float)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: float})
assert_frame_equal(result, out_df)
def test_coerce_from_timedelta_to_float_with_na(self):
in_data = self.timedeltas + [None]
out_data = [t.total_seconds() for t in self.timedeltas] + [None]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, float)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: float})
assert_frame_equal(result, out_df)
def test_coerce_from_timedelta_to_complex_no_na(self):
in_data = self.timedeltas
out_data = [complex(t.total_seconds(), 0) for t in self.timedeltas]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, complex)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: complex})
assert_frame_equal(result, out_df)
def test_coerce_from_timedelta_to_complex_with_na(self):
in_data = self.timedeltas + [None]
out_data = ([complex(t.total_seconds(), 0) for t in self.timedeltas] +
[None])
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, complex)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: complex})
assert_frame_equal(result, out_df)
def test_coerce_from_timedelta_to_string_no_na(self):
in_data = self.timedeltas
out_data = [str(pd.Timedelta(t)) for t in self.timedeltas]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, str)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: str})
assert_frame_equal(result, out_df)
def test_coerce_from_timedelta_to_string_with_na(self):
in_data = self.timedeltas + [None]
out_data = [str(pd.Timedelta(t)) for t in self.timedeltas] + [None]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, str)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: str})
assert_frame_equal(result, out_df)
def test_coerce_from_timedelta_bool_flag_to_boolean_no_na(self):
in_data = self.bool_flags
out_data = [bool(d.total_seconds()) for d in self.bool_flags]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, bool)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: bool})
assert_frame_equal(result, out_df)
def test_coerce_from_timedelta_bool_flag_to_boolean_with_na(self):
in_data = self.bool_flags + [None]
out_data = [bool(d.total_seconds()) for d in self.bool_flags] + [None]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, bool)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: bool})
assert_frame_equal(result, out_df)
def test_coerce_from_random_timedelta_to_boolean_no_na(self):
in_data = self.timedeltas
# series
in_series = pd.Series(in_data)
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce series "
f"values to {bool} without losing information (head: "
f"{list(in_series.head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_series, bool)
self.assertEqual(str(err.exception), err_msg)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce column "
f"{repr(self.col_name)} to {bool} without losing "
f"information (head: {list(in_df[self.col_name].head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_df, {self.col_name: bool})
self.assertEqual(str(err.exception), err_msg)
def test_coerce_from_random_timedelta_to_boolean_with_na(self):
in_data = self.timedeltas + [None]
# series
in_series = pd.Series(in_data)
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce series "
f"values to {bool} without losing information (head: "
f"{list(in_series.head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_series, bool)
self.assertEqual(str(err.exception), err_msg)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce column "
f"{repr(self.col_name)} to {bool} without losing "
f"information (head: {list(in_df[self.col_name].head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_df, {self.col_name: bool})
self.assertEqual(str(err.exception), err_msg)
def test_coerce_from_timedelta_between_0_and_1_to_boolean_no_na(self):
in_data = self.timedeltas_between_0_and_1
# series
in_series = pd.Series(in_data)
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce series "
f"values to {bool} without losing information (head: "
f"{list(in_series.head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_series, bool)
self.assertEqual(str(err.exception), err_msg)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce column "
f"{repr(self.col_name)} to {bool} without losing "
f"information (head: {list(in_df[self.col_name].head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_df, {self.col_name: bool})
self.assertEqual(str(err.exception), err_msg)
def test_coerce_from_timedelta_between_0_and_1_to_boolean_with_na(self):
in_data = self.timedeltas_between_0_and_1 + [None]
# series
in_series = pd.Series(in_data)
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce series "
f"values to {bool} without losing information (head: "
f"{list(in_series.head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_series, bool)
self.assertEqual(str(err.exception), err_msg)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
err_msg = (f"[datatube.dtype.coerce_dtypes] cannot coerce column "
f"{repr(self.col_name)} to {bool} without losing "
f"information (head: {list(in_df[self.col_name].head())})")
with self.assertRaises(ValueError) as err:
coerce_dtypes(in_df, {self.col_name: bool})
self.assertEqual(str(err.exception), err_msg)
def test_coerce_from_timedelta_to_datetime_no_na(self):
in_data = self.timedeltas
out_data = [datetime.fromtimestamp(t.total_seconds(), tz=timezone.utc)
for t in self.timedeltas]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, datetime)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: datetime})
assert_frame_equal(result, out_df)
def test_coerce_from_timedelta_to_datetime_with_na(self):
in_data = self.timedeltas + [None]
out_data = [datetime.fromtimestamp(t.total_seconds(), tz=timezone.utc)
for t in self.timedeltas] + [None]
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, datetime)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: datetime})
assert_frame_equal(result, out_df)
def test_coerce_from_timedelta_to_timedelta_no_na(self):
in_data = self.timedeltas
out_data = in_data.copy()
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, timedelta)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: timedelta})
assert_frame_equal(result, out_df)
def test_coerce_from_timedelta_to_timedelta_with_na(self):
in_data = self.timedeltas + [None]
out_data = in_data.copy()
# series
in_series = pd.Series(in_data)
out_series = pd.Series(out_data)
result = coerce_dtypes(in_series, timedelta)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_data})
out_df = pd.DataFrame({self.col_name: out_data})
result = coerce_dtypes(in_df, {self.col_name: timedelta})
assert_frame_equal(result, out_df)
def test_coerce_from_timedelta_to_object_no_na(self):
in_series = pd.Series(self.timedeltas)
out_series = in_series.astype(np.dtype("O"))
# series
result = coerce_dtypes(in_series, object)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_series})
out_df = pd.DataFrame({self.col_name: out_series})
result = coerce_dtypes(in_df, {self.col_name: object})
assert_frame_equal(result, out_df)
def test_coerce_from_timedelta_to_object_with_na(self):
in_series = pd.Series(self.timedeltas + [None])
out_series = in_series.astype(np.dtype("O"))
# series
result = coerce_dtypes(in_series, object)
assert_series_equal(result, out_series)
# dataframe
in_df = pd.DataFrame({self.col_name: in_series})
out_df = pd.DataFrame({self.col_name: out_series})
result = coerce_dtypes(in_df, {self.col_name: object})
assert_frame_equal(result, out_df)
class CoerceObjectDtypeTests(unittest.TestCase):
@classmethod
def setUpClass(cls) -> None:
class NonCastableObject:
pass
class CastableObject:
def to_datetime(self) -> datetime:
return datetime.fromtimestamp(random.randint(0, 86400),
tz=timezone.utc)
def to_timedelta(self) -> timedelta:
return timedelta(seconds=random.randint(0, 86400))
def __int__(self) -> int:
return random.randint(0, 10)
def __float__(self) -> float:
return random.random()
def __complex__(self) -> complex:
return complex(random.random(), random.random())
def __str__(self) -> str:
return chr(random.randint(0, 26) + ord("a"))
def __bool__(self) -> bool:
return bool(random.randint(0, 1))
size = 3
cls.non_castable_objects = [NonCastableObject() for _ in range(size)]
cls.castable_objects = [CastableObject() for _ in range(size)]
cls.nones = [None for _ in range(size)]
cls.col_name = "objects"
def test_coerce_from_object_to_integer(self):
pass
# raise NotImplementedError()
def test_coerce_from_object_to_float(self):
pass
# raise NotImplementedError()
def test_coerce_from_object_to_complex(self):
pass
# raise NotImplementedError()
def test_coerce_from_object_to_string(self):
pass
# raise NotImplementedError()
def test_coerce_from_object_to_boolean(self):
pass
# raise NotImplementedError()
def test_coerce_from_object_to_datetime(self):
pass
# raise NotImplementedError()
def test_coerce_from_object_to_timedelta(self):
pass
# raise NotImplementedError()
def test_coerce_from_object_to_object(self):
pass
# raise NotImplementedError()
# def test_check_dtypes_datetime_mixed_timezones(self):
# test_df = pd.DataFrame({"timestamp": [datetime.now(timezone.utc),
# datetime.now()]})
# self.assertTrue(check_dtypes(test_df, timestamp=datetime))
# def test_coerce_dtypes_kwargless_error(self):
# atomics = [t.__name__ if isinstance(t, type) else str(t)
# for t in AVAILABLE_DTYPES]
# err_msg = (f"[datatube.stats.coerce_dtypes] `coerce_dtypes` must be "
# f"invoked with at least one keyword argument mapping a "
# f"column in `data` to an atomic data type: "
# f"{tuple(atomics)}")
# with self.assertRaises(RuntimeError) as err:
# coerce_dtypes(self.no_na)
# self.assertEqual(str(err.exception), err_msg)
# def test_coerce_dtypes_kwargs_no_na_no_errors(self):
# for col_name, expected in self.conversions.items():
# for conv in expected:
# coerce_dtypes(self.no_na, **{col_name: conv})
# def test_coerce_dtypes_kwargs_with_na_no_errors(self):
# for col_name, expected in self.conversions.items():
# for conv in expected:
# coerce_dtypes(self.with_na, **{col_name: conv})
# def test_coerce_dtypes_matches_check_dtypes(self):
# # This does not work for coercion to <class 'object'> because of the
# # automatic convert_dtypes() step of check_dtypes. These columns will
# # always be better represented by some other data type, unless it was
# # an object to begin with.
# for col_name, expected in self.conversions.items():
# for conv in expected:
# result = coerce_dtypes(self.no_na, **{col_name: conv})
# na_result = coerce_dtypes(self.with_na, **{col_name: conv})
# check_result = check_dtypes(result, **{col_name: conv})
# check_na_result = check_dtypes(na_result, **{col_name: conv})
# if conv != object:
# try:
# self.assertTrue(check_result)
# self.assertTrue(check_na_result)
# except AssertionError as exc:
# err_msg = (f"col_name: {repr(col_name)}, typespec: "
# f"{conv}, expected: {expected}")
# raise AssertionError(err_msg) from exc
# def test_coerce_dtypes_returns_copy(self):
# result = coerce_dtypes(self.with_na, a=float)
# self.assertNotEqual(list(result.dtypes), list(self.with_na.dtypes))
# def test_coerce_dtypes_datetime_preserves_timezone(self):
# raise NotImplementedError()
if __name__ == "__main__":
unittest.main() | [
1,
515,
12865,
1053,
12865,
29892,
5335,
287,
2554,
29892,
29431,
13,
5215,
4036,
13,
5215,
443,
27958,
13,
13,
5215,
12655,
408,
7442,
13,
5215,
11701,
408,
10518,
13,
3166,
11701,
29889,
13424,
1053,
4974,
29918,
2557,
29918,
11745,
29892,
4974,
29918,
13757,
29918,
11745,
13,
5215,
282,
3637,
29920,
13,
13,
361,
4770,
978,
1649,
1275,
376,
1649,
3396,
1649,
1115,
13,
1678,
515,
2224,
1982,
1053,
10802,
13,
1678,
1053,
10876,
13,
1678,
10876,
29889,
2084,
29889,
7851,
29898,
29900,
29892,
851,
29898,
2605,
22168,
1445,
1649,
467,
17863,
2141,
862,
1237,
29961,
29906,
12622,
13,
3166,
1418,
271,
4003,
29889,
29881,
1853,
1053,
1302,
261,
346,
29918,
29881,
8768,
13,
13,
13,
348,
27958,
29889,
3057,
8259,
29889,
3317,
26023,
353,
6213,
13,
13,
13,
1990,
3189,
261,
346,
29928,
1853,
16616,
24376,
29898,
348,
27958,
29889,
3057,
8259,
1125,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
29881,
8768,
29918,
18280,
29918,
8552,
29898,
1311,
1125,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
4197,
29896,
29892,
29871,
29906,
29892,
29871,
29941,
2314,
13,
4706,
714,
29918,
13757,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
5785,
29897,
13,
4706,
1583,
29889,
9294,
3664,
9843,
29898,
333,
29898,
262,
29918,
13757,
511,
1178,
29898,
449,
29918,
13757,
876,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
29908,
8552,
1115,
518,
29896,
29892,
29871,
29906,
29892,
29871,
29941,
29962,
1800,
13,
4706,
714,
29918,
2176,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
8853,
8552,
1115,
5785,
1800,
13,
4706,
1583,
29889,
9294,
3664,
9843,
29898,
333,
29898,
262,
29918,
2176,
511,
1178,
29898,
449,
29918,
2176,
876,
13,
13,
13,
1990,
3189,
261,
346,
7798,
29928,
1853,
24376,
29898,
348,
27958,
29889,
3057,
8259,
1125,
13,
13,
1678,
732,
1990,
5696,
13,
1678,
822,
731,
3373,
2385,
29898,
25932,
29897,
1599,
6213,
29901,
13,
4706,
2159,
353,
29871,
29941,
29871,
396,
9212,
29871,
29941,
13,
4706,
1067,
29879,
29889,
6693,
5743,
353,
21069,
29896,
334,
2159,
849,
29871,
29906,
718,
474,
718,
29871,
29896,
363,
474,
297,
3464,
29898,
2311,
4638,
13,
4706,
396,
11920,
353,
518,
16361,
448,
29896,
29892,
29871,
29900,
29892,
29871,
29896,
29892,
2023,
29962,
13,
4706,
1067,
29879,
29889,
11227,
29918,
15764,
353,
17288,
29875,
718,
29871,
29896,
29897,
1273,
29871,
29906,
363,
474,
297,
3464,
29898,
2311,
4638,
13,
4706,
396,
6120,
29918,
15764,
353,
518,
29896,
29892,
29871,
29900,
29892,
29871,
29896,
29892,
29871,
29900,
29892,
29871,
29896,
29892,
2023,
29962,
13,
4706,
1067,
29879,
29889,
1054,
29918,
978,
353,
376,
6693,
5743,
29908,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
16031,
29918,
517,
29918,
16031,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
6693,
5743,
13,
4706,
714,
29918,
1272,
353,
297,
29918,
1272,
29889,
8552,
580,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
938,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
938,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
16031,
29918,
517,
29918,
16031,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
6693,
5743,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
297,
29918,
1272,
29889,
8552,
580,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
938,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
938,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
16031,
29918,
517,
29918,
7411,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
6693,
5743,
13,
4706,
714,
29918,
1272,
353,
518,
7411,
29898,
29875,
29897,
363,
474,
297,
1583,
29889,
6693,
5743,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
5785,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
5785,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
16031,
29918,
517,
29918,
7411,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
6693,
5743,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
518,
7411,
29898,
29875,
29897,
363,
474,
297,
1583,
29889,
6693,
5743,
29962,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
5785,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
5785,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
16031,
29918,
517,
29918,
19676,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
6693,
5743,
13,
4706,
714,
29918,
1272,
353,
518,
19676,
29898,
29875,
29892,
29871,
29900,
29897,
363,
474,
297,
1583,
29889,
6693,
5743,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
4280,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
4280,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
16031,
29918,
517,
29918,
19676,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
6693,
5743,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
518,
19676,
29898,
29875,
29892,
29871,
29900,
29897,
363,
474,
297,
1583,
29889,
6693,
5743,
29962,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
4280,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
4280,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
16031,
29918,
517,
29918,
1807,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
6693,
5743,
13,
4706,
714,
29918,
1272,
353,
518,
710,
29898,
29875,
29897,
363,
474,
297,
1583,
29889,
6693,
5743,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
851,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
851,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
16031,
29918,
517,
29918,
1807,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
6693,
5743,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
518,
710,
29898,
29875,
29897,
363,
474,
297,
1583,
29889,
6693,
5743,
29962,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
851,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
851,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
19206,
29918,
16031,
29918,
517,
29918,
20054,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
6693,
5743,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
3652,
376,
13,
462,
259,
285,
29908,
5975,
304,
426,
11227,
29913,
1728,
19035,
2472,
313,
2813,
29901,
376,
13,
462,
259,
285,
29908,
29912,
1761,
29898,
262,
29918,
13757,
29889,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
6120,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
1897,
376,
13,
462,
259,
285,
29908,
29912,
276,
558,
29898,
1311,
29889,
1054,
29918,
978,
2915,
304,
426,
11227,
29913,
1728,
19035,
376,
13,
462,
259,
285,
29908,
19678,
313,
2813,
29901,
426,
1761,
29898,
262,
29918,
2176,
29961,
1311,
29889,
1054,
29918,
978,
1822,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
6120,
1800,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
19206,
29918,
16031,
29918,
517,
29918,
20054,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
6693,
5743,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
3652,
376,
13,
462,
259,
285,
29908,
5975,
304,
426,
11227,
29913,
1728,
19035,
2472,
313,
2813,
29901,
376,
13,
462,
259,
285,
29908,
29912,
1761,
29898,
262,
29918,
13757,
29889,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
6120,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
1897,
376,
13,
462,
259,
285,
29908,
29912,
276,
558,
29898,
1311,
29889,
1054,
29918,
978,
2915,
304,
426,
11227,
29913,
1728,
19035,
376,
13,
462,
259,
285,
29908,
19678,
313,
2813,
29901,
426,
1761,
29898,
262,
29918,
2176,
29961,
1311,
29889,
1054,
29918,
978,
1822,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
6120,
1800,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
16031,
29918,
11227,
29918,
15581,
29918,
517,
29918,
20054,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
11227,
29918,
15764,
13,
4706,
714,
29918,
1272,
353,
518,
11227,
29898,
29875,
29897,
363,
474,
297,
1583,
29889,
11227,
29918,
15764,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
6120,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
6120,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
16031,
29918,
11227,
29918,
15581,
29918,
517,
29918,
20054,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
11227,
29918,
15764,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
518,
11227,
29898,
29875,
29897,
363,
474,
297,
1583,
29889,
11227,
29918,
15764,
29962,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
6120,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
6120,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
16031,
29918,
517,
29918,
12673,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
6693,
5743,
13,
4706,
714,
29918,
1272,
353,
518,
12673,
29889,
3166,
16394,
29898,
29875,
29892,
260,
29920,
29922,
2230,
8028,
29889,
329,
29883,
29897,
13,
462,
1678,
363,
474,
297,
1583,
29889,
6693,
5743,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
12865,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
12865,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
308,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
16031,
29918,
517,
29918,
12673,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
6693,
5743,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
518,
12673,
29889,
3166,
16394,
29898,
29875,
29892,
260,
29920,
29922,
2230,
8028,
29889,
329,
29883,
29897,
13,
462,
1678,
363,
474,
297,
1583,
29889,
6693,
5743,
29962,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
12865,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
12865,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
16031,
29918,
517,
29918,
9346,
287,
2554,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
6693,
5743,
13,
4706,
714,
29918,
1272,
353,
518,
9346,
287,
2554,
29898,
23128,
29922,
29875,
29897,
363,
474,
297,
1583,
29889,
6693,
5743,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
5335,
287,
2554,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
5335,
287,
2554,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
16031,
29918,
517,
29918,
9346,
287,
2554,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
6693,
5743,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
518,
9346,
287,
2554,
29898,
23128,
29922,
29875,
29897,
363,
474,
297,
1583,
29889,
6693,
5743,
29962,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
5335,
287,
2554,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
5335,
287,
2554,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
16031,
29918,
517,
29918,
3318,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
1311,
29889,
6693,
5743,
29897,
13,
4706,
714,
29918,
13757,
353,
297,
29918,
13757,
29889,
579,
668,
29898,
9302,
29889,
29881,
1853,
703,
29949,
5783,
13,
13,
4706,
396,
3652,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
1203,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
13757,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
13757,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
1203,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
16031,
29918,
517,
29918,
3318,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
1311,
29889,
6693,
5743,
718,
518,
8516,
2314,
13,
4706,
714,
29918,
13757,
353,
297,
29918,
13757,
29889,
579,
668,
29898,
9302,
29889,
29881,
1853,
703,
29949,
5783,
13,
13,
4706,
396,
3652,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
1203,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
13757,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
13757,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
1203,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
13,
1990,
3189,
261,
346,
11031,
29928,
1853,
24376,
29898,
348,
27958,
29889,
3057,
8259,
1125,
13,
13,
1678,
732,
1990,
5696,
13,
1678,
822,
731,
3373,
2385,
29898,
25932,
29897,
1599,
6213,
29901,
13,
4706,
4036,
29889,
26776,
29898,
29896,
29906,
29941,
29946,
29945,
29897,
13,
4706,
2159,
353,
29871,
29941,
29871,
396,
9212,
29871,
29941,
13,
4706,
1067,
29879,
29889,
15970,
280,
29918,
29888,
417,
1446,
353,
21069,
29896,
334,
2159,
849,
29871,
29906,
718,
474,
718,
29871,
29896,
29889,
29900,
363,
474,
297,
3464,
29898,
2311,
4638,
13,
4706,
396,
3353,
29918,
1579,
1446,
353,
518,
16361,
448,
29896,
29889,
29900,
29892,
29871,
29900,
29889,
29900,
29892,
29871,
29896,
29889,
29900,
29892,
2023,
29962,
13,
4706,
1067,
29879,
29889,
7099,
3039,
29918,
29888,
417,
1446,
353,
21069,
29896,
334,
2159,
849,
29871,
29906,
718,
474,
718,
29871,
29896,
718,
4036,
29889,
8172,
580,
13,
462,
795,
363,
474,
297,
3464,
29898,
2311,
4638,
13,
4706,
396,
13677,
29918,
29888,
417,
1446,
353,
518,
16361,
448,
29896,
29889,
29900,
718,
321,
29892,
29871,
29900,
29889,
29900,
718,
321,
29892,
29871,
29896,
29889,
29900,
718,
321,
29892,
2023,
29962,
13,
4706,
1067,
29879,
29889,
7099,
3039,
29918,
29888,
417,
1446,
29918,
14811,
29918,
29900,
29918,
392,
29918,
29896,
353,
518,
8172,
29889,
8172,
580,
13,
462,
462,
795,
363,
903,
297,
3464,
29898,
2311,
4638,
13,
4706,
396,
13677,
29918,
29888,
417,
1446,
29918,
14811,
29918,
29900,
29918,
392,
29918,
29896,
353,
518,
29900,
29889,
14633,
29892,
29871,
29900,
29889,
14633,
29892,
29871,
29900,
29889,
14633,
29892,
2023,
29962,
13,
4706,
1067,
29879,
29889,
11227,
29918,
15764,
353,
17288,
29875,
718,
29871,
29896,
29889,
29900,
29897,
1273,
29871,
29906,
363,
474,
297,
3464,
29898,
2311,
4638,
13,
4706,
396,
6120,
29918,
15764,
353,
518,
29896,
29889,
29900,
29892,
29871,
29900,
29889,
29900,
29892,
29871,
29896,
29889,
29900,
29892,
29871,
29900,
29889,
29900,
29892,
29871,
29896,
29889,
29900,
29892,
2023,
29962,
13,
4706,
1067,
29879,
29889,
1054,
29918,
978,
353,
376,
29888,
417,
1446,
29908,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
15970,
280,
29918,
7411,
29918,
517,
29918,
16031,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
15970,
280,
29918,
29888,
417,
1446,
13,
4706,
714,
29918,
1272,
353,
518,
524,
29898,
29888,
29897,
363,
285,
297,
1583,
29889,
15970,
280,
29918,
29888,
417,
1446,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
938,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
938,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
15970,
280,
29918,
7411,
29918,
517,
29918,
16031,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
15970,
280,
29918,
29888,
417,
1446,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
518,
524,
29898,
29888,
29897,
363,
285,
297,
1583,
29889,
15970,
280,
29918,
29888,
417,
1446,
29962,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
938,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
938,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
7099,
3039,
29918,
7411,
29918,
517,
29918,
16031,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
7099,
3039,
29918,
29888,
417,
1446,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
3652,
376,
13,
462,
259,
285,
29908,
5975,
304,
426,
524,
29913,
1728,
19035,
2472,
313,
2813,
29901,
376,
13,
462,
259,
285,
29908,
29912,
1761,
29898,
262,
29918,
13757,
29889,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
938,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
1897,
376,
13,
462,
259,
285,
29908,
29912,
276,
558,
29898,
1311,
29889,
1054,
29918,
978,
2915,
304,
426,
524,
29913,
1728,
19035,
376,
13,
462,
259,
285,
29908,
19678,
313,
2813,
29901,
426,
1761,
29898,
262,
29918,
2176,
29961,
1311,
29889,
1054,
29918,
978,
1822,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
938,
1800,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
7099,
3039,
29918,
7411,
29918,
517,
29918,
16031,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
7099,
3039,
29918,
29888,
417,
1446,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
3652,
376,
13,
462,
259,
285,
29908,
5975,
304,
426,
524,
29913,
1728,
19035,
2472,
313,
2813,
29901,
376,
13,
462,
259,
285,
29908,
29912,
1761,
29898,
262,
29918,
13757,
29889,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
938,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
1897,
376,
13,
462,
259,
285,
29908,
29912,
276,
558,
29898,
1311,
29889,
1054,
29918,
978,
2915,
304,
426,
524,
29913,
1728,
19035,
376,
13,
462,
259,
285,
29908,
19678,
313,
2813,
29901,
426,
1761,
29898,
262,
29918,
2176,
29961,
1311,
29889,
1054,
29918,
978,
1822,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
938,
1800,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
7411,
29918,
517,
29918,
7411,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
7099,
3039,
29918,
29888,
417,
1446,
13,
4706,
714,
29918,
1272,
353,
297,
29918,
1272,
29889,
8552,
580,
13,
308,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
5785,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
5785,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
7411,
29918,
517,
29918,
7411,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
7099,
3039,
29918,
29888,
417,
1446,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
297,
29918,
1272,
29889,
8552,
580,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
5785,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
5785,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
7411,
29918,
517,
29918,
19676,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
7099,
3039,
29918,
29888,
417,
1446,
13,
4706,
714,
29918,
1272,
353,
518,
19676,
29898,
29888,
29892,
29871,
29900,
29897,
363,
285,
297,
1583,
29889,
7099,
3039,
29918,
29888,
417,
1446,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
4280,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
4280,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
7411,
29918,
517,
29918,
19676,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
7099,
3039,
29918,
29888,
417,
1446,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
518,
19676,
29898,
29888,
29892,
29871,
29900,
29897,
363,
285,
297,
1583,
29889,
7099,
3039,
29918,
29888,
417,
1446,
29962,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
4280,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
4280,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
7411,
29918,
517,
29918,
1807,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
7099,
3039,
29918,
29888,
417,
1446,
13,
4706,
714,
29918,
1272,
353,
518,
710,
29898,
29888,
29897,
363,
285,
297,
1583,
29889,
7099,
3039,
29918,
29888,
417,
1446,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
851,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
851,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
7411,
29918,
517,
29918,
1807,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
7099,
3039,
29918,
29888,
417,
1446,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
518,
710,
29898,
29888,
29897,
363,
285,
297,
1583,
29889,
7099,
3039,
29918,
29888,
417,
1446,
29962,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
851,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
851,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
19206,
29918,
7411,
29918,
517,
29918,
20054,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
7099,
3039,
29918,
29888,
417,
1446,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
3652,
376,
13,
462,
259,
285,
29908,
5975,
304,
426,
11227,
29913,
1728,
19035,
2472,
313,
2813,
29901,
376,
13,
462,
259,
285,
29908,
29912,
1761,
29898,
262,
29918,
13757,
29889,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
6120,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
1897,
376,
13,
462,
259,
285,
29908,
29912,
276,
558,
29898,
1311,
29889,
1054,
29918,
978,
2915,
304,
426,
11227,
29913,
1728,
19035,
376,
13,
462,
259,
285,
29908,
19678,
313,
2813,
29901,
426,
1761,
29898,
262,
29918,
2176,
29961,
1311,
29889,
1054,
29918,
978,
1822,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
6120,
1800,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
19206,
29918,
7411,
29918,
517,
29918,
20054,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
7099,
3039,
29918,
29888,
417,
1446,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
3652,
376,
13,
462,
259,
285,
29908,
5975,
304,
426,
11227,
29913,
1728,
19035,
2472,
313,
2813,
29901,
376,
13,
462,
259,
285,
29908,
29912,
1761,
29898,
262,
29918,
13757,
29889,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
6120,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
1897,
376,
13,
462,
259,
285,
29908,
29912,
276,
558,
29898,
1311,
29889,
1054,
29918,
978,
2915,
304,
426,
11227,
29913,
1728,
19035,
376,
13,
462,
259,
285,
29908,
19678,
313,
2813,
29901,
426,
1761,
29898,
262,
29918,
2176,
29961,
1311,
29889,
1054,
29918,
978,
1822,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
6120,
1800,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
7411,
29918,
11227,
29918,
15581,
29918,
517,
29918,
20054,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
11227,
29918,
15764,
13,
4706,
714,
29918,
1272,
353,
518,
11227,
29898,
29888,
29897,
363,
285,
297,
1583,
29889,
11227,
29918,
15764,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
6120,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
6120,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
7411,
29918,
11227,
29918,
15581,
29918,
517,
29918,
20054,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
11227,
29918,
15764,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
518,
11227,
29898,
29888,
29897,
363,
285,
297,
1583,
29889,
11227,
29918,
15764,
29962,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
6120,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
6120,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
7099,
3039,
29918,
7411,
29918,
14811,
29918,
29900,
29918,
392,
29918,
29896,
29918,
517,
29918,
20054,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
7099,
3039,
29918,
29888,
417,
1446,
29918,
14811,
29918,
29900,
29918,
392,
29918,
29896,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
3652,
376,
13,
462,
259,
285,
29908,
5975,
304,
426,
11227,
29913,
1728,
19035,
2472,
313,
2813,
29901,
376,
13,
462,
259,
285,
29908,
29912,
1761,
29898,
262,
29918,
13757,
29889,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
6120,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
1897,
376,
13,
462,
259,
285,
29908,
29912,
276,
558,
29898,
1311,
29889,
1054,
29918,
978,
2915,
304,
426,
11227,
29913,
1728,
19035,
376,
13,
462,
259,
285,
29908,
19678,
313,
2813,
29901,
426,
1761,
29898,
262,
29918,
2176,
29961,
1311,
29889,
1054,
29918,
978,
1822,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
6120,
1800,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
7099,
3039,
29918,
7411,
29918,
14811,
29918,
29900,
29918,
392,
29918,
29896,
29918,
517,
29918,
20054,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
7099,
3039,
29918,
29888,
417,
1446,
29918,
14811,
29918,
29900,
29918,
392,
29918,
29896,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
3652,
376,
13,
462,
259,
285,
29908,
5975,
304,
426,
11227,
29913,
1728,
19035,
2472,
313,
2813,
29901,
376,
13,
462,
259,
285,
29908,
29912,
1761,
29898,
262,
29918,
13757,
29889,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
6120,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
1897,
376,
13,
462,
259,
285,
29908,
29912,
276,
558,
29898,
1311,
29889,
1054,
29918,
978,
2915,
304,
426,
11227,
29913,
1728,
19035,
376,
13,
462,
259,
285,
29908,
19678,
313,
2813,
29901,
426,
1761,
29898,
262,
29918,
2176,
29961,
1311,
29889,
1054,
29918,
978,
1822,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
6120,
1800,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
7411,
29918,
517,
29918,
12673,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
7099,
3039,
29918,
29888,
417,
1446,
13,
4706,
714,
29918,
1272,
353,
518,
12673,
29889,
3166,
16394,
29898,
29888,
29892,
260,
29920,
29922,
2230,
8028,
29889,
329,
29883,
29897,
13,
462,
1678,
363,
285,
297,
1583,
29889,
7099,
3039,
29918,
29888,
417,
1446,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
12865,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
12865,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
7411,
29918,
517,
29918,
12673,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
7099,
3039,
29918,
29888,
417,
1446,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
518,
12673,
29889,
3166,
16394,
29898,
29888,
29892,
260,
29920,
29922,
2230,
8028,
29889,
329,
29883,
29897,
13,
462,
1678,
363,
285,
297,
1583,
29889,
7099,
3039,
29918,
29888,
417,
1446,
29962,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
12865,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
12865,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
7411,
29918,
517,
29918,
9346,
287,
2554,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
7099,
3039,
29918,
29888,
417,
1446,
13,
4706,
714,
29918,
1272,
353,
518,
9346,
287,
2554,
29898,
23128,
29922,
29888,
29897,
363,
285,
297,
1583,
29889,
7099,
3039,
29918,
29888,
417,
1446,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
5335,
287,
2554,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
5335,
287,
2554,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
7411,
29918,
517,
29918,
9346,
287,
2554,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
7099,
3039,
29918,
29888,
417,
1446,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
518,
9346,
287,
2554,
29898,
23128,
29922,
29888,
29897,
363,
285,
297,
1583,
29889,
7099,
3039,
29918,
29888,
417,
1446,
29962,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
5335,
287,
2554,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
5335,
287,
2554,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
7411,
29918,
517,
29918,
3318,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
1311,
29889,
7099,
3039,
29918,
29888,
417,
1446,
29897,
13,
4706,
714,
29918,
13757,
353,
297,
29918,
13757,
29889,
579,
668,
29898,
9302,
29889,
29881,
1853,
703,
29949,
5783,
13,
13,
4706,
396,
3652,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
1203,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
13757,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
13757,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
1203,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
7411,
29918,
517,
29918,
3318,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
1311,
29889,
7099,
3039,
29918,
29888,
417,
1446,
718,
518,
8516,
2314,
13,
4706,
714,
29918,
13757,
353,
297,
29918,
13757,
29889,
579,
668,
29898,
9302,
29889,
29881,
1853,
703,
29949,
5783,
13,
13,
4706,
396,
3652,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
1203,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
13757,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
13757,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
1203,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
13,
1990,
3189,
261,
346,
8909,
29916,
29928,
1853,
24376,
29898,
348,
27958,
29889,
3057,
8259,
1125,
13,
13,
1678,
732,
1990,
5696,
13,
1678,
822,
731,
3373,
2385,
29898,
25932,
29897,
1599,
6213,
29901,
13,
4706,
4036,
29889,
26776,
29898,
29896,
29906,
29941,
29946,
29945,
29897,
13,
4706,
2159,
353,
29871,
29941,
13,
4706,
1067,
29879,
29889,
6370,
29918,
15970,
280,
29918,
19676,
353,
518,
19676,
6278,
29896,
334,
2159,
849,
29871,
29906,
718,
474,
718,
29871,
29896,
29889,
29900,
29892,
29871,
29900,
29897,
13,
462,
462,
29871,
363,
474,
297,
3464,
29898,
2311,
4638,
13,
4706,
396,
6228,
353,
518,
16361,
4280,
6278,
29896,
29892,
29871,
29900,
511,
4280,
29898,
29900,
29892,
29871,
29900,
511,
4280,
29898,
29896,
29892,
29871,
29900,
511,
2023,
29962,
13,
4706,
1067,
29879,
29889,
6370,
29918,
19676,
353,
518,
19676,
6278,
29896,
334,
2159,
849,
29871,
29906,
718,
474,
718,
29871,
29896,
718,
4036,
29889,
8172,
3285,
29871,
29900,
29897,
13,
462,
9651,
363,
474,
297,
3464,
29898,
2311,
4638,
13,
4706,
396,
6228,
353,
518,
16361,
4280,
6278,
29896,
29974,
29872,
29892,
29871,
29900,
511,
4280,
29898,
29900,
29974,
29872,
29892,
29871,
29900,
511,
4280,
29898,
29896,
29974,
29872,
29892,
29871,
29900,
511,
2023,
29962,
13,
4706,
1067,
29879,
29889,
6370,
29918,
19676,
29918,
14811,
29918,
29900,
29918,
392,
29918,
29896,
353,
518,
19676,
29898,
8172,
29889,
8172,
3285,
29871,
29900,
29897,
13,
462,
462,
9651,
363,
903,
297,
3464,
29898,
2311,
4638,
13,
4706,
396,
6228,
353,
518,
19676,
29898,
29900,
29889,
14633,
29892,
29871,
29900,
511,
4280,
29898,
29900,
29889,
14633,
29892,
29871,
29900,
511,
4280,
29898,
29900,
29889,
14633,
29892,
29871,
29900,
511,
2023,
29962,
13,
4706,
1067,
29879,
29889,
326,
351,
29918,
19676,
353,
518,
19676,
6278,
29896,
334,
2159,
849,
29871,
29906,
718,
474,
718,
29871,
29896,
718,
4036,
29889,
8172,
3285,
13,
462,
462,
1678,
448,
29896,
334,
2159,
849,
29871,
29906,
718,
474,
718,
29871,
29896,
718,
4036,
29889,
8172,
3101,
13,
462,
9651,
363,
474,
297,
3464,
29898,
2311,
4638,
13,
4706,
396,
6228,
353,
518,
16361,
4280,
6278,
29896,
29974,
29872,
6653,
29896,
29974,
29872,
511,
4280,
29898,
29900,
29974,
29872,
29892,
29900,
29974,
29872,
511,
4280,
29898,
29896,
29974,
29872,
29892,
29896,
29974,
29872,
511,
2023,
29962,
13,
4706,
1067,
29879,
29889,
11227,
29918,
15764,
353,
518,
19676,
3552,
29875,
718,
29871,
29896,
29897,
1273,
29871,
29906,
29892,
29871,
29900,
29897,
363,
474,
297,
3464,
29898,
2311,
4638,
13,
4706,
396,
6228,
353,
518,
19676,
29898,
29896,
29892,
29871,
29900,
511,
4280,
29898,
29900,
29892,
29871,
29900,
511,
4280,
29898,
29896,
29892,
29871,
29900,
511,
4280,
29898,
29900,
29892,
29871,
29900,
511,
2023,
29962,
13,
4706,
1067,
29879,
29889,
1054,
29918,
978,
353,
376,
19676,
29908,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
6370,
29918,
15970,
280,
29918,
19676,
29918,
517,
29918,
16031,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
6370,
29918,
15970,
280,
29918,
19676,
13,
4706,
714,
29918,
1272,
353,
518,
524,
29898,
29883,
29889,
6370,
29897,
363,
274,
297,
1583,
29889,
6370,
29918,
15970,
280,
29918,
19676,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
938,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
938,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
6370,
29918,
15970,
280,
29918,
19676,
29918,
517,
29918,
16031,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
6370,
29918,
15970,
280,
29918,
19676,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
518,
524,
29898,
29883,
29889,
6370,
29897,
363,
274,
297,
1583,
29889,
6370,
29918,
15970,
280,
29918,
19676,
29962,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
938,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
938,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
6370,
29918,
7099,
3039,
29918,
19676,
29918,
517,
29918,
16031,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
6370,
29918,
19676,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
3652,
376,
13,
462,
259,
285,
29908,
5975,
304,
426,
524,
29913,
1728,
19035,
2472,
313,
2813,
29901,
376,
13,
462,
259,
285,
29908,
29912,
1761,
29898,
262,
29918,
13757,
29889,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
938,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
1897,
376,
13,
462,
259,
285,
29908,
29912,
276,
558,
29898,
1311,
29889,
1054,
29918,
978,
2915,
304,
426,
524,
29913,
1728,
19035,
376,
13,
462,
259,
285,
29908,
19678,
313,
2813,
29901,
426,
1761,
29898,
262,
29918,
2176,
29961,
1311,
29889,
1054,
29918,
978,
1822,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
938,
1800,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
6370,
29918,
7099,
3039,
29918,
19676,
29918,
517,
29918,
16031,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
6370,
29918,
19676,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
3652,
376,
13,
462,
259,
285,
29908,
5975,
304,
426,
524,
29913,
1728,
19035,
2472,
313,
2813,
29901,
376,
13,
462,
259,
285,
29908,
29912,
1761,
29898,
262,
29918,
13757,
29889,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
938,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
1897,
376,
13,
462,
259,
285,
29908,
29912,
276,
558,
29898,
1311,
29889,
1054,
29918,
978,
2915,
304,
426,
524,
29913,
1728,
19035,
376,
13,
462,
259,
285,
29908,
19678,
313,
2813,
29901,
426,
1761,
29898,
262,
29918,
2176,
29961,
1311,
29889,
1054,
29918,
978,
1822,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
938,
1800,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
326,
351,
3821,
29918,
19676,
29918,
517,
29918,
16031,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
326,
351,
29918,
19676,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
3652,
376,
13,
462,
259,
285,
29908,
5975,
304,
426,
524,
29913,
1728,
19035,
2472,
313,
2813,
29901,
376,
13,
462,
259,
285,
29908,
29912,
1761,
29898,
262,
29918,
13757,
29889,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
938,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
1897,
376,
13,
462,
259,
285,
29908,
29912,
276,
558,
29898,
1311,
29889,
1054,
29918,
978,
2915,
304,
426,
524,
29913,
1728,
19035,
376,
13,
462,
259,
285,
29908,
19678,
313,
2813,
29901,
426,
1761,
29898,
262,
29918,
2176,
29961,
1311,
29889,
1054,
29918,
978,
1822,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
938,
1800,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
326,
351,
3821,
29918,
19676,
29918,
517,
29918,
16031,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
326,
351,
29918,
19676,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
3652,
376,
13,
462,
259,
285,
29908,
5975,
304,
426,
524,
29913,
1728,
19035,
2472,
313,
2813,
29901,
376,
13,
462,
259,
285,
29908,
29912,
1761,
29898,
262,
29918,
13757,
29889,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
938,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
1897,
376,
13,
462,
259,
285,
29908,
29912,
276,
558,
29898,
1311,
29889,
1054,
29918,
978,
2915,
304,
426,
524,
29913,
1728,
19035,
376,
13,
462,
259,
285,
29908,
19678,
313,
2813,
29901,
426,
1761,
29898,
262,
29918,
2176,
29961,
1311,
29889,
1054,
29918,
978,
1822,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
938,
1800,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
6370,
29918,
19676,
29918,
517,
29918,
7411,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
6370,
29918,
19676,
13,
4706,
714,
29918,
1272,
353,
518,
29883,
29889,
6370,
363,
274,
297,
1583,
29889,
6370,
29918,
19676,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
5785,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
5785,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
6370,
29918,
19676,
29918,
517,
29918,
7411,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
6370,
29918,
19676,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
518,
29883,
29889,
6370,
363,
274,
297,
1583,
29889,
6370,
29918,
19676,
29962,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
5785,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
5785,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
326,
351,
3821,
29918,
19676,
29918,
517,
29918,
7411,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
326,
351,
29918,
19676,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
3652,
376,
13,
462,
259,
285,
29908,
5975,
304,
426,
7411,
29913,
1728,
19035,
2472,
313,
2813,
29901,
376,
13,
462,
259,
285,
29908,
29912,
1761,
29898,
262,
29918,
13757,
29889,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
5785,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
1897,
376,
13,
462,
259,
285,
29908,
29912,
276,
558,
29898,
1311,
29889,
1054,
29918,
978,
2915,
304,
426,
7411,
29913,
1728,
19035,
376,
13,
462,
259,
285,
29908,
19678,
313,
2813,
29901,
426,
1761,
29898,
262,
29918,
2176,
29961,
1311,
29889,
1054,
29918,
978,
1822,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
5785,
1800,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
326,
351,
3821,
29918,
19676,
29918,
517,
29918,
7411,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
326,
351,
29918,
19676,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
3652,
376,
13,
462,
259,
285,
29908,
5975,
304,
426,
7411,
29913,
1728,
19035,
2472,
313,
2813,
29901,
376,
13,
462,
259,
285,
29908,
29912,
1761,
29898,
262,
29918,
13757,
29889,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
5785,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
1897,
376,
13,
462,
259,
285,
29908,
29912,
276,
558,
29898,
1311,
29889,
1054,
29918,
978,
2915,
304,
426,
7411,
29913,
1728,
19035,
376,
13,
462,
259,
285,
29908,
19678,
313,
2813,
29901,
426,
1761,
29898,
262,
29918,
2176,
29961,
1311,
29889,
1054,
29918,
978,
1822,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
5785,
1800,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
19676,
29918,
517,
29918,
19676,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
326,
351,
29918,
19676,
13,
4706,
714,
29918,
1272,
353,
297,
29918,
1272,
29889,
8552,
580,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
4280,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
4280,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
19676,
29918,
517,
29918,
19676,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
326,
351,
29918,
19676,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
297,
29918,
1272,
29889,
8552,
580,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
4280,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
4280,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
19676,
29918,
517,
29918,
1807,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
326,
351,
29918,
19676,
13,
4706,
714,
29918,
1272,
353,
518,
710,
29898,
29883,
29897,
363,
274,
297,
1583,
29889,
326,
351,
29918,
19676,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
851,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
851,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
19676,
29918,
517,
29918,
1807,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
326,
351,
29918,
19676,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
518,
710,
29898,
29883,
29897,
363,
274,
297,
1583,
29889,
326,
351,
29918,
19676,
29962,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
851,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
851,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
19676,
29918,
11227,
29918,
15581,
29918,
517,
29918,
20054,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
11227,
29918,
15764,
13,
4706,
714,
29918,
1272,
353,
518,
11227,
29898,
29883,
29889,
6370,
29897,
363,
274,
297,
1583,
29889,
11227,
29918,
15764,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
6120,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
6120,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
19676,
29918,
11227,
29918,
15581,
29918,
517,
29918,
20054,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
11227,
29918,
15764,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
518,
11227,
29898,
29883,
29889,
6370,
29897,
363,
274,
297,
1583,
29889,
11227,
29918,
15764,
29962,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
6120,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
6120,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
6370,
29918,
19676,
29918,
517,
29918,
20054,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
6370,
29918,
19676,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
3652,
376,
13,
462,
259,
285,
29908,
5975,
304,
426,
11227,
29913,
1728,
19035,
2472,
313,
2813,
29901,
376,
13,
462,
259,
285,
29908,
29912,
1761,
29898,
262,
29918,
13757,
29889,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
6120,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
1897,
376,
13,
462,
259,
285,
29908,
29912,
276,
558,
29898,
1311,
29889,
1054,
29918,
978,
2915,
304,
426,
11227,
29913,
1728,
19035,
376,
13,
462,
259,
285,
29908,
19678,
313,
2813,
29901,
426,
1761,
29898,
262,
29918,
2176,
29961,
1311,
29889,
1054,
29918,
978,
1822,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
6120,
1800,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
6370,
29918,
19676,
29918,
517,
29918,
20054,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
6370,
29918,
19676,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
3652,
376,
13,
462,
259,
285,
29908,
5975,
304,
426,
11227,
29913,
1728,
19035,
2472,
313,
2813,
29901,
376,
13,
462,
259,
285,
29908,
29912,
1761,
29898,
262,
29918,
13757,
29889,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
6120,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
1897,
376,
13,
462,
259,
285,
29908,
29912,
276,
558,
29898,
1311,
29889,
1054,
29918,
978,
2915,
304,
426,
11227,
29913,
1728,
19035,
376,
13,
462,
259,
285,
29908,
19678,
313,
2813,
29901,
426,
1761,
29898,
262,
29918,
2176,
29961,
1311,
29889,
1054,
29918,
978,
1822,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
6120,
1800,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
6370,
29918,
15970,
280,
29918,
19676,
29918,
517,
29918,
20054,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
6370,
29918,
15970,
280,
29918,
19676,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
3652,
376,
13,
462,
259,
285,
29908,
5975,
304,
426,
11227,
29913,
1728,
19035,
2472,
313,
2813,
29901,
376,
13,
462,
259,
285,
29908,
29912,
1761,
29898,
262,
29918,
13757,
29889,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
6120,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
1897,
376,
13,
462,
259,
285,
29908,
29912,
276,
558,
29898,
1311,
29889,
1054,
29918,
978,
2915,
304,
426,
11227,
29913,
1728,
19035,
376,
13,
462,
259,
285,
29908,
19678,
313,
2813,
29901,
426,
1761,
29898,
262,
29918,
2176,
29961,
1311,
29889,
1054,
29918,
978,
1822,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
6120,
1800,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
6370,
29918,
15970,
280,
29918,
19676,
29918,
517,
29918,
20054,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
6370,
29918,
15970,
280,
29918,
19676,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
3652,
376,
13,
462,
259,
285,
29908,
5975,
304,
426,
11227,
29913,
1728,
19035,
2472,
313,
2813,
29901,
376,
13,
462,
259,
285,
29908,
29912,
1761,
29898,
262,
29918,
13757,
29889,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
6120,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
1897,
376,
13,
462,
259,
285,
29908,
29912,
276,
558,
29898,
1311,
29889,
1054,
29918,
978,
2915,
304,
426,
11227,
29913,
1728,
19035,
376,
13,
462,
259,
285,
29908,
19678,
313,
2813,
29901,
426,
1761,
29898,
262,
29918,
2176,
29961,
1311,
29889,
1054,
29918,
978,
1822,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
6120,
1800,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
6370,
29918,
19676,
29918,
14811,
29918,
29900,
29918,
392,
29918,
29896,
29918,
517,
29918,
20054,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
6370,
29918,
19676,
29918,
14811,
29918,
29900,
29918,
392,
29918,
29896,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
3652,
376,
13,
462,
259,
285,
29908,
5975,
304,
426,
11227,
29913,
1728,
19035,
2472,
313,
2813,
29901,
376,
13,
462,
259,
285,
29908,
29912,
1761,
29898,
262,
29918,
13757,
29889,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
6120,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
1897,
376,
13,
462,
259,
285,
29908,
29912,
276,
558,
29898,
1311,
29889,
1054,
29918,
978,
2915,
304,
426,
11227,
29913,
1728,
19035,
376,
13,
462,
259,
285,
29908,
19678,
313,
2813,
29901,
426,
1761,
29898,
262,
29918,
2176,
29961,
1311,
29889,
1054,
29918,
978,
1822,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
6120,
1800,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
6370,
29918,
19676,
29918,
14811,
29918,
29900,
29918,
392,
29918,
29896,
29918,
517,
29918,
20054,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
6370,
29918,
19676,
29918,
14811,
29918,
29900,
29918,
392,
29918,
29896,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
3652,
376,
13,
462,
259,
285,
29908,
5975,
304,
426,
11227,
29913,
1728,
19035,
2472,
313,
2813,
29901,
376,
13,
462,
259,
285,
29908,
29912,
1761,
29898,
262,
29918,
13757,
29889,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
6120,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
1897,
376,
13,
462,
259,
285,
29908,
29912,
276,
558,
29898,
1311,
29889,
1054,
29918,
978,
2915,
304,
426,
11227,
29913,
1728,
19035,
376,
13,
462,
259,
285,
29908,
19678,
313,
2813,
29901,
426,
1761,
29898,
262,
29918,
2176,
29961,
1311,
29889,
1054,
29918,
978,
1822,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
6120,
1800,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
326,
351,
3821,
29918,
19676,
29918,
517,
29918,
20054,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
326,
351,
29918,
19676,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
3652,
376,
13,
462,
259,
285,
29908,
5975,
304,
426,
11227,
29913,
1728,
19035,
2472,
313,
2813,
29901,
376,
13,
462,
259,
285,
29908,
29912,
1761,
29898,
262,
29918,
13757,
29889,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
6120,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
1897,
376,
13,
462,
259,
285,
29908,
29912,
276,
558,
29898,
1311,
29889,
1054,
29918,
978,
2915,
304,
426,
11227,
29913,
1728,
19035,
376,
13,
462,
259,
285,
29908,
19678,
313,
2813,
29901,
426,
1761,
29898,
262,
29918,
2176,
29961,
1311,
29889,
1054,
29918,
978,
1822,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
6120,
1800,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
326,
351,
3821,
29918,
19676,
29918,
517,
29918,
20054,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
326,
351,
29918,
19676,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
3652,
376,
13,
462,
259,
285,
29908,
5975,
304,
426,
11227,
29913,
1728,
19035,
2472,
313,
2813,
29901,
376,
13,
462,
259,
285,
29908,
29912,
1761,
29898,
262,
29918,
13757,
29889,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
6120,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
1897,
376,
13,
462,
259,
285,
29908,
29912,
276,
558,
29898,
1311,
29889,
1054,
29918,
978,
2915,
304,
426,
11227,
29913,
1728,
19035,
376,
13,
462,
259,
285,
29908,
19678,
313,
2813,
29901,
426,
1761,
29898,
262,
29918,
2176,
29961,
1311,
29889,
1054,
29918,
978,
1822,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
6120,
1800,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
6370,
29918,
19676,
29918,
517,
29918,
12673,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
6370,
29918,
19676,
13,
4706,
714,
29918,
1272,
353,
518,
12673,
29889,
3166,
16394,
29898,
29883,
29889,
6370,
29892,
260,
29920,
29922,
2230,
8028,
29889,
329,
29883,
29897,
13,
462,
1678,
363,
274,
297,
1583,
29889,
6370,
29918,
19676,
29962,
13,
308,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
12865,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
12865,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
6370,
29918,
19676,
29918,
517,
29918,
12673,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
6370,
29918,
19676,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
518,
12673,
29889,
3166,
16394,
29898,
29883,
29889,
6370,
29892,
260,
29920,
29922,
2230,
8028,
29889,
329,
29883,
29897,
13,
462,
1678,
363,
274,
297,
1583,
29889,
6370,
29918,
19676,
29962,
718,
518,
8516,
29962,
13,
308,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
12865,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
12865,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
326,
351,
3821,
29918,
19676,
29918,
517,
29918,
12673,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
326,
351,
29918,
19676,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
3652,
376,
13,
462,
259,
285,
29908,
5975,
304,
426,
12673,
29913,
1728,
19035,
2472,
313,
2813,
29901,
376,
13,
462,
259,
285,
29908,
29912,
1761,
29898,
262,
29918,
13757,
29889,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
12865,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
1897,
376,
13,
462,
259,
285,
29908,
29912,
276,
558,
29898,
1311,
29889,
1054,
29918,
978,
2915,
304,
426,
12673,
29913,
1728,
19035,
376,
13,
462,
259,
285,
29908,
19678,
313,
2813,
29901,
426,
1761,
29898,
262,
29918,
2176,
29961,
1311,
29889,
1054,
29918,
978,
1822,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
12865,
1800,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
326,
351,
3821,
29918,
19676,
29918,
517,
29918,
12673,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
326,
351,
29918,
19676,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
3652,
376,
13,
462,
259,
285,
29908,
5975,
304,
426,
12673,
29913,
1728,
19035,
2472,
313,
2813,
29901,
376,
13,
462,
259,
285,
29908,
29912,
1761,
29898,
262,
29918,
13757,
29889,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
12865,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
1897,
376,
13,
462,
259,
285,
29908,
29912,
276,
558,
29898,
1311,
29889,
1054,
29918,
978,
2915,
304,
426,
12673,
29913,
1728,
19035,
376,
13,
462,
259,
285,
29908,
19678,
313,
2813,
29901,
426,
1761,
29898,
262,
29918,
2176,
29961,
1311,
29889,
1054,
29918,
978,
1822,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
12865,
1800,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
6370,
29918,
19676,
29918,
517,
29918,
9346,
287,
2554,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
6370,
29918,
19676,
13,
4706,
714,
29918,
1272,
353,
518,
9346,
287,
2554,
29898,
23128,
29922,
29883,
29889,
6370,
29897,
363,
274,
297,
1583,
29889,
6370,
29918,
19676,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
5335,
287,
2554,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
5335,
287,
2554,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
6370,
29918,
19676,
29918,
517,
29918,
9346,
287,
2554,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
6370,
29918,
19676,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
9310,
9346,
287,
2554,
29898,
23128,
29922,
29883,
29889,
6370,
29897,
363,
274,
297,
1583,
29889,
6370,
29918,
19676,
29962,
718,
13,
462,
1678,
518,
8516,
2314,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
5335,
287,
2554,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
5335,
287,
2554,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
326,
351,
3821,
29918,
19676,
29918,
517,
29918,
9346,
287,
2554,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
326,
351,
29918,
19676,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
3652,
376,
13,
462,
259,
285,
29908,
5975,
304,
426,
9346,
287,
2554,
29913,
1728,
19035,
2472,
313,
2813,
29901,
376,
13,
462,
259,
285,
29908,
29912,
1761,
29898,
262,
29918,
13757,
29889,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
5335,
287,
2554,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
1897,
376,
13,
462,
259,
285,
29908,
29912,
276,
558,
29898,
1311,
29889,
1054,
29918,
978,
2915,
304,
426,
9346,
287,
2554,
29913,
1728,
19035,
376,
13,
462,
259,
285,
29908,
19678,
313,
2813,
29901,
426,
1761,
29898,
262,
29918,
2176,
29961,
1311,
29889,
1054,
29918,
978,
1822,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
5335,
287,
2554,
1800,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
326,
351,
3821,
29918,
19676,
29918,
517,
29918,
9346,
287,
2554,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
326,
351,
29918,
19676,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
3652,
376,
13,
462,
259,
285,
29908,
5975,
304,
426,
9346,
287,
2554,
29913,
1728,
19035,
2472,
313,
2813,
29901,
376,
13,
462,
259,
285,
29908,
29912,
1761,
29898,
262,
29918,
13757,
29889,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
5335,
287,
2554,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
1897,
376,
13,
462,
259,
285,
29908,
29912,
276,
558,
29898,
1311,
29889,
1054,
29918,
978,
2915,
304,
426,
9346,
287,
2554,
29913,
1728,
19035,
376,
13,
462,
259,
285,
29908,
19678,
313,
2813,
29901,
426,
1761,
29898,
262,
29918,
2176,
29961,
1311,
29889,
1054,
29918,
978,
1822,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
5335,
287,
2554,
1800,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
19676,
29918,
517,
29918,
3318,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
1311,
29889,
326,
351,
29918,
19676,
29897,
13,
4706,
714,
29918,
13757,
353,
297,
29918,
13757,
29889,
579,
668,
29898,
9302,
29889,
29881,
1853,
703,
29949,
5783,
13,
13,
4706,
396,
3652,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
1203,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
13757,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
13757,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
1203,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
19676,
29918,
517,
29918,
3318,
29918,
29893,
386,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
1311,
29889,
326,
351,
29918,
19676,
718,
518,
8516,
2314,
13,
4706,
714,
29918,
13757,
353,
297,
29918,
13757,
29889,
579,
668,
29898,
9302,
29889,
29881,
1853,
703,
29949,
5783,
13,
13,
4706,
396,
3652,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
1203,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
13757,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
13757,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
1203,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
13,
1990,
3189,
261,
346,
1231,
29928,
1853,
24376,
29898,
348,
27958,
29889,
3057,
8259,
1125,
13,
13,
1678,
732,
1990,
5696,
13,
1678,
822,
731,
3373,
2385,
29898,
25932,
29897,
1599,
6213,
29901,
13,
4706,
4036,
29889,
26776,
29898,
29896,
29906,
29941,
29946,
29945,
29897,
13,
4706,
2159,
353,
29871,
29941,
13,
4706,
1067,
29879,
29889,
6693,
5743,
353,
21069,
29896,
334,
2159,
849,
29871,
29906,
718,
474,
718,
29871,
29896,
363,
474,
297,
3464,
29898,
2311,
4638,
13,
4706,
396,
6228,
353,
518,
16361,
448,
29896,
29892,
29871,
29900,
29892,
29871,
29896,
29892,
2023,
29962,
13,
4706,
1067,
29879,
29889,
29888,
417,
1446,
353,
518,
29875,
718,
4036,
29889,
8172,
580,
363,
474,
297,
1067,
29879,
29889,
6693,
5743,
29962,
13,
4706,
396,
6228,
353,
518,
16361,
448,
29896,
29974,
29872,
29892,
29871,
29900,
29974,
29872,
29892,
29871,
29896,
29974,
29872,
29892,
2023,
29962,
13,
4706,
1067,
29879,
29889,
19676,
353,
518,
19676,
29898,
29888,
29892,
285,
29897,
363,
285,
297,
1067,
29879,
29889,
29888,
417,
1446,
29962,
13,
4706,
396,
6228,
353,
518,
16361,
4280,
6278,
29896,
29974,
29872,
6653,
29896,
29974,
29872,
511,
4280,
29898,
29900,
29974,
29872,
29892,
29900,
29974,
29872,
511,
4280,
29898,
29896,
29974,
29872,
29892,
29896,
29974,
29872,
511,
2023,
29962,
13,
4706,
1067,
29879,
29889,
3090,
21706,
353,
518,
22495,
3552,
29875,
1273,
29871,
29906,
29953,
29897,
718,
4356,
703,
29874,
5783,
363,
474,
297,
3464,
29898,
2311,
4638,
13,
4706,
396,
6228,
353,
6796,
29874,
613,
376,
29890,
613,
376,
29883,
613,
2023,
29892,
376,
29874,
613,
376,
29890,
613,
376,
29883,
613,
2023,
29962,
13,
4706,
1067,
29879,
29889,
833,
1772,
550,
353,
518,
11227,
3552,
29875,
718,
29871,
29896,
29897,
1273,
29871,
29906,
29897,
363,
474,
297,
3464,
29898,
2311,
4638,
13,
4706,
396,
6228,
353,
518,
5574,
29892,
7700,
29892,
5852,
29892,
7700,
29892,
2023,
29962,
13,
4706,
1067,
29879,
29889,
1056,
573,
29918,
4130,
300,
1355,
353,
518,
12673,
29889,
329,
29883,
3166,
16394,
29898,
29888,
29897,
363,
285,
297,
1067,
29879,
29889,
29888,
417,
1446,
29962,
13,
4706,
396,
6228,
353,
518,
16361,
3477,
29883,
931,
448,
29896,
29974,
29872,
29892,
3477,
29883,
931,
29871,
29900,
29974,
29872,
29892,
3477,
29883,
29918,
2230,
29871,
29896,
29974,
29872,
29892,
2023,
29962,
313,
1217,
260,
29920,
29897,
13,
4706,
1067,
29879,
29889,
28327,
29918,
4130,
300,
1355,
353,
518,
12673,
29889,
3166,
16394,
29898,
29888,
29892,
260,
29920,
29922,
2230,
8028,
29889,
329,
29883,
29897,
13,
462,
1669,
363,
285,
297,
1067,
29879,
29889,
29888,
417,
1446,
29962,
13,
4706,
396,
6228,
353,
518,
16361,
3477,
29883,
931,
448,
29896,
29974,
29872,
29892,
3477,
29883,
931,
29871,
29900,
29974,
29872,
29892,
3477,
29883,
29918,
2230,
29871,
29896,
29974,
29872,
29892,
2023,
29962,
313,
2541,
260,
29920,
29897,
13,
4706,
1067,
29879,
29889,
28327,
29918,
1056,
573,
29918,
4130,
300,
1355,
353,
5159,
13,
4706,
363,
2380,
29892,
285,
297,
26985,
29898,
25932,
29889,
29888,
417,
1446,
1125,
13,
9651,
565,
2380,
1273,
29871,
29906,
29901,
29871,
396,
1055,
573,
13,
18884,
1067,
29879,
29889,
28327,
29918,
1056,
573,
29918,
4130,
300,
1355,
29889,
4397,
29898,
12673,
29889,
329,
29883,
3166,
16394,
29898,
29888,
876,
13,
9651,
1683,
29901,
29871,
396,
9543,
13,
18884,
659,
353,
12865,
29889,
3166,
16394,
29898,
29888,
29892,
260,
29920,
29922,
2230,
8028,
29889,
329,
29883,
29897,
13,
18884,
1067,
29879,
29889,
28327,
29918,
1056,
573,
29918,
4130,
300,
1355,
29889,
4397,
29898,
791,
29897,
13,
4706,
396,
6228,
353,
518,
28327,
29892,
1055,
573,
29892,
9543,
29892,
1055,
573,
29892,
9543,
29892,
2023,
29962,
13,
4706,
1067,
29879,
29889,
29885,
11925,
29918,
2230,
29920,
2873,
353,
5159,
13,
4706,
363,
2380,
29892,
285,
297,
26985,
29898,
25932,
29889,
29888,
417,
1446,
1125,
13,
9651,
260,
29920,
29918,
978,
353,
282,
3637,
29920,
29889,
497,
29918,
2230,
29920,
2873,
29961,
2248,
1273,
7431,
29898,
2272,
17559,
29889,
497,
29918,
2230,
29920,
2873,
4638,
13,
9651,
260,
29920,
353,
282,
3637,
29920,
29889,
2230,
8028,
29898,
17559,
29918,
978,
29897,
13,
9651,
659,
353,
12865,
29889,
3166,
16394,
29898,
29888,
29892,
260,
29920,
29922,
17559,
29897,
13,
9651,
1067,
29879,
29889,
29885,
11925,
29918,
2230,
29920,
2873,
29889,
4397,
29898,
791,
29897,
13,
4706,
396,
6228,
353,
6796,
29909,
18961,
29914,
4920,
333,
8931,
613,
376,
29909,
18961,
29914,
7504,
336,
613,
376,
29909,
18961,
29914,
2528,
275,
29918,
4920,
5363,
613,
2023,
29962,
13,
4706,
1067,
29879,
29889,
9346,
287,
2152,
294,
353,
518,
9346,
287,
2554,
29898,
23128,
29922,
29888,
29897,
363,
285,
297,
1067,
29879,
29889,
29888,
417,
1446,
29962,
13,
4706,
396,
6228,
353,
518,
16361,
448,
29896,
29974,
29872,
6923,
29892,
29871,
29900,
29974,
29872,
6923,
29892,
29871,
29896,
29974,
29872,
6923,
29892,
2023,
29962,
13,
4706,
1067,
29879,
29889,
1054,
29918,
978,
353,
376,
19651,
29908,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
16031,
29918,
1807,
29918,
517,
29918,
16031,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
518,
710,
29898,
29875,
29897,
363,
474,
297,
1583,
29889,
6693,
5743,
29962,
13,
4706,
714,
29918,
1272,
353,
1583,
29889,
6693,
5743,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
938,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
938,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
16031,
29918,
1807,
29918,
517,
29918,
16031,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
518,
710,
29898,
29875,
29897,
363,
474,
297,
1583,
29889,
6693,
5743,
29962,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
1583,
29889,
6693,
5743,
718,
518,
8516,
29962,
13,
308,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
938,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
938,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
7411,
29918,
1807,
29918,
517,
29918,
7411,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
518,
710,
29898,
29888,
29897,
363,
285,
297,
1583,
29889,
29888,
417,
1446,
29962,
13,
4706,
714,
29918,
1272,
353,
1583,
29889,
29888,
417,
1446,
13,
308,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
5785,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
5785,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
7411,
29918,
1807,
29918,
517,
29918,
7411,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
518,
710,
29898,
29888,
29897,
363,
285,
297,
1583,
29889,
29888,
417,
1446,
29962,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
1583,
29889,
29888,
417,
1446,
718,
518,
8516,
29962,
13,
308,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
5785,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
5785,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
19676,
29918,
1807,
29918,
517,
29918,
19676,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
518,
710,
29898,
29883,
29897,
363,
274,
297,
1583,
29889,
19676,
29962,
13,
4706,
714,
29918,
1272,
353,
1583,
29889,
19676,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
4280,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
4280,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
19676,
29918,
1807,
29918,
517,
29918,
19676,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
518,
710,
29898,
29883,
29897,
363,
274,
297,
1583,
29889,
19676,
29962,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
1583,
29889,
19676,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
4280,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
4280,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
18609,
29918,
1807,
29918,
517,
29918,
1807,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
3090,
21706,
13,
4706,
714,
29918,
1272,
353,
297,
29918,
1272,
29889,
8552,
580,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
851,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
851,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
18609,
29918,
1807,
29918,
517,
29918,
1807,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
3090,
21706,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
297,
29918,
1272,
29889,
8552,
580,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
851,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
851,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
20054,
29918,
1807,
29918,
517,
29918,
20054,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
518,
710,
29898,
29890,
29897,
363,
289,
297,
1583,
29889,
833,
1772,
550,
29962,
13,
4706,
714,
29918,
1272,
353,
1583,
29889,
833,
1772,
550,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
6120,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
6120,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
20054,
29918,
1807,
29918,
517,
29918,
20054,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
518,
710,
29898,
29890,
29897,
363,
289,
297,
1583,
29889,
833,
1772,
550,
29962,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
1583,
29889,
833,
1772,
550,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
6120,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
6120,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
1056,
573,
29918,
12673,
29918,
1807,
29918,
517,
29918,
12673,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
518,
710,
29898,
29881,
29897,
363,
270,
297,
1583,
29889,
1056,
573,
29918,
4130,
300,
1355,
29962,
13,
4706,
714,
29918,
1272,
353,
1583,
29889,
1056,
573,
29918,
4130,
300,
1355,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
12865,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
12865,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
1056,
573,
29918,
12673,
29918,
1807,
29918,
517,
29918,
12673,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
518,
710,
29898,
29881,
29897,
363,
270,
297,
1583,
29889,
1056,
573,
29918,
4130,
300,
1355,
29962,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
1583,
29889,
1056,
573,
29918,
4130,
300,
1355,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
12865,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
12865,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
1056,
573,
29918,
29096,
29918,
29947,
29953,
29900,
29896,
29918,
1807,
29918,
517,
29918,
12673,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
518,
29881,
29889,
10718,
4830,
580,
363,
270,
297,
1583,
29889,
1056,
573,
29918,
4130,
300,
1355,
29962,
13,
4706,
714,
29918,
1272,
353,
1583,
29889,
1056,
573,
29918,
4130,
300,
1355,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
12865,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
12865,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
1056,
573,
29918,
29096,
29918,
29947,
29953,
29900,
29896,
29918,
1807,
29918,
517,
29918,
12673,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
518,
29881,
29889,
10718,
4830,
580,
363,
270,
297,
1583,
29889,
1056,
573,
29918,
4130,
300,
1355,
29962,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
1583,
29889,
1056,
573,
29918,
4130,
300,
1355,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
12865,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
12865,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
28327,
29918,
12673,
29918,
1807,
29918,
517,
29918,
12673,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
518,
710,
29898,
29881,
29897,
363,
270,
297,
1583,
29889,
28327,
29918,
4130,
300,
1355,
29962,
13,
4706,
714,
29918,
1272,
353,
1583,
29889,
28327,
29918,
4130,
300,
1355,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
12865,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
12865,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
28327,
29918,
12673,
29918,
1807,
29918,
517,
29918,
12673,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
518,
710,
29898,
29881,
29897,
363,
270,
297,
1583,
29889,
28327,
29918,
4130,
300,
1355,
29962,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
1583,
29889,
28327,
29918,
4130,
300,
1355,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
12865,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
12865,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
28327,
29918,
29096,
29918,
29947,
29953,
29900,
29896,
29918,
1807,
29918,
517,
29918,
12673,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
518,
29881,
29889,
10718,
4830,
580,
363,
270,
297,
1583,
29889,
28327,
29918,
4130,
300,
1355,
29962,
13,
4706,
714,
29918,
1272,
353,
1583,
29889,
28327,
29918,
4130,
300,
1355,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
12865,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
12865,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
28327,
29918,
29096,
29918,
29947,
29953,
29900,
29896,
29918,
1807,
29918,
517,
29918,
12673,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
518,
29881,
29889,
10718,
4830,
580,
363,
270,
297,
1583,
29889,
28327,
29918,
4130,
300,
1355,
29962,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
1583,
29889,
28327,
29918,
4130,
300,
1355,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
12865,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
12865,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
28327,
29918,
1056,
573,
29918,
12673,
29918,
1807,
29918,
517,
29918,
12673,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
12020,
2216,
1888,
2037,
287,
2392,
580,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
28327,
29918,
1056,
573,
29918,
12673,
29918,
1807,
29918,
517,
29918,
12673,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
12020,
2216,
1888,
2037,
287,
2392,
580,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
28327,
29918,
1056,
573,
29918,
29096,
29918,
29947,
29953,
29900,
29896,
29918,
1807,
29918,
517,
29918,
12673,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
12020,
2216,
1888,
2037,
287,
2392,
580,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
28327,
29918,
1056,
573,
29918,
29096,
29918,
29947,
29953,
29900,
29896,
29918,
1807,
29918,
517,
29918,
12673,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
12020,
2216,
1888,
2037,
287,
2392,
580,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
29885,
11925,
29918,
17559,
29918,
12673,
29918,
1807,
29918,
517,
29918,
12673,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
12020,
2216,
1888,
2037,
287,
2392,
580,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
29885,
11925,
29918,
17559,
29918,
12673,
29918,
1807,
29918,
517,
29918,
12673,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
12020,
2216,
1888,
2037,
287,
2392,
580,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
29885,
11925,
29918,
17559,
29918,
29096,
29918,
29947,
29953,
29900,
29896,
29918,
1807,
29918,
517,
29918,
12673,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
12020,
2216,
1888,
2037,
287,
2392,
580,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
29885,
11925,
29918,
17559,
29918,
29096,
29918,
29947,
29953,
29900,
29896,
29918,
1807,
29918,
517,
29918,
12673,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
12020,
2216,
1888,
2037,
287,
2392,
580,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
9346,
287,
2554,
29918,
1807,
29918,
517,
29918,
9346,
287,
2554,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
518,
710,
29898,
29873,
29897,
363,
260,
297,
1583,
29889,
9346,
287,
2152,
294,
29962,
13,
4706,
714,
29918,
1272,
353,
1583,
29889,
9346,
287,
2152,
294,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
5335,
287,
2554,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
5335,
287,
2554,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
9346,
287,
2554,
29918,
1807,
29918,
517,
29918,
9346,
287,
2554,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
518,
710,
29898,
29873,
29897,
363,
260,
297,
1583,
29889,
9346,
287,
2152,
294,
29962,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
1583,
29889,
9346,
287,
2152,
294,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
5335,
287,
2554,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
5335,
287,
2554,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
1807,
29918,
517,
29918,
3318,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
1311,
29889,
9346,
287,
2152,
294,
29897,
13,
4706,
714,
29918,
13757,
353,
297,
29918,
13757,
29889,
579,
668,
29898,
9302,
29889,
29881,
1853,
703,
29949,
5783,
13,
13,
4706,
396,
3652,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
1203,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
13757,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
13757,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
1203,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
1807,
29918,
517,
29918,
3318,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
1311,
29889,
9346,
287,
2152,
294,
718,
518,
8516,
2314,
13,
4706,
714,
29918,
13757,
353,
297,
29918,
13757,
29889,
579,
668,
29898,
9302,
29889,
29881,
1853,
703,
29949,
5783,
13,
13,
4706,
396,
3652,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
1203,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
13757,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
13757,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
1203,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
13,
1990,
3189,
261,
346,
18146,
29928,
1853,
24376,
29898,
348,
27958,
29889,
3057,
8259,
1125,
13,
13,
1678,
732,
1990,
5696,
13,
1678,
822,
731,
3373,
2385,
29898,
25932,
29897,
1599,
6213,
29901,
13,
4706,
2159,
353,
29871,
29941,
13,
4706,
1067,
29879,
29889,
833,
1772,
550,
353,
518,
11227,
3552,
29875,
718,
29871,
29896,
29897,
1273,
29871,
29906,
29897,
363,
474,
297,
3464,
29898,
2311,
4638,
13,
4706,
396,
6228,
353,
518,
5574,
29892,
7700,
29892,
5852,
29892,
7700,
29892,
2023,
29962,
13,
4706,
1067,
29879,
29889,
1054,
29918,
978,
353,
376,
833,
1772,
550,
29908,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
20054,
29918,
517,
29918,
16031,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
833,
1772,
550,
13,
4706,
714,
29918,
1272,
353,
518,
524,
29898,
29890,
29897,
363,
289,
297,
1583,
29889,
833,
1772,
550,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
938,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
938,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
20054,
29918,
517,
29918,
16031,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
833,
1772,
550,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
518,
524,
29898,
29890,
29897,
363,
289,
297,
1583,
29889,
833,
1772,
550,
29962,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
938,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
938,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
20054,
29918,
517,
29918,
7411,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
833,
1772,
550,
13,
4706,
714,
29918,
1272,
353,
518,
7411,
29898,
29890,
29897,
363,
289,
297,
1583,
29889,
833,
1772,
550,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
5785,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
5785,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
20054,
29918,
517,
29918,
7411,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
833,
1772,
550,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
518,
7411,
29898,
29890,
29897,
363,
289,
297,
1583,
29889,
833,
1772,
550,
29962,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
5785,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
5785,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
20054,
29918,
517,
29918,
19676,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
833,
1772,
550,
13,
4706,
714,
29918,
1272,
353,
518,
19676,
29898,
29890,
29892,
29871,
29900,
29897,
363,
289,
297,
1583,
29889,
833,
1772,
550,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
4280,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
4280,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
20054,
29918,
517,
29918,
19676,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
833,
1772,
550,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
518,
19676,
29898,
29890,
29892,
29871,
29900,
29897,
363,
289,
297,
1583,
29889,
833,
1772,
550,
29962,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
4280,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
4280,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
20054,
29918,
517,
29918,
1807,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
833,
1772,
550,
13,
4706,
714,
29918,
1272,
353,
518,
710,
29898,
29890,
29897,
363,
289,
297,
1583,
29889,
833,
1772,
550,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
851,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
851,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
20054,
29918,
517,
29918,
1807,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
833,
1772,
550,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
518,
710,
29898,
29890,
29897,
363,
289,
297,
1583,
29889,
833,
1772,
550,
29962,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
851,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
851,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
20054,
29918,
517,
29918,
20054,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
833,
1772,
550,
13,
4706,
714,
29918,
1272,
353,
297,
29918,
1272,
29889,
8552,
580,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
6120,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
6120,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
20054,
29918,
517,
29918,
20054,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
833,
1772,
550,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
297,
29918,
1272,
29889,
8552,
580,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
6120,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
6120,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
20054,
29918,
517,
29918,
12673,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
833,
1772,
550,
13,
4706,
714,
29918,
1272,
353,
518,
12673,
29889,
3166,
16394,
29898,
29890,
29892,
260,
29920,
29922,
2230,
8028,
29889,
329,
29883,
29897,
13,
462,
1678,
363,
289,
297,
1583,
29889,
833,
1772,
550,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
12865,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
12865,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
20054,
29918,
517,
29918,
12673,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
833,
1772,
550,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
518,
12673,
29889,
3166,
16394,
29898,
29890,
29892,
260,
29920,
29922,
2230,
8028,
29889,
329,
29883,
29897,
13,
462,
1678,
363,
289,
297,
1583,
29889,
833,
1772,
550,
29962,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
12865,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
12865,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
20054,
29918,
517,
29918,
9346,
287,
2554,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
833,
1772,
550,
13,
4706,
714,
29918,
1272,
353,
518,
9346,
287,
2554,
29898,
23128,
29922,
29890,
29897,
363,
289,
297,
1583,
29889,
833,
1772,
550,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
5335,
287,
2554,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
5335,
287,
2554,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
20054,
29918,
517,
29918,
9346,
287,
2554,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
833,
1772,
550,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
518,
9346,
287,
2554,
29898,
23128,
29922,
29890,
29897,
363,
289,
297,
1583,
29889,
833,
1772,
550,
29962,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
5335,
287,
2554,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
5335,
287,
2554,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
20054,
29918,
517,
29918,
3318,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
1311,
29889,
833,
1772,
550,
29897,
13,
4706,
714,
29918,
13757,
353,
297,
29918,
13757,
29889,
579,
668,
29898,
9302,
29889,
29881,
1853,
703,
29949,
5783,
13,
13,
4706,
396,
3652,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
1203,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
13757,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
13757,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
1203,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
20054,
29918,
517,
29918,
3318,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
1311,
29889,
833,
1772,
550,
718,
518,
8516,
2314,
13,
4706,
714,
29918,
13757,
353,
297,
29918,
13757,
29889,
579,
668,
29898,
9302,
29889,
29881,
1853,
703,
29949,
5783,
13,
13,
4706,
396,
3652,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
1203,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
13757,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
13757,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
1203,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
13,
1990,
3189,
261,
346,
16390,
5410,
29928,
1853,
24376,
29898,
348,
27958,
29889,
3057,
8259,
1125,
13,
13,
1678,
732,
1990,
5696,
13,
1678,
822,
731,
3373,
2385,
29898,
25932,
29897,
1599,
6213,
29901,
13,
4706,
4036,
29889,
26776,
29898,
29896,
29906,
29941,
29946,
29945,
29897,
13,
4706,
2159,
353,
29871,
29941,
13,
4706,
11920,
353,
21069,
29896,
334,
2159,
849,
29871,
29906,
718,
474,
718,
29871,
29896,
363,
474,
297,
3464,
29898,
2311,
4638,
13,
4706,
5685,
1446,
353,
518,
29875,
718,
4036,
29889,
8172,
580,
363,
474,
297,
11920,
29962,
13,
4706,
1067,
29879,
29889,
15970,
280,
29918,
4130,
300,
1355,
353,
518,
12673,
29889,
3166,
16394,
29898,
29875,
29892,
260,
29920,
29922,
2230,
8028,
29889,
329,
29883,
29897,
13,
462,
1669,
363,
474,
297,
11920,
29962,
13,
4706,
396,
6228,
353,
518,
16361,
3477,
29883,
931,
448,
29896,
29892,
3477,
29883,
931,
29871,
29900,
29892,
3477,
29883,
931,
29871,
29896,
29892,
2023,
29962,
13,
4706,
1067,
29879,
29889,
4130,
300,
1355,
29918,
14811,
29918,
29900,
29918,
392,
29918,
29896,
353,
518,
12673,
29889,
3166,
16394,
29898,
8172,
29889,
8172,
3285,
13,
462,
462,
462,
18884,
260,
29920,
29922,
2230,
8028,
29889,
329,
29883,
29897,
13,
462,
462,
308,
363,
903,
297,
3464,
29898,
2311,
4638,
13,
4706,
396,
6228,
353,
518,
329,
29883,
931,
29871,
29900,
29974,
29872,
29892,
3477,
29883,
931,
29871,
29900,
29974,
29872,
29892,
3477,
29883,
931,
29871,
29900,
29974,
29872,
29892,
2023,
29962,
13,
4706,
1067,
29879,
29889,
11227,
29918,
15764,
353,
518,
12673,
29889,
3166,
16394,
3552,
29875,
718,
29871,
29896,
29897,
1273,
29871,
29906,
29892,
260,
29920,
29922,
2230,
8028,
29889,
329,
29883,
29897,
13,
462,
3986,
363,
474,
297,
3464,
29898,
2311,
4638,
13,
4706,
396,
6228,
353,
518,
329,
29883,
931,
29871,
29896,
29892,
3477,
29883,
931,
29871,
29900,
29892,
3477,
29883,
931,
29871,
29896,
29892,
3477,
29883,
931,
29871,
29900,
29892,
2023,
29962,
13,
4706,
1067,
29879,
29889,
1056,
573,
29918,
4130,
300,
1355,
353,
518,
12673,
29889,
329,
29883,
3166,
16394,
29898,
29888,
29897,
363,
285,
297,
5685,
1446,
29962,
13,
4706,
396,
6228,
353,
518,
16361,
3477,
29883,
931,
448,
29896,
29974,
29872,
29892,
3477,
29883,
931,
29871,
29900,
29974,
29872,
29892,
3477,
29883,
931,
29871,
29896,
29974,
29872,
29892,
2023,
29962,
313,
1217,
260,
29920,
29897,
13,
4706,
1067,
29879,
29889,
28327,
29918,
4130,
300,
1355,
353,
518,
12673,
29889,
3166,
16394,
29898,
29888,
29892,
260,
29920,
29922,
2230,
8028,
29889,
329,
29883,
29897,
13,
462,
1669,
363,
285,
297,
5685,
1446,
29962,
13,
4706,
396,
6228,
353,
518,
16361,
3477,
29883,
931,
448,
29896,
29974,
29872,
29892,
3477,
29883,
931,
29871,
29900,
29974,
29872,
29892,
3477,
29883,
29918,
2230,
29871,
29896,
29974,
29872,
29892,
2023,
29962,
313,
2541,
260,
29920,
29897,
13,
4706,
1067,
29879,
29889,
28327,
29918,
1056,
573,
29918,
4130,
300,
1355,
353,
5159,
13,
4706,
363,
2380,
29892,
285,
297,
26985,
29898,
29888,
417,
1446,
1125,
13,
9651,
565,
2380,
1273,
29871,
29906,
29901,
29871,
396,
1055,
573,
13,
18884,
1067,
29879,
29889,
28327,
29918,
1056,
573,
29918,
4130,
300,
1355,
29889,
4397,
29898,
12673,
29889,
329,
29883,
3166,
16394,
29898,
29888,
876,
13,
9651,
1683,
29901,
29871,
396,
9543,
13,
18884,
659,
353,
12865,
29889,
3166,
16394,
29898,
29888,
29892,
260,
29920,
29922,
2230,
8028,
29889,
329,
29883,
29897,
13,
18884,
1067,
29879,
29889,
28327,
29918,
1056,
573,
29918,
4130,
300,
1355,
29889,
4397,
29898,
791,
29897,
13,
4706,
396,
6228,
353,
518,
28327,
29892,
1055,
573,
29892,
9543,
29892,
1055,
573,
29892,
9543,
29892,
2023,
29962,
13,
4706,
1067,
29879,
29889,
29885,
11925,
29918,
2230,
29920,
2873,
353,
5159,
13,
4706,
363,
2380,
29892,
285,
297,
26985,
29898,
29888,
417,
1446,
1125,
13,
9651,
260,
29920,
29918,
978,
353,
282,
3637,
29920,
29889,
497,
29918,
2230,
29920,
2873,
29961,
2248,
1273,
7431,
29898,
2272,
17559,
29889,
497,
29918,
2230,
29920,
2873,
4638,
13,
9651,
260,
29920,
353,
282,
3637,
29920,
29889,
2230,
8028,
29898,
17559,
29918,
978,
29897,
13,
9651,
659,
353,
12865,
29889,
3166,
16394,
29898,
29888,
29892,
260,
29920,
29922,
17559,
29897,
13,
9651,
1067,
29879,
29889,
29885,
11925,
29918,
2230,
29920,
2873,
29889,
4397,
29898,
791,
29897,
13,
4706,
396,
6228,
353,
6796,
29909,
18961,
29914,
4920,
333,
8931,
613,
376,
29909,
18961,
29914,
7504,
336,
613,
376,
29909,
18961,
29914,
2528,
275,
29918,
4920,
5363,
613,
2023,
29962,
13,
4706,
1067,
29879,
29889,
1054,
29918,
978,
353,
376,
4130,
300,
1355,
29908,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
15970,
280,
29918,
12673,
29918,
517,
29918,
16031,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
15970,
280,
29918,
4130,
300,
1355,
13,
4706,
714,
29918,
1272,
353,
518,
524,
29898,
29881,
29889,
16394,
3101,
363,
270,
297,
1583,
29889,
15970,
280,
29918,
4130,
300,
1355,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
938,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
938,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
15970,
280,
29918,
12673,
29918,
517,
29918,
16031,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
15970,
280,
29918,
4130,
300,
1355,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
518,
524,
29898,
29881,
29889,
16394,
3101,
363,
270,
297,
1583,
29889,
15970,
280,
29918,
4130,
300,
1355,
29962,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
938,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
938,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
8172,
29918,
12673,
29918,
517,
29918,
16031,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
28327,
29918,
4130,
300,
1355,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
3652,
376,
13,
462,
259,
285,
29908,
5975,
304,
426,
524,
29913,
1728,
19035,
2472,
313,
2813,
29901,
376,
13,
462,
259,
285,
29908,
29912,
1761,
29898,
262,
29918,
13757,
29889,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
938,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
1897,
376,
13,
462,
259,
285,
29908,
29912,
276,
558,
29898,
1311,
29889,
1054,
29918,
978,
2915,
304,
426,
524,
29913,
1728,
19035,
376,
13,
462,
259,
285,
29908,
19678,
313,
2813,
29901,
426,
1761,
29898,
262,
29918,
2176,
29961,
1311,
29889,
1054,
29918,
978,
1822,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
938,
1800,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
8172,
29918,
12673,
29918,
517,
29918,
16031,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
28327,
29918,
4130,
300,
1355,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
3652,
376,
13,
462,
259,
285,
29908,
5975,
304,
426,
524,
29913,
1728,
19035,
2472,
313,
2813,
29901,
376,
13,
462,
259,
285,
29908,
29912,
1761,
29898,
262,
29918,
13757,
29889,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
938,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
1897,
376,
13,
462,
259,
285,
29908,
29912,
276,
558,
29898,
1311,
29889,
1054,
29918,
978,
2915,
304,
426,
524,
29913,
1728,
19035,
376,
13,
462,
259,
285,
29908,
19678,
313,
2813,
29901,
426,
1761,
29898,
262,
29918,
2176,
29961,
1311,
29889,
1054,
29918,
978,
1822,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
938,
1800,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
12673,
29918,
517,
29918,
7411,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
28327,
29918,
4130,
300,
1355,
13,
4706,
714,
29918,
1272,
353,
518,
29881,
29889,
16394,
580,
363,
270,
297,
1583,
29889,
28327,
29918,
4130,
300,
1355,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
5785,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
5785,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
12673,
29918,
517,
29918,
7411,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
28327,
29918,
4130,
300,
1355,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
518,
29881,
29889,
16394,
580,
363,
270,
297,
1583,
29889,
28327,
29918,
4130,
300,
1355,
29962,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
5785,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
5785,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
12673,
29918,
517,
29918,
19676,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
28327,
29918,
4130,
300,
1355,
13,
4706,
714,
29918,
1272,
353,
518,
19676,
29898,
29881,
29889,
16394,
3285,
29871,
29900,
29897,
363,
270,
297,
1583,
29889,
28327,
29918,
4130,
300,
1355,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
4280,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
4280,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
12673,
29918,
517,
29918,
19676,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
28327,
29918,
4130,
300,
1355,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
9310,
19676,
29898,
29881,
29889,
16394,
3285,
29871,
29900,
29897,
363,
270,
297,
1583,
29889,
28327,
29918,
4130,
300,
1355,
29962,
718,
13,
462,
1678,
518,
8516,
2314,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
4280,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
4280,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
12673,
29918,
517,
29918,
1807,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
28327,
29918,
4130,
300,
1355,
13,
4706,
714,
29918,
1272,
353,
518,
29881,
29889,
10718,
4830,
580,
363,
270,
297,
1583,
29889,
28327,
29918,
4130,
300,
1355,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
851,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
851,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
12673,
29918,
517,
29918,
1807,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
28327,
29918,
4130,
300,
1355,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
518,
29881,
29889,
10718,
4830,
580,
363,
270,
297,
1583,
29889,
28327,
29918,
4130,
300,
1355,
29962,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
851,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
851,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
12673,
29918,
11227,
29918,
15581,
29918,
517,
29918,
20054,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
11227,
29918,
15764,
13,
4706,
714,
29918,
1272,
353,
518,
11227,
29898,
29881,
29889,
16394,
3101,
363,
270,
297,
1583,
29889,
11227,
29918,
15764,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
6120,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
6120,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
12673,
29918,
11227,
29918,
15581,
29918,
517,
29918,
20054,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
11227,
29918,
15764,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
518,
11227,
29898,
29881,
29889,
16394,
3101,
363,
270,
297,
1583,
29889,
11227,
29918,
15764,
29962,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
6120,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
6120,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
8172,
29918,
12673,
29918,
517,
29918,
20054,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
28327,
29918,
4130,
300,
1355,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
3652,
376,
13,
462,
259,
285,
29908,
5975,
304,
426,
11227,
29913,
1728,
19035,
2472,
313,
2813,
29901,
376,
13,
462,
259,
285,
29908,
29912,
1761,
29898,
262,
29918,
13757,
29889,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
6120,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
1897,
376,
13,
462,
259,
285,
29908,
29912,
276,
558,
29898,
1311,
29889,
1054,
29918,
978,
2915,
304,
426,
11227,
29913,
1728,
19035,
376,
13,
462,
259,
285,
29908,
19678,
313,
2813,
29901,
426,
1761,
29898,
262,
29918,
2176,
29961,
1311,
29889,
1054,
29918,
978,
1822,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
6120,
1800,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
8172,
29918,
12673,
29918,
517,
29918,
20054,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
28327,
29918,
4130,
300,
1355,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
3652,
376,
13,
462,
259,
285,
29908,
5975,
304,
426,
11227,
29913,
1728,
19035,
2472,
313,
2813,
29901,
376,
13,
462,
259,
285,
29908,
29912,
1761,
29898,
262,
29918,
13757,
29889,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
6120,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
1897,
376,
13,
462,
259,
285,
29908,
29912,
276,
558,
29898,
1311,
29889,
1054,
29918,
978,
2915,
304,
426,
11227,
29913,
1728,
19035,
376,
13,
462,
259,
285,
29908,
19678,
313,
2813,
29901,
426,
1761,
29898,
262,
29918,
2176,
29961,
1311,
29889,
1054,
29918,
978,
1822,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
6120,
1800,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
12673,
29918,
14811,
29918,
29900,
29918,
392,
29918,
29896,
29918,
517,
29918,
20054,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
4130,
300,
1355,
29918,
14811,
29918,
29900,
29918,
392,
29918,
29896,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
3652,
376,
13,
462,
259,
285,
29908,
5975,
304,
426,
11227,
29913,
1728,
19035,
2472,
313,
2813,
29901,
376,
13,
462,
259,
285,
29908,
29912,
1761,
29898,
262,
29918,
13757,
29889,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
6120,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
1897,
376,
13,
462,
259,
285,
29908,
29912,
276,
558,
29898,
1311,
29889,
1054,
29918,
978,
2915,
304,
426,
11227,
29913,
1728,
19035,
376,
13,
462,
259,
285,
29908,
19678,
313,
2813,
29901,
426,
1761,
29898,
262,
29918,
2176,
29961,
1311,
29889,
1054,
29918,
978,
1822,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
6120,
1800,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
12673,
29918,
14811,
29918,
29900,
29918,
392,
29918,
29896,
29918,
517,
29918,
20054,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
4130,
300,
1355,
29918,
14811,
29918,
29900,
29918,
392,
29918,
29896,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
3652,
376,
13,
462,
259,
285,
29908,
5975,
304,
426,
11227,
29913,
1728,
19035,
2472,
313,
2813,
29901,
376,
13,
462,
259,
285,
29908,
29912,
1761,
29898,
262,
29918,
13757,
29889,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
6120,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
1897,
376,
13,
462,
259,
285,
29908,
29912,
276,
558,
29898,
1311,
29889,
1054,
29918,
978,
2915,
304,
426,
11227,
29913,
1728,
19035,
376,
13,
462,
259,
285,
29908,
19678,
313,
2813,
29901,
426,
1761,
29898,
262,
29918,
2176,
29961,
1311,
29889,
1054,
29918,
978,
1822,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
6120,
1800,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
12673,
29918,
517,
29918,
12673,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
28327,
29918,
4130,
300,
1355,
13,
4706,
714,
29918,
1272,
353,
297,
29918,
1272,
29889,
8552,
580,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
12865,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
12865,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
12673,
29918,
517,
29918,
12673,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
28327,
29918,
4130,
300,
1355,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
297,
29918,
1272,
29889,
8552,
580,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
12865,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
12865,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
12673,
29918,
517,
29918,
9346,
287,
2554,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
28327,
29918,
4130,
300,
1355,
13,
4706,
714,
29918,
1272,
353,
518,
9346,
287,
2554,
29898,
23128,
29922,
29881,
29889,
16394,
3101,
13,
462,
1678,
363,
270,
297,
1583,
29889,
28327,
29918,
4130,
300,
1355,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
5335,
287,
2554,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
5335,
287,
2554,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
12673,
29918,
517,
29918,
9346,
287,
2554,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
28327,
29918,
4130,
300,
1355,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
518,
9346,
287,
2554,
29898,
23128,
29922,
29881,
29889,
16394,
3101,
13,
462,
1678,
363,
270,
297,
1583,
29889,
28327,
29918,
4130,
300,
1355,
29962,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
5335,
287,
2554,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
5335,
287,
2554,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
12673,
29918,
517,
29918,
3318,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
1311,
29889,
28327,
29918,
4130,
300,
1355,
29897,
13,
4706,
714,
29918,
13757,
353,
297,
29918,
13757,
29889,
579,
668,
29898,
9302,
29889,
29881,
1853,
703,
29949,
5783,
13,
13,
4706,
396,
3652,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
1203,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
13757,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
13757,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
1203,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
12673,
29918,
517,
29918,
3318,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
1311,
29889,
28327,
29918,
4130,
300,
1355,
718,
518,
8516,
2314,
13,
4706,
714,
29918,
13757,
353,
297,
29918,
13757,
29889,
579,
668,
29898,
9302,
29889,
29881,
1853,
703,
29949,
5783,
13,
13,
4706,
396,
3652,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
1203,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
13757,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
13757,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
1203,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
13,
1990,
3189,
261,
346,
13711,
287,
2554,
29928,
1853,
24376,
29898,
348,
27958,
29889,
3057,
8259,
1125,
13,
13,
1678,
732,
1990,
5696,
13,
1678,
822,
731,
3373,
2385,
29898,
25932,
29897,
1599,
6213,
29901,
13,
4706,
4036,
29889,
26776,
29898,
29896,
29966,
25711,
17013,
12948,
13,
4706,
2159,
353,
29871,
29941,
13,
4706,
11920,
353,
21069,
29896,
334,
2159,
849,
29871,
29906,
718,
474,
718,
29871,
29896,
363,
474,
297,
3464,
29898,
2311,
4638,
13,
4706,
5685,
1446,
353,
518,
29875,
718,
4036,
29889,
8172,
580,
363,
474,
297,
11920,
29962,
13,
4706,
1067,
29879,
29889,
15970,
280,
29918,
9346,
287,
2152,
294,
353,
518,
9346,
287,
2554,
29898,
23128,
29922,
29875,
29897,
363,
474,
297,
11920,
29962,
13,
4706,
396,
6228,
353,
518,
16361,
5335,
287,
2554,
6278,
29896,
511,
5335,
287,
2554,
29898,
29900,
511,
5335,
287,
2554,
29898,
29896,
511,
2023,
29962,
13,
4706,
1067,
29879,
29889,
9346,
287,
2152,
294,
353,
518,
9346,
287,
2554,
29898,
23128,
29922,
29888,
29897,
363,
285,
297,
5685,
1446,
29962,
13,
4706,
396,
6228,
353,
518,
16361,
5335,
287,
2554,
6278,
29896,
29974,
29872,
511,
5335,
287,
2554,
29898,
29900,
29974,
29872,
511,
5335,
287,
2554,
29898,
29896,
29974,
29872,
511,
2023,
29962,
13,
4706,
1067,
29879,
29889,
9346,
287,
2152,
294,
29918,
14811,
29918,
29900,
29918,
392,
29918,
29896,
353,
518,
9346,
287,
2554,
29898,
23128,
29922,
8172,
29889,
8172,
3101,
13,
462,
462,
3986,
363,
903,
297,
3464,
29898,
2311,
4638,
13,
4706,
396,
6228,
353,
518,
9346,
287,
2554,
29898,
29900,
29974,
29872,
511,
5335,
287,
2554,
29898,
29900,
29974,
29872,
511,
5335,
287,
2554,
29898,
29900,
29974,
29872,
511,
2023,
29962,
13,
4706,
1067,
29879,
29889,
11227,
29918,
15764,
353,
518,
9346,
287,
2554,
29898,
23128,
7607,
29875,
718,
29871,
29896,
29897,
1273,
29871,
29906,
29897,
363,
474,
297,
3464,
29898,
2311,
4638,
13,
4706,
396,
6228,
353,
518,
9346,
287,
2554,
29898,
29896,
511,
5335,
287,
2554,
29898,
29900,
511,
5335,
287,
2554,
29898,
29896,
511,
5335,
287,
2554,
29898,
29900,
511,
2023,
29962,
13,
4706,
1067,
29879,
29889,
1054,
29918,
978,
353,
376,
9346,
287,
2152,
294,
29908,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
15970,
280,
29918,
9346,
287,
2554,
29918,
517,
29918,
16031,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
15970,
280,
29918,
9346,
287,
2152,
294,
13,
4706,
714,
29918,
1272,
353,
518,
524,
29898,
29873,
29889,
7827,
29918,
23128,
3101,
363,
260,
297,
1583,
29889,
15970,
280,
29918,
9346,
287,
2152,
294,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
938,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
938,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
15970,
280,
29918,
9346,
287,
2554,
29918,
517,
29918,
16031,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
15970,
280,
29918,
9346,
287,
2152,
294,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
9310,
524,
29898,
29873,
29889,
7827,
29918,
23128,
3101,
363,
260,
297,
1583,
29889,
15970,
280,
29918,
9346,
287,
2152,
294,
29962,
718,
13,
462,
1678,
518,
8516,
2314,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
938,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
938,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
8172,
29918,
9346,
287,
2554,
29918,
517,
29918,
16031,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
9346,
287,
2152,
294,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
3652,
376,
13,
462,
259,
285,
29908,
5975,
304,
426,
524,
29913,
1728,
19035,
2472,
313,
2813,
29901,
376,
13,
462,
259,
285,
29908,
29912,
1761,
29898,
262,
29918,
13757,
29889,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
938,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
1897,
376,
13,
462,
259,
285,
29908,
29912,
276,
558,
29898,
1311,
29889,
1054,
29918,
978,
2915,
304,
426,
524,
29913,
1728,
19035,
376,
13,
462,
259,
285,
29908,
19678,
313,
2813,
29901,
426,
1761,
29898,
262,
29918,
2176,
29961,
1311,
29889,
1054,
29918,
978,
1822,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
938,
1800,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
8172,
29918,
9346,
287,
2554,
29918,
517,
29918,
16031,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
9346,
287,
2152,
294,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
3652,
376,
13,
462,
259,
285,
29908,
5975,
304,
426,
524,
29913,
1728,
19035,
2472,
313,
2813,
29901,
376,
13,
462,
259,
285,
29908,
29912,
1761,
29898,
262,
29918,
13757,
29889,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
938,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
1897,
376,
13,
462,
259,
285,
29908,
29912,
276,
558,
29898,
1311,
29889,
1054,
29918,
978,
2915,
304,
426,
524,
29913,
1728,
19035,
376,
13,
462,
259,
285,
29908,
19678,
313,
2813,
29901,
426,
1761,
29898,
262,
29918,
2176,
29961,
1311,
29889,
1054,
29918,
978,
1822,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
938,
1800,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
9346,
287,
2554,
29918,
517,
29918,
7411,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
9346,
287,
2152,
294,
13,
4706,
714,
29918,
1272,
353,
518,
29873,
29889,
7827,
29918,
23128,
580,
363,
260,
297,
1583,
29889,
9346,
287,
2152,
294,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
5785,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
5785,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
9346,
287,
2554,
29918,
517,
29918,
7411,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
9346,
287,
2152,
294,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
518,
29873,
29889,
7827,
29918,
23128,
580,
363,
260,
297,
1583,
29889,
9346,
287,
2152,
294,
29962,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
5785,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
5785,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
9346,
287,
2554,
29918,
517,
29918,
19676,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
9346,
287,
2152,
294,
13,
4706,
714,
29918,
1272,
353,
518,
19676,
29898,
29873,
29889,
7827,
29918,
23128,
3285,
29871,
29900,
29897,
363,
260,
297,
1583,
29889,
9346,
287,
2152,
294,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
4280,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
4280,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
9346,
287,
2554,
29918,
517,
29918,
19676,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
9346,
287,
2152,
294,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
9310,
19676,
29898,
29873,
29889,
7827,
29918,
23128,
3285,
29871,
29900,
29897,
363,
260,
297,
1583,
29889,
9346,
287,
2152,
294,
29962,
718,
13,
462,
1678,
518,
8516,
2314,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
4280,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
4280,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
9346,
287,
2554,
29918,
517,
29918,
1807,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
9346,
287,
2152,
294,
13,
4706,
714,
29918,
1272,
353,
518,
710,
29898,
15926,
29889,
13711,
287,
2554,
29898,
29873,
876,
363,
260,
297,
1583,
29889,
9346,
287,
2152,
294,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
851,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
851,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
9346,
287,
2554,
29918,
517,
29918,
1807,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
9346,
287,
2152,
294,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
518,
710,
29898,
15926,
29889,
13711,
287,
2554,
29898,
29873,
876,
363,
260,
297,
1583,
29889,
9346,
287,
2152,
294,
29962,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
851,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
851,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
9346,
287,
2554,
29918,
11227,
29918,
15581,
29918,
517,
29918,
20054,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
11227,
29918,
15764,
13,
4706,
714,
29918,
1272,
353,
518,
11227,
29898,
29881,
29889,
7827,
29918,
23128,
3101,
363,
270,
297,
1583,
29889,
11227,
29918,
15764,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
6120,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
6120,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
9346,
287,
2554,
29918,
11227,
29918,
15581,
29918,
517,
29918,
20054,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
11227,
29918,
15764,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
518,
11227,
29898,
29881,
29889,
7827,
29918,
23128,
3101,
363,
270,
297,
1583,
29889,
11227,
29918,
15764,
29962,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
6120,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
6120,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
8172,
29918,
9346,
287,
2554,
29918,
517,
29918,
20054,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
9346,
287,
2152,
294,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
3652,
376,
13,
462,
259,
285,
29908,
5975,
304,
426,
11227,
29913,
1728,
19035,
2472,
313,
2813,
29901,
376,
13,
462,
259,
285,
29908,
29912,
1761,
29898,
262,
29918,
13757,
29889,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
6120,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
1897,
376,
13,
462,
259,
285,
29908,
29912,
276,
558,
29898,
1311,
29889,
1054,
29918,
978,
2915,
304,
426,
11227,
29913,
1728,
19035,
376,
13,
462,
259,
285,
29908,
19678,
313,
2813,
29901,
426,
1761,
29898,
262,
29918,
2176,
29961,
1311,
29889,
1054,
29918,
978,
1822,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
6120,
1800,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
8172,
29918,
9346,
287,
2554,
29918,
517,
29918,
20054,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
9346,
287,
2152,
294,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
3652,
376,
13,
462,
259,
285,
29908,
5975,
304,
426,
11227,
29913,
1728,
19035,
2472,
313,
2813,
29901,
376,
13,
462,
259,
285,
29908,
29912,
1761,
29898,
262,
29918,
13757,
29889,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
6120,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
1897,
376,
13,
462,
259,
285,
29908,
29912,
276,
558,
29898,
1311,
29889,
1054,
29918,
978,
2915,
304,
426,
11227,
29913,
1728,
19035,
376,
13,
462,
259,
285,
29908,
19678,
313,
2813,
29901,
426,
1761,
29898,
262,
29918,
2176,
29961,
1311,
29889,
1054,
29918,
978,
1822,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
6120,
1800,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
9346,
287,
2554,
29918,
14811,
29918,
29900,
29918,
392,
29918,
29896,
29918,
517,
29918,
20054,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
9346,
287,
2152,
294,
29918,
14811,
29918,
29900,
29918,
392,
29918,
29896,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
3652,
376,
13,
462,
259,
285,
29908,
5975,
304,
426,
11227,
29913,
1728,
19035,
2472,
313,
2813,
29901,
376,
13,
462,
259,
285,
29908,
29912,
1761,
29898,
262,
29918,
13757,
29889,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
6120,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
1897,
376,
13,
462,
259,
285,
29908,
29912,
276,
558,
29898,
1311,
29889,
1054,
29918,
978,
2915,
304,
426,
11227,
29913,
1728,
19035,
376,
13,
462,
259,
285,
29908,
19678,
313,
2813,
29901,
426,
1761,
29898,
262,
29918,
2176,
29961,
1311,
29889,
1054,
29918,
978,
1822,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
6120,
1800,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
9346,
287,
2554,
29918,
14811,
29918,
29900,
29918,
392,
29918,
29896,
29918,
517,
29918,
20054,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
9346,
287,
2152,
294,
29918,
14811,
29918,
29900,
29918,
392,
29918,
29896,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
3652,
376,
13,
462,
259,
285,
29908,
5975,
304,
426,
11227,
29913,
1728,
19035,
2472,
313,
2813,
29901,
376,
13,
462,
259,
285,
29908,
29912,
1761,
29898,
262,
29918,
13757,
29889,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
6120,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
29881,
1853,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
2609,
1302,
261,
346,
1897,
376,
13,
462,
259,
285,
29908,
29912,
276,
558,
29898,
1311,
29889,
1054,
29918,
978,
2915,
304,
426,
11227,
29913,
1728,
19035,
376,
13,
462,
259,
285,
29908,
19678,
313,
2813,
29901,
426,
1761,
29898,
262,
29918,
2176,
29961,
1311,
29889,
1054,
29918,
978,
1822,
2813,
3101,
1800,
1159,
13,
4706,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29897,
408,
4589,
29901,
13,
9651,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
6120,
1800,
13,
4706,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
9346,
287,
2554,
29918,
517,
29918,
12673,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
9346,
287,
2152,
294,
13,
4706,
714,
29918,
1272,
353,
518,
12673,
29889,
3166,
16394,
29898,
29873,
29889,
7827,
29918,
23128,
3285,
260,
29920,
29922,
2230,
8028,
29889,
329,
29883,
29897,
13,
462,
1678,
363,
260,
297,
1583,
29889,
9346,
287,
2152,
294,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
12865,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
12865,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
9346,
287,
2554,
29918,
517,
29918,
12673,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
9346,
287,
2152,
294,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
518,
12673,
29889,
3166,
16394,
29898,
29873,
29889,
7827,
29918,
23128,
3285,
260,
29920,
29922,
2230,
8028,
29889,
329,
29883,
29897,
13,
462,
1678,
363,
260,
297,
1583,
29889,
9346,
287,
2152,
294,
29962,
718,
518,
8516,
29962,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
12865,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
12865,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
9346,
287,
2554,
29918,
517,
29918,
9346,
287,
2554,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
9346,
287,
2152,
294,
13,
4706,
714,
29918,
1272,
353,
297,
29918,
1272,
29889,
8552,
580,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
5335,
287,
2554,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
5335,
287,
2554,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
9346,
287,
2554,
29918,
517,
29918,
9346,
287,
2554,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
1272,
353,
1583,
29889,
9346,
287,
2152,
294,
718,
518,
8516,
29962,
13,
4706,
714,
29918,
1272,
353,
297,
29918,
1272,
29889,
8552,
580,
13,
13,
4706,
396,
3652,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
262,
29918,
1272,
29897,
13,
4706,
714,
29918,
13757,
353,
10518,
29889,
19204,
29898,
449,
29918,
1272,
29897,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
5335,
287,
2554,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
1272,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
1272,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
5335,
287,
2554,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
9346,
287,
2554,
29918,
517,
29918,
3318,
29918,
1217,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
1311,
29889,
9346,
287,
2152,
294,
29897,
13,
4706,
714,
29918,
13757,
353,
297,
29918,
13757,
29889,
579,
668,
29898,
9302,
29889,
29881,
1853,
703,
29949,
5783,
13,
13,
4706,
396,
3652,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
1203,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
13757,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
13757,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
1203,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
9346,
287,
2554,
29918,
517,
29918,
3318,
29918,
2541,
29918,
1056,
29898,
1311,
1125,
13,
4706,
297,
29918,
13757,
353,
10518,
29889,
19204,
29898,
1311,
29889,
9346,
287,
2152,
294,
718,
518,
8516,
2314,
13,
4706,
714,
29918,
13757,
353,
297,
29918,
13757,
29889,
579,
668,
29898,
9302,
29889,
29881,
1853,
703,
29949,
5783,
13,
13,
4706,
396,
3652,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
13757,
29892,
1203,
29897,
13,
4706,
4974,
29918,
13757,
29918,
11745,
29898,
2914,
29892,
714,
29918,
13757,
29897,
13,
13,
4706,
396,
12205,
13,
4706,
297,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
297,
29918,
13757,
1800,
13,
4706,
714,
29918,
2176,
353,
10518,
29889,
17271,
3319,
1311,
29889,
1054,
29918,
978,
29901,
714,
29918,
13757,
1800,
13,
4706,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
262,
29918,
2176,
29892,
426,
1311,
29889,
1054,
29918,
978,
29901,
1203,
1800,
13,
4706,
4974,
29918,
2557,
29918,
11745,
29898,
2914,
29892,
714,
29918,
2176,
29897,
13,
13,
13,
1990,
3189,
261,
346,
2061,
29928,
1853,
24376,
29898,
348,
27958,
29889,
3057,
8259,
1125,
13,
13,
1678,
732,
1990,
5696,
13,
1678,
822,
731,
3373,
2385,
29898,
25932,
29897,
1599,
6213,
29901,
13,
4706,
770,
10050,
15738,
519,
2061,
29901,
13,
9651,
1209,
13,
13,
4706,
770,
4834,
519,
2061,
29901,
13,
632,
13,
9651,
822,
304,
29918,
12673,
29898,
1311,
29897,
1599,
12865,
29901,
13,
18884,
736,
12865,
29889,
3166,
16394,
29898,
8172,
29889,
9502,
524,
29898,
29900,
29892,
29871,
29947,
29953,
29946,
29900,
29900,
511,
13,
462,
462,
795,
260,
29920,
29922,
2230,
8028,
29889,
329,
29883,
29897,
13,
13,
9651,
822,
304,
29918,
9346,
287,
2554,
29898,
1311,
29897,
1599,
5335,
287,
2554,
29901,
13,
18884,
736,
5335,
287,
2554,
29898,
23128,
29922,
8172,
29889,
9502,
524,
29898,
29900,
29892,
29871,
29947,
29953,
29946,
29900,
29900,
876,
13,
632,
13,
9651,
822,
4770,
524,
12035,
1311,
29897,
1599,
938,
29901,
13,
18884,
736,
4036,
29889,
9502,
524,
29898,
29900,
29892,
29871,
29896,
29900,
29897,
13,
13,
9651,
822,
4770,
7411,
12035,
1311,
29897,
1599,
5785,
29901,
13,
18884,
736,
4036,
29889,
8172,
580,
13,
13,
9651,
822,
4770,
19676,
12035,
1311,
29897,
1599,
4280,
29901,
13,
18884,
736,
4280,
29898,
8172,
29889,
8172,
3285,
4036,
29889,
8172,
3101,
13,
13,
9651,
822,
4770,
710,
12035,
1311,
29897,
1599,
851,
29901,
13,
18884,
736,
18460,
29898,
8172,
29889,
9502,
524,
29898,
29900,
29892,
29871,
29906,
29953,
29897,
718,
4356,
703,
29874,
5783,
13,
13,
9651,
822,
4770,
11227,
12035,
1311,
29897,
1599,
6120,
29901,
13,
18884,
736,
6120,
29898,
8172,
29889,
9502,
524,
29898,
29900,
29892,
29871,
29896,
876,
13,
13,
4706,
2159,
353,
29871,
29941,
13,
4706,
1067,
29879,
29889,
5464,
29918,
4384,
519,
29918,
12650,
353,
518,
12283,
15738,
519,
2061,
580,
363,
903,
297,
3464,
29898,
2311,
4638,
13,
4706,
1067,
29879,
29889,
4384,
519,
29918,
12650,
353,
518,
15738,
519,
2061,
580,
363,
903,
297,
3464,
29898,
2311,
4638,
13,
4706,
1067,
29879,
29889,
29876,
2873,
353,
518,
8516,
363,
903,
297,
3464,
29898,
2311,
4638,
13,
4706,
1067,
29879,
29889,
1054,
29918,
978,
353,
376,
12650,
29908,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
3318,
29918,
517,
29918,
16031,
29898,
1311,
1125,
13,
4706,
1209,
13,
4706,
396,
12020,
2216,
1888,
2037,
287,
2392,
580,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
3318,
29918,
517,
29918,
7411,
29898,
1311,
1125,
13,
4706,
1209,
13,
4706,
396,
12020,
2216,
1888,
2037,
287,
2392,
580,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
3318,
29918,
517,
29918,
19676,
29898,
1311,
1125,
13,
4706,
1209,
13,
4706,
396,
12020,
2216,
1888,
2037,
287,
2392,
580,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
3318,
29918,
517,
29918,
1807,
29898,
1311,
1125,
13,
4706,
1209,
13,
4706,
396,
12020,
2216,
1888,
2037,
287,
2392,
580,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
3318,
29918,
517,
29918,
20054,
29898,
1311,
1125,
13,
4706,
1209,
13,
4706,
396,
12020,
2216,
1888,
2037,
287,
2392,
580,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
3318,
29918,
517,
29918,
12673,
29898,
1311,
1125,
13,
4706,
1209,
13,
4706,
396,
12020,
2216,
1888,
2037,
287,
2392,
580,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
3318,
29918,
517,
29918,
9346,
287,
2554,
29898,
1311,
1125,
13,
4706,
1209,
13,
4706,
396,
12020,
2216,
1888,
2037,
287,
2392,
580,
13,
13,
1678,
822,
1243,
29918,
1111,
261,
346,
29918,
3166,
29918,
3318,
29918,
517,
29918,
3318,
29898,
1311,
1125,
13,
4706,
1209,
13,
4706,
396,
12020,
2216,
1888,
2037,
287,
2392,
580,
13,
13,
13,
13,
1678,
396,
822,
1243,
29918,
3198,
29918,
29881,
8768,
29918,
12673,
29918,
29885,
11925,
29918,
2230,
29920,
2873,
29898,
1311,
1125,
13,
1678,
396,
268,
1243,
29918,
2176,
353,
10518,
29889,
17271,
3319,
29908,
16394,
1115,
518,
12673,
29889,
3707,
29898,
2230,
8028,
29889,
329,
29883,
511,
13,
1678,
396,
462,
462,
965,
12865,
29889,
3707,
580,
29962,
1800,
13,
1678,
396,
268,
1583,
29889,
9294,
5574,
29898,
3198,
29918,
29881,
8768,
29898,
1688,
29918,
2176,
29892,
14334,
29922,
12673,
876,
13,
13,
1678,
396,
822,
1243,
29918,
1111,
261,
346,
29918,
29881,
8768,
29918,
11022,
1191,
2222,
29918,
2704,
29898,
1311,
1125,
13,
1678,
396,
268,
12301,
1199,
353,
518,
29873,
17255,
978,
1649,
565,
338,
8758,
29898,
29873,
29892,
1134,
29897,
1683,
851,
29898,
29873,
29897,
13,
1678,
396,
18884,
363,
260,
297,
16884,
29909,
6227,
6181,
29918,
12972,
29979,
29925,
2890,
29962,
13,
1678,
396,
268,
4589,
29918,
7645,
353,
313,
29888,
29908,
29961,
4130,
271,
4003,
29889,
16202,
29889,
1111,
261,
346,
29918,
29881,
8768,
29962,
421,
1111,
261,
346,
29918,
29881,
8768,
29952,
1818,
367,
376,
13,
1678,
396,
18884,
285,
29908,
11569,
12504,
411,
472,
3203,
697,
13553,
2980,
10417,
263,
376,
13,
1678,
396,
18884,
285,
29908,
4914,
297,
421,
1272,
29952,
304,
385,
23489,
848,
1134,
29901,
376,
13,
1678,
396,
18884,
285,
29908,
29912,
23583,
29898,
8678,
1199,
2915,
1159,
13,
1678,
396,
268,
411,
1583,
29889,
9294,
29934,
1759,
267,
29898,
7944,
2392,
29897,
408,
4589,
29901,
13,
1678,
396,
308,
1302,
261,
346,
29918,
29881,
8768,
29898,
1311,
29889,
1217,
29918,
1056,
29897,
13,
1678,
396,
268,
1583,
29889,
9294,
9843,
29898,
710,
29898,
3127,
29889,
11739,
511,
4589,
29918,
7645,
29897,
13,
13,
1678,
396,
822,
1243,
29918,
1111,
261,
346,
29918,
29881,
8768,
29918,
19290,
29918,
1217,
29918,
1056,
29918,
1217,
29918,
12523,
29898,
1311,
1125,
13,
1678,
396,
268,
363,
784,
29918,
978,
29892,
3806,
297,
1583,
29889,
535,
26100,
29889,
7076,
7295,
13,
1678,
396,
308,
363,
7602,
297,
3806,
29901,
13,
1678,
396,
632,
1302,
261,
346,
29918,
29881,
8768,
29898,
1311,
29889,
1217,
29918,
1056,
29892,
3579,
29912,
1054,
29918,
978,
29901,
7602,
1800,
13,
13,
1678,
396,
822,
1243,
29918,
1111,
261,
346,
29918,
29881,
8768,
29918,
19290,
29918,
2541,
29918,
1056,
29918,
1217,
29918,
12523,
29898,
1311,
1125,
13,
1678,
396,
268,
363,
784,
29918,
978,
29892,
3806,
297,
1583,
29889,
535,
26100,
29889,
7076,
7295,
13,
1678,
396,
308,
363,
7602,
297,
3806,
29901,
13,
1678,
396,
632,
1302,
261,
346,
29918,
29881,
8768,
29898,
1311,
29889,
2541,
29918,
1056,
29892,
3579,
29912,
1054,
29918,
978,
29901,
7602,
1800,
13,
13,
1678,
396,
822,
1243,
29918,
1111,
261,
346,
29918,
29881,
8768,
29918,
20317,
29918,
3198,
29918,
29881,
8768,
29898,
1311,
1125,
13,
1678,
396,
268,
396,
910,
947,
451,
664,
363,
1302,
6269,
291,
304,
529,
1990,
525,
3318,
11041,
1363,
310,
278,
13,
1678,
396,
268,
396,
18428,
3588,
29918,
29881,
8768,
580,
4331,
310,
1423,
29918,
29881,
8768,
29889,
29871,
4525,
4341,
674,
13,
1678,
396,
268,
396,
2337,
367,
2253,
9875,
491,
777,
916,
848,
1134,
29892,
6521,
372,
471,
13,
1678,
396,
268,
396,
385,
1203,
304,
3380,
411,
29889,
13,
1678,
396,
268,
363,
784,
29918,
978,
29892,
3806,
297,
1583,
29889,
535,
26100,
29889,
7076,
7295,
13,
1678,
396,
308,
363,
7602,
297,
3806,
29901,
13,
1678,
396,
632,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
1311,
29889,
1217,
29918,
1056,
29892,
3579,
29912,
1054,
29918,
978,
29901,
7602,
1800,
13,
1678,
396,
632,
1055,
29918,
2914,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
1311,
29889,
2541,
29918,
1056,
29892,
3579,
29912,
1054,
29918,
978,
29901,
7602,
1800,
13,
1678,
396,
632,
1423,
29918,
2914,
353,
1423,
29918,
29881,
8768,
29898,
2914,
29892,
3579,
29912,
1054,
29918,
978,
29901,
7602,
1800,
13,
1678,
396,
632,
1423,
29918,
1056,
29918,
2914,
353,
1423,
29918,
29881,
8768,
29898,
1056,
29918,
2914,
29892,
3579,
29912,
1054,
29918,
978,
29901,
7602,
1800,
13,
1678,
396,
632,
565,
7602,
2804,
1203,
29901,
13,
1678,
396,
462,
1018,
29901,
13,
1678,
396,
462,
268,
1583,
29889,
9294,
5574,
29898,
3198,
29918,
2914,
29897,
13,
1678,
396,
462,
268,
1583,
29889,
9294,
5574,
29898,
3198,
29918,
1056,
29918,
2914,
29897,
13,
1678,
396,
462,
5174,
16499,
291,
2392,
408,
5566,
29901,
13,
1678,
396,
462,
268,
4589,
29918,
7645,
353,
313,
29888,
29908,
1054,
29918,
978,
29901,
426,
276,
558,
29898,
1054,
29918,
978,
19230,
4072,
3135,
29901,
376,
13,
1678,
396,
462,
632,
285,
29908,
29912,
20580,
1118,
3806,
29901,
426,
9684,
27195,
13,
1678,
396,
462,
268,
12020,
16499,
291,
2392,
29898,
3127,
29918,
7645,
29897,
515,
5566,
13,
13,
1678,
396,
822,
1243,
29918,
1111,
261,
346,
29918,
29881,
8768,
29918,
18280,
29918,
8552,
29898,
1311,
1125,
13,
1678,
396,
268,
1121,
353,
1302,
261,
346,
29918,
29881,
8768,
29898,
1311,
29889,
2541,
29918,
1056,
29892,
263,
29922,
7411,
29897,
13,
1678,
396,
268,
1583,
29889,
9294,
3664,
9843,
29898,
1761,
29898,
2914,
29889,
29881,
8768,
511,
1051,
29898,
1311,
29889,
2541,
29918,
1056,
29889,
29881,
8768,
876,
13,
13,
1678,
396,
822,
1243,
29918,
1111,
261,
346,
29918,
29881,
8768,
29918,
12673,
29918,
4569,
20098,
29918,
2230,
8028,
29898,
1311,
1125,
13,
1678,
396,
268,
12020,
2216,
1888,
2037,
287,
2392,
580,
13,
13,
13,
361,
4770,
978,
1649,
1275,
376,
1649,
3396,
1649,
1115,
13,
1678,
443,
27958,
29889,
3396,
580,
2
] |
helper_functions_class.py | lucaschatham/lambdata | 0 | 14078 | <reponame>lucaschatham/lambdata<filename>helper_functions_class.py
"""
Here are two different functions used for common data cleaning tasks.
You can use these functions to load data into a pandas Dataframe.
"""
import numpy as np
import pandas as pd
from sklearn.utils import shuffle
class CleanData:
def __init__(self):
"""
This init function instantiates objects
"""
return
# This function randomizes variables
def randomize(self, df, seed):
random_this = shuffle(df,random_state=seed)
return random_this
# This function determines if there are missing values in the specified DataFrame
def null_count(self, df):
num_nulls = df.isnull().sum().sum()
return num_nulls
| [
1,
529,
276,
1112,
420,
29958,
29880,
1682,
294,
305,
493,
314,
29914,
29880,
1117,
1272,
29966,
9507,
29958,
20907,
29918,
12171,
29918,
1990,
29889,
2272,
13,
15945,
29908,
13,
10605,
526,
1023,
1422,
3168,
1304,
363,
3619,
848,
5941,
292,
9595,
29889,
29871,
13,
3492,
508,
671,
1438,
3168,
304,
2254,
848,
964,
263,
11701,
3630,
2557,
29889,
13,
15945,
29908,
13,
13,
5215,
12655,
408,
7442,
13,
5215,
11701,
408,
10518,
13,
3166,
2071,
19668,
29889,
13239,
1053,
528,
21897,
13,
13,
13,
13,
770,
315,
14044,
1469,
29901,
3986,
13,
1678,
822,
4770,
2344,
12035,
1311,
1125,
13,
4706,
9995,
13,
4706,
910,
2069,
740,
13213,
1078,
3618,
13,
4706,
9995,
13,
4706,
736,
13,
13,
13,
396,
910,
740,
4036,
7093,
3651,
13,
1678,
822,
4036,
675,
29898,
1311,
29892,
4489,
29892,
16717,
1125,
13,
4706,
4036,
29918,
1366,
353,
528,
21897,
29898,
2176,
29892,
8172,
29918,
3859,
29922,
26776,
29897,
13,
4706,
736,
4036,
29918,
1366,
13,
13,
13,
29937,
910,
740,
3683,
1475,
565,
727,
526,
4567,
1819,
297,
278,
6790,
3630,
4308,
1678,
13,
1678,
822,
1870,
29918,
2798,
29898,
1311,
29892,
4489,
1125,
13,
4706,
954,
29918,
4304,
29879,
353,
4489,
29889,
275,
4304,
2141,
2083,
2141,
2083,
580,
13,
4706,
736,
954,
29918,
4304,
29879,
13,
13,
2
] |
resources/lib/database_tv.py | bradyemerson/plugin.video.showtimeanytime | 0 | 22285 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os.path
from datetime import date, datetime
from sqlite3 import dbapi2 as sqlite
from bs4 import BeautifulSoup
import simplejson as json
import xbmcvfs
import xbmcgui
import common
import connection
import database_common as db_common
def create():
c = _database.cursor()
c.execute('''CREATE TABLE series
(series_id INTEGER PRIMARY KEY,
title TEXT,
title_sort TEXT,
plot TEXT,
directors TEXT,
actors TEXT,
thumb TEXT,
total_seasons INTEGER,
total_episodes INTEGER,
favor BOOLEAN DEFAULT 0,
in_last_update BOOLEAN DEFAULT 1,
last_updated timestamp);''')
c.execute('''CREATE TABLE season
(season_id INTEGER PRIMARY KEY,
season_no INTEGER,
series_id INTEGER,
plot TEXT,
FOREIGN KEY(series_id) REFERENCES series(series_id) ON DELETE CASCADE);''')
c.execute('''CREATE TABLE episode
(episode_id INTEGER PRIMARY KEY,
season_id INTEGER,
episode_no INTEGER,
title TEXT,
title_sort TEXT,
plot TEXT,
duration INTEGER,
year INTEGER,
studio TEXT,
mpaa TEXT,
advisories TEXT,
aired_date timestamp,
thumb TEXT,
play_count INTEGER DEFAULT 0,
FOREIGN KEY(season_id) REFERENCES season(season_id) ON DELETE CASCADE);''')
_database.commit()
c.close()
def insert_series(series_id, title=None, title_sort=None, plot=None, directors=None, actors=None, thumb=None,
total_seasons=None, total_episodes=None):
c = _database.cursor()
c.execute('''INSERT OR REPLACE INTO series (
series_id,
title,
title_sort,
plot,
directors,
actors,
thumb,
total_seasons,
total_episodes,
favor,
in_last_update,
last_updated) VALUES (
:series_id,
:title,
:title_sort,
:plot,
:directors,
:actors,
:thumb,
:total_seasons,
:total_episodes,
(SELECT favor FROM series WHERE series_id = :series_id),
:in_last_update,
(SELECT last_updated FROM series WHERE series_id = :series_id))''', {
'series_id': series_id,
'title': title,
'title_sort': title_sort,
'plot': plot,
'directors': directors,
'actors': actors,
'thumb': thumb,
'total_seasons': total_seasons,
'total_episodes': total_episodes,
'in_last_update': True
})
_database.commit()
c.close()
def insert_season(series_id, season_no, plot=None):
c = _database.cursor()
row = lookup_season(series_id=series_id, season_no=season_no, fields='season_id').fetchone()
if row:
c.execute('''UPDATE season SET plot = :plot WHERE season_id = :season_id''', {
'season_id': row['season_id'],
'plot': plot
})
else:
c.execute('''INSERT INTO season (series_id, season_no, plot) VALUES (
:series_id,
:season_no,
:plot
)''', {
'series_id': series_id,
'season_no': season_no,
'plot': plot
})
_database.commit()
c.close()
def insert_episode(episode_id, season_id, episode_no=None, title=None, title_sort=None, plot=None,
duration=None, year=None, studio=None, mpaa=None, advisories=None, aired_date=None, thumb=None):
c = _database.cursor()
c.execute('''INSERT OR REPLACE INTO episode (
episode_id,
season_id,
episode_no,
title,
title_sort,
plot,
duration,
year,
studio,
mpaa,
advisories,
aired_date,
thumb,
play_count) VALUES (
:episode_id,
:season_id,
:episode_no,
:title,
:title_sort,
:plot,
:duration,
:year,
:studio,
:mpaa,
:advisories,
:aired_date,
:thumb,
COALESCE((SELECT play_count FROM episode WHERE episode_id = :episode_id), 0))''', {
'episode_id': episode_id,
'season_id': season_id,
'episode_no': episode_no,
'title': title,
'title_sort': title_sort,
'plot': plot,
'duration': duration,
'year': year,
'studio': studio,
'mpaa': mpaa,
'advisories': advisories,
'aired_date': aired_date,
'thumb': thumb
})
_database.commit()
c.close()
def lookup_series(content_id, fields='*'):
c = _database.cursor()
return c.execute('SELECT DISTINCT {0} FROM series WHERE series_id = (?)'.format(fields), (content_id,))
def lookup_season(season_id=None, series_id=None, season_no=None, fields='*'):
c = _database.cursor()
if season_id:
return c.execute('SELECT {0} FROM season WHERE season_id = (?)'.format(fields), (season_id,))
elif series_id and season_no:
return c.execute('SELECT {0} FROM season WHERE series_id = (?) AND season_no = (?)'.format(fields),
(series_id, season_no))
def lookup_episode(content_id):
c = _database.cursor()
return c.execute('SELECT DISTINCT * FROM episode WHERE episode_id = (?)', (content_id,))
def delete_series(content_id):
c = _database.cursor()
c.execute('DELETE FROM series WHERE series_id = (?)', (content_id,))
c.close()
def watch_episode(content_id):
# TODO make this actually increment
c = _database.cursor()
c.execute("UPDATE episode SET play_count = play_count + 1 WHERE episode_id = (?)", (content_id,))
_database.commit()
c.close()
return c.rowcount
def unwatch_episode(content_id):
c = _database.cursor()
c.execute("UPDATE episode SET play_count=? WHERE episode_id = (?)", (0, content_id))
_database.commit()
c.close()
return c.rowcount
def favor_series(content_id):
c = _database.cursor()
c.execute("UPDATE series SET favor=? WHERE series_id=?", (True, content_id))
_database.commit()
c.close()
return c.rowcount
def unfavor_series(content_id):
c = _database.cursor()
c.execute("UPDATE series SET favor=? WHERE series_id=?", (False, content_id))
_database.commit()
c.close()
return c.rowcount
def get_series(directorfilter=False, watchedfilter=False, favorfilter=False, actorfilter=False,
alphafilter=False, studiofilter=False):
c = _database.cursor()
if actorfilter:
actorfilter = '%' + actorfilter + '%'
return c.execute('SELECT DISTINCT * FROM series WHERE actors LIKE (?)',
(actorfilter,))
elif directorfilter:
return c.execute('SELECT DISTINCT * FROM series WHERE directors LIKE (?)',
(directorfilter,))
elif studiofilter:
return c.execute('SELECT DISTINCT * FROM series WHERE studio = (?)', (studiofilter,))
elif watchedfilter:
return c.execute('SELECT DISTINCT * FROM series WHERE playcount > 0')
elif favorfilter:
return c.execute('SELECT DISTINCT * FROM series WHERE favor = 1')
elif alphafilter:
return c.execute('SELECT DISTINCT * FROM series WHERE title REGEXP (?)',
(alphafilter + '*',))
else:
return c.execute('SELECT DISTINCT * FROM series')
def get_series_season_count(series_id):
c = _database.cursor()
row = c.execute('''SELECT MAX(sea.content_id) AS total_seasons
FROM season AS sea
JOIN series AS ser ON ser.content_id = sea.series_content_id
WHERE ser.content_id = (?)
GROUP BY ser.content_id''', (series_id,)).fetchone()
c.close()
if row:
return row['total_seasons']
else:
return 0
def get_series_episode_count(series_id, filter=None):
c = _database.cursor()
if filter == 'watched':
row = c.execute('''SELECT COUNT(e.episode_id) AS total_episodes
FROM episode AS e
JOIN season AS sea ON sea.season_id = e.season_id
JOIN series AS ser ON ser.series_id = sea.series_id
WHERE ser.series_id = (?) AND e.play_count > 0
GROUP BY ser.series_id''', (series_id,)).fetchone()
else:
row = c.execute('''SELECT COUNT(e.episode_id) AS total_episodes
FROM episode AS e
JOIN season AS sea ON sea.season_id = e.season_id
JOIN series AS ser ON ser.series_id = sea.series_id
WHERE ser.series_id = (?)
GROUP BY ser.series_id''', (series_id,)).fetchone()
c.close()
if row:
return row['total_episodes']
else:
return 0
def get_series_year(series_id):
c = _database.cursor()
row = c.execute('''SELECT e.year FROM episode AS e
JOIN season AS sea ON sea.season_id = e.season_id
JOIN series AS ser ON ser.series_id = sea.series_id
WHERE ser.series_id = (?)
ORDER BY e.year ASC LIMIT 1''', (series_id,)).fetchone()
c.close()
if row:
return row['year']
else:
return None
def _update_series_last_update(series_id, time=datetime.now()):
c = _database.cursor()
c.execute('UPDATE series SET last_updated = :last_update WHERE series_id = :series_id', {
'last_update': time,
'series_id': series_id
})
c.close()
def get_seasons(series_id):
c = _database.cursor()
return c.execute('''SELECT DISTINCT sea.*,ser.title AS series_title
FROM season AS sea
JOIN series AS ser ON ser.series_id = sea.series_id
WHERE ser.series_id = (?)''', (series_id,))
def get_season_episode_count(season_id, filter=None):
c = _database.cursor()
if filter == 'watched':
row = c.execute('''SELECT COUNT(e.episode_id) AS total_episodes
FROM episode AS e
JOIN season AS sea ON sea.season_id = e.season_id
WHERE sea.season_id = (?) AND e.play_count > 0
GROUP BY sea.season_id''', (season_id,)).fetchone()
else:
row = c.execute('''SELECT COUNT(e.episode_id) AS total_episodes
FROM episode AS e
JOIN season AS sea ON sea.season_id = e.season_id
WHERE sea.season_id = (?)
GROUP BY sea.season_id''', (season_id,)).fetchone()
c.close()
if row:
return row['total_episodes']
else:
return 0
def get_season_year(season_id):
c = _database.cursor()
row = c.execute('''SELECT e.year FROM episode AS e
JOIN season AS sea ON sea.season_id = e.season_id
WHERE sea.season_id = (?)
ORDER BY e.year ASC LIMIT 1''', (season_id,)).fetchone()
c.close()
if row:
return row['year']
else:
return None
def get_episodes(season_id):
c = _database.cursor()
return c.execute('''SELECT DISTINCT e.*, sea.season_no AS season_no, ser.title AS series_title, ser.series_id AS series_id
FROM episode AS e
JOIN season AS sea ON sea.season_id = e.season_id
JOIN series AS ser ON ser.series_id = sea.series_id
WHERE e.season_id = (?)''', (season_id,))
def get_types(col):
c = _database.cursor()
items = c.execute('select distinct %s from series' % col)
list = []
for data in items:
data = data[0]
if type(data) == type(str()):
if 'Rated' in data:
item = data.split('for')[0]
if item not in list and item <> '' and item <> 0 and item <> 'Inc.' and item <> 'LLC.':
list.append(item)
else:
data = data.decode('utf-8').encode('utf-8').split(',')
for item in data:
item = item.replace('& ', '').strip()
if item not in list and item <> '' and item <> 0 and item <> 'Inc.' and item <> 'LLC.':
list.append(item)
elif data <> 0:
if data is not None:
list.append(str(data))
c.close()
return list
def update_tv(force=False):
# Check if we've recently updated and skip
if not force and not _needs_update():
return
dialog = xbmcgui.DialogProgress()
dialog.create('Refreshing TV Database')
dialog.update(0, 'Initializing TV Scan')
xml_series_url = '{0}/tve/xml/category?categoryid=101'.format(db_common.API_DOMAIN)
data = connection.get_url(xml_series_url)
soup = BeautifulSoup(data)
series_list = soup.find('subcategory', recursive=False).find('series', recursive=False).find_all('series', recursive=False)
# Mark all series as unfound. This will be updated as we go through
c = _database.cursor()
c.execute("UPDATE series SET in_last_update = 0")
_database.commit()
c.close()
total = len(series_list)
count = 0
for series in series_list:
count += 1
dialog.update(0, 'Scanned {0} of {1} TV series'.format(count, total))
print 'series: '
print series
series_json_url = '{0}/api/series/{1}'.format(db_common.API_DOMAIN, series['seriesid'])
json_data = json.loads(connection.get_url(series_json_url))
series_id = series['seriesid']
title = common.string_unicode(json_data['name'])
title_sort = common.string_unicode(json_data['sortName'])
plot = common.string_unicode(json_data['description']['long'])
total_seasons = json_data['totalSeasons']
total_episodes = json_data['totalEpisodes']
thumb = None
for image in series.find_all('Image'):
if image['width'] == '1920' and image['height'] == '1080':
thumb = image.find('url').string
break
insert_series(series_id, title, title_sort, plot, None, None, thumb, total_seasons, total_episodes)
# Season Children
if 'seasons' in json_data:
_json_process_seasons(json_data['seasons'], series_id)
_set_last_update()
# Remove unfound movies
c = _database.cursor()
c.execute("DELETE FROM series WHERE in_last_update = 0")
c.close()
def _json_process_seasons(season_data, series_id):
for season in season_data:
insert_season(series_id, season['seasonNum'], season['description']['long'])
def update_series(series_id, force=False):
# Check for new episodes every 12 hours
row = lookup_series(series_id, 'last_updated').fetchone()
if force is False and row['last_updated']:
last_update = common.parse_date(row['last_updated'], '%Y-%m-%d %H:%M:%S.%f')
if (datetime.now() - last_update).seconds < 43200:
# No update needed
return
xml_series_url = '{0}/tve/xml/series?seriesid={1}'.format(db_common.API_DOMAIN, series_id)
data = connection.get_url(xml_series_url)
series = BeautifulSoup(data).find('series', recursive=False)
for episode in series.find_all('title', attrs={'type': 'Episode'}):
episode_id = episode['titleid']
title = common.string_unicode(episode.find('title', recursive=False).string)
title_sort = common.string_unicode(episode.find('sorttitle', recursive=False).string)
plot = common.string_unicode(episode.find('description', recursive=False).string)
year = episode.find('releaseyear', recursive=False).string
duration = episode.find('duration', recursive=False).string
mpaa = episode.find('rating', recursive=False).string
advisories = episode.find('advisories', recursive=False).string
air_date = None
try:
air_date = common.parse_date(episode.find('originalairdate', recursive=False).string, '%m/%d/%Y %I:%M%p')
except:
pass
thumb = None
for image in episode.find_all('image'):
if image['width'] == '866' and image['height'] == '487':
thumb = image.find('url').string
break
series_tag = episode.find('series', recursive=False)
episode_no = series_tag['episode']
season_no = series_tag['season']
season = lookup_season(series_id=series_id, season_no=season_no, fields='season_id').fetchone()
if not season:
insert_season(series_tag['seriesid'], season_no)
season = lookup_season(series_id=series_id, season_no=season_no, fields='season_id').fetchone()
season_id = season['season_id']
insert_episode(episode_id, season_id, episode_no, title, title_sort, plot, duration, year, None,
mpaa, advisories, air_date, thumb)
_update_series_last_update(series_id)
def _needs_update():
# Update every 15 days
if 'last_update' in _database_meta:
last_update = common.parse_date(_database_meta['last_update'], '%Y-%m-%d')
return (date.today() - last_update.date()).days > 15
return True
def _set_last_update():
_database_meta['last_update'] = date.today().strftime('%Y-%m-%d')
_write_meta_file()
def _write_meta_file():
f = open(DB_META_FILE, 'w')
json.dump(_database_meta, f)
f.close()
DB_META_FILE = os.path.join(common.__addonprofile__, 'tv.meta')
_database_meta = False
if xbmcvfs.exists(DB_META_FILE):
f = open(DB_META_FILE, 'r')
_database_meta = json.load(f)
f.close()
else:
_database_meta = {}
DB_FILE = os.path.join(common.__addonprofile__, 'tv.db')
if not xbmcvfs.exists(DB_FILE):
_database = sqlite.connect(DB_FILE)
_database.text_factory = str
_database.row_factory = sqlite.Row
create()
else:
_database = sqlite.connect(DB_FILE)
_database.text_factory = str
_database.row_factory = sqlite.Row
| [
1,
18787,
4855,
29914,
2109,
29914,
6272,
3017,
13,
29937,
448,
29930,
29899,
14137,
29901,
23616,
29899,
29947,
448,
29930,
29899,
13,
5215,
2897,
29889,
2084,
13,
3166,
12865,
1053,
2635,
29892,
12865,
13,
3166,
21120,
29941,
1053,
4833,
2754,
29906,
408,
21120,
13,
3166,
24512,
29946,
1053,
25685,
29903,
1132,
13,
13,
5215,
2560,
3126,
408,
4390,
13,
13,
5215,
921,
5838,
11023,
5847,
13,
5215,
921,
5838,
29883,
23569,
13,
5215,
3619,
13,
5215,
3957,
13,
5215,
2566,
29918,
9435,
408,
4833,
29918,
9435,
13,
13,
13,
1753,
1653,
7295,
13,
1678,
274,
353,
903,
9803,
29889,
18127,
580,
13,
1678,
274,
29889,
7978,
877,
4907,
27045,
10911,
3652,
13,
18884,
313,
13757,
29918,
333,
2672,
4330,
17070,
29778,
14636,
29892,
13,
462,
3611,
323,
12194,
29892,
13,
462,
3611,
29918,
6605,
323,
12194,
29892,
13,
462,
6492,
323,
12194,
29892,
13,
462,
1513,
943,
323,
12194,
29892,
13,
462,
29701,
323,
12194,
29892,
13,
462,
28968,
323,
12194,
29892,
13,
462,
3001,
29918,
344,
7040,
2672,
4330,
17070,
29892,
13,
462,
3001,
29918,
1022,
275,
2631,
2672,
4330,
17070,
29892,
13,
462,
7853,
16437,
29949,
1307,
2190,
22236,
29871,
29900,
29892,
13,
462,
297,
29918,
4230,
29918,
5504,
16437,
29949,
1307,
2190,
22236,
29871,
29896,
29892,
13,
462,
1833,
29918,
21402,
14334,
416,
4907,
1495,
13,
13,
1678,
274,
29889,
7978,
877,
4907,
27045,
10911,
4259,
13,
18884,
313,
25682,
29918,
333,
2672,
4330,
17070,
29778,
14636,
29892,
13,
462,
4259,
29918,
1217,
2672,
4330,
17070,
29892,
13,
462,
3652,
29918,
333,
2672,
4330,
17070,
29892,
13,
462,
6492,
323,
12194,
29892,
13,
462,
18322,
1525,
17298,
14636,
29898,
13757,
29918,
333,
29897,
5195,
29943,
1001,
1430,
27266,
3652,
29898,
13757,
29918,
333,
29897,
6732,
5012,
18476,
315,
3289,
5454,
2287,
416,
4907,
1495,
13,
13,
1678,
274,
29889,
7978,
877,
4907,
27045,
10911,
12720,
13,
18884,
313,
1022,
275,
356,
29918,
333,
2672,
4330,
17070,
29778,
14636,
29892,
13,
462,
4259,
29918,
333,
2672,
4330,
17070,
29892,
13,
462,
12720,
29918,
1217,
2672,
4330,
17070,
29892,
13,
462,
3611,
323,
12194,
29892,
13,
462,
3611,
29918,
6605,
323,
12194,
29892,
13,
462,
6492,
323,
12194,
29892,
13,
462,
14385,
2672,
4330,
17070,
29892,
13,
462,
1629,
2672,
4330,
17070,
29892,
13,
462,
8693,
323,
12194,
29892,
13,
462,
286,
3274,
29874,
323,
12194,
29892,
13,
462,
25228,
3842,
323,
12194,
29892,
13,
462,
263,
2859,
29918,
1256,
14334,
29892,
13,
462,
28968,
323,
12194,
29892,
13,
462,
1708,
29918,
2798,
2672,
4330,
17070,
22236,
29871,
29900,
29892,
13,
462,
18322,
1525,
17298,
14636,
29898,
25682,
29918,
333,
29897,
5195,
29943,
1001,
1430,
27266,
4259,
29898,
25682,
29918,
333,
29897,
6732,
5012,
18476,
315,
3289,
5454,
2287,
416,
4907,
1495,
13,
13,
1678,
903,
9803,
29889,
15060,
580,
13,
1678,
274,
29889,
5358,
580,
13,
13,
13,
1753,
4635,
29918,
13757,
29898,
13757,
29918,
333,
29892,
3611,
29922,
8516,
29892,
3611,
29918,
6605,
29922,
8516,
29892,
6492,
29922,
8516,
29892,
1513,
943,
29922,
8516,
29892,
29701,
29922,
8516,
29892,
28968,
29922,
8516,
29892,
13,
462,
29871,
3001,
29918,
344,
7040,
29922,
8516,
29892,
3001,
29918,
1022,
275,
2631,
29922,
8516,
1125,
13,
1678,
274,
353,
903,
9803,
29889,
18127,
580,
13,
13,
1678,
274,
29889,
7978,
877,
4907,
19460,
6323,
5195,
7390,
11538,
11646,
3652,
313,
13,
462,
3652,
29918,
333,
29892,
13,
462,
3611,
29892,
13,
462,
3611,
29918,
6605,
29892,
13,
462,
6492,
29892,
13,
462,
1513,
943,
29892,
13,
462,
29701,
29892,
13,
462,
28968,
29892,
13,
462,
3001,
29918,
344,
7040,
29892,
13,
462,
3001,
29918,
1022,
275,
2631,
29892,
13,
462,
7853,
29892,
13,
462,
297,
29918,
4230,
29918,
5504,
29892,
13,
462,
1833,
29918,
21402,
29897,
15673,
313,
13,
462,
584,
13757,
29918,
333,
29892,
13,
462,
584,
3257,
29892,
13,
462,
584,
3257,
29918,
6605,
29892,
13,
462,
584,
5317,
29892,
13,
462,
584,
11851,
943,
29892,
13,
462,
584,
627,
943,
29892,
13,
462,
584,
386,
3774,
29892,
13,
462,
584,
7827,
29918,
344,
7040,
29892,
13,
462,
584,
7827,
29918,
1022,
275,
2631,
29892,
13,
462,
313,
6404,
7853,
3895,
3652,
5754,
3652,
29918,
333,
353,
584,
13757,
29918,
333,
511,
13,
462,
584,
262,
29918,
4230,
29918,
5504,
29892,
13,
462,
313,
6404,
1833,
29918,
21402,
3895,
3652,
5754,
3652,
29918,
333,
353,
584,
13757,
29918,
333,
876,
4907,
742,
426,
13,
4706,
525,
13757,
29918,
333,
2396,
3652,
29918,
333,
29892,
13,
4706,
525,
3257,
2396,
3611,
29892,
13,
4706,
525,
3257,
29918,
6605,
2396,
3611,
29918,
6605,
29892,
13,
4706,
525,
5317,
2396,
6492,
29892,
13,
4706,
525,
11851,
943,
2396,
1513,
943,
29892,
13,
4706,
525,
627,
943,
2396,
29701,
29892,
13,
4706,
525,
386,
3774,
2396,
28968,
29892,
13,
4706,
525,
7827,
29918,
344,
7040,
2396,
3001,
29918,
344,
7040,
29892,
13,
4706,
525,
7827,
29918,
1022,
275,
2631,
2396,
3001,
29918,
1022,
275,
2631,
29892,
13,
4706,
525,
262,
29918,
4230,
29918,
5504,
2396,
5852,
13,
1678,
5615,
13,
1678,
903,
9803,
29889,
15060,
580,
13,
1678,
274,
29889,
5358,
580,
13,
13,
13,
1753,
4635,
29918,
25682,
29898,
13757,
29918,
333,
29892,
4259,
29918,
1217,
29892,
6492,
29922,
8516,
1125,
13,
1678,
274,
353,
903,
9803,
29889,
18127,
580,
13,
1678,
1948,
353,
16280,
29918,
25682,
29898,
13757,
29918,
333,
29922,
13757,
29918,
333,
29892,
4259,
29918,
1217,
29922,
25682,
29918,
1217,
29892,
4235,
2433,
25682,
29918,
333,
2824,
9155,
650,
580,
13,
1678,
565,
1948,
29901,
13,
4706,
274,
29889,
7978,
877,
4907,
14474,
4259,
11368,
6492,
353,
584,
5317,
5754,
4259,
29918,
333,
353,
584,
25682,
29918,
333,
4907,
742,
426,
13,
9651,
525,
25682,
29918,
333,
2396,
1948,
1839,
25682,
29918,
333,
7464,
13,
9651,
525,
5317,
2396,
6492,
13,
4706,
5615,
13,
1678,
1683,
29901,
13,
4706,
274,
29889,
7978,
877,
4907,
19460,
11646,
4259,
313,
13757,
29918,
333,
29892,
4259,
29918,
1217,
29892,
6492,
29897,
15673,
313,
13,
9651,
584,
13757,
29918,
333,
29892,
13,
9651,
584,
25682,
29918,
1217,
29892,
13,
9651,
584,
5317,
13,
3986,
1723,
4907,
742,
426,
13,
9651,
525,
13757,
29918,
333,
2396,
3652,
29918,
333,
29892,
13,
9651,
525,
25682,
29918,
1217,
2396,
4259,
29918,
1217,
29892,
13,
9651,
525,
5317,
2396,
6492,
13,
4706,
5615,
13,
13,
1678,
903,
9803,
29889,
15060,
580,
13,
1678,
274,
29889,
5358,
580,
13,
13,
13,
1753,
4635,
29918,
1022,
275,
356,
29898,
1022,
275,
356,
29918,
333,
29892,
4259,
29918,
333,
29892,
12720,
29918,
1217,
29922,
8516,
29892,
3611,
29922,
8516,
29892,
3611,
29918,
6605,
29922,
8516,
29892,
6492,
29922,
8516,
29892,
13,
462,
259,
14385,
29922,
8516,
29892,
1629,
29922,
8516,
29892,
8693,
29922,
8516,
29892,
286,
3274,
29874,
29922,
8516,
29892,
25228,
3842,
29922,
8516,
29892,
263,
2859,
29918,
1256,
29922,
8516,
29892,
28968,
29922,
8516,
1125,
13,
1678,
274,
353,
903,
9803,
29889,
18127,
580,
13,
13,
1678,
274,
29889,
7978,
877,
4907,
19460,
6323,
5195,
7390,
11538,
11646,
12720,
313,
13,
462,
12720,
29918,
333,
29892,
13,
462,
4259,
29918,
333,
29892,
13,
462,
12720,
29918,
1217,
29892,
13,
462,
3611,
29892,
13,
462,
3611,
29918,
6605,
29892,
13,
462,
6492,
29892,
13,
462,
14385,
29892,
13,
462,
1629,
29892,
13,
462,
8693,
29892,
13,
462,
286,
3274,
29874,
29892,
13,
462,
25228,
3842,
29892,
13,
462,
263,
2859,
29918,
1256,
29892,
13,
462,
28968,
29892,
13,
462,
1708,
29918,
2798,
29897,
15673,
313,
13,
462,
584,
1022,
275,
356,
29918,
333,
29892,
13,
462,
584,
25682,
29918,
333,
29892,
13,
462,
584,
1022,
275,
356,
29918,
1217,
29892,
13,
462,
584,
3257,
29892,
13,
462,
584,
3257,
29918,
6605,
29892,
13,
462,
584,
5317,
29892,
13,
462,
584,
19708,
29892,
13,
462,
584,
6360,
29892,
13,
462,
584,
12073,
29892,
13,
462,
584,
1526,
7340,
29892,
13,
462,
584,
328,
1730,
3842,
29892,
13,
462,
584,
29874,
2859,
29918,
1256,
29892,
13,
462,
584,
386,
3774,
29892,
13,
462,
4810,
29909,
17101,
4741,
3552,
6404,
1708,
29918,
2798,
3895,
12720,
5754,
12720,
29918,
333,
353,
584,
1022,
275,
356,
29918,
333,
511,
29871,
29900,
876,
4907,
742,
426,
13,
4706,
525,
1022,
275,
356,
29918,
333,
2396,
12720,
29918,
333,
29892,
13,
4706,
525,
25682,
29918,
333,
2396,
4259,
29918,
333,
29892,
13,
4706,
525,
1022,
275,
356,
29918,
1217,
2396,
12720,
29918,
1217,
29892,
13,
4706,
525,
3257,
2396,
3611,
29892,
13,
4706,
525,
3257,
29918,
6605,
2396,
3611,
29918,
6605,
29892,
13,
4706,
525,
5317,
2396,
6492,
29892,
13,
4706,
525,
19708,
2396,
14385,
29892,
13,
4706,
525,
6360,
2396,
1629,
29892,
13,
4706,
525,
12073,
2396,
8693,
29892,
13,
4706,
525,
1526,
7340,
2396,
286,
3274,
29874,
29892,
13,
4706,
525,
328,
1730,
3842,
2396,
25228,
3842,
29892,
13,
4706,
525,
29874,
2859,
29918,
1256,
2396,
263,
2859,
29918,
1256,
29892,
13,
4706,
525,
386,
3774,
2396,
28968,
13,
1678,
5615,
13,
1678,
903,
9803,
29889,
15060,
580,
13,
1678,
274,
29889,
5358,
580,
13,
13,
13,
1753,
16280,
29918,
13757,
29898,
3051,
29918,
333,
29892,
4235,
2433,
29930,
29374,
13,
1678,
274,
353,
903,
9803,
29889,
18127,
580,
13,
1678,
736,
274,
29889,
7978,
877,
6404,
360,
9047,
28852,
426,
29900,
29913,
3895,
3652,
5754,
3652,
29918,
333,
353,
313,
7897,
4286,
4830,
29898,
9621,
511,
313,
3051,
29918,
333,
29892,
876,
13,
13,
13,
1753,
16280,
29918,
25682,
29898,
25682,
29918,
333,
29922,
8516,
29892,
3652,
29918,
333,
29922,
8516,
29892,
4259,
29918,
1217,
29922,
8516,
29892,
4235,
2433,
29930,
29374,
13,
1678,
274,
353,
903,
9803,
29889,
18127,
580,
13,
1678,
565,
4259,
29918,
333,
29901,
13,
4706,
736,
274,
29889,
7978,
877,
6404,
426,
29900,
29913,
3895,
4259,
5754,
4259,
29918,
333,
353,
313,
7897,
4286,
4830,
29898,
9621,
511,
313,
25682,
29918,
333,
29892,
876,
13,
1678,
25342,
3652,
29918,
333,
322,
4259,
29918,
1217,
29901,
13,
4706,
736,
274,
29889,
7978,
877,
6404,
426,
29900,
29913,
3895,
4259,
5754,
3652,
29918,
333,
353,
313,
7897,
5300,
4259,
29918,
1217,
353,
313,
7897,
4286,
4830,
29898,
9621,
511,
13,
462,
308,
313,
13757,
29918,
333,
29892,
4259,
29918,
1217,
876,
13,
13,
13,
1753,
16280,
29918,
1022,
275,
356,
29898,
3051,
29918,
333,
1125,
13,
1678,
274,
353,
903,
9803,
29889,
18127,
580,
13,
1678,
736,
274,
29889,
7978,
877,
6404,
360,
9047,
28852,
334,
3895,
12720,
5754,
12720,
29918,
333,
353,
313,
7897,
742,
313,
3051,
29918,
333,
29892,
876,
13,
13,
13,
1753,
5217,
29918,
13757,
29898,
3051,
29918,
333,
1125,
13,
1678,
274,
353,
903,
9803,
29889,
18127,
580,
13,
1678,
274,
29889,
7978,
877,
2287,
18476,
3895,
3652,
5754,
3652,
29918,
333,
353,
313,
7897,
742,
313,
3051,
29918,
333,
29892,
876,
13,
1678,
274,
29889,
5358,
580,
13,
13,
13,
1753,
6505,
29918,
1022,
275,
356,
29898,
3051,
29918,
333,
1125,
13,
1678,
396,
14402,
1207,
445,
2869,
11924,
13,
1678,
274,
353,
903,
9803,
29889,
18127,
580,
13,
1678,
274,
29889,
7978,
703,
14474,
12720,
11368,
1708,
29918,
2798,
353,
1708,
29918,
2798,
718,
29871,
29896,
5754,
12720,
29918,
333,
353,
313,
7897,
613,
313,
3051,
29918,
333,
29892,
876,
13,
1678,
903,
9803,
29889,
15060,
580,
13,
1678,
274,
29889,
5358,
580,
13,
1678,
736,
274,
29889,
798,
2798,
13,
13,
13,
1753,
443,
12344,
29918,
1022,
275,
356,
29898,
3051,
29918,
333,
1125,
13,
1678,
274,
353,
903,
9803,
29889,
18127,
580,
13,
1678,
274,
29889,
7978,
703,
14474,
12720,
11368,
1708,
29918,
2798,
29922,
29973,
5754,
12720,
29918,
333,
353,
313,
7897,
613,
313,
29900,
29892,
2793,
29918,
333,
876,
13,
1678,
903,
9803,
29889,
15060,
580,
13,
1678,
274,
29889,
5358,
580,
13,
1678,
736,
274,
29889,
798,
2798,
13,
13,
13,
1753,
7853,
29918,
13757,
29898,
3051,
29918,
333,
1125,
13,
1678,
274,
353,
903,
9803,
29889,
18127,
580,
13,
1678,
274,
29889,
7978,
703,
14474,
3652,
11368,
7853,
29922,
29973,
5754,
3652,
29918,
333,
29922,
29973,
613,
313,
5574,
29892,
2793,
29918,
333,
876,
13,
1678,
903,
9803,
29889,
15060,
580,
13,
1678,
274,
29889,
5358,
580,
13,
1678,
736,
274,
29889,
798,
2798,
13,
13,
13,
1753,
29395,
17118,
29918,
13757,
29898,
3051,
29918,
333,
1125,
13,
1678,
274,
353,
903,
9803,
29889,
18127,
580,
13,
1678,
274,
29889,
7978,
703,
14474,
3652,
11368,
7853,
29922,
29973,
5754,
3652,
29918,
333,
29922,
29973,
613,
313,
8824,
29892,
2793,
29918,
333,
876,
13,
1678,
903,
9803,
29889,
15060,
580,
13,
1678,
274,
29889,
5358,
580,
13,
1678,
736,
274,
29889,
798,
2798,
13,
13,
13,
1753,
679,
29918,
13757,
29898,
11851,
272,
4572,
29922,
8824,
29892,
20654,
4572,
29922,
8824,
29892,
7853,
4572,
29922,
8824,
29892,
11339,
4572,
29922,
8824,
29892,
13,
1669,
15595,
4572,
29922,
8824,
29892,
8693,
4572,
29922,
8824,
1125,
13,
1678,
274,
353,
903,
9803,
29889,
18127,
580,
13,
1678,
565,
11339,
4572,
29901,
13,
4706,
11339,
4572,
353,
14210,
29915,
718,
11339,
4572,
718,
14210,
29915,
13,
4706,
736,
274,
29889,
7978,
877,
6404,
360,
9047,
28852,
334,
3895,
3652,
5754,
29701,
22962,
313,
7897,
742,
13,
462,
308,
313,
7168,
4572,
29892,
876,
13,
1678,
25342,
8881,
4572,
29901,
13,
4706,
736,
274,
29889,
7978,
877,
6404,
360,
9047,
28852,
334,
3895,
3652,
5754,
1513,
943,
22962,
313,
7897,
742,
13,
462,
308,
313,
11851,
272,
4572,
29892,
876,
13,
1678,
25342,
8693,
4572,
29901,
13,
4706,
736,
274,
29889,
7978,
877,
6404,
360,
9047,
28852,
334,
3895,
3652,
5754,
8693,
353,
313,
7897,
742,
313,
12073,
4572,
29892,
876,
13,
1678,
25342,
20654,
4572,
29901,
13,
4706,
736,
274,
29889,
7978,
877,
6404,
360,
9047,
28852,
334,
3895,
3652,
5754,
1708,
2798,
1405,
29871,
29900,
1495,
13,
1678,
25342,
7853,
4572,
29901,
13,
4706,
736,
274,
29889,
7978,
877,
6404,
360,
9047,
28852,
334,
3895,
3652,
5754,
7853,
353,
29871,
29896,
1495,
13,
1678,
25342,
15595,
4572,
29901,
13,
4706,
736,
274,
29889,
7978,
877,
6404,
360,
9047,
28852,
334,
3895,
3652,
5754,
3611,
5195,
1692,
29990,
29925,
313,
7897,
742,
13,
462,
308,
313,
2312,
4572,
718,
525,
29930,
742,
876,
13,
1678,
1683,
29901,
13,
4706,
736,
274,
29889,
7978,
877,
6404,
360,
9047,
28852,
334,
3895,
3652,
1495,
13,
13,
13,
1753,
679,
29918,
13757,
29918,
25682,
29918,
2798,
29898,
13757,
29918,
333,
1125,
13,
1678,
274,
353,
903,
9803,
29889,
18127,
580,
13,
1678,
1948,
353,
274,
29889,
7978,
877,
4907,
6404,
18134,
29898,
344,
29874,
29889,
3051,
29918,
333,
29897,
3339,
3001,
29918,
344,
7040,
13,
3986,
3895,
4259,
3339,
7205,
13,
3986,
8780,
3652,
3339,
724,
6732,
724,
29889,
3051,
29918,
333,
353,
7205,
29889,
13757,
29918,
3051,
29918,
333,
13,
3986,
5754,
724,
29889,
3051,
29918,
333,
353,
313,
7897,
13,
3986,
15345,
6770,
724,
29889,
3051,
29918,
333,
4907,
742,
313,
13757,
29918,
333,
29892,
8106,
9155,
650,
580,
13,
1678,
274,
29889,
5358,
580,
13,
1678,
565,
1948,
29901,
13,
4706,
736,
1948,
1839,
7827,
29918,
344,
7040,
2033,
13,
1678,
1683,
29901,
13,
4706,
736,
29871,
29900,
13,
13,
13,
1753,
679,
29918,
13757,
29918,
1022,
275,
356,
29918,
2798,
29898,
13757,
29918,
333,
29892,
4175,
29922,
8516,
1125,
13,
1678,
274,
353,
903,
9803,
29889,
18127,
580,
13,
1678,
565,
4175,
1275,
525,
12344,
287,
2396,
13,
4706,
1948,
353,
274,
29889,
7978,
877,
4907,
6404,
21122,
29898,
29872,
29889,
1022,
275,
356,
29918,
333,
29897,
3339,
3001,
29918,
1022,
275,
2631,
13,
795,
3895,
12720,
3339,
321,
13,
795,
8780,
4259,
3339,
7205,
6732,
7205,
29889,
25682,
29918,
333,
353,
321,
29889,
25682,
29918,
333,
13,
795,
8780,
3652,
3339,
724,
6732,
724,
29889,
13757,
29918,
333,
353,
7205,
29889,
13757,
29918,
333,
13,
795,
5754,
724,
29889,
13757,
29918,
333,
353,
313,
7897,
5300,
321,
29889,
1456,
29918,
2798,
1405,
29871,
29900,
13,
795,
15345,
6770,
724,
29889,
13757,
29918,
333,
4907,
742,
313,
13757,
29918,
333,
29892,
8106,
9155,
650,
580,
13,
1678,
1683,
29901,
13,
4706,
1948,
353,
274,
29889,
7978,
877,
4907,
6404,
21122,
29898,
29872,
29889,
1022,
275,
356,
29918,
333,
29897,
3339,
3001,
29918,
1022,
275,
2631,
13,
795,
3895,
12720,
3339,
321,
13,
795,
8780,
4259,
3339,
7205,
6732,
7205,
29889,
25682,
29918,
333,
353,
321,
29889,
25682,
29918,
333,
13,
795,
8780,
3652,
3339,
724,
6732,
724,
29889,
13757,
29918,
333,
353,
7205,
29889,
13757,
29918,
333,
13,
795,
5754,
724,
29889,
13757,
29918,
333,
353,
313,
7897,
13,
795,
15345,
6770,
724,
29889,
13757,
29918,
333,
4907,
742,
313,
13757,
29918,
333,
29892,
8106,
9155,
650,
580,
13,
1678,
274,
29889,
5358,
580,
13,
1678,
565,
1948,
29901,
13,
4706,
736,
1948,
1839,
7827,
29918,
1022,
275,
2631,
2033,
13,
1678,
1683,
29901,
13,
4706,
736,
29871,
29900,
13,
13,
13,
1753,
679,
29918,
13757,
29918,
6360,
29898,
13757,
29918,
333,
1125,
13,
1678,
274,
353,
903,
9803,
29889,
18127,
580,
13,
1678,
1948,
353,
274,
29889,
7978,
877,
4907,
6404,
321,
29889,
6360,
3895,
12720,
3339,
321,
13,
462,
29871,
8780,
4259,
3339,
7205,
6732,
7205,
29889,
25682,
29918,
333,
353,
321,
29889,
25682,
29918,
333,
13,
462,
29871,
8780,
3652,
3339,
724,
6732,
724,
29889,
13757,
29918,
333,
353,
7205,
29889,
13757,
29918,
333,
13,
462,
29871,
5754,
724,
29889,
13757,
29918,
333,
353,
313,
7897,
13,
462,
29871,
15606,
6770,
321,
29889,
6360,
18188,
27848,
29871,
29896,
4907,
742,
313,
13757,
29918,
333,
29892,
8106,
9155,
650,
580,
13,
1678,
274,
29889,
5358,
580,
13,
1678,
565,
1948,
29901,
13,
4706,
736,
1948,
1839,
6360,
2033,
13,
1678,
1683,
29901,
13,
4706,
736,
6213,
13,
13,
13,
1753,
903,
5504,
29918,
13757,
29918,
4230,
29918,
5504,
29898,
13757,
29918,
333,
29892,
931,
29922,
12673,
29889,
3707,
580,
1125,
13,
1678,
274,
353,
903,
9803,
29889,
18127,
580,
13,
1678,
274,
29889,
7978,
877,
14474,
3652,
11368,
1833,
29918,
21402,
353,
584,
4230,
29918,
5504,
5754,
3652,
29918,
333,
353,
584,
13757,
29918,
333,
742,
426,
13,
4706,
525,
4230,
29918,
5504,
2396,
931,
29892,
13,
4706,
525,
13757,
29918,
333,
2396,
3652,
29918,
333,
13,
1678,
5615,
13,
1678,
274,
29889,
5358,
580,
13,
13,
13,
1753,
679,
29918,
344,
7040,
29898,
13757,
29918,
333,
1125,
13,
1678,
274,
353,
903,
9803,
29889,
18127,
580,
13,
1678,
736,
274,
29889,
7978,
877,
4907,
6404,
360,
9047,
28852,
7205,
5575,
29892,
643,
29889,
3257,
3339,
3652,
29918,
3257,
13,
462,
4706,
3895,
4259,
3339,
7205,
13,
462,
4706,
8780,
3652,
3339,
724,
6732,
724,
29889,
13757,
29918,
333,
353,
7205,
29889,
13757,
29918,
333,
13,
462,
4706,
5754,
724,
29889,
13757,
29918,
333,
353,
313,
7897,
4907,
742,
313,
13757,
29918,
333,
29892,
876,
13,
13,
13,
1753,
679,
29918,
25682,
29918,
1022,
275,
356,
29918,
2798,
29898,
25682,
29918,
333,
29892,
4175,
29922,
8516,
1125,
13,
1678,
274,
353,
903,
9803,
29889,
18127,
580,
13,
1678,
565,
4175,
1275,
525,
12344,
287,
2396,
13,
4706,
1948,
353,
274,
29889,
7978,
877,
4907,
6404,
21122,
29898,
29872,
29889,
1022,
275,
356,
29918,
333,
29897,
3339,
3001,
29918,
1022,
275,
2631,
13,
9651,
3895,
12720,
3339,
321,
13,
9651,
8780,
4259,
3339,
7205,
6732,
7205,
29889,
25682,
29918,
333,
353,
321,
29889,
25682,
29918,
333,
13,
9651,
5754,
7205,
29889,
25682,
29918,
333,
353,
313,
7897,
5300,
321,
29889,
1456,
29918,
2798,
1405,
29871,
29900,
13,
9651,
15345,
6770,
7205,
29889,
25682,
29918,
333,
4907,
742,
313,
25682,
29918,
333,
29892,
8106,
9155,
650,
580,
13,
1678,
1683,
29901,
13,
4706,
1948,
353,
274,
29889,
7978,
877,
4907,
6404,
21122,
29898,
29872,
29889,
1022,
275,
356,
29918,
333,
29897,
3339,
3001,
29918,
1022,
275,
2631,
13,
9651,
3895,
12720,
3339,
321,
13,
9651,
8780,
4259,
3339,
7205,
6732,
7205,
29889,
25682,
29918,
333,
353,
321,
29889,
25682,
29918,
333,
13,
9651,
5754,
7205,
29889,
25682,
29918,
333,
353,
313,
7897,
13,
9651,
15345,
6770,
7205,
29889,
25682,
29918,
333,
4907,
742,
313,
25682,
29918,
333,
29892,
8106,
9155,
650,
580,
13,
1678,
274,
29889,
5358,
580,
13,
1678,
565,
1948,
29901,
13,
4706,
736,
1948,
1839,
7827,
29918,
1022,
275,
2631,
2033,
13,
1678,
1683,
29901,
13,
4706,
736,
29871,
29900,
13,
13,
13,
1753,
679,
29918,
25682,
29918,
6360,
29898,
25682,
29918,
333,
1125,
13,
1678,
274,
353,
903,
9803,
29889,
18127,
580,
13,
1678,
1948,
353,
274,
29889,
7978,
877,
4907,
6404,
321,
29889,
6360,
3895,
12720,
3339,
321,
13,
4706,
8780,
4259,
3339,
7205,
6732,
7205,
29889,
25682,
29918,
333,
353,
321,
29889,
25682,
29918,
333,
13,
4706,
5754,
7205,
29889,
25682,
29918,
333,
353,
313,
7897,
13,
4706,
15606,
6770,
321,
29889,
6360,
18188,
27848,
29871,
29896,
4907,
742,
313,
25682,
29918,
333,
29892,
8106,
9155,
650,
580,
13,
1678,
274,
29889,
5358,
580,
13,
1678,
565,
1948,
29901,
13,
4706,
736,
1948,
1839,
6360,
2033,
13,
1678,
1683,
29901,
13,
4706,
736,
6213,
13,
13,
13,
1753,
679,
29918,
1022,
275,
2631,
29898,
25682,
29918,
333,
1125,
13,
1678,
274,
353,
903,
9803,
29889,
18127,
580,
13,
1678,
736,
274,
29889,
7978,
877,
4907,
6404,
360,
9047,
28852,
321,
5575,
29892,
7205,
29889,
25682,
29918,
1217,
3339,
4259,
29918,
1217,
29892,
724,
29889,
3257,
3339,
3652,
29918,
3257,
29892,
724,
29889,
13757,
29918,
333,
3339,
3652,
29918,
333,
13,
4706,
3895,
12720,
3339,
321,
13,
4706,
8780,
4259,
3339,
7205,
6732,
7205,
29889,
25682,
29918,
333,
353,
321,
29889,
25682,
29918,
333,
13,
4706,
8780,
3652,
3339,
724,
6732,
724,
29889,
13757,
29918,
333,
353,
7205,
29889,
13757,
29918,
333,
13,
4706,
5754,
321,
29889,
25682,
29918,
333,
353,
313,
7897,
4907,
742,
313,
25682,
29918,
333,
29892,
876,
13,
13,
13,
1753,
679,
29918,
8768,
29898,
1054,
1125,
13,
1678,
274,
353,
903,
9803,
29889,
18127,
580,
13,
1678,
4452,
353,
274,
29889,
7978,
877,
2622,
8359,
1273,
29879,
515,
3652,
29915,
1273,
784,
29897,
13,
1678,
1051,
353,
5159,
13,
1678,
363,
848,
297,
4452,
29901,
13,
4706,
848,
353,
848,
29961,
29900,
29962,
13,
4706,
565,
1134,
29898,
1272,
29897,
1275,
1134,
29898,
710,
580,
1125,
13,
9651,
565,
525,
29934,
630,
29915,
297,
848,
29901,
13,
18884,
2944,
353,
848,
29889,
5451,
877,
1454,
29861,
29900,
29962,
13,
18884,
565,
2944,
451,
297,
1051,
322,
2944,
15271,
6629,
322,
2944,
15271,
29871,
29900,
322,
2944,
15271,
525,
797,
29883,
6169,
322,
2944,
15271,
525,
2208,
29907,
29889,
2396,
13,
462,
1678,
1051,
29889,
4397,
29898,
667,
29897,
13,
9651,
1683,
29901,
13,
18884,
848,
353,
848,
29889,
13808,
877,
9420,
29899,
29947,
2824,
12508,
877,
9420,
29899,
29947,
2824,
5451,
29317,
1495,
13,
18884,
363,
2944,
297,
848,
29901,
13,
462,
1678,
2944,
353,
2944,
29889,
6506,
877,
29987,
13420,
525,
2824,
17010,
580,
13,
462,
1678,
565,
2944,
451,
297,
1051,
322,
2944,
15271,
6629,
322,
2944,
15271,
29871,
29900,
322,
2944,
15271,
525,
797,
29883,
6169,
322,
2944,
15271,
525,
2208,
29907,
29889,
2396,
13,
462,
4706,
1051,
29889,
4397,
29898,
667,
29897,
13,
4706,
25342,
848,
15271,
29871,
29900,
29901,
13,
9651,
565,
848,
338,
451,
6213,
29901,
13,
18884,
1051,
29889,
4397,
29898,
710,
29898,
1272,
876,
13,
1678,
274,
29889,
5358,
580,
13,
1678,
736,
1051,
13,
13,
13,
1753,
2767,
29918,
12427,
29898,
10118,
29922,
8824,
1125,
13,
1678,
396,
5399,
565,
591,
29915,
345,
10325,
4784,
322,
14383,
13,
1678,
565,
451,
4889,
322,
451,
903,
484,
5779,
29918,
5504,
7295,
13,
4706,
736,
13,
13,
1678,
7928,
353,
921,
5838,
29883,
23569,
29889,
7647,
14470,
580,
13,
1678,
7928,
29889,
3258,
877,
5620,
690,
2790,
5648,
5470,
1495,
13,
1678,
7928,
29889,
5504,
29898,
29900,
29892,
525,
15514,
5281,
5648,
2522,
273,
1495,
13,
13,
1678,
4903,
29918,
13757,
29918,
2271,
353,
22372,
29900,
6822,
29873,
345,
29914,
3134,
29914,
7320,
29973,
7320,
333,
29922,
29896,
29900,
29896,
4286,
4830,
29898,
2585,
29918,
9435,
29889,
8787,
29918,
3970,
29032,
29897,
13,
1678,
848,
353,
3957,
29889,
657,
29918,
2271,
29898,
3134,
29918,
13757,
29918,
2271,
29897,
13,
1678,
22300,
353,
25685,
29903,
1132,
29898,
1272,
29897,
13,
1678,
3652,
29918,
1761,
353,
22300,
29889,
2886,
877,
1491,
7320,
742,
16732,
29922,
8824,
467,
2886,
877,
13757,
742,
16732,
29922,
8824,
467,
2886,
29918,
497,
877,
13757,
742,
16732,
29922,
8824,
29897,
13,
13,
1678,
396,
4485,
599,
3652,
408,
443,
11940,
29889,
910,
674,
367,
4784,
408,
591,
748,
1549,
13,
1678,
274,
353,
903,
9803,
29889,
18127,
580,
13,
1678,
274,
29889,
7978,
703,
14474,
3652,
11368,
297,
29918,
4230,
29918,
5504,
353,
29871,
29900,
1159,
13,
1678,
903,
9803,
29889,
15060,
580,
13,
1678,
274,
29889,
5358,
580,
13,
13,
1678,
3001,
353,
7431,
29898,
13757,
29918,
1761,
29897,
13,
1678,
2302,
353,
29871,
29900,
13,
13,
1678,
363,
3652,
297,
3652,
29918,
1761,
29901,
13,
4706,
2302,
4619,
29871,
29896,
13,
4706,
7928,
29889,
5504,
29898,
29900,
29892,
525,
4421,
11310,
426,
29900,
29913,
310,
426,
29896,
29913,
5648,
3652,
4286,
4830,
29898,
2798,
29892,
3001,
876,
13,
13,
4706,
1596,
525,
13757,
29901,
525,
13,
4706,
1596,
3652,
13,
13,
4706,
3652,
29918,
3126,
29918,
2271,
353,
22372,
29900,
6822,
2754,
29914,
13757,
19248,
29896,
29913,
4286,
4830,
29898,
2585,
29918,
9435,
29889,
8787,
29918,
3970,
29032,
29892,
3652,
1839,
13757,
333,
11287,
13,
4706,
4390,
29918,
1272,
353,
4390,
29889,
18132,
29898,
9965,
29889,
657,
29918,
2271,
29898,
13757,
29918,
3126,
29918,
2271,
876,
13,
13,
4706,
3652,
29918,
333,
353,
3652,
1839,
13757,
333,
2033,
13,
4706,
3611,
353,
3619,
29889,
1807,
29918,
2523,
356,
29898,
3126,
29918,
1272,
1839,
978,
11287,
13,
4706,
3611,
29918,
6605,
353,
3619,
29889,
1807,
29918,
2523,
356,
29898,
3126,
29918,
1272,
1839,
6605,
1170,
11287,
13,
4706,
6492,
353,
3619,
29889,
1807,
29918,
2523,
356,
29898,
3126,
29918,
1272,
1839,
8216,
16215,
5426,
11287,
13,
4706,
3001,
29918,
344,
7040,
353,
4390,
29918,
1272,
1839,
7827,
2008,
7040,
2033,
13,
4706,
3001,
29918,
1022,
275,
2631,
353,
4390,
29918,
1272,
1839,
7827,
29923,
3334,
2631,
2033,
13,
13,
4706,
28968,
353,
6213,
13,
4706,
363,
1967,
297,
3652,
29889,
2886,
29918,
497,
877,
2940,
29374,
13,
9651,
565,
1967,
1839,
2103,
2033,
1275,
525,
29896,
29929,
29906,
29900,
29915,
322,
1967,
1839,
3545,
2033,
1275,
525,
29896,
29900,
29947,
29900,
2396,
13,
18884,
28968,
353,
1967,
29889,
2886,
877,
2271,
2824,
1807,
13,
18884,
2867,
13,
13,
4706,
4635,
29918,
13757,
29898,
13757,
29918,
333,
29892,
3611,
29892,
3611,
29918,
6605,
29892,
6492,
29892,
6213,
29892,
6213,
29892,
28968,
29892,
3001,
29918,
344,
7040,
29892,
3001,
29918,
1022,
275,
2631,
29897,
13,
13,
4706,
396,
24791,
20986,
13,
4706,
565,
525,
344,
7040,
29915,
297,
4390,
29918,
1272,
29901,
13,
9651,
903,
3126,
29918,
5014,
29918,
344,
7040,
29898,
3126,
29918,
1272,
1839,
344,
7040,
7464,
3652,
29918,
333,
29897,
13,
13,
1678,
903,
842,
29918,
4230,
29918,
5504,
580,
13,
13,
1678,
396,
15154,
443,
11940,
2351,
583,
13,
1678,
274,
353,
903,
9803,
29889,
18127,
580,
13,
1678,
274,
29889,
7978,
703,
2287,
18476,
3895,
3652,
5754,
297,
29918,
4230,
29918,
5504,
353,
29871,
29900,
1159,
13,
1678,
274,
29889,
5358,
580,
13,
13,
13,
1753,
903,
3126,
29918,
5014,
29918,
344,
7040,
29898,
25682,
29918,
1272,
29892,
3652,
29918,
333,
1125,
13,
1678,
363,
4259,
297,
4259,
29918,
1272,
29901,
13,
4706,
4635,
29918,
25682,
29898,
13757,
29918,
333,
29892,
4259,
1839,
25682,
8009,
7464,
4259,
1839,
8216,
16215,
5426,
11287,
13,
13,
13,
1753,
2767,
29918,
13757,
29898,
13757,
29918,
333,
29892,
4889,
29922,
8824,
1125,
13,
1678,
396,
5399,
363,
716,
23238,
1432,
29871,
29896,
29906,
6199,
13,
1678,
1948,
353,
16280,
29918,
13757,
29898,
13757,
29918,
333,
29892,
525,
4230,
29918,
21402,
2824,
9155,
650,
580,
13,
1678,
565,
4889,
338,
7700,
322,
1948,
1839,
4230,
29918,
21402,
2033,
29901,
13,
4706,
1833,
29918,
5504,
353,
3619,
29889,
5510,
29918,
1256,
29898,
798,
1839,
4230,
29918,
21402,
7464,
14210,
29979,
19222,
29885,
19222,
29881,
1273,
29950,
16664,
29924,
16664,
29903,
29889,
29995,
29888,
1495,
13,
4706,
565,
313,
12673,
29889,
3707,
580,
448,
1833,
29918,
5504,
467,
23128,
529,
29871,
29946,
29941,
29906,
29900,
29900,
29901,
13,
9651,
396,
1939,
2767,
4312,
13,
9651,
736,
13,
13,
1678,
4903,
29918,
13757,
29918,
2271,
353,
22372,
29900,
6822,
29873,
345,
29914,
3134,
29914,
13757,
29973,
13757,
333,
3790,
29896,
29913,
4286,
4830,
29898,
2585,
29918,
9435,
29889,
8787,
29918,
3970,
29032,
29892,
3652,
29918,
333,
29897,
13,
1678,
848,
353,
3957,
29889,
657,
29918,
2271,
29898,
3134,
29918,
13757,
29918,
2271,
29897,
13,
1678,
3652,
353,
25685,
29903,
1132,
29898,
1272,
467,
2886,
877,
13757,
742,
16732,
29922,
8824,
29897,
13,
13,
1678,
363,
12720,
297,
3652,
29889,
2886,
29918,
497,
877,
3257,
742,
12421,
29879,
3790,
29915,
1853,
2396,
525,
29923,
12907,
10827,
1125,
13,
4706,
12720,
29918,
333,
353,
12720,
1839,
3257,
333,
2033,
13,
4706,
3611,
353,
3619,
29889,
1807,
29918,
2523,
356,
29898,
1022,
275,
356,
29889,
2886,
877,
3257,
742,
16732,
29922,
8824,
467,
1807,
29897,
13,
4706,
3611,
29918,
6605,
353,
3619,
29889,
1807,
29918,
2523,
356,
29898,
1022,
275,
356,
29889,
2886,
877,
6605,
3257,
742,
16732,
29922,
8824,
467,
1807,
29897,
13,
4706,
6492,
353,
3619,
29889,
1807,
29918,
2523,
356,
29898,
1022,
275,
356,
29889,
2886,
877,
8216,
742,
16732,
29922,
8824,
467,
1807,
29897,
13,
4706,
1629,
353,
12720,
29889,
2886,
877,
14096,
6360,
742,
16732,
29922,
8824,
467,
1807,
13,
4706,
14385,
353,
12720,
29889,
2886,
877,
19708,
742,
16732,
29922,
8824,
467,
1807,
13,
4706,
286,
3274,
29874,
353,
12720,
29889,
2886,
877,
29741,
742,
16732,
29922,
8824,
467,
1807,
13,
4706,
25228,
3842,
353,
12720,
29889,
2886,
877,
328,
1730,
3842,
742,
16732,
29922,
8824,
467,
1807,
13,
13,
4706,
4799,
29918,
1256,
353,
6213,
13,
4706,
1018,
29901,
13,
9651,
4799,
29918,
1256,
353,
3619,
29889,
5510,
29918,
1256,
29898,
1022,
275,
356,
29889,
2886,
877,
13492,
1466,
1256,
742,
16732,
29922,
8824,
467,
1807,
29892,
14210,
29885,
22584,
29881,
22584,
29979,
1273,
29902,
16664,
29924,
29995,
29886,
1495,
13,
4706,
5174,
29901,
13,
9651,
1209,
13,
13,
4706,
28968,
353,
6213,
13,
4706,
363,
1967,
297,
12720,
29889,
2886,
29918,
497,
877,
3027,
29374,
13,
9651,
565,
1967,
1839,
2103,
2033,
1275,
525,
29947,
29953,
29953,
29915,
322,
1967,
1839,
3545,
2033,
1275,
525,
29946,
29947,
29955,
2396,
13,
18884,
28968,
353,
1967,
29889,
2886,
877,
2271,
2824,
1807,
13,
18884,
2867,
13,
13,
4706,
3652,
29918,
4039,
353,
12720,
29889,
2886,
877,
13757,
742,
16732,
29922,
8824,
29897,
13,
4706,
12720,
29918,
1217,
353,
3652,
29918,
4039,
1839,
1022,
275,
356,
2033,
13,
4706,
4259,
29918,
1217,
353,
3652,
29918,
4039,
1839,
25682,
2033,
13,
4706,
4259,
353,
16280,
29918,
25682,
29898,
13757,
29918,
333,
29922,
13757,
29918,
333,
29892,
4259,
29918,
1217,
29922,
25682,
29918,
1217,
29892,
4235,
2433,
25682,
29918,
333,
2824,
9155,
650,
580,
13,
4706,
565,
451,
4259,
29901,
13,
9651,
4635,
29918,
25682,
29898,
13757,
29918,
4039,
1839,
13757,
333,
7464,
4259,
29918,
1217,
29897,
13,
9651,
4259,
353,
16280,
29918,
25682,
29898,
13757,
29918,
333,
29922,
13757,
29918,
333,
29892,
4259,
29918,
1217,
29922,
25682,
29918,
1217,
29892,
4235,
2433,
25682,
29918,
333,
2824,
9155,
650,
580,
13,
13,
4706,
4259,
29918,
333,
353,
4259,
1839,
25682,
29918,
333,
2033,
13,
13,
4706,
4635,
29918,
1022,
275,
356,
29898,
1022,
275,
356,
29918,
333,
29892,
4259,
29918,
333,
29892,
12720,
29918,
1217,
29892,
3611,
29892,
3611,
29918,
6605,
29892,
6492,
29892,
14385,
29892,
1629,
29892,
6213,
29892,
13,
462,
539,
286,
3274,
29874,
29892,
25228,
3842,
29892,
4799,
29918,
1256,
29892,
28968,
29897,
13,
13,
1678,
903,
5504,
29918,
13757,
29918,
4230,
29918,
5504,
29898,
13757,
29918,
333,
29897,
13,
13,
13,
1753,
903,
484,
5779,
29918,
5504,
7295,
13,
1678,
396,
10318,
1432,
29871,
29896,
29945,
3841,
13,
1678,
565,
525,
4230,
29918,
5504,
29915,
297,
903,
9803,
29918,
7299,
29901,
13,
4706,
1833,
29918,
5504,
353,
3619,
29889,
5510,
29918,
1256,
7373,
9803,
29918,
7299,
1839,
4230,
29918,
5504,
7464,
14210,
29979,
19222,
29885,
19222,
29881,
1495,
13,
4706,
736,
313,
1256,
29889,
27765,
580,
448,
1833,
29918,
5504,
29889,
1256,
16655,
16700,
1405,
29871,
29896,
29945,
13,
13,
1678,
736,
5852,
13,
13,
13,
1753,
903,
842,
29918,
4230,
29918,
5504,
7295,
13,
1678,
903,
9803,
29918,
7299,
1839,
4230,
29918,
5504,
2033,
353,
2635,
29889,
27765,
2141,
710,
615,
603,
877,
29995,
29979,
19222,
29885,
19222,
29881,
1495,
13,
1678,
903,
3539,
29918,
7299,
29918,
1445,
580,
13,
13,
13,
1753,
903,
3539,
29918,
7299,
29918,
1445,
7295,
13,
1678,
285,
353,
1722,
29898,
4051,
29918,
2303,
6040,
29918,
7724,
29892,
525,
29893,
1495,
13,
1678,
4390,
29889,
15070,
7373,
9803,
29918,
7299,
29892,
285,
29897,
13,
1678,
285,
29889,
5358,
580,
13,
13,
13,
4051,
29918,
2303,
6040,
29918,
7724,
353,
2897,
29889,
2084,
29889,
7122,
29898,
9435,
17255,
1202,
265,
10185,
1649,
29892,
525,
12427,
29889,
7299,
1495,
13,
29918,
9803,
29918,
7299,
353,
7700,
13,
361,
921,
5838,
11023,
5847,
29889,
9933,
29898,
4051,
29918,
2303,
6040,
29918,
7724,
1125,
13,
1678,
285,
353,
1722,
29898,
4051,
29918,
2303,
6040,
29918,
7724,
29892,
525,
29878,
1495,
13,
1678,
903,
9803,
29918,
7299,
353,
4390,
29889,
1359,
29898,
29888,
29897,
13,
1678,
285,
29889,
5358,
580,
13,
2870,
29901,
13,
1678,
903,
9803,
29918,
7299,
353,
6571,
13,
13,
4051,
29918,
7724,
353,
2897,
29889,
2084,
29889,
7122,
29898,
9435,
17255,
1202,
265,
10185,
1649,
29892,
525,
12427,
29889,
2585,
1495,
13,
361,
451,
921,
5838,
11023,
5847,
29889,
9933,
29898,
4051,
29918,
7724,
1125,
13,
1678,
903,
9803,
353,
21120,
29889,
6915,
29898,
4051,
29918,
7724,
29897,
13,
1678,
903,
9803,
29889,
726,
29918,
14399,
353,
851,
13,
1678,
903,
9803,
29889,
798,
29918,
14399,
353,
21120,
29889,
4301,
13,
1678,
1653,
580,
13,
2870,
29901,
13,
1678,
903,
9803,
353,
21120,
29889,
6915,
29898,
4051,
29918,
7724,
29897,
13,
1678,
903,
9803,
29889,
726,
29918,
14399,
353,
851,
13,
1678,
903,
9803,
29889,
798,
29918,
14399,
353,
21120,
29889,
4301,
13,
2
] |
emmaa/analyze_tests_results.py | pagreene/emmaa | 0 | 1616644 | <reponame>pagreene/emmaa
import logging
import jsonpickle
from collections import defaultdict
from emmaa.model import load_config_from_s3, get_model_stats, \
load_stmts_from_s3
from emmaa.model_tests import load_model_manager_from_s3
from emmaa.util import find_latest_s3_file, find_nth_latest_s3_file, \
strip_out_date, EMMAA_BUCKET_NAME, load_json_from_s3, save_json_to_s3, \
get_credentials, update_status
from indra.statements.statements import Statement
from indra.assemblers.english.assembler import EnglishAssembler
from indra.literature import pubmed_client, crossref_client, pmc_client
from indra_db import get_db
from indra_db.client.principal.curation import get_curations
from indra_db.util import unpack
logger = logging.getLogger(__name__)
CONTENT_TYPE_FUNCTION_MAPPING = {
'statements': 'get_stmt_hashes',
'applied_tests': 'get_applied_test_hashes',
'passed_tests': 'get_passed_test_hashes',
'paths': 'get_passed_test_hashes',
'raw_papers': 'get_all_raw_paper_ids',
'assembled_papers': 'get_all_assembled_paper_ids'}
TWITTER_MODEL_TYPES = {'pysb': '@PySysBio',
'pybel': '@pybelbio',
'signed_graph': 'Signed Graph',
'unsigned_graph': 'Unsigned Graph'}
class Round(object):
"""Parent class for classes analyzing one round of something (model or
tests).
Parameters
----------
date_str : str
Time when ModelManager responsible for this round was created.
Attributes
----------
function_mapping : dict
A dictionary of strings mapping a type of content to a tuple of
functions necessary to find delta for this type of content. First
function in a tuple gets a list of all hashes for a given content type,
while the second returns an English description of a given content type
for a single hash.
"""
def __init__(self, date_str):
self.date_str = date_str
self.function_mapping = CONTENT_TYPE_FUNCTION_MAPPING
@classmethod
def load_from_s3_key(cls, key):
raise NotImplementedError("Method must be implemented in child class.")
def get_english_statement(self, stmt):
ea = EnglishAssembler([stmt])
sentence = ea.make_model()
return ('', sentence, '')
def find_delta_hashes(self, other_round, content_type, **kwargs):
"""Return a dictionary of changed hashes of a given content type. This
method makes use of self.function_mapping dictionary.
Parameters
----------
other_round : emmaa.analyze_tests_results.TestRound
A different instance of a TestRound
content_type : str
A type of the content to find delta. Accepted values:
- statements
- applied_tests
- passed_tests
- paths
**kwargs : dict
For some of content types, additional arguments must be
provided sych as mc_type.
Returns
-------
hashes : dict
A dictionary containing lists of added and removed hashes of a
given content type between two test rounds.
"""
logger.info(f'Finding a hashes delta for {content_type}.')
latest_hashes = getattr(
self, self.function_mapping[content_type])(**kwargs)
logger.info(f'Found {len(latest_hashes)} hashes in current round.')
previous_hashes = getattr(
other_round,
other_round.function_mapping[content_type])(**kwargs)
logger.info(f'Found {len(previous_hashes)} hashes in other round.')
# Find hashes unique for each of the rounds - this is delta
added_hashes = list(set(latest_hashes) - set(previous_hashes))
removed_hashes = list(set(previous_hashes) - set(latest_hashes))
hashes = {'added': added_hashes, 'removed': removed_hashes}
return hashes
class ModelRound(Round):
"""Analyzes the results of one model update round.
Parameters
----------
statements : list[indra.statements.Statement]
A list of INDRA Statements used to assemble a model.
date_str : str
Time when ModelManager responsible for this round was created.
paper_ids : list(str)
A list of paper IDs used to get raw statements for this round.
paper_id_type : str
Type of paper ID used.
Attributes
----------
stmts_by_papers : dict
A dictionary mapping the paper IDs to sets of hashes of assembled
statements with evidences retrieved from these papers.
"""
def __init__(self, statements, date_str, paper_ids=None,
paper_id_type='TRID', emmaa_statements=None):
super().__init__(date_str)
self.statements = statements
self.paper_ids = paper_ids if paper_ids else []
self.paper_id_type = paper_id_type
self.emmaa_statements = emmaa_statements if emmaa_statements else []
self.stmts_by_papers = self.get_assembled_stmts_by_paper(paper_id_type)
@classmethod
def load_from_s3_key(cls, key, bucket=EMMAA_BUCKET_NAME,
load_estmts=False):
mm = load_model_manager_from_s3(key=key, bucket=bucket)
if not mm:
return
statements = mm.model.assembled_stmts
date_str = mm.date_str
try:
paper_ids = list(mm.model.paper_ids)
except AttributeError:
paper_ids = None
paper_id_type = mm.model.reading_config.get('main_id_type', 'TRID')
estmts = None
if load_estmts:
estmts, _ = load_stmts_from_s3(mm.model.name, bucket)
return cls(statements, date_str, paper_ids, paper_id_type, estmts)
def get_total_statements(self):
"""Return a total number of statements in a model."""
total = len(self.statements)
logger.info(f'An assembled model has {total} statements.')
return total
def get_stmt_hashes(self):
"""Return a list of hashes for all statements in a model."""
return [str(stmt.get_hash(refresh=True)) for stmt in self.statements]
def get_statement_types(self):
"""Return a sorted list of tuples containing a statement type and a
number of times a statement of this type occured in a model.
"""
statement_types = defaultdict(int)
logger.info('Finding a distribution of statements types.')
for stmt in self.statements:
statement_types[type(stmt).__name__] += 1
return sorted(statement_types.items(), key=lambda x: x[1], reverse=True)
def get_agent_distribution(self):
"""Return a sorted list of tuples containing an agent name and a number
of times this agent occured in statements of a model."""
logger.info('Finding agent distribution among model statements.')
agent_count = defaultdict(int)
for stmt in self.statements:
for agent in stmt.agent_list():
if agent is not None:
agent_count[agent.name] += 1
return sorted(agent_count.items(), key=lambda x: x[1], reverse=True)
def get_statements_by_evidence(self):
"""Return a sorted list of tuples containing a statement hash and a
number of times this statement occured in a model."""
stmts_evidence = {}
for stmt in self.statements:
stmts_evidence[str(stmt.get_hash(refresh=True))] = len(stmt.evidence)
logger.info('Sorting statements by evidence count.')
return sorted(stmts_evidence.items(), key=lambda x: x[1], reverse=True)
def get_english_statements_by_hash(self):
"""Return a dictionary mapping a statement and its English description."""
stmts_by_hash = {}
for stmt in self.statements:
stmts_by_hash[str(stmt.get_hash(refresh=True))] = (
self.get_english_statement(stmt))
return stmts_by_hash
def get_sources_distribution(self):
logger.info('Finding distribution of sources of statement evidences.')
sources_count = defaultdict(int)
for stmt in self.statements:
for evid in stmt.evidence:
if evid.source_api:
sources_count[evid.source_api] += 1
return sorted(sources_count.items(), key=lambda x: x[1], reverse=True)
def get_all_raw_paper_ids(self):
"""Return all paper IDs used in this round."""
return self.paper_ids
def get_number_raw_papers(self):
"""Return a total number of papers in this round."""
return len(self.paper_ids)
def get_assembled_stmts_by_paper(self, id_type='TRID'):
"""Get a mapping of paper IDs (TRID or PII) to assembled statements."""
logger.info('Mapping papers to statements')
stmts_by_papers = {}
for stmt in self.statements:
stmt_hash = stmt.get_hash()
for evid in stmt.evidence:
paper_id = None
if id_type == 'pii':
paper_id = evid.annotations.get('pii')
if evid.text_refs:
paper_id = evid.text_refs.get(id_type)
if not paper_id:
paper_id = evid.text_refs.get(id_type.lower())
if paper_id:
if paper_id in stmts_by_papers:
stmts_by_papers[paper_id].add(stmt_hash)
else:
stmts_by_papers[paper_id] = {stmt_hash}
for k, v in stmts_by_papers.items():
stmts_by_papers[k] = list(v)
return stmts_by_papers
def get_all_assembled_paper_ids(self):
return list(self.stmts_by_papers.keys())
def get_number_assembled_papers(self):
return len(self.stmts_by_papers)
def get_papers_distribution(self):
"""Return a sorted list of tuples containing a paper ID and a number
of unique statements extracted from that paper."""
logger.info('Finding paper distribution')
paper_stmt_count = {paper_id: len(stmts) for (paper_id, stmts) in
self.stmts_by_papers.items()}
return sorted(paper_stmt_count.items(), key=lambda x: x[1],
reverse=True)
def get_raw_paper_counts(self):
logger.info('Finding raw statement count per paper')
if not self.emmaa_statements:
logger.info('Did not load raw EMMAA statements')
return {}
raw_by_papers = defaultdict(int)
for estmt in self.emmaa_statements:
for evid in estmt.stmt.evidence:
paper_id = None
id_type = self.paper_id_type
if id_type == 'pii':
paper_id = evid.annotations.get('pii')
if evid.text_refs:
paper_id = evid.text_refs.get(id_type)
if not paper_id:
paper_id = evid.text_refs.get(id_type.lower())
if paper_id:
raw_by_papers[paper_id] += 1
return raw_by_papers
def get_paper_titles_and_links(self, trids):
"""Return a dictionary mapping paper IDs to their titles."""
if self.paper_id_type == 'pii':
return {}, {}
db = get_db('primary')
trs = db.select_all(db.TextRef, db.TextRef.id.in_(trids))
ref_dicts = [tr.get_ref_dict() for tr in trs]
trid_to_title = {}
trid_to_link = {}
trid_to_pmids = {}
trid_to_pmcids = {}
trid_to_dois = {}
check_in_db = []
# Map TRIDs to available PMIDs, DOIs, PMCIDs in this order
for ref_dict in ref_dicts:
if 'PMID' in ref_dict:
trid_to_pmids[ref_dict['TRID']] = ref_dict['PMID']
elif 'PMCID' in ref_dict:
trid_to_pmcids[ref_dict['TRID']] = ref_dict['PMCID']
elif 'DOI' in ref_dict:
trid_to_dois[ref_dict['TRID']] = ref_dict['DOI']
logger.info(f'From {len(trids)} TRIDs got {len(trid_to_pmids)} PMIDs,'
f' {len(trid_to_pmcids)} PMCIDs, {len(trid_to_dois)} DOIs')
# First get titles and links for available PMIDs
if trid_to_pmids:
logger.info(f'Getting titles for {len(trid_to_pmids)} PMIDs')
pmids = list(trid_to_pmids.values())
pmids_to_titles = _get_pmid_titles(pmids)
for trid, pmid in trid_to_pmids.items():
if pmid in pmids_to_titles:
trid_to_title[str(trid)] = pmids_to_titles[pmid]
else:
check_in_db.append(trid)
link = _get_publication_link(pmid, 'PMID')
trid_to_link[str(trid)] = link
# Then get titles and links for available PMCIDs
if trid_to_pmcids:
logger.info(f'Getting titles for {len(trid_to_pmcids)} PMCIDs')
for trid, pmcid in trid_to_pmcids.items():
title = _get_pmcid_title(pmcid)
if title:
trid_to_title[str(trid)] = title
else:
check_in_db.append(trid)
link = _get_publication_link(pmcid, 'PMCID')
trid_to_link[str(trid)] = link
# Then get titles and links for available DOIs
if trid_to_dois:
logger.info(f'Getting titles for {len(trid_to_dois)} DOIs')
for trid, doi in trid_to_dois.items():
title = _get_doi_title(doi)
if title:
trid_to_title[str(trid)] = title
else:
check_in_db.append(trid)
link = _get_publication_link(doi, 'DOI')
trid_to_link[str(trid)] = link
# Try getting remaining titles from db
if check_in_db:
logger.info(f'Getting titles for {len(check_in_db)} remaining '
'TRIDs from DB')
tcs = db.select_all(db.TextContent,
db.TextContent.text_ref_id.in_(check_in_db),
db.TextContent.text_type == 'title')
for tc in tcs:
title = unpack(tc.content)
trid_to_title[str(tc.text_ref_id)] = title
return trid_to_title, trid_to_link
def get_curation_stats(self):
if not self.emmaa_statements:
logger.info('Did not load raw EMMAA statements')
return
curations = get_curations()
curators_ev = defaultdict(set)
curators_stmt = defaultdict(set)
curators_ev_counts = {}
curators_stmt_counts = {}
curs_by_tags = defaultdict(int)
curs_by_hash = defaultdict(list)
cur_ev_dates = defaultdict(set)
cur_stmt_dates = defaultdict(set)
cur_ev_date_sum = []
cur_stmt_date_sum = []
for cur in curations:
curs_by_hash[cur['source_hash']].append(cur)
df = '%Y-%m-%d-00-00-00'
for estmt in self.emmaa_statements:
for ev in estmt.stmt.evidence:
source_hash = ev.get_source_hash()
curs_for_hash = curs_by_hash.get(source_hash)
if curs_for_hash:
for cur in curs_for_hash:
curators_ev[cur['curator']].add(cur['source_hash'])
curators_stmt[cur['curator']].add(cur['pa_hash'])
curs_by_tags[cur['tag']] += 1
cur_ev_dates[cur['date'].strftime(df)].add(
cur['source_hash'])
cur_stmt_dates[cur['date'].strftime(df)].add(
cur['pa_hash'])
for cur, entries in curators_ev.items():
curators_ev_counts[cur] = len(entries)
for cur, entries in curators_stmt.items():
curators_stmt_counts[cur] = len(entries)
current_ev_sum = 0
current_stmt_sum = 0
for date, entries in sorted(cur_ev_dates.items()):
current_ev_sum += len(entries)
cur_ev_date_sum.append((date, current_ev_sum))
for date, entries in sorted(cur_stmt_dates.items()):
current_stmt_sum += len(entries)
cur_stmt_date_sum.append((date, current_stmt_sum))
cur_stats = {
'curators_ev_counts': sorted(
curators_ev_counts.items(), key=lambda x: x[1], reverse=True),
'curators_stmt_counts': sorted(
curators_stmt_counts.items(), key=lambda x: x[1], reverse=True),
'curs_by_tags': sorted(
curs_by_tags.items(), key=lambda x: x[1], reverse=True),
'cur_ev_dates': cur_ev_date_sum,
'cur_stmt_dates': cur_stmt_date_sum
}
return cur_stats
class TestRound(Round):
"""Analyzes the results of one test round.
Parameters
----------
json_results : list[dict]
A list of JSON formatted dictionaries to store information about the
test results. The first dictionary contains information about the
model. Each consecutive dictionary contains information about a single
test applied to the model and test results.
date_str : str
Time when ModelManager responsible for this round was created.
Attributes
----------
mc_types_results : dict
A dictionary mapping a type of a ModelChecker to a list of test
results generated by this ModelChecker
tests : list[indra.statements.Statement]
A list of INDRA Statements used to make EMMAA tests.
english_test_results : dict
A dictionary mapping a test hash and a list containing its English
description, result in Pass/Fail/n_a form and either a path if it
was found or a result code if it was not.
"""
def __init__(self, json_results, date_str):
super().__init__(date_str)
self.json_results = json_results
mc_types = self.json_results[0].get('mc_types', ['pysb'])
self.mc_types_results = {}
for mc_type in mc_types:
self.mc_types_results[mc_type] = self._get_results(mc_type)
self.tests = self._get_tests()
self.english_test_results = self._get_applied_tests_results()
@classmethod
def load_from_s3_key(cls, key, bucket=EMMAA_BUCKET_NAME):
logger.info(f'Loading json from {key}')
json_results = load_json_from_s3(bucket, key)
date_str = json_results[0].get('date_str', strip_out_date(key))
return cls(json_results, date_str)
def get_applied_test_hashes(self):
"""Return a list of hashes for all applied tests."""
return list(self.english_test_results.keys())
def get_passed_test_hashes(self, mc_type='pysb'):
"""Return a list of hashes for passed tests."""
return [test_hash for test_hash in self.english_test_results.keys() if
self.english_test_results[test_hash][mc_type][0] == 'Pass']
def get_total_applied_tests(self):
"""Return a number of all applied tests."""
total = len(self.tests)
logger.info(f'{total} tests were applied.')
return total
def get_number_passed_tests(self, mc_type='pysb'):
"""Return a number of all passed tests."""
total = len(self.get_passed_test_hashes(mc_type))
logger.info(f'{total} tests passed.')
return total
def passed_over_total(self, mc_type='pysb'):
"""Return a ratio of passed over total tests."""
return self.get_number_passed_tests(mc_type)/self.get_total_applied_tests()
def _get_applied_tests_results(self):
"""Return a dictionary mapping a test hash and a list containing its
English description, result in Pass/Fail form and either a path if it
was found or a result code if it was not."""
tests_by_hash = {}
logger.info('Retrieving test hashes, english tests and test results.')
def get_pass_fail(res):
# Here use result.path_found because we care if the path was found
# and do not care about path length
if res.path_found:
return 'Pass'
elif res.result_code == 'STATEMENT_TYPE_NOT_HANDLED':
return 'n_a'
else:
return 'Fail'
def get_path_or_code(ix, res, mc_type):
path_or_code = None
# Here use result.paths because we care about actual path (i.e.
# we can't get a path exceeding max path length)
if res.paths:
try:
path_or_code = (
self.json_results[ix+1][mc_type]['path_json'])
# if json doesn't contain some of the fields
except KeyError:
pass
# If path wasn't found or presented in json
if not path_or_code:
try:
path_or_code = (
self.json_results[ix+1][mc_type]['result_code'])
except KeyError:
pass
# Couldn't get either path or code description from json
if not path_or_code:
path_or_code = res.result_code
return path_or_code
for ix, test in enumerate(self.tests):
test_hash = str(test.get_hash(refresh=True))
tests_by_hash[test_hash] = {
'test': self.get_english_statement(test)}
for mc_type in self.mc_types_results:
result = self.mc_types_results[mc_type][ix]
tests_by_hash[test_hash][mc_type] = [
get_pass_fail(result),
get_path_or_code(ix, result, mc_type)]
return tests_by_hash
def get_path_stmt_counts(self):
path_stmt_counts = self.json_results[0].get('path_stmt_counts')
if path_stmt_counts:
return sorted(
path_stmt_counts.items(), key=lambda x: x[1], reverse=True)
return []
def _get_results(self, mc_type):
unpickler = jsonpickle.unpickler.Unpickler()
test_results = [unpickler.restore(result[mc_type]['result_json'])
for result in self.json_results[1:]]
return test_results
def _get_tests(self):
tests = [Statement._from_json(res['test_json'])
for res in self.json_results[1:]]
return tests
class StatsGenerator(object):
"""Parent class for classes generating statistic for a given round of
tests or model update.
Parameters
----------
model_name : str
A name of a model the tests were run against.
latest_round : ModelRound or TestRound or None
An instance of a ModelRound or TestRound to generate statistics for.
If not given, will be generated by loading json from s3.
previous_round : ModelRound or TestRound or None
A different instance of a ModelRound or TestRound to find delta
between two rounds. If not given, will be generated by loading json
from s3.
previous_json_stats : dict
A JSON-formatted dictionary containing model or test statistics for
the previous round.
Attributes
----------
json_stats : dict
A JSON-formatted dictionary containing model or test statistics.
"""
def __init__(self, model_name, latest_round=None, previous_round=None,
previous_json_stats=None, bucket=EMMAA_BUCKET_NAME):
self.model_name = model_name
self.bucket = bucket
self.previous_date_str = None
if not latest_round:
self.latest_round = self._get_latest_round()
else:
self.latest_round = latest_round
if not previous_json_stats:
self.previous_json_stats = self._get_previous_json_stats()
else:
self.previous_json_stats = previous_json_stats
if not previous_round:
self.previous_round = self._get_previous_round()
else:
self.previous_round = previous_round
self.json_stats = {}
def make_changes_over_time(self):
"""Add changes to model and tests over time to json_stats."""
raise NotImplementedError("Method must be implemented in child class.")
def get_over_time(self, section, metrics, **kwargs):
raise NotImplementedError("Method must be implemented in child class.")
def get_dates(self):
if not self.previous_json_stats:
previous_dates = []
else:
previous_dates = (
self.previous_json_stats['changes_over_time']['dates'])
previous_dates.append(self.latest_round.date_str)
return previous_dates
def save_to_s3_key(self, stats_key):
if self.json_stats:
logger.info(f'Uploading statistics to {stats_key}')
save_json_to_s3(self.json_stats, self.bucket, stats_key)
def save_to_s3(self):
raise NotImplementedError("Method must be implemented in child class.")
def _get_latest_round(self):
raise NotImplementedError("Method must be implemented in child class.")
def _get_previous_round(self):
raise NotImplementedError("Method must be implemented in child class.")
def _get_previous_json_stats(self):
raise NotImplementedError("Method must be implemented in child class.")
class ModelStatsGenerator(StatsGenerator):
"""Generates statistic for a given model update round.
Parameters
----------
model_name : str
A name of a model the tests were run against.
latest_round : emmaa.analyze_tests_results.ModelRound
An instance of a ModelRound to generate statistics for. If not given,
will be generated by loading model data from s3.
previous_round : emmaa.analyze_tests_results.ModelRound
A different instance of a ModelRound to find delta between two rounds.
If not given, will be generated by loading model data from s3.
previous_json_stats : list[dict]
A JSON-formatted dictionary containing model statistics for previous
update round.
Attributes
----------
json_stats : dict
A JSON-formatted dictionary containing model statistics.
"""
def __init__(self, model_name, latest_round=None, previous_round=None,
previous_json_stats=None, bucket=EMMAA_BUCKET_NAME):
super().__init__(model_name, latest_round, previous_round,
previous_json_stats, bucket)
def make_stats(self):
"""Check if two latest model rounds were found and add statistics to
json_stats dictionary. If both latest round and previous round
were passed or found on s3, a dictionary will have three key-value
pairs: model_summary, model_delta, and changes_over_time.
"""
if not self.latest_round:
logger.info(f'Latest round for {self.model_name} is not found.')
return
if self.previous_json_stats and not self.previous_round:
logger.info(f'Latest stats are found but latest round is not.')
return
logger.info(f'Generating stats for {self.model_name}.')
self.make_model_summary()
self.make_model_delta()
self.make_paper_delta()
self.make_paper_summary()
self.make_curation_summary()
self.make_changes_over_time()
def make_model_summary(self):
"""Add latest model state summary to json_stats."""
logger.info(f'Generating model summary for {self.model_name}.')
self.json_stats['model_summary'] = {
'model_name': self.model_name,
'number_of_statements': self.latest_round.get_total_statements(),
'stmts_type_distr': self.latest_round.get_statement_types(),
'agent_distr': self.latest_round.get_agent_distribution(),
'stmts_by_evidence': self.latest_round.get_statements_by_evidence(),
'sources': self.latest_round.get_sources_distribution(),
'all_stmts': self.latest_round.get_english_statements_by_hash()
}
def make_model_delta(self):
"""Add model delta between two latest model states to json_stats."""
logger.info(f'Generating model delta for {self.model_name}.')
if not self.previous_round:
self.json_stats['model_delta'] = {
'statements_hashes_delta': {'added': [], 'removed': []}}
else:
stmts_delta = self.latest_round.find_delta_hashes(
self.previous_round, 'statements')
self.json_stats['model_delta'] = {
'statements_hashes_delta': stmts_delta}
msg = _make_twitter_msg(self.model_name, 'stmts', stmts_delta,
self.latest_round.date_str[:10])
if msg:
logger.info(msg)
def make_paper_summary(self):
"""Add latest paper summary to json_stats."""
logger.info(f'Generating model summary for {self.model_name}.')
self.json_stats['paper_summary'] = {
'raw_paper_ids': self.latest_round.get_all_raw_paper_ids(),
'number_of_raw_papers': self.latest_round.get_number_raw_papers(),
'assembled_paper_ids': (
self.latest_round.get_all_assembled_paper_ids()),
'number_of_assembled_papers': (
self.latest_round.get_number_assembled_papers()),
'stmts_by_paper': self.latest_round.stmts_by_papers,
'paper_distr': self.latest_round.get_papers_distribution(),
'raw_paper_counts': self.latest_round.get_raw_paper_counts()
}
freq_trids = [pair[0] for pair in
self.json_stats['paper_summary']['paper_distr'][:10]]
new_trids = self.json_stats['paper_delta']['raw_paper_ids_delta'][
'added']
trids = list(set(freq_trids).union(set(new_trids)))
titles, links = self.latest_round.get_paper_titles_and_links(trids)
self.json_stats['paper_summary']['paper_titles'] = titles
self.json_stats['paper_summary']['paper_links'] = links
def make_paper_delta(self):
"""Add paper delta between two latest model states to json_stats."""
logger.info(f'Generating paper delta for {self.model_name}.')
if not self.previous_round or not self.previous_round.paper_ids:
self.json_stats['paper_delta'] = {
'raw_paper_ids_delta': {'added': [], 'removed': []},
'assembled_paper_ids_delta': {'added': [], 'removed': []}}
else:
raw_paper_delta = self.latest_round.find_delta_hashes(
self.previous_round, 'raw_papers')
assembled_paper_delta = self.latest_round.find_delta_hashes(
self.previous_round, 'assembled_papers')
self.json_stats['paper_delta'] = {
'raw_paper_ids_delta': raw_paper_delta,
'assembled_paper_ids_delta': assembled_paper_delta}
logger.info(f'Read {len(raw_paper_delta["added"])} new papers.')
logger.info(f'Got assembled statements from '
f'{len(assembled_paper_delta["added"])} new papers.')
def make_curation_summary(self):
"""Add latest curation summary to json_stats."""
logger.info(f'Generating curation summary for { self.model_name}.')
cur_stats = self.latest_round.get_curation_stats()
self.json_stats['curation_summary'] = cur_stats
def make_changes_over_time(self):
"""Add changes to model over time to json_stats."""
logger.info(f'Comparing changes over time for {self.model_name}.')
self.json_stats['changes_over_time'] = {
'number_of_statements': self.get_over_time(
'model_summary', 'number_of_statements'),
'number_of_raw_papers': self.get_over_time(
'paper_summary', 'number_of_raw_papers'),
'number_of_assembled_papers': self.get_over_time(
'paper_summary', 'number_of_assembled_papers'),
'dates': self.get_dates()}
def get_over_time(self, section, metrics, mc_type='pysb'):
logger.info(f'Getting changes over time in {metrics} '
f'for {self.model_name}.')
# First available stats
if not self.previous_json_stats:
previous_data = []
else:
previous_data = (
self.previous_json_stats['changes_over_time'].get(metrics, []))
previous_data.append(self.json_stats[section][metrics])
return previous_data
def save_to_s3(self):
date_str = self.latest_round.date_str
stats_key = (
f'model_stats/{self.model_name}/model_stats_{date_str}.json')
super().save_to_s3_key(stats_key)
def _get_latest_round(self):
latest_key = find_latest_s3_file(
self.bucket, f'results/{self.model_name}/model_manager_',
extension='.pkl')
if latest_key is None:
logger.info(f'Could not find a key to the latest model manager '
f'for {self.model_name} model.')
return
logger.info(f'Loading latest round from {latest_key}')
mr = ModelRound.load_from_s3_key(latest_key, bucket=self.bucket,
load_estmts=True)
return mr
def _get_previous_round(self):
if not self.previous_json_stats:
logger.info('Not loading previous round without previous stats')
return
previous_key = (f'results/{self.model_name}/model_manager_'
f'{self.previous_date_str}.pkl')
if previous_key is None:
logger.info(f'Could not find a key to the previous model manager '
f'for {self.model_name} model.')
return
logger.info(f'Loading previous round from {previous_key}')
mr = ModelRound.load_from_s3_key(previous_key, bucket=self.bucket)
return mr
def _get_previous_json_stats(self):
key = find_latest_s3_file(
self.bucket, f'model_stats/{self.model_name}/model_stats_', '.json')
# This is the first time statistics is generated for this model
if key is None:
logger.info(f'Could not find a key to the previous statistics ')
return
# If stats for this date exists, previous stats is the second latest
if strip_out_date(key) == self.latest_round.date_str:
logger.info(f'Statistics for latest round already exists')
key = find_nth_latest_s3_file(
1, self.bucket, f'model_stats/{self.model_name}/model_stats_',
'.json')
# Store the date string to find previous round with it
self.previous_date_str = strip_out_date(key)
logger.info(f'Loading earlier statistics from {key}')
previous_json_stats = load_json_from_s3(self.bucket, key)
return previous_json_stats
class TestStatsGenerator(StatsGenerator):
"""Generates statistic for a given test round.
Parameters
----------
model_name : str
A name of a model the tests were run against.
test_corpus_str : str
A name of a test corpus the model was tested against.
latest_round : emmaa.analyze_tests_results.TestRound
An instance of a TestRound to generate statistics for. If not given,
will be generated by loading test results from s3.
previous_round : emmaa.analyze_tests_results.TestRound
A different instance of a TestRound to find delta between two rounds.
If not given, will be generated by loading test results from s3.
previous_json_stats : list[dict]
A JSON-formatted dictionary containing test statistics for previous
test round.
Attributes
----------
json_stats : dict
A JSON-formatted dictionary containing test statistics.
"""
def __init__(self, model_name, test_corpus_str='large_corpus_tests',
latest_round=None, previous_round=None,
previous_json_stats=None, bucket=EMMAA_BUCKET_NAME):
self.test_corpus = test_corpus_str
super().__init__(model_name, latest_round, previous_round,
previous_json_stats, bucket)
def make_stats(self):
"""Check if two latest test rounds were found and add statistics to
json_stats dictionary. If both latest round and previous round
were passed or found on s3, a dictionary will have three key-value
pairs: test_round_summary, tests_delta, and changes_over_time.
"""
if not self.latest_round:
logger.info(f'Latest round for {self.model_name} is not found.')
return
if self.previous_json_stats and not self.previous_round:
logger.info(f'Latest stats are found but latest round is not.')
return
logger.info(f'Generating stats for {self.model_name}.')
self.make_test_summary()
self.make_tests_delta()
self.make_changes_over_time()
def make_test_summary(self):
"""Add latest test round summary to json_stats."""
logger.info(f'Generating test summary for {self.model_name}.')
self.json_stats['test_round_summary'] = {
'test_data': self.latest_round.json_results[0].get('test_data'),
'number_applied_tests': self.latest_round.get_total_applied_tests(),
'all_test_results': self.latest_round.english_test_results,
'path_stmt_counts': self.latest_round.get_path_stmt_counts()}
for mc_type in self.latest_round.mc_types_results:
self.json_stats['test_round_summary'][mc_type] = {
'number_passed_tests': (
self.latest_round.get_number_passed_tests(mc_type)),
'passed_ratio': self.latest_round.passed_over_total(mc_type)}
def make_tests_delta(self):
"""Add tests delta between two latest test rounds to json_stats."""
logger.info(f'Generating tests delta for {self.model_name}.')
date = self.latest_round.date_str[:10]
test_name = None
test_data = self.latest_round.json_results[0].get('test_data')
if test_data:
test_name = test_data.get('name')
if not self.previous_round:
tests_delta = {
'applied_hashes_delta': {'added': [], 'removed': []}}
else:
applied_delta = self.latest_round.find_delta_hashes(
self.previous_round, 'applied_tests')
tests_delta = {
'applied_hashes_delta': applied_delta}
msg = _make_twitter_msg(
self.model_name, 'applied_tests', applied_delta, date,
test_corpus=self.test_corpus, test_name=test_name)
if msg:
logger.info(msg)
for mc_type in self.latest_round.mc_types_results:
if not self.previous_round or mc_type not in \
self.previous_round.mc_types_results:
tests_delta[mc_type] = {
'passed_hashes_delta': {'added': [], 'removed': []}}
else:
passed_delta = self.latest_round.find_delta_hashes(
self.previous_round, 'passed_tests', mc_type=mc_type)
tests_delta[mc_type] = {
'passed_hashes_delta': passed_delta}
msg = _make_twitter_msg(
self.model_name, 'passed_tests', passed_delta, date,
mc_type, test_corpus=self.test_corpus, test_name=test_name)
if msg:
logger.info(msg)
self.json_stats['tests_delta'] = tests_delta
def make_changes_over_time(self):
"""Add changes to tests over time to json_stats."""
logger.info(f'Comparing changes over time for {self.model_name}.')
self.json_stats['changes_over_time'] = {
'number_applied_tests': self.get_over_time(
'test_round_summary', 'number_applied_tests'),
'dates': self.get_dates()}
for mc_type in self.latest_round.mc_types_results:
self.json_stats['changes_over_time'][mc_type] = {
'number_passed_tests': self.get_over_time(
'test_round_summary', 'number_passed_tests', mc_type),
'passed_ratio': self.get_over_time(
'test_round_summary', 'passed_ratio', mc_type)}
def get_over_time(self, section, metrics, mc_type='pysb'):
logger.info(f'Getting changes over time in {metrics} '
f'for {self.model_name}.')
# Not mc_type relevant data
if metrics == 'number_applied_tests':
# First available stats
if not self.previous_json_stats:
previous_data = []
else:
previous_data = (
self.previous_json_stats['changes_over_time'][metrics])
previous_data.append(self.json_stats[section][metrics])
# Mc_type relevant data
else:
# First available stats
if not self.previous_json_stats:
previous_data = []
else:
# This mc_type wasn't available in previous stats
if mc_type not in \
self.previous_json_stats['changes_over_time']:
previous_data = []
else:
previous_data = (
self.previous_json_stats[
'changes_over_time'][mc_type][metrics])
previous_data.append(self.json_stats[section][mc_type][metrics])
return previous_data
def save_to_s3(self):
date_str = self.latest_round.date_str
stats_key = (f'stats/{self.model_name}/test_stats_{self.test_corpus}_'
f'{date_str}.json')
super().save_to_s3_key(stats_key)
def _get_latest_round(self):
latest_key = find_latest_s3_file(
self.bucket,
f'results/{self.model_name}/results_{self.test_corpus}',
extension='.json')
if latest_key is None:
logger.info(f'Could not find a key to the latest test results '
f'for {self.model_name} model.')
return
logger.info(f'Loading latest round from {latest_key}')
tr = TestRound.load_from_s3_key(latest_key, bucket=self.bucket)
return tr
def _get_previous_round(self):
if not self.previous_json_stats:
logger.info('Not loading previous round without previous stats')
return
previous_key = (f'results/{self.model_name}/results_{self.test_corpus}'
f'_{self.previous_date_str}.json')
if previous_key is None:
logger.info(f'Could not find a key to the previous test results '
f'for {self.model_name} model.')
return
logger.info(f'Loading previous round from {previous_key}')
tr = TestRound.load_from_s3_key(previous_key, bucket=self.bucket)
return tr
def _get_previous_json_stats(self):
key = find_latest_s3_file(
self.bucket,
f'stats/{self.model_name}/test_stats_{self.test_corpus}_', '.json')
# This is the first time statistics is generated for this model
if key is None:
logger.info(f'Could not find a key to the previous statistics ')
return
# If stats for this date exists, previous stats is the second latest
if strip_out_date(key) == self.latest_round.date_str:
logger.info(f'Statistics for latest round already exists')
key = find_nth_latest_s3_file(
1, self.bucket,
f'stats/{self.model_name}/test_stats_{self.test_corpus}_',
'.json')
# Store the date string to find previous round with it
self.previous_date_str = strip_out_date(key)
logger.info(f'Loading earlier statistics from {key}')
previous_json_stats = load_json_from_s3(self.bucket, key)
return previous_json_stats
def generate_stats_on_s3(
model_name, mode, test_corpus_str='large_corpus_tests',
upload_stats=True, bucket=EMMAA_BUCKET_NAME):
"""Generate statistics for latest round of model update or tests.
Parameters
----------
model_name : str
A name of EmmaaModel.
mode : str
Type of stats to generate (model or tests)
test_corpus_str : str
A name of a test corpus.
upload_stats : Optional[bool]
Whether to upload latest statistics about model and a test.
Default: True
"""
if mode == 'model':
sg = ModelStatsGenerator(model_name, bucket=bucket)
elif mode == 'tests':
sg = TestStatsGenerator(model_name, test_corpus_str, bucket=bucket)
else:
raise TypeError('Mode must be either model or tests')
sg.make_stats()
# Optionally upload stats to S3
if upload_stats:
sg.save_to_s3()
return sg
def _make_twitter_msg(model_name, msg_type, delta, date, mc_type=None,
test_corpus=None, test_name=None, new_papers=None):
if len(delta['added']) == 0:
logger.info(f'No {msg_type} delta found')
return
if not test_name:
test_name = test_corpus
plural = 's' if len(delta['added']) > 1 else ''
if msg_type == 'stmts':
if not new_papers:
logger.info(f'No new papers found')
return
else:
paper_plural = 's' if new_papers > 1 else ''
msg = (f'Today I read {new_papers} new publication{paper_plural} '
f'and learned {len(delta["added"])} new mechanism{plural}. '
f'See https://emmaa.indra.bio/dashboard/{model_name}'
f'?tab=model&date={date}#addedStmts for more '
'details.')
elif msg_type == 'applied_tests':
msg = (f'Today I applied {len(delta["added"])} new test{plural} in '
f'the {test_name}. See '
f'https://emmaa.indra.bio/dashboard/{model_name}?tab=tests'
f'&test_corpus={test_corpus}&date={date}#newAppliedTests for '
'more details.')
elif msg_type == 'passed_tests' and mc_type:
msg = (f'Today I explained {len(delta["added"])} new '
f'observation{plural} in the {test_name} with my '
f'{TWITTER_MODEL_TYPES[mc_type]} model. See '
f'https://emmaa.indra.bio/dashboard/{model_name}?tab=tests'
f'&test_corpus={test_corpus}&date={date}#newPassedTests for '
'more details.')
else:
raise TypeError(f'Invalid message type: {msg_type}.')
return msg
def tweet_deltas(model_name, test_corpora, date, bucket=EMMAA_BUCKET_NAME):
model_stats, _ = get_model_stats(model_name, 'model', date=date)
test_stats_by_corpus = {}
for test_corpus in test_corpora:
test_stats, _ = get_model_stats(model_name, 'test', tests=test_corpus,
date=date)
if not test_stats:
logger.info(f'Could not find test stats for {test_corpus}')
test_stats_by_corpus[test_corpus] = test_stats
if not model_stats or not test_stats_by_corpus:
logger.warning('Stats are not found, not tweeting')
return
config = load_config_from_s3(model_name, bucket)
twitter_key = config.get('twitter')
twitter_cred = get_credentials(twitter_key)
if not twitter_cred:
logger.warning('Twitter credentials are not found, not tweeting')
# Model message
stmts_delta = model_stats['model_delta']['statements_hashes_delta']
paper_delta = model_stats['paper_delta']['raw_paper_ids_delta']
new_papers = len(paper_delta['added'])
stmts_msg = _make_twitter_msg(model_name, 'stmts', stmts_delta, date,
new_papers=new_papers)
if stmts_msg:
logger.info(stmts_msg)
if twitter_cred:
update_status(stmts_msg, twitter_cred)
# Tests messages
for test_corpus, test_stats in test_stats_by_corpus.items():
test_name = None
test_data = test_stats['test_round_summary'].get('test_data')
if test_data:
test_name = test_data.get('name')
for k, v in test_stats['tests_delta'].items():
if k == 'applied_hashes_delta':
applied_delta = v
applied_msg = _make_twitter_msg(
model_name, 'applied_tests', applied_delta, date,
test_corpus=test_corpus, test_name=test_name)
if applied_msg:
logger.info(applied_msg)
if twitter_cred:
update_status(applied_msg, twitter_cred)
else:
mc_type = k
passed_delta = v['passed_hashes_delta']
passed_msg = _make_twitter_msg(
model_name, 'passed_tests', passed_delta,
date, mc_type, test_corpus=test_corpus,
test_name=test_name)
if passed_msg:
logger.info(passed_msg)
if twitter_cred:
update_status(passed_msg, twitter_cred)
logger.info('Done tweeting')
def _get_pmid_titles(pmids):
pmids_to_titles = {}
n = 200
n_batches = len(pmids) // n
if len(pmids) % n:
n_batches += 1
for i in range(n_batches):
start = n * i
end = start + n
batch = pmids[start: end]
m = pubmed_client.get_metadata_for_ids(batch)
for pmid, metadata in m.items():
pmids_to_titles[pmid] = metadata['title']
return pmids_to_titles
def _get_doi_title(doi):
m = crossref_client.get_metadata(doi)
if m:
title = m.get('title')
if title:
return title[0]
def _get_pmcid_title(pmcid):
title = pmc_client.get_title(pmcid)
return title
def _get_publication_link(paper_id, paper_id_type):
if paper_id_type == 'PMID':
name = 'PubMed'
link = f'https://pubmed.ncbi.nlm.nih.gov/{paper_id}'
elif paper_id_type == 'PMCID':
name = 'PMC'
link = f'https://www.ncbi.nlm.nih.gov/pmc/articles/{paper_id}'
elif paper_id_type == 'DOI':
name = 'DOI'
link = f'https://dx.doi.org/{paper_id}'
return (link, name)
| [
1,
529,
276,
1112,
420,
29958,
13573,
276,
1600,
29914,
331,
655,
29874,
13,
5215,
12183,
13,
5215,
4390,
23945,
280,
13,
3166,
16250,
1053,
2322,
8977,
13,
3166,
953,
655,
29874,
29889,
4299,
1053,
2254,
29918,
2917,
29918,
3166,
29918,
29879,
29941,
29892,
679,
29918,
4299,
29918,
16202,
29892,
320,
13,
1678,
2254,
29918,
303,
29885,
1372,
29918,
3166,
29918,
29879,
29941,
13,
3166,
953,
655,
29874,
29889,
4299,
29918,
21150,
1053,
2254,
29918,
4299,
29918,
12847,
29918,
3166,
29918,
29879,
29941,
13,
3166,
953,
655,
29874,
29889,
4422,
1053,
1284,
29918,
12333,
29918,
29879,
29941,
29918,
1445,
29892,
1284,
29918,
20800,
29918,
12333,
29918,
29879,
29941,
29918,
1445,
29892,
320,
13,
1678,
17820,
29918,
449,
29918,
1256,
29892,
27295,
1529,
29909,
29918,
7838,
7077,
2544,
29918,
5813,
29892,
2254,
29918,
3126,
29918,
3166,
29918,
29879,
29941,
29892,
4078,
29918,
3126,
29918,
517,
29918,
29879,
29941,
29892,
320,
13,
1678,
679,
29918,
11944,
9409,
29892,
2767,
29918,
4882,
13,
3166,
1399,
336,
29889,
6112,
4110,
29889,
6112,
4110,
1053,
6666,
882,
13,
3166,
1399,
336,
29889,
465,
1590,
9306,
29889,
996,
1674,
29889,
465,
1590,
1358,
1053,
4223,
7900,
1590,
1358,
13,
3166,
1399,
336,
29889,
20889,
1535,
1053,
2529,
2168,
29918,
4645,
29892,
4891,
999,
29918,
4645,
29892,
282,
14047,
29918,
4645,
13,
3166,
1399,
336,
29918,
2585,
1053,
679,
29918,
2585,
13,
3166,
1399,
336,
29918,
2585,
29889,
4645,
29889,
558,
26706,
29889,
29883,
2633,
1053,
679,
29918,
2764,
800,
13,
3166,
1399,
336,
29918,
2585,
29889,
4422,
1053,
443,
4058,
13,
13,
13,
21707,
353,
12183,
29889,
657,
16363,
22168,
978,
1649,
29897,
13,
13,
13,
22412,
3919,
29918,
11116,
29918,
29943,
28700,
29918,
1529,
18009,
4214,
353,
426,
13,
1678,
525,
6112,
4110,
2396,
525,
657,
29918,
17868,
29918,
8568,
267,
742,
13,
1678,
525,
932,
2957,
29918,
21150,
2396,
525,
657,
29918,
932,
2957,
29918,
1688,
29918,
8568,
267,
742,
13,
1678,
525,
3364,
287,
29918,
21150,
2396,
525,
657,
29918,
3364,
287,
29918,
1688,
29918,
8568,
267,
742,
13,
1678,
525,
24772,
2396,
525,
657,
29918,
3364,
287,
29918,
1688,
29918,
8568,
267,
742,
13,
1678,
525,
1610,
29918,
29886,
21321,
2396,
525,
657,
29918,
497,
29918,
1610,
29918,
19773,
29918,
4841,
742,
13,
1678,
525,
465,
6967,
29881,
29918,
29886,
21321,
2396,
525,
657,
29918,
497,
29918,
465,
6967,
29881,
29918,
19773,
29918,
4841,
10827,
13,
13,
13,
16240,
1806,
4945,
29918,
20387,
29931,
29918,
15631,
29925,
2890,
353,
11117,
29886,
952,
29890,
2396,
18803,
19737,
29903,
952,
29933,
601,
742,
13,
462,
539,
525,
2272,
6596,
2396,
18803,
2272,
6596,
24840,
742,
13,
462,
539,
525,
7433,
29918,
4262,
2396,
525,
10140,
287,
12367,
742,
13,
462,
539,
525,
15395,
29918,
4262,
2396,
525,
25807,
12961,
12367,
10827,
13,
13,
13,
1990,
21595,
29898,
3318,
1125,
13,
1678,
9995,
9780,
770,
363,
4413,
29537,
292,
697,
4513,
310,
1554,
313,
4299,
470,
13,
1678,
6987,
467,
13,
13,
1678,
12662,
2699,
13,
1678,
448,
1378,
29899,
13,
1678,
2635,
29918,
710,
584,
851,
13,
4706,
5974,
746,
8125,
3260,
14040,
363,
445,
4513,
471,
2825,
29889,
13,
13,
1678,
6212,
5026,
13,
1678,
448,
1378,
29899,
13,
13,
1678,
740,
29918,
20698,
584,
9657,
13,
4706,
319,
8600,
310,
6031,
10417,
263,
1134,
310,
2793,
304,
263,
18761,
310,
13,
4706,
3168,
5181,
304,
1284,
19471,
363,
445,
1134,
310,
2793,
29889,
3824,
13,
4706,
740,
297,
263,
18761,
4947,
263,
1051,
310,
599,
6608,
267,
363,
263,
2183,
2793,
1134,
29892,
13,
4706,
1550,
278,
1473,
3639,
385,
4223,
6139,
310,
263,
2183,
2793,
1134,
13,
4706,
363,
263,
2323,
6608,
29889,
13,
1678,
9995,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
2635,
29918,
710,
1125,
13,
4706,
1583,
29889,
1256,
29918,
710,
353,
2635,
29918,
710,
13,
4706,
1583,
29889,
2220,
29918,
20698,
353,
8707,
29911,
3919,
29918,
11116,
29918,
29943,
28700,
29918,
1529,
18009,
4214,
13,
13,
1678,
732,
1990,
5696,
13,
1678,
822,
2254,
29918,
3166,
29918,
29879,
29941,
29918,
1989,
29898,
25932,
29892,
1820,
1125,
13,
4706,
12020,
2216,
1888,
2037,
287,
2392,
703,
4062,
1818,
367,
8762,
297,
2278,
770,
23157,
308,
13,
13,
1678,
822,
679,
29918,
996,
1674,
29918,
20788,
29898,
1311,
29892,
380,
4378,
1125,
13,
4706,
321,
29874,
353,
4223,
7900,
1590,
1358,
4197,
17868,
2314,
13,
4706,
10541,
353,
321,
29874,
29889,
5675,
29918,
4299,
580,
13,
4706,
736,
6702,
742,
10541,
29892,
27255,
13,
13,
1678,
822,
1284,
29918,
4181,
29918,
8568,
267,
29898,
1311,
29892,
916,
29918,
14486,
29892,
2793,
29918,
1853,
29892,
3579,
19290,
1125,
13,
4706,
9995,
11609,
263,
8600,
310,
3939,
6608,
267,
310,
263,
2183,
2793,
1134,
29889,
910,
13,
4706,
1158,
3732,
671,
310,
1583,
29889,
2220,
29918,
20698,
8600,
29889,
13,
13,
4706,
12662,
2699,
13,
4706,
448,
1378,
29899,
13,
4706,
916,
29918,
14486,
584,
953,
655,
29874,
29889,
24209,
911,
29918,
21150,
29918,
9902,
29889,
3057,
29934,
618,
13,
9651,
319,
1422,
2777,
310,
263,
4321,
29934,
618,
13,
4706,
2793,
29918,
1853,
584,
851,
13,
9651,
319,
1134,
310,
278,
2793,
304,
1284,
19471,
29889,
29848,
287,
1819,
29901,
13,
9651,
448,
9506,
13,
9651,
448,
7436,
29918,
21150,
13,
9651,
448,
4502,
29918,
21150,
13,
9651,
448,
10898,
13,
4706,
3579,
19290,
584,
9657,
13,
9651,
1152,
777,
310,
2793,
4072,
29892,
5684,
6273,
1818,
367,
13,
9651,
4944,
269,
3376,
408,
286,
29883,
29918,
1853,
29889,
13,
4706,
16969,
13,
4706,
448,
22158,
13,
4706,
6608,
267,
584,
9657,
13,
9651,
319,
8600,
6943,
8857,
310,
2715,
322,
6206,
6608,
267,
310,
263,
13,
9651,
2183,
2793,
1134,
1546,
1023,
1243,
364,
3885,
29889,
13,
4706,
9995,
13,
4706,
17927,
29889,
3888,
29898,
29888,
29915,
29943,
4015,
263,
6608,
267,
19471,
363,
426,
3051,
29918,
1853,
1836,
1495,
13,
4706,
9281,
29918,
8568,
267,
353,
679,
5552,
29898,
13,
9651,
1583,
29892,
1583,
29889,
2220,
29918,
20698,
29961,
3051,
29918,
1853,
2314,
29898,
1068,
19290,
29897,
13,
4706,
17927,
29889,
3888,
29898,
29888,
29915,
9692,
426,
2435,
29898,
12333,
29918,
8568,
267,
2915,
6608,
267,
297,
1857,
4513,
29889,
1495,
13,
4706,
3517,
29918,
8568,
267,
353,
679,
5552,
29898,
13,
9651,
916,
29918,
14486,
29892,
13,
9651,
916,
29918,
14486,
29889,
2220,
29918,
20698,
29961,
3051,
29918,
1853,
2314,
29898,
1068,
19290,
29897,
13,
4706,
17927,
29889,
3888,
29898,
29888,
29915,
9692,
426,
2435,
29898,
24957,
29918,
8568,
267,
2915,
6608,
267,
297,
916,
4513,
29889,
1495,
13,
4706,
396,
10987,
6608,
267,
5412,
363,
1269,
310,
278,
364,
3885,
448,
445,
338,
19471,
13,
4706,
2715,
29918,
8568,
267,
353,
1051,
29898,
842,
29898,
12333,
29918,
8568,
267,
29897,
448,
731,
29898,
24957,
29918,
8568,
267,
876,
13,
4706,
6206,
29918,
8568,
267,
353,
1051,
29898,
842,
29898,
24957,
29918,
8568,
267,
29897,
448,
731,
29898,
12333,
29918,
8568,
267,
876,
13,
4706,
6608,
267,
353,
11117,
23959,
2396,
2715,
29918,
8568,
267,
29892,
525,
1745,
8238,
2396,
6206,
29918,
8568,
267,
29913,
13,
4706,
736,
6608,
267,
13,
13,
13,
1990,
8125,
29934,
618,
29898,
29934,
618,
1125,
13,
1678,
9995,
2744,
14997,
10947,
278,
2582,
310,
697,
1904,
2767,
4513,
29889,
13,
13,
1678,
12662,
2699,
13,
1678,
448,
1378,
29899,
13,
1678,
9506,
584,
1051,
29961,
513,
336,
29889,
6112,
4110,
29889,
14473,
29962,
13,
4706,
319,
1051,
310,
2672,
29928,
4717,
6666,
4110,
1304,
304,
24940,
263,
1904,
29889,
13,
1678,
2635,
29918,
710,
584,
851,
13,
4706,
5974,
746,
8125,
3260,
14040,
363,
445,
4513,
471,
2825,
29889,
13,
1678,
5650,
29918,
4841,
584,
1051,
29898,
710,
29897,
13,
4706,
319,
1051,
310,
5650,
23481,
1304,
304,
679,
10650,
9506,
363,
445,
4513,
29889,
13,
1678,
5650,
29918,
333,
29918,
1853,
584,
851,
13,
4706,
5167,
310,
5650,
3553,
1304,
29889,
13,
13,
1678,
6212,
5026,
13,
1678,
448,
1378,
29899,
13,
1678,
380,
29885,
1372,
29918,
1609,
29918,
29886,
21321,
584,
9657,
13,
4706,
319,
8600,
10417,
278,
5650,
23481,
304,
6166,
310,
6608,
267,
310,
24940,
29881,
13,
4706,
9506,
411,
3415,
333,
2063,
27387,
515,
1438,
15055,
29889,
13,
1678,
9995,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
9506,
29892,
2635,
29918,
710,
29892,
5650,
29918,
4841,
29922,
8516,
29892,
13,
462,
5650,
29918,
333,
29918,
1853,
2433,
5659,
1367,
742,
953,
655,
29874,
29918,
6112,
4110,
29922,
8516,
1125,
13,
4706,
2428,
2141,
1649,
2344,
12035,
1256,
29918,
710,
29897,
13,
4706,
1583,
29889,
6112,
4110,
353,
9506,
13,
4706,
1583,
29889,
19773,
29918,
4841,
353,
5650,
29918,
4841,
565,
5650,
29918,
4841,
1683,
5159,
13,
4706,
1583,
29889,
19773,
29918,
333,
29918,
1853,
353,
5650,
29918,
333,
29918,
1853,
13,
4706,
1583,
29889,
331,
655,
29874,
29918,
6112,
4110,
353,
953,
655,
29874,
29918,
6112,
4110,
565,
953,
655,
29874,
29918,
6112,
4110,
1683,
5159,
13,
4706,
1583,
29889,
303,
29885,
1372,
29918,
1609,
29918,
29886,
21321,
353,
1583,
29889,
657,
29918,
465,
6967,
29881,
29918,
303,
29885,
1372,
29918,
1609,
29918,
19773,
29898,
19773,
29918,
333,
29918,
1853,
29897,
13,
13,
1678,
732,
1990,
5696,
13,
1678,
822,
2254,
29918,
3166,
29918,
29879,
29941,
29918,
1989,
29898,
25932,
29892,
1820,
29892,
20968,
29922,
12665,
1529,
29909,
29918,
7838,
7077,
2544,
29918,
5813,
29892,
13,
462,
308,
2254,
29918,
342,
29885,
1372,
29922,
8824,
1125,
13,
4706,
5654,
353,
2254,
29918,
4299,
29918,
12847,
29918,
3166,
29918,
29879,
29941,
29898,
1989,
29922,
1989,
29892,
20968,
29922,
21454,
29897,
13,
4706,
565,
451,
5654,
29901,
13,
9651,
736,
13,
4706,
9506,
353,
5654,
29889,
4299,
29889,
465,
6967,
29881,
29918,
303,
29885,
1372,
13,
4706,
2635,
29918,
710,
353,
5654,
29889,
1256,
29918,
710,
13,
4706,
1018,
29901,
13,
9651,
5650,
29918,
4841,
353,
1051,
29898,
4317,
29889,
4299,
29889,
19773,
29918,
4841,
29897,
13,
4706,
5174,
23833,
2392,
29901,
13,
9651,
5650,
29918,
4841,
353,
6213,
13,
4706,
5650,
29918,
333,
29918,
1853,
353,
5654,
29889,
4299,
29889,
19715,
29918,
2917,
29889,
657,
877,
3396,
29918,
333,
29918,
1853,
742,
525,
5659,
1367,
1495,
13,
4706,
707,
29885,
1372,
353,
6213,
13,
4706,
565,
2254,
29918,
342,
29885,
1372,
29901,
13,
9651,
707,
29885,
1372,
29892,
903,
353,
2254,
29918,
303,
29885,
1372,
29918,
3166,
29918,
29879,
29941,
29898,
4317,
29889,
4299,
29889,
978,
29892,
20968,
29897,
13,
4706,
736,
1067,
29879,
29898,
6112,
4110,
29892,
2635,
29918,
710,
29892,
5650,
29918,
4841,
29892,
5650,
29918,
333,
29918,
1853,
29892,
707,
29885,
1372,
29897,
13,
13,
1678,
822,
679,
29918,
7827,
29918,
6112,
4110,
29898,
1311,
1125,
13,
4706,
9995,
11609,
263,
3001,
1353,
310,
9506,
297,
263,
1904,
1213,
15945,
13,
4706,
3001,
353,
7431,
29898,
1311,
29889,
6112,
4110,
29897,
13,
4706,
17927,
29889,
3888,
29898,
29888,
29915,
2744,
24940,
29881,
1904,
756,
426,
7827,
29913,
9506,
29889,
1495,
13,
4706,
736,
3001,
13,
13,
1678,
822,
679,
29918,
17868,
29918,
8568,
267,
29898,
1311,
1125,
13,
4706,
9995,
11609,
263,
1051,
310,
6608,
267,
363,
599,
9506,
297,
263,
1904,
1213,
15945,
13,
4706,
736,
518,
710,
29898,
17868,
29889,
657,
29918,
8568,
29898,
22379,
29922,
5574,
876,
363,
380,
4378,
297,
1583,
29889,
6112,
4110,
29962,
13,
13,
1678,
822,
679,
29918,
20788,
29918,
8768,
29898,
1311,
1125,
13,
4706,
9995,
11609,
263,
12705,
1051,
310,
5291,
2701,
6943,
263,
3229,
1134,
322,
263,
13,
4706,
1353,
310,
3064,
263,
3229,
310,
445,
1134,
2179,
2955,
297,
263,
1904,
29889,
13,
4706,
9995,
13,
4706,
3229,
29918,
8768,
353,
2322,
8977,
29898,
524,
29897,
13,
4706,
17927,
29889,
3888,
877,
29943,
4015,
263,
4978,
310,
9506,
4072,
29889,
1495,
13,
4706,
363,
380,
4378,
297,
1583,
29889,
6112,
4110,
29901,
13,
9651,
3229,
29918,
8768,
29961,
1853,
29898,
17868,
467,
1649,
978,
1649,
29962,
4619,
29871,
29896,
13,
4706,
736,
12705,
29898,
20788,
29918,
8768,
29889,
7076,
3285,
1820,
29922,
2892,
921,
29901,
921,
29961,
29896,
1402,
11837,
29922,
5574,
29897,
13,
13,
1678,
822,
679,
29918,
14748,
29918,
27691,
29898,
1311,
1125,
13,
4706,
9995,
11609,
263,
12705,
1051,
310,
5291,
2701,
6943,
385,
10823,
1024,
322,
263,
1353,
13,
4706,
310,
3064,
445,
10823,
2179,
2955,
297,
9506,
310,
263,
1904,
1213,
15945,
13,
4706,
17927,
29889,
3888,
877,
29943,
4015,
10823,
4978,
4249,
1904,
9506,
29889,
1495,
13,
4706,
10823,
29918,
2798,
353,
2322,
8977,
29898,
524,
29897,
13,
4706,
363,
380,
4378,
297,
1583,
29889,
6112,
4110,
29901,
13,
9651,
363,
10823,
297,
380,
4378,
29889,
14748,
29918,
1761,
7295,
13,
18884,
565,
10823,
338,
451,
6213,
29901,
13,
462,
1678,
10823,
29918,
2798,
29961,
14748,
29889,
978,
29962,
4619,
29871,
29896,
13,
4706,
736,
12705,
29898,
14748,
29918,
2798,
29889,
7076,
3285,
1820,
29922,
2892,
921,
29901,
921,
29961,
29896,
1402,
11837,
29922,
5574,
29897,
13,
13,
1678,
822,
679,
29918,
6112,
4110,
29918,
1609,
29918,
5750,
5084,
29898,
1311,
1125,
13,
4706,
9995,
11609,
263,
12705,
1051,
310,
5291,
2701,
6943,
263,
3229,
6608,
322,
263,
13,
4706,
1353,
310,
3064,
445,
3229,
2179,
2955,
297,
263,
1904,
1213,
15945,
13,
4706,
380,
29885,
1372,
29918,
5750,
5084,
353,
6571,
13,
4706,
363,
380,
4378,
297,
1583,
29889,
6112,
4110,
29901,
13,
9651,
380,
29885,
1372,
29918,
5750,
5084,
29961,
710,
29898,
17868,
29889,
657,
29918,
8568,
29898,
22379,
29922,
5574,
28166,
353,
7431,
29898,
17868,
29889,
5750,
5084,
29897,
13,
4706,
17927,
29889,
3888,
877,
13685,
292,
9506,
491,
10757,
2302,
29889,
1495,
13,
4706,
736,
12705,
29898,
303,
29885,
1372,
29918,
5750,
5084,
29889,
7076,
3285,
1820,
29922,
2892,
921,
29901,
921,
29961,
29896,
1402,
11837,
29922,
5574,
29897,
13,
13,
1678,
822,
679,
29918,
996,
1674,
29918,
6112,
4110,
29918,
1609,
29918,
8568,
29898,
1311,
1125,
13,
4706,
9995,
11609,
263,
8600,
10417,
263,
3229,
322,
967,
4223,
6139,
1213,
15945,
13,
4706,
380,
29885,
1372,
29918,
1609,
29918,
8568,
353,
6571,
13,
4706,
363,
380,
4378,
297,
1583,
29889,
6112,
4110,
29901,
13,
9651,
380,
29885,
1372,
29918,
1609,
29918,
8568,
29961,
710,
29898,
17868,
29889,
657,
29918,
8568,
29898,
22379,
29922,
5574,
28166,
353,
313,
13,
18884,
1583,
29889,
657,
29918,
996,
1674,
29918,
20788,
29898,
17868,
876,
13,
4706,
736,
380,
29885,
1372,
29918,
1609,
29918,
8568,
13,
13,
1678,
822,
679,
29918,
29879,
2863,
29918,
27691,
29898,
1311,
1125,
13,
4706,
17927,
29889,
3888,
877,
29943,
4015,
4978,
310,
8974,
310,
3229,
3415,
333,
2063,
29889,
1495,
13,
4706,
8974,
29918,
2798,
353,
2322,
8977,
29898,
524,
29897,
13,
4706,
363,
380,
4378,
297,
1583,
29889,
6112,
4110,
29901,
13,
9651,
363,
3415,
333,
297,
380,
4378,
29889,
5750,
5084,
29901,
13,
18884,
565,
3415,
333,
29889,
4993,
29918,
2754,
29901,
13,
462,
1678,
8974,
29918,
2798,
29961,
5750,
333,
29889,
4993,
29918,
2754,
29962,
4619,
29871,
29896,
13,
4706,
736,
12705,
29898,
29879,
2863,
29918,
2798,
29889,
7076,
3285,
1820,
29922,
2892,
921,
29901,
921,
29961,
29896,
1402,
11837,
29922,
5574,
29897,
13,
13,
1678,
822,
679,
29918,
497,
29918,
1610,
29918,
19773,
29918,
4841,
29898,
1311,
1125,
13,
4706,
9995,
11609,
599,
5650,
23481,
1304,
297,
445,
4513,
1213,
15945,
13,
4706,
736,
1583,
29889,
19773,
29918,
4841,
13,
13,
1678,
822,
679,
29918,
4537,
29918,
1610,
29918,
29886,
21321,
29898,
1311,
1125,
13,
4706,
9995,
11609,
263,
3001,
1353,
310,
15055,
297,
445,
4513,
1213,
15945,
13,
4706,
736,
7431,
29898,
1311,
29889,
19773,
29918,
4841,
29897,
13,
13,
1678,
822,
679,
29918,
465,
6967,
29881,
29918,
303,
29885,
1372,
29918,
1609,
29918,
19773,
29898,
1311,
29892,
1178,
29918,
1853,
2433,
5659,
1367,
29374,
13,
4706,
9995,
2577,
263,
10417,
310,
5650,
23481,
313,
5659,
1367,
470,
349,
2687,
29897,
304,
24940,
29881,
9506,
1213,
15945,
13,
4706,
17927,
29889,
3888,
877,
15845,
15055,
304,
9506,
1495,
13,
4706,
380,
29885,
1372,
29918,
1609,
29918,
29886,
21321,
353,
6571,
13,
4706,
363,
380,
4378,
297,
1583,
29889,
6112,
4110,
29901,
13,
9651,
380,
4378,
29918,
8568,
353,
380,
4378,
29889,
657,
29918,
8568,
580,
13,
9651,
363,
3415,
333,
297,
380,
4378,
29889,
5750,
5084,
29901,
13,
18884,
5650,
29918,
333,
353,
6213,
13,
18884,
565,
1178,
29918,
1853,
1275,
525,
1631,
29875,
2396,
13,
462,
1678,
5650,
29918,
333,
353,
3415,
333,
29889,
6735,
800,
29889,
657,
877,
1631,
29875,
1495,
13,
18884,
565,
3415,
333,
29889,
726,
29918,
24539,
29901,
13,
462,
1678,
5650,
29918,
333,
353,
3415,
333,
29889,
726,
29918,
24539,
29889,
657,
29898,
333,
29918,
1853,
29897,
13,
462,
1678,
565,
451,
5650,
29918,
333,
29901,
13,
462,
4706,
5650,
29918,
333,
353,
3415,
333,
29889,
726,
29918,
24539,
29889,
657,
29898,
333,
29918,
1853,
29889,
13609,
3101,
13,
18884,
565,
5650,
29918,
333,
29901,
13,
462,
1678,
565,
5650,
29918,
333,
297,
380,
29885,
1372,
29918,
1609,
29918,
29886,
21321,
29901,
13,
462,
4706,
380,
29885,
1372,
29918,
1609,
29918,
29886,
21321,
29961,
19773,
29918,
333,
1822,
1202,
29898,
17868,
29918,
8568,
29897,
13,
462,
1678,
1683,
29901,
13,
462,
4706,
380,
29885,
1372,
29918,
1609,
29918,
29886,
21321,
29961,
19773,
29918,
333,
29962,
353,
426,
17868,
29918,
8568,
29913,
13,
4706,
363,
413,
29892,
325,
297,
380,
29885,
1372,
29918,
1609,
29918,
29886,
21321,
29889,
7076,
7295,
13,
9651,
380,
29885,
1372,
29918,
1609,
29918,
29886,
21321,
29961,
29895,
29962,
353,
1051,
29898,
29894,
29897,
13,
4706,
736,
380,
29885,
1372,
29918,
1609,
29918,
29886,
21321,
13,
13,
1678,
822,
679,
29918,
497,
29918,
465,
6967,
29881,
29918,
19773,
29918,
4841,
29898,
1311,
1125,
13,
4706,
736,
1051,
29898,
1311,
29889,
303,
29885,
1372,
29918,
1609,
29918,
29886,
21321,
29889,
8149,
3101,
13,
13,
1678,
822,
679,
29918,
4537,
29918,
465,
6967,
29881,
29918,
29886,
21321,
29898,
1311,
1125,
13,
4706,
736,
7431,
29898,
1311,
29889,
303,
29885,
1372,
29918,
1609,
29918,
29886,
21321,
29897,
13,
13,
1678,
822,
679,
29918,
29886,
21321,
29918,
27691,
29898,
1311,
1125,
13,
4706,
9995,
11609,
263,
12705,
1051,
310,
5291,
2701,
6943,
263,
5650,
3553,
322,
263,
1353,
13,
4706,
310,
5412,
9506,
23892,
515,
393,
5650,
1213,
15945,
13,
4706,
17927,
29889,
3888,
877,
29943,
4015,
5650,
4978,
1495,
13,
4706,
5650,
29918,
17868,
29918,
2798,
353,
426,
19773,
29918,
333,
29901,
7431,
29898,
303,
29885,
1372,
29897,
363,
313,
19773,
29918,
333,
29892,
380,
29885,
1372,
29897,
297,
13,
462,
9651,
1583,
29889,
303,
29885,
1372,
29918,
1609,
29918,
29886,
21321,
29889,
7076,
28296,
13,
4706,
736,
12705,
29898,
19773,
29918,
17868,
29918,
2798,
29889,
7076,
3285,
1820,
29922,
2892,
921,
29901,
921,
29961,
29896,
1402,
13,
462,
418,
11837,
29922,
5574,
29897,
13,
13,
1678,
822,
679,
29918,
1610,
29918,
19773,
29918,
2798,
29879,
29898,
1311,
1125,
13,
4706,
17927,
29889,
3888,
877,
29943,
4015,
10650,
3229,
2302,
639,
5650,
1495,
13,
4706,
565,
451,
1583,
29889,
331,
655,
29874,
29918,
6112,
4110,
29901,
13,
9651,
17927,
29889,
3888,
877,
9260,
451,
2254,
10650,
27295,
1529,
29909,
9506,
1495,
13,
9651,
736,
6571,
13,
4706,
10650,
29918,
1609,
29918,
29886,
21321,
353,
2322,
8977,
29898,
524,
29897,
13,
4706,
363,
707,
4378,
297,
1583,
29889,
331,
655,
29874,
29918,
6112,
4110,
29901,
13,
9651,
363,
3415,
333,
297,
707,
4378,
29889,
17868,
29889,
5750,
5084,
29901,
13,
18884,
5650,
29918,
333,
353,
6213,
13,
18884,
1178,
29918,
1853,
353,
1583,
29889,
19773,
29918,
333,
29918,
1853,
13,
18884,
565,
1178,
29918,
1853,
1275,
525,
1631,
29875,
2396,
13,
462,
1678,
5650,
29918,
333,
353,
3415,
333,
29889,
6735,
800,
29889,
657,
877,
1631,
29875,
1495,
13,
18884,
565,
3415,
333,
29889,
726,
29918,
24539,
29901,
13,
462,
1678,
5650,
29918,
333,
353,
3415,
333,
29889,
726,
29918,
24539,
29889,
657,
29898,
333,
29918,
1853,
29897,
13,
462,
1678,
565,
451,
5650,
29918,
333,
29901,
13,
462,
4706,
5650,
29918,
333,
353,
3415,
333,
29889,
726,
29918,
24539,
29889,
657,
29898,
333,
29918,
1853,
29889,
13609,
3101,
13,
18884,
565,
5650,
29918,
333,
29901,
13,
462,
1678,
10650,
29918,
1609,
29918,
29886,
21321,
29961,
19773,
29918,
333,
29962,
4619,
29871,
29896,
13,
4706,
736,
10650,
29918,
1609,
29918,
29886,
21321,
13,
13,
1678,
822,
679,
29918,
19773,
29918,
23545,
793,
29918,
392,
29918,
4965,
29898,
1311,
29892,
534,
4841,
1125,
13,
4706,
9995,
11609,
263,
8600,
10417,
5650,
23481,
304,
1009,
17735,
1213,
15945,
13,
4706,
565,
1583,
29889,
19773,
29918,
333,
29918,
1853,
1275,
525,
1631,
29875,
2396,
13,
9651,
736,
24335,
6571,
13,
4706,
4833,
353,
679,
29918,
2585,
877,
16072,
1495,
13,
4706,
534,
29879,
353,
4833,
29889,
2622,
29918,
497,
29898,
2585,
29889,
1626,
5620,
29892,
4833,
29889,
1626,
5620,
29889,
333,
29889,
262,
23538,
509,
4841,
876,
13,
4706,
2143,
29918,
8977,
29879,
353,
518,
509,
29889,
657,
29918,
999,
29918,
8977,
580,
363,
534,
297,
534,
29879,
29962,
13,
4706,
534,
333,
29918,
517,
29918,
3257,
353,
6571,
13,
4706,
534,
333,
29918,
517,
29918,
2324,
353,
6571,
13,
4706,
534,
333,
29918,
517,
29918,
3358,
4841,
353,
6571,
13,
4706,
534,
333,
29918,
517,
29918,
3358,
29883,
4841,
353,
6571,
13,
4706,
534,
333,
29918,
517,
29918,
1867,
275,
353,
6571,
13,
4706,
1423,
29918,
262,
29918,
2585,
353,
5159,
13,
4706,
396,
7315,
10014,
1367,
29879,
304,
3625,
25485,
29879,
29892,
11662,
3624,
29892,
11278,
29907,
1367,
29879,
297,
445,
1797,
13,
4706,
363,
2143,
29918,
8977,
297,
2143,
29918,
8977,
29879,
29901,
13,
9651,
565,
525,
13427,
1367,
29915,
297,
2143,
29918,
8977,
29901,
13,
18884,
534,
333,
29918,
517,
29918,
3358,
4841,
29961,
999,
29918,
8977,
1839,
5659,
1367,
2033,
29962,
353,
2143,
29918,
8977,
1839,
13427,
1367,
2033,
13,
9651,
25342,
525,
29925,
12513,
1367,
29915,
297,
2143,
29918,
8977,
29901,
13,
18884,
534,
333,
29918,
517,
29918,
3358,
29883,
4841,
29961,
999,
29918,
8977,
1839,
5659,
1367,
2033,
29962,
353,
2143,
29918,
8977,
1839,
29925,
12513,
1367,
2033,
13,
9651,
25342,
525,
3970,
29902,
29915,
297,
2143,
29918,
8977,
29901,
13,
18884,
534,
333,
29918,
517,
29918,
1867,
275,
29961,
999,
29918,
8977,
1839,
5659,
1367,
2033,
29962,
353,
2143,
29918,
8977,
1839,
3970,
29902,
2033,
13,
13,
4706,
17927,
29889,
3888,
29898,
29888,
29915,
4591,
426,
2435,
29898,
509,
4841,
2915,
10014,
1367,
29879,
2355,
426,
2435,
29898,
509,
333,
29918,
517,
29918,
3358,
4841,
2915,
25485,
29879,
5501,
13,
462,
1678,
285,
29915,
426,
2435,
29898,
509,
333,
29918,
517,
29918,
3358,
29883,
4841,
2915,
11278,
29907,
1367,
29879,
29892,
426,
2435,
29898,
509,
333,
29918,
517,
29918,
1867,
275,
2915,
11662,
3624,
1495,
13,
13,
4706,
396,
3824,
679,
17735,
322,
2988,
363,
3625,
25485,
29879,
13,
4706,
565,
534,
333,
29918,
517,
29918,
3358,
4841,
29901,
13,
9651,
17927,
29889,
3888,
29898,
29888,
29915,
2577,
1259,
17735,
363,
426,
2435,
29898,
509,
333,
29918,
517,
29918,
3358,
4841,
2915,
25485,
29879,
1495,
13,
9651,
26354,
4841,
353,
1051,
29898,
509,
333,
29918,
517,
29918,
3358,
4841,
29889,
5975,
3101,
13,
9651,
26354,
4841,
29918,
517,
29918,
23545,
793,
353,
903,
657,
29918,
3358,
333,
29918,
23545,
793,
29898,
3358,
4841,
29897,
13,
13,
9651,
363,
534,
333,
29892,
282,
6563,
297,
534,
333,
29918,
517,
29918,
3358,
4841,
29889,
7076,
7295,
13,
18884,
565,
282,
6563,
297,
26354,
4841,
29918,
517,
29918,
23545,
793,
29901,
13,
462,
1678,
534,
333,
29918,
517,
29918,
3257,
29961,
710,
29898,
509,
333,
4638,
353,
26354,
4841,
29918,
517,
29918,
23545,
793,
29961,
3358,
333,
29962,
13,
18884,
1683,
29901,
13,
462,
1678,
1423,
29918,
262,
29918,
2585,
29889,
4397,
29898,
509,
333,
29897,
13,
18884,
1544,
353,
903,
657,
29918,
3597,
362,
29918,
2324,
29898,
3358,
333,
29892,
525,
13427,
1367,
1495,
13,
18884,
534,
333,
29918,
517,
29918,
2324,
29961,
710,
29898,
509,
333,
4638,
353,
1544,
13,
13,
4706,
396,
1987,
679,
17735,
322,
2988,
363,
3625,
11278,
29907,
1367,
29879,
13,
4706,
565,
534,
333,
29918,
517,
29918,
3358,
29883,
4841,
29901,
13,
9651,
17927,
29889,
3888,
29898,
29888,
29915,
2577,
1259,
17735,
363,
426,
2435,
29898,
509,
333,
29918,
517,
29918,
3358,
29883,
4841,
2915,
11278,
29907,
1367,
29879,
1495,
13,
9651,
363,
534,
333,
29892,
282,
14047,
333,
297,
534,
333,
29918,
517,
29918,
3358,
29883,
4841,
29889,
7076,
7295,
13,
18884,
3611,
353,
903,
657,
29918,
3358,
25232,
29918,
3257,
29898,
3358,
25232,
29897,
13,
18884,
565,
3611,
29901,
13,
462,
1678,
534,
333,
29918,
517,
29918,
3257,
29961,
710,
29898,
509,
333,
4638,
353,
3611,
13,
18884,
1683,
29901,
13,
462,
1678,
1423,
29918,
262,
29918,
2585,
29889,
4397,
29898,
509,
333,
29897,
13,
18884,
1544,
353,
903,
657,
29918,
3597,
362,
29918,
2324,
29898,
3358,
25232,
29892,
525,
29925,
12513,
1367,
1495,
13,
18884,
534,
333,
29918,
517,
29918,
2324,
29961,
710,
29898,
509,
333,
4638,
353,
1544,
13,
13,
4706,
396,
1987,
679,
17735,
322,
2988,
363,
3625,
11662,
3624,
13,
4706,
565,
534,
333,
29918,
517,
29918,
1867,
275,
29901,
13,
9651,
17927,
29889,
3888,
29898,
29888,
29915,
2577,
1259,
17735,
363,
426,
2435,
29898,
509,
333,
29918,
517,
29918,
1867,
275,
2915,
11662,
3624,
1495,
13,
9651,
363,
534,
333,
29892,
13102,
297,
534,
333,
29918,
517,
29918,
1867,
275,
29889,
7076,
7295,
13,
18884,
3611,
353,
903,
657,
29918,
1867,
29875,
29918,
3257,
29898,
1867,
29875,
29897,
13,
18884,
565,
3611,
29901,
13,
462,
1678,
534,
333,
29918,
517,
29918,
3257,
29961,
710,
29898,
509,
333,
4638,
353,
3611,
13,
18884,
1683,
29901,
13,
462,
1678,
1423,
29918,
262,
29918,
2585,
29889,
4397,
29898,
509,
333,
29897,
13,
18884,
1544,
353,
903,
657,
29918,
3597,
362,
29918,
2324,
29898,
1867,
29875,
29892,
525,
3970,
29902,
1495,
13,
18884,
534,
333,
29918,
517,
29918,
2324,
29961,
710,
29898,
509,
333,
4638,
353,
1544,
13,
13,
4706,
396,
3967,
2805,
9886,
17735,
515,
4833,
13,
4706,
565,
1423,
29918,
262,
29918,
2585,
29901,
13,
9651,
17927,
29889,
3888,
29898,
29888,
29915,
2577,
1259,
17735,
363,
426,
2435,
29898,
3198,
29918,
262,
29918,
2585,
2915,
9886,
525,
13,
462,
4706,
525,
5659,
1367,
29879,
515,
6535,
1495,
13,
9651,
260,
2395,
353,
4833,
29889,
2622,
29918,
497,
29898,
2585,
29889,
1626,
3916,
29892,
13,
462,
18884,
4833,
29889,
1626,
3916,
29889,
726,
29918,
999,
29918,
333,
29889,
262,
23538,
3198,
29918,
262,
29918,
2585,
511,
13,
462,
18884,
4833,
29889,
1626,
3916,
29889,
726,
29918,
1853,
1275,
525,
3257,
1495,
13,
9651,
363,
260,
29883,
297,
260,
2395,
29901,
13,
18884,
3611,
353,
443,
4058,
29898,
14246,
29889,
3051,
29897,
13,
18884,
534,
333,
29918,
517,
29918,
3257,
29961,
710,
29898,
14246,
29889,
726,
29918,
999,
29918,
333,
4638,
353,
3611,
13,
4706,
736,
534,
333,
29918,
517,
29918,
3257,
29892,
534,
333,
29918,
517,
29918,
2324,
13,
13,
1678,
822,
679,
29918,
29883,
2633,
29918,
16202,
29898,
1311,
1125,
13,
4706,
565,
451,
1583,
29889,
331,
655,
29874,
29918,
6112,
4110,
29901,
13,
9651,
17927,
29889,
3888,
877,
9260,
451,
2254,
10650,
27295,
1529,
29909,
9506,
1495,
13,
9651,
736,
13,
4706,
3151,
800,
353,
679,
29918,
2764,
800,
580,
13,
4706,
3151,
4097,
29918,
5750,
353,
2322,
8977,
29898,
842,
29897,
13,
4706,
3151,
4097,
29918,
17868,
353,
2322,
8977,
29898,
842,
29897,
13,
4706,
3151,
4097,
29918,
5750,
29918,
2798,
29879,
353,
6571,
13,
4706,
3151,
4097,
29918,
17868,
29918,
2798,
29879,
353,
6571,
13,
4706,
18580,
29918,
1609,
29918,
11338,
353,
2322,
8977,
29898,
524,
29897,
13,
4706,
18580,
29918,
1609,
29918,
8568,
353,
2322,
8977,
29898,
1761,
29897,
13,
4706,
3151,
29918,
5750,
29918,
15190,
353,
2322,
8977,
29898,
842,
29897,
13,
4706,
3151,
29918,
17868,
29918,
15190,
353,
2322,
8977,
29898,
842,
29897,
13,
4706,
3151,
29918,
5750,
29918,
1256,
29918,
2083,
353,
5159,
13,
4706,
3151,
29918,
17868,
29918,
1256,
29918,
2083,
353,
5159,
13,
4706,
363,
3151,
297,
3151,
800,
29901,
13,
9651,
18580,
29918,
1609,
29918,
8568,
29961,
2764,
1839,
4993,
29918,
8568,
2033,
1822,
4397,
29898,
2764,
29897,
13,
4706,
4489,
353,
14210,
29979,
19222,
29885,
19222,
29881,
29899,
29900,
29900,
29899,
29900,
29900,
29899,
29900,
29900,
29915,
13,
4706,
363,
707,
4378,
297,
1583,
29889,
331,
655,
29874,
29918,
6112,
4110,
29901,
13,
9651,
363,
3415,
297,
707,
4378,
29889,
17868,
29889,
5750,
5084,
29901,
13,
18884,
2752,
29918,
8568,
353,
3415,
29889,
657,
29918,
4993,
29918,
8568,
580,
13,
18884,
18580,
29918,
1454,
29918,
8568,
353,
18580,
29918,
1609,
29918,
8568,
29889,
657,
29898,
4993,
29918,
8568,
29897,
13,
18884,
565,
18580,
29918,
1454,
29918,
8568,
29901,
13,
462,
1678,
363,
3151,
297,
18580,
29918,
1454,
29918,
8568,
29901,
13,
462,
4706,
3151,
4097,
29918,
5750,
29961,
2764,
1839,
2764,
1061,
2033,
1822,
1202,
29898,
2764,
1839,
4993,
29918,
8568,
11287,
13,
462,
4706,
3151,
4097,
29918,
17868,
29961,
2764,
1839,
2764,
1061,
2033,
1822,
1202,
29898,
2764,
1839,
3274,
29918,
8568,
11287,
13,
462,
4706,
18580,
29918,
1609,
29918,
11338,
29961,
2764,
1839,
4039,
2033,
29962,
4619,
29871,
29896,
13,
462,
4706,
3151,
29918,
5750,
29918,
15190,
29961,
2764,
1839,
1256,
13359,
710,
615,
603,
29898,
2176,
29897,
1822,
1202,
29898,
13,
462,
9651,
3151,
1839,
4993,
29918,
8568,
11287,
13,
462,
4706,
3151,
29918,
17868,
29918,
15190,
29961,
2764,
1839,
1256,
13359,
710,
615,
603,
29898,
2176,
29897,
1822,
1202,
29898,
13,
462,
9651,
3151,
1839,
3274,
29918,
8568,
11287,
13,
4706,
363,
3151,
29892,
9976,
297,
3151,
4097,
29918,
5750,
29889,
7076,
7295,
13,
9651,
3151,
4097,
29918,
5750,
29918,
2798,
29879,
29961,
2764,
29962,
353,
7431,
29898,
26586,
29897,
13,
4706,
363,
3151,
29892,
9976,
297,
3151,
4097,
29918,
17868,
29889,
7076,
7295,
13,
9651,
3151,
4097,
29918,
17868,
29918,
2798,
29879,
29961,
2764,
29962,
353,
7431,
29898,
26586,
29897,
13,
4706,
1857,
29918,
5750,
29918,
2083,
353,
29871,
29900,
13,
4706,
1857,
29918,
17868,
29918,
2083,
353,
29871,
29900,
13,
4706,
363,
2635,
29892,
9976,
297,
12705,
29898,
2764,
29918,
5750,
29918,
15190,
29889,
7076,
580,
1125,
13,
9651,
1857,
29918,
5750,
29918,
2083,
4619,
7431,
29898,
26586,
29897,
13,
9651,
3151,
29918,
5750,
29918,
1256,
29918,
2083,
29889,
4397,
3552,
1256,
29892,
1857,
29918,
5750,
29918,
2083,
876,
13,
4706,
363,
2635,
29892,
9976,
297,
12705,
29898,
2764,
29918,
17868,
29918,
15190,
29889,
7076,
580,
1125,
13,
9651,
1857,
29918,
17868,
29918,
2083,
4619,
7431,
29898,
26586,
29897,
13,
9651,
3151,
29918,
17868,
29918,
1256,
29918,
2083,
29889,
4397,
3552,
1256,
29892,
1857,
29918,
17868,
29918,
2083,
876,
13,
13,
4706,
3151,
29918,
16202,
353,
426,
13,
9651,
525,
2764,
4097,
29918,
5750,
29918,
2798,
29879,
2396,
12705,
29898,
13,
18884,
3151,
4097,
29918,
5750,
29918,
2798,
29879,
29889,
7076,
3285,
1820,
29922,
2892,
921,
29901,
921,
29961,
29896,
1402,
11837,
29922,
5574,
511,
13,
9651,
525,
2764,
4097,
29918,
17868,
29918,
2798,
29879,
2396,
12705,
29898,
13,
18884,
3151,
4097,
29918,
17868,
29918,
2798,
29879,
29889,
7076,
3285,
1820,
29922,
2892,
921,
29901,
921,
29961,
29896,
1402,
11837,
29922,
5574,
511,
13,
9651,
525,
29883,
1295,
29918,
1609,
29918,
11338,
2396,
12705,
29898,
13,
18884,
18580,
29918,
1609,
29918,
11338,
29889,
7076,
3285,
1820,
29922,
2892,
921,
29901,
921,
29961,
29896,
1402,
11837,
29922,
5574,
511,
13,
9651,
525,
2764,
29918,
5750,
29918,
15190,
2396,
3151,
29918,
5750,
29918,
1256,
29918,
2083,
29892,
13,
9651,
525,
2764,
29918,
17868,
29918,
15190,
2396,
3151,
29918,
17868,
29918,
1256,
29918,
2083,
13,
4706,
500,
13,
4706,
736,
3151,
29918,
16202,
13,
13,
13,
1990,
4321,
29934,
618,
29898,
29934,
618,
1125,
13,
1678,
9995,
2744,
14997,
10947,
278,
2582,
310,
697,
1243,
4513,
29889,
13,
13,
1678,
12662,
2699,
13,
1678,
448,
1378,
29899,
13,
1678,
4390,
29918,
9902,
584,
1051,
29961,
8977,
29962,
13,
4706,
319,
1051,
310,
4663,
20917,
21503,
4314,
304,
3787,
2472,
1048,
278,
13,
4706,
1243,
2582,
29889,
450,
937,
8600,
3743,
2472,
1048,
278,
13,
4706,
1904,
29889,
7806,
18942,
8600,
3743,
2472,
1048,
263,
2323,
13,
4706,
1243,
7436,
304,
278,
1904,
322,
1243,
2582,
29889,
13,
1678,
2635,
29918,
710,
584,
851,
13,
4706,
5974,
746,
8125,
3260,
14040,
363,
445,
4513,
471,
2825,
29889,
13,
13,
1678,
6212,
5026,
13,
1678,
448,
1378,
29899,
13,
1678,
286,
29883,
29918,
8768,
29918,
9902,
584,
9657,
13,
4706,
319,
8600,
10417,
263,
1134,
310,
263,
8125,
5596,
261,
304,
263,
1051,
310,
1243,
13,
4706,
2582,
5759,
491,
445,
8125,
5596,
261,
13,
1678,
6987,
584,
1051,
29961,
513,
336,
29889,
6112,
4110,
29889,
14473,
29962,
13,
4706,
319,
1051,
310,
2672,
29928,
4717,
6666,
4110,
1304,
304,
1207,
27295,
1529,
29909,
6987,
29889,
13,
1678,
3033,
1674,
29918,
1688,
29918,
9902,
584,
9657,
13,
4706,
319,
8600,
10417,
263,
1243,
6608,
322,
263,
1051,
6943,
967,
4223,
13,
4706,
6139,
29892,
1121,
297,
6978,
29914,
16243,
29914,
29876,
29918,
29874,
883,
322,
2845,
263,
2224,
565,
372,
13,
4706,
471,
1476,
470,
263,
1121,
775,
565,
372,
471,
451,
29889,
13,
1678,
9995,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
4390,
29918,
9902,
29892,
2635,
29918,
710,
1125,
13,
4706,
2428,
2141,
1649,
2344,
12035,
1256,
29918,
710,
29897,
13,
4706,
1583,
29889,
3126,
29918,
9902,
353,
4390,
29918,
9902,
13,
4706,
286,
29883,
29918,
8768,
353,
1583,
29889,
3126,
29918,
9902,
29961,
29900,
1822,
657,
877,
14047,
29918,
8768,
742,
6024,
29886,
952,
29890,
11287,
13,
4706,
1583,
29889,
14047,
29918,
8768,
29918,
9902,
353,
6571,
13,
4706,
363,
286,
29883,
29918,
1853,
297,
286,
29883,
29918,
8768,
29901,
13,
9651,
1583,
29889,
14047,
29918,
8768,
29918,
9902,
29961,
14047,
29918,
1853,
29962,
353,
1583,
3032,
657,
29918,
9902,
29898,
14047,
29918,
1853,
29897,
13,
4706,
1583,
29889,
21150,
353,
1583,
3032,
657,
29918,
21150,
580,
13,
4706,
1583,
29889,
996,
1674,
29918,
1688,
29918,
9902,
353,
1583,
3032,
657,
29918,
932,
2957,
29918,
21150,
29918,
9902,
580,
13,
13,
1678,
732,
1990,
5696,
13,
1678,
822,
2254,
29918,
3166,
29918,
29879,
29941,
29918,
1989,
29898,
25932,
29892,
1820,
29892,
20968,
29922,
12665,
1529,
29909,
29918,
7838,
7077,
2544,
29918,
5813,
1125,
13,
4706,
17927,
29889,
3888,
29898,
29888,
29915,
23456,
4390,
515,
426,
1989,
29913,
1495,
13,
4706,
4390,
29918,
9902,
353,
2254,
29918,
3126,
29918,
3166,
29918,
29879,
29941,
29898,
21454,
29892,
1820,
29897,
13,
4706,
2635,
29918,
710,
353,
4390,
29918,
9902,
29961,
29900,
1822,
657,
877,
1256,
29918,
710,
742,
17820,
29918,
449,
29918,
1256,
29898,
1989,
876,
13,
4706,
736,
1067,
29879,
29898,
3126,
29918,
9902,
29892,
2635,
29918,
710,
29897,
13,
13,
1678,
822,
679,
29918,
932,
2957,
29918,
1688,
29918,
8568,
267,
29898,
1311,
1125,
13,
4706,
9995,
11609,
263,
1051,
310,
6608,
267,
363,
599,
7436,
6987,
1213,
15945,
13,
4706,
736,
1051,
29898,
1311,
29889,
996,
1674,
29918,
1688,
29918,
9902,
29889,
8149,
3101,
13,
13,
1678,
822,
679,
29918,
3364,
287,
29918,
1688,
29918,
8568,
267,
29898,
1311,
29892,
286,
29883,
29918,
1853,
2433,
29886,
952,
29890,
29374,
13,
4706,
9995,
11609,
263,
1051,
310,
6608,
267,
363,
4502,
6987,
1213,
15945,
13,
4706,
736,
518,
1688,
29918,
8568,
363,
1243,
29918,
8568,
297,
1583,
29889,
996,
1674,
29918,
1688,
29918,
9902,
29889,
8149,
580,
565,
13,
18884,
1583,
29889,
996,
1674,
29918,
1688,
29918,
9902,
29961,
1688,
29918,
8568,
3816,
14047,
29918,
1853,
3816,
29900,
29962,
1275,
525,
7129,
2033,
13,
13,
1678,
822,
679,
29918,
7827,
29918,
932,
2957,
29918,
21150,
29898,
1311,
1125,
13,
4706,
9995,
11609,
263,
1353,
310,
599,
7436,
6987,
1213,
15945,
13,
4706,
3001,
353,
7431,
29898,
1311,
29889,
21150,
29897,
13,
4706,
17927,
29889,
3888,
29898,
29888,
29915,
29912,
7827,
29913,
6987,
892,
7436,
29889,
1495,
13,
4706,
736,
3001,
13,
13,
1678,
822,
679,
29918,
4537,
29918,
3364,
287,
29918,
21150,
29898,
1311,
29892,
286,
29883,
29918,
1853,
2433,
29886,
952,
29890,
29374,
13,
4706,
9995,
11609,
263,
1353,
310,
599,
4502,
6987,
1213,
15945,
13,
4706,
3001,
353,
7431,
29898,
1311,
29889,
657,
29918,
3364,
287,
29918,
1688,
29918,
8568,
267,
29898,
14047,
29918,
1853,
876,
13,
4706,
17927,
29889,
3888,
29898,
29888,
29915,
29912,
7827,
29913,
6987,
4502,
29889,
1495,
13,
4706,
736,
3001,
13,
13,
1678,
822,
4502,
29918,
957,
29918,
7827,
29898,
1311,
29892,
286,
29883,
29918,
1853,
2433,
29886,
952,
29890,
29374,
13,
4706,
9995,
11609,
263,
11959,
310,
4502,
975,
3001,
6987,
1213,
15945,
13,
4706,
736,
1583,
29889,
657,
29918,
4537,
29918,
3364,
287,
29918,
21150,
29898,
14047,
29918,
1853,
6802,
1311,
29889,
657,
29918,
7827,
29918,
932,
2957,
29918,
21150,
580,
13,
13,
1678,
822,
903,
657,
29918,
932,
2957,
29918,
21150,
29918,
9902,
29898,
1311,
1125,
13,
4706,
9995,
11609,
263,
8600,
10417,
263,
1243,
6608,
322,
263,
1051,
6943,
967,
13,
4706,
4223,
6139,
29892,
1121,
297,
6978,
29914,
16243,
883,
322,
2845,
263,
2224,
565,
372,
13,
4706,
471,
1476,
470,
263,
1121,
775,
565,
372,
471,
451,
1213,
15945,
13,
4706,
6987,
29918,
1609,
29918,
8568,
353,
6571,
13,
4706,
17927,
29889,
3888,
877,
8015,
2546,
1747,
1243,
6608,
267,
29892,
3033,
1674,
6987,
322,
1243,
2582,
29889,
1495,
13,
13,
4706,
822,
679,
29918,
3364,
29918,
14057,
29898,
690,
1125,
13,
9651,
396,
2266,
671,
1121,
29889,
2084,
29918,
11940,
1363,
591,
2562,
565,
278,
2224,
471,
1476,
13,
9651,
396,
322,
437,
451,
2562,
1048,
2224,
3309,
13,
9651,
565,
620,
29889,
2084,
29918,
11940,
29901,
13,
18884,
736,
525,
7129,
29915,
13,
9651,
25342,
620,
29889,
2914,
29918,
401,
1275,
525,
19713,
13780,
29918,
11116,
29918,
12256,
29918,
29950,
9468,
20566,
2396,
13,
18884,
736,
525,
29876,
29918,
29874,
29915,
13,
9651,
1683,
29901,
13,
18884,
736,
525,
16243,
29915,
13,
13,
4706,
822,
679,
29918,
2084,
29918,
272,
29918,
401,
29898,
861,
29892,
620,
29892,
286,
29883,
29918,
1853,
1125,
13,
9651,
2224,
29918,
272,
29918,
401,
353,
6213,
13,
9651,
396,
2266,
671,
1121,
29889,
24772,
1363,
591,
2562,
1048,
3935,
2224,
313,
29875,
29889,
29872,
29889,
13,
9651,
396,
591,
508,
29915,
29873,
679,
263,
2224,
13461,
292,
4236,
2224,
3309,
29897,
13,
9651,
565,
620,
29889,
24772,
29901,
13,
18884,
1018,
29901,
13,
462,
1678,
2224,
29918,
272,
29918,
401,
353,
313,
13,
462,
4706,
1583,
29889,
3126,
29918,
9902,
29961,
861,
29974,
29896,
3816,
14047,
29918,
1853,
22322,
2084,
29918,
3126,
11287,
13,
18884,
396,
565,
4390,
1838,
29915,
29873,
1712,
777,
310,
278,
4235,
13,
18884,
5174,
7670,
2392,
29901,
13,
462,
1678,
1209,
13,
9651,
396,
960,
2224,
9007,
29915,
29873,
1476,
470,
9132,
297,
4390,
13,
9651,
565,
451,
2224,
29918,
272,
29918,
401,
29901,
13,
18884,
1018,
29901,
13,
462,
1678,
2224,
29918,
272,
29918,
401,
353,
313,
13,
462,
4706,
1583,
29889,
3126,
29918,
9902,
29961,
861,
29974,
29896,
3816,
14047,
29918,
1853,
22322,
2914,
29918,
401,
11287,
13,
18884,
5174,
7670,
2392,
29901,
13,
462,
1678,
1209,
13,
9651,
396,
6527,
29876,
29915,
29873,
679,
2845,
2224,
470,
775,
6139,
515,
4390,
13,
9651,
565,
451,
2224,
29918,
272,
29918,
401,
29901,
13,
18884,
2224,
29918,
272,
29918,
401,
353,
620,
29889,
2914,
29918,
401,
13,
9651,
736,
2224,
29918,
272,
29918,
401,
13,
13,
4706,
363,
474,
29916,
29892,
1243,
297,
26985,
29898,
1311,
29889,
21150,
1125,
13,
9651,
1243,
29918,
8568,
353,
851,
29898,
1688,
29889,
657,
29918,
8568,
29898,
22379,
29922,
5574,
876,
13,
9651,
6987,
29918,
1609,
29918,
8568,
29961,
1688,
29918,
8568,
29962,
353,
426,
13,
18884,
525,
1688,
2396,
1583,
29889,
657,
29918,
996,
1674,
29918,
20788,
29898,
1688,
2915,
13,
9651,
363,
286,
29883,
29918,
1853,
297,
1583,
29889,
14047,
29918,
8768,
29918,
9902,
29901,
13,
18884,
1121,
353,
1583,
29889,
14047,
29918,
8768,
29918,
9902,
29961,
14047,
29918,
1853,
3816,
861,
29962,
13,
18884,
6987,
29918,
1609,
29918,
8568,
29961,
1688,
29918,
8568,
3816,
14047,
29918,
1853,
29962,
353,
518,
13,
462,
4706,
679,
29918,
3364,
29918,
14057,
29898,
2914,
511,
13,
462,
4706,
679,
29918,
2084,
29918,
272,
29918,
401,
29898,
861,
29892,
1121,
29892,
286,
29883,
29918,
1853,
4638,
13,
4706,
736,
6987,
29918,
1609,
29918,
8568,
13,
13,
1678,
822,
679,
29918,
2084,
29918,
17868,
29918,
2798,
29879,
29898,
1311,
1125,
13,
4706,
2224,
29918,
17868,
29918,
2798,
29879,
353,
1583,
29889,
3126,
29918,
9902,
29961,
29900,
1822,
657,
877,
2084,
29918,
17868,
29918,
2798,
29879,
1495,
13,
4706,
565,
2224,
29918,
17868,
29918,
2798,
29879,
29901,
13,
9651,
736,
12705,
29898,
13,
18884,
2224,
29918,
17868,
29918,
2798,
29879,
29889,
7076,
3285,
1820,
29922,
2892,
921,
29901,
921,
29961,
29896,
1402,
11837,
29922,
5574,
29897,
13,
4706,
736,
5159,
13,
13,
1678,
822,
903,
657,
29918,
9902,
29898,
1311,
29892,
286,
29883,
29918,
1853,
1125,
13,
4706,
443,
23945,
1358,
353,
4390,
23945,
280,
29889,
348,
23945,
1358,
29889,
2525,
23945,
1358,
580,
13,
4706,
1243,
29918,
9902,
353,
518,
348,
23945,
1358,
29889,
5060,
487,
29898,
2914,
29961,
14047,
29918,
1853,
22322,
2914,
29918,
3126,
11287,
13,
462,
4706,
363,
1121,
297,
1583,
29889,
3126,
29918,
9902,
29961,
29896,
29901,
5262,
13,
4706,
736,
1243,
29918,
9902,
13,
13,
1678,
822,
903,
657,
29918,
21150,
29898,
1311,
1125,
13,
4706,
6987,
353,
518,
14473,
3032,
3166,
29918,
3126,
29898,
690,
1839,
1688,
29918,
3126,
11287,
13,
462,
363,
620,
297,
1583,
29889,
3126,
29918,
9902,
29961,
29896,
29901,
5262,
13,
4706,
736,
6987,
13,
13,
13,
1990,
624,
1446,
21575,
29898,
3318,
1125,
13,
1678,
9995,
9780,
770,
363,
4413,
14655,
1002,
4695,
363,
263,
2183,
4513,
310,
13,
1678,
6987,
470,
1904,
2767,
29889,
13,
13,
1678,
12662,
2699,
13,
1678,
448,
1378,
29899,
13,
1678,
1904,
29918,
978,
584,
851,
13,
4706,
319,
1024,
310,
263,
1904,
278,
6987,
892,
1065,
2750,
29889,
13,
1678,
9281,
29918,
14486,
584,
8125,
29934,
618,
470,
4321,
29934,
618,
470,
6213,
13,
4706,
530,
2777,
310,
263,
8125,
29934,
618,
470,
4321,
29934,
618,
304,
5706,
13964,
363,
29889,
13,
4706,
960,
451,
2183,
29892,
674,
367,
5759,
491,
8363,
4390,
515,
269,
29941,
29889,
13,
1678,
3517,
29918,
14486,
584,
8125,
29934,
618,
470,
4321,
29934,
618,
470,
6213,
13,
4706,
319,
1422,
2777,
310,
263,
8125,
29934,
618,
470,
4321,
29934,
618,
304,
1284,
19471,
13,
4706,
1546,
1023,
364,
3885,
29889,
960,
451,
2183,
29892,
674,
367,
5759,
491,
8363,
4390,
13,
4706,
515,
269,
29941,
29889,
13,
1678,
3517,
29918,
3126,
29918,
16202,
584,
9657,
13,
4706,
319,
4663,
29899,
689,
19667,
8600,
6943,
1904,
470,
1243,
13964,
363,
13,
4706,
278,
3517,
4513,
29889,
13,
1678,
6212,
5026,
13,
1678,
448,
1378,
29899,
13,
1678,
4390,
29918,
16202,
584,
9657,
13,
4706,
319,
4663,
29899,
689,
19667,
8600,
6943,
1904,
470,
1243,
13964,
29889,
13,
1678,
9995,
13,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
1904,
29918,
978,
29892,
9281,
29918,
14486,
29922,
8516,
29892,
3517,
29918,
14486,
29922,
8516,
29892,
13,
462,
3517,
29918,
3126,
29918,
16202,
29922,
8516,
29892,
20968,
29922,
12665,
1529,
29909,
29918,
7838,
7077,
2544,
29918,
5813,
1125,
13,
4706,
1583,
29889,
4299,
29918,
978,
353,
1904,
29918,
978,
13,
4706,
1583,
29889,
21454,
353,
20968,
13,
4706,
1583,
29889,
24957,
29918,
1256,
29918,
710,
353,
6213,
13,
4706,
565,
451,
9281,
29918,
14486,
29901,
13,
9651,
1583,
29889,
12333,
29918,
14486,
353,
1583,
3032,
657,
29918,
12333,
29918,
14486,
580,
13,
4706,
1683,
29901,
13,
9651,
1583,
29889,
12333,
29918,
14486,
353,
9281,
29918,
14486,
13,
4706,
565,
451,
3517,
29918,
3126,
29918,
16202,
29901,
13,
9651,
1583,
29889,
24957,
29918,
3126,
29918,
16202,
353,
1583,
3032,
657,
29918,
24957,
29918,
3126,
29918,
16202,
580,
13,
4706,
1683,
29901,
13,
9651,
1583,
29889,
24957,
29918,
3126,
29918,
16202,
353,
3517,
29918,
3126,
29918,
16202,
13,
4706,
565,
451,
3517,
29918,
14486,
29901,
13,
9651,
1583,
29889,
24957,
29918,
14486,
353,
1583,
3032,
657,
29918,
24957,
29918,
14486,
580,
13,
4706,
1683,
29901,
13,
9651,
1583,
29889,
24957,
29918,
14486,
353,
3517,
29918,
14486,
13,
4706,
1583,
29889,
3126,
29918,
16202,
353,
6571,
13,
13,
1678,
822,
1207,
29918,
25990,
29918,
957,
29918,
2230,
29898,
1311,
1125,
13,
4706,
9995,
2528,
3620,
304,
1904,
322,
6987,
975,
931,
304,
4390,
29918,
16202,
1213,
15945,
13,
4706,
12020,
2216,
1888,
2037,
287,
2392,
703,
4062,
1818,
367,
8762,
297,
2278,
770,
23157,
13,
13,
1678,
822,
679,
29918,
957,
29918,
2230,
29898,
1311,
29892,
4004,
29892,
21556,
29892,
3579,
19290,
1125,
13,
4706,
12020,
2216,
1888,
2037,
287,
2392,
703,
4062,
1818,
367,
8762,
297,
2278,
770,
23157,
13,
13,
1678,
822,
679,
29918,
15190,
29898,
1311,
1125,
13,
4706,
565,
451,
1583,
29889,
24957,
29918,
3126,
29918,
16202,
29901,
13,
9651,
3517,
29918,
15190,
353,
5159,
13,
4706,
1683,
29901,
13,
9651,
3517,
29918,
15190,
353,
313,
13,
18884,
1583,
29889,
24957,
29918,
3126,
29918,
16202,
1839,
25990,
29918,
957,
29918,
2230,
16215,
15190,
11287,
13,
4706,
3517,
29918,
15190,
29889,
4397,
29898,
1311,
29889,
12333,
29918,
14486,
29889,
1256,
29918,
710,
29897,
13,
4706,
736,
3517,
29918,
15190,
13,
13,
1678,
822,
4078,
29918,
517,
29918,
29879,
29941,
29918,
1989,
29898,
1311,
29892,
22663,
29918,
1989,
1125,
13,
4706,
565,
1583,
29889,
3126,
29918,
16202,
29901,
13,
9651,
17927,
29889,
3888,
29898,
29888,
29915,
3373,
13234,
13964,
304,
426,
16202,
29918,
1989,
29913,
1495,
13,
9651,
4078,
29918,
3126,
29918,
517,
29918,
29879,
29941,
29898,
1311,
29889,
3126,
29918,
16202,
29892,
1583,
29889,
21454,
29892,
22663,
29918,
1989,
29897,
13,
13,
1678,
822,
4078,
29918,
517,
29918,
29879,
29941,
29898,
1311,
1125,
13,
4706,
12020,
2216,
1888,
2037,
287,
2392,
703,
4062,
1818,
367,
8762,
297,
2278,
770,
23157,
13,
13,
1678,
822,
903,
657,
29918,
12333,
29918,
14486,
29898,
1311,
1125,
13,
4706,
12020,
2216,
1888,
2037,
287,
2392,
703,
4062,
1818,
367,
8762,
297,
2278,
770,
23157,
13,
13,
1678,
822,
903,
657,
29918,
24957,
29918,
14486,
29898,
1311,
1125,
13,
4706,
12020,
2216,
1888,
2037,
287,
2392,
703,
4062,
1818,
367,
8762,
297,
2278,
770,
23157,
13,
13,
1678,
822,
903,
657,
29918,
24957,
29918,
3126,
29918,
16202,
29898,
1311,
1125,
13,
4706,
12020,
2216,
1888,
2037,
287,
2392,
703,
4062,
1818,
367,
8762,
297,
2278,
770,
23157,
13,
13,
13,
1990,
8125,
25060,
21575,
29898,
25060,
21575,
1125,
13,
1678,
9995,
5631,
1078,
1002,
4695,
363,
263,
2183,
1904,
2767,
4513,
29889,
13,
13,
1678,
12662,
2699,
13,
1678,
448,
1378,
29899,
13,
1678,
1904,
29918,
978,
584,
851,
13,
4706,
319,
1024,
310,
263,
1904,
278,
6987,
892,
1065,
2750,
29889,
13,
1678,
9281,
29918,
14486,
584,
953,
655,
29874,
29889,
24209,
911,
29918,
21150,
29918,
9902,
29889,
3195,
29934,
618,
13,
4706,
530,
2777,
310,
263,
8125,
29934,
618,
304,
5706,
13964,
363,
29889,
960,
451,
2183,
29892,
13,
4706,
674,
367,
5759,
491,
8363,
1904,
848,
515,
269,
29941,
29889,
13,
1678,
3517,
29918,
14486,
584,
953,
655,
29874,
29889,
24209,
911,
29918,
21150,
29918,
9902,
29889,
3195,
29934,
618,
13,
4706,
319,
1422,
2777,
310,
263,
8125,
29934,
618,
304,
1284,
19471,
1546,
1023,
364,
3885,
29889,
13,
4706,
960,
451,
2183,
29892,
674,
367,
5759,
491,
8363,
1904,
848,
515,
269,
29941,
29889,
13,
1678,
3517,
29918,
3126,
29918,
16202,
584,
1051,
29961,
8977,
29962,
13,
4706,
319,
4663,
29899,
689,
19667,
8600,
6943,
1904,
13964,
363,
3517,
13,
4706,
2767,
4513,
29889,
13,
13,
1678,
6212,
5026,
13,
1678,
448,
1378,
29899,
13,
1678,
4390,
29918,
16202,
584,
9657,
13,
4706,
319,
4663,
29899,
689,
19667,
8600,
6943,
1904,
13964,
29889,
13,
1678,
9995,
13,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
1904,
29918,
978,
29892,
9281,
29918,
14486,
29922,
8516,
29892,
3517,
29918,
14486,
29922,
8516,
29892,
13,
462,
3517,
29918,
3126,
29918,
16202,
29922,
8516,
29892,
20968,
29922,
12665,
1529,
29909,
29918,
7838,
7077,
2544,
29918,
5813,
1125,
13,
4706,
2428,
2141,
1649,
2344,
12035,
4299,
29918,
978,
29892,
9281,
29918,
14486,
29892,
3517,
29918,
14486,
29892,
13,
462,
308,
3517,
29918,
3126,
29918,
16202,
29892,
20968,
29897,
13,
13,
1678,
822,
1207,
29918,
16202,
29898,
1311,
1125,
13,
4706,
9995,
5596,
565,
1023,
9281,
1904,
364,
3885,
892,
1476,
322,
788,
13964,
304,
13,
4706,
4390,
29918,
16202,
8600,
29889,
960,
1716,
9281,
4513,
322,
3517,
4513,
13,
4706,
892,
4502,
470,
1476,
373,
269,
29941,
29892,
263,
8600,
674,
505,
2211,
1820,
29899,
1767,
13,
4706,
11000,
29901,
1904,
29918,
7727,
29892,
1904,
29918,
4181,
29892,
322,
3620,
29918,
957,
29918,
2230,
29889,
13,
4706,
9995,
13,
4706,
565,
451,
1583,
29889,
12333,
29918,
14486,
29901,
13,
9651,
17927,
29889,
3888,
29898,
29888,
29915,
13992,
342,
4513,
363,
426,
1311,
29889,
4299,
29918,
978,
29913,
338,
451,
1476,
29889,
1495,
13,
9651,
736,
13,
4706,
565,
1583,
29889,
24957,
29918,
3126,
29918,
16202,
322,
451,
1583,
29889,
24957,
29918,
14486,
29901,
13,
9651,
17927,
29889,
3888,
29898,
29888,
29915,
13992,
342,
22663,
526,
1476,
541,
9281,
4513,
338,
451,
29889,
1495,
13,
9651,
736,
13,
4706,
17927,
29889,
3888,
29898,
29888,
29915,
5631,
1218,
22663,
363,
426,
1311,
29889,
4299,
29918,
978,
1836,
1495,
13,
4706,
1583,
29889,
5675,
29918,
4299,
29918,
7727,
580,
13,
4706,
1583,
29889,
5675,
29918,
4299,
29918,
4181,
580,
13,
4706,
1583,
29889,
5675,
29918,
19773,
29918,
4181,
580,
13,
4706,
1583,
29889,
5675,
29918,
19773,
29918,
7727,
580,
13,
4706,
1583,
29889,
5675,
29918,
29883,
2633,
29918,
7727,
580,
13,
4706,
1583,
29889,
5675,
29918,
25990,
29918,
957,
29918,
2230,
580,
13,
13,
1678,
822,
1207,
29918,
4299,
29918,
7727,
29898,
1311,
1125,
13,
4706,
9995,
2528,
9281,
1904,
2106,
15837,
304,
4390,
29918,
16202,
1213,
15945,
13,
4706,
17927,
29889,
3888,
29898,
29888,
29915,
5631,
1218,
1904,
15837,
363,
426,
1311,
29889,
4299,
29918,
978,
1836,
1495,
13,
4706,
1583,
29889,
3126,
29918,
16202,
1839,
4299,
29918,
7727,
2033,
353,
426,
13,
9651,
525,
4299,
29918,
978,
2396,
1583,
29889,
4299,
29918,
978,
29892,
13,
9651,
525,
4537,
29918,
974,
29918,
6112,
4110,
2396,
1583,
29889,
12333,
29918,
14486,
29889,
657,
29918,
7827,
29918,
6112,
4110,
3285,
13,
9651,
525,
303,
29885,
1372,
29918,
1853,
29918,
29881,
2132,
2396,
1583,
29889,
12333,
29918,
14486,
29889,
657,
29918,
20788,
29918,
8768,
3285,
13,
9651,
525,
14748,
29918,
29881,
2132,
2396,
1583,
29889,
12333,
29918,
14486,
29889,
657,
29918,
14748,
29918,
27691,
3285,
13,
9651,
525,
303,
29885,
1372,
29918,
1609,
29918,
5750,
5084,
2396,
1583,
29889,
12333,
29918,
14486,
29889,
657,
29918,
6112,
4110,
29918,
1609,
29918,
5750,
5084,
3285,
13,
9651,
525,
29879,
2863,
2396,
1583,
29889,
12333,
29918,
14486,
29889,
657,
29918,
29879,
2863,
29918,
27691,
3285,
13,
9651,
525,
497,
29918,
303,
29885,
1372,
2396,
1583,
29889,
12333,
29918,
14486,
29889,
657,
29918,
996,
1674,
29918,
6112,
4110,
29918,
1609,
29918,
8568,
580,
13,
4706,
500,
13,
13,
1678,
822,
1207,
29918,
4299,
29918,
4181,
29898,
1311,
1125,
13,
4706,
9995,
2528,
1904,
19471,
1546,
1023,
9281,
1904,
5922,
304,
4390,
29918,
16202,
1213,
15945,
13,
4706,
17927,
29889,
3888,
29898,
29888,
29915,
5631,
1218,
1904,
19471,
363,
426,
1311,
29889,
4299,
29918,
978,
1836,
1495,
13,
4706,
565,
451,
1583,
29889,
24957,
29918,
14486,
29901,
13,
9651,
1583,
29889,
3126,
29918,
16202,
1839,
4299,
29918,
4181,
2033,
353,
426,
13,
18884,
525,
6112,
4110,
29918,
8568,
267,
29918,
4181,
2396,
11117,
23959,
2396,
19997,
525,
1745,
8238,
2396,
5159,
930,
13,
4706,
1683,
29901,
13,
9651,
380,
29885,
1372,
29918,
4181,
353,
1583,
29889,
12333,
29918,
14486,
29889,
2886,
29918,
4181,
29918,
8568,
267,
29898,
13,
18884,
1583,
29889,
24957,
29918,
14486,
29892,
525,
6112,
4110,
1495,
13,
9651,
1583,
29889,
3126,
29918,
16202,
1839,
4299,
29918,
4181,
2033,
353,
426,
13,
18884,
525,
6112,
4110,
29918,
8568,
267,
29918,
4181,
2396,
380,
29885,
1372,
29918,
4181,
29913,
13,
9651,
10191,
353,
903,
5675,
29918,
24946,
29918,
7645,
29898,
1311,
29889,
4299,
29918,
978,
29892,
525,
303,
29885,
1372,
742,
380,
29885,
1372,
29918,
4181,
29892,
13,
462,
462,
1678,
1583,
29889,
12333,
29918,
14486,
29889,
1256,
29918,
710,
7503,
29896,
29900,
2314,
13,
9651,
565,
10191,
29901,
13,
18884,
17927,
29889,
3888,
29898,
7645,
29897,
13,
13,
1678,
822,
1207,
29918,
19773,
29918,
7727,
29898,
1311,
1125,
13,
4706,
9995,
2528,
9281,
5650,
15837,
304,
4390,
29918,
16202,
1213,
15945,
13,
4706,
17927,
29889,
3888,
29898,
29888,
29915,
5631,
1218,
1904,
15837,
363,
426,
1311,
29889,
4299,
29918,
978,
1836,
1495,
13,
4706,
1583,
29889,
3126,
29918,
16202,
1839,
19773,
29918,
7727,
2033,
353,
426,
13,
9651,
525,
1610,
29918,
19773,
29918,
4841,
2396,
1583,
29889,
12333,
29918,
14486,
29889,
657,
29918,
497,
29918,
1610,
29918,
19773,
29918,
4841,
3285,
13,
9651,
525,
4537,
29918,
974,
29918,
1610,
29918,
29886,
21321,
2396,
1583,
29889,
12333,
29918,
14486,
29889,
657,
29918,
4537,
29918,
1610,
29918,
29886,
21321,
3285,
13,
9651,
525,
465,
6967,
29881,
29918,
19773,
29918,
4841,
2396,
313,
13,
18884,
1583,
29889,
12333,
29918,
14486,
29889,
657,
29918,
497,
29918,
465,
6967,
29881,
29918,
19773,
29918,
4841,
25739,
13,
9651,
525,
4537,
29918,
974,
29918,
465,
6967,
29881,
29918,
29886,
21321,
2396,
313,
13,
18884,
1583,
29889,
12333,
29918,
14486,
29889,
657,
29918,
4537,
29918,
465,
6967,
29881,
29918,
29886,
21321,
25739,
13,
9651,
525,
303,
29885,
1372,
29918,
1609,
29918,
19773,
2396,
1583,
29889,
12333,
29918,
14486,
29889,
303,
29885,
1372,
29918,
1609,
29918,
29886,
21321,
29892,
13,
9651,
525,
19773,
29918,
29881,
2132,
2396,
1583,
29889,
12333,
29918,
14486,
29889,
657,
29918,
29886,
21321,
29918,
27691,
3285,
13,
9651,
525,
1610,
29918,
19773,
29918,
2798,
29879,
2396,
1583,
29889,
12333,
29918,
14486,
29889,
657,
29918,
1610,
29918,
19773,
29918,
2798,
29879,
580,
13,
4706,
500,
13,
4706,
3005,
29939,
29918,
509,
4841,
353,
518,
18784,
29961,
29900,
29962,
363,
5101,
297,
13,
462,
418,
1583,
29889,
3126,
29918,
16202,
1839,
19773,
29918,
7727,
16215,
19773,
29918,
29881,
2132,
2033,
7503,
29896,
29900,
5262,
13,
4706,
716,
29918,
509,
4841,
353,
1583,
29889,
3126,
29918,
16202,
1839,
19773,
29918,
4181,
16215,
1610,
29918,
19773,
29918,
4841,
29918,
4181,
2033,
29961,
13,
9651,
525,
23959,
2033,
13,
4706,
534,
4841,
353,
1051,
29898,
842,
29898,
29888,
7971,
29918,
509,
4841,
467,
13094,
29898,
842,
29898,
1482,
29918,
509,
4841,
4961,
13,
4706,
17735,
29892,
2988,
353,
1583,
29889,
12333,
29918,
14486,
29889,
657,
29918,
19773,
29918,
23545,
793,
29918,
392,
29918,
4965,
29898,
509,
4841,
29897,
13,
4706,
1583,
29889,
3126,
29918,
16202,
1839,
19773,
29918,
7727,
16215,
19773,
29918,
23545,
793,
2033,
353,
17735,
13,
4706,
1583,
29889,
3126,
29918,
16202,
1839,
19773,
29918,
7727,
16215,
19773,
29918,
4965,
2033,
353,
2988,
13,
13,
1678,
822,
1207,
29918,
19773,
29918,
4181,
29898,
1311,
1125,
13,
4706,
9995,
2528,
5650,
19471,
1546,
1023,
9281,
1904,
5922,
304,
4390,
29918,
16202,
1213,
15945,
13,
4706,
17927,
29889,
3888,
29898,
29888,
29915,
5631,
1218,
5650,
19471,
363,
426,
1311,
29889,
4299,
29918,
978,
1836,
1495,
13,
4706,
565,
451,
1583,
29889,
24957,
29918,
14486,
470,
451,
1583,
29889,
24957,
29918,
14486,
29889,
19773,
29918,
4841,
29901,
13,
9651,
1583,
29889,
3126,
29918,
16202,
1839,
19773,
29918,
4181,
2033,
353,
426,
13,
18884,
525,
1610,
29918,
19773,
29918,
4841,
29918,
4181,
2396,
11117,
23959,
2396,
19997,
525,
1745,
8238,
2396,
5159,
1118,
13,
18884,
525,
465,
6967,
29881,
29918,
19773,
29918,
4841,
29918,
4181,
2396,
11117,
23959,
2396,
19997,
525,
1745,
8238,
2396,
5159,
930,
13,
4706,
1683,
29901,
13,
9651,
10650,
29918,
19773,
29918,
4181,
353,
1583,
29889,
12333,
29918,
14486,
29889,
2886,
29918,
4181,
29918,
8568,
267,
29898,
13,
18884,
1583,
29889,
24957,
29918,
14486,
29892,
525,
1610,
29918,
29886,
21321,
1495,
13,
9651,
24940,
29881,
29918,
19773,
29918,
4181,
353,
1583,
29889,
12333,
29918,
14486,
29889,
2886,
29918,
4181,
29918,
8568,
267,
29898,
13,
18884,
1583,
29889,
24957,
29918,
14486,
29892,
525,
465,
6967,
29881,
29918,
29886,
21321,
1495,
13,
9651,
1583,
29889,
3126,
29918,
16202,
1839,
19773,
29918,
4181,
2033,
353,
426,
13,
18884,
525,
1610,
29918,
19773,
29918,
4841,
29918,
4181,
2396,
10650,
29918,
19773,
29918,
4181,
29892,
13,
18884,
525,
465,
6967,
29881,
29918,
19773,
29918,
4841,
29918,
4181,
2396,
24940,
29881,
29918,
19773,
29918,
4181,
29913,
13,
9651,
17927,
29889,
3888,
29898,
29888,
29915,
6359,
426,
2435,
29898,
1610,
29918,
19773,
29918,
4181,
3366,
23959,
20068,
29913,
716,
15055,
29889,
1495,
13,
9651,
17927,
29889,
3888,
29898,
29888,
29915,
29954,
327,
24940,
29881,
9506,
515,
525,
13,
462,
4706,
285,
29915,
29912,
2435,
29898,
465,
6967,
29881,
29918,
19773,
29918,
4181,
3366,
23959,
20068,
29913,
716,
15055,
29889,
1495,
13,
13,
1678,
822,
1207,
29918,
29883,
2633,
29918,
7727,
29898,
1311,
1125,
13,
4706,
9995,
2528,
9281,
274,
2633,
15837,
304,
4390,
29918,
16202,
1213,
15945,
13,
4706,
17927,
29889,
3888,
29898,
29888,
29915,
5631,
1218,
274,
2633,
15837,
363,
426,
1583,
29889,
4299,
29918,
978,
1836,
1495,
13,
4706,
3151,
29918,
16202,
353,
1583,
29889,
12333,
29918,
14486,
29889,
657,
29918,
29883,
2633,
29918,
16202,
580,
13,
4706,
1583,
29889,
3126,
29918,
16202,
1839,
29883,
2633,
29918,
7727,
2033,
353,
3151,
29918,
16202,
13,
13,
1678,
822,
1207,
29918,
25990,
29918,
957,
29918,
2230,
29898,
1311,
1125,
13,
4706,
9995,
2528,
3620,
304,
1904,
975,
931,
304,
4390,
29918,
16202,
1213,
15945,
13,
4706,
17927,
29889,
3888,
29898,
29888,
29915,
1523,
862,
292,
3620,
975,
931,
363,
426,
1311,
29889,
4299,
29918,
978,
1836,
1495,
13,
4706,
1583,
29889,
3126,
29918,
16202,
1839,
25990,
29918,
957,
29918,
2230,
2033,
353,
426,
13,
9651,
525,
4537,
29918,
974,
29918,
6112,
4110,
2396,
1583,
29889,
657,
29918,
957,
29918,
2230,
29898,
13,
18884,
525,
4299,
29918,
7727,
742,
525,
4537,
29918,
974,
29918,
6112,
4110,
5477,
13,
9651,
525,
4537,
29918,
974,
29918,
1610,
29918,
29886,
21321,
2396,
1583,
29889,
657,
29918,
957,
29918,
2230,
29898,
13,
18884,
525,
19773,
29918,
7727,
742,
525,
4537,
29918,
974,
29918,
1610,
29918,
29886,
21321,
5477,
13,
9651,
525,
4537,
29918,
974,
29918,
465,
6967,
29881,
29918,
29886,
21321,
2396,
1583,
29889,
657,
29918,
957,
29918,
2230,
29898,
13,
18884,
525,
19773,
29918,
7727,
742,
525,
4537,
29918,
974,
29918,
465,
6967,
29881,
29918,
29886,
21321,
5477,
13,
9651,
525,
15190,
2396,
1583,
29889,
657,
29918,
15190,
28296,
13,
13,
1678,
822,
679,
29918,
957,
29918,
2230,
29898,
1311,
29892,
4004,
29892,
21556,
29892,
286,
29883,
29918,
1853,
2433,
29886,
952,
29890,
29374,
13,
4706,
17927,
29889,
3888,
29898,
29888,
29915,
2577,
1259,
3620,
975,
931,
297,
426,
2527,
10817,
29913,
525,
13,
462,
1678,
285,
29915,
1454,
426,
1311,
29889,
4299,
29918,
978,
1836,
1495,
13,
4706,
396,
3824,
3625,
22663,
13,
4706,
565,
451,
1583,
29889,
24957,
29918,
3126,
29918,
16202,
29901,
13,
9651,
3517,
29918,
1272,
353,
5159,
13,
4706,
1683,
29901,
13,
9651,
3517,
29918,
1272,
353,
313,
13,
18884,
1583,
29889,
24957,
29918,
3126,
29918,
16202,
1839,
25990,
29918,
957,
29918,
2230,
13359,
657,
29898,
2527,
10817,
29892,
5159,
876,
13,
4706,
3517,
29918,
1272,
29889,
4397,
29898,
1311,
29889,
3126,
29918,
16202,
29961,
2042,
3816,
2527,
10817,
2314,
13,
4706,
736,
3517,
29918,
1272,
13,
13,
1678,
822,
4078,
29918,
517,
29918,
29879,
29941,
29898,
1311,
1125,
13,
4706,
2635,
29918,
710,
353,
1583,
29889,
12333,
29918,
14486,
29889,
1256,
29918,
710,
13,
4706,
22663,
29918,
1989,
353,
313,
13,
9651,
285,
29915,
4299,
29918,
16202,
19248,
1311,
29889,
4299,
29918,
978,
6822,
4299,
29918,
16202,
648,
1256,
29918,
710,
1836,
3126,
1495,
13,
4706,
2428,
2141,
7620,
29918,
517,
29918,
29879,
29941,
29918,
1989,
29898,
16202,
29918,
1989,
29897,
13,
13,
1678,
822,
903,
657,
29918,
12333,
29918,
14486,
29898,
1311,
1125,
13,
4706,
9281,
29918,
1989,
353,
1284,
29918,
12333,
29918,
29879,
29941,
29918,
1445,
29898,
13,
9651,
1583,
29889,
21454,
29892,
285,
29915,
9902,
19248,
1311,
29889,
4299,
29918,
978,
6822,
4299,
29918,
12847,
29918,
742,
13,
9651,
6081,
2433,
29889,
29886,
6321,
1495,
13,
4706,
565,
9281,
29918,
1989,
338,
6213,
29901,
13,
9651,
17927,
29889,
3888,
29898,
29888,
29915,
23323,
451,
1284,
263,
1820,
304,
278,
9281,
1904,
8455,
525,
13,
462,
4706,
285,
29915,
1454,
426,
1311,
29889,
4299,
29918,
978,
29913,
1904,
29889,
1495,
13,
9651,
736,
13,
4706,
17927,
29889,
3888,
29898,
29888,
29915,
23456,
9281,
4513,
515,
426,
12333,
29918,
1989,
29913,
1495,
13,
4706,
286,
29878,
353,
8125,
29934,
618,
29889,
1359,
29918,
3166,
29918,
29879,
29941,
29918,
1989,
29898,
12333,
29918,
1989,
29892,
20968,
29922,
1311,
29889,
21454,
29892,
13,
462,
462,
308,
2254,
29918,
342,
29885,
1372,
29922,
5574,
29897,
13,
4706,
736,
286,
29878,
13,
13,
1678,
822,
903,
657,
29918,
24957,
29918,
14486,
29898,
1311,
1125,
13,
4706,
565,
451,
1583,
29889,
24957,
29918,
3126,
29918,
16202,
29901,
13,
9651,
17927,
29889,
3888,
877,
3664,
8363,
3517,
4513,
1728,
3517,
22663,
1495,
13,
9651,
736,
13,
4706,
3517,
29918,
1989,
353,
313,
29888,
29915,
9902,
19248,
1311,
29889,
4299,
29918,
978,
6822,
4299,
29918,
12847,
29918,
29915,
13,
462,
4706,
285,
29915,
29912,
1311,
29889,
24957,
29918,
1256,
29918,
710,
1836,
29886,
6321,
1495,
13,
4706,
565,
3517,
29918,
1989,
338,
6213,
29901,
13,
9651,
17927,
29889,
3888,
29898,
29888,
29915,
23323,
451,
1284,
263,
1820,
304,
278,
3517,
1904,
8455,
525,
13,
462,
4706,
285,
29915,
1454,
426,
1311,
29889,
4299,
29918,
978,
29913,
1904,
29889,
1495,
13,
9651,
736,
13,
4706,
17927,
29889,
3888,
29898,
29888,
29915,
23456,
3517,
4513,
515,
426,
24957,
29918,
1989,
29913,
1495,
13,
4706,
286,
29878,
353,
8125,
29934,
618,
29889,
1359,
29918,
3166,
29918,
29879,
29941,
29918,
1989,
29898,
24957,
29918,
1989,
29892,
20968,
29922,
1311,
29889,
21454,
29897,
13,
4706,
736,
286,
29878,
13,
13,
1678,
822,
903,
657,
29918,
24957,
29918,
3126,
29918,
16202,
29898,
1311,
1125,
13,
4706,
1820,
353,
1284,
29918,
12333,
29918,
29879,
29941,
29918,
1445,
29898,
13,
9651,
1583,
29889,
21454,
29892,
285,
29915,
4299,
29918,
16202,
19248,
1311,
29889,
4299,
29918,
978,
6822,
4299,
29918,
16202,
29918,
742,
15300,
3126,
1495,
13,
4706,
396,
910,
338,
278,
937,
931,
13964,
338,
5759,
363,
445,
1904,
13,
4706,
565,
1820,
338,
6213,
29901,
13,
9651,
17927,
29889,
3888,
29898,
29888,
29915,
23323,
451,
1284,
263,
1820,
304,
278,
3517,
13964,
25710,
13,
9651,
736,
13,
4706,
396,
960,
22663,
363,
445,
2635,
4864,
29892,
3517,
22663,
338,
278,
1473,
9281,
13,
4706,
565,
17820,
29918,
449,
29918,
1256,
29898,
1989,
29897,
1275,
1583,
29889,
12333,
29918,
14486,
29889,
1256,
29918,
710,
29901,
13,
9651,
17927,
29889,
3888,
29898,
29888,
29915,
9513,
6765,
363,
9281,
4513,
2307,
4864,
1495,
13,
9651,
1820,
353,
1284,
29918,
20800,
29918,
12333,
29918,
29879,
29941,
29918,
1445,
29898,
13,
462,
29896,
29892,
1583,
29889,
21454,
29892,
285,
29915,
4299,
29918,
16202,
19248,
1311,
29889,
4299,
29918,
978,
6822,
4299,
29918,
16202,
29918,
742,
13,
18884,
15300,
3126,
1495,
13,
4706,
396,
14491,
278,
2635,
1347,
304,
1284,
3517,
4513,
411,
372,
13,
4706,
1583,
29889,
24957,
29918,
1256,
29918,
710,
353,
17820,
29918,
449,
29918,
1256,
29898,
1989,
29897,
13,
4706,
17927,
29889,
3888,
29898,
29888,
29915,
23456,
8859,
13964,
515,
426,
1989,
29913,
1495,
13,
4706,
3517,
29918,
3126,
29918,
16202,
353,
2254,
29918,
3126,
29918,
3166,
29918,
29879,
29941,
29898,
1311,
29889,
21454,
29892,
1820,
29897,
13,
4706,
736,
3517,
29918,
3126,
29918,
16202,
13,
13,
13,
1990,
4321,
25060,
21575,
29898,
25060,
21575,
1125,
13,
1678,
9995,
5631,
1078,
1002,
4695,
363,
263,
2183,
1243,
4513,
29889,
13,
13,
1678,
12662,
2699,
13,
1678,
448,
1378,
29899,
13,
1678,
1904,
29918,
978,
584,
851,
13,
4706,
319,
1024,
310,
263,
1904,
278,
6987,
892,
1065,
2750,
29889,
13,
1678,
1243,
29918,
2616,
13364,
29918,
710,
584,
851,
13,
4706,
319,
1024,
310,
263,
1243,
1034,
13364,
278,
1904,
471,
9528,
2750,
29889,
13,
1678,
9281,
29918,
14486,
584,
953,
655,
29874,
29889,
24209,
911,
29918,
21150,
29918,
9902,
29889,
3057,
29934,
618,
13,
4706,
530,
2777,
310,
263,
4321,
29934,
618,
304,
5706,
13964,
363,
29889,
960,
451,
2183,
29892,
13,
4706,
674,
367,
5759,
491,
8363,
1243,
2582,
515,
269,
29941,
29889,
13,
1678,
3517,
29918,
14486,
584,
953,
655,
29874,
29889,
24209,
911,
29918,
21150,
29918,
9902,
29889,
3057,
29934,
618,
13,
4706,
319,
1422,
2777,
310,
263,
4321,
29934,
618,
304,
1284,
19471,
1546,
1023,
364,
3885,
29889,
13,
4706,
960,
451,
2183,
29892,
674,
367,
5759,
491,
8363,
1243,
2582,
515,
269,
29941,
29889,
13,
1678,
3517,
29918,
3126,
29918,
16202,
584,
1051,
29961,
8977,
29962,
13,
4706,
319,
4663,
29899,
689,
19667,
8600,
6943,
1243,
13964,
363,
3517,
13,
4706,
1243,
4513,
29889,
13,
13,
1678,
6212,
5026,
13,
1678,
448,
1378,
29899,
13,
1678,
4390,
29918,
16202,
584,
9657,
13,
4706,
319,
4663,
29899,
689,
19667,
8600,
6943,
1243,
13964,
29889,
13,
1678,
9995,
13,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
1904,
29918,
978,
29892,
1243,
29918,
2616,
13364,
29918,
710,
2433,
16961,
29918,
2616,
13364,
29918,
21150,
742,
13,
462,
9281,
29918,
14486,
29922,
8516,
29892,
3517,
29918,
14486,
29922,
8516,
29892,
13,
462,
3517,
29918,
3126,
29918,
16202,
29922,
8516,
29892,
20968,
29922,
12665,
1529,
29909,
29918,
7838,
7077,
2544,
29918,
5813,
1125,
13,
4706,
1583,
29889,
1688,
29918,
2616,
13364,
353,
1243,
29918,
2616,
13364,
29918,
710,
13,
4706,
2428,
2141,
1649,
2344,
12035,
4299,
29918,
978,
29892,
9281,
29918,
14486,
29892,
3517,
29918,
14486,
29892,
13,
462,
308,
3517,
29918,
3126,
29918,
16202,
29892,
20968,
29897,
13,
13,
1678,
822,
1207,
29918,
16202,
29898,
1311,
1125,
13,
4706,
9995,
5596,
565,
1023,
9281,
1243,
364,
3885,
892,
1476,
322,
788,
13964,
304,
13,
4706,
4390,
29918,
16202,
8600,
29889,
960,
1716,
9281,
4513,
322,
3517,
4513,
13,
4706,
892,
4502,
470,
1476,
373,
269,
29941,
29892,
263,
8600,
674,
505,
2211,
1820,
29899,
1767,
13,
4706,
11000,
29901,
1243,
29918,
14486,
29918,
7727,
29892,
6987,
29918,
4181,
29892,
322,
3620,
29918,
957,
29918,
2230,
29889,
13,
4706,
9995,
13,
4706,
565,
451,
1583,
29889,
12333,
29918,
14486,
29901,
13,
9651,
17927,
29889,
3888,
29898,
29888,
29915,
13992,
342,
4513,
363,
426,
1311,
29889,
4299,
29918,
978,
29913,
338,
451,
1476,
29889,
1495,
13,
9651,
736,
13,
4706,
565,
1583,
29889,
24957,
29918,
3126,
29918,
16202,
322,
451,
1583,
29889,
24957,
29918,
14486,
29901,
13,
9651,
17927,
29889,
3888,
29898,
29888,
29915,
13992,
342,
22663,
526,
1476,
541,
9281,
4513,
338,
451,
29889,
1495,
13,
9651,
736,
13,
4706,
17927,
29889,
3888,
29898,
29888,
29915,
5631,
1218,
22663,
363,
426,
1311,
29889,
4299,
29918,
978,
1836,
1495,
13,
4706,
1583,
29889,
5675,
29918,
1688,
29918,
7727,
580,
13,
4706,
1583,
29889,
5675,
29918,
21150,
29918,
4181,
580,
13,
4706,
1583,
29889,
5675,
29918,
25990,
29918,
957,
29918,
2230,
580,
13,
13,
1678,
822,
1207,
29918,
1688,
29918,
7727,
29898,
1311,
1125,
13,
4706,
9995,
2528,
9281,
1243,
4513,
15837,
304,
4390,
29918,
16202,
1213,
15945,
13,
4706,
17927,
29889,
3888,
29898,
29888,
29915,
5631,
1218,
1243,
15837,
363,
426,
1311,
29889,
4299,
29918,
978,
1836,
1495,
13,
4706,
1583,
29889,
3126,
29918,
16202,
1839,
1688,
29918,
14486,
29918,
7727,
2033,
353,
426,
13,
9651,
525,
1688,
29918,
1272,
2396,
1583,
29889,
12333,
29918,
14486,
29889,
3126,
29918,
9902,
29961,
29900,
1822,
657,
877,
1688,
29918,
1272,
5477,
13,
9651,
525,
4537,
29918,
932,
2957,
29918,
21150,
2396,
1583,
29889,
12333,
29918,
14486,
29889,
657,
29918,
7827,
29918,
932,
2957,
29918,
21150,
3285,
13,
9651,
525,
497,
29918,
1688,
29918,
9902,
2396,
1583,
29889,
12333,
29918,
14486,
29889,
996,
1674,
29918,
1688,
29918,
9902,
29892,
13,
9651,
525,
2084,
29918,
17868,
29918,
2798,
29879,
2396,
1583,
29889,
12333,
29918,
14486,
29889,
657,
29918,
2084,
29918,
17868,
29918,
2798,
29879,
28296,
13,
4706,
363,
286,
29883,
29918,
1853,
297,
1583,
29889,
12333,
29918,
14486,
29889,
14047,
29918,
8768,
29918,
9902,
29901,
13,
9651,
1583,
29889,
3126,
29918,
16202,
1839,
1688,
29918,
14486,
29918,
7727,
2033,
29961,
14047,
29918,
1853,
29962,
353,
426,
13,
18884,
525,
4537,
29918,
3364,
287,
29918,
21150,
2396,
313,
13,
462,
1678,
1583,
29889,
12333,
29918,
14486,
29889,
657,
29918,
4537,
29918,
3364,
287,
29918,
21150,
29898,
14047,
29918,
1853,
8243,
13,
18884,
525,
3364,
287,
29918,
3605,
601,
2396,
1583,
29889,
12333,
29918,
14486,
29889,
3364,
287,
29918,
957,
29918,
7827,
29898,
14047,
29918,
1853,
2915,
13,
13,
1678,
822,
1207,
29918,
21150,
29918,
4181,
29898,
1311,
1125,
13,
4706,
9995,
2528,
6987,
19471,
1546,
1023,
9281,
1243,
364,
3885,
304,
4390,
29918,
16202,
1213,
15945,
13,
4706,
17927,
29889,
3888,
29898,
29888,
29915,
5631,
1218,
6987,
19471,
363,
426,
1311,
29889,
4299,
29918,
978,
1836,
1495,
13,
4706,
2635,
353,
1583,
29889,
12333,
29918,
14486,
29889,
1256,
29918,
710,
7503,
29896,
29900,
29962,
13,
4706,
1243,
29918,
978,
353,
6213,
13,
4706,
1243,
29918,
1272,
353,
1583,
29889,
12333,
29918,
14486,
29889,
3126,
29918,
9902,
29961,
29900,
1822,
657,
877,
1688,
29918,
1272,
1495,
13,
4706,
565,
1243,
29918,
1272,
29901,
13,
9651,
1243,
29918,
978,
353,
1243,
29918,
1272,
29889,
657,
877,
978,
1495,
13,
4706,
565,
451,
1583,
29889,
24957,
29918,
14486,
29901,
13,
9651,
6987,
29918,
4181,
353,
426,
13,
18884,
525,
932,
2957,
29918,
8568,
267,
29918,
4181,
2396,
11117,
23959,
2396,
19997,
525,
1745,
8238,
2396,
5159,
930,
13,
4706,
1683,
29901,
13,
9651,
7436,
29918,
4181,
353,
1583,
29889,
12333,
29918,
14486,
29889,
2886,
29918,
4181,
29918,
8568,
267,
29898,
13,
18884,
1583,
29889,
24957,
29918,
14486,
29892,
525,
932,
2957,
29918,
21150,
1495,
13,
9651,
6987,
29918,
4181,
353,
426,
13,
18884,
525,
932,
2957,
29918,
8568,
267,
29918,
4181,
2396,
7436,
29918,
4181,
29913,
13,
9651,
10191,
353,
903,
5675,
29918,
24946,
29918,
7645,
29898,
13,
18884,
1583,
29889,
4299,
29918,
978,
29892,
525,
932,
2957,
29918,
21150,
742,
7436,
29918,
4181,
29892,
2635,
29892,
13,
18884,
1243,
29918,
2616,
13364,
29922,
1311,
29889,
1688,
29918,
2616,
13364,
29892,
1243,
29918,
978,
29922,
1688,
29918,
978,
29897,
13,
9651,
565,
10191,
29901,
13,
18884,
17927,
29889,
3888,
29898,
7645,
29897,
13,
13,
4706,
363,
286,
29883,
29918,
1853,
297,
1583,
29889,
12333,
29918,
14486,
29889,
14047,
29918,
8768,
29918,
9902,
29901,
13,
9651,
565,
451,
1583,
29889,
24957,
29918,
14486,
470,
286,
29883,
29918,
1853,
451,
297,
320,
13,
462,
1678,
1583,
29889,
24957,
29918,
14486,
29889,
14047,
29918,
8768,
29918,
9902,
29901,
13,
18884,
6987,
29918,
4181,
29961,
14047,
29918,
1853,
29962,
353,
426,
13,
462,
1678,
525,
3364,
287,
29918,
8568,
267,
29918,
4181,
2396,
11117,
23959,
2396,
19997,
525,
1745,
8238,
2396,
5159,
930,
13,
9651,
1683,
29901,
13,
18884,
4502,
29918,
4181,
353,
1583,
29889,
12333,
29918,
14486,
29889,
2886,
29918,
4181,
29918,
8568,
267,
29898,
13,
462,
1678,
1583,
29889,
24957,
29918,
14486,
29892,
525,
3364,
287,
29918,
21150,
742,
286,
29883,
29918,
1853,
29922,
14047,
29918,
1853,
29897,
13,
18884,
6987,
29918,
4181,
29961,
14047,
29918,
1853,
29962,
353,
426,
13,
462,
1678,
525,
3364,
287,
29918,
8568,
267,
29918,
4181,
2396,
4502,
29918,
4181,
29913,
13,
18884,
10191,
353,
903,
5675,
29918,
24946,
29918,
7645,
29898,
13,
462,
1678,
1583,
29889,
4299,
29918,
978,
29892,
525,
3364,
287,
29918,
21150,
742,
4502,
29918,
4181,
29892,
2635,
29892,
13,
462,
1678,
286,
29883,
29918,
1853,
29892,
1243,
29918,
2616,
13364,
29922,
1311,
29889,
1688,
29918,
2616,
13364,
29892,
1243,
29918,
978,
29922,
1688,
29918,
978,
29897,
13,
18884,
565,
10191,
29901,
13,
462,
1678,
17927,
29889,
3888,
29898,
7645,
29897,
13,
4706,
1583,
29889,
3126,
29918,
16202,
1839,
21150,
29918,
4181,
2033,
353,
6987,
29918,
4181,
13,
13,
1678,
822,
1207,
29918,
25990,
29918,
957,
29918,
2230,
29898,
1311,
1125,
13,
4706,
9995,
2528,
3620,
304,
6987,
975,
931,
304,
4390,
29918,
16202,
1213,
15945,
13,
4706,
17927,
29889,
3888,
29898,
29888,
29915,
1523,
862,
292,
3620,
975,
931,
363,
426,
1311,
29889,
4299,
29918,
978,
1836,
1495,
13,
4706,
1583,
29889,
3126,
29918,
16202,
1839,
25990,
29918,
957,
29918,
2230,
2033,
353,
426,
13,
9651,
525,
4537,
29918,
932,
2957,
29918,
21150,
2396,
1583,
29889,
657,
29918,
957,
29918,
2230,
29898,
13,
18884,
525,
1688,
29918,
14486,
29918,
7727,
742,
525,
4537,
29918,
932,
2957,
29918,
21150,
5477,
13,
9651,
525,
15190,
2396,
1583,
29889,
657,
29918,
15190,
28296,
13,
4706,
363,
286,
29883,
29918,
1853,
297,
1583,
29889,
12333,
29918,
14486,
29889,
14047,
29918,
8768,
29918,
9902,
29901,
13,
9651,
1583,
29889,
3126,
29918,
16202,
1839,
25990,
29918,
957,
29918,
2230,
2033,
29961,
14047,
29918,
1853,
29962,
353,
426,
13,
18884,
525,
4537,
29918,
3364,
287,
29918,
21150,
2396,
1583,
29889,
657,
29918,
957,
29918,
2230,
29898,
13,
462,
1678,
525,
1688,
29918,
14486,
29918,
7727,
742,
525,
4537,
29918,
3364,
287,
29918,
21150,
742,
286,
29883,
29918,
1853,
511,
13,
18884,
525,
3364,
287,
29918,
3605,
601,
2396,
1583,
29889,
657,
29918,
957,
29918,
2230,
29898,
13,
462,
1678,
525,
1688,
29918,
14486,
29918,
7727,
742,
525,
3364,
287,
29918,
3605,
601,
742,
286,
29883,
29918,
1853,
2915,
13,
13,
1678,
822,
679,
29918,
957,
29918,
2230,
29898,
1311,
29892,
4004,
29892,
21556,
29892,
286,
29883,
29918,
1853,
2433,
29886,
952,
29890,
29374,
13,
4706,
17927,
29889,
3888,
29898,
29888,
29915,
2577,
1259,
3620,
975,
931,
297,
426,
2527,
10817,
29913,
525,
13,
462,
1678,
285,
29915,
1454,
426,
1311,
29889,
4299,
29918,
978,
1836,
1495,
13,
4706,
396,
2216,
286,
29883,
29918,
1853,
8018,
848,
13,
4706,
565,
21556,
1275,
525,
4537,
29918,
932,
2957,
29918,
21150,
2396,
13,
9651,
396,
3824,
3625,
22663,
13,
9651,
565,
451,
1583,
29889,
24957,
29918,
3126,
29918,
16202,
29901,
13,
18884,
3517,
29918,
1272,
353,
5159,
13,
9651,
1683,
29901,
13,
18884,
3517,
29918,
1272,
353,
313,
13,
462,
1678,
1583,
29889,
24957,
29918,
3126,
29918,
16202,
1839,
25990,
29918,
957,
29918,
2230,
2033,
29961,
2527,
10817,
2314,
13,
9651,
3517,
29918,
1272,
29889,
4397,
29898,
1311,
29889,
3126,
29918,
16202,
29961,
2042,
3816,
2527,
10817,
2314,
13,
4706,
396,
4052,
29918,
1853,
8018,
848,
13,
4706,
1683,
29901,
13,
9651,
396,
3824,
3625,
22663,
13,
9651,
565,
451,
1583,
29889,
24957,
29918,
3126,
29918,
16202,
29901,
13,
18884,
3517,
29918,
1272,
353,
5159,
13,
9651,
1683,
29901,
13,
18884,
396,
910,
286,
29883,
29918,
1853,
9007,
29915,
29873,
3625,
297,
3517,
22663,
13,
18884,
565,
286,
29883,
29918,
1853,
451,
297,
320,
13,
462,
4706,
1583,
29889,
24957,
29918,
3126,
29918,
16202,
1839,
25990,
29918,
957,
29918,
2230,
2033,
29901,
13,
462,
1678,
3517,
29918,
1272,
353,
5159,
13,
18884,
1683,
29901,
13,
462,
1678,
3517,
29918,
1272,
353,
313,
13,
462,
4706,
1583,
29889,
24957,
29918,
3126,
29918,
16202,
29961,
13,
462,
9651,
525,
25990,
29918,
957,
29918,
2230,
2033,
29961,
14047,
29918,
1853,
3816,
2527,
10817,
2314,
13,
9651,
3517,
29918,
1272,
29889,
4397,
29898,
1311,
29889,
3126,
29918,
16202,
29961,
2042,
3816,
14047,
29918,
1853,
3816,
2527,
10817,
2314,
13,
4706,
736,
3517,
29918,
1272,
13,
13,
1678,
822,
4078,
29918,
517,
29918,
29879,
29941,
29898,
1311,
1125,
13,
4706,
2635,
29918,
710,
353,
1583,
29889,
12333,
29918,
14486,
29889,
1256,
29918,
710,
13,
4706,
22663,
29918,
1989,
353,
313,
29888,
29915,
16202,
19248,
1311,
29889,
4299,
29918,
978,
6822,
1688,
29918,
16202,
648,
1311,
29889,
1688,
29918,
2616,
13364,
2403,
29915,
13,
462,
268,
285,
29915,
29912,
1256,
29918,
710,
1836,
3126,
1495,
13,
4706,
2428,
2141,
7620,
29918,
517,
29918,
29879,
29941,
29918,
1989,
29898,
16202,
29918,
1989,
29897,
13,
13,
1678,
822,
903,
657,
29918,
12333,
29918,
14486,
29898,
1311,
1125,
13,
4706,
9281,
29918,
1989,
353,
1284,
29918,
12333,
29918,
29879,
29941,
29918,
1445,
29898,
13,
9651,
1583,
29889,
21454,
29892,
13,
9651,
285,
29915,
9902,
19248,
1311,
29889,
4299,
29918,
978,
6822,
9902,
648,
1311,
29889,
1688,
29918,
2616,
13364,
29913,
742,
13,
9651,
6081,
2433,
29889,
3126,
1495,
13,
4706,
565,
9281,
29918,
1989,
338,
6213,
29901,
13,
9651,
17927,
29889,
3888,
29898,
29888,
29915,
23323,
451,
1284,
263,
1820,
304,
278,
9281,
1243,
2582,
525,
13,
462,
4706,
285,
29915,
1454,
426,
1311,
29889,
4299,
29918,
978,
29913,
1904,
29889,
1495,
13,
9651,
736,
13,
4706,
17927,
29889,
3888,
29898,
29888,
29915,
23456,
9281,
4513,
515,
426,
12333,
29918,
1989,
29913,
1495,
13,
4706,
534,
353,
4321,
29934,
618,
29889,
1359,
29918,
3166,
29918,
29879,
29941,
29918,
1989,
29898,
12333,
29918,
1989,
29892,
20968,
29922,
1311,
29889,
21454,
29897,
13,
4706,
736,
534,
13,
13,
1678,
822,
903,
657,
29918,
24957,
29918,
14486,
29898,
1311,
1125,
13,
4706,
565,
451,
1583,
29889,
24957,
29918,
3126,
29918,
16202,
29901,
13,
9651,
17927,
29889,
3888,
877,
3664,
8363,
3517,
4513,
1728,
3517,
22663,
1495,
13,
9651,
736,
13,
4706,
3517,
29918,
1989,
353,
313,
29888,
29915,
9902,
19248,
1311,
29889,
4299,
29918,
978,
6822,
9902,
648,
1311,
29889,
1688,
29918,
2616,
13364,
10162,
13,
462,
4706,
285,
29915,
648,
1311,
29889,
24957,
29918,
1256,
29918,
710,
1836,
3126,
1495,
13,
4706,
565,
3517,
29918,
1989,
338,
6213,
29901,
13,
9651,
17927,
29889,
3888,
29898,
29888,
29915,
23323,
451,
1284,
263,
1820,
304,
278,
3517,
1243,
2582,
525,
13,
462,
4706,
285,
29915,
1454,
426,
1311,
29889,
4299,
29918,
978,
29913,
1904,
29889,
1495,
13,
9651,
736,
13,
4706,
17927,
29889,
3888,
29898,
29888,
29915,
23456,
3517,
4513,
515,
426,
24957,
29918,
1989,
29913,
1495,
13,
4706,
534,
353,
4321,
29934,
618,
29889,
1359,
29918,
3166,
29918,
29879,
29941,
29918,
1989,
29898,
24957,
29918,
1989,
29892,
20968,
29922,
1311,
29889,
21454,
29897,
13,
4706,
736,
534,
13,
13,
1678,
822,
903,
657,
29918,
24957,
29918,
3126,
29918,
16202,
29898,
1311,
1125,
13,
4706,
1820,
353,
1284,
29918,
12333,
29918,
29879,
29941,
29918,
1445,
29898,
13,
9651,
1583,
29889,
21454,
29892,
13,
9651,
285,
29915,
16202,
19248,
1311,
29889,
4299,
29918,
978,
6822,
1688,
29918,
16202,
648,
1311,
29889,
1688,
29918,
2616,
13364,
2403,
742,
15300,
3126,
1495,
13,
4706,
396,
910,
338,
278,
937,
931,
13964,
338,
5759,
363,
445,
1904,
13,
4706,
565,
1820,
338,
6213,
29901,
13,
9651,
17927,
29889,
3888,
29898,
29888,
29915,
23323,
451,
1284,
263,
1820,
304,
278,
3517,
13964,
25710,
13,
9651,
736,
13,
4706,
396,
960,
22663,
363,
445,
2635,
4864,
29892,
3517,
22663,
338,
278,
1473,
9281,
13,
4706,
565,
17820,
29918,
449,
29918,
1256,
29898,
1989,
29897,
1275,
1583,
29889,
12333,
29918,
14486,
29889,
1256,
29918,
710,
29901,
13,
9651,
17927,
29889,
3888,
29898,
29888,
29915,
9513,
6765,
363,
9281,
4513,
2307,
4864,
1495,
13,
9651,
1820,
353,
1284,
29918,
20800,
29918,
12333,
29918,
29879,
29941,
29918,
1445,
29898,
13,
462,
29896,
29892,
1583,
29889,
21454,
29892,
13,
18884,
285,
29915,
16202,
19248,
1311,
29889,
4299,
29918,
978,
6822,
1688,
29918,
16202,
648,
1311,
29889,
1688,
29918,
2616,
13364,
2403,
742,
13,
18884,
15300,
3126,
1495,
13,
4706,
396,
14491,
278,
2635,
1347,
304,
1284,
3517,
4513,
411,
372,
13,
4706,
1583,
29889,
24957,
29918,
1256,
29918,
710,
353,
17820,
29918,
449,
29918,
1256,
29898,
1989,
29897,
13,
4706,
17927,
29889,
3888,
29898,
29888,
29915,
23456,
8859,
13964,
515,
426,
1989,
29913,
1495,
13,
4706,
3517,
29918,
3126,
29918,
16202,
353,
2254,
29918,
3126,
29918,
3166,
29918,
29879,
29941,
29898,
1311,
29889,
21454,
29892,
1820,
29897,
13,
4706,
736,
3517,
29918,
3126,
29918,
16202,
13,
13,
13,
1753,
5706,
29918,
16202,
29918,
265,
29918,
29879,
29941,
29898,
13,
4706,
1904,
29918,
978,
29892,
4464,
29892,
1243,
29918,
2616,
13364,
29918,
710,
2433,
16961,
29918,
2616,
13364,
29918,
21150,
742,
13,
4706,
6441,
29918,
16202,
29922,
5574,
29892,
20968,
29922,
12665,
1529,
29909,
29918,
7838,
7077,
2544,
29918,
5813,
1125,
13,
1678,
9995,
5631,
403,
13964,
363,
9281,
4513,
310,
1904,
2767,
470,
6987,
29889,
13,
13,
1678,
12662,
2699,
13,
1678,
448,
1378,
29899,
13,
1678,
1904,
29918,
978,
584,
851,
13,
4706,
319,
1024,
310,
26422,
29874,
3195,
29889,
13,
1678,
4464,
584,
851,
13,
4706,
5167,
310,
22663,
304,
5706,
313,
4299,
470,
6987,
29897,
13,
1678,
1243,
29918,
2616,
13364,
29918,
710,
584,
851,
13,
4706,
319,
1024,
310,
263,
1243,
1034,
13364,
29889,
13,
1678,
6441,
29918,
16202,
584,
28379,
29961,
11227,
29962,
13,
4706,
26460,
304,
6441,
9281,
13964,
1048,
1904,
322,
263,
1243,
29889,
13,
4706,
13109,
29901,
5852,
13,
1678,
9995,
13,
1678,
565,
4464,
1275,
525,
4299,
2396,
13,
4706,
269,
29887,
353,
8125,
25060,
21575,
29898,
4299,
29918,
978,
29892,
20968,
29922,
21454,
29897,
13,
1678,
25342,
4464,
1275,
525,
21150,
2396,
13,
4706,
269,
29887,
353,
4321,
25060,
21575,
29898,
4299,
29918,
978,
29892,
1243,
29918,
2616,
13364,
29918,
710,
29892,
20968,
29922,
21454,
29897,
13,
1678,
1683,
29901,
13,
4706,
12020,
20948,
877,
6818,
1818,
367,
2845,
1904,
470,
6987,
1495,
13,
1678,
269,
29887,
29889,
5675,
29918,
16202,
580,
13,
1678,
396,
10831,
635,
6441,
22663,
304,
317,
29941,
13,
1678,
565,
6441,
29918,
16202,
29901,
13,
4706,
269,
29887,
29889,
7620,
29918,
517,
29918,
29879,
29941,
580,
13,
1678,
736,
269,
29887,
13,
13,
13,
1753,
903,
5675,
29918,
24946,
29918,
7645,
29898,
4299,
29918,
978,
29892,
10191,
29918,
1853,
29892,
19471,
29892,
2635,
29892,
286,
29883,
29918,
1853,
29922,
8516,
29892,
13,
462,
418,
1243,
29918,
2616,
13364,
29922,
8516,
29892,
1243,
29918,
978,
29922,
8516,
29892,
716,
29918,
29886,
21321,
29922,
8516,
1125,
13,
1678,
565,
7431,
29898,
4181,
1839,
23959,
11287,
1275,
29871,
29900,
29901,
13,
4706,
17927,
29889,
3888,
29898,
29888,
29915,
3782,
426,
7645,
29918,
1853,
29913,
19471,
1476,
1495,
13,
4706,
736,
13,
1678,
565,
451,
1243,
29918,
978,
29901,
13,
4706,
1243,
29918,
978,
353,
1243,
29918,
2616,
13364,
13,
1678,
715,
3631,
353,
525,
29879,
29915,
565,
7431,
29898,
4181,
1839,
23959,
11287,
1405,
29871,
29896,
1683,
6629,
13,
1678,
565,
10191,
29918,
1853,
1275,
525,
303,
29885,
1372,
2396,
13,
4706,
565,
451,
716,
29918,
29886,
21321,
29901,
13,
9651,
17927,
29889,
3888,
29898,
29888,
29915,
3782,
716,
15055,
1476,
1495,
13,
9651,
736,
13,
4706,
1683,
29901,
13,
9651,
5650,
29918,
572,
3631,
353,
525,
29879,
29915,
565,
716,
29918,
29886,
21321,
1405,
29871,
29896,
1683,
6629,
13,
9651,
10191,
353,
313,
29888,
29915,
29911,
397,
388,
306,
1303,
426,
1482,
29918,
29886,
21321,
29913,
716,
17745,
29912,
19773,
29918,
572,
3631,
29913,
525,
13,
462,
259,
285,
29915,
392,
10972,
426,
2435,
29898,
4181,
3366,
23959,
20068,
29913,
716,
13336,
29912,
572,
3631,
1836,
525,
13,
462,
259,
285,
29915,
13393,
2045,
597,
331,
655,
29874,
29889,
513,
336,
29889,
24840,
29914,
14592,
3377,
19248,
4299,
29918,
978,
10162,
13,
462,
259,
285,
29915,
29973,
3891,
29922,
4299,
29987,
1256,
3790,
1256,
29913,
29937,
23959,
855,
29885,
1372,
363,
901,
525,
13,
462,
259,
525,
14144,
29889,
1495,
13,
1678,
25342,
10191,
29918,
1853,
1275,
525,
932,
2957,
29918,
21150,
2396,
13,
4706,
10191,
353,
313,
29888,
29915,
29911,
397,
388,
306,
7436,
426,
2435,
29898,
4181,
3366,
23959,
20068,
29913,
716,
1243,
29912,
572,
3631,
29913,
297,
525,
13,
1669,
285,
29915,
1552,
426,
1688,
29918,
978,
1836,
2823,
525,
13,
1669,
285,
29915,
991,
597,
331,
655,
29874,
29889,
513,
336,
29889,
24840,
29914,
14592,
3377,
19248,
4299,
29918,
978,
29913,
29973,
3891,
29922,
21150,
29915,
13,
1669,
285,
29915,
29987,
1688,
29918,
2616,
13364,
3790,
1688,
29918,
2616,
13364,
15704,
1256,
3790,
1256,
29913,
29937,
1482,
2052,
2957,
24376,
363,
525,
13,
1669,
525,
5514,
4902,
29889,
1495,
13,
1678,
25342,
10191,
29918,
1853,
1275,
525,
3364,
287,
29918,
21150,
29915,
322,
286,
29883,
29918,
1853,
29901,
13,
4706,
10191,
353,
313,
29888,
29915,
29911,
397,
388,
306,
10824,
426,
2435,
29898,
4181,
3366,
23959,
20068,
29913,
716,
525,
13,
1669,
285,
29915,
26739,
362,
29912,
572,
3631,
29913,
297,
278,
426,
1688,
29918,
978,
29913,
411,
590,
525,
13,
1669,
285,
29915,
29912,
16240,
1806,
4945,
29918,
20387,
29931,
29918,
15631,
29925,
2890,
29961,
14047,
29918,
1853,
12258,
1904,
29889,
2823,
525,
13,
1669,
285,
29915,
991,
597,
331,
655,
29874,
29889,
513,
336,
29889,
24840,
29914,
14592,
3377,
19248,
4299,
29918,
978,
29913,
29973,
3891,
29922,
21150,
29915,
13,
1669,
285,
29915,
29987,
1688,
29918,
2616,
13364,
3790,
1688,
29918,
2616,
13364,
15704,
1256,
3790,
1256,
29913,
29937,
1482,
7129,
287,
24376,
363,
525,
13,
1669,
525,
5514,
4902,
29889,
1495,
13,
1678,
1683,
29901,
13,
4706,
12020,
20948,
29898,
29888,
29915,
13919,
2643,
1134,
29901,
426,
7645,
29918,
1853,
1836,
1495,
13,
1678,
736,
10191,
13,
13,
13,
1753,
7780,
300,
29918,
29881,
2152,
294,
29898,
4299,
29918,
978,
29892,
1243,
29918,
2616,
1971,
29874,
29892,
2635,
29892,
20968,
29922,
12665,
1529,
29909,
29918,
7838,
7077,
2544,
29918,
5813,
1125,
13,
1678,
1904,
29918,
16202,
29892,
903,
353,
679,
29918,
4299,
29918,
16202,
29898,
4299,
29918,
978,
29892,
525,
4299,
742,
2635,
29922,
1256,
29897,
13,
1678,
1243,
29918,
16202,
29918,
1609,
29918,
2616,
13364,
353,
6571,
13,
1678,
363,
1243,
29918,
2616,
13364,
297,
1243,
29918,
2616,
1971,
29874,
29901,
13,
4706,
1243,
29918,
16202,
29892,
903,
353,
679,
29918,
4299,
29918,
16202,
29898,
4299,
29918,
978,
29892,
525,
1688,
742,
6987,
29922,
1688,
29918,
2616,
13364,
29892,
13,
462,
462,
4706,
2635,
29922,
1256,
29897,
13,
4706,
565,
451,
1243,
29918,
16202,
29901,
13,
9651,
17927,
29889,
3888,
29898,
29888,
29915,
23323,
451,
1284,
1243,
22663,
363,
426,
1688,
29918,
2616,
13364,
29913,
1495,
13,
4706,
1243,
29918,
16202,
29918,
1609,
29918,
2616,
13364,
29961,
1688,
29918,
2616,
13364,
29962,
353,
1243,
29918,
16202,
13,
1678,
565,
451,
1904,
29918,
16202,
470,
451,
1243,
29918,
16202,
29918,
1609,
29918,
2616,
13364,
29901,
13,
4706,
17927,
29889,
27392,
877,
25060,
526,
451,
1476,
29892,
451,
7780,
15133,
1495,
13,
4706,
736,
13,
1678,
2295,
353,
2254,
29918,
2917,
29918,
3166,
29918,
29879,
29941,
29898,
4299,
29918,
978,
29892,
20968,
29897,
13,
1678,
23394,
29918,
1989,
353,
2295,
29889,
657,
877,
24946,
1495,
13,
1678,
23394,
29918,
11944,
353,
679,
29918,
11944,
9409,
29898,
24946,
29918,
1989,
29897,
13,
1678,
565,
451,
23394,
29918,
11944,
29901,
13,
4706,
17927,
29889,
27392,
877,
27418,
5171,
16140,
526,
451,
1476,
29892,
451,
7780,
15133,
1495,
13,
1678,
396,
8125,
2643,
13,
1678,
380,
29885,
1372,
29918,
4181,
353,
1904,
29918,
16202,
1839,
4299,
29918,
4181,
16215,
6112,
4110,
29918,
8568,
267,
29918,
4181,
2033,
13,
1678,
5650,
29918,
4181,
353,
1904,
29918,
16202,
1839,
19773,
29918,
4181,
16215,
1610,
29918,
19773,
29918,
4841,
29918,
4181,
2033,
13,
1678,
716,
29918,
29886,
21321,
353,
7431,
29898,
19773,
29918,
4181,
1839,
23959,
11287,
13,
1678,
380,
29885,
1372,
29918,
7645,
353,
903,
5675,
29918,
24946,
29918,
7645,
29898,
4299,
29918,
978,
29892,
525,
303,
29885,
1372,
742,
380,
29885,
1372,
29918,
4181,
29892,
2635,
29892,
13,
462,
462,
29871,
716,
29918,
29886,
21321,
29922,
1482,
29918,
29886,
21321,
29897,
13,
1678,
565,
380,
29885,
1372,
29918,
7645,
29901,
13,
4706,
17927,
29889,
3888,
29898,
303,
29885,
1372,
29918,
7645,
29897,
13,
4706,
565,
23394,
29918,
11944,
29901,
13,
9651,
2767,
29918,
4882,
29898,
303,
29885,
1372,
29918,
7645,
29892,
23394,
29918,
11944,
29897,
13,
13,
1678,
396,
4321,
29879,
7191,
13,
1678,
363,
1243,
29918,
2616,
13364,
29892,
1243,
29918,
16202,
297,
1243,
29918,
16202,
29918,
1609,
29918,
2616,
13364,
29889,
7076,
7295,
13,
4706,
1243,
29918,
978,
353,
6213,
13,
4706,
1243,
29918,
1272,
353,
1243,
29918,
16202,
1839,
1688,
29918,
14486,
29918,
7727,
13359,
657,
877,
1688,
29918,
1272,
1495,
13,
4706,
565,
1243,
29918,
1272,
29901,
13,
9651,
1243,
29918,
978,
353,
1243,
29918,
1272,
29889,
657,
877,
978,
1495,
13,
4706,
363,
413,
29892,
325,
297,
1243,
29918,
16202,
1839,
21150,
29918,
4181,
13359,
7076,
7295,
13,
9651,
565,
413,
1275,
525,
932,
2957,
29918,
8568,
267,
29918,
4181,
2396,
13,
18884,
7436,
29918,
4181,
353,
325,
13,
18884,
7436,
29918,
7645,
353,
903,
5675,
29918,
24946,
29918,
7645,
29898,
13,
462,
1678,
1904,
29918,
978,
29892,
525,
932,
2957,
29918,
21150,
742,
7436,
29918,
4181,
29892,
2635,
29892,
13,
462,
1678,
1243,
29918,
2616,
13364,
29922,
1688,
29918,
2616,
13364,
29892,
1243,
29918,
978,
29922,
1688,
29918,
978,
29897,
13,
18884,
565,
7436,
29918,
7645,
29901,
13,
462,
1678,
17927,
29889,
3888,
29898,
932,
2957,
29918,
7645,
29897,
13,
462,
1678,
565,
23394,
29918,
11944,
29901,
13,
462,
4706,
2767,
29918,
4882,
29898,
932,
2957,
29918,
7645,
29892,
23394,
29918,
11944,
29897,
13,
9651,
1683,
29901,
13,
18884,
286,
29883,
29918,
1853,
353,
413,
13,
18884,
4502,
29918,
4181,
353,
325,
1839,
3364,
287,
29918,
8568,
267,
29918,
4181,
2033,
13,
18884,
4502,
29918,
7645,
353,
903,
5675,
29918,
24946,
29918,
7645,
29898,
13,
462,
1678,
1904,
29918,
978,
29892,
525,
3364,
287,
29918,
21150,
742,
4502,
29918,
4181,
29892,
13,
462,
1678,
2635,
29892,
286,
29883,
29918,
1853,
29892,
1243,
29918,
2616,
13364,
29922,
1688,
29918,
2616,
13364,
29892,
13,
462,
1678,
1243,
29918,
978,
29922,
1688,
29918,
978,
29897,
13,
18884,
565,
4502,
29918,
7645,
29901,
13,
462,
1678,
17927,
29889,
3888,
29898,
3364,
287,
29918,
7645,
29897,
13,
462,
1678,
565,
23394,
29918,
11944,
29901,
13,
462,
4706,
2767,
29918,
4882,
29898,
3364,
287,
29918,
7645,
29892,
23394,
29918,
11944,
29897,
13,
13,
1678,
17927,
29889,
3888,
877,
25632,
7780,
15133,
1495,
13,
13,
13,
1753,
903,
657,
29918,
3358,
333,
29918,
23545,
793,
29898,
3358,
4841,
1125,
13,
1678,
26354,
4841,
29918,
517,
29918,
23545,
793,
353,
6571,
13,
1678,
302,
353,
29871,
29906,
29900,
29900,
13,
1678,
302,
29918,
16175,
267,
353,
7431,
29898,
3358,
4841,
29897,
849,
302,
13,
1678,
565,
7431,
29898,
3358,
4841,
29897,
1273,
302,
29901,
13,
4706,
302,
29918,
16175,
267,
4619,
29871,
29896,
13,
1678,
363,
474,
297,
3464,
29898,
29876,
29918,
16175,
267,
1125,
13,
4706,
1369,
353,
302,
334,
474,
13,
4706,
1095,
353,
1369,
718,
302,
13,
4706,
9853,
353,
26354,
4841,
29961,
2962,
29901,
1095,
29962,
13,
4706,
286,
353,
2529,
2168,
29918,
4645,
29889,
657,
29918,
19635,
29918,
1454,
29918,
4841,
29898,
16175,
29897,
13,
4706,
363,
282,
6563,
29892,
15562,
297,
286,
29889,
7076,
7295,
13,
9651,
26354,
4841,
29918,
517,
29918,
23545,
793,
29961,
3358,
333,
29962,
353,
15562,
1839,
3257,
2033,
13,
1678,
736,
26354,
4841,
29918,
517,
29918,
23545,
793,
13,
13,
13,
1753,
903,
657,
29918,
1867,
29875,
29918,
3257,
29898,
1867,
29875,
1125,
13,
1678,
286,
353,
4891,
999,
29918,
4645,
29889,
657,
29918,
19635,
29898,
1867,
29875,
29897,
13,
1678,
565,
286,
29901,
13,
4706,
3611,
353,
286,
29889,
657,
877,
3257,
1495,
13,
4706,
565,
3611,
29901,
13,
9651,
736,
3611,
29961,
29900,
29962,
13,
13,
13,
1753,
903,
657,
29918,
3358,
25232,
29918,
3257,
29898,
3358,
25232,
1125,
13,
1678,
3611,
353,
282,
14047,
29918,
4645,
29889,
657,
29918,
3257,
29898,
3358,
25232,
29897,
13,
1678,
736,
3611,
13,
13,
13,
1753,
903,
657,
29918,
3597,
362,
29918,
2324,
29898,
19773,
29918,
333,
29892,
5650,
29918,
333,
29918,
1853,
1125,
13,
1678,
565,
5650,
29918,
333,
29918,
1853,
1275,
525,
13427,
1367,
2396,
13,
4706,
1024,
353,
525,
21076,
19302,
29915,
13,
4706,
1544,
353,
285,
29915,
991,
597,
5467,
2168,
29889,
17608,
5365,
29889,
12938,
29885,
29889,
13428,
29889,
13513,
19248,
19773,
29918,
333,
10162,
13,
1678,
25342,
5650,
29918,
333,
29918,
1853,
1275,
525,
29925,
12513,
1367,
2396,
13,
4706,
1024,
353,
525,
29925,
12513,
29915,
13,
4706,
1544,
353,
285,
29915,
991,
597,
1636,
29889,
17608,
5365,
29889,
12938,
29885,
29889,
13428,
29889,
13513,
29914,
3358,
29883,
29914,
18569,
19248,
19773,
29918,
333,
10162,
13,
1678,
25342,
5650,
29918,
333,
29918,
1853,
1275,
525,
3970,
29902,
2396,
13,
4706,
1024,
353,
525,
3970,
29902,
29915,
13,
4706,
1544,
353,
285,
29915,
991,
597,
8235,
29889,
1867,
29875,
29889,
990,
19248,
19773,
29918,
333,
10162,
13,
1678,
736,
313,
2324,
29892,
1024,
29897,
13,
2
] |
randomizer/iso/constants.py | soulweaver91/pokemon-gc-randomizer | 0 | 122067 | <reponame>soulweaver91/pokemon-gc-randomizer<filename>randomizer/iso/constants.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from enum import Enum, IntEnum
class PokemonSpecies(IntEnum):
NONE = 0x000
BULBASAUR = 0x001
IVYSAUR = 0x002
VENUSAUR = 0x003
CHARMANDER = 0x004
CHARMELEON = 0x005
CHARIZARD = 0x006
SQUIRTLE = 0x007
WARTORTLE = 0x008
BLASTOISE = 0x009
CATERPIE = 0x00A
METAPOD = 0x00B
BUTTERFREE = 0x00C
WEEDLE = 0x00D
KAKUNA = 0x00E
BEEDRILL = 0x00F
PIDGEY = 0x010
PIDGEOTTO = 0x011
PIDGEOT = 0x012
RATTATA = 0x013
RATICATE = 0x014
SPEAROW = 0x015
FEAROW = 0x016
EKANS = 0x017
ARBOK = 0x018
PIKACHU = 0x019
RAICHU = 0x01A
SANDSHREW = 0x01B
SANDSLASH = 0x01C
NIDORAN_F = 0x01D
NIDORINA = 0x01E
NIDOQUEEN = 0x01F
NIDORAN_M = 0x020
NIDORINO = 0x021
NIDOKING = 0x022
CLEFAIRY = 0x023
CLEFABLE = 0x024
VULPIX = 0x025
NINETALES = 0x026
JIGGLYPUFF = 0x027
WIGGLYTUFF = 0x028
ZUBAT = 0x029
GOLBAT = 0x02A
ODDISH = 0x02B
GLOOM = 0x02C
VILEPLUME = 0x02D
PARAS = 0x02E
PARASECT = 0x02F
VENONAT = 0x030
VENOMOTH = 0x031
DIGLETT = 0x032
DUGTRIO = 0x033
MEOWTH = 0x034
PERSIAN = 0x035
PSYDUCK = 0x036
GOLDUCK = 0x037
MANKEY = 0x038
PRIMEAPE = 0x039
GROWLITHE = 0x03A
ARCANINE = 0x03B
POLIWAG = 0x03C
POLIWHIRL = 0x03D
POLIWRATH = 0x03E
ABRA = 0x03F
KADABRA = 0x040
ALAKAZAM = 0x041
MACHOP = 0x042
MACHOKE = 0x043
MACHAMP = 0x044
BELLSPROUT = 0x045
WEEPINBELL = 0x046
VICTREEBEL = 0x047
TENTACOOL = 0x048
TENTACRUEL = 0x049
GEODUDE = 0x04A
GRAVELER = 0x04B
GOLEM = 0x04C
PONYTA = 0x04D
RAPIDASH = 0x04E
SLOWPOKE = 0x04F
SLOWBRO = 0x050
MAGNEMITE = 0x051
MAGNETON = 0x052
FARFETCH_D = 0x053
DODUO = 0x054
DODRIO = 0x055
SEEL = 0x056
DEWGONG = 0x057
GRIMER = 0x058
MUK = 0x059
SHELLDER = 0x05A
CLOYSTER = 0x05B
GASTLY = 0x05C
HAUNTER = 0x05D
GENGAR = 0x05E
ONIX = 0x05F
DROWZEE = 0x060
HYPNO = 0x061
KRABBY = 0x062
KINGLER = 0x063
VOLTORB = 0x064
ELECTRODE = 0x065
EXEGGCUTE = 0x066
EXEGGUTOR = 0x067
CUBONE = 0x068
MAROWAK = 0x069
HITMONLEE = 0x06A
HITMONCHAN = 0x06B
LICKITUNG = 0x06C
KOFFING = 0x06D
WEEZING = 0x06E
RHYHORN = 0x06F
RHYDON = 0x070
CHANSEY = 0x071
TANGELA = 0x072
KANGASKHAN = 0x073
HORSEA = 0x074
SEADRA = 0x075
GOLDEEN = 0x076
SEAKING = 0x077
STARYU = 0x078
STARMIE = 0x079
MR_MIME = 0x07A
SCYTHER = 0x07B
JYNX = 0x07C
ELECTABUZZ = 0x07D
MAGMAR = 0x07E
PINSIR = 0x07F
TAUROS = 0x080
MAGIKARP = 0x081
GYARADOS = 0x082
LAPRAS = 0x083
DITTO = 0x084
EEVEE = 0x085
VAPOREON = 0x086
JOLTEON = 0x087
FLAREON = 0x088
PORYGON = 0x089
OMANYTE = 0x08A
OMASTAR = 0x08B
KABUTO = 0x08C
KABUTOPS = 0x08D
AERODACTYL = 0x08E
SNORLAX = 0x08F
ARTICUNO = 0x090
ZAPDOS = 0x091
MOLTRES = 0x092
DRATINI = 0x093
DRAGONAIR = 0x094
DRAGONITE = 0x095
MEWTWO = 0x096
MEW = 0x097
CHIKORITA = 0x098
BAYLEEF = 0x099
MEGANIUM = 0x09A
CYNDAQUIL = 0x09B
QUILAVA = 0x09C
TYPHLOSION = 0x09D
TOTODILE = 0x09E
CROCONAW = 0x09F
FERALIGATR = 0x0A0
SENTRET = 0x0A1
FURRET = 0x0A2
HOOTHOOT = 0x0A3
NOCTOWL = 0x0A4
LEDYBA = 0x0A5
LEDIAN = 0x0A6
SPINARAK = 0x0A7
ARIADOS = 0x0A8
CROBAT = 0x0A9
CHINCHOU = 0x0AA
LANTURN = 0x0AB
PICHU = 0x0AC
CLEFFA = 0x0AD
IGGLYBUFF = 0x0AE
TOGEPI = 0x0AF
TOGETIC = 0x0B0
NATU = 0x0B1
XATU = 0x0B2
MAREEP = 0x0B3
FLAAFFY = 0x0B4
AMPHAROS = 0x0B5
BELLOSSOM = 0x0B6
MARILL = 0x0B7
AZUMARILL = 0x0B8
SUDOWOODO = 0x0B9
POLITOED = 0x0BA
HOPPIP = 0x0BB
SKIPLOOM = 0x0BC
JUMPLUFF = 0x0BD
AIPOM = 0x0BE
SUNKERN = 0x0BF
SUNFLORA = 0x0C0
YANMA = 0x0C1
WOOPER = 0x0C2
QUAGSIRE = 0x0C3
ESPEON = 0x0C4
UMBREON = 0x0C5
MURKROW = 0x0C6
SLOWKING = 0x0C7
MISDREAVUS = 0x0C8
UNOWN = 0x0C9
WOBBUFFET = 0x0CA
GIRAFARIG = 0x0CB
PINECO = 0x0CC
FORRETRESS = 0x0CD
DUNSPARCE = 0x0CE
GLIGAR = 0x0CF
STEELIX = 0x0D0
SNUBBULL = 0x0D1
GRANBULL = 0x0D2
QWILFISH = 0x0D3
SCIZOR = 0x0D4
SHUCKLE = 0x0D5
HERACROSS = 0x0D6
SNEASEL = 0x0D7
TEDDIURSA = 0x0D8
URSARING = 0x0D9
SLUGMA = 0x0DA
MAGCARGO = 0x0DB
SWINUB = 0x0DC
PILOSWINE = 0x0DD
CORSOLA = 0x0DE
REMORAID = 0x0DF
OCTILLERY = 0x0E0
DELIBIRD = 0x0E1
MANTINE = 0x0E2
SKARMORY = 0x0E3
HOUNDOUR = 0x0E4
HOUNDOOM = 0x0E5
KINGDRA = 0x0E6
PHANPY = 0x0E7
DONPHAN = 0x0E8
PORYGON2 = 0x0E9
STANTLER = 0x0EA
SMEARGLE = 0x0EB
TYROGUE = 0x0EC
HITMONTOP = 0x0ED
SMOOCHUM = 0x0EE
ELEKID = 0x0EF
MAGBY = 0x0F0
MILTANK = 0x0F1
BLISSEY = 0x0F2
RAIKOU = 0x0F3
ENTEI = 0x0F4
SUICUNE = 0x0F5
LARVITAR = 0x0F6
PUPITAR = 0x0F7
TYRANITAR = 0x0F8
LUGIA = 0x0F9
HO_OH = 0x0FA
CELEBI = 0x0FB
UNUSED_252 = 0x0FC
UNUSED_253 = 0x0FD
UNUSED_254 = 0x0FE
UNUSED_255 = 0x0FF
UNUSED_256 = 0x100
UNUSED_257 = 0x101
UNUSED_258 = 0x102
UNUSED_259 = 0x103
UNUSED_260 = 0x104
UNUSED_261 = 0x105
UNUSED_262 = 0x106
UNUSED_263 = 0x107
UNUSED_264 = 0x108
UNUSED_265 = 0x109
UNUSED_266 = 0x10A
UNUSED_267 = 0x10B
UNUSED_268 = 0x10C
UNUSED_269 = 0x10D
UNUSED_270 = 0x10E
UNUSED_271 = 0x10F
UNUSED_272 = 0x110
UNUSED_273 = 0x111
UNUSED_274 = 0x112
UNUSED_275 = 0x113
UNUSED_276 = 0x114
TREECKO = 0x115
GROVYLE = 0x116
SCEPTILE = 0x117
TORCHIC = 0x118
COMBUSKEN = 0x119
BLAZIKEN = 0x11A
MUDKIP = 0x11B
MARSHTOMP = 0x11C
SWAMPERT = 0x11D
POOCHYENA = 0x11E
MIGHTYENA = 0x11F
ZIGZAGOON = 0x120
LINOONE = 0x121
WURMPLE = 0x122
SILCOON = 0x123
BEAUTIFLY = 0x124
CASCOON = 0x125
DUSTOX = 0x126
LOTAD = 0x127
LOMBRE = 0x128
LUDICOLO = 0x129
SEEDOT = 0x12A
NUZLEAF = 0x12B
SHIFTRY = 0x12C
NINCADA = 0x12D
NINJASK = 0x12E
SHEDINJA = 0x12F
TAILLOW = 0x130
SWELLOW = 0x131
SHROOMISH = 0x132
BRELOOM = 0x133
SPINDA = 0x134
WINGULL = 0x135
PELIPPER = 0x136
SURSKIT = 0x137
MASQUERAIN = 0x138
WAILMER = 0x139
WAILORD = 0x13A
SKITTY = 0x13B
DELCATTY = 0x13C
KECLEON = 0x13D
BALTOY = 0x13E
CLAYDOL = 0x13F
NOSEPASS = 0x140
TORKOAL = 0x141
SABLEYE = 0x142
BARBOACH = 0x143
WHISCASH = 0x144
LUVDISC = 0x145
CORPHISH = 0x146
CRAWDAUNT = 0x147
FEEBAS = 0x148
MILOTIC = 0x149
CARVANHA = 0x14A
SHARPEDO = 0x14B
TRAPINCH = 0x14C
VIBRAVA = 0x14D
FLYGON = 0x14E
MAKUHITA = 0x14F
HARIYAMA = 0x150
ELECTRIKE = 0x151
MANECTRIC = 0x152
NUMEL = 0x153
CAMERUPT = 0x154
SPHEAL = 0x155
SEALEO = 0x156
WALREIN = 0x157
CACNEA = 0x158
CACTURNE = 0x159
SNORUNT = 0x15A
GLALIE = 0x15B
LUNATONE = 0x15C
SOLROCK = 0x15D
AZURILL = 0x15E
SPOINK = 0x15F
GRUMPIG = 0x160
PLUSLE = 0x161
MINUN = 0x162
MAWILE = 0x163
MEDITITE = 0x164
MEDICHAM = 0x165
SWABLU = 0x166
ALTARIA = 0x167
WYNAUT = 0x168
DUSKULL = 0x169
DUSCLOPS = 0x16A
ROSELIA = 0x16B
SLAKOTH = 0x16C
VIGOROTH = 0x16D
SLAKING = 0x16E
GULPIN = 0x16F
SWALOT = 0x170
TROPIUS = 0x171
WHISMUR = 0x172
LOUDRED = 0x173
EXPLOUD = 0x174
CLAMPERL = 0x175
HUNTAIL = 0x176
GOREBYSS = 0x177
ABSOL = 0x178
SHUPPET = 0x179
BANETTE = 0x17A
SEVIPER = 0x17B
ZANGOOSE = 0x17C
RELICANTH = 0x17D
ARON = 0x17E
LAIRON = 0x17F
AGGRON = 0x180
CASTFORM = 0x181
VOLBEAT = 0x182
ILLUMISE = 0x183
LILEEP = 0x184
CRADILY = 0x185
ANORITH = 0x186
ARMALDO = 0x187
RALTS = 0x188
KIRLIA = 0x189
GARDEVOIR = 0x18A
BAGON = 0x18B
SHELGON = 0x18C
SALAMENCE = 0x18D
BELDUM = 0x18E
METANG = 0x18F
METAGROSS = 0x190
REGIROCK = 0x191
REGICE = 0x192
REGISTEEL = 0x193
KYOGRE = 0x194
GROUDON = 0x195
RAYQUAZA = 0x196
LATIAS = 0x197
LATIOS = 0x198
JIRACHI = 0x199
DEOXYS = 0x19A
CHIMECHO = 0x19B
EGG = 0x19C
BONSLY = 0x19D
MUNCHLAX = 0x19E
class Type(Enum):
NORMAL = 0x00
FIGHTING = 0x01
FLYING = 0x02
POISON = 0x03
GROUND = 0x04
ROCK = 0x05
BUG = 0x06
GHOST = 0x07
STEEL = 0x08
CURSE = 0x09
FIRE = 0x0A
WATER = 0x0B
GRASS = 0x0C
ELECTRIC = 0x0D
PSYCHIC = 0x0E
ICE = 0x0F
DRAGON = 0x10
DARK = 0x11
VALID_POKEMON_TYPES = [a for a in list(Type) if a not in [
Type.CURSE
]]
class Ability(IntEnum):
NONE = 0x00
STENCH = 0x01
DRIZZLE = 0x02
SPEED_BOOST = 0x03
BATTLE_ARMOR = 0x04
STURDY = 0x05
DAMP = 0x06
LIMBER = 0x07
SAND_VEIL = 0x08
STATIC = 0x09
VOLT_ABSORB = 0x0A
WATER_ABSORB = 0x0B
OBLIVIOUS = 0x0C
CLOUD_NINE = 0x0D
COMPOUND_EYES = 0x0E
INSOMNIA = 0x0F
COLOR_CHANGE = 0x10
IMMUNITY = 0x11
FLASH_FIRE = 0x12
SHIELD_DUST = 0x13
OWN_TEMPO = 0x14
SUCTION_CUPS = 0x15
INTIMIDATE = 0x16
SHADOW_TAG = 0x17
ROUGH_SKIN = 0x18
WONDER_GUARD = 0x19
LEVITATE = 0x1A
EFFECT_SPORE = 0x1B
SYNCHRONIZE = 0x1C
CLEAR_BODY = 0x1D
NATURAL_CURE = 0x1E
LIGHTING_ROD = 0x1F
SERENE_GRACE = 0x20
SWIFT_SWIM = 0x21
CHLOROPHYLL = 0x22
ILLUMINATE = 0x23
TRACE = 0x24
HUGE_POWER = 0x25
POISON_POINT = 0x26
INNER_FOCUS = 0x27
MAGMA_ARMOR = 0x28
WATER_VEIL = 0x29
MAGNET_PULL = 0x2A
SOUNDPROOF = 0x2B
RAIN_DISH = 0x2C
SAND_STREAM = 0x2D
PRESSURE = 0x2E
THICK_FAT = 0x2F
EARLY_BIRD = 0x30
FLAME_BODY = 0x31
RUN_AWAY = 0x32
KEEN_EYE = 0x33
HYPER_CUTTER = 0x34
PICKUP = 0x35
TRUANT = 0x36
HUSTLE = 0x37
CUTE_CHARM = 0x38
PLUS = 0x39
MINUS = 0x3A
FORECAST = 0x3B
STICKY_HOLD = 0x3C
SHED_SKIN = 0x3D
GUTS = 0x3E
MARVEL_SCALE = 0x3F
LIQUID_OOZE = 0x40
OVERGROW = 0x41
BLAZE = 0x42
TORRENT = 0x43
SWARM = 0x44
ROCK_HEAD = 0x45
DROUGHT = 0x46
ARENA_TRAP = 0x47
VITAL_SPIRIT = 0x48
WHITE_SMOKE = 0x49
PURE_POWER = 0x4A
SHELL_ARMOR = 0x4B
CACOPHONY = 0x4C
AIR_LOCK = 0x4D
UNIQUE_DAMAGING_MOVE = -1
STATUS_MOVE = 0
OHKO_MOVE = 1000
class Move(Enum):
NONE = 0x00
POUND = 0x01
KARATE_CHOP = 0x02
DOUBLESLAP = 0x03
DOUBLE_SLAP = DOUBLESLAP
COMET_PUNCH = 0x04
MEGA_PUNCH = 0x05
PAY_DAY = 0x06
FIRE_PUNCH = 0x07
ICE_PUNCH = 0x08
THUNDERPUNCH = 0x09
THUNDER_PUNCH = THUNDERPUNCH
SCRATCH = 0x0A
VICEGRIP = 0x0B
VICE_GRIP = VICEGRIP
GUILLOTINE = 0x0C
RAZOR_WIND = 0x0D
SWORDS_DANCE = 0x0E
CUT = 0x0F
GUST = 0x10
WING_ATTACK = 0x11
WHIRLWIND = 0x12
FLY = 0x13
BIND = 0x14
SLAM = 0x15
VINE_WHIP = 0x16
STOMP = 0x17
DOUBLE_KICK = 0x18
MEGA_KICK = 0x19
JUMP_KICK = 0x1A
ROLLING_KICK = 0x1B
SAND_ATTACK = 0x1C
HEADBUTT = 0x1D
HORN_ATTACK = 0x1E
FURY_ATTACK = 0x1F
HORN_DRILL = 0x20
TACKLE = 0x21
BODY_SLAM = 0x22
WRAP = 0x23
TAKE_DOWN = 0x24
THRASH = 0x25
DOUBLE_EDGE = 0x26
TAIL_WHIP = 0x27
POISON_STING = 0x28
TWINEEDLE = 0x29
PIN_MISSILE = 0x2A
LEER = 0x2B
BITE = 0x2C
GROWL = 0x2D
ROAR = 0x2E
SING = 0x2F
SUPERSONIC = 0x30
SONICBOOM = 0x31
SONIC_BOOM = SONICBOOM
DISABLE = 0x32
ACID = 0x33
EMBER = 0x34
FLAMETHROWER = 0x35
MIST = 0x36
WATER_GUN = 0x37
HYDRO_PUMP = 0x38
SURF = 0x39
ICE_BEAM = 0x3A
BLIZZARD = 0x3B
PSYBEAM = 0x3C
BUBBLEBEAM = 0x3D
BUBBLE_BEAM = BUBBLEBEAM
AURORA_BEAM = 0x3E
HYPER_BEAM = 0x3F
PECK = 0x40
DRILL_PECK = 0x41
SUBMISSION = 0x42
LOW_KICK = 0x43
COUNTER = 0x44
SEISMIC_TOSS = 0x45
STRENGTH = 0x46
ABSORB = 0x47
MEGA_DRAIN = 0x48
LEECH_SEED = 0x49
GROWTH = 0x4A
RAZOR_LEAF = 0x4B
SOLARBEAM = 0x4C
SOLAR_BEAM = SOLARBEAM
POISONPOWDER = 0x4D
POISON_POWDER = POISONPOWDER
STUN_SPORE = 0x4E
SLEEP_POWDER = 0x4F
PETAL_DANCE = 0x50
STRING_SHOT = 0x51
DRAGON_RAGE = 0x52
FIRE_SPIN = 0x53
THUNDERSHOCK = 0x54
THUNDER_SHOCK = THUNDERSHOCK
THUNDERBOLT = 0x55
THUNDER_BOLT = THUNDERBOLT
THUNDER_WAVE = 0x56
THUNDER = 0x57
ROCK_THROW = 0x58
EARTHQUAKE = 0x59
FISSURE = 0x5A
DIG = 0x5B
TOXIC = 0x5C
CONFUSION = 0x5D
PSYCHIC = 0x5E
HYPNOSIS = 0x5F
MEDITATE = 0x60
AGILITY = 0x61
QUICK_ATTACK = 0x62
RAGE = 0x63
TELEPORT = 0x64
NIGHT_SHADE = 0x65
MIMIC = 0x66
SCREECH = 0x67
DOUBLE_TEAM = 0x68
RECOVER = 0x69
HARDEN = 0x6A
MINIMIZE = 0x6B
SMOKESCREEN = 0x6C
SMOKE_SCREEN = SMOKESCREEN
CONFUSE_RAY = 0x6D
WITHDRAW = 0x6E
DEFENSE_CURL = 0x6F
BARRIER = 0x70
LIGHT_SCREEN = 0x71
HAZE = 0x72
REFLECT = 0x73
FOCUS_ENERGY = 0x74
BIDE = 0x75
METRONOME = 0x76
MIRROR_MOVE = 0x77
SELFDESTRUCT = 0x78
SELF_DESTRUCT = SELFDESTRUCT
EGG_BOMB = 0x79
LICK = 0x7A
SMOG = 0x7B
SLUDGE = 0x7C
BONE_CLUB = 0x7D
FIRE_BLAST = 0x7E
WATERFALL = 0x7F
CLAMP = 0x80
SWIFT = 0x81
SKULL_BASH = 0x82
SPIKE_CANNON = 0x83
CONSTRICT = 0x84
AMNESIA = 0x85
KINESIS = 0x86
SOFTBOILED = 0x87
SOFT_BOILED = SOFTBOILED
HI_JUMP_KICK = 0x88
HIGH_JUMP_KICK = HI_JUMP_KICK
GLARE = 0x89
DREAM_EATER = 0x8A
POISON_GAS = 0x8B
BARRAGE = 0x8C
LEECH_LIFE = 0x8D
LOVELY_KISS = 0x8E
SKY_ATTACK = 0x8F
TRANSFORM = 0x90
BUBBLE = 0x91
DIZZY_PUNCH = 0x92
SPORE = 0x93
FLASH = 0x94
PSYWAVE = 0x95
SPLASH = 0x96
ACID_ARMOR = 0x97
CRABHAMMER = 0x98
EXPLOSION = 0x99
FURY_SWIPES = 0x9A
BONEMERANG = 0x9B
REST = 0x9C
ROCK_SLIDE = 0x9D
HYPER_FANG = 0x9E
SHARPEN = 0x9F
CONVERSION = 0xA0
TRI_ATTACK = 0xA1
SUPER_FANG = 0xA2
SLASH = 0xA3
SUBSTITUTE = 0xA4
STRUGGLE = 0xA5
SKETCH = 0xA6
TRIPLE_KICK = 0xA7
THIEF = 0xA8
SPIDER_WEB = 0xA9
MIND_READER = 0xAA
NIGHTMARE = 0xAB
FLAME_WHEEL = 0xAC
SNORE = 0xAD
CURSE = 0xAE
FLAIL = 0xAF
CONVERSION_2 = 0xB0
AEROBLAST = 0xB1
COTTON_SPORE = 0xB2
REVERSAL = 0xB3
SPITE = 0xB4
POWDER_SNOW = 0xB5
PROTECT = 0xB6
MACH_PUNCH = 0xB7
SCARY_FACE = 0xB8
FAINT_ATTACK = 0xB9
FEINT_ATTACK = FAINT_ATTACK
SWEET_KISS = 0xBA
BELLY_DRUM = 0xBB
SLUDGE_BOMB = 0xBC
MUD_SLAP = 0xBD
OCTAZOOKA = 0xBE
SPIKES = 0xBF
ZAP_CANNON = 0xC0
FORESIGHT = 0xC1
DESTINY_BOND = 0xC2
PERISH_SONG = 0xC3
ICY_WIND = 0xC4
DETECT = 0xC5
BONE_RUSH = 0xC6
LOCK_ON = 0xC7
OUTRAGE = 0xC8
SANDSTORM = 0xC9
GIGA_DRAIN = 0xCA
ENDURE = 0xCB
CHARM = 0xCC
ROLLOUT = 0xCD
FALSE_SWIPE = 0xCE
SWAGGER = 0xCF
MILK_DRINK = 0xD0
SPARK = 0xD1
FURY_CUTTER = 0xD2
STEEL_WING = 0xD3
MEAN_LOOK = 0xD4
ATTRACT = 0xD5
SLEEP_TALK = 0xD6
HEAL_BELL = 0xD7
RETURN = 0xD8
PRESENT = 0xD9
FRUSTRATION = 0xDA
SAFEGUARD = 0xDB
PAIN_SPLIT = 0xDC
SACRED_FIRE = 0xDD
MAGNITUDE = 0xDE
DYNAMICPUNCH = 0xDF
DYNAMIC_PUNCH = DYNAMICPUNCH
MEGAHORN = 0xE0
DRAGONBREATH = 0xE1
DRAGON_BREATH = DRAGONBREATH
BATON_PASS = 0xE2
ENCORE = 0xE3
PURSUIT = 0xE4
RAPID_SPIN = 0xE5
SWEET_SCENT = 0xE6
IRON_TAIL = 0xE7
METAL_CLAW = 0xE8
VITAL_THROW = 0xE9
MORNING_SUN = 0xEA
SYNTHESIS = 0xEB
MOONLIGHT = 0xEC
HIDDEN_POWER = 0xED
CROSS_CHOP = 0xEE
TWISTER = 0xEF
RAIN_DANCE = 0xF0
SUNNY_DAY = 0xF1
CRUNCH = 0xF2
MIRROR_COAT = 0xF3
PSYCH_UP = 0xF4
EXTREMESPEED = 0xF5
EXTREME_SPEED = EXTREMESPEED
ANCIENTPOWER = 0xF6
ANCIENT_POWER = ANCIENTPOWER
SHADOW_BALL = 0xF7
FUTURE_SIGHT = 0xF8
ROCK_SMASH = 0xF9
WHIRLPOOL = 0xFA
BEAT_UP = 0xFB
FAKE_OUT = 0xFC
UPROAR = 0xFD
STOCKPILE = 0xFE
SPIT_UP = 0xFF
SWALLOW = 0x100
HEAT_WAVE = 0x101
HAIL = 0x102
TORMENT = 0x103
FLATTER = 0x104
WILL_O_WISP = 0x105
MEMENTO = 0x106
FACADE = 0x107
FOCUS_PUNCH = 0x108
SMELLINGSALT = 0x109
SMELLING_SALTS = SMELLINGSALT
FOLLOW_ME = 0x10A
NATURE_POWER = 0x10B
CHARGE = 0x10C
TAUNT = 0x10D
HELPING_HAND = 0x10E
TRICK = 0x10F
ROLE_PLAY = 0x110
WISH = 0x111
ASSIST = 0x112
INGRAIN = 0x113
SUPERPOWER = 0x114
MAGIC_COAT = 0x115
RECYCLE = 0x116
REVENGE = 0x117
BRICK_BREAK = 0x118
YAWN = 0x119
KNOCK_OFF = 0x11A
ENDEAVOR = 0x11B
ERUPTION = 0x11C
SKILL_SWAP = 0x11D
IMPRISON = 0x11E
REFRESH = 0x11F
GRUDGE = 0x120
SNATCH = 0x121
SECRET_POWER = 0x122
DIVE = 0x123
ARM_THRUST = 0x124
CAMOUFLAGE = 0x125
TAIL_GLOW = 0x126
LUSTER_PURGE = 0x127
MIST_BALL = 0x128
FEATHERDANCE = 0x129
FEATHER_DANCE = FEATHERDANCE
TEETER_DANCE = 0x12A
BLAZE_KICK = 0x12B
MUD_SPORT = 0x12C
ICE_BALL = 0x12D
NEEDLE_ARM = 0x12E
SLACK_OFF = 0x12F
HYPER_VOICE = 0x130
POISON_FANG = 0x131
CRUSH_CLAW = 0x132
BLAST_BURN = 0x133
HYDRO_CANNON = 0x134
METEOR_MASH = 0x135
ASTONISH = 0x136
WEATHER_BALL = 0x137
AROMATHERAPY = 0x138
FAKE_TEARS = 0x139
AIR_CUTTER = 0x13A
OVERHEAT = 0x13B
ODOR_SLEUTH = 0x13C
ROCK_TOMB = 0x13D
SILVER_WIND = 0x13E
METAL_SOUND = 0x13F
GRASSWHISTLE = 0x140
GRASS_WHISTLE = GRASSWHISTLE
TICKLE = 0x141
COSMIC_POWER = 0x142
WATER_SPOUT = 0x143
SIGNAL_BEAM = 0x144
SHADOW_PUNCH = 0x145
EXTRASENSORY = 0x146
SKY_UPPERCUT = 0x147
SAND_TOMB = 0x148
SHEER_COLD = 0x149
MUDDY_WATER = 0x14A
BULLET_SEED = 0x14B
AERIAL_ACE = 0x14C
ICICLE_SPEAR = 0x14D
IRON_DEFENSE = 0x14E
BLOCK = 0x14F
HOWL = 0x150
DRAGON_CLAW = 0x151
FRENZY_PLANT = 0x152
BULK_UP = 0x153
BOUNCE = 0x154
MUD_SHOT = 0x155
POISON_TAIL = 0x156
COVET = 0x157
VOLT_TACKLE = 0x158
MAGICAL_LEAF = 0x159
WATER_SPORT = 0x15A
CALM_MIND = 0x15B
LEAF_BLADE = 0x15C
DRAGON_DANCE = 0x15D
ROCK_BLAST = 0x15E
SHOCK_WAVE = 0x15F
WATER_PULSE = 0x160
DOOM_DESIRE = 0x161
PSYCHO_BOOST = 0x162
UNUSED_0x163 = 0x163
SHADOW_BLITZ = 0x164
SHADOW_RUSH_COLO = 0x164
SHADOW_RUSH_XD = 0x165
SHADOW_BREAK = 0x166
SHADOW_END = 0x167
SHADOW_WAVE = 0x168
SHADOW_RAVE = 0x169
SHADOW_STORM = 0x16A
SHADOW_FIRE = 0x16B
SHADOW_BOLT = 0x16C
SHADOW_CHILL = 0x16D
SHADOW_BLAST = 0x16E
SHADOW_SKY = 0x16F
SHADOW_HOLD = 0x170
SHADOW_MIST = 0x171
SHADOW_PANIC = 0x172
SHADOW_DOWN = 0x173
SHADOW_SHED = 0x174
SHADOW_HALF = 0x175
@classmethod
def _missing_(cls, value):
return Move.NONE
class Item(Enum):
NONE = 0x0000
MASTER_BALL = 0x0001
ULTRA_BALL = 0x0002
GREAT_BALL = 0x0003
POKE_BALL = 0x0004
SAFARI_BALL = 0x0005
NET_BALL = 0x0006
DIVE_BALL = 0x0007
NEST_BALL = 0x0008
REPEAT_BALL = 0x0009
TIMER_BALL = 0x000A
LUXURY_BALL = 0x000B
PREMIER_BALL = 0x000C
POTION = 0x000D
ANTIDOTE = 0x000E
BURN_HEAL = 0x000F
ICE_HEAL = 0x0010
AWAKENING = 0x0011
PARLYZ_HEAL = 0x0012
FULL_RESTORE = 0x0013
MAX_POTION = 0x0014
HYPER_POTION = 0x0015
SUPER_POTION = 0x0016
FULL_HEAL = 0x0017
REVIVE = 0x0018
MAX_REVIVE = 0x0019
FRESH_WATER = 0x001A
SODA_POP = 0x001B
LEMONADE = 0x001C
MOOMOO_MILK = 0x001D
ENERGYPOWDER = 0x001E
ENERGY_ROOT = 0x001F
HEAL_POWDER = 0x0020
REVIVAL_HERB = 0x0021
ETHER = 0x0022
MAX_ETHER = 0x0023
ELIXIR = 0x0024
MAX_ELIXIR = 0x0025
LAVA_COOKIE = 0x0026
BLUE_FLUTE = 0x0027
YELLOW_FLUTE = 0x0028
RED_FLUTE = 0x0029
BLACK_FLUTE = 0x002A
WHITE_FLUTE = 0x002B
BERRY_JUICE = 0x002C
SACRED_ASH = 0x002D
SHOAL_SALT = 0x002E
SHOAL_SHELL = 0x002F
RED_SHARD = 0x0030
BLUE_SHARD = 0x0031
YELLOW_SHARD = 0x0032
GREEN_SHARD = 0x0033
HP_UP = 0x003F
PROTEIN = 0x0040
IRON = 0x0041
CARBOS = 0x0042
CALCIUM = 0x0043
RARE_CANDY = 0x0044
PP_UP = 0x0045
ZINC = 0x0046
PP_MAX = 0x0047
GUARD_SPEC_ = 0x0049
DIRE_HIT = 0x004A
X_ATTACK = 0x004B
X_DEFEND = 0x004C
X_SPEED = 0x004D
X_ACCURACY = 0x004E
X_SPECIAL = 0x004F
POKE_DOLL = 0x0050
FLUFFY_TAIL = 0x0051
SUPER_REPEL = 0x0053
MAX_REPEL = 0x0054
ESCAPE_ROPE = 0x0055
REPEL = 0x0056
SUN_STONE = 0x005D
MOON_STONE = 0x005E
FIRE_STONE = 0x005F
THUNDERSTONE = 0x0060
WATER_STONE = 0x0061
LEAF_STONE = 0x0062
TINYMUSHROOM = 0x0067
BIG_MUSHROOM = 0x0068
PEARL = 0x006A
BIG_PEARL = 0x006B
STARDUST = 0x006C
STAR_PIECE = 0x006D
NUGGET = 0x006E
HEART_SCALE = 0x006F
CHERI_BERRY = 0x0085
CHESTO_BERRY = 0x0086
PECHA_BERRY = 0x0087
RAWST_BERRY = 0x0088
ASPEAR_BERRY = 0x0089
LEPPA_BERRY = 0x008A
ORAN_BERRY = 0x008B
PERSIM_BERRY = 0x008C
LUM_BERRY = 0x008D
SITRUS_BERRY = 0x008E
FIGY_BERRY = 0x008F
WIKI_BERRY = 0x0090
MAGO_BERRY = 0x0091
AGUAV_BERRY = 0x0092
IAPAPA_BERRY = 0x0093
RAZZ_BERRY = 0x0094
BLUK_BERRY = 0x0095
NANAB_BERRY = 0x0096
WEPEAR_BERRY = 0x0097
PINAP_BERRY = 0x0098
POMEG_BERRY = 0x0099
KELPSY_BERRY = 0x009A
QUALOT_BERRY = 0x009B
HONDEW_BERRY = 0x009C
GREPA_BERRY = 0x009D
TAMATO_BERRY = 0x009E
CORNN_BERRY = 0x009F
MAGOST_BERRY = 0x00A0
RABUTA_BERRY = 0x00A1
NOMEL_BERRY = 0x00A2
SPELON_BERRY = 0x00A3
PAMTRE_BERRY = 0x00A4
WATMEL_BERRY = 0x00A5
DURIN_BERRY = 0x00A6
BELUE_BERRY = 0x00A7
LIECHI_BERRY = 0x00A8
GANLON_BERRY = 0x00A9
SALAC_BERRY = 0x00AA
PETAYA_BERRY = 0x00AB
APICOT_BERRY = 0x00AC
LANSAT_BERRY = 0x00AD
STARF_BERRY = 0x00AE
BRIGHTPOWDER = 0x00B3
WHITE_HERB = 0x00B4
MACHO_BRACE = 0x00B5
EXP_SHARE = 0x00B6
QUICK_CLAW = 0x00B7
SOOTHE_BELL = 0x00B8
MENTAL_HERB = 0x00B9
CHOICE_BAND = 0x00BA
KINGS_ROCK = 0x00BB
SILVERPOWDER = 0x00BC
AMULET_COIN = 0x00BD
CLEANSE_TAG = 0x00BE
SOUL_DEW = 0x00BF
DEEPSEATOOTH = 0x00C0
DEEPSEASCALE = 0x00C1
SMOKE_BALL = 0x00C2
EVERSTONE = 0x00C3
FOCUS_BAND = 0x00C4
LUCKY_EGG = 0x00C5
SCOPE_LENS = 0x00C6
METAL_COAT = 0x00C7
LEFTOVERS = 0x00C8
DRAGON_SCALE = 0x00C9
LIGHT_BALL = 0x00CA
SOFT_SAND = 0x00CB
HARD_STONE = 0x00CC
MIRACLE_SEED = 0x00CD
BLACKGLASSES = 0x00CE
BLACK_BELT = 0x00CF
MAGNET = 0x00D0
MYSTIC_WATER = 0x00D1
SHARP_BEAK = 0x00D2
POISON_BARB = 0x00D3
NEVERMELTICE = 0x00D4
SPELL_TAG = 0x00D5
TWISTEDSPOON = 0x00D6
CHARCOAL = 0x00D7
DRAGON_FANG = 0x00D8
SILK_SCARF = 0x00D9
UP_GRADE = 0x00DA
SHELL_BELL = 0x00DB
SEA_INCENSE = 0x00DC
LAX_INCENSE = 0x00DD
LUCKY_PUNCH = 0x00DE
METAL_POWDER = 0x00DF
THICK_CLUB = 0x00E0
STICK = 0x00E1
RED_SCARF = 0x00FE
BLUE_SCARF = 0x00FF
PINK_SCARF = 0x0100
GREEN_SCARF = 0x0101
YELLOW_SCARF = 0x0102
TM01 = 0x0121
TM02 = 0x0122
TM03 = 0x0123
TM04 = 0x0124
TM05 = 0x0125
TM06 = 0x0126
TM07 = 0x0127
TM08 = 0x0128
TM09 = 0x0129
TM10 = 0x012A
TM11 = 0x012B
TM12 = 0x012C
TM13 = 0x012D
TM14 = 0x012E
TM15 = 0x012F
TM16 = 0x0130
TM17 = 0x0131
TM18 = 0x0132
TM19 = 0x0133
TM20 = 0x0134
TM21 = 0x0135
TM22 = 0x0136
TM23 = 0x0137
TM24 = 0x0138
TM25 = 0x0139
TM26 = 0x013A
TM27 = 0x013B
TM28 = 0x013C
TM29 = 0x013D
TM30 = 0x013E
TM31 = 0x013F
TM32 = 0x0140
TM33 = 0x0141
TM34 = 0x0142
TM35 = 0x0143
TM36 = 0x0144
TM37 = 0x0145
TM38 = 0x0146
TM39 = 0x0147
TM40 = 0x0148
TM41 = 0x0149
TM42 = 0x014A
TM43 = 0x014B
TM44 = 0x014C
TM45 = 0x014D
TM46 = 0x014E
TM47 = 0x014F
TM48 = 0x0150
TM49 = 0x0151
TM50 = 0x0152
# Colosseum key items
JAIL_KEY = 0x01F4
ELEVATOR_KEY_COLO = 0x01F5
SMALL_TABLET = 0x01F6
F_DISK = 0x01F7
R_DISK = 0x01F8
L_DISK = 0x01F9
D_DISK = 0x01FA
U_DISK = 0x01FB
SUBWAY_KEY = 0x01FC
MAINGATE_KEY = 0x01FD
CARD_KEY = 0x01FE
DOWN_ST_KEY = 0x01FF
DNA_SAMPLE_1 = 0x0200
DNA_SAMPLE_2 = 0x0201
DNA_SAMPLE_3 = 0x0202
DNA_SAMPLE_4 = 0x0203
DNA_SAMPLE_5 = 0x0204
DNA_SAMPLE_6 = 0x0205
DNA_SAMPLE_7 = 0x0206
DNA_SAMPLE_8 = 0x0207
DNA_SAMPLE_9 = 0x0208
DNA_SAMPLE_10 = 0x0209
DNA_SAMPLE_11 = 0x020A
DNA_SAMPLE_12 = 0x020B
DNA_SAMPLE_13 = 0x020C
DNA_SAMPLE_14 = 0x020D
DNA_SAMPLE_15 = 0x020E
DNA_SAMPLE_16 = 0x020F
DNA_SAMPLE_17 = 0x0210
DNA_SAMPLE_18 = 0x0211
DATA_ROM_COLO = 0x0212
STEEL_TEETH = 0x0213
GEAR = 0x0214
RED_ID_BADGE = 0x0215
GRN_ID_BADGE = 0x0216
BLU_ID_BADGE = 0x0217
YLW_ID_BADGE = 0x0218
TIME_FLUTE = 0x0219
EIN_FILE_S = 0x021A
EIN_FILE_H = 0x021B
EIN_FILE_C = 0x021C
EIN_FILE_P = 0x021D
COLOGNE_CASE_COLO = 0x021E
JOY_SCENT_COLO = 0x021F
EXCITE_SCENT_COLO = 0x0220
VIVID_SCENT_COLO = 0x0221
POWERUP_PART = 0x0222
EIN_FILE_F = 0x0223
# XD key items
SAFE_KEY = 0x01F4
ELEVATOR_KEY_XD = 0x01F5
BONSLY_CARD = 0x01F6
MACHINE_PART = 0x01F7
GONZAPS_KEY = 0x01F8
DATA_ROM_XD = 0x01F9
ID_CARD = 0x01FA
MUSIC_DISC = 0x01FB
SYSTEM_LEVER = 0x01FC
MAYORS_NOTE = 0x01FD
MIROR_RADAR = 0x01FE
POKE_SNACK = 0x01FF
COLOGNE_CASE_XD = 0x0200
JOY_SCENT_XD = 0x0201
EXCITE_SCENT_XD = 0x0202
VIVID_SCENT_XD = 0x0203
SUN_SHARD = 0x0204
MOON_SHARD = 0x0205
BONSLY_PHOTO = 0x0206
CRY_ANALYZER = 0x0207
KRANE_MEMO_1 = 0x020B
KRANE_MEMO_2 = 0x020C
KRANE_MEMO_3 = 0x020D
KRANE_MEMO_4 = 0x020E
KRANE_MEMO_5 = 0x020F
VOICE_CASE_1 = 0x0210
VOICE_CASE_2 = 0x0211
VOICE_CASE_3 = 0x0212
VOICE_CASE_4 = 0x0213
VOICE_CASE_5 = 0x0214
DISC_CASE = 0x0215
BATTLE_CD_01 = 0x0216
BATTLE_CD_02 = 0x0217
BATTLE_CD_03 = 0x0218
BATTLE_CD_04 = 0x0219
BATTLE_CD_05 = 0x021A
BATTLE_CD_06 = 0x021B
BATTLE_CD_07 = 0x021C
BATTLE_CD_08 = 0x021D
BATTLE_CD_09 = 0x021E
BATTLE_CD_10 = 0x021F
BATTLE_CD_11 = 0x0220
BATTLE_CD_12 = 0x0221
BATTLE_CD_13 = 0x0222
BATTLE_CD_14 = 0x0223
BATTLE_CD_15 = 0x0224
BATTLE_CD_16 = 0x0225
BATTLE_CD_17 = 0x0226
BATTLE_CD_18 = 0x0227
BATTLE_CD_19 = 0x0228
BATTLE_CD_20 = 0x0229
BATTLE_CD_21 = 0x022A
BATTLE_CD_22 = 0x022B
BATTLE_CD_23 = 0x022C
BATTLE_CD_24 = 0x022D
BATTLE_CD_25 = 0x022E
BATTLE_CD_26 = 0x022F
BATTLE_CD_27 = 0x0230
BATTLE_CD_28 = 0x0231
BATTLE_CD_29 = 0x0232
BATTLE_CD_30 = 0x0233
BATTLE_CD_31 = 0x0234
BATTLE_CD_32 = 0x0235
BATTLE_CD_33 = 0x0236
BATTLE_CD_34 = 0x0237
BATTLE_CD_35 = 0x0238
BATTLE_CD_36 = 0x0239
BATTLE_CD_37 = 0x023A
BATTLE_CD_38 = 0x023B
BATTLE_CD_39 = 0x023C
BATTLE_CD_40 = 0x023D
BATTLE_CD_41 = 0x023E
BATTLE_CD_42 = 0x023F
BATTLE_CD_43 = 0x0240
BATTLE_CD_44 = 0x0241
BATTLE_CD_45 = 0x0242
BATTLE_CD_46 = 0x0243
BATTLE_CD_47 = 0x0244
BATTLE_CD_48 = 0x0245
BATTLE_CD_49 = 0x0246
BATTLE_CD_50 = 0x0247
BATTLE_CD_51 = 0x0248
BATTLE_CD_52 = 0x0249
BATTLE_CD_53 = 0x024A
BATTLE_CD_54 = 0x024B
BATTLE_CD_55 = 0x024C
BATTLE_CD_56 = 0x024D
BATTLE_CD_57 = 0x024E
BATTLE_CD_58 = 0x024F
BATTLE_CD_59 = 0x0250
BATTLE_CD_60 = 0x0251
@classmethod
def _missing_(cls, value):
return Item.NONE
class ExpClass(Enum):
ERRATIC = 0x01
FAST = 0x04
MEDIUM_FAST = 0x00
MEDIUM_SLOW = 0x03
SLOW = 0x05
FLUCTUATING = 0x02
class EvolutionType(Enum):
NONE = 0x00
HAPPINESS = 0x01
HAPPINESS_DAY = 0x02
HAPPINESS_NIGHT = 0x03
LEVEL_UP = 0x04
TRADE_ALWAYS = 0x05
TRADE_WITH_ITEM = 0x06
STONE_EVOLUTION = 0x07
ATTACK_GT_DEFENSE = 0x08
ATTACK_EQ_DEFENSE = 0x09
ATTACK_LT_DEFENSE = 0x0A
PERSONALITY_VALUE_MODULO_LOW = 0x0B
PERSONALITY_VALUE_MODULO_HIGH = 0x0C
UNUSED_13 = 0x0D
SHEDINJA = 0x0E
HIGH_BEAUTY = 0x0F
HAPPINESS_WITH_ITEM_IN_BAG = 0x10
@property
def param_is_level(self):
return self in [self.LEVEL_UP, self.ATTACK_EQ_DEFENSE, self.ATTACK_GT_DEFENSE, self.ATTACK_LT_DEFENSE,
self.PERSONALITY_VALUE_MODULO_LOW, self.PERSONALITY_VALUE_MODULO_HIGH, self.SHEDINJA]
@property
def param_is_item(self):
return self in [self.TRADE_WITH_ITEM, self.STONE_EVOLUTION, self.HAPPINESS_WITH_ITEM_IN_BAG]
class Nature(IntEnum):
HARDY = 0x00
LONELY = 0x01
BRAVE = 0x02
ADAMANT = 0x03
NAUGHTY = 0x04
BOLD = 0x05
DOCILE = 0x06
RELAXED = 0x07
IMPISH = 0x08
LAX = 0x09
TIMID = 0x0A
HASTY = 0x0B
SERIOUS = 0x0C
JOLLY = 0x0D
NAIVE = 0x0E
MODEST = 0x0F
MILD = 0x10
QUIET = 0x11
BASHFUL = 0x12
RASH = 0x13
CALM = 0x14
GENTLE = 0x15
SASSY = 0x16
CAREFUL = 0x17
QUIRKY = 0x18
# used in Colosseum party data
RANDOM = 0xFF
@classmethod
def _missing_(cls, value):
return -1
| [
1,
529,
276,
1112,
420,
29958,
29879,
5059,
705,
12483,
29929,
29896,
29914,
29886,
554,
9857,
29899,
27354,
29899,
8172,
3950,
29966,
9507,
29958,
8172,
3950,
29914,
10718,
29914,
3075,
1934,
29889,
2272,
13,
29937,
14708,
4855,
29914,
2109,
29914,
6272,
3017,
13,
29937,
448,
29930,
29899,
14137,
29901,
23616,
29899,
29947,
448,
29930,
29899,
13,
3166,
14115,
1053,
1174,
398,
29892,
3159,
16854,
13,
13,
13,
1990,
21747,
9857,
10649,
2478,
29898,
2928,
16854,
1125,
13,
1678,
405,
12413,
353,
29871,
29900,
29916,
29900,
29900,
29900,
13,
1678,
350,
13309,
29933,
3289,
29909,
4574,
353,
29871,
29900,
29916,
29900,
29900,
29896,
13,
1678,
6599,
29979,
8132,
4574,
353,
29871,
29900,
29916,
29900,
29900,
29906,
13,
1678,
478,
1430,
27019,
4574,
353,
29871,
29900,
29916,
29900,
29900,
29941,
13,
1678,
26871,
1529,
2797,
1001,
353,
29871,
29900,
29916,
29900,
29900,
29946,
13,
1678,
26871,
2303,
1307,
1164,
353,
29871,
29900,
29916,
29900,
29900,
29945,
13,
1678,
26871,
26664,
17011,
353,
29871,
29900,
29916,
29900,
29900,
29953,
13,
1678,
317,
29984,
3120,
13079,
1307,
353,
29871,
29900,
29916,
29900,
29900,
29955,
13,
1678,
399,
8322,
8476,
1307,
353,
29871,
29900,
29916,
29900,
29900,
29947,
13,
1678,
350,
4375,
1254,
29949,
29902,
1660,
353,
29871,
29900,
29916,
29900,
29900,
29929,
13,
1678,
315,
1299,
1001,
2227,
29923,
353,
29871,
29900,
29916,
29900,
29900,
29909,
13,
1678,
341,
2544,
3301,
13668,
353,
29871,
29900,
29916,
29900,
29900,
29933,
13,
1678,
350,
2692,
4945,
29943,
21661,
353,
29871,
29900,
29916,
29900,
29900,
29907,
13,
1678,
399,
29923,
3352,
1307,
353,
29871,
29900,
29916,
29900,
29900,
29928,
13,
1678,
476,
22311,
29965,
3521,
353,
29871,
29900,
29916,
29900,
29900,
29923,
13,
1678,
20700,
3352,
3960,
2208,
353,
29871,
29900,
29916,
29900,
29900,
29943,
13,
1678,
349,
1367,
1692,
29979,
353,
29871,
29900,
29916,
29900,
29896,
29900,
13,
1678,
349,
1367,
1692,
2891,
4986,
353,
29871,
29900,
29916,
29900,
29896,
29896,
13,
1678,
349,
1367,
1692,
2891,
353,
29871,
29900,
29916,
29900,
29896,
29906,
13,
1678,
390,
1299,
29911,
8254,
353,
29871,
29900,
29916,
29900,
29896,
29941,
13,
1678,
390,
1299,
2965,
3040,
353,
29871,
29900,
29916,
29900,
29896,
29946,
13,
1678,
317,
4162,
29909,
25180,
353,
29871,
29900,
29916,
29900,
29896,
29945,
13,
1678,
383,
29923,
29909,
25180,
353,
29871,
29900,
29916,
29900,
29896,
29953,
13,
1678,
382,
29968,
2190,
29903,
353,
29871,
29900,
29916,
29900,
29896,
29955,
13,
1678,
9033,
8456,
29968,
353,
29871,
29900,
29916,
29900,
29896,
29947,
13,
1678,
349,
23328,
2477,
29950,
29965,
353,
29871,
29900,
29916,
29900,
29896,
29929,
13,
1678,
18865,
2965,
29950,
29965,
353,
29871,
29900,
29916,
29900,
29896,
29909,
13,
1678,
317,
9468,
7068,
1525,
29956,
353,
29871,
29900,
29916,
29900,
29896,
29933,
13,
1678,
317,
2190,
8452,
29931,
24943,
353,
29871,
29900,
29916,
29900,
29896,
29907,
13,
1678,
405,
1367,
1955,
2190,
29918,
29943,
353,
29871,
29900,
29916,
29900,
29896,
29928,
13,
1678,
405,
1367,
1955,
1177,
29909,
353,
29871,
29900,
29916,
29900,
29896,
29923,
13,
1678,
405,
1367,
29949,
11144,
1430,
353,
29871,
29900,
29916,
29900,
29896,
29943,
13,
1678,
405,
1367,
1955,
2190,
29918,
29924,
353,
29871,
29900,
29916,
29900,
29906,
29900,
13,
1678,
405,
1367,
1955,
1177,
29949,
353,
29871,
29900,
29916,
29900,
29906,
29896,
13,
1678,
405,
1367,
8949,
4214,
353,
29871,
29900,
29916,
29900,
29906,
29906,
13,
1678,
315,
1307,
4519,
8193,
29979,
353,
29871,
29900,
29916,
29900,
29906,
29941,
13,
1678,
315,
1307,
29943,
6181,
353,
29871,
29900,
29916,
29900,
29906,
29946,
13,
1678,
478,
13309,
2227,
29990,
353,
29871,
29900,
29916,
29900,
29906,
29945,
13,
1678,
405,
1177,
2544,
29909,
17101,
353,
29871,
29900,
29916,
29900,
29906,
29953,
13,
1678,
435,
6259,
7239,
29979,
7056,
4198,
353,
29871,
29900,
29916,
29900,
29906,
29955,
13,
1678,
399,
6259,
7239,
29979,
29911,
29965,
4198,
353,
29871,
29900,
29916,
29900,
29906,
29947,
13,
1678,
796,
7466,
1299,
353,
29871,
29900,
29916,
29900,
29906,
29929,
13,
1678,
402,
5607,
29933,
1299,
353,
29871,
29900,
29916,
29900,
29906,
29909,
13,
1678,
438,
7858,
3235,
29950,
353,
29871,
29900,
29916,
29900,
29906,
29933,
13,
1678,
402,
3927,
6488,
353,
29871,
29900,
29916,
29900,
29906,
29907,
13,
1678,
5473,
1307,
7390,
29965,
2303,
353,
29871,
29900,
29916,
29900,
29906,
29928,
13,
1678,
349,
1718,
3289,
353,
29871,
29900,
29916,
29900,
29906,
29923,
13,
1678,
349,
1718,
8127,
1783,
353,
29871,
29900,
29916,
29900,
29906,
29943,
13,
1678,
478,
1430,
1164,
1299,
353,
29871,
29900,
29916,
29900,
29941,
29900,
13,
1678,
478,
1430,
6488,
2891,
29950,
353,
29871,
29900,
29916,
29900,
29941,
29896,
13,
1678,
360,
6259,
1307,
19988,
353,
29871,
29900,
29916,
29900,
29941,
29906,
13,
1678,
360,
23338,
29911,
3960,
29949,
353,
29871,
29900,
29916,
29900,
29941,
29941,
13,
1678,
22986,
9806,
4690,
353,
29871,
29900,
29916,
29900,
29941,
29946,
13,
1678,
349,
1001,
5425,
2190,
353,
29871,
29900,
29916,
29900,
29941,
29945,
13,
1678,
11323,
29979,
14849,
7077,
353,
29871,
29900,
29916,
29900,
29941,
29953,
13,
1678,
402,
5607,
14849,
7077,
353,
29871,
29900,
29916,
29900,
29941,
29955,
13,
1678,
341,
2190,
10818,
353,
29871,
29900,
29916,
29900,
29941,
29947,
13,
1678,
349,
3960,
2303,
3301,
29923,
353,
29871,
29900,
29916,
29900,
29941,
29929,
13,
1678,
402,
25180,
29931,
1806,
9606,
353,
29871,
29900,
29916,
29900,
29941,
29909,
13,
1678,
9033,
29907,
2190,
8895,
353,
29871,
29900,
29916,
29900,
29941,
29933,
13,
1678,
21521,
5265,
29956,
10051,
353,
29871,
29900,
29916,
29900,
29941,
29907,
13,
1678,
21521,
5265,
29956,
17628,
2241,
353,
29871,
29900,
29916,
29900,
29941,
29928,
13,
1678,
21521,
5265,
9980,
7534,
353,
29871,
29900,
29916,
29900,
29941,
29923,
13,
1678,
17571,
4717,
353,
29871,
29900,
29916,
29900,
29941,
29943,
13,
1678,
476,
3035,
2882,
4717,
353,
29871,
29900,
29916,
29900,
29946,
29900,
13,
1678,
319,
4375,
29968,
29909,
29999,
5194,
353,
29871,
29900,
29916,
29900,
29946,
29896,
13,
1678,
26750,
29950,
4590,
353,
29871,
29900,
29916,
29900,
29946,
29906,
13,
1678,
26750,
8187,
6059,
353,
29871,
29900,
29916,
29900,
29946,
29941,
13,
1678,
26750,
15715,
3580,
353,
29871,
29900,
29916,
29900,
29946,
29946,
13,
1678,
20700,
2208,
5550,
1672,
2692,
353,
29871,
29900,
29916,
29900,
29946,
29945,
13,
1678,
399,
29923,
15488,
1177,
15349,
2208,
353,
29871,
29900,
29916,
29900,
29946,
29953,
13,
1678,
5473,
1783,
21661,
29933,
6670,
353,
29871,
29900,
29916,
29900,
29946,
29955,
13,
1678,
323,
3919,
2477,
29949,
5607,
353,
29871,
29900,
29916,
29900,
29946,
29947,
13,
1678,
323,
3919,
2477,
29934,
4462,
29931,
353,
29871,
29900,
29916,
29900,
29946,
29929,
13,
1678,
402,
29923,
13668,
29965,
2287,
353,
29871,
29900,
29916,
29900,
29946,
29909,
13,
1678,
402,
4717,
29963,
6670,
1001,
353,
29871,
29900,
29916,
29900,
29946,
29933,
13,
1678,
21947,
1307,
29924,
353,
29871,
29900,
29916,
29900,
29946,
29907,
13,
1678,
349,
1164,
29979,
6040,
353,
29871,
29900,
29916,
29900,
29946,
29928,
13,
1678,
390,
3301,
1367,
24943,
353,
29871,
29900,
29916,
29900,
29946,
29923,
13,
1678,
317,
27998,
13152,
6059,
353,
29871,
29900,
29916,
29900,
29946,
29943,
13,
1678,
317,
27998,
29933,
1672,
353,
29871,
29900,
29916,
29900,
29945,
29900,
13,
1678,
341,
10051,
8186,
29924,
9094,
353,
29871,
29900,
29916,
29900,
29945,
29896,
13,
1678,
341,
10051,
6006,
1164,
353,
29871,
29900,
29916,
29900,
29945,
29906,
13,
1678,
383,
1718,
29943,
2544,
3210,
29918,
29928,
353,
29871,
29900,
29916,
29900,
29945,
29941,
13,
1678,
11662,
14849,
29949,
353,
29871,
29900,
29916,
29900,
29945,
29946,
13,
1678,
11662,
29928,
3960,
29949,
353,
29871,
29900,
29916,
29900,
29945,
29945,
13,
1678,
3725,
6670,
353,
29871,
29900,
29916,
29900,
29945,
29953,
13,
1678,
5012,
29956,
29954,
20614,
353,
29871,
29900,
29916,
29900,
29945,
29955,
13,
1678,
402,
3960,
29924,
1001,
353,
29871,
29900,
29916,
29900,
29945,
29947,
13,
1678,
341,
19960,
353,
29871,
29900,
29916,
29900,
29945,
29929,
13,
1678,
317,
9606,
2208,
8032,
353,
29871,
29900,
29916,
29900,
29945,
29909,
13,
1678,
315,
3927,
29979,
1254,
1001,
353,
29871,
29900,
29916,
29900,
29945,
29933,
13,
1678,
402,
28938,
16786,
353,
29871,
29900,
29916,
29900,
29945,
29907,
13,
1678,
379,
29909,
3904,
4945,
353,
29871,
29900,
29916,
29900,
29945,
29928,
13,
1678,
402,
1430,
29954,
1718,
353,
29871,
29900,
29916,
29900,
29945,
29923,
13,
1678,
6732,
6415,
353,
29871,
29900,
29916,
29900,
29945,
29943,
13,
1678,
360,
25180,
10721,
29923,
353,
29871,
29900,
29916,
29900,
29953,
29900,
13,
1678,
379,
29979,
29925,
6632,
353,
29871,
29900,
29916,
29900,
29953,
29896,
13,
1678,
476,
29934,
2882,
22716,
353,
29871,
29900,
29916,
29900,
29953,
29906,
13,
1678,
476,
4214,
29931,
1001,
353,
29871,
29900,
29916,
29900,
29953,
29941,
13,
1678,
478,
5607,
29911,
1955,
29933,
353,
29871,
29900,
29916,
29900,
29953,
29946,
13,
1678,
382,
3281,
1672,
2287,
353,
29871,
29900,
29916,
29900,
29953,
29945,
13,
1678,
8528,
11787,
8766,
26027,
353,
29871,
29900,
29916,
29900,
29953,
29953,
13,
1678,
8528,
11787,
29954,
2692,
1955,
353,
29871,
29900,
29916,
29900,
29953,
29955,
13,
1678,
315,
7466,
12413,
353,
29871,
29900,
29916,
29900,
29953,
29947,
13,
1678,
14861,
1672,
12982,
29968,
353,
29871,
29900,
29916,
29900,
29953,
29929,
13,
1678,
379,
1806,
22877,
1307,
29923,
353,
29871,
29900,
29916,
29900,
29953,
29909,
13,
1678,
379,
1806,
22877,
3210,
2190,
353,
29871,
29900,
29916,
29900,
29953,
29933,
13,
1678,
365,
2965,
29968,
1806,
3904,
29954,
353,
29871,
29900,
29916,
29900,
29953,
29907,
13,
1678,
476,
27681,
4214,
353,
29871,
29900,
29916,
29900,
29953,
29928,
13,
1678,
399,
17896,
29999,
4214,
353,
29871,
29900,
29916,
29900,
29953,
29923,
13,
1678,
390,
29950,
29979,
29950,
1955,
29940,
353,
29871,
29900,
29916,
29900,
29953,
29943,
13,
1678,
390,
29950,
29979,
29928,
1164,
353,
29871,
29900,
29916,
29900,
29955,
29900,
13,
1678,
5868,
2190,
1660,
29979,
353,
29871,
29900,
29916,
29900,
29955,
29896,
13,
1678,
323,
24336,
4375,
353,
29871,
29900,
29916,
29900,
29955,
29906,
13,
1678,
476,
19453,
3289,
29968,
29950,
2190,
353,
29871,
29900,
29916,
29900,
29955,
29941,
13,
1678,
379,
1955,
1660,
29909,
353,
29871,
29900,
29916,
29900,
29955,
29946,
13,
1678,
3725,
3035,
4717,
353,
29871,
29900,
29916,
29900,
29955,
29945,
13,
1678,
402,
5607,
2287,
1430,
353,
29871,
29900,
29916,
29900,
29955,
29953,
13,
1678,
3725,
22311,
4214,
353,
29871,
29900,
29916,
29900,
29955,
29955,
13,
1678,
6850,
19926,
29965,
353,
29871,
29900,
29916,
29900,
29955,
29947,
13,
1678,
6850,
1718,
29924,
8673,
353,
29871,
29900,
29916,
29900,
29955,
29929,
13,
1678,
29751,
29918,
29924,
8890,
353,
29871,
29900,
29916,
29900,
29955,
29909,
13,
1678,
12314,
29979,
29911,
4448,
353,
29871,
29900,
29916,
29900,
29955,
29933,
13,
1678,
435,
29979,
29940,
29990,
353,
29871,
29900,
29916,
29900,
29955,
29907,
13,
1678,
382,
3281,
2882,
29965,
29999,
29999,
353,
29871,
29900,
29916,
29900,
29955,
29928,
13,
1678,
341,
10051,
1529,
29934,
353,
29871,
29900,
29916,
29900,
29955,
29923,
13,
1678,
349,
1177,
5425,
29934,
353,
29871,
29900,
29916,
29900,
29955,
29943,
13,
1678,
323,
25951,
1672,
29903,
353,
29871,
29900,
29916,
29900,
29947,
29900,
13,
1678,
341,
10051,
23328,
1718,
29925,
353,
29871,
29900,
29916,
29900,
29947,
29896,
13,
1678,
402,
29979,
1718,
3035,
3267,
353,
29871,
29900,
29916,
29900,
29947,
29906,
13,
1678,
365,
3301,
29934,
3289,
353,
29871,
29900,
29916,
29900,
29947,
29941,
13,
1678,
360,
1806,
4986,
353,
29871,
29900,
29916,
29900,
29947,
29946,
13,
1678,
382,
29923,
12064,
29923,
353,
29871,
29900,
29916,
29900,
29947,
29945,
13,
1678,
478,
3301,
29949,
1525,
1164,
353,
29871,
29900,
29916,
29900,
29947,
29953,
13,
1678,
435,
5607,
4330,
1164,
353,
29871,
29900,
29916,
29900,
29947,
29955,
13,
1678,
383,
4375,
1525,
1164,
353,
29871,
29900,
29916,
29900,
29947,
29947,
13,
1678,
349,
18929,
29954,
1164,
353,
29871,
29900,
29916,
29900,
29947,
29929,
13,
1678,
438,
27616,
29979,
4330,
353,
29871,
29900,
29916,
29900,
29947,
29909,
13,
1678,
438,
1529,
1254,
1718,
353,
29871,
29900,
29916,
29900,
29947,
29933,
13,
1678,
476,
2882,
2692,
29949,
353,
29871,
29900,
29916,
29900,
29947,
29907,
13,
1678,
476,
2882,
2692,
4590,
29903,
353,
29871,
29900,
29916,
29900,
29947,
29928,
13,
1678,
319,
1001,
29949,
7698,
1783,
29979,
29931,
353,
29871,
29900,
29916,
29900,
29947,
29923,
13,
1678,
21989,
1955,
4375,
29990,
353,
29871,
29900,
29916,
29900,
29947,
29943,
13,
1678,
9033,
29911,
2965,
3904,
29949,
353,
29871,
29900,
29916,
29900,
29929,
29900,
13,
1678,
796,
3301,
29928,
3267,
353,
29871,
29900,
29916,
29900,
29929,
29896,
13,
1678,
341,
5607,
29911,
15989,
353,
29871,
29900,
29916,
29900,
29929,
29906,
13,
1678,
26900,
1299,
1177,
29902,
353,
29871,
29900,
29916,
29900,
29929,
29941,
13,
1678,
360,
4717,
29954,
1164,
29909,
8193,
353,
29871,
29900,
29916,
29900,
29929,
29946,
13,
1678,
360,
4717,
29954,
1164,
9094,
353,
29871,
29900,
29916,
29900,
29929,
29945,
13,
1678,
22986,
29956,
16240,
29949,
353,
29871,
29900,
29916,
29900,
29929,
29953,
13,
1678,
22986,
29956,
353,
29871,
29900,
29916,
29900,
29929,
29955,
13,
1678,
5868,
23328,
1955,
1806,
29909,
353,
29871,
29900,
29916,
29900,
29929,
29947,
13,
1678,
350,
29909,
29979,
1307,
29638,
353,
29871,
29900,
29916,
29900,
29929,
29929,
13,
1678,
341,
11787,
2190,
29902,
5005,
353,
29871,
29900,
29916,
29900,
29929,
29909,
13,
1678,
315,
29979,
2797,
29909,
29984,
3120,
29931,
353,
29871,
29900,
29916,
29900,
29929,
29933,
13,
1678,
660,
3120,
4375,
20449,
353,
29871,
29900,
29916,
29900,
29929,
29907,
13,
1678,
323,
29979,
29925,
15444,
3267,
2725,
353,
29871,
29900,
29916,
29900,
29929,
29928,
13,
1678,
323,
2891,
29949,
4571,
1307,
353,
29871,
29900,
29916,
29900,
29929,
29923,
13,
1678,
315,
1672,
6007,
29376,
353,
29871,
29900,
29916,
29900,
29929,
29943,
13,
1678,
383,
1001,
1964,
6259,
1299,
29934,
353,
29871,
29900,
29916,
29900,
29909,
29900,
13,
1678,
317,
3919,
1525,
29911,
353,
29871,
29900,
29916,
29900,
29909,
29896,
13,
1678,
383,
4574,
1525,
29911,
353,
29871,
29900,
29916,
29900,
29909,
29906,
13,
1678,
29832,
2891,
8187,
2891,
353,
29871,
29900,
29916,
29900,
29909,
29941,
13,
1678,
11698,
1783,
9806,
29931,
353,
29871,
29900,
29916,
29900,
29909,
29946,
13,
1678,
25023,
29979,
5688,
353,
29871,
29900,
29916,
29900,
29909,
29945,
13,
1678,
25023,
29902,
2190,
353,
29871,
29900,
29916,
29900,
29909,
29953,
13,
1678,
10937,
1177,
1718,
22311,
353,
29871,
29900,
29916,
29900,
29909,
29955,
13,
1678,
319,
3960,
3035,
3267,
353,
29871,
29900,
29916,
29900,
29909,
29947,
13,
1678,
315,
1672,
29933,
1299,
353,
29871,
29900,
29916,
29900,
29909,
29929,
13,
1678,
5868,
1177,
3210,
27269,
353,
29871,
29900,
29916,
29900,
6344,
13,
1678,
365,
13566,
24015,
353,
29871,
29900,
29916,
29900,
2882,
13,
1678,
349,
2965,
29950,
29965,
353,
29871,
29900,
29916,
29900,
2477,
13,
1678,
315,
1307,
4198,
29909,
353,
29871,
29900,
29916,
29900,
3035,
13,
1678,
306,
29954,
7239,
29979,
7838,
4198,
353,
29871,
29900,
29916,
29900,
16036,
13,
1678,
7495,
1692,
2227,
353,
29871,
29900,
29916,
29900,
5098,
13,
1678,
7495,
7194,
2965,
353,
29871,
29900,
29916,
29900,
29933,
29900,
13,
1678,
26038,
29965,
353,
29871,
29900,
29916,
29900,
29933,
29896,
13,
1678,
1060,
1299,
29965,
353,
29871,
29900,
29916,
29900,
29933,
29906,
13,
1678,
14861,
1525,
15488,
353,
29871,
29900,
29916,
29900,
29933,
29941,
13,
1678,
383,
4375,
29909,
4198,
29979,
353,
29871,
29900,
29916,
29900,
29933,
29946,
13,
1678,
319,
3580,
15715,
1672,
29903,
353,
29871,
29900,
29916,
29900,
29933,
29945,
13,
1678,
20700,
2208,
29949,
1799,
6488,
353,
29871,
29900,
29916,
29900,
29933,
29953,
13,
1678,
23851,
24071,
353,
29871,
29900,
29916,
29900,
29933,
29955,
13,
1678,
319,
29999,
29965,
1529,
3960,
2208,
353,
29871,
29900,
29916,
29900,
29933,
29947,
13,
1678,
20134,
3970,
29956,
29949,
29949,
3970,
353,
29871,
29900,
29916,
29900,
29933,
29929,
13,
1678,
349,
5607,
1806,
29949,
3352,
353,
29871,
29900,
29916,
29900,
5688,
13,
1678,
379,
4590,
2227,
29925,
353,
29871,
29900,
29916,
29900,
14388,
13,
1678,
18581,
5690,
3927,
6488,
353,
29871,
29900,
29916,
29900,
5371,
13,
1678,
435,
29965,
3580,
29931,
29965,
4198,
353,
29871,
29900,
29916,
29900,
29121,
13,
1678,
319,
5690,
6488,
353,
29871,
29900,
29916,
29900,
15349,
13,
1678,
317,
3904,
29968,
1001,
29940,
353,
29871,
29900,
29916,
29900,
28062,
13,
1678,
317,
3904,
10536,
1955,
29909,
353,
29871,
29900,
29916,
29900,
29907,
29900,
13,
1678,
612,
2190,
1529,
353,
29871,
29900,
29916,
29900,
29907,
29896,
13,
1678,
399,
29949,
4590,
1001,
353,
29871,
29900,
29916,
29900,
29907,
29906,
13,
1678,
660,
29965,
10051,
5425,
1525,
353,
29871,
29900,
29916,
29900,
29907,
29941,
13,
1678,
17956,
4162,
1164,
353,
29871,
29900,
29916,
29900,
29907,
29946,
13,
1678,
501,
9486,
1525,
1164,
353,
29871,
29900,
29916,
29900,
29907,
29945,
13,
1678,
341,
4574,
29968,
25180,
353,
29871,
29900,
29916,
29900,
29907,
29953,
13,
1678,
317,
27998,
29968,
4214,
353,
29871,
29900,
29916,
29900,
29907,
29955,
13,
1678,
341,
3235,
29928,
1525,
7520,
3308,
353,
29871,
29900,
29916,
29900,
29907,
29947,
13,
1678,
501,
6632,
16048,
353,
29871,
29900,
29916,
29900,
29907,
29929,
13,
1678,
399,
14824,
7838,
4198,
2544,
353,
29871,
29900,
29916,
29900,
5454,
13,
1678,
402,
29902,
4717,
29943,
1718,
6259,
353,
29871,
29900,
29916,
29900,
21685,
13,
1678,
349,
8895,
3217,
353,
29871,
29900,
29916,
29900,
4174,
13,
1678,
15842,
1525,
29911,
26785,
353,
29871,
29900,
29916,
29900,
6530,
13,
1678,
360,
29965,
3059,
16320,
4741,
353,
29871,
29900,
29916,
29900,
4741,
13,
1678,
402,
5265,
29954,
1718,
353,
29871,
29900,
29916,
29900,
9207,
13,
1678,
317,
4330,
29923,
5265,
29990,
353,
29871,
29900,
29916,
29900,
29928,
29900,
13,
1678,
21989,
7466,
29933,
3299,
353,
29871,
29900,
29916,
29900,
29928,
29896,
13,
1678,
18016,
2190,
29933,
3299,
353,
29871,
29900,
29916,
29900,
29928,
29906,
13,
1678,
660,
29956,
6227,
29943,
3235,
29950,
353,
29871,
29900,
29916,
29900,
29928,
29941,
13,
1678,
317,
8426,
29999,
1955,
353,
29871,
29900,
29916,
29900,
29928,
29946,
13,
1678,
24972,
29965,
7077,
1307,
353,
29871,
29900,
29916,
29900,
29928,
29945,
13,
1678,
379,
1001,
2477,
1672,
1799,
353,
29871,
29900,
29916,
29900,
29928,
29953,
13,
1678,
317,
8186,
8127,
29931,
353,
29871,
29900,
29916,
29900,
29928,
29955,
13,
1678,
323,
3352,
4571,
4574,
8132,
353,
29871,
29900,
29916,
29900,
29928,
29947,
13,
1678,
501,
12445,
1718,
4214,
353,
29871,
29900,
29916,
29900,
29928,
29929,
13,
1678,
27146,
23338,
1529,
353,
29871,
29900,
29916,
29900,
7698,
13,
1678,
14861,
8766,
1718,
17080,
353,
29871,
29900,
29916,
29900,
4051,
13,
1678,
317,
25152,
7466,
353,
29871,
29900,
29916,
29900,
12696,
13,
1678,
349,
6227,
3267,
29956,
8895,
353,
29871,
29900,
29916,
29900,
7858,
13,
1678,
315,
1955,
6156,
4375,
353,
29871,
29900,
29916,
29900,
2287,
13,
1678,
5195,
29924,
1955,
29909,
1367,
353,
29871,
29900,
29916,
29900,
4037,
13,
1678,
438,
1783,
24071,
24422,
353,
29871,
29900,
29916,
29900,
29923,
29900,
13,
1678,
5012,
5265,
29933,
8193,
29928,
353,
29871,
29900,
29916,
29900,
29923,
29896,
13,
1678,
341,
13566,
8895,
353,
29871,
29900,
29916,
29900,
29923,
29906,
13,
1678,
18581,
1718,
29924,
18929,
353,
29871,
29900,
29916,
29900,
29923,
29941,
13,
1678,
29832,
18783,
22970,
353,
29871,
29900,
29916,
29900,
29923,
29946,
13,
1678,
29832,
18783,
29949,
6488,
353,
29871,
29900,
29916,
29900,
29923,
29945,
13,
1678,
476,
4214,
29928,
4717,
353,
29871,
29900,
29916,
29900,
29923,
29953,
13,
1678,
349,
29950,
2190,
20055,
353,
29871,
29900,
29916,
29900,
29923,
29955,
13,
1678,
360,
1164,
19689,
2190,
353,
29871,
29900,
29916,
29900,
29923,
29947,
13,
1678,
349,
18929,
29954,
1164,
29906,
353,
29871,
29900,
29916,
29900,
29923,
29929,
13,
1678,
6850,
13566,
29931,
1001,
353,
29871,
29900,
29916,
29900,
29923,
29909,
13,
1678,
317,
2303,
1718,
29954,
1307,
353,
29871,
29900,
29916,
29900,
25752,
13,
1678,
323,
29979,
1672,
29954,
4462,
353,
29871,
29900,
29916,
29900,
11206,
13,
1678,
379,
1806,
22877,
29911,
4590,
353,
29871,
29900,
29916,
29900,
3352,
13,
1678,
317,
6720,
29949,
3210,
5005,
353,
29871,
29900,
29916,
29900,
17896,
13,
1678,
382,
1307,
29968,
1367,
353,
29871,
29900,
29916,
29900,
29638,
13,
1678,
14861,
7210,
29979,
353,
29871,
29900,
29916,
29900,
29943,
29900,
13,
1678,
341,
29902,
5850,
2190,
29968,
353,
29871,
29900,
29916,
29900,
29943,
29896,
13,
1678,
350,
29931,
3235,
1660,
29979,
353,
29871,
29900,
29916,
29900,
29943,
29906,
13,
1678,
18865,
23328,
27269,
353,
29871,
29900,
29916,
29900,
29943,
29941,
13,
1678,
12524,
4330,
29902,
353,
29871,
29900,
29916,
29900,
29943,
29946,
13,
1678,
20134,
2965,
3904,
29923,
353,
29871,
29900,
29916,
29900,
29943,
29945,
13,
1678,
365,
1718,
29963,
1806,
1718,
353,
29871,
29900,
29916,
29900,
29943,
29953,
13,
1678,
349,
4897,
1806,
1718,
353,
29871,
29900,
29916,
29900,
29943,
29955,
13,
1678,
323,
29979,
29934,
2190,
1806,
1718,
353,
29871,
29900,
29916,
29900,
29943,
29947,
13,
1678,
365,
23338,
10764,
353,
29871,
29900,
29916,
29900,
29943,
29929,
13,
1678,
29832,
29918,
23170,
353,
29871,
29900,
29916,
29900,
4519,
13,
1678,
14645,
1307,
12809,
353,
29871,
29900,
29916,
29900,
18426,
13,
1678,
8291,
17171,
29928,
29918,
29906,
29945,
29906,
353,
29871,
29900,
29916,
29900,
8610,
13,
1678,
8291,
17171,
29928,
29918,
29906,
29945,
29941,
353,
29871,
29900,
29916,
29900,
26453,
13,
1678,
8291,
17171,
29928,
29918,
29906,
29945,
29946,
353,
29871,
29900,
29916,
29900,
16359,
13,
1678,
8291,
17171,
29928,
29918,
29906,
29945,
29945,
353,
29871,
29900,
29916,
29900,
4198,
13,
1678,
8291,
17171,
29928,
29918,
29906,
29945,
29953,
353,
29871,
29900,
29916,
29896,
29900,
29900,
13,
1678,
8291,
17171,
29928,
29918,
29906,
29945,
29955,
353,
29871,
29900,
29916,
29896,
29900,
29896,
13,
1678,
8291,
17171,
29928,
29918,
29906,
29945,
29947,
353,
29871,
29900,
29916,
29896,
29900,
29906,
13,
1678,
8291,
17171,
29928,
29918,
29906,
29945,
29929,
353,
29871,
29900,
29916,
29896,
29900,
29941,
13,
1678,
8291,
17171,
29928,
29918,
29906,
29953,
29900,
353,
29871,
29900,
29916,
29896,
29900,
29946,
13,
1678,
8291,
17171,
29928,
29918,
29906,
29953,
29896,
353,
29871,
29900,
29916,
29896,
29900,
29945,
13,
1678,
8291,
17171,
29928,
29918,
29906,
29953,
29906,
353,
29871,
29900,
29916,
29896,
29900,
29953,
13,
1678,
8291,
17171,
29928,
29918,
29906,
29953,
29941,
353,
29871,
29900,
29916,
29896,
29900,
29955,
13,
1678,
8291,
17171,
29928,
29918,
29906,
29953,
29946,
353,
29871,
29900,
29916,
29896,
29900,
29947,
13,
1678,
8291,
17171,
29928,
29918,
29906,
29953,
29945,
353,
29871,
29900,
29916,
29896,
29900,
29929,
13,
1678,
8291,
17171,
29928,
29918,
29906,
29953,
29953,
353,
29871,
29900,
29916,
29896,
29900,
29909,
13,
1678,
8291,
17171,
29928,
29918,
29906,
29953,
29955,
353,
29871,
29900,
29916,
29896,
29900,
29933,
13,
1678,
8291,
17171,
29928,
29918,
29906,
29953,
29947,
353,
29871,
29900,
29916,
29896,
29900,
29907,
13,
1678,
8291,
17171,
29928,
29918,
29906,
29953,
29929,
353,
29871,
29900,
29916,
29896,
29900,
29928,
13,
1678,
8291,
17171,
29928,
29918,
29906,
29955,
29900,
353,
29871,
29900,
29916,
29896,
29900,
29923,
13,
1678,
8291,
17171,
29928,
29918,
29906,
29955,
29896,
353,
29871,
29900,
29916,
29896,
29900,
29943,
13,
1678,
8291,
17171,
29928,
29918,
29906,
29955,
29906,
353,
29871,
29900,
29916,
29896,
29896,
29900,
13,
1678,
8291,
17171,
29928,
29918,
29906,
29955,
29941,
353,
29871,
29900,
29916,
29896,
29896,
29896,
13,
1678,
8291,
17171,
29928,
29918,
29906,
29955,
29946,
353,
29871,
29900,
29916,
29896,
29896,
29906,
13,
1678,
8291,
17171,
29928,
29918,
29906,
29955,
29945,
353,
29871,
29900,
29916,
29896,
29896,
29941,
13,
1678,
8291,
17171,
29928,
29918,
29906,
29955,
29953,
353,
29871,
29900,
29916,
29896,
29896,
29946,
13,
1678,
323,
1525,
16658,
29949,
353,
29871,
29900,
29916,
29896,
29896,
29945,
13,
1678,
402,
1672,
29963,
29979,
1307,
353,
29871,
29900,
29916,
29896,
29896,
29953,
13,
1678,
317,
4741,
7982,
29902,
1307,
353,
29871,
29900,
29916,
29896,
29896,
29955,
13,
1678,
323,
1955,
3210,
2965,
353,
29871,
29900,
29916,
29896,
29896,
29947,
13,
1678,
4810,
9486,
3308,
29968,
1430,
353,
29871,
29900,
29916,
29896,
29896,
29929,
13,
1678,
350,
4375,
29999,
23328,
1430,
353,
29871,
29900,
29916,
29896,
29896,
29909,
13,
1678,
341,
15789,
29968,
5690,
353,
29871,
29900,
29916,
29896,
29896,
29933,
13,
1678,
23851,
29903,
3912,
29949,
3580,
353,
29871,
29900,
29916,
29896,
29896,
29907,
13,
1678,
317,
12982,
3580,
20161,
353,
29871,
29900,
29916,
29896,
29896,
29928,
13,
1678,
21521,
29949,
3210,
29979,
1430,
29909,
353,
29871,
29900,
29916,
29896,
29896,
29923,
13,
1678,
341,
22530,
29979,
1430,
29909,
353,
29871,
29900,
29916,
29896,
29896,
29943,
13,
1678,
796,
6259,
29999,
10051,
29949,
1164,
353,
29871,
29900,
29916,
29896,
29906,
29900,
13,
1678,
21724,
29949,
12413,
353,
29871,
29900,
29916,
29896,
29906,
29896,
13,
1678,
399,
4574,
3580,
1307,
353,
29871,
29900,
29916,
29896,
29906,
29906,
13,
1678,
317,
6227,
3217,
1164,
353,
29871,
29900,
29916,
29896,
29906,
29941,
13,
1678,
20700,
20656,
6545,
16786,
353,
29871,
29900,
29916,
29896,
29906,
29946,
13,
1678,
315,
3289,
3217,
1164,
353,
29871,
29900,
29916,
29896,
29906,
29945,
13,
1678,
360,
17321,
29949,
29990,
353,
29871,
29900,
29916,
29896,
29906,
29953,
13,
1678,
365,
2891,
3035,
353,
29871,
29900,
29916,
29896,
29906,
29955,
13,
1678,
365,
6488,
29933,
1525,
353,
29871,
29900,
29916,
29896,
29906,
29947,
13,
1678,
365,
15789,
2965,
29949,
3927,
353,
29871,
29900,
29916,
29896,
29906,
29929,
13,
1678,
3725,
3352,
2891,
353,
29871,
29900,
29916,
29896,
29906,
29909,
13,
1678,
405,
29965,
29999,
1307,
5098,
353,
29871,
29900,
29916,
29896,
29906,
29933,
13,
1678,
24972,
6545,
5659,
29979,
353,
29871,
29900,
29916,
29896,
29906,
29907,
13,
1678,
405,
1177,
29907,
3035,
29909,
353,
29871,
29900,
29916,
29896,
29906,
29928,
13,
1678,
405,
1177,
29967,
3289,
29968,
353,
29871,
29900,
29916,
29896,
29906,
29923,
13,
1678,
24972,
3352,
1177,
29967,
29909,
353,
29871,
29900,
29916,
29896,
29906,
29943,
13,
1678,
323,
23869,
2208,
9806,
353,
29871,
29900,
29916,
29896,
29941,
29900,
13,
1678,
317,
8851,
2208,
9806,
353,
29871,
29900,
29916,
29896,
29941,
29896,
13,
1678,
24972,
1672,
6488,
3235,
29950,
353,
29871,
29900,
29916,
29896,
29941,
29906,
13,
1678,
350,
1525,
3927,
6488,
353,
29871,
29900,
29916,
29896,
29941,
29941,
13,
1678,
10937,
1177,
7698,
353,
29871,
29900,
29916,
29896,
29941,
29946,
13,
1678,
399,
4214,
3299,
353,
29871,
29900,
29916,
29896,
29941,
29945,
13,
1678,
349,
29923,
5265,
29925,
13171,
353,
29871,
29900,
29916,
29896,
29941,
29953,
13,
1678,
317,
4574,
16033,
1806,
353,
29871,
29900,
29916,
29896,
29941,
29955,
13,
1678,
341,
3289,
13356,
1001,
29909,
1177,
353,
29871,
29900,
29916,
29896,
29941,
29947,
13,
1678,
399,
29909,
6227,
29924,
1001,
353,
29871,
29900,
29916,
29896,
29941,
29929,
13,
1678,
399,
29909,
6227,
25593,
353,
29871,
29900,
29916,
29896,
29941,
29909,
13,
1678,
18581,
1806,
15631,
353,
29871,
29900,
29916,
29896,
29941,
29933,
13,
1678,
5012,
12182,
1299,
15631,
353,
29871,
29900,
29916,
29896,
29941,
29907,
13,
1678,
476,
11206,
1307,
1164,
353,
29871,
29900,
29916,
29896,
29941,
29928,
13,
1678,
350,
1964,
4986,
29979,
353,
29871,
29900,
29916,
29896,
29941,
29923,
13,
1678,
315,
18799,
3970,
29931,
353,
29871,
29900,
29916,
29896,
29941,
29943,
13,
1678,
11698,
1660,
25711,
353,
29871,
29900,
29916,
29896,
29946,
29900,
13,
1678,
323,
1955,
29968,
29949,
1964,
353,
29871,
29900,
29916,
29896,
29946,
29896,
13,
1678,
317,
6181,
29979,
29923,
353,
29871,
29900,
29916,
29896,
29946,
29906,
13,
1678,
350,
1718,
8456,
2477,
29950,
353,
29871,
29900,
29916,
29896,
29946,
29941,
13,
1678,
12317,
3235,
29907,
24943,
353,
29871,
29900,
29916,
29896,
29946,
29946,
13,
1678,
365,
29965,
10699,
3235,
29907,
353,
29871,
29900,
29916,
29896,
29946,
29945,
13,
1678,
315,
1955,
19689,
3235,
29950,
353,
29871,
29900,
29916,
29896,
29946,
29953,
13,
1678,
315,
4717,
29956,
7698,
10356,
353,
29871,
29900,
29916,
29896,
29946,
29955,
13,
1678,
383,
17896,
29933,
3289,
353,
29871,
29900,
29916,
29896,
29946,
29947,
13,
1678,
341,
6227,
2891,
2965,
353,
29871,
29900,
29916,
29896,
29946,
29929,
13,
1678,
315,
1718,
29963,
2190,
15715,
353,
29871,
29900,
29916,
29896,
29946,
29909,
13,
1678,
24972,
1718,
29925,
3352,
29949,
353,
29871,
29900,
29916,
29896,
29946,
29933,
13,
1678,
10014,
3301,
1177,
3210,
353,
29871,
29900,
29916,
29896,
29946,
29907,
13,
1678,
5473,
29933,
4717,
20449,
353,
29871,
29900,
29916,
29896,
29946,
29928,
13,
1678,
383,
16786,
29954,
1164,
353,
29871,
29900,
29916,
29896,
29946,
29923,
13,
1678,
14861,
29968,
29965,
29950,
1806,
29909,
353,
29871,
29900,
29916,
29896,
29946,
29943,
13,
1678,
379,
1718,
29902,
29979,
29909,
1529,
353,
29871,
29900,
29916,
29896,
29945,
29900,
13,
1678,
382,
3281,
3960,
6059,
353,
29871,
29900,
29916,
29896,
29945,
29896,
13,
1678,
341,
2190,
13845,
29934,
2965,
353,
29871,
29900,
29916,
29896,
29945,
29906,
13,
1678,
405,
29965,
2303,
29931,
353,
29871,
29900,
29916,
29896,
29945,
29941,
13,
1678,
315,
5194,
1001,
4897,
29911,
353,
29871,
29900,
29916,
29896,
29945,
29946,
13,
1678,
10937,
9606,
1964,
353,
29871,
29900,
29916,
29896,
29945,
29945,
13,
1678,
3725,
29909,
1307,
29949,
353,
29871,
29900,
29916,
29896,
29945,
29953,
13,
1678,
399,
1964,
1525,
1177,
353,
29871,
29900,
29916,
29896,
29945,
29955,
13,
1678,
315,
2477,
8186,
29909,
353,
29871,
29900,
29916,
29896,
29945,
29947,
13,
1678,
12766,
1783,
4574,
8186,
353,
29871,
29900,
29916,
29896,
29945,
29929,
13,
1678,
21989,
1955,
10356,
353,
29871,
29900,
29916,
29896,
29945,
29909,
13,
1678,
12729,
1964,
8673,
353,
29871,
29900,
29916,
29896,
29945,
29933,
13,
1678,
365,
3904,
1299,
12413,
353,
29871,
29900,
29916,
29896,
29945,
29907,
13,
1678,
317,
5607,
1672,
7077,
353,
29871,
29900,
29916,
29896,
29945,
29928,
13,
1678,
319,
29999,
15551,
2208,
353,
29871,
29900,
29916,
29896,
29945,
29923,
13,
1678,
10937,
6992,
29968,
353,
29871,
29900,
29916,
29896,
29945,
29943,
13,
1678,
18016,
5005,
2227,
29954,
353,
29871,
29900,
29916,
29896,
29953,
29900,
13,
1678,
16507,
3308,
1307,
353,
29871,
29900,
29916,
29896,
29953,
29896,
13,
1678,
341,
1177,
3904,
353,
29871,
29900,
29916,
29896,
29953,
29906,
13,
1678,
14861,
22119,
1307,
353,
29871,
29900,
29916,
29896,
29953,
29941,
13,
1678,
341,
12378,
9094,
353,
29871,
29900,
29916,
29896,
29953,
29946,
13,
1678,
341,
3352,
2965,
29950,
5194,
353,
29871,
29900,
29916,
29896,
29953,
29945,
13,
1678,
25289,
2882,
29931,
29965,
353,
29871,
29900,
29916,
29896,
29953,
29953,
13,
1678,
319,
5850,
1718,
10764,
353,
29871,
29900,
29916,
29896,
29953,
29955,
13,
1678,
399,
29979,
3521,
2692,
353,
29871,
29900,
29916,
29896,
29953,
29947,
13,
1678,
360,
3308,
29968,
3299,
353,
29871,
29900,
29916,
29896,
29953,
29929,
13,
1678,
360,
3308,
29907,
3927,
7024,
353,
29871,
29900,
29916,
29896,
29953,
29909,
13,
1678,
16641,
1660,
5265,
29909,
353,
29871,
29900,
29916,
29896,
29953,
29933,
13,
1678,
317,
4375,
29968,
2891,
29950,
353,
29871,
29900,
29916,
29896,
29953,
29907,
13,
1678,
5473,
17080,
1672,
4690,
353,
29871,
29900,
29916,
29896,
29953,
29928,
13,
1678,
317,
4375,
29968,
4214,
353,
29871,
29900,
29916,
29896,
29953,
29923,
13,
1678,
402,
29965,
13208,
1177,
353,
29871,
29900,
29916,
29896,
29953,
29943,
13,
1678,
25289,
1964,
2891,
353,
29871,
29900,
29916,
29896,
29955,
29900,
13,
1678,
323,
1672,
2227,
3308,
353,
29871,
29900,
29916,
29896,
29955,
29896,
13,
1678,
12317,
3235,
29924,
4574,
353,
29871,
29900,
29916,
29896,
29955,
29906,
13,
1678,
11247,
15789,
19386,
353,
29871,
29900,
29916,
29896,
29955,
29941,
13,
1678,
8528,
29925,
3927,
15789,
353,
29871,
29900,
29916,
29896,
29955,
29946,
13,
1678,
315,
4375,
3580,
1001,
29931,
353,
29871,
29900,
29916,
29896,
29955,
29945,
13,
1678,
379,
3904,
6040,
6227,
353,
29871,
29900,
29916,
29896,
29955,
29953,
13,
1678,
21947,
1525,
22716,
1799,
353,
29871,
29900,
29916,
29896,
29955,
29955,
13,
1678,
319,
9851,
5607,
353,
29871,
29900,
29916,
29896,
29955,
29947,
13,
1678,
24972,
4897,
29925,
2544,
353,
29871,
29900,
29916,
29896,
29955,
29929,
13,
1678,
350,
2190,
2544,
4330,
353,
29871,
29900,
29916,
29896,
29955,
29909,
13,
1678,
3725,
29963,
5690,
1001,
353,
29871,
29900,
29916,
29896,
29955,
29933,
13,
1678,
796,
2190,
17080,
29949,
1660,
353,
29871,
29900,
29916,
29896,
29955,
29907,
13,
1678,
5195,
27888,
2190,
4690,
353,
29871,
29900,
29916,
29896,
29955,
29928,
13,
1678,
9033,
1164,
353,
29871,
29900,
29916,
29896,
29955,
29923,
13,
1678,
17900,
8193,
1164,
353,
29871,
29900,
29916,
29896,
29955,
29943,
13,
1678,
16369,
14345,
1164,
353,
29871,
29900,
29916,
29896,
29947,
29900,
13,
1678,
12766,
1254,
19094,
353,
29871,
29900,
29916,
29896,
29947,
29896,
13,
1678,
478,
5607,
15349,
1299,
353,
29871,
29900,
29916,
29896,
29947,
29906,
13,
1678,
306,
2208,
5005,
29902,
1660,
353,
29871,
29900,
29916,
29896,
29947,
29941,
13,
1678,
17705,
1307,
15488,
353,
29871,
29900,
29916,
29896,
29947,
29946,
13,
1678,
15600,
3035,
6227,
29979,
353,
29871,
29900,
29916,
29896,
29947,
29945,
13,
1678,
13764,
1955,
13054,
353,
29871,
29900,
29916,
29896,
29947,
29953,
13,
1678,
9033,
1529,
29931,
3970,
353,
29871,
29900,
29916,
29896,
29947,
29955,
13,
1678,
390,
1964,
9375,
353,
29871,
29900,
29916,
29896,
29947,
29947,
13,
1678,
476,
29902,
2241,
10764,
353,
29871,
29900,
29916,
29896,
29947,
29929,
13,
1678,
402,
1718,
2287,
24898,
8193,
353,
29871,
29900,
29916,
29896,
29947,
29909,
13,
1678,
350,
10051,
1164,
353,
29871,
29900,
29916,
29896,
29947,
29933,
13,
1678,
24972,
6670,
29954,
1164,
353,
29871,
29900,
29916,
29896,
29947,
29907,
13,
1678,
317,
1964,
5194,
1430,
4741,
353,
29871,
29900,
29916,
29896,
29947,
29928,
13,
1678,
350,
27286,
5005,
353,
29871,
29900,
29916,
29896,
29947,
29923,
13,
1678,
341,
2544,
19453,
353,
29871,
29900,
29916,
29896,
29947,
29943,
13,
1678,
341,
2544,
10051,
1672,
1799,
353,
29871,
29900,
29916,
29896,
29929,
29900,
13,
1678,
5195,
29954,
29902,
1672,
7077,
353,
29871,
29900,
29916,
29896,
29929,
29896,
13,
1678,
5195,
29954,
12107,
353,
29871,
29900,
29916,
29896,
29929,
29906,
13,
1678,
5195,
29954,
9047,
29923,
6670,
353,
29871,
29900,
29916,
29896,
29929,
29941,
13,
1678,
476,
29979,
29949,
29954,
1525,
353,
29871,
29900,
29916,
29896,
29929,
29946,
13,
1678,
402,
1672,
15789,
1164,
353,
29871,
29900,
29916,
29896,
29929,
29945,
13,
1678,
18865,
29979,
13356,
29909,
29999,
29909,
353,
29871,
29900,
29916,
29896,
29929,
29953,
13,
1678,
365,
1299,
29902,
3289,
353,
29871,
29900,
29916,
29896,
29929,
29955,
13,
1678,
365,
1299,
25925,
353,
29871,
29900,
29916,
29896,
29929,
29947,
13,
1678,
435,
8193,
2477,
17628,
353,
29871,
29900,
29916,
29896,
29929,
29929,
13,
1678,
5012,
29949,
18454,
29903,
353,
29871,
29900,
29916,
29896,
29929,
29909,
13,
1678,
5868,
8890,
3210,
29949,
353,
29871,
29900,
29916,
29896,
29929,
29933,
13,
1678,
382,
26788,
353,
29871,
29900,
29916,
29896,
29929,
29907,
13,
1678,
350,
1164,
12750,
29979,
353,
29871,
29900,
29916,
29896,
29929,
29928,
13,
1678,
341,
3904,
3210,
4375,
29990,
353,
29871,
29900,
29916,
29896,
29929,
29923,
13,
13,
13,
1990,
5167,
29898,
16854,
1125,
13,
1678,
405,
1955,
1529,
29931,
353,
29871,
29900,
29916,
29900,
29900,
13,
1678,
383,
22530,
4214,
353,
29871,
29900,
29916,
29900,
29896,
13,
1678,
383,
16786,
4214,
353,
29871,
29900,
29916,
29900,
29906,
13,
1678,
21521,
29902,
3094,
353,
29871,
29900,
29916,
29900,
29941,
13,
1678,
402,
1672,
18783,
353,
29871,
29900,
29916,
29900,
29946,
13,
1678,
16641,
7077,
353,
29871,
29900,
29916,
29900,
29945,
13,
1678,
350,
23338,
353,
29871,
29900,
29916,
29900,
29953,
13,
1678,
402,
20832,
353,
29871,
29900,
29916,
29900,
29955,
13,
1678,
317,
4330,
6670,
353,
29871,
29900,
29916,
29900,
29947,
13,
1678,
315,
4574,
1660,
353,
29871,
29900,
29916,
29900,
29929,
13,
1678,
9338,
1525,
353,
29871,
29900,
29916,
29900,
29909,
13,
1678,
399,
1299,
1001,
353,
29871,
29900,
29916,
29900,
29933,
13,
1678,
402,
4717,
1799,
353,
29871,
29900,
29916,
29900,
29907,
13,
1678,
382,
3281,
29934,
2965,
353,
29871,
29900,
29916,
29900,
29928,
13,
1678,
11323,
29979,
3210,
2965,
353,
29871,
29900,
29916,
29900,
29923,
13,
1678,
306,
4741,
353,
29871,
29900,
29916,
29900,
29943,
13,
1678,
360,
4717,
29954,
1164,
353,
29871,
29900,
29916,
29896,
29900,
13,
1678,
360,
1718,
29968,
353,
29871,
29900,
29916,
29896,
29896,
13,
13,
13,
26707,
29918,
13152,
6059,
22877,
29918,
15631,
29925,
2890,
353,
518,
29874,
363,
263,
297,
1051,
29898,
1542,
29897,
565,
263,
451,
297,
518,
13,
1678,
5167,
29889,
22484,
1660,
13,
5262,
13,
13,
13,
1990,
1976,
1793,
29898,
2928,
16854,
1125,
13,
1678,
405,
12413,
353,
29871,
29900,
29916,
29900,
29900,
13,
1678,
6850,
1430,
3210,
353,
29871,
29900,
29916,
29900,
29896,
13,
1678,
360,
3960,
29999,
29999,
1307,
353,
29871,
29900,
29916,
29900,
29906,
13,
1678,
317,
4162,
3352,
29918,
8456,
3718,
353,
29871,
29900,
29916,
29900,
29941,
13,
1678,
350,
1299,
29911,
1307,
29918,
1718,
29924,
1955,
353,
29871,
29900,
29916,
29900,
29946,
13,
1678,
6850,
4574,
29928,
29979,
353,
29871,
29900,
29916,
29900,
29945,
13,
1678,
360,
19297,
353,
29871,
29900,
29916,
29900,
29953,
13,
1678,
26890,
13635,
353,
29871,
29900,
29916,
29900,
29955,
13,
1678,
317,
9468,
29918,
12064,
6227,
353,
29871,
29900,
29916,
29900,
29947,
13,
1678,
6850,
1299,
2965,
353,
29871,
29900,
29916,
29900,
29929,
13,
1678,
478,
5607,
29911,
29918,
2882,
29903,
1955,
29933,
353,
29871,
29900,
29916,
29900,
29909,
13,
1678,
399,
1299,
1001,
29918,
2882,
29903,
1955,
29933,
353,
29871,
29900,
29916,
29900,
29933,
13,
1678,
438,
29933,
5265,
29963,
5971,
3308,
353,
29871,
29900,
29916,
29900,
29907,
13,
1678,
315,
3927,
15789,
29918,
29940,
8895,
353,
29871,
29900,
29916,
29900,
29928,
13,
1678,
4810,
3580,
29949,
18783,
29918,
13282,
2890,
353,
29871,
29900,
29916,
29900,
29923,
13,
1678,
2672,
6156,
29924,
29940,
10764,
353,
29871,
29900,
29916,
29900,
29943,
13,
1678,
23958,
1955,
29918,
3210,
24336,
353,
29871,
29900,
29916,
29896,
29900,
13,
1678,
306,
7428,
3904,
11937,
353,
29871,
29900,
29916,
29896,
29896,
13,
1678,
383,
29931,
24943,
29918,
3738,
1525,
353,
29871,
29900,
29916,
29896,
29906,
13,
1678,
317,
17628,
27286,
29918,
14849,
1254,
353,
29871,
29900,
29916,
29896,
29941,
13,
1678,
438,
16048,
29918,
4330,
3580,
29949,
353,
29871,
29900,
29916,
29896,
29946,
13,
1678,
20134,
9838,
29918,
29907,
4897,
29903,
353,
29871,
29900,
29916,
29896,
29945,
13,
1678,
19578,
7833,
1367,
3040,
353,
29871,
29900,
29916,
29896,
29953,
13,
1678,
24972,
3035,
9806,
29918,
16881,
353,
29871,
29900,
29916,
29896,
29955,
13,
1678,
16641,
23338,
29950,
29918,
16033,
1177,
353,
29871,
29900,
29916,
29896,
29947,
13,
1678,
399,
1164,
8032,
29918,
29954,
29965,
17011,
353,
29871,
29900,
29916,
29896,
29929,
13,
1678,
11060,
29963,
1806,
3040,
353,
29871,
29900,
29916,
29896,
29909,
13,
1678,
382,
4198,
13845,
29918,
5550,
29949,
1525,
353,
29871,
29900,
29916,
29896,
29933,
13,
1678,
28962,
29940,
3210,
29934,
1164,
29902,
10721,
353,
29871,
29900,
29916,
29896,
29907,
13,
1678,
315,
1307,
1718,
29918,
8456,
29928,
29979,
353,
29871,
29900,
29916,
29896,
29928,
13,
1678,
26038,
4574,
1964,
29918,
29907,
11499,
353,
29871,
29900,
29916,
29896,
29923,
13,
1678,
365,
22530,
4214,
29918,
1672,
29928,
353,
29871,
29900,
29916,
29896,
29943,
13,
1678,
26996,
1430,
29923,
29918,
14345,
11538,
353,
29871,
29900,
29916,
29906,
29900,
13,
1678,
25289,
6545,
29911,
29918,
23066,
7833,
353,
29871,
29900,
29916,
29906,
29896,
13,
1678,
5868,
3927,
1672,
19689,
29979,
2208,
353,
29871,
29900,
29916,
29906,
29906,
13,
1678,
306,
2208,
5005,
1177,
3040,
353,
29871,
29900,
29916,
29906,
29941,
13,
1678,
10014,
11538,
353,
29871,
29900,
29916,
29906,
29946,
13,
1678,
379,
29965,
1692,
29918,
29925,
9806,
1001,
353,
29871,
29900,
29916,
29906,
29945,
13,
1678,
21521,
29902,
3094,
29918,
29925,
6992,
29911,
353,
29871,
29900,
29916,
29906,
29953,
13,
1678,
20735,
29918,
5800,
29907,
3308,
353,
29871,
29900,
29916,
29906,
29955,
13,
1678,
341,
10051,
1529,
29918,
1718,
29924,
1955,
353,
29871,
29900,
29916,
29906,
29947,
13,
1678,
399,
1299,
1001,
29918,
12064,
6227,
353,
29871,
29900,
29916,
29906,
29929,
13,
1678,
341,
10051,
6006,
29918,
29925,
3299,
353,
29871,
29900,
29916,
29906,
29909,
13,
1678,
7791,
18783,
8618,
9800,
353,
29871,
29900,
29916,
29906,
29933,
13,
1678,
18865,
1177,
29918,
23711,
29950,
353,
29871,
29900,
29916,
29906,
29907,
13,
1678,
317,
9468,
29918,
1254,
1525,
5194,
353,
29871,
29900,
29916,
29906,
29928,
13,
1678,
349,
26785,
11499,
353,
29871,
29900,
29916,
29906,
29923,
13,
1678,
3446,
2965,
29968,
29918,
29943,
1299,
353,
29871,
29900,
29916,
29906,
29943,
13,
1678,
382,
1718,
16786,
29918,
29933,
8193,
29928,
353,
29871,
29900,
29916,
29941,
29900,
13,
1678,
383,
4375,
2303,
29918,
8456,
29928,
29979,
353,
29871,
29900,
29916,
29941,
29896,
13,
1678,
27694,
29918,
29909,
12982,
29979,
353,
29871,
29900,
29916,
29941,
29906,
13,
1678,
476,
29923,
1430,
29918,
13282,
29923,
353,
29871,
29900,
29916,
29941,
29941,
13,
1678,
379,
29979,
13171,
29918,
29907,
2692,
4945,
353,
29871,
29900,
29916,
29941,
29946,
13,
1678,
349,
2965,
29968,
4897,
353,
29871,
29900,
29916,
29941,
29945,
13,
1678,
10014,
29965,
13566,
353,
29871,
29900,
29916,
29941,
29953,
13,
1678,
379,
17321,
1307,
353,
29871,
29900,
29916,
29941,
29955,
13,
1678,
315,
26027,
29918,
11282,
29924,
353,
29871,
29900,
29916,
29941,
29947,
13,
1678,
16507,
3308,
353,
29871,
29900,
29916,
29941,
29929,
13,
1678,
341,
1177,
3308,
353,
29871,
29900,
29916,
29941,
29909,
13,
1678,
18322,
1525,
5454,
1254,
353,
29871,
29900,
29916,
29941,
29933,
13,
1678,
6850,
2965,
29968,
29979,
29918,
29950,
5607,
29928,
353,
29871,
29900,
29916,
29941,
29907,
13,
1678,
24972,
3352,
29918,
16033,
1177,
353,
29871,
29900,
29916,
29941,
29928,
13,
1678,
402,
2692,
29903,
353,
29871,
29900,
29916,
29941,
29923,
13,
1678,
23851,
29963,
6670,
29918,
29903,
5454,
1307,
353,
29871,
29900,
29916,
29941,
29943,
13,
1678,
17705,
29984,
11150,
29918,
29949,
29949,
10721,
353,
29871,
29900,
29916,
29946,
29900,
13,
1678,
438,
5348,
29954,
25180,
353,
29871,
29900,
29916,
29946,
29896,
13,
1678,
350,
4375,
10721,
353,
29871,
29900,
29916,
29946,
29906,
13,
1678,
323,
1955,
29450,
353,
29871,
29900,
29916,
29946,
29941,
13,
1678,
25289,
1718,
29924,
353,
29871,
29900,
29916,
29946,
29946,
13,
1678,
16641,
7077,
29918,
23252,
353,
29871,
29900,
29916,
29946,
29945,
13,
1678,
360,
1672,
23338,
3912,
353,
29871,
29900,
29916,
29946,
29953,
13,
1678,
9033,
1430,
29909,
29918,
5659,
3301,
353,
29871,
29900,
29916,
29946,
29955,
13,
1678,
478,
1806,
1964,
29918,
29903,
2227,
29934,
1806,
353,
29871,
29900,
29916,
29946,
29947,
13,
1678,
12317,
9094,
29918,
29903,
6720,
6059,
353,
29871,
29900,
29916,
29946,
29929,
13,
1678,
349,
11499,
29918,
29925,
9806,
1001,
353,
29871,
29900,
29916,
29946,
29909,
13,
1678,
317,
9606,
2208,
29918,
1718,
29924,
1955,
353,
29871,
29900,
29916,
29946,
29933,
13,
1678,
315,
2477,
4590,
29950,
1164,
29979,
353,
29871,
29900,
29916,
29946,
29907,
13,
1678,
319,
8193,
29918,
21339,
353,
29871,
29900,
29916,
29946,
29928,
13,
13,
13,
3904,
29902,
11144,
29918,
7698,
1529,
29954,
4214,
29918,
6720,
12064,
353,
448,
29896,
13,
27047,
29918,
6720,
12064,
353,
29871,
29900,
13,
23170,
29968,
29949,
29918,
6720,
12064,
353,
29871,
29896,
29900,
29900,
29900,
13,
13,
13,
1990,
25249,
29898,
16854,
1125,
13,
1678,
405,
12413,
353,
29871,
29900,
29916,
29900,
29900,
13,
1678,
21521,
18783,
353,
29871,
29900,
29916,
29900,
29896,
13,
1678,
476,
1718,
3040,
29918,
3210,
4590,
353,
29871,
29900,
29916,
29900,
29906,
13,
1678,
11662,
7466,
1307,
12750,
3301,
353,
29871,
29900,
29916,
29900,
29941,
13,
1678,
11662,
7466,
1307,
29918,
12750,
3301,
353,
11662,
7466,
1307,
12750,
3301,
13,
1678,
4810,
2303,
29911,
29918,
29925,
3904,
3210,
353,
29871,
29900,
29916,
29900,
29946,
13,
1678,
341,
11787,
29909,
29918,
29925,
3904,
3210,
353,
29871,
29900,
29916,
29900,
29945,
13,
1678,
17687,
29979,
29918,
28658,
353,
29871,
29900,
29916,
29900,
29953,
13,
1678,
9338,
1525,
29918,
29925,
3904,
3210,
353,
29871,
29900,
29916,
29900,
29955,
13,
1678,
306,
4741,
29918,
29925,
3904,
3210,
353,
29871,
29900,
29916,
29900,
29947,
13,
1678,
3446,
18783,
1001,
29925,
3904,
3210,
353,
29871,
29900,
29916,
29900,
29929,
13,
1678,
3446,
18783,
1001,
29918,
29925,
3904,
3210,
353,
3446,
18783,
1001,
29925,
3904,
3210,
13,
1678,
317,
11341,
14789,
353,
29871,
29900,
29916,
29900,
29909,
13,
1678,
478,
2965,
11787,
3960,
29925,
353,
29871,
29900,
29916,
29900,
29933,
13,
1678,
478,
12107,
29918,
29954,
3960,
29925,
353,
478,
2965,
11787,
3960,
29925,
13,
1678,
14839,
2208,
2891,
8895,
353,
29871,
29900,
29916,
29900,
29907,
13,
1678,
18865,
29999,
1955,
29918,
29956,
22255,
353,
29871,
29900,
29916,
29900,
29928,
13,
1678,
317,
11686,
8452,
29918,
29928,
23219,
353,
29871,
29900,
29916,
29900,
29923,
13,
1678,
315,
2692,
353,
29871,
29900,
29916,
29900,
29943,
13,
1678,
402,
17321,
353,
29871,
29900,
29916,
29896,
29900,
13,
1678,
399,
4214,
29918,
1299,
8687,
29968,
353,
29871,
29900,
29916,
29896,
29896,
13,
1678,
12317,
29902,
2241,
29956,
22255,
353,
29871,
29900,
29916,
29896,
29906,
13,
1678,
383,
16786,
353,
29871,
29900,
29916,
29896,
29941,
13,
1678,
350,
22255,
353,
29871,
29900,
29916,
29896,
29946,
13,
1678,
317,
4375,
29924,
353,
29871,
29900,
29916,
29896,
29945,
13,
1678,
478,
8895,
29918,
25039,
5690,
353,
29871,
29900,
29916,
29896,
29953,
13,
1678,
317,
4986,
3580,
353,
29871,
29900,
29916,
29896,
29955,
13,
1678,
11662,
7466,
1307,
29918,
29968,
2965,
29968,
353,
29871,
29900,
29916,
29896,
29947,
13,
1678,
341,
11787,
29909,
29918,
29968,
2965,
29968,
353,
29871,
29900,
29916,
29896,
29929,
13,
1678,
435,
29965,
3580,
29918,
29968,
2965,
29968,
353,
29871,
29900,
29916,
29896,
29909,
13,
1678,
16641,
2208,
4214,
29918,
29968,
2965,
29968,
353,
29871,
29900,
29916,
29896,
29933,
13,
1678,
317,
9468,
29918,
1299,
8687,
29968,
353,
29871,
29900,
29916,
29896,
29907,
13,
1678,
17714,
3035,
29933,
2692,
29911,
353,
29871,
29900,
29916,
29896,
29928,
13,
1678,
379,
1955,
29940,
29918,
1299,
8687,
29968,
353,
29871,
29900,
29916,
29896,
29923,
13,
1678,
383,
4574,
29979,
29918,
1299,
8687,
29968,
353,
29871,
29900,
29916,
29896,
29943,
13,
1678,
379,
1955,
29940,
29918,
29928,
3960,
2208,
353,
29871,
29900,
29916,
29906,
29900,
13,
1678,
323,
11375,
1307,
353,
29871,
29900,
29916,
29906,
29896,
13,
1678,
350,
13668,
29979,
29918,
29903,
4375,
29924,
353,
29871,
29900,
29916,
29906,
29906,
13,
1678,
399,
29934,
3301,
353,
29871,
29900,
29916,
29906,
29941,
13,
1678,
323,
29909,
6059,
29918,
3970,
16048,
353,
29871,
29900,
29916,
29906,
29946,
13,
1678,
3446,
29934,
24943,
353,
29871,
29900,
29916,
29906,
29945,
13,
1678,
11662,
7466,
1307,
29918,
3352,
1692,
353,
29871,
29900,
29916,
29906,
29953,
13,
1678,
323,
29909,
6227,
29918,
25039,
5690,
353,
29871,
29900,
29916,
29906,
29955,
13,
1678,
21521,
29902,
3094,
29918,
1254,
4214,
353,
29871,
29900,
29916,
29906,
29947,
13,
1678,
323,
29956,
8895,
3352,
1307,
353,
29871,
29900,
29916,
29906,
29929,
13,
1678,
349,
1177,
29918,
10403,
1799,
29902,
1307,
353,
29871,
29900,
29916,
29906,
29909,
13,
1678,
11060,
1001,
353,
29871,
29900,
29916,
29906,
29933,
13,
1678,
350,
9094,
353,
29871,
29900,
29916,
29906,
29907,
13,
1678,
402,
25180,
29931,
353,
29871,
29900,
29916,
29906,
29928,
13,
1678,
16641,
1718,
353,
29871,
29900,
29916,
29906,
29923,
13,
1678,
317,
4214,
353,
29871,
29900,
29916,
29906,
29943,
13,
1678,
317,
4897,
1001,
3094,
2965,
353,
29871,
29900,
29916,
29941,
29900,
13,
1678,
317,
1164,
2965,
8456,
6488,
353,
29871,
29900,
29916,
29941,
29896,
13,
1678,
317,
1164,
2965,
29918,
8456,
6488,
353,
317,
1164,
2965,
8456,
6488,
13,
1678,
28657,
6181,
353,
29871,
29900,
29916,
29941,
29906,
13,
1678,
14614,
1367,
353,
29871,
29900,
29916,
29941,
29941,
13,
1678,
382,
9486,
1001,
353,
29871,
29900,
29916,
29941,
29946,
13,
1678,
383,
4375,
2303,
4690,
25180,
1001,
353,
29871,
29900,
29916,
29941,
29945,
13,
1678,
341,
9047,
353,
29871,
29900,
29916,
29941,
29953,
13,
1678,
399,
1299,
1001,
29918,
29954,
3904,
353,
29871,
29900,
29916,
29941,
29955,
13,
1678,
379,
29979,
29928,
1672,
29918,
7056,
3580,
353,
29871,
29900,
29916,
29941,
29947,
13,
1678,
317,
4574,
29943,
353,
29871,
29900,
29916,
29941,
29929,
13,
1678,
306,
4741,
29918,
15349,
5194,
353,
29871,
29900,
29916,
29941,
29909,
13,
1678,
350,
5265,
29999,
29999,
17011,
353,
29871,
29900,
29916,
29941,
29933,
13,
1678,
11323,
29979,
15349,
5194,
353,
29871,
29900,
29916,
29941,
29907,
13,
1678,
350,
7466,
29933,
1307,
15349,
5194,
353,
29871,
29900,
29916,
29941,
29928,
13,
1678,
350,
7466,
29933,
1307,
29918,
15349,
5194,
353,
350,
7466,
29933,
1307,
15349,
5194,
13,
1678,
319,
29965,
1672,
4717,
29918,
15349,
5194,
353,
29871,
29900,
29916,
29941,
29923,
13,
1678,
379,
29979,
13171,
29918,
15349,
5194,
353,
29871,
29900,
29916,
29941,
29943,
13,
1678,
349,
16658,
353,
29871,
29900,
29916,
29946,
29900,
13,
1678,
360,
3960,
2208,
29918,
4162,
7077,
353,
29871,
29900,
29916,
29946,
29896,
13,
1678,
27092,
10403,
13507,
353,
29871,
29900,
29916,
29946,
29906,
13,
1678,
365,
9806,
29918,
29968,
2965,
29968,
353,
29871,
29900,
29916,
29946,
29941,
13,
1678,
4810,
3904,
4945,
353,
29871,
29900,
29916,
29946,
29946,
13,
1678,
3725,
3235,
29924,
2965,
29918,
4986,
1799,
353,
29871,
29900,
29916,
29946,
29945,
13,
1678,
29486,
1430,
29954,
4690,
353,
29871,
29900,
29916,
29946,
29953,
13,
1678,
319,
9851,
1955,
29933,
353,
29871,
29900,
29916,
29946,
29955,
13,
1678,
341,
11787,
29909,
29918,
29928,
4717,
1177,
353,
29871,
29900,
29916,
29946,
29947,
13,
1678,
11060,
29923,
3210,
29918,
1660,
3352,
353,
29871,
29900,
29916,
29946,
29929,
13,
1678,
402,
25180,
4690,
353,
29871,
29900,
29916,
29946,
29909,
13,
1678,
18865,
29999,
1955,
29918,
1307,
5098,
353,
29871,
29900,
29916,
29946,
29933,
13,
1678,
317,
5607,
1718,
15349,
5194,
353,
29871,
29900,
29916,
29946,
29907,
13,
1678,
317,
5607,
1718,
29918,
15349,
5194,
353,
317,
5607,
1718,
15349,
5194,
13,
1678,
21521,
29902,
3094,
29925,
9806,
8032,
353,
29871,
29900,
29916,
29946,
29928,
13,
1678,
21521,
29902,
3094,
29918,
29925,
9806,
8032,
353,
21521,
29902,
3094,
29925,
9806,
8032,
13,
1678,
6850,
3904,
29918,
5550,
29949,
1525,
353,
29871,
29900,
29916,
29946,
29923,
13,
1678,
317,
1307,
15488,
29918,
29925,
9806,
8032,
353,
29871,
29900,
29916,
29946,
29943,
13,
1678,
349,
2544,
1964,
29918,
29928,
23219,
353,
29871,
29900,
29916,
29945,
29900,
13,
1678,
29486,
4214,
29918,
7068,
2891,
353,
29871,
29900,
29916,
29945,
29896,
13,
1678,
360,
4717,
29954,
1164,
29918,
4717,
1692,
353,
29871,
29900,
29916,
29945,
29906,
13,
1678,
9338,
1525,
29918,
5550,
1177,
353,
29871,
29900,
29916,
29945,
29941,
13,
1678,
3446,
18783,
1001,
7068,
29949,
7077,
353,
29871,
29900,
29916,
29945,
29946,
13,
1678,
3446,
18783,
1001,
29918,
7068,
29949,
7077,
353,
3446,
18783,
1001,
7068,
29949,
7077,
13,
1678,
3446,
18783,
1001,
29933,
5607,
29911,
353,
29871,
29900,
29916,
29945,
29945,
13,
1678,
3446,
18783,
1001,
29918,
29933,
5607,
29911,
353,
3446,
18783,
1001,
29933,
5607,
29911,
13,
1678,
3446,
18783,
1001,
29918,
29956,
7520,
29923,
353,
29871,
29900,
29916,
29945,
29953,
13,
1678,
3446,
18783,
1001,
353,
29871,
29900,
29916,
29945,
29955,
13,
1678,
16641,
7077,
29918,
4690,
25180,
353,
29871,
29900,
29916,
29945,
29947,
13,
1678,
382,
1718,
4690,
13356,
29909,
6059,
353,
29871,
29900,
29916,
29945,
29929,
13,
1678,
9338,
1799,
11499,
353,
29871,
29900,
29916,
29945,
29909,
13,
1678,
360,
6259,
353,
29871,
29900,
29916,
29945,
29933,
13,
1678,
7495,
29990,
2965,
353,
29871,
29900,
29916,
29945,
29907,
13,
1678,
8707,
29943,
3308,
2725,
353,
29871,
29900,
29916,
29945,
29928,
13,
1678,
11323,
29979,
3210,
2965,
353,
29871,
29900,
29916,
29945,
29923,
13,
1678,
379,
29979,
15695,
3267,
3235,
353,
29871,
29900,
29916,
29945,
29943,
13,
1678,
341,
12378,
3040,
353,
29871,
29900,
29916,
29953,
29900,
13,
1678,
16369,
6227,
11937,
353,
29871,
29900,
29916,
29953,
29896,
13,
1678,
660,
29965,
2965,
29968,
29918,
1299,
8687,
29968,
353,
29871,
29900,
29916,
29953,
29906,
13,
1678,
390,
10461,
353,
29871,
29900,
29916,
29953,
29941,
13,
1678,
17067,
1307,
15082,
353,
29871,
29900,
29916,
29953,
29946,
13,
1678,
405,
22530,
29918,
23498,
2287,
353,
29871,
29900,
29916,
29953,
29945,
13,
1678,
341,
7833,
2965,
353,
29871,
29900,
29916,
29953,
29953,
13,
1678,
12314,
21661,
3210,
353,
29871,
29900,
29916,
29953,
29955,
13,
1678,
11662,
7466,
1307,
29918,
4330,
5194,
353,
29871,
29900,
29916,
29953,
29947,
13,
1678,
5195,
3217,
5348,
353,
29871,
29900,
29916,
29953,
29929,
13,
1678,
379,
17011,
1430,
353,
29871,
29900,
29916,
29953,
29909,
13,
1678,
341,
1177,
7833,
29902,
10721,
353,
29871,
29900,
29916,
29953,
29933,
13,
1678,
317,
6720,
29968,
2890,
22245,
1430,
353,
29871,
29900,
29916,
29953,
29907,
13,
1678,
317,
6720,
6059,
29918,
7187,
1525,
1430,
353,
317,
6720,
29968,
2890,
22245,
1430,
13,
1678,
8707,
29943,
17171,
29918,
22800,
353,
29871,
29900,
29916,
29953,
29928,
13,
1678,
22659,
29928,
4717,
29956,
353,
29871,
29900,
29916,
29953,
29923,
13,
1678,
5012,
29943,
1430,
1660,
29918,
29907,
4219,
353,
29871,
29900,
29916,
29953,
29943,
13,
1678,
350,
1718,
3960,
1001,
353,
29871,
29900,
29916,
29955,
29900,
13,
1678,
365,
22530,
29918,
7187,
1525,
1430,
353,
29871,
29900,
29916,
29955,
29896,
13,
1678,
379,
29909,
10721,
353,
29871,
29900,
29916,
29955,
29906,
13,
1678,
5195,
29943,
3281,
353,
29871,
29900,
29916,
29955,
29941,
13,
1678,
18322,
29907,
3308,
29918,
1430,
1001,
29954,
29979,
353,
29871,
29900,
29916,
29955,
29946,
13,
1678,
350,
22027,
353,
29871,
29900,
29916,
29955,
29945,
13,
1678,
341,
2544,
29934,
1164,
29949,
2303,
353,
29871,
29900,
29916,
29955,
29953,
13,
1678,
341,
8193,
7544,
29918,
6720,
12064,
353,
29871,
29900,
29916,
29955,
29955,
13,
1678,
3725,
29931,
29943,
2287,
10810,
29965,
1783,
353,
29871,
29900,
29916,
29955,
29947,
13,
1678,
3725,
29931,
29943,
29918,
2287,
10810,
29965,
1783,
353,
3725,
29931,
29943,
2287,
10810,
29965,
1783,
13,
1678,
382,
26788,
29918,
29933,
6488,
29933,
353,
29871,
29900,
29916,
29955,
29929,
13,
1678,
365,
2965,
29968,
353,
29871,
29900,
29916,
29955,
29909,
13,
1678,
317,
6720,
29954,
353,
29871,
29900,
29916,
29955,
29933,
13,
1678,
27146,
15789,
1692,
353,
29871,
29900,
29916,
29955,
29907,
13,
1678,
350,
12413,
29918,
6154,
7466,
353,
29871,
29900,
29916,
29955,
29928,
13,
1678,
9338,
1525,
29918,
29933,
4375,
1254,
353,
29871,
29900,
29916,
29955,
29923,
13,
1678,
399,
1299,
1001,
29943,
9818,
353,
29871,
29900,
29916,
29955,
29943,
13,
1678,
315,
4375,
3580,
353,
29871,
29900,
29916,
29947,
29900,
13,
1678,
25289,
6545,
29911,
353,
29871,
29900,
29916,
29947,
29896,
13,
1678,
18581,
3299,
29918,
29933,
24943,
353,
29871,
29900,
29916,
29947,
29906,
13,
1678,
317,
2227,
6059,
29918,
29907,
2190,
29940,
1164,
353,
29871,
29900,
29916,
29947,
29941,
13,
1678,
8707,
1254,
3960,
1783,
353,
29871,
29900,
29916,
29947,
29946,
13,
1678,
13862,
29940,
2890,
10764,
353,
29871,
29900,
29916,
29947,
29945,
13,
1678,
476,
1177,
2890,
3235,
353,
29871,
29900,
29916,
29947,
29953,
13,
1678,
7791,
7818,
8456,
29902,
20566,
353,
29871,
29900,
29916,
29947,
29955,
13,
1678,
7791,
7818,
29918,
8456,
29902,
20566,
353,
7791,
7818,
8456,
29902,
20566,
13,
1678,
379,
29902,
29918,
29967,
29965,
3580,
29918,
29968,
2965,
29968,
353,
29871,
29900,
29916,
29947,
29947,
13,
1678,
379,
6259,
29950,
29918,
29967,
29965,
3580,
29918,
29968,
2965,
29968,
353,
379,
29902,
29918,
29967,
29965,
3580,
29918,
29968,
2965,
29968,
13,
1678,
402,
4375,
1525,
353,
29871,
29900,
29916,
29947,
29929,
13,
1678,
360,
1525,
5194,
29918,
29923,
1299,
1001,
353,
29871,
29900,
29916,
29947,
29909,
13,
1678,
21521,
29902,
3094,
29918,
29954,
3289,
353,
29871,
29900,
29916,
29947,
29933,
13,
1678,
350,
1718,
4717,
1692,
353,
29871,
29900,
29916,
29947,
29907,
13,
1678,
11060,
29923,
3210,
29918,
5265,
16359,
353,
29871,
29900,
29916,
29947,
29928,
13,
1678,
11247,
29963,
6670,
29979,
29918,
29968,
29902,
1799,
353,
29871,
29900,
29916,
29947,
29923,
13,
1678,
18581,
29979,
29918,
1299,
8687,
29968,
353,
29871,
29900,
29916,
29947,
29943,
13,
1678,
10014,
2190,
29903,
19094,
353,
29871,
29900,
29916,
29929,
29900,
13,
1678,
350,
7466,
29933,
1307,
353,
29871,
29900,
29916,
29929,
29896,
13,
1678,
22471,
29999,
29999,
29979,
29918,
29925,
3904,
3210,
353,
29871,
29900,
29916,
29929,
29906,
13,
1678,
10937,
29949,
1525,
353,
29871,
29900,
29916,
29929,
29941,
13,
1678,
383,
29931,
24943,
353,
29871,
29900,
29916,
29929,
29946,
13,
1678,
11323,
29979,
29956,
7520,
29923,
353,
29871,
29900,
29916,
29929,
29945,
13,
1678,
317,
7390,
24943,
353,
29871,
29900,
29916,
29929,
29953,
13,
1678,
14614,
1367,
29918,
1718,
29924,
1955,
353,
29871,
29900,
29916,
29929,
29955,
13,
1678,
15600,
2882,
29950,
5194,
29924,
1001,
353,
29871,
29900,
29916,
29929,
29947,
13,
1678,
8528,
7390,
3267,
2725,
353,
29871,
29900,
29916,
29929,
29929,
13,
1678,
383,
4574,
29979,
29918,
23066,
5690,
2890,
353,
29871,
29900,
29916,
29929,
29909,
13,
1678,
350,
12413,
29924,
1001,
19453,
353,
29871,
29900,
29916,
29929,
29933,
13,
1678,
16759,
353,
29871,
29900,
29916,
29929,
29907,
13,
1678,
16641,
7077,
29918,
12750,
22027,
353,
29871,
29900,
29916,
29929,
29928,
13,
1678,
379,
29979,
13171,
29918,
29943,
19453,
353,
29871,
29900,
29916,
29929,
29923,
13,
1678,
24972,
1718,
29925,
1430,
353,
29871,
29900,
29916,
29929,
29943,
13,
1678,
8707,
16358,
353,
29871,
29900,
29916,
29909,
29900,
13,
1678,
323,
3960,
29918,
1299,
8687,
29968,
353,
29871,
29900,
29916,
29909,
29896,
13,
1678,
317,
4897,
1001,
29918,
29943,
19453,
353,
29871,
29900,
29916,
29909,
29906,
13,
1678,
27146,
24943,
353,
29871,
29900,
29916,
29909,
29941,
13,
1678,
27092,
1254,
1806,
26027,
353,
29871,
29900,
29916,
29909,
29946,
13,
1678,
29486,
23338,
29954,
1307,
353,
29871,
29900,
29916,
29909,
29945,
13,
1678,
18581,
2544,
3210,
353,
29871,
29900,
29916,
29909,
29953,
13,
1678,
323,
3960,
29925,
1307,
29918,
29968,
2965,
29968,
353,
29871,
29900,
29916,
29909,
29955,
13,
1678,
3446,
8673,
29943,
353,
29871,
29900,
29916,
29909,
29947,
13,
1678,
10937,
1367,
1001,
29918,
8851,
29933,
353,
29871,
29900,
29916,
29909,
29929,
13,
1678,
341,
22255,
29918,
16310,
1001,
353,
29871,
29900,
29916,
6344,
13,
1678,
405,
22530,
1529,
1525,
353,
29871,
29900,
29916,
2882,
13,
1678,
383,
4375,
2303,
29918,
29956,
9606,
6670,
353,
29871,
29900,
29916,
2477,
13,
1678,
317,
6632,
1525,
353,
29871,
29900,
29916,
3035,
13,
1678,
315,
4574,
1660,
353,
29871,
29900,
29916,
16036,
13,
1678,
383,
4375,
6227,
353,
29871,
29900,
29916,
5098,
13,
1678,
8707,
16358,
29918,
29906,
353,
29871,
29900,
29916,
29933,
29900,
13,
1678,
319,
1001,
14824,
4375,
1254,
353,
29871,
29900,
29916,
29933,
29896,
13,
1678,
315,
2891,
29911,
1164,
29918,
5550,
29949,
1525,
353,
29871,
29900,
29916,
29933,
29906,
13,
1678,
5195,
5348,
29903,
1964,
353,
29871,
29900,
29916,
29933,
29941,
13,
1678,
10937,
9094,
353,
29871,
29900,
29916,
29933,
29946,
13,
1678,
349,
9806,
8032,
29918,
29903,
6632,
29956,
353,
29871,
29900,
29916,
29933,
29945,
13,
1678,
13756,
4330,
1783,
353,
29871,
29900,
29916,
29933,
29953,
13,
1678,
26750,
29950,
29918,
29925,
3904,
3210,
353,
29871,
29900,
29916,
29933,
29955,
13,
1678,
12314,
19926,
29918,
29943,
11538,
353,
29871,
29900,
29916,
29933,
29947,
13,
1678,
13515,
10192,
29918,
1299,
8687,
29968,
353,
29871,
29900,
29916,
29933,
29929,
13,
1678,
383,
29923,
10192,
29918,
1299,
8687,
29968,
353,
13515,
10192,
29918,
1299,
8687,
29968,
13,
1678,
317,
8851,
2544,
29918,
29968,
29902,
1799,
353,
29871,
29900,
29916,
5688,
13,
1678,
20700,
2208,
29979,
29918,
8353,
5005,
353,
29871,
29900,
29916,
14388,
13,
1678,
27146,
15789,
1692,
29918,
29933,
6488,
29933,
353,
29871,
29900,
29916,
5371,
13,
1678,
341,
15789,
29918,
12750,
3301,
353,
29871,
29900,
29916,
29121,
13,
1678,
438,
1783,
29909,
29999,
29949,
8949,
29909,
353,
29871,
29900,
29916,
15349,
13,
1678,
317,
2227,
29968,
2890,
353,
29871,
29900,
29916,
28062,
13,
1678,
796,
3301,
29918,
29907,
2190,
29940,
1164,
353,
29871,
29900,
29916,
29907,
29900,
13,
1678,
18322,
1525,
5425,
29954,
3912,
353,
29871,
29900,
29916,
29907,
29896,
13,
1678,
5012,
1254,
1177,
29979,
29918,
29933,
1164,
29928,
353,
29871,
29900,
29916,
29907,
29906,
13,
1678,
349,
1001,
3235,
29950,
29918,
3094,
29954,
353,
29871,
29900,
29916,
29907,
29941,
13,
1678,
18340,
29979,
29918,
29956,
22255,
353,
29871,
29900,
29916,
29907,
29946,
13,
1678,
360,
2544,
13845,
353,
29871,
29900,
29916,
29907,
29945,
13,
1678,
350,
12413,
29918,
29934,
3308,
29950,
353,
29871,
29900,
29916,
29907,
29953,
13,
1678,
11247,
7077,
29918,
1164,
353,
29871,
29900,
29916,
29907,
29955,
13,
1678,
19474,
4717,
1692,
353,
29871,
29900,
29916,
29907,
29947,
13,
1678,
317,
9468,
1254,
12054,
353,
29871,
29900,
29916,
29907,
29929,
13,
1678,
402,
6259,
29909,
29918,
29928,
4717,
1177,
353,
29871,
29900,
29916,
5454,
13,
1678,
11056,
11499,
353,
29871,
29900,
29916,
21685,
13,
1678,
26871,
29924,
353,
29871,
29900,
29916,
4174,
13,
1678,
16641,
2208,
12015,
353,
29871,
29900,
29916,
6530,
13,
1678,
17131,
29918,
29903,
22119,
4162,
353,
29871,
29900,
29916,
4741,
13,
1678,
25289,
10051,
17070,
353,
29871,
29900,
29916,
9207,
13,
1678,
341,
6227,
29968,
29918,
8353,
1177,
29968,
353,
29871,
29900,
29916,
29928,
29900,
13,
1678,
10937,
1718,
29968,
353,
29871,
29900,
29916,
29928,
29896,
13,
1678,
383,
4574,
29979,
29918,
29907,
2692,
4945,
353,
29871,
29900,
29916,
29928,
29906,
13,
1678,
317,
4330,
6670,
29918,
29956,
4214,
353,
29871,
29900,
29916,
29928,
29941,
13,
1678,
22986,
2190,
29918,
3927,
8949,
353,
29871,
29900,
29916,
29928,
29946,
13,
1678,
15531,
29911,
4717,
1783,
353,
29871,
29900,
29916,
29928,
29945,
13,
1678,
317,
1307,
15488,
29918,
29911,
1964,
29968,
353,
29871,
29900,
29916,
29928,
29953,
13,
1678,
17714,
1964,
29918,
15349,
2208,
353,
29871,
29900,
29916,
29928,
29955,
13,
1678,
28081,
24015,
353,
29871,
29900,
29916,
29928,
29947,
13,
1678,
349,
15989,
3919,
353,
29871,
29900,
29916,
29928,
29929,
13,
1678,
23788,
29965,
10810,
8098,
353,
29871,
29900,
29916,
7698,
13,
1678,
317,
5098,
11787,
29965,
17011,
353,
29871,
29900,
29916,
4051,
13,
1678,
17687,
1177,
29918,
5550,
29931,
1806,
353,
29871,
29900,
29916,
12696,
13,
1678,
317,
2477,
19386,
29918,
3738,
1525,
353,
29871,
29900,
29916,
7858,
13,
1678,
341,
10051,
29940,
1806,
29965,
2287,
353,
29871,
29900,
29916,
2287,
13,
1678,
360,
29979,
3521,
29924,
2965,
29925,
3904,
3210,
353,
29871,
29900,
29916,
4037,
13,
1678,
360,
29979,
3521,
29924,
2965,
29918,
29925,
3904,
3210,
353,
360,
29979,
3521,
29924,
2965,
29925,
3904,
3210,
13,
1678,
341,
11787,
29909,
29950,
1955,
29940,
353,
29871,
29900,
29916,
29923,
29900,
13,
1678,
360,
4717,
29954,
1164,
29933,
1525,
7534,
353,
29871,
29900,
29916,
29923,
29896,
13,
1678,
360,
4717,
29954,
1164,
29918,
29933,
1525,
7534,
353,
360,
4717,
29954,
1164,
29933,
1525,
7534,
13,
1678,
350,
1299,
1164,
29918,
25711,
353,
29871,
29900,
29916,
29923,
29906,
13,
1678,
12524,
3217,
1525,
353,
29871,
29900,
29916,
29923,
29941,
13,
1678,
349,
4574,
14605,
1806,
353,
29871,
29900,
29916,
29923,
29946,
13,
1678,
390,
3301,
1367,
29918,
5550,
1177,
353,
29871,
29900,
29916,
29923,
29945,
13,
1678,
317,
8851,
2544,
29918,
7187,
3919,
353,
29871,
29900,
29916,
29923,
29953,
13,
1678,
23292,
1164,
29918,
6040,
6227,
353,
29871,
29900,
29916,
29923,
29955,
13,
1678,
341,
2544,
1964,
29918,
13875,
29956,
353,
29871,
29900,
29916,
29923,
29947,
13,
1678,
478,
1806,
1964,
29918,
4690,
25180,
353,
29871,
29900,
29916,
29923,
29929,
13,
1678,
341,
1955,
29940,
4214,
29918,
29903,
3904,
353,
29871,
29900,
29916,
29923,
29909,
13,
1678,
28962,
29940,
4690,
2890,
3235,
353,
29871,
29900,
29916,
25752,
13,
1678,
16999,
1164,
5265,
29954,
3912,
353,
29871,
29900,
29916,
11206,
13,
1678,
379,
1367,
29928,
1430,
29918,
29925,
9806,
1001,
353,
29871,
29900,
29916,
3352,
13,
1678,
315,
1672,
1799,
29918,
3210,
4590,
353,
29871,
29900,
29916,
17896,
13,
1678,
323,
29956,
9047,
1001,
353,
29871,
29900,
29916,
29638,
13,
1678,
18865,
1177,
29918,
29928,
23219,
353,
29871,
29900,
29916,
29943,
29900,
13,
1678,
317,
3904,
29940,
29979,
29918,
28658,
353,
29871,
29900,
29916,
29943,
29896,
13,
1678,
15600,
3904,
3210,
353,
29871,
29900,
29916,
29943,
29906,
13,
1678,
341,
8193,
7544,
29918,
3217,
1299,
353,
29871,
29900,
29916,
29943,
29941,
13,
1678,
11323,
29979,
3210,
29918,
4897,
353,
29871,
29900,
29916,
29943,
29946,
13,
1678,
8528,
29911,
1525,
2303,
29903,
4162,
3352,
353,
29871,
29900,
29916,
29943,
29945,
13,
1678,
8528,
29911,
1525,
2303,
29918,
29903,
4162,
3352,
353,
8528,
29911,
1525,
2303,
29903,
4162,
3352,
13,
1678,
13764,
8426,
1430,
3557,
9806,
1001,
353,
29871,
29900,
29916,
29943,
29953,
13,
1678,
13764,
8426,
3919,
29918,
29925,
9806,
1001,
353,
13764,
8426,
1430,
3557,
9806,
1001,
13,
1678,
24972,
3035,
9806,
29918,
29933,
9818,
353,
29871,
29900,
29916,
29943,
29955,
13,
1678,
383,
2692,
11499,
29918,
5425,
29954,
3912,
353,
29871,
29900,
29916,
29943,
29947,
13,
1678,
16641,
7077,
29918,
29903,
1529,
7068,
353,
29871,
29900,
29916,
29943,
29929,
13,
1678,
12317,
29902,
2241,
13152,
5607,
353,
29871,
29900,
29916,
4519,
13,
1678,
20700,
1299,
29918,
4897,
353,
29871,
29900,
29916,
18426,
13,
1678,
13515,
6059,
29918,
12015,
353,
29871,
29900,
29916,
8610,
13,
1678,
501,
8618,
1718,
353,
29871,
29900,
29916,
26453,
13,
1678,
317,
4986,
7077,
2227,
1307,
353,
29871,
29900,
29916,
16359,
13,
1678,
10937,
1806,
29918,
4897,
353,
29871,
29900,
29916,
4198,
13,
1678,
25289,
1964,
27998,
353,
29871,
29900,
29916,
29896,
29900,
29900,
13,
1678,
17714,
1299,
29918,
29956,
7520,
29923,
353,
29871,
29900,
29916,
29896,
29900,
29896,
13,
1678,
379,
29909,
6227,
353,
29871,
29900,
29916,
29896,
29900,
29906,
13,
1678,
323,
12054,
3919,
353,
29871,
29900,
29916,
29896,
29900,
29941,
13,
1678,
383,
29931,
1299,
4945,
353,
29871,
29900,
29916,
29896,
29900,
29946,
13,
1678,
399,
24071,
29918,
29949,
29918,
29956,
3235,
29925,
353,
29871,
29900,
29916,
29896,
29900,
29945,
13,
1678,
341,
12665,
3919,
29949,
353,
29871,
29900,
29916,
29896,
29900,
29953,
13,
1678,
383,
2477,
29909,
2287,
353,
29871,
29900,
29916,
29896,
29900,
29955,
13,
1678,
18322,
29907,
3308,
29918,
29925,
3904,
3210,
353,
29871,
29900,
29916,
29896,
29900,
29947,
13,
1678,
317,
2303,
2208,
4214,
29903,
1964,
29911,
353,
29871,
29900,
29916,
29896,
29900,
29929,
13,
1678,
317,
2303,
2208,
4214,
29918,
29903,
1964,
9375,
353,
317,
2303,
2208,
4214,
29903,
1964,
29911,
13,
1678,
18322,
2208,
9806,
29918,
2303,
353,
29871,
29900,
29916,
29896,
29900,
29909,
13,
1678,
26038,
11499,
29918,
29925,
9806,
1001,
353,
29871,
29900,
29916,
29896,
29900,
29933,
13,
1678,
26871,
1692,
353,
29871,
29900,
29916,
29896,
29900,
29907,
13,
1678,
323,
29909,
10356,
353,
29871,
29900,
29916,
29896,
29900,
29928,
13,
1678,
379,
6670,
29925,
4214,
29918,
29950,
9468,
353,
29871,
29900,
29916,
29896,
29900,
29923,
13,
1678,
10014,
2965,
29968,
353,
29871,
29900,
29916,
29896,
29900,
29943,
13,
1678,
16641,
1307,
29918,
29925,
18799,
353,
29871,
29900,
29916,
29896,
29896,
29900,
13,
1678,
399,
3235,
29950,
353,
29871,
29900,
29916,
29896,
29896,
29896,
13,
1678,
319,
1799,
9047,
353,
29871,
29900,
29916,
29896,
29896,
29906,
13,
1678,
2672,
29954,
4717,
1177,
353,
29871,
29900,
29916,
29896,
29896,
29941,
13,
1678,
317,
4897,
1001,
29925,
9806,
1001,
353,
29871,
29900,
29916,
29896,
29896,
29946,
13,
1678,
341,
10051,
2965,
29918,
3217,
1299,
353,
29871,
29900,
29916,
29896,
29896,
29945,
13,
1678,
5195,
29907,
29979,
29907,
1307,
353,
29871,
29900,
29916,
29896,
29896,
29953,
13,
1678,
5195,
29963,
1430,
1692,
353,
29871,
29900,
29916,
29896,
29896,
29955,
13,
1678,
25185,
2965,
29968,
29918,
29933,
1525,
22311,
353,
29871,
29900,
29916,
29896,
29896,
29947,
13,
1678,
612,
29909,
16048,
353,
29871,
29900,
29916,
29896,
29896,
29929,
13,
1678,
476,
6632,
7077,
29918,
27681,
353,
29871,
29900,
29916,
29896,
29896,
29909,
13,
1678,
12524,
2287,
7520,
1955,
353,
29871,
29900,
29916,
29896,
29896,
29933,
13,
1678,
8982,
4897,
29911,
2725,
353,
29871,
29900,
29916,
29896,
29896,
29907,
13,
1678,
18581,
24071,
29918,
23066,
3301,
353,
29871,
29900,
29916,
29896,
29896,
29928,
13,
1678,
306,
3580,
3960,
3094,
353,
29871,
29900,
29916,
29896,
29896,
29923,
13,
1678,
5195,
29943,
1525,
7068,
353,
29871,
29900,
29916,
29896,
29896,
29943,
13,
1678,
18016,
15789,
1692,
353,
29871,
29900,
29916,
29896,
29906,
29900,
13,
1678,
21989,
14789,
353,
29871,
29900,
29916,
29896,
29906,
29896,
13,
1678,
3725,
22245,
29911,
29918,
29925,
9806,
1001,
353,
29871,
29900,
29916,
29896,
29906,
29906,
13,
1678,
360,
18474,
353,
29871,
29900,
29916,
29896,
29906,
29941,
13,
1678,
9033,
29924,
29918,
4690,
29934,
17321,
353,
29871,
29900,
29916,
29896,
29906,
29946,
13,
1678,
315,
5194,
27269,
18823,
1692,
353,
29871,
29900,
29916,
29896,
29906,
29945,
13,
1678,
323,
29909,
6227,
29918,
29954,
27998,
353,
29871,
29900,
29916,
29896,
29906,
29953,
13,
1678,
365,
17321,
1001,
29918,
29925,
4574,
1692,
353,
29871,
29900,
29916,
29896,
29906,
29955,
13,
1678,
341,
9047,
29918,
29933,
9818,
353,
29871,
29900,
29916,
29896,
29906,
29947,
13,
1678,
383,
29923,
1299,
4448,
29928,
23219,
353,
29871,
29900,
29916,
29896,
29906,
29929,
13,
1678,
383,
29923,
1299,
4448,
29918,
29928,
23219,
353,
383,
29923,
1299,
4448,
29928,
23219,
13,
1678,
17067,
2544,
1001,
29918,
29928,
23219,
353,
29871,
29900,
29916,
29896,
29906,
29909,
13,
1678,
350,
4375,
10721,
29918,
29968,
2965,
29968,
353,
29871,
29900,
29916,
29896,
29906,
29933,
13,
1678,
341,
15789,
29918,
5550,
8476,
353,
29871,
29900,
29916,
29896,
29906,
29907,
13,
1678,
306,
4741,
29918,
29933,
9818,
353,
29871,
29900,
29916,
29896,
29906,
29928,
13,
1678,
14693,
3352,
1307,
29918,
1718,
29924,
353,
29871,
29900,
29916,
29896,
29906,
29923,
13,
1678,
27146,
11375,
29918,
27681,
353,
29871,
29900,
29916,
29896,
29906,
29943,
13,
1678,
379,
29979,
13171,
29918,
24898,
12107,
353,
29871,
29900,
29916,
29896,
29941,
29900,
13,
1678,
21521,
29902,
3094,
29918,
29943,
19453,
353,
29871,
29900,
29916,
29896,
29941,
29896,
13,
1678,
15600,
3308,
29950,
29918,
13875,
29956,
353,
29871,
29900,
29916,
29896,
29941,
29906,
13,
1678,
350,
4375,
1254,
29918,
29933,
24015,
353,
29871,
29900,
29916,
29896,
29941,
29941,
13,
1678,
379,
29979,
29928,
1672,
29918,
29907,
2190,
29940,
1164,
353,
29871,
29900,
29916,
29896,
29941,
29946,
13,
1678,
341,
2544,
29923,
1955,
29918,
1529,
7068,
353,
29871,
29900,
29916,
29896,
29941,
29945,
13,
1678,
319,
1254,
1164,
3235,
29950,
353,
29871,
29900,
29916,
29896,
29941,
29953,
13,
1678,
399,
29923,
1299,
4448,
29918,
29933,
9818,
353,
29871,
29900,
29916,
29896,
29941,
29955,
13,
1678,
319,
3491,
1299,
4448,
3301,
29979,
353,
29871,
29900,
29916,
29896,
29941,
29947,
13,
1678,
13515,
6059,
29918,
4330,
1718,
29903,
353,
29871,
29900,
29916,
29896,
29941,
29929,
13,
1678,
319,
8193,
29918,
29907,
2692,
4945,
353,
29871,
29900,
29916,
29896,
29941,
29909,
13,
1678,
438,
5348,
9606,
1299,
353,
29871,
29900,
29916,
29896,
29941,
29933,
13,
1678,
438,
29928,
1955,
29918,
29903,
1307,
2692,
29950,
353,
29871,
29900,
29916,
29896,
29941,
29907,
13,
1678,
16641,
7077,
29918,
4986,
9486,
353,
29871,
29900,
29916,
29896,
29941,
29928,
13,
1678,
317,
6227,
5348,
29918,
29956,
22255,
353,
29871,
29900,
29916,
29896,
29941,
29923,
13,
1678,
341,
2544,
1964,
29918,
6156,
18783,
353,
29871,
29900,
29916,
29896,
29941,
29943,
13,
1678,
402,
4717,
1799,
25039,
9047,
1307,
353,
29871,
29900,
29916,
29896,
29946,
29900,
13,
1678,
402,
4717,
1799,
29918,
25039,
9047,
1307,
353,
402,
4717,
1799,
25039,
9047,
1307,
13,
1678,
323,
2965,
29968,
1307,
353,
29871,
29900,
29916,
29896,
29946,
29896,
13,
1678,
315,
3267,
29924,
2965,
29918,
29925,
9806,
1001,
353,
29871,
29900,
29916,
29896,
29946,
29906,
13,
1678,
399,
1299,
1001,
29918,
5550,
12015,
353,
29871,
29900,
29916,
29896,
29946,
29941,
13,
1678,
317,
17298,
1964,
29918,
15349,
5194,
353,
29871,
29900,
29916,
29896,
29946,
29946,
13,
1678,
24972,
3035,
9806,
29918,
29925,
3904,
3210,
353,
29871,
29900,
29916,
29896,
29946,
29945,
13,
1678,
8528,
5659,
3289,
1430,
29903,
18929,
353,
29871,
29900,
29916,
29896,
29946,
29953,
13,
1678,
18581,
29979,
29918,
4897,
13171,
29907,
2692,
353,
29871,
29900,
29916,
29896,
29946,
29955,
13,
1678,
317,
9468,
29918,
4986,
9486,
353,
29871,
29900,
29916,
29896,
29946,
29947,
13,
1678,
317,
9606,
1001,
29918,
3217,
10249,
353,
29871,
29900,
29916,
29896,
29946,
29929,
13,
1678,
341,
29965,
7858,
29979,
29918,
29956,
1299,
1001,
353,
29871,
29900,
29916,
29896,
29946,
29909,
13,
1678,
350,
13309,
1307,
29911,
29918,
1660,
3352,
353,
29871,
29900,
29916,
29896,
29946,
29933,
13,
1678,
319,
1001,
25758,
29918,
11538,
353,
29871,
29900,
29916,
29896,
29946,
29907,
13,
1678,
18340,
2965,
1307,
29918,
29903,
4162,
1718,
353,
29871,
29900,
29916,
29896,
29946,
29928,
13,
1678,
23292,
1164,
29918,
24405,
1430,
1660,
353,
29871,
29900,
29916,
29896,
29946,
29923,
13,
1678,
350,
21339,
353,
29871,
29900,
29916,
29896,
29946,
29943,
13,
1678,
379,
9806,
29931,
353,
29871,
29900,
29916,
29896,
29945,
29900,
13,
1678,
360,
4717,
29954,
1164,
29918,
13875,
29956,
353,
29871,
29900,
29916,
29896,
29945,
29896,
13,
1678,
23788,
1430,
29999,
29979,
29918,
7390,
13566,
353,
29871,
29900,
29916,
29896,
29945,
29906,
13,
1678,
350,
13309,
29968,
29918,
4897,
353,
29871,
29900,
29916,
29896,
29945,
29941,
13,
1678,
16437,
3904,
4741,
353,
29871,
29900,
29916,
29896,
29945,
29946,
13,
1678,
341,
15789,
29918,
7068,
2891,
353,
29871,
29900,
29916,
29896,
29945,
29945,
13,
1678,
21521,
29902,
3094,
29918,
6040,
6227,
353,
29871,
29900,
29916,
29896,
29945,
29953,
13,
1678,
4810,
29963,
2544,
353,
29871,
29900,
29916,
29896,
29945,
29955,
13,
1678,
478,
5607,
29911,
29918,
8687,
29968,
1307,
353,
29871,
29900,
29916,
29896,
29945,
29947,
13,
1678,
341,
10051,
2965,
1964,
29918,
1307,
5098,
353,
29871,
29900,
29916,
29896,
29945,
29929,
13,
1678,
399,
1299,
1001,
29918,
5550,
8476,
353,
29871,
29900,
29916,
29896,
29945,
29909,
13,
1678,
315,
1964,
29924,
29918,
16173,
29928,
353,
29871,
29900,
29916,
29896,
29945,
29933,
13,
1678,
11060,
5098,
29918,
29933,
4375,
2287,
353,
29871,
29900,
29916,
29896,
29945,
29907,
13,
1678,
360,
4717,
29954,
1164,
29918,
29928,
23219,
353,
29871,
29900,
29916,
29896,
29945,
29928,
13,
1678,
16641,
7077,
29918,
29933,
4375,
1254,
353,
29871,
29900,
29916,
29896,
29945,
29923,
13,
1678,
317,
8187,
7077,
29918,
29956,
7520,
29923,
353,
29871,
29900,
29916,
29896,
29945,
29943,
13,
1678,
399,
1299,
1001,
29918,
7056,
29931,
1660,
353,
29871,
29900,
29916,
29896,
29953,
29900,
13,
1678,
11662,
6488,
29918,
2287,
5425,
1525,
353,
29871,
29900,
29916,
29896,
29953,
29896,
13,
1678,
11323,
29979,
3210,
29949,
29918,
8456,
3718,
353,
29871,
29900,
29916,
29896,
29953,
29906,
13,
1678,
8291,
17171,
29928,
29918,
29900,
29916,
29896,
29953,
29941,
353,
29871,
29900,
29916,
29896,
29953,
29941,
13,
1678,
24972,
3035,
9806,
29918,
13367,
1806,
29999,
353,
29871,
29900,
29916,
29896,
29953,
29946,
13,
1678,
24972,
3035,
9806,
29918,
29934,
3308,
29950,
29918,
3217,
3927,
353,
29871,
29900,
29916,
29896,
29953,
29946,
13,
1678,
24972,
3035,
9806,
29918,
29934,
3308,
29950,
29918,
29990,
29928,
353,
29871,
29900,
29916,
29896,
29953,
29945,
13,
1678,
24972,
3035,
9806,
29918,
29933,
1525,
22311,
353,
29871,
29900,
29916,
29896,
29953,
29953,
13,
1678,
24972,
3035,
9806,
29918,
11794,
353,
29871,
29900,
29916,
29896,
29953,
29955,
13,
1678,
24972,
3035,
9806,
29918,
29956,
7520,
29923,
353,
29871,
29900,
29916,
29896,
29953,
29947,
13,
1678,
24972,
3035,
9806,
29918,
4717,
12064,
353,
29871,
29900,
29916,
29896,
29953,
29929,
13,
1678,
24972,
3035,
9806,
29918,
1254,
12054,
353,
29871,
29900,
29916,
29896,
29953,
29909,
13,
1678,
24972,
3035,
9806,
29918,
3738,
1525,
353,
29871,
29900,
29916,
29896,
29953,
29933,
13,
1678,
24972,
3035,
9806,
29918,
29933,
5607,
29911,
353,
29871,
29900,
29916,
29896,
29953,
29907,
13,
1678,
24972,
3035,
9806,
29918,
3210,
24071,
353,
29871,
29900,
29916,
29896,
29953,
29928,
13,
1678,
24972,
3035,
9806,
29918,
29933,
4375,
1254,
353,
29871,
29900,
29916,
29896,
29953,
29923,
13,
1678,
24972,
3035,
9806,
29918,
16033,
29979,
353,
29871,
29900,
29916,
29896,
29953,
29943,
13,
1678,
24972,
3035,
9806,
29918,
29950,
5607,
29928,
353,
29871,
29900,
29916,
29896,
29955,
29900,
13,
1678,
24972,
3035,
9806,
29918,
29924,
9047,
353,
29871,
29900,
29916,
29896,
29955,
29896,
13,
1678,
24972,
3035,
9806,
29918,
29925,
2190,
2965,
353,
29871,
29900,
29916,
29896,
29955,
29906,
13,
1678,
24972,
3035,
9806,
29918,
3970,
16048,
353,
29871,
29900,
29916,
29896,
29955,
29941,
13,
1678,
24972,
3035,
9806,
29918,
7068,
3352,
353,
29871,
29900,
29916,
29896,
29955,
29946,
13,
1678,
24972,
3035,
9806,
29918,
29950,
1964,
29943,
353,
29871,
29900,
29916,
29896,
29955,
29945,
13,
13,
1678,
732,
1990,
5696,
13,
1678,
822,
903,
27259,
23538,
25932,
29892,
995,
1125,
13,
4706,
736,
25249,
29889,
29940,
12413,
13,
13,
13,
1990,
10976,
29898,
16854,
1125,
13,
1678,
405,
12413,
353,
29871,
29900,
29916,
29900,
29900,
29900,
29900,
13,
1678,
14861,
1254,
1001,
29918,
29933,
9818,
353,
29871,
29900,
29916,
29900,
29900,
29900,
29896,
13,
1678,
501,
5850,
4717,
29918,
29933,
9818,
353,
29871,
29900,
29916,
29900,
29900,
29900,
29906,
13,
1678,
402,
1525,
1299,
29918,
29933,
9818,
353,
29871,
29900,
29916,
29900,
29900,
29900,
29941,
13,
1678,
21521,
6059,
29918,
29933,
9818,
353,
29871,
29900,
29916,
29900,
29900,
29900,
29946,
13,
1678,
317,
5098,
1718,
29902,
29918,
29933,
9818,
353,
29871,
29900,
29916,
29900,
29900,
29900,
29945,
13,
1678,
405,
2544,
29918,
29933,
9818,
353,
29871,
29900,
29916,
29900,
29900,
29900,
29953,
13,
1678,
360,
18474,
29918,
29933,
9818,
353,
29871,
29900,
29916,
29900,
29900,
29900,
29955,
13,
1678,
14693,
1254,
29918,
29933,
9818,
353,
29871,
29900,
29916,
29900,
29900,
29900,
29947,
13,
1678,
5195,
4162,
1299,
29918,
29933,
9818,
353,
29871,
29900,
29916,
29900,
29900,
29900,
29929,
13,
1678,
323,
7833,
1001,
29918,
29933,
9818,
353,
29871,
29900,
29916,
29900,
29900,
29900,
29909,
13,
1678,
365,
29965,
29990,
4574,
29979,
29918,
29933,
9818,
353,
29871,
29900,
29916,
29900,
29900,
29900,
29933,
13,
1678,
349,
1525,
10403,
1001,
29918,
29933,
9818,
353,
29871,
29900,
29916,
29900,
29900,
29900,
29907,
13,
1678,
349,
2891,
2725,
353,
29871,
29900,
29916,
29900,
29900,
29900,
29928,
13,
1678,
13764,
29911,
1367,
2891,
29923,
353,
29871,
29900,
29916,
29900,
29900,
29900,
29923,
13,
1678,
350,
24015,
29918,
9606,
1964,
353,
29871,
29900,
29916,
29900,
29900,
29900,
29943,
13,
1678,
306,
4741,
29918,
9606,
1964,
353,
29871,
29900,
29916,
29900,
29900,
29896,
29900,
13,
1678,
319,
12982,
29968,
1430,
4214,
353,
29871,
29900,
29916,
29900,
29900,
29896,
29896,
13,
1678,
349,
1718,
16786,
29999,
29918,
9606,
1964,
353,
29871,
29900,
29916,
29900,
29900,
29896,
29906,
13,
1678,
383,
3299,
29918,
1525,
1254,
29949,
1525,
353,
29871,
29900,
29916,
29900,
29900,
29896,
29941,
13,
1678,
18134,
29918,
29925,
2891,
2725,
353,
29871,
29900,
29916,
29900,
29900,
29896,
29946,
13,
1678,
379,
29979,
13171,
29918,
29925,
2891,
2725,
353,
29871,
29900,
29916,
29900,
29900,
29896,
29945,
13,
1678,
317,
4897,
1001,
29918,
29925,
2891,
2725,
353,
29871,
29900,
29916,
29900,
29900,
29896,
29953,
13,
1678,
383,
3299,
29918,
9606,
1964,
353,
29871,
29900,
29916,
29900,
29900,
29896,
29955,
13,
1678,
5195,
29963,
18474,
353,
29871,
29900,
29916,
29900,
29900,
29896,
29947,
13,
1678,
18134,
29918,
1525,
29963,
18474,
353,
29871,
29900,
29916,
29900,
29900,
29896,
29929,
13,
1678,
383,
1525,
7068,
29918,
29956,
1299,
1001,
353,
29871,
29900,
29916,
29900,
29900,
29896,
29909,
13,
1678,
7791,
7698,
29918,
29925,
4590,
353,
29871,
29900,
29916,
29900,
29900,
29896,
29933,
13,
1678,
11060,
22877,
29909,
2287,
353,
29871,
29900,
29916,
29900,
29900,
29896,
29907,
13,
1678,
16999,
6488,
29949,
29949,
29918,
29924,
6227,
29968,
353,
29871,
29900,
29916,
29900,
29900,
29896,
29928,
13,
1678,
12524,
1001,
29954,
29979,
29925,
9806,
8032,
353,
29871,
29900,
29916,
29900,
29900,
29896,
29923,
13,
1678,
12524,
1001,
29954,
29979,
29918,
21289,
353,
29871,
29900,
29916,
29900,
29900,
29896,
29943,
13,
1678,
17714,
1964,
29918,
29925,
9806,
8032,
353,
29871,
29900,
29916,
29900,
29900,
29906,
29900,
13,
1678,
5195,
29963,
5667,
1964,
29918,
4448,
29933,
353,
29871,
29900,
29916,
29900,
29900,
29906,
29896,
13,
1678,
382,
29911,
4448,
353,
29871,
29900,
29916,
29900,
29900,
29906,
29906,
13,
1678,
18134,
29918,
2544,
4448,
353,
29871,
29900,
29916,
29900,
29900,
29906,
29941,
13,
1678,
382,
5265,
29990,
8193,
353,
29871,
29900,
29916,
29900,
29900,
29906,
29946,
13,
1678,
18134,
29918,
29923,
5265,
29990,
8193,
353,
29871,
29900,
29916,
29900,
29900,
29906,
29945,
13,
1678,
365,
26612,
29918,
3217,
8949,
8673,
353,
29871,
29900,
29916,
29900,
29900,
29906,
29953,
13,
1678,
350,
29931,
4462,
29918,
10536,
26027,
353,
29871,
29900,
29916,
29900,
29900,
29906,
29955,
13,
1678,
612,
29923,
2208,
9806,
29918,
10536,
26027,
353,
29871,
29900,
29916,
29900,
29900,
29906,
29947,
13,
1678,
390,
3352,
29918,
10536,
26027,
353,
29871,
29900,
29916,
29900,
29900,
29906,
29929,
13,
1678,
350,
29931,
11375,
29918,
10536,
26027,
353,
29871,
29900,
29916,
29900,
29900,
29906,
29909,
13,
1678,
12317,
9094,
29918,
10536,
26027,
353,
29871,
29900,
29916,
29900,
29900,
29906,
29933,
13,
1678,
350,
1001,
13207,
29918,
29967,
29965,
12107,
353,
29871,
29900,
29916,
29900,
29900,
29906,
29907,
13,
1678,
317,
2477,
19386,
29918,
24943,
353,
29871,
29900,
29916,
29900,
29900,
29906,
29928,
13,
1678,
317,
8187,
1964,
29918,
29903,
1964,
29911,
353,
29871,
29900,
29916,
29900,
29900,
29906,
29923,
13,
1678,
317,
8187,
1964,
29918,
7068,
29923,
2208,
353,
29871,
29900,
29916,
29900,
29900,
29906,
29943,
13,
1678,
390,
3352,
29918,
7068,
17011,
353,
29871,
29900,
29916,
29900,
29900,
29941,
29900,
13,
1678,
350,
29931,
4462,
29918,
7068,
17011,
353,
29871,
29900,
29916,
29900,
29900,
29941,
29896,
13,
1678,
612,
29923,
2208,
9806,
29918,
7068,
17011,
353,
29871,
29900,
29916,
29900,
29900,
29941,
29906,
13,
1678,
402,
1525,
1430,
29918,
7068,
17011,
353,
29871,
29900,
29916,
29900,
29900,
29941,
29941,
13,
13,
1678,
379,
29925,
29918,
4897,
353,
29871,
29900,
29916,
29900,
29900,
29941,
29943,
13,
1678,
13756,
4330,
1177,
353,
29871,
29900,
29916,
29900,
29900,
29946,
29900,
13,
1678,
23292,
1164,
353,
29871,
29900,
29916,
29900,
29900,
29946,
29896,
13,
1678,
315,
1718,
29933,
3267,
353,
29871,
29900,
29916,
29900,
29900,
29946,
29906,
13,
1678,
315,
1964,
8426,
5005,
353,
29871,
29900,
29916,
29900,
29900,
29946,
29941,
13,
1678,
18865,
1525,
29918,
29907,
9468,
29979,
353,
29871,
29900,
29916,
29900,
29900,
29946,
29946,
13,
1678,
349,
29925,
29918,
4897,
353,
29871,
29900,
29916,
29900,
29900,
29946,
29945,
13,
1678,
796,
1177,
29907,
353,
29871,
29900,
29916,
29900,
29900,
29946,
29953,
13,
1678,
349,
29925,
29918,
12648,
353,
29871,
29900,
29916,
29900,
29900,
29946,
29955,
13,
13,
1678,
402,
29965,
17011,
29918,
29903,
4162,
29907,
29918,
353,
29871,
29900,
29916,
29900,
29900,
29946,
29929,
13,
1678,
22471,
1525,
29918,
29950,
1806,
353,
29871,
29900,
29916,
29900,
29900,
29946,
29909,
13,
1678,
1060,
29918,
1299,
8687,
29968,
353,
29871,
29900,
29916,
29900,
29900,
29946,
29933,
13,
1678,
1060,
29918,
24405,
11794,
353,
29871,
29900,
29916,
29900,
29900,
29946,
29907,
13,
1678,
1060,
29918,
29903,
4162,
3352,
353,
29871,
29900,
29916,
29900,
29900,
29946,
29928,
13,
1678,
1060,
29918,
2477,
22484,
2477,
29979,
353,
29871,
29900,
29916,
29900,
29900,
29946,
29923,
13,
1678,
1060,
29918,
29903,
4162,
8426,
1964,
353,
29871,
29900,
29916,
29900,
29900,
29946,
29943,
13,
1678,
21521,
6059,
29918,
3970,
2208,
353,
29871,
29900,
29916,
29900,
29900,
29945,
29900,
13,
1678,
383,
29931,
29965,
4198,
29979,
29918,
6040,
6227,
353,
29871,
29900,
29916,
29900,
29900,
29945,
29896,
13,
13,
1678,
317,
4897,
1001,
29918,
1525,
4162,
29931,
353,
29871,
29900,
29916,
29900,
29900,
29945,
29941,
13,
1678,
18134,
29918,
1525,
4162,
29931,
353,
29871,
29900,
29916,
29900,
29900,
29945,
29946,
13,
1678,
382,
7187,
3301,
29923,
29918,
1672,
4162,
353,
29871,
29900,
29916,
29900,
29900,
29945,
29945,
13,
1678,
5195,
4162,
29931,
353,
29871,
29900,
29916,
29900,
29900,
29945,
29953,
13,
13,
1678,
317,
3904,
29918,
1254,
12413,
353,
29871,
29900,
29916,
29900,
29900,
29945,
29928,
13,
1678,
16999,
1164,
29918,
1254,
12413,
353,
29871,
29900,
29916,
29900,
29900,
29945,
29923,
13,
1678,
9338,
1525,
29918,
1254,
12413,
353,
29871,
29900,
29916,
29900,
29900,
29945,
29943,
13,
1678,
3446,
18783,
1001,
1254,
12413,
353,
29871,
29900,
29916,
29900,
29900,
29953,
29900,
13,
1678,
399,
1299,
1001,
29918,
1254,
12413,
353,
29871,
29900,
29916,
29900,
29900,
29953,
29896,
13,
1678,
11060,
5098,
29918,
1254,
12413,
353,
29871,
29900,
29916,
29900,
29900,
29953,
29906,
13,
13,
1678,
323,
1177,
29979,
29924,
3308,
29950,
1672,
6488,
353,
29871,
29900,
29916,
29900,
29900,
29953,
29955,
13,
1678,
350,
6259,
29918,
29924,
3308,
29950,
1672,
6488,
353,
29871,
29900,
29916,
29900,
29900,
29953,
29947,
13,
13,
1678,
349,
26441,
29931,
353,
29871,
29900,
29916,
29900,
29900,
29953,
29909,
13,
1678,
350,
6259,
29918,
4162,
1718,
29931,
353,
29871,
29900,
29916,
29900,
29900,
29953,
29933,
13,
1678,
6850,
1718,
14849,
1254,
353,
29871,
29900,
29916,
29900,
29900,
29953,
29907,
13,
1678,
6850,
1718,
29918,
2227,
29923,
4741,
353,
29871,
29900,
29916,
29900,
29900,
29953,
29928,
13,
1678,
405,
23338,
7194,
353,
29871,
29900,
29916,
29900,
29900,
29953,
29923,
13,
1678,
17714,
8322,
29918,
29903,
5454,
1307,
353,
29871,
29900,
29916,
29900,
29900,
29953,
29943,
13,
13,
1678,
315,
4448,
29902,
29918,
13635,
13207,
353,
29871,
29900,
29916,
29900,
29900,
29947,
29945,
13,
1678,
5868,
29923,
1254,
29949,
29918,
13635,
13207,
353,
29871,
29900,
29916,
29900,
29900,
29947,
29953,
13,
1678,
349,
29923,
3210,
29909,
29918,
13635,
13207,
353,
29871,
29900,
29916,
29900,
29900,
29947,
29955,
13,
1678,
18865,
29956,
1254,
29918,
13635,
13207,
353,
29871,
29900,
29916,
29900,
29900,
29947,
29947,
13,
1678,
3339,
4162,
1718,
29918,
13635,
13207,
353,
29871,
29900,
29916,
29900,
29900,
29947,
29929,
13,
1678,
11060,
29925,
7228,
29918,
13635,
13207,
353,
29871,
29900,
29916,
29900,
29900,
29947,
29909,
13,
1678,
6323,
2190,
29918,
13635,
13207,
353,
29871,
29900,
29916,
29900,
29900,
29947,
29933,
13,
1678,
349,
1001,
5425,
29924,
29918,
13635,
13207,
353,
29871,
29900,
29916,
29900,
29900,
29947,
29907,
13,
1678,
365,
5005,
29918,
13635,
13207,
353,
29871,
29900,
29916,
29900,
29900,
29947,
29928,
13,
1678,
317,
1806,
29934,
3308,
29918,
13635,
13207,
353,
29871,
29900,
29916,
29900,
29900,
29947,
29923,
13,
1678,
383,
6259,
29979,
29918,
13635,
13207,
353,
29871,
29900,
29916,
29900,
29900,
29947,
29943,
13,
1678,
399,
23328,
29902,
29918,
13635,
13207,
353,
29871,
29900,
29916,
29900,
29900,
29929,
29900,
13,
1678,
341,
10051,
29949,
29918,
13635,
13207,
353,
29871,
29900,
29916,
29900,
29900,
29929,
29896,
13,
1678,
16369,
29965,
7520,
29918,
13635,
13207,
353,
29871,
29900,
29916,
29900,
29900,
29929,
29906,
13,
1678,
306,
3301,
3301,
29909,
29918,
13635,
13207,
353,
29871,
29900,
29916,
29900,
29900,
29929,
29941,
13,
1678,
18865,
29999,
29999,
29918,
13635,
13207,
353,
29871,
29900,
29916,
29900,
29900,
29929,
29946,
13,
1678,
350,
29931,
19960,
29918,
13635,
13207,
353,
29871,
29900,
29916,
29900,
29900,
29929,
29945,
13,
1678,
405,
2190,
2882,
29918,
13635,
13207,
353,
29871,
29900,
29916,
29900,
29900,
29929,
29953,
13,
1678,
399,
29923,
4162,
1718,
29918,
13635,
13207,
353,
29871,
29900,
29916,
29900,
29900,
29929,
29955,
13,
1678,
349,
1177,
3301,
29918,
13635,
13207,
353,
29871,
29900,
29916,
29900,
29900,
29929,
29947,
13,
1678,
21521,
2303,
29954,
29918,
13635,
13207,
353,
29871,
29900,
29916,
29900,
29900,
29929,
29929,
13,
1678,
476,
6670,
7024,
29979,
29918,
13635,
13207,
353,
29871,
29900,
29916,
29900,
29900,
29929,
29909,
13,
1678,
660,
29965,
1964,
2891,
29918,
13635,
13207,
353,
29871,
29900,
29916,
29900,
29900,
29929,
29933,
13,
1678,
379,
1164,
2287,
29956,
29918,
13635,
13207,
353,
29871,
29900,
29916,
29900,
29900,
29929,
29907,
13,
1678,
402,
1525,
7228,
29918,
13635,
13207,
353,
29871,
29900,
29916,
29900,
29900,
29929,
29928,
13,
1678,
323,
5194,
1299,
29949,
29918,
13635,
13207,
353,
29871,
29900,
29916,
29900,
29900,
29929,
29923,
13,
1678,
315,
1955,
10262,
29918,
13635,
13207,
353,
29871,
29900,
29916,
29900,
29900,
29929,
29943,
13,
1678,
341,
10051,
3718,
29918,
13635,
13207,
353,
29871,
29900,
29916,
29900,
29900,
29909,
29900,
13,
1678,
390,
2882,
2692,
29909,
29918,
13635,
13207,
353,
29871,
29900,
29916,
29900,
29900,
29909,
29896,
13,
1678,
11698,
2303,
29931,
29918,
13635,
13207,
353,
29871,
29900,
29916,
29900,
29900,
29909,
29906,
13,
1678,
317,
4162,
29931,
1164,
29918,
13635,
13207,
353,
29871,
29900,
29916,
29900,
29900,
29909,
29941,
13,
1678,
349,
5194,
29911,
1525,
29918,
13635,
13207,
353,
29871,
29900,
29916,
29900,
29900,
29909,
29946,
13,
1678,
399,
1299,
2303,
29931,
29918,
13635,
13207,
353,
29871,
29900,
29916,
29900,
29900,
29909,
29945,
13,
1678,
360,
4574,
1177,
29918,
13635,
13207,
353,
29871,
29900,
29916,
29900,
29900,
29909,
29953,
13,
1678,
350,
6670,
4462,
29918,
13635,
13207,
353,
29871,
29900,
29916,
29900,
29900,
29909,
29955,
13,
1678,
365,
8673,
3210,
29902,
29918,
13635,
13207,
353,
29871,
29900,
29916,
29900,
29900,
29909,
29947,
13,
1678,
402,
2190,
29931,
1164,
29918,
13635,
13207,
353,
29871,
29900,
29916,
29900,
29900,
29909,
29929,
13,
1678,
317,
1964,
2477,
29918,
13635,
13207,
353,
29871,
29900,
29916,
29900,
29900,
6344,
13,
1678,
349,
2544,
29909,
29979,
29909,
29918,
13635,
13207,
353,
29871,
29900,
29916,
29900,
29900,
2882,
13,
1678,
3450,
29907,
2891,
29918,
13635,
13207,
353,
29871,
29900,
29916,
29900,
29900,
2477,
13,
1678,
365,
2190,
29903,
1299,
29918,
13635,
13207,
353,
29871,
29900,
29916,
29900,
29900,
3035,
13,
1678,
6850,
1718,
29943,
29918,
13635,
13207,
353,
29871,
29900,
29916,
29900,
29900,
16036,
13,
13,
1678,
350,
22789,
29950,
3557,
9806,
8032,
353,
29871,
29900,
29916,
29900,
29900,
29933,
29941,
13,
1678,
12317,
9094,
29918,
4448,
29933,
353,
29871,
29900,
29916,
29900,
29900,
29933,
29946,
13,
1678,
26750,
8187,
29918,
15176,
11538,
353,
29871,
29900,
29916,
29900,
29900,
29933,
29945,
13,
1678,
8528,
29925,
29918,
23498,
1525,
353,
29871,
29900,
29916,
29900,
29900,
29933,
29953,
13,
1678,
660,
29965,
2965,
29968,
29918,
13875,
29956,
353,
29871,
29900,
29916,
29900,
29900,
29933,
29955,
13,
1678,
7791,
2891,
9606,
29918,
15349,
2208,
353,
29871,
29900,
29916,
29900,
29900,
29933,
29947,
13,
1678,
341,
3919,
1964,
29918,
4448,
29933,
353,
29871,
29900,
29916,
29900,
29900,
29933,
29929,
13,
1678,
5868,
29949,
12107,
29918,
29933,
9468,
353,
29871,
29900,
29916,
29900,
29900,
5688,
13,
1678,
476,
4214,
29903,
29918,
1672,
7077,
353,
29871,
29900,
29916,
29900,
29900,
14388,
13,
1678,
317,
6227,
5348,
29925,
9806,
8032,
353,
29871,
29900,
29916,
29900,
29900,
5371,
13,
1678,
13862,
29965,
1307,
29911,
29918,
3217,
1177,
353,
29871,
29900,
29916,
29900,
29900,
29121,
13,
1678,
315,
1307,
2190,
1660,
29918,
16881,
353,
29871,
29900,
29916,
29900,
29900,
15349,
13,
1678,
7791,
13309,
29918,
2287,
29956,
353,
29871,
29900,
29916,
29900,
29900,
28062,
13,
1678,
5012,
15488,
1660,
1299,
29949,
2891,
29950,
353,
29871,
29900,
29916,
29900,
29900,
29907,
29900,
13,
1678,
5012,
15488,
1660,
3289,
5454,
1307,
353,
29871,
29900,
29916,
29900,
29900,
29907,
29896,
13,
1678,
317,
6720,
6059,
29918,
29933,
9818,
353,
29871,
29900,
29916,
29900,
29900,
29907,
29906,
13,
1678,
382,
5348,
1254,
12413,
353,
29871,
29900,
29916,
29900,
29900,
29907,
29941,
13,
1678,
18322,
29907,
3308,
29918,
29933,
9468,
353,
29871,
29900,
29916,
29900,
29900,
29907,
29946,
13,
1678,
365,
29965,
7077,
29979,
29918,
11787,
29954,
353,
29871,
29900,
29916,
29900,
29900,
29907,
29945,
13,
1678,
317,
3217,
4162,
29918,
1307,
3059,
353,
29871,
29900,
29916,
29900,
29900,
29907,
29953,
13,
1678,
341,
2544,
1964,
29918,
3217,
1299,
353,
29871,
29900,
29916,
29900,
29900,
29907,
29955,
13,
1678,
11060,
29943,
4986,
5348,
29903,
353,
29871,
29900,
29916,
29900,
29900,
29907,
29947,
13,
1678,
360,
4717,
29954,
1164,
29918,
29903,
5454,
1307,
353,
29871,
29900,
29916,
29900,
29900,
29907,
29929,
13,
1678,
365,
22530,
29918,
29933,
9818,
353,
29871,
29900,
29916,
29900,
29900,
5454,
13,
1678,
7791,
7818,
29918,
29903,
9468,
353,
29871,
29900,
29916,
29900,
29900,
21685,
13,
1678,
379,
17011,
29918,
1254,
12413,
353,
29871,
29900,
29916,
29900,
29900,
4174,
13,
1678,
341,
8193,
2477,
1307,
29918,
1660,
3352,
353,
29871,
29900,
29916,
29900,
29900,
6530,
13,
1678,
350,
29931,
11375,
7239,
3289,
1660,
29903,
353,
29871,
29900,
29916,
29900,
29900,
4741,
13,
1678,
350,
29931,
11375,
29918,
15349,
5850,
353,
29871,
29900,
29916,
29900,
29900,
9207,
13,
1678,
341,
10051,
6006,
353,
29871,
29900,
29916,
29900,
29900,
29928,
29900,
13,
1678,
19519,
1254,
2965,
29918,
29956,
1299,
1001,
353,
29871,
29900,
29916,
29900,
29900,
29928,
29896,
13,
1678,
24972,
1718,
29925,
29918,
15349,
22311,
353,
29871,
29900,
29916,
29900,
29900,
29928,
29906,
13,
1678,
21521,
29902,
3094,
29918,
29933,
1718,
29933,
353,
29871,
29900,
29916,
29900,
29900,
29928,
29941,
13,
1678,
14693,
5348,
2303,
5850,
12107,
353,
29871,
29900,
29916,
29900,
29900,
29928,
29946,
13,
1678,
317,
4162,
2208,
29918,
16881,
353,
29871,
29900,
29916,
29900,
29900,
29928,
29945,
13,
1678,
323,
29956,
9047,
3352,
5550,
29949,
1164,
353,
29871,
29900,
29916,
29900,
29900,
29928,
29953,
13,
1678,
26871,
3217,
1964,
353,
29871,
29900,
29916,
29900,
29900,
29928,
29955,
13,
1678,
360,
4717,
29954,
1164,
29918,
29943,
19453,
353,
29871,
29900,
29916,
29900,
29900,
29928,
29947,
13,
1678,
317,
6227,
29968,
29918,
7187,
1718,
29943,
353,
29871,
29900,
29916,
29900,
29900,
29928,
29929,
13,
1678,
11901,
29918,
29954,
4717,
2287,
353,
29871,
29900,
29916,
29900,
29900,
7698,
13,
1678,
317,
9606,
2208,
29918,
15349,
2208,
353,
29871,
29900,
29916,
29900,
29900,
4051,
13,
1678,
3725,
29909,
29918,
1177,
29907,
1430,
1660,
353,
29871,
29900,
29916,
29900,
29900,
12696,
13,
1678,
365,
6604,
29918,
1177,
29907,
1430,
1660,
353,
29871,
29900,
29916,
29900,
29900,
7858,
13,
1678,
365,
29965,
7077,
29979,
29918,
29925,
3904,
3210,
353,
29871,
29900,
29916,
29900,
29900,
2287,
13,
1678,
341,
2544,
1964,
29918,
29925,
9806,
8032,
353,
29871,
29900,
29916,
29900,
29900,
4037,
13,
1678,
3446,
2965,
29968,
29918,
6154,
7466,
353,
29871,
29900,
29916,
29900,
29900,
29923,
29900,
13,
1678,
6850,
2965,
29968,
353,
29871,
29900,
29916,
29900,
29900,
29923,
29896,
13,
13,
1678,
390,
3352,
29918,
7187,
1718,
29943,
353,
29871,
29900,
29916,
29900,
29900,
16359,
13,
1678,
350,
29931,
4462,
29918,
7187,
1718,
29943,
353,
29871,
29900,
29916,
29900,
29900,
4198,
13,
1678,
349,
1177,
29968,
29918,
7187,
1718,
29943,
353,
29871,
29900,
29916,
29900,
29896,
29900,
29900,
13,
1678,
402,
1525,
1430,
29918,
7187,
1718,
29943,
353,
29871,
29900,
29916,
29900,
29896,
29900,
29896,
13,
1678,
612,
29923,
2208,
9806,
29918,
7187,
1718,
29943,
353,
29871,
29900,
29916,
29900,
29896,
29900,
29906,
13,
13,
1678,
323,
29924,
29900,
29896,
353,
29871,
29900,
29916,
29900,
29896,
29906,
29896,
13,
1678,
323,
29924,
29900,
29906,
353,
29871,
29900,
29916,
29900,
29896,
29906,
29906,
13,
1678,
323,
29924,
29900,
29941,
353,
29871,
29900,
29916,
29900,
29896,
29906,
29941,
13,
1678,
323,
29924,
29900,
29946,
353,
29871,
29900,
29916,
29900,
29896,
29906,
29946,
13,
1678,
323,
29924,
29900,
29945,
353,
29871,
29900,
29916,
29900,
29896,
29906,
29945,
13,
1678,
323,
29924,
29900,
29953,
353,
29871,
29900,
29916,
29900,
29896,
29906,
29953,
13,
1678,
323,
29924,
29900,
29955,
353,
29871,
29900,
29916,
29900,
29896,
29906,
29955,
13,
1678,
323,
29924,
29900,
29947,
353,
29871,
29900,
29916,
29900,
29896,
29906,
29947,
13,
1678,
323,
29924,
29900,
29929,
353,
29871,
29900,
29916,
29900,
29896,
29906,
29929,
13,
1678,
323,
29924,
29896,
29900,
353,
29871,
29900,
29916,
29900,
29896,
29906,
29909,
13,
1678,
323,
29924,
29896,
29896,
353,
29871,
29900,
29916,
29900,
29896,
29906,
29933,
13,
1678,
323,
29924,
29896,
29906,
353,
29871,
29900,
29916,
29900,
29896,
29906,
29907,
13,
1678,
323,
29924,
29896,
29941,
353,
29871,
29900,
29916,
29900,
29896,
29906,
29928,
13,
1678,
323,
29924,
29896,
29946,
353,
29871,
29900,
29916,
29900,
29896,
29906,
29923,
13,
1678,
323,
29924,
29896,
29945,
353,
29871,
29900,
29916,
29900,
29896,
29906,
29943,
13,
1678,
323,
29924,
29896,
29953,
353,
29871,
29900,
29916,
29900,
29896,
29941,
29900,
13,
1678,
323,
29924,
29896,
29955,
353,
29871,
29900,
29916,
29900,
29896,
29941,
29896,
13,
1678,
323,
29924,
29896,
29947,
353,
29871,
29900,
29916,
29900,
29896,
29941,
29906,
13,
1678,
323,
29924,
29896,
29929,
353,
29871,
29900,
29916,
29900,
29896,
29941,
29941,
13,
1678,
323,
29924,
29906,
29900,
353,
29871,
29900,
29916,
29900,
29896,
29941,
29946,
13,
1678,
323,
29924,
29906,
29896,
353,
29871,
29900,
29916,
29900,
29896,
29941,
29945,
13,
1678,
323,
29924,
29906,
29906,
353,
29871,
29900,
29916,
29900,
29896,
29941,
29953,
13,
1678,
323,
29924,
29906,
29941,
353,
29871,
29900,
29916,
29900,
29896,
29941,
29955,
13,
1678,
323,
29924,
29906,
29946,
353,
29871,
29900,
29916,
29900,
29896,
29941,
29947,
13,
1678,
323,
29924,
29906,
29945,
353,
29871,
29900,
29916,
29900,
29896,
29941,
29929,
13,
1678,
323,
29924,
29906,
29953,
353,
29871,
29900,
29916,
29900,
29896,
29941,
29909,
13,
1678,
323,
29924,
29906,
29955,
353,
29871,
29900,
29916,
29900,
29896,
29941,
29933,
13,
1678,
323,
29924,
29906,
29947,
353,
29871,
29900,
29916,
29900,
29896,
29941,
29907,
13,
1678,
323,
29924,
29906,
29929,
353,
29871,
29900,
29916,
29900,
29896,
29941,
29928,
13,
1678,
323,
29924,
29941,
29900,
353,
29871,
29900,
29916,
29900,
29896,
29941,
29923,
13,
1678,
323,
29924,
29941,
29896,
353,
29871,
29900,
29916,
29900,
29896,
29941,
29943,
13,
1678,
323,
29924,
29941,
29906,
353,
29871,
29900,
29916,
29900,
29896,
29946,
29900,
13,
1678,
323,
29924,
29941,
29941,
353,
29871,
29900,
29916,
29900,
29896,
29946,
29896,
13,
1678,
323,
29924,
29941,
29946,
353,
29871,
29900,
29916,
29900,
29896,
29946,
29906,
13,
1678,
323,
29924,
29941,
29945,
353,
29871,
29900,
29916,
29900,
29896,
29946,
29941,
13,
1678,
323,
29924,
29941,
29953,
353,
29871,
29900,
29916,
29900,
29896,
29946,
29946,
13,
1678,
323,
29924,
29941,
29955,
353,
29871,
29900,
29916,
29900,
29896,
29946,
29945,
13,
1678,
323,
29924,
29941,
29947,
353,
29871,
29900,
29916,
29900,
29896,
29946,
29953,
13,
1678,
323,
29924,
29941,
29929,
353,
29871,
29900,
29916,
29900,
29896,
29946,
29955,
13,
1678,
323,
29924,
29946,
29900,
353,
29871,
29900,
29916,
29900,
29896,
29946,
29947,
13,
1678,
323,
29924,
29946,
29896,
353,
29871,
29900,
29916,
29900,
29896,
29946,
29929,
13,
1678,
323,
29924,
29946,
29906,
353,
29871,
29900,
29916,
29900,
29896,
29946,
29909,
13,
1678,
323,
29924,
29946,
29941,
353,
29871,
29900,
29916,
29900,
29896,
29946,
29933,
13,
1678,
323,
29924,
29946,
29946,
353,
29871,
29900,
29916,
29900,
29896,
29946,
29907,
13,
1678,
323,
29924,
29946,
29945,
353,
29871,
29900,
29916,
29900,
29896,
29946,
29928,
13,
1678,
323,
29924,
29946,
29953,
353,
29871,
29900,
29916,
29900,
29896,
29946,
29923,
13,
1678,
323,
29924,
29946,
29955,
353,
29871,
29900,
29916,
29900,
29896,
29946,
29943,
13,
1678,
323,
29924,
29946,
29947,
353,
29871,
29900,
29916,
29900,
29896,
29945,
29900,
13,
1678,
323,
29924,
29946,
29929,
353,
29871,
29900,
29916,
29900,
29896,
29945,
29896,
13,
1678,
323,
29924,
29945,
29900,
353,
29871,
29900,
29916,
29900,
29896,
29945,
29906,
13,
13,
1678,
396,
1530,
359,
344,
398,
1820,
4452,
13,
1678,
435,
29909,
6227,
29918,
10818,
353,
29871,
29900,
29916,
29900,
29896,
29943,
29946,
13,
1678,
382,
1307,
29963,
1299,
1955,
29918,
10818,
29918,
3217,
3927,
353,
29871,
29900,
29916,
29900,
29896,
29943,
29945,
13,
1678,
317,
1529,
2208,
29918,
21009,
29911,
353,
29871,
29900,
29916,
29900,
29896,
29943,
29953,
13,
1678,
383,
29918,
23711,
29968,
353,
29871,
29900,
29916,
29900,
29896,
29943,
29955,
13,
1678,
390,
29918,
23711,
29968,
353,
29871,
29900,
29916,
29900,
29896,
29943,
29947,
13,
1678,
365,
29918,
23711,
29968,
353,
29871,
29900,
29916,
29900,
29896,
29943,
29929,
13,
1678,
360,
29918,
23711,
29968,
353,
29871,
29900,
29916,
29900,
29896,
4519,
13,
1678,
501,
29918,
23711,
29968,
353,
29871,
29900,
29916,
29900,
29896,
18426,
13,
1678,
27092,
12982,
29979,
29918,
10818,
353,
29871,
29900,
29916,
29900,
29896,
8610,
13,
1678,
14861,
4214,
3040,
29918,
10818,
353,
29871,
29900,
29916,
29900,
29896,
26453,
13,
1678,
315,
17011,
29918,
10818,
353,
29871,
29900,
29916,
29900,
29896,
16359,
13,
1678,
360,
9806,
29940,
29918,
1254,
29918,
10818,
353,
29871,
29900,
29916,
29900,
29896,
4198,
13,
1678,
25348,
29918,
8132,
3580,
1307,
29918,
29896,
353,
29871,
29900,
29916,
29900,
29906,
29900,
29900,
13,
1678,
25348,
29918,
8132,
3580,
1307,
29918,
29906,
353,
29871,
29900,
29916,
29900,
29906,
29900,
29896,
13,
1678,
25348,
29918,
8132,
3580,
1307,
29918,
29941,
353,
29871,
29900,
29916,
29900,
29906,
29900,
29906,
13,
1678,
25348,
29918,
8132,
3580,
1307,
29918,
29946,
353,
29871,
29900,
29916,
29900,
29906,
29900,
29941,
13,
1678,
25348,
29918,
8132,
3580,
1307,
29918,
29945,
353,
29871,
29900,
29916,
29900,
29906,
29900,
29946,
13,
1678,
25348,
29918,
8132,
3580,
1307,
29918,
29953,
353,
29871,
29900,
29916,
29900,
29906,
29900,
29945,
13,
1678,
25348,
29918,
8132,
3580,
1307,
29918,
29955,
353,
29871,
29900,
29916,
29900,
29906,
29900,
29953,
13,
1678,
25348,
29918,
8132,
3580,
1307,
29918,
29947,
353,
29871,
29900,
29916,
29900,
29906,
29900,
29955,
13,
1678,
25348,
29918,
8132,
3580,
1307,
29918,
29929,
353,
29871,
29900,
29916,
29900,
29906,
29900,
29947,
13,
1678,
25348,
29918,
8132,
3580,
1307,
29918,
29896,
29900,
353,
29871,
29900,
29916,
29900,
29906,
29900,
29929,
13,
1678,
25348,
29918,
8132,
3580,
1307,
29918,
29896,
29896,
353,
29871,
29900,
29916,
29900,
29906,
29900,
29909,
13,
1678,
25348,
29918,
8132,
3580,
1307,
29918,
29896,
29906,
353,
29871,
29900,
29916,
29900,
29906,
29900,
29933,
13,
1678,
25348,
29918,
8132,
3580,
1307,
29918,
29896,
29941,
353,
29871,
29900,
29916,
29900,
29906,
29900,
29907,
13,
1678,
25348,
29918,
8132,
3580,
1307,
29918,
29896,
29946,
353,
29871,
29900,
29916,
29900,
29906,
29900,
29928,
13,
1678,
25348,
29918,
8132,
3580,
1307,
29918,
29896,
29945,
353,
29871,
29900,
29916,
29900,
29906,
29900,
29923,
13,
1678,
25348,
29918,
8132,
3580,
1307,
29918,
29896,
29953,
353,
29871,
29900,
29916,
29900,
29906,
29900,
29943,
13,
1678,
25348,
29918,
8132,
3580,
1307,
29918,
29896,
29955,
353,
29871,
29900,
29916,
29900,
29906,
29896,
29900,
13,
1678,
25348,
29918,
8132,
3580,
1307,
29918,
29896,
29947,
353,
29871,
29900,
29916,
29900,
29906,
29896,
29896,
13,
1678,
360,
8254,
29918,
3491,
29918,
3217,
3927,
353,
29871,
29900,
29916,
29900,
29906,
29896,
29906,
13,
1678,
317,
4330,
6670,
29918,
4330,
2544,
29950,
353,
29871,
29900,
29916,
29900,
29906,
29896,
29941,
13,
1678,
402,
26441,
353,
29871,
29900,
29916,
29900,
29906,
29896,
29946,
13,
1678,
390,
3352,
29918,
1367,
29918,
29933,
3035,
1692,
353,
29871,
29900,
29916,
29900,
29906,
29896,
29945,
13,
1678,
18016,
29940,
29918,
1367,
29918,
29933,
3035,
1692,
353,
29871,
29900,
29916,
29900,
29906,
29896,
29953,
13,
1678,
350,
29931,
29965,
29918,
1367,
29918,
29933,
3035,
1692,
353,
29871,
29900,
29916,
29900,
29906,
29896,
29955,
13,
1678,
612,
29931,
29956,
29918,
1367,
29918,
29933,
3035,
1692,
353,
29871,
29900,
29916,
29900,
29906,
29896,
29947,
13,
1678,
323,
8890,
29918,
10536,
26027,
353,
29871,
29900,
29916,
29900,
29906,
29896,
29929,
13,
1678,
382,
1177,
29918,
7724,
29918,
29903,
353,
29871,
29900,
29916,
29900,
29906,
29896,
29909,
13,
1678,
382,
1177,
29918,
7724,
29918,
29950,
353,
29871,
29900,
29916,
29900,
29906,
29896,
29933,
13,
1678,
382,
1177,
29918,
7724,
29918,
29907,
353,
29871,
29900,
29916,
29900,
29906,
29896,
29907,
13,
1678,
382,
1177,
29918,
7724,
29918,
29925,
353,
29871,
29900,
29916,
29900,
29906,
29896,
29928,
13,
1678,
4810,
14480,
8186,
29918,
23487,
29918,
3217,
3927,
353,
29871,
29900,
29916,
29900,
29906,
29896,
29923,
13,
1678,
435,
29949,
29979,
29918,
7187,
3919,
29918,
3217,
3927,
353,
29871,
29900,
29916,
29900,
29906,
29896,
29943,
13,
1678,
8528,
29907,
9094,
29918,
7187,
3919,
29918,
3217,
3927,
353,
29871,
29900,
29916,
29900,
29906,
29906,
29900,
13,
1678,
5473,
13044,
29918,
7187,
3919,
29918,
3217,
3927,
353,
29871,
29900,
29916,
29900,
29906,
29906,
29896,
13,
1678,
349,
9806,
1001,
4897,
29918,
26092,
353,
29871,
29900,
29916,
29900,
29906,
29906,
29906,
13,
1678,
382,
1177,
29918,
7724,
29918,
29943,
353,
29871,
29900,
29916,
29900,
29906,
29906,
29941,
13,
13,
1678,
396,
1060,
29928,
1820,
4452,
13,
1678,
317,
5098,
29923,
29918,
10818,
353,
29871,
29900,
29916,
29900,
29896,
29943,
29946,
13,
1678,
382,
1307,
29963,
1299,
1955,
29918,
10818,
29918,
29990,
29928,
353,
29871,
29900,
29916,
29900,
29896,
29943,
29945,
13,
1678,
350,
1164,
12750,
29979,
29918,
29907,
17011,
353,
29871,
29900,
29916,
29900,
29896,
29943,
29953,
13,
1678,
26750,
29950,
8895,
29918,
26092,
353,
29871,
29900,
29916,
29900,
29896,
29943,
29955,
13,
1678,
402,
1164,
29999,
3301,
29903,
29918,
10818,
353,
29871,
29900,
29916,
29900,
29896,
29943,
29947,
13,
1678,
360,
8254,
29918,
3491,
29918,
29990,
29928,
353,
29871,
29900,
29916,
29900,
29896,
29943,
29929,
13,
1678,
3553,
29918,
29907,
17011,
353,
29871,
29900,
29916,
29900,
29896,
4519,
13,
1678,
341,
3308,
2965,
29918,
23711,
29907,
353,
29871,
29900,
29916,
29900,
29896,
18426,
13,
1678,
28962,
1254,
12665,
29918,
1307,
5348,
353,
29871,
29900,
29916,
29900,
29896,
8610,
13,
1678,
14861,
29979,
24125,
29918,
12256,
29923,
353,
29871,
29900,
29916,
29900,
29896,
26453,
13,
1678,
341,
29902,
7544,
29918,
29934,
3035,
1718,
353,
29871,
29900,
29916,
29900,
29896,
16359,
13,
1678,
21521,
6059,
29918,
19296,
11375,
353,
29871,
29900,
29916,
29900,
29896,
4198,
13,
1678,
4810,
14480,
8186,
29918,
23487,
29918,
29990,
29928,
353,
29871,
29900,
29916,
29900,
29906,
29900,
29900,
13,
1678,
435,
29949,
29979,
29918,
7187,
3919,
29918,
29990,
29928,
353,
29871,
29900,
29916,
29900,
29906,
29900,
29896,
13,
1678,
8528,
29907,
9094,
29918,
7187,
3919,
29918,
29990,
29928,
353,
29871,
29900,
29916,
29900,
29906,
29900,
29906,
13,
1678,
5473,
13044,
29918,
7187,
3919,
29918,
29990,
29928,
353,
29871,
29900,
29916,
29900,
29906,
29900,
29941,
13,
1678,
317,
3904,
29918,
7068,
17011,
353,
29871,
29900,
29916,
29900,
29906,
29900,
29946,
13,
1678,
16999,
1164,
29918,
7068,
17011,
353,
29871,
29900,
29916,
29900,
29906,
29900,
29945,
13,
1678,
350,
1164,
12750,
29979,
29918,
19689,
2891,
29949,
353,
29871,
29900,
29916,
29900,
29906,
29900,
29953,
13,
1678,
315,
13207,
29918,
2190,
1964,
29979,
29999,
1001,
353,
29871,
29900,
29916,
29900,
29906,
29900,
29955,
13,
13,
1678,
476,
29934,
2190,
29923,
29918,
2303,
6720,
29918,
29896,
353,
29871,
29900,
29916,
29900,
29906,
29900,
29933,
13,
1678,
476,
29934,
2190,
29923,
29918,
2303,
6720,
29918,
29906,
353,
29871,
29900,
29916,
29900,
29906,
29900,
29907,
13,
1678,
476,
29934,
2190,
29923,
29918,
2303,
6720,
29918,
29941,
353,
29871,
29900,
29916,
29900,
29906,
29900,
29928,
13,
1678,
476,
29934,
2190,
29923,
29918,
2303,
6720,
29918,
29946,
353,
29871,
29900,
29916,
29900,
29906,
29900,
29923,
13,
1678,
476,
29934,
2190,
29923,
29918,
2303,
6720,
29918,
29945,
353,
29871,
29900,
29916,
29900,
29906,
29900,
29943,
13,
1678,
478,
29949,
12107,
29918,
23487,
29918,
29896,
353,
29871,
29900,
29916,
29900,
29906,
29896,
29900,
13,
1678,
478,
29949,
12107,
29918,
23487,
29918,
29906,
353,
29871,
29900,
29916,
29900,
29906,
29896,
29896,
13,
1678,
478,
29949,
12107,
29918,
23487,
29918,
29941,
353,
29871,
29900,
29916,
29900,
29906,
29896,
29906,
13,
1678,
478,
29949,
12107,
29918,
23487,
29918,
29946,
353,
29871,
29900,
29916,
29900,
29906,
29896,
29941,
13,
1678,
478,
29949,
12107,
29918,
23487,
29918,
29945,
353,
29871,
29900,
29916,
29900,
29906,
29896,
29946,
13,
1678,
28657,
29907,
29918,
23487,
353,
29871,
29900,
29916,
29900,
29906,
29896,
29945,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29900,
29896,
353,
29871,
29900,
29916,
29900,
29906,
29896,
29953,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29900,
29906,
353,
29871,
29900,
29916,
29900,
29906,
29896,
29955,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29900,
29941,
353,
29871,
29900,
29916,
29900,
29906,
29896,
29947,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29900,
29946,
353,
29871,
29900,
29916,
29900,
29906,
29896,
29929,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29900,
29945,
353,
29871,
29900,
29916,
29900,
29906,
29896,
29909,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29900,
29953,
353,
29871,
29900,
29916,
29900,
29906,
29896,
29933,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29900,
29955,
353,
29871,
29900,
29916,
29900,
29906,
29896,
29907,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29900,
29947,
353,
29871,
29900,
29916,
29900,
29906,
29896,
29928,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29900,
29929,
353,
29871,
29900,
29916,
29900,
29906,
29896,
29923,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29896,
29900,
353,
29871,
29900,
29916,
29900,
29906,
29896,
29943,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29896,
29896,
353,
29871,
29900,
29916,
29900,
29906,
29906,
29900,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29896,
29906,
353,
29871,
29900,
29916,
29900,
29906,
29906,
29896,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29896,
29941,
353,
29871,
29900,
29916,
29900,
29906,
29906,
29906,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29896,
29946,
353,
29871,
29900,
29916,
29900,
29906,
29906,
29941,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29896,
29945,
353,
29871,
29900,
29916,
29900,
29906,
29906,
29946,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29896,
29953,
353,
29871,
29900,
29916,
29900,
29906,
29906,
29945,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29896,
29955,
353,
29871,
29900,
29916,
29900,
29906,
29906,
29953,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29896,
29947,
353,
29871,
29900,
29916,
29900,
29906,
29906,
29955,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29896,
29929,
353,
29871,
29900,
29916,
29900,
29906,
29906,
29947,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29906,
29900,
353,
29871,
29900,
29916,
29900,
29906,
29906,
29929,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29906,
29896,
353,
29871,
29900,
29916,
29900,
29906,
29906,
29909,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29906,
29906,
353,
29871,
29900,
29916,
29900,
29906,
29906,
29933,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29906,
29941,
353,
29871,
29900,
29916,
29900,
29906,
29906,
29907,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29906,
29946,
353,
29871,
29900,
29916,
29900,
29906,
29906,
29928,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29906,
29945,
353,
29871,
29900,
29916,
29900,
29906,
29906,
29923,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29906,
29953,
353,
29871,
29900,
29916,
29900,
29906,
29906,
29943,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29906,
29955,
353,
29871,
29900,
29916,
29900,
29906,
29941,
29900,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29906,
29947,
353,
29871,
29900,
29916,
29900,
29906,
29941,
29896,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29906,
29929,
353,
29871,
29900,
29916,
29900,
29906,
29941,
29906,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29941,
29900,
353,
29871,
29900,
29916,
29900,
29906,
29941,
29941,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29941,
29896,
353,
29871,
29900,
29916,
29900,
29906,
29941,
29946,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29941,
29906,
353,
29871,
29900,
29916,
29900,
29906,
29941,
29945,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29941,
29941,
353,
29871,
29900,
29916,
29900,
29906,
29941,
29953,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29941,
29946,
353,
29871,
29900,
29916,
29900,
29906,
29941,
29955,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29941,
29945,
353,
29871,
29900,
29916,
29900,
29906,
29941,
29947,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29941,
29953,
353,
29871,
29900,
29916,
29900,
29906,
29941,
29929,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29941,
29955,
353,
29871,
29900,
29916,
29900,
29906,
29941,
29909,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29941,
29947,
353,
29871,
29900,
29916,
29900,
29906,
29941,
29933,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29941,
29929,
353,
29871,
29900,
29916,
29900,
29906,
29941,
29907,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29946,
29900,
353,
29871,
29900,
29916,
29900,
29906,
29941,
29928,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29946,
29896,
353,
29871,
29900,
29916,
29900,
29906,
29941,
29923,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29946,
29906,
353,
29871,
29900,
29916,
29900,
29906,
29941,
29943,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29946,
29941,
353,
29871,
29900,
29916,
29900,
29906,
29946,
29900,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29946,
29946,
353,
29871,
29900,
29916,
29900,
29906,
29946,
29896,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29946,
29945,
353,
29871,
29900,
29916,
29900,
29906,
29946,
29906,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29946,
29953,
353,
29871,
29900,
29916,
29900,
29906,
29946,
29941,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29946,
29955,
353,
29871,
29900,
29916,
29900,
29906,
29946,
29946,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29946,
29947,
353,
29871,
29900,
29916,
29900,
29906,
29946,
29945,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29946,
29929,
353,
29871,
29900,
29916,
29900,
29906,
29946,
29953,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29945,
29900,
353,
29871,
29900,
29916,
29900,
29906,
29946,
29955,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29945,
29896,
353,
29871,
29900,
29916,
29900,
29906,
29946,
29947,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29945,
29906,
353,
29871,
29900,
29916,
29900,
29906,
29946,
29929,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29945,
29941,
353,
29871,
29900,
29916,
29900,
29906,
29946,
29909,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29945,
29946,
353,
29871,
29900,
29916,
29900,
29906,
29946,
29933,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29945,
29945,
353,
29871,
29900,
29916,
29900,
29906,
29946,
29907,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29945,
29953,
353,
29871,
29900,
29916,
29900,
29906,
29946,
29928,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29945,
29955,
353,
29871,
29900,
29916,
29900,
29906,
29946,
29923,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29945,
29947,
353,
29871,
29900,
29916,
29900,
29906,
29946,
29943,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29945,
29929,
353,
29871,
29900,
29916,
29900,
29906,
29945,
29900,
13,
1678,
350,
1299,
29911,
1307,
29918,
6530,
29918,
29953,
29900,
353,
29871,
29900,
29916,
29900,
29906,
29945,
29896,
13,
13,
1678,
732,
1990,
5696,
13,
1678,
822,
903,
27259,
23538,
25932,
29892,
995,
1125,
13,
4706,
736,
10976,
29889,
29940,
12413,
13,
13,
13,
1990,
12027,
2385,
29898,
16854,
1125,
13,
1678,
22307,
1299,
2965,
353,
29871,
29900,
29916,
29900,
29896,
13,
1678,
13515,
1254,
353,
29871,
29900,
29916,
29900,
29946,
13,
1678,
341,
3352,
29902,
5005,
29918,
4519,
1254,
353,
29871,
29900,
29916,
29900,
29900,
13,
1678,
341,
3352,
29902,
5005,
29918,
29903,
27998,
353,
29871,
29900,
29916,
29900,
29941,
13,
1678,
317,
27998,
353,
29871,
29900,
29916,
29900,
29945,
13,
1678,
383,
29931,
29965,
1783,
29965,
1299,
4214,
353,
29871,
29900,
29916,
29900,
29906,
13,
13,
13,
1990,
382,
4068,
1542,
29898,
16854,
1125,
13,
1678,
405,
12413,
353,
29871,
29900,
29916,
29900,
29900,
13,
1678,
379,
20576,
8895,
1799,
353,
29871,
29900,
29916,
29900,
29896,
13,
1678,
379,
20576,
8895,
1799,
29918,
28658,
353,
29871,
29900,
29916,
29900,
29906,
13,
1678,
379,
20576,
8895,
1799,
29918,
29940,
22530,
353,
29871,
29900,
29916,
29900,
29941,
13,
1678,
11060,
29963,
6670,
29918,
4897,
353,
29871,
29900,
29916,
29900,
29946,
13,
1678,
323,
4717,
2287,
29918,
1964,
12982,
21554,
353,
29871,
29900,
29916,
29900,
29945,
13,
1678,
323,
4717,
2287,
29918,
29956,
13054,
29918,
9094,
29924,
353,
29871,
29900,
29916,
29900,
29953,
13,
1678,
6850,
12413,
29918,
22240,
5607,
2692,
2725,
353,
29871,
29900,
29916,
29900,
29955,
13,
1678,
15531,
8687,
29968,
29918,
23799,
29918,
24405,
1430,
1660,
353,
29871,
29900,
29916,
29900,
29947,
13,
1678,
15531,
8687,
29968,
29918,
28879,
29918,
24405,
1430,
1660,
353,
29871,
29900,
29916,
29900,
29929,
13,
1678,
15531,
8687,
29968,
29918,
5850,
29918,
24405,
1430,
1660,
353,
29871,
29900,
29916,
29900,
29909,
13,
1678,
349,
1001,
3094,
1964,
11937,
29918,
19143,
29918,
6720,
14849,
3927,
29918,
27998,
353,
29871,
29900,
29916,
29900,
29933,
13,
1678,
349,
1001,
3094,
1964,
11937,
29918,
19143,
29918,
6720,
14849,
3927,
29918,
29950,
6259,
29950,
353,
29871,
29900,
29916,
29900,
29907,
13,
1678,
8291,
17171,
29928,
29918,
29896,
29941,
353,
29871,
29900,
29916,
29900,
29928,
13,
1678,
24972,
3352,
1177,
29967,
29909,
353,
29871,
29900,
29916,
29900,
29923,
13,
1678,
379,
6259,
29950,
29918,
15349,
20656,
29979,
353,
29871,
29900,
29916,
29900,
29943,
13,
1678,
379,
20576,
8895,
1799,
29918,
29956,
13054,
29918,
9094,
29924,
29918,
1177,
29918,
5688,
29954,
353,
29871,
29900,
29916,
29896,
29900,
13,
13,
1678,
732,
6799,
13,
1678,
822,
1828,
29918,
275,
29918,
5563,
29898,
1311,
1125,
13,
4706,
736,
1583,
297,
518,
1311,
29889,
1307,
29963,
6670,
29918,
4897,
29892,
1583,
29889,
1299,
8687,
29968,
29918,
28879,
29918,
24405,
1430,
1660,
29892,
1583,
29889,
1299,
8687,
29968,
29918,
23799,
29918,
24405,
1430,
1660,
29892,
1583,
29889,
1299,
8687,
29968,
29918,
5850,
29918,
24405,
1430,
1660,
29892,
13,
462,
4706,
1583,
29889,
13171,
3094,
1964,
11937,
29918,
19143,
29918,
6720,
14849,
3927,
29918,
27998,
29892,
1583,
29889,
13171,
3094,
1964,
11937,
29918,
19143,
29918,
6720,
14849,
3927,
29918,
29950,
6259,
29950,
29892,
1583,
29889,
7068,
3352,
1177,
29967,
29909,
29962,
13,
13,
1678,
732,
6799,
13,
1678,
822,
1828,
29918,
275,
29918,
667,
29898,
1311,
1125,
13,
4706,
736,
1583,
297,
518,
1311,
29889,
29911,
4717,
2287,
29918,
29956,
13054,
29918,
9094,
29924,
29892,
1583,
29889,
1254,
12413,
29918,
22240,
5607,
2692,
2725,
29892,
1583,
29889,
29950,
20576,
8895,
1799,
29918,
29956,
13054,
29918,
9094,
29924,
29918,
1177,
29918,
5688,
29954,
29962,
13,
13,
13,
1990,
17677,
29898,
2928,
16854,
1125,
13,
1678,
379,
17011,
29979,
353,
29871,
29900,
29916,
29900,
29900,
13,
1678,
365,
1164,
6670,
29979,
353,
29871,
29900,
29916,
29900,
29896,
13,
1678,
350,
4717,
12064,
353,
29871,
29900,
29916,
29900,
29906,
13,
1678,
319,
7698,
1529,
20321,
353,
29871,
29900,
29916,
29900,
29941,
13,
1678,
8598,
23338,
3912,
29979,
353,
29871,
29900,
29916,
29900,
29946,
13,
1678,
350,
5607,
29928,
353,
29871,
29900,
29916,
29900,
29945,
13,
1678,
11662,
8426,
1307,
353,
29871,
29900,
29916,
29900,
29953,
13,
1678,
5195,
4375,
29990,
3352,
353,
29871,
29900,
29916,
29900,
29955,
13,
1678,
22313,
2227,
7068,
353,
29871,
29900,
29916,
29900,
29947,
13,
1678,
365,
6604,
353,
29871,
29900,
29916,
29900,
29929,
13,
1678,
323,
7833,
1367,
353,
29871,
29900,
29916,
29900,
29909,
13,
1678,
379,
28938,
29979,
353,
29871,
29900,
29916,
29900,
29933,
13,
1678,
26996,
5971,
3308,
353,
29871,
29900,
29916,
29900,
29907,
13,
1678,
435,
29949,
2208,
29979,
353,
29871,
29900,
29916,
29900,
29928,
13,
1678,
8598,
18474,
353,
29871,
29900,
29916,
29900,
29923,
13,
1678,
16999,
2287,
1254,
353,
29871,
29900,
29916,
29900,
29943,
13,
1678,
341,
6227,
29928,
353,
29871,
29900,
29916,
29896,
29900,
13,
1678,
660,
3120,
2544,
353,
29871,
29900,
29916,
29896,
29896,
13,
1678,
350,
24943,
29943,
13309,
353,
29871,
29900,
29916,
29896,
29906,
13,
1678,
390,
24943,
353,
29871,
29900,
29916,
29896,
29941,
13,
1678,
315,
1964,
29924,
353,
29871,
29900,
29916,
29896,
29946,
13,
1678,
402,
3919,
1307,
353,
29871,
29900,
29916,
29896,
29945,
13,
1678,
16698,
1799,
29979,
353,
29871,
29900,
29916,
29896,
29953,
13,
1678,
12766,
25866,
13309,
353,
29871,
29900,
29916,
29896,
29955,
13,
1678,
660,
3120,
29934,
29968,
29979,
353,
29871,
29900,
29916,
29896,
29947,
13,
13,
1678,
396,
1304,
297,
1530,
359,
344,
398,
6263,
848,
13,
1678,
390,
2190,
22141,
353,
29871,
29900,
29916,
4198,
13,
13,
1678,
732,
1990,
5696,
13,
1678,
822,
903,
27259,
23538,
25932,
29892,
995,
1125,
13,
4706,
736,
448,
29896,
13,
2
] |
src/examples/cli.py | wdstar/python-examples | 0 | 70289 | #!/usr/bin/env python3
import argparse
import coloredlogs
import logging
import time
import sys
logger = logging.getLogger(__name__)
def log_sample(args: argparse.Namespace):
logger.debug("debug message.")
logger.info("info message.")
logger.warning("warning message.")
logger.error("error message.")
def node_list(args: argparse.Namespace):
logger.info("Execute node list command")
logger.info(args)
def pod_list(args: argparse.Namespace):
logger.info("Execute pod list command")
logger.info(args)
def pod_delete(args: argparse.Namespace):
logger.info("Execute pod delete command")
logger.info(args)
def main():
logging.raiseExceptions = False
logging.Formatter.converter = time.localtime
# logging.Formatter.converter = time.gmtime
"""
logging.basicConfig(
# filename="sample.log",
handlers=[logging.StreamHandler()],
level=logging.DEBUG,
format="%(asctime)s %(name)s %(levelname)s %(message)s",
datefmt="%Y-%m-%d %H:%M:%S %Z %z",
)
"""
coloredlogs.install(
stream=sys.stdout, # default: sys.stderr
level="DEBUG",
fmt="%(asctime)s %(name)s %(levelname)s %(message)s",
datefmt="%Y-%m-%d %H:%M:%S %Z %z",
)
parser = argparse.ArgumentParser()
subparsers = parser.add_subparsers(dest="resource", help="target resource")
# Note: In advance `dest` key word arg. of add_subparsers() must be set.
subparsers.required = True
# Alternative: (Python 3.7 or later)
# subparsers = parser.add_subparsers(
# dest="resource", required=True, help="target resource"
# )
parser_log = subparsers.add_parser("log", help="manage logs")
subparser_log = parser_log.add_subparsers(dest="verb", help="operation")
subparser_log.required = True
parser_log_sample = subparser_log.add_parser("sample", help="sample logs.")
parser_log_sample.set_defaults(cmd_func=log_sample)
parser_node = subparsers.add_parser("node", help="manage nodes")
subparser_node = parser_node.add_subparsers(dest="verb", help="operation")
subparser_node.required = True
parser_node_list = subparser_node.add_parser("list", help="list nodes.")
parser_node_list.set_defaults(cmd_func=node_list)
parser_pod = subparsers.add_parser("pod", help="manage pods")
subparser_pod = parser_pod.add_subparsers(dest="verb", help="operation")
subparser_pod.required = True
parser_pod_list = subparser_pod.add_parser("list", help="list pods")
parser_pod_list.set_defaults(cmd_func=pod_list)
parser_pod_delete = subparser_pod.add_parser("delete", help="delete a pod")
parser_pod_delete.add_argument("name", help="pod name")
parser_pod_delete.set_defaults(cmd_func=pod_delete)
args = parser.parse_args()
if hasattr(args, "cmd_func"):
args.cmd_func(args)
else:
args.cmd_help()
if __name__ == "__main__":
main()
| [
1,
18787,
4855,
29914,
2109,
29914,
6272,
3017,
29941,
13,
5215,
1852,
5510,
13,
5215,
28684,
20756,
13,
5215,
12183,
13,
5215,
931,
13,
5215,
10876,
13,
13,
21707,
353,
12183,
29889,
657,
16363,
22168,
978,
1649,
29897,
13,
13,
13,
1753,
1480,
29918,
11249,
29898,
5085,
29901,
1852,
5510,
29889,
23335,
1125,
13,
1678,
17927,
29889,
8382,
703,
8382,
2643,
23157,
13,
1678,
17927,
29889,
3888,
703,
3888,
2643,
23157,
13,
1678,
17927,
29889,
27392,
703,
27392,
2643,
23157,
13,
1678,
17927,
29889,
2704,
703,
2704,
2643,
23157,
13,
13,
13,
1753,
2943,
29918,
1761,
29898,
5085,
29901,
1852,
5510,
29889,
23335,
1125,
13,
1678,
17927,
29889,
3888,
703,
12296,
2943,
1051,
1899,
1159,
13,
1678,
17927,
29889,
3888,
29898,
5085,
29897,
13,
13,
13,
1753,
2532,
29918,
1761,
29898,
5085,
29901,
1852,
5510,
29889,
23335,
1125,
13,
1678,
17927,
29889,
3888,
703,
12296,
2532,
1051,
1899,
1159,
13,
1678,
17927,
29889,
3888,
29898,
5085,
29897,
13,
13,
13,
1753,
2532,
29918,
8143,
29898,
5085,
29901,
1852,
5510,
29889,
23335,
1125,
13,
1678,
17927,
29889,
3888,
703,
12296,
2532,
5217,
1899,
1159,
13,
1678,
17927,
29889,
3888,
29898,
5085,
29897,
13,
13,
13,
1753,
1667,
7295,
13,
1678,
12183,
29889,
22692,
2451,
29879,
353,
7700,
13,
1678,
12183,
29889,
18522,
29889,
535,
13549,
353,
931,
29889,
2997,
2230,
13,
1678,
396,
12183,
29889,
18522,
29889,
535,
13549,
353,
931,
29889,
29887,
29885,
2230,
13,
1678,
9995,
13,
1678,
12183,
29889,
16121,
3991,
29898,
13,
4706,
396,
10422,
543,
11249,
29889,
1188,
613,
13,
4706,
25795,
11759,
21027,
29889,
3835,
4598,
580,
1402,
13,
4706,
3233,
29922,
21027,
29889,
18525,
29892,
13,
4706,
3402,
543,
29995,
29898,
294,
312,
603,
29897,
29879,
1273,
29898,
978,
29897,
29879,
1273,
29898,
5563,
978,
29897,
29879,
1273,
29898,
4906,
29897,
29879,
613,
13,
4706,
2635,
23479,
543,
29995,
29979,
19222,
29885,
19222,
29881,
1273,
29950,
16664,
29924,
16664,
29903,
1273,
29999,
1273,
29920,
613,
13,
1678,
1723,
13,
1678,
9995,
13,
1678,
28684,
20756,
29889,
6252,
29898,
13,
4706,
4840,
29922,
9675,
29889,
25393,
29892,
29871,
396,
2322,
29901,
10876,
29889,
303,
20405,
13,
4706,
3233,
543,
18525,
613,
13,
4706,
19200,
543,
29995,
29898,
294,
312,
603,
29897,
29879,
1273,
29898,
978,
29897,
29879,
1273,
29898,
5563,
978,
29897,
29879,
1273,
29898,
4906,
29897,
29879,
613,
13,
4706,
2635,
23479,
543,
29995,
29979,
19222,
29885,
19222,
29881,
1273,
29950,
16664,
29924,
16664,
29903,
1273,
29999,
1273,
29920,
613,
13,
1678,
1723,
13,
13,
1678,
13812,
353,
1852,
5510,
29889,
15730,
11726,
580,
13,
1678,
1014,
862,
4253,
353,
13812,
29889,
1202,
29918,
1491,
862,
4253,
29898,
7854,
543,
10314,
613,
1371,
543,
5182,
6503,
1159,
13,
1678,
396,
3940,
29901,
512,
6564,
421,
7854,
29952,
1820,
1734,
1852,
29889,
310,
788,
29918,
1491,
862,
4253,
580,
1818,
367,
731,
29889,
13,
1678,
1014,
862,
4253,
29889,
12403,
353,
5852,
13,
1678,
396,
12440,
1230,
29901,
313,
11980,
29871,
29941,
29889,
29955,
470,
2678,
29897,
13,
1678,
396,
1014,
862,
4253,
353,
13812,
29889,
1202,
29918,
1491,
862,
4253,
29898,
13,
1678,
396,
268,
2731,
543,
10314,
613,
3734,
29922,
5574,
29892,
1371,
543,
5182,
6503,
29908,
13,
1678,
396,
1723,
13,
13,
1678,
13812,
29918,
1188,
353,
1014,
862,
4253,
29889,
1202,
29918,
16680,
703,
1188,
613,
1371,
543,
1171,
482,
10748,
1159,
13,
1678,
1014,
16680,
29918,
1188,
353,
13812,
29918,
1188,
29889,
1202,
29918,
1491,
862,
4253,
29898,
7854,
543,
18248,
613,
1371,
543,
16453,
1159,
13,
1678,
1014,
16680,
29918,
1188,
29889,
12403,
353,
5852,
13,
13,
1678,
13812,
29918,
1188,
29918,
11249,
353,
1014,
16680,
29918,
1188,
29889,
1202,
29918,
16680,
703,
11249,
613,
1371,
543,
11249,
10748,
23157,
13,
1678,
13812,
29918,
1188,
29918,
11249,
29889,
842,
29918,
4381,
29879,
29898,
9006,
29918,
9891,
29922,
1188,
29918,
11249,
29897,
13,
13,
1678,
13812,
29918,
3177,
353,
1014,
862,
4253,
29889,
1202,
29918,
16680,
703,
3177,
613,
1371,
543,
1171,
482,
7573,
1159,
13,
1678,
1014,
16680,
29918,
3177,
353,
13812,
29918,
3177,
29889,
1202,
29918,
1491,
862,
4253,
29898,
7854,
543,
18248,
613,
1371,
543,
16453,
1159,
13,
1678,
1014,
16680,
29918,
3177,
29889,
12403,
353,
5852,
13,
13,
1678,
13812,
29918,
3177,
29918,
1761,
353,
1014,
16680,
29918,
3177,
29889,
1202,
29918,
16680,
703,
1761,
613,
1371,
543,
1761,
7573,
23157,
13,
1678,
13812,
29918,
3177,
29918,
1761,
29889,
842,
29918,
4381,
29879,
29898,
9006,
29918,
9891,
29922,
3177,
29918,
1761,
29897,
13,
13,
1678,
13812,
29918,
15334,
353,
1014,
862,
4253,
29889,
1202,
29918,
16680,
703,
15334,
613,
1371,
543,
1171,
482,
2532,
29879,
1159,
13,
1678,
1014,
16680,
29918,
15334,
353,
13812,
29918,
15334,
29889,
1202,
29918,
1491,
862,
4253,
29898,
7854,
543,
18248,
613,
1371,
543,
16453,
1159,
13,
1678,
1014,
16680,
29918,
15334,
29889,
12403,
353,
5852,
13,
13,
1678,
13812,
29918,
15334,
29918,
1761,
353,
1014,
16680,
29918,
15334,
29889,
1202,
29918,
16680,
703,
1761,
613,
1371,
543,
1761,
2532,
29879,
1159,
13,
1678,
13812,
29918,
15334,
29918,
1761,
29889,
842,
29918,
4381,
29879,
29898,
9006,
29918,
9891,
29922,
15334,
29918,
1761,
29897,
13,
13,
1678,
13812,
29918,
15334,
29918,
8143,
353,
1014,
16680,
29918,
15334,
29889,
1202,
29918,
16680,
703,
8143,
613,
1371,
543,
8143,
263,
2532,
1159,
13,
1678,
13812,
29918,
15334,
29918,
8143,
29889,
1202,
29918,
23516,
703,
978,
613,
1371,
543,
15334,
1024,
1159,
13,
1678,
13812,
29918,
15334,
29918,
8143,
29889,
842,
29918,
4381,
29879,
29898,
9006,
29918,
9891,
29922,
15334,
29918,
8143,
29897,
13,
13,
1678,
6389,
353,
13812,
29889,
5510,
29918,
5085,
580,
13,
13,
1678,
565,
756,
5552,
29898,
5085,
29892,
376,
9006,
29918,
9891,
29908,
1125,
13,
4706,
6389,
29889,
9006,
29918,
9891,
29898,
5085,
29897,
13,
1678,
1683,
29901,
13,
4706,
6389,
29889,
9006,
29918,
8477,
580,
13,
13,
13,
361,
4770,
978,
1649,
1275,
376,
1649,
3396,
1649,
1115,
13,
1678,
1667,
580,
13,
2
] |
tests/functional/test_owsproxy_app.py | bird-house/twitcher | 13 | 177655 | """
Run tests OWSProxy tests with external WPS.
Please start `Emu WPS <https://emu.readthedocs.io/en/latest/>`_ on port 5000:
http://localhost:5000/wps
"""
import pytest
from .base import FunctionalTest
class OWSProxyAppTest(FunctionalTest):
def setUp(self):
super(OWSProxyAppTest, self).setUp()
self.init_database()
self.init_store()
self.config.include('twitcher.owsproxy')
self.app = self.test_app()
@pytest.mark.online
def test_getcaps(self):
resp = self.app.get('/ows/proxy/wps?service=wps&request=getcapabilities')
assert resp.status_code == 200
assert resp.content_type == 'text/xml'
resp.mustcontain('</wps:Capabilities>')
@pytest.mark.online
def test_describeprocess(self):
resp = self.app.get(
'/ows/proxy/wps?service=wps&request=describeprocess&version=1.0.0&identifier=dummyprocess')
assert resp.status_code == 200
assert resp.content_type == 'text/xml'
resp.mustcontain('</wps:ProcessDescriptions>')
@pytest.mark.online
def test_execute_allowed(self):
access_token = self.create_token()
url = "/ows/proxy/wps_secured?service=wps&request=execute&version=1.0.0&identifier=hello&DataInputs=name=tux&access_token={}".format(access_token) # noqa
resp = self.app.get(url)
assert resp.status_code == 200
assert resp.content_type == 'text/xml'
print(resp.body)
resp.mustcontain(
'<wps:ProcessSucceeded>PyWPS Process Say Hello finished</wps:ProcessSucceeded>')
| [
1,
9995,
13,
6558,
6987,
438,
7811,
14048,
6987,
411,
7029,
399,
7024,
29889,
13,
13,
12148,
1369,
421,
29923,
2589,
399,
7024,
529,
991,
597,
24425,
29889,
949,
386,
287,
12332,
29889,
601,
29914,
264,
29914,
12333,
3779,
29952,
29918,
373,
2011,
29871,
29945,
29900,
29900,
29900,
29901,
13,
13,
1124,
597,
7640,
29901,
29945,
29900,
29900,
29900,
29914,
29893,
567,
13,
15945,
29908,
13,
13,
5215,
11451,
1688,
13,
13,
3166,
869,
3188,
1053,
6680,
284,
3057,
13,
13,
13,
1990,
438,
7811,
14048,
2052,
3057,
29898,
6678,
284,
3057,
1125,
13,
13,
1678,
822,
731,
3373,
29898,
1311,
1125,
13,
4706,
2428,
29898,
29949,
7811,
14048,
2052,
3057,
29892,
1583,
467,
842,
3373,
580,
13,
4706,
1583,
29889,
2344,
29918,
9803,
580,
13,
4706,
1583,
29889,
2344,
29918,
8899,
580,
13,
13,
4706,
1583,
29889,
2917,
29889,
2856,
877,
7516,
2335,
261,
29889,
1242,
14701,
1495,
13,
4706,
1583,
29889,
932,
353,
1583,
29889,
1688,
29918,
932,
580,
13,
13,
1678,
732,
2272,
1688,
29889,
3502,
29889,
14627,
13,
1678,
822,
1243,
29918,
657,
29883,
2547,
29898,
1311,
1125,
13,
4706,
4613,
353,
1583,
29889,
932,
29889,
657,
11219,
1242,
29914,
14701,
29914,
29893,
567,
29973,
5509,
29922,
29893,
567,
29987,
3827,
29922,
657,
5030,
11614,
1495,
13,
4706,
4974,
4613,
29889,
4882,
29918,
401,
1275,
29871,
29906,
29900,
29900,
13,
4706,
4974,
4613,
29889,
3051,
29918,
1853,
1275,
525,
726,
29914,
3134,
29915,
13,
4706,
4613,
29889,
21969,
1285,
475,
877,
829,
29893,
567,
29901,
12415,
11614,
29958,
1495,
13,
13,
1678,
732,
2272,
1688,
29889,
3502,
29889,
14627,
13,
1678,
822,
1243,
29918,
2783,
29581,
5014,
29898,
1311,
1125,
13,
4706,
4613,
353,
1583,
29889,
932,
29889,
657,
29898,
13,
9651,
8207,
1242,
29914,
14701,
29914,
29893,
567,
29973,
5509,
29922,
29893,
567,
29987,
3827,
29922,
2783,
29581,
5014,
29987,
3259,
29922,
29896,
29889,
29900,
29889,
29900,
29987,
25378,
29922,
29881,
11770,
5014,
1495,
13,
4706,
4974,
4613,
29889,
4882,
29918,
401,
1275,
29871,
29906,
29900,
29900,
13,
4706,
4974,
4613,
29889,
3051,
29918,
1853,
1275,
525,
726,
29914,
3134,
29915,
13,
4706,
4613,
29889,
21969,
1285,
475,
877,
829,
29893,
567,
29901,
7032,
4002,
699,
1980,
29958,
1495,
13,
13,
1678,
732,
2272,
1688,
29889,
3502,
29889,
14627,
13,
1678,
822,
1243,
29918,
7978,
29918,
24622,
29898,
1311,
1125,
13,
4706,
2130,
29918,
6979,
353,
1583,
29889,
3258,
29918,
6979,
580,
13,
4706,
3142,
353,
5591,
1242,
29914,
14701,
29914,
29893,
567,
29918,
3471,
2955,
29973,
5509,
29922,
29893,
567,
29987,
3827,
29922,
7978,
29987,
3259,
29922,
29896,
29889,
29900,
29889,
29900,
29987,
25378,
29922,
12199,
29987,
1469,
4290,
29879,
29922,
978,
29922,
29873,
1314,
29987,
5943,
29918,
6979,
3790,
29913,
1642,
4830,
29898,
5943,
29918,
6979,
29897,
29871,
396,
694,
25621,
13,
4706,
4613,
353,
1583,
29889,
932,
29889,
657,
29898,
2271,
29897,
13,
4706,
4974,
4613,
29889,
4882,
29918,
401,
1275,
29871,
29906,
29900,
29900,
13,
4706,
4974,
4613,
29889,
3051,
29918,
1853,
1275,
525,
726,
29914,
3134,
29915,
13,
4706,
1596,
29898,
13713,
29889,
2587,
29897,
13,
4706,
4613,
29889,
21969,
1285,
475,
29898,
13,
9651,
12801,
29893,
567,
29901,
7032,
29903,
1682,
3947,
287,
29958,
19737,
29956,
7024,
10554,
14891,
15043,
7743,
829,
29893,
567,
29901,
7032,
29903,
1682,
3947,
287,
29958,
1495,
13,
2
] |
backend/ohq/permissions.py | pennlabs/office-hours-queue | 8 | 152144 | from django.db.models import Q
from rest_framework import permissions
from ohq.models import Course, Membership, Question
# Hierarchy of permissions is usually:
# Professor > Head TA > TA > Student > User
# Anonymous Users can't do anything
# Note: everything other than IsSuperuser and CoursePermission is
# scoped to a specific course.
class IsSuperuser(permissions.BasePermission):
"""
Grants permission if the current user is a superuser.
"""
def has_object_permission(self, request, view, obj):
return request.user.is_authenticated and request.user.is_superuser
def has_permission(self, request, view):
return request.user.is_authenticated and request.user.is_superuser
class CoursePermission(permissions.BasePermission):
"""
Anyone can get or list courses.
Only head TAs or professors should be able to modify a course.
Current Head TAs+ or faculty members can create courses.
No one can delete courses.
"""
def has_object_permission(self, request, view, obj):
# Anyone can get a single course
if view.action == "retrieve":
return True
membership = Membership.objects.filter(course=obj, user=request.user).first()
# Non members can't do anything other than retrieve a course
if membership is None:
return False
# No one can delete a course
if view.action == "destroy":
return False
# Course leadership can make changes
if view.action in ["update", "partial_update"]:
return membership.is_leadership and not obj.archived
def has_permission(self, request, view):
# Anonymous users can't do anything
if not request.user.is_authenticated:
return False
# Members can list courses
if view.action == "list":
return True
if view.action == "create":
return (
request.user.groups.filter(name="platform_faculty").exists()
or Membership.objects.filter(
user=request.user, kind=Membership.KIND_HEAD_TA
).exists()
or Membership.objects.filter(
user=request.user, kind=Membership.KIND_PROFESSOR
).exists()
)
return True
class QueuePermission(permissions.BasePermission):
"""
TAs+ should be able to modify a course.
Only head TAs or professors can create or delete queues.
Students+ can get or list queues
"""
def has_object_permission(self, request, view, obj):
membership = Membership.objects.get(course=view.kwargs["course_pk"], user=request.user)
# Students+ can get a single queue
if view.action == "retrieve":
return True
# TAs+ can make changes
if view.action in ["update", "partial_update", "clear"]:
return membership.is_ta and not obj.archived
# Head TAs+ can create or delete a queue
if view.action == "destroy":
return membership.is_leadership
def has_permission(self, request, view):
# Anonymous users can't do anything
if not request.user.is_authenticated:
return False
membership = Membership.objects.filter(
course=view.kwargs["course_pk"], user=request.user
).first()
# Non-Students can't do anything
if membership is None:
return False
# TAs+ can make changes
if view.action in ["update", "partial_update"]:
return membership.is_ta
# Head TAs+ can create or delete a queue
if view.action == "create":
return membership.is_leadership
return True
class QuestionPermission(permissions.BasePermission):
"""
Students can create questions
Students can get, list, or modify their own questions.
TAs+ can list questions and modify any question.
No one can delete questions.
"""
def has_object_permission(self, request, view, obj):
membership = Membership.objects.get(course=view.kwargs["course_pk"], user=request.user)
# Students can get or modify their own question
# TAs+ can get or modify any questions
if view.action in ["retrieve", "update", "partial_update", "position"]:
return obj.asked_by == request.user or membership.is_ta
def has_permission(self, request, view):
# Anonymous users can't do anything
if not request.user.is_authenticated:
return False
membership = Membership.objects.filter(
course=view.kwargs["course_pk"], user=request.user
).first()
# Non-Students can't do anything
if membership is None:
return False
# No one can delete questions
if view.action == "destroy":
return False
# Students can view their last asked question:
if view.action in ["last", "quota_count"]:
return membership.kind == Membership.KIND_STUDENT
# Students can only create 1 question per queue
if view.action == "create":
existing_question = Question.objects.filter(
Q(queue=view.kwargs["queue_pk"])
& Q(asked_by=request.user)
& (Q(status=Question.STATUS_ASKED) | Q(status=Question.STATUS_ACTIVE))
).first()
return membership.kind == Membership.KIND_STUDENT and existing_question is None
# Students+ can get, list, or modify questions
# With restrictions defined in has_object_permission
return True
class QuestionSearchPermission(permissions.BasePermission):
"""
TAs+ can list questions.
"""
def has_permission(self, request, view):
# Anonymous users can't do anything
if not request.user.is_authenticated:
return False
membership = Membership.objects.filter(
course=view.kwargs["course_pk"], user=request.user
).first()
# Non-Students can't do anything
if membership is None:
return False
# TAs+ can list questions
return membership.is_ta
class MembershipPermission(permissions.BasePermission):
"""
Students can get their own membership.
TAs+ can list memberships.
Users can create a Student membership with open courses.
Head TAs+ can modify and delete memberships.
Students can delete their own memberships.
"""
def has_object_permission(self, request, view, obj):
membership = Membership.objects.get(course=view.kwargs["course_pk"], user=request.user)
# Students can get their own memberships
# TAs+ can get any memberships
if view.action == "retrieve":
return obj.user == request.user or membership.is_ta
# Students can delete their own memberships
# Head TAs+ can delete any memberships
# TODO: make sure Head TAs+ can't delete professors
# and professors can't delete themselves
if view.action == "destroy":
return obj.user == request.user or membership.is_leadership
# Head TAs+ can modify any membership
# TODO: make sure Head TAs+ can't delete professors
# and professors can't delete themselves
if view.action in ["update", "partial_update"]:
return membership.is_leadership
def has_permission(self, request, view):
# Anonymous users can't do anything
if not request.user.is_authenticated:
return False
membership = Membership.objects.filter(
course=view.kwargs["course_pk"], user=request.user
).first()
# No one can create a membership
if view.action == "create":
course = Course.objects.get(id=view.kwargs["course_pk"])
return membership is None and not course.invite_only
# Non-Students can't do anything besides create a membership
if membership is None:
return False
# Students+ can get, modify, and delete memberships
# can list memberships of leaders.
# With restrictions defined in has_object_permission
return True
class MembershipInvitePermission(permissions.BasePermission):
"""
TAs+ can get and list membership invites.
Head TAs+ can create, modify, and delete memberships.
"""
def has_object_permission(self, request, view, obj):
membership = Membership.objects.get(course=view.kwargs["course_pk"], user=request.user)
# TAs+ can get any membership invite
if view.action == "retrieve":
return membership.is_ta
# Head TAs+ can modify or delete any memberships
if view.action in ["destroy", "update", "partial_update"]:
return membership.is_leadership
def has_permission(self, request, view):
# Anonymous users can't do anything
if not request.user.is_authenticated:
return False
membership = Membership.objects.filter(
course=view.kwargs["course_pk"], user=request.user
).first()
# Non-Students can't do anything
if membership is None:
return False
# Head TAs+ can create membership invites
if view.action == "create":
return membership.is_leadership
# TAs+ can list membership invites
if view.action == "list":
return membership.is_ta
# TAs+ can get, modify, and delete memberships
# With restrictions defined in has_object_permission
return membership.is_ta
class MassInvitePermission(permissions.BasePermission):
"""
Head TAs+ can create mass membership invites.
"""
def has_permission(self, request, view):
# Anonymous users can't do anything
if not request.user.is_authenticated:
return False
membership = Membership.objects.filter(
course=view.kwargs["course_pk"], user=request.user
).first()
# Non-Students can't do anything
if membership is None:
return False
return membership.is_leadership
class QueueStatisticPermission(permissions.BasePermission):
"""
Students+ can access queue related statistics
"""
def has_permission(self, request, view):
# Anonymous users can't do anything
if not request.user.is_authenticated:
return False
membership = Membership.objects.filter(
course=view.kwargs["course_pk"], user=request.user
).first()
# anyone who is a member of the class can see queue related statistics
return membership is not None
class AnnouncementPermission(permissions.BasePermission):
"""
TAs+ can create/update/delete announcements
Students can get/list announcements
"""
def has_permission(self, request, view):
# Anonymous users can't do anything
if not request.user.is_authenticated:
return False
membership = Membership.objects.filter(
course=view.kwargs["course_pk"], user=request.user
).first()
# Non-Students can't do anything
if membership is None:
return False
# Students+ can get/list announcements
if view.action in ["list", "retrieve"]:
return True
# TAs+ can create, modify, and delete announcements
return membership.is_ta
class TagPermission(permissions.BasePermission):
"""
Head TAs+ should be able to create, modify and delete a tag.
Students+ can get or list tags.
"""
def has_object_permission(self, request, view, obj):
membership = Membership.objects.get(course=view.kwargs["course_pk"], user=request.user)
# Students+ can get a single tag
if view.action == "retrieve":
return True
# Head TAs+ can make changes
if view.action in ["destroy", "partial_update", "update"]:
return membership.is_leadership
def has_permission(self, request, view):
# Anonymous users can't do anything
if not request.user.is_authenticated:
return False
membership = Membership.objects.filter(
course=view.kwargs["course_pk"], user=request.user
).first()
# Non-Students can't do anything
if membership is None:
return False
if view.action in ["list", "retrieve"]:
return True
# Head TAs+ can make changes
if view.action in ["create", "destroy", "update", "partial_update"]:
return membership.is_leadership
| [
1,
515,
9557,
29889,
2585,
29889,
9794,
1053,
660,
13,
3166,
1791,
29918,
4468,
1053,
11239,
13,
13,
3166,
9360,
29939,
29889,
9794,
1053,
6325,
344,
29892,
341,
1590,
10475,
29892,
894,
13,
13,
13,
29937,
12433,
12040,
310,
11239,
338,
5491,
29901,
13,
29937,
11386,
1405,
12252,
323,
29909,
1405,
323,
29909,
1405,
15740,
1405,
4911,
13,
29937,
530,
11428,
23861,
508,
29915,
29873,
437,
3099,
13,
29937,
3940,
29901,
4129,
916,
1135,
1317,
19111,
1792,
322,
6325,
344,
27293,
338,
13,
29937,
16505,
287,
304,
263,
2702,
3236,
29889,
13,
13,
13,
1990,
1317,
19111,
1792,
29898,
17858,
6847,
29889,
5160,
27293,
1125,
13,
1678,
9995,
13,
1678,
1632,
1934,
10751,
565,
278,
1857,
1404,
338,
263,
2428,
1792,
29889,
13,
1678,
9995,
13,
13,
1678,
822,
756,
29918,
3318,
29918,
16074,
29898,
1311,
29892,
2009,
29892,
1776,
29892,
5446,
1125,
13,
4706,
736,
2009,
29889,
1792,
29889,
275,
29918,
27218,
630,
322,
2009,
29889,
1792,
29889,
275,
29918,
9136,
1792,
13,
13,
1678,
822,
756,
29918,
16074,
29898,
1311,
29892,
2009,
29892,
1776,
1125,
13,
4706,
736,
2009,
29889,
1792,
29889,
275,
29918,
27218,
630,
322,
2009,
29889,
1792,
29889,
275,
29918,
9136,
1792,
13,
13,
13,
1990,
6325,
344,
27293,
29898,
17858,
6847,
29889,
5160,
27293,
1125,
13,
1678,
9995,
13,
1678,
26407,
508,
679,
470,
1051,
21888,
29889,
13,
1678,
9333,
2343,
323,
2887,
470,
25718,
943,
881,
367,
2221,
304,
6623,
263,
3236,
29889,
13,
1678,
9626,
12252,
323,
2887,
29974,
470,
4024,
18857,
5144,
508,
1653,
21888,
29889,
13,
1678,
1939,
697,
508,
5217,
21888,
29889,
13,
1678,
9995,
13,
13,
1678,
822,
756,
29918,
3318,
29918,
16074,
29898,
1311,
29892,
2009,
29892,
1776,
29892,
5446,
1125,
13,
4706,
396,
26407,
508,
679,
263,
2323,
3236,
13,
4706,
565,
1776,
29889,
2467,
1275,
376,
276,
509,
2418,
1115,
13,
9651,
736,
5852,
13,
13,
4706,
28512,
353,
341,
1590,
10475,
29889,
12650,
29889,
4572,
29898,
15775,
29922,
5415,
29892,
1404,
29922,
3827,
29889,
1792,
467,
4102,
580,
13,
13,
4706,
396,
10050,
5144,
508,
29915,
29873,
437,
3099,
916,
1135,
10563,
263,
3236,
13,
4706,
565,
28512,
338,
6213,
29901,
13,
9651,
736,
7700,
13,
13,
4706,
396,
1939,
697,
508,
5217,
263,
3236,
13,
4706,
565,
1776,
29889,
2467,
1275,
376,
20524,
1115,
13,
9651,
736,
7700,
13,
13,
4706,
396,
6325,
344,
26001,
508,
1207,
3620,
13,
4706,
565,
1776,
29889,
2467,
297,
6796,
5504,
613,
376,
3846,
29918,
5504,
3108,
29901,
13,
9651,
736,
28512,
29889,
275,
29918,
280,
328,
10475,
322,
451,
5446,
29889,
1279,
2347,
13,
13,
1678,
822,
756,
29918,
16074,
29898,
1311,
29892,
2009,
29892,
1776,
1125,
13,
4706,
396,
530,
11428,
4160,
508,
29915,
29873,
437,
3099,
13,
4706,
565,
451,
2009,
29889,
1792,
29889,
275,
29918,
27218,
630,
29901,
13,
9651,
736,
7700,
13,
13,
4706,
396,
341,
13415,
508,
1051,
21888,
13,
4706,
565,
1776,
29889,
2467,
1275,
376,
1761,
1115,
13,
9651,
736,
5852,
13,
13,
4706,
565,
1776,
29889,
2467,
1275,
376,
3258,
1115,
13,
9651,
736,
313,
13,
18884,
2009,
29889,
1792,
29889,
13155,
29889,
4572,
29898,
978,
543,
12120,
29918,
17470,
18857,
2564,
9933,
580,
13,
18884,
470,
341,
1590,
10475,
29889,
12650,
29889,
4572,
29898,
13,
462,
1678,
1404,
29922,
3827,
29889,
1792,
29892,
2924,
29922,
29924,
1590,
10475,
29889,
29968,
22255,
29918,
23252,
29918,
6040,
13,
18884,
13742,
9933,
580,
13,
18884,
470,
341,
1590,
10475,
29889,
12650,
29889,
4572,
29898,
13,
462,
1678,
1404,
29922,
3827,
29889,
1792,
29892,
2924,
29922,
29924,
1590,
10475,
29889,
29968,
22255,
29918,
8618,
16359,
1799,
1955,
13,
18884,
13742,
9933,
580,
13,
9651,
1723,
13,
13,
4706,
736,
5852,
13,
13,
13,
1990,
5462,
434,
27293,
29898,
17858,
6847,
29889,
5160,
27293,
1125,
13,
1678,
9995,
13,
1678,
323,
2887,
29974,
881,
367,
2221,
304,
6623,
263,
3236,
29889,
13,
1678,
9333,
2343,
323,
2887,
470,
25718,
943,
508,
1653,
470,
5217,
712,
1041,
29889,
13,
1678,
5088,
1237,
29974,
508,
679,
470,
1051,
712,
1041,
13,
1678,
9995,
13,
13,
1678,
822,
756,
29918,
3318,
29918,
16074,
29898,
1311,
29892,
2009,
29892,
1776,
29892,
5446,
1125,
13,
4706,
28512,
353,
341,
1590,
10475,
29889,
12650,
29889,
657,
29898,
15775,
29922,
1493,
29889,
19290,
3366,
15775,
29918,
20571,
12436,
1404,
29922,
3827,
29889,
1792,
29897,
13,
13,
4706,
396,
5088,
1237,
29974,
508,
679,
263,
2323,
9521,
13,
4706,
565,
1776,
29889,
2467,
1275,
376,
276,
509,
2418,
1115,
13,
9651,
736,
5852,
13,
13,
4706,
396,
323,
2887,
29974,
508,
1207,
3620,
13,
4706,
565,
1776,
29889,
2467,
297,
6796,
5504,
613,
376,
3846,
29918,
5504,
613,
376,
8551,
3108,
29901,
13,
9651,
736,
28512,
29889,
275,
29918,
941,
322,
451,
5446,
29889,
1279,
2347,
13,
13,
4706,
396,
12252,
323,
2887,
29974,
508,
1653,
470,
5217,
263,
9521,
13,
4706,
565,
1776,
29889,
2467,
1275,
376,
20524,
1115,
13,
9651,
736,
28512,
29889,
275,
29918,
280,
328,
10475,
13,
13,
1678,
822,
756,
29918,
16074,
29898,
1311,
29892,
2009,
29892,
1776,
1125,
13,
4706,
396,
530,
11428,
4160,
508,
29915,
29873,
437,
3099,
13,
4706,
565,
451,
2009,
29889,
1792,
29889,
275,
29918,
27218,
630,
29901,
13,
9651,
736,
7700,
13,
13,
4706,
28512,
353,
341,
1590,
10475,
29889,
12650,
29889,
4572,
29898,
13,
9651,
3236,
29922,
1493,
29889,
19290,
3366,
15775,
29918,
20571,
12436,
1404,
29922,
3827,
29889,
1792,
13,
4706,
13742,
4102,
580,
13,
13,
4706,
396,
10050,
29899,
855,
566,
1237,
508,
29915,
29873,
437,
3099,
13,
4706,
565,
28512,
338,
6213,
29901,
13,
9651,
736,
7700,
13,
13,
4706,
396,
323,
2887,
29974,
508,
1207,
3620,
13,
4706,
565,
1776,
29889,
2467,
297,
6796,
5504,
613,
376,
3846,
29918,
5504,
3108,
29901,
13,
9651,
736,
28512,
29889,
275,
29918,
941,
13,
13,
4706,
396,
12252,
323,
2887,
29974,
508,
1653,
470,
5217,
263,
9521,
13,
4706,
565,
1776,
29889,
2467,
1275,
376,
3258,
1115,
13,
9651,
736,
28512,
29889,
275,
29918,
280,
328,
10475,
13,
13,
4706,
736,
5852,
13,
13,
13,
1990,
894,
27293,
29898,
17858,
6847,
29889,
5160,
27293,
1125,
13,
1678,
9995,
13,
1678,
5088,
1237,
508,
1653,
5155,
13,
1678,
5088,
1237,
508,
679,
29892,
1051,
29892,
470,
6623,
1009,
1914,
5155,
29889,
13,
1678,
323,
2887,
29974,
508,
1051,
5155,
322,
6623,
738,
1139,
29889,
13,
1678,
1939,
697,
508,
5217,
5155,
29889,
13,
1678,
9995,
13,
13,
1678,
822,
756,
29918,
3318,
29918,
16074,
29898,
1311,
29892,
2009,
29892,
1776,
29892,
5446,
1125,
13,
4706,
28512,
353,
341,
1590,
10475,
29889,
12650,
29889,
657,
29898,
15775,
29922,
1493,
29889,
19290,
3366,
15775,
29918,
20571,
12436,
1404,
29922,
3827,
29889,
1792,
29897,
13,
13,
4706,
396,
5088,
1237,
508,
679,
470,
6623,
1009,
1914,
1139,
13,
4706,
396,
323,
2887,
29974,
508,
679,
470,
6623,
738,
5155,
13,
4706,
565,
1776,
29889,
2467,
297,
6796,
276,
509,
2418,
613,
376,
5504,
613,
376,
3846,
29918,
5504,
613,
376,
3283,
3108,
29901,
13,
9651,
736,
5446,
29889,
1278,
287,
29918,
1609,
1275,
2009,
29889,
1792,
470,
28512,
29889,
275,
29918,
941,
13,
13,
1678,
822,
756,
29918,
16074,
29898,
1311,
29892,
2009,
29892,
1776,
1125,
13,
4706,
396,
530,
11428,
4160,
508,
29915,
29873,
437,
3099,
13,
4706,
565,
451,
2009,
29889,
1792,
29889,
275,
29918,
27218,
630,
29901,
13,
9651,
736,
7700,
13,
13,
4706,
28512,
353,
341,
1590,
10475,
29889,
12650,
29889,
4572,
29898,
13,
9651,
3236,
29922,
1493,
29889,
19290,
3366,
15775,
29918,
20571,
12436,
1404,
29922,
3827,
29889,
1792,
13,
4706,
13742,
4102,
580,
13,
13,
4706,
396,
10050,
29899,
855,
566,
1237,
508,
29915,
29873,
437,
3099,
13,
4706,
565,
28512,
338,
6213,
29901,
13,
9651,
736,
7700,
13,
13,
4706,
396,
1939,
697,
508,
5217,
5155,
13,
4706,
565,
1776,
29889,
2467,
1275,
376,
20524,
1115,
13,
9651,
736,
7700,
13,
13,
4706,
396,
5088,
1237,
508,
1776,
1009,
1833,
4433,
1139,
29901,
13,
4706,
565,
1776,
29889,
2467,
297,
6796,
4230,
613,
376,
339,
4616,
29918,
2798,
3108,
29901,
13,
9651,
736,
28512,
29889,
14380,
1275,
341,
1590,
10475,
29889,
29968,
22255,
29918,
1254,
15789,
3919,
13,
13,
4706,
396,
5088,
1237,
508,
871,
1653,
29871,
29896,
1139,
639,
9521,
13,
4706,
565,
1776,
29889,
2467,
1275,
376,
3258,
1115,
13,
9651,
5923,
29918,
12470,
353,
894,
29889,
12650,
29889,
4572,
29898,
13,
18884,
660,
29898,
9990,
29922,
1493,
29889,
19290,
3366,
9990,
29918,
20571,
20068,
13,
18884,
669,
660,
29898,
1278,
287,
29918,
1609,
29922,
3827,
29889,
1792,
29897,
13,
18884,
669,
313,
29984,
29898,
4882,
29922,
16492,
29889,
27047,
29918,
3289,
29968,
3352,
29897,
891,
660,
29898,
4882,
29922,
16492,
29889,
27047,
29918,
17923,
18474,
876,
13,
9651,
13742,
4102,
580,
13,
13,
9651,
736,
28512,
29889,
14380,
1275,
341,
1590,
10475,
29889,
29968,
22255,
29918,
1254,
15789,
3919,
322,
5923,
29918,
12470,
338,
6213,
13,
13,
4706,
396,
5088,
1237,
29974,
508,
679,
29892,
1051,
29892,
470,
6623,
5155,
13,
4706,
396,
2973,
25091,
3342,
297,
756,
29918,
3318,
29918,
16074,
13,
4706,
736,
5852,
13,
13,
13,
1990,
894,
7974,
27293,
29898,
17858,
6847,
29889,
5160,
27293,
1125,
13,
1678,
9995,
13,
1678,
323,
2887,
29974,
508,
1051,
5155,
29889,
13,
1678,
9995,
13,
13,
1678,
822,
756,
29918,
16074,
29898,
1311,
29892,
2009,
29892,
1776,
1125,
13,
4706,
396,
530,
11428,
4160,
508,
29915,
29873,
437,
3099,
13,
4706,
565,
451,
2009,
29889,
1792,
29889,
275,
29918,
27218,
630,
29901,
13,
9651,
736,
7700,
13,
13,
4706,
28512,
353,
341,
1590,
10475,
29889,
12650,
29889,
4572,
29898,
13,
9651,
3236,
29922,
1493,
29889,
19290,
3366,
15775,
29918,
20571,
12436,
1404,
29922,
3827,
29889,
1792,
13,
4706,
13742,
4102,
580,
13,
13,
4706,
396,
10050,
29899,
855,
566,
1237,
508,
29915,
29873,
437,
3099,
13,
4706,
565,
28512,
338,
6213,
29901,
13,
9651,
736,
7700,
13,
13,
4706,
396,
323,
2887,
29974,
508,
1051,
5155,
13,
4706,
736,
28512,
29889,
275,
29918,
941,
13,
13,
13,
1990,
341,
1590,
10475,
27293,
29898,
17858,
6847,
29889,
5160,
27293,
1125,
13,
1678,
9995,
13,
1678,
5088,
1237,
508,
679,
1009,
1914,
28512,
29889,
13,
1678,
323,
2887,
29974,
508,
1051,
5144,
14587,
29889,
13,
1678,
23861,
508,
1653,
263,
15740,
28512,
411,
1722,
21888,
29889,
13,
1678,
12252,
323,
2887,
29974,
508,
6623,
322,
5217,
5144,
14587,
29889,
13,
1678,
5088,
1237,
508,
5217,
1009,
1914,
5144,
14587,
29889,
13,
1678,
9995,
13,
13,
1678,
822,
756,
29918,
3318,
29918,
16074,
29898,
1311,
29892,
2009,
29892,
1776,
29892,
5446,
1125,
13,
4706,
28512,
353,
341,
1590,
10475,
29889,
12650,
29889,
657,
29898,
15775,
29922,
1493,
29889,
19290,
3366,
15775,
29918,
20571,
12436,
1404,
29922,
3827,
29889,
1792,
29897,
13,
13,
4706,
396,
5088,
1237,
508,
679,
1009,
1914,
5144,
14587,
13,
4706,
396,
323,
2887,
29974,
508,
679,
738,
5144,
14587,
13,
4706,
565,
1776,
29889,
2467,
1275,
376,
276,
509,
2418,
1115,
13,
9651,
736,
5446,
29889,
1792,
1275,
2009,
29889,
1792,
470,
28512,
29889,
275,
29918,
941,
13,
13,
4706,
396,
5088,
1237,
508,
5217,
1009,
1914,
5144,
14587,
13,
4706,
396,
12252,
323,
2887,
29974,
508,
5217,
738,
5144,
14587,
13,
4706,
396,
14402,
29901,
1207,
1854,
12252,
323,
2887,
29974,
508,
29915,
29873,
5217,
25718,
943,
13,
4706,
396,
322,
25718,
943,
508,
29915,
29873,
5217,
6053,
13,
4706,
565,
1776,
29889,
2467,
1275,
376,
20524,
1115,
13,
9651,
736,
5446,
29889,
1792,
1275,
2009,
29889,
1792,
470,
28512,
29889,
275,
29918,
280,
328,
10475,
13,
13,
4706,
396,
12252,
323,
2887,
29974,
508,
6623,
738,
28512,
13,
4706,
396,
14402,
29901,
1207,
1854,
12252,
323,
2887,
29974,
508,
29915,
29873,
5217,
25718,
943,
13,
4706,
396,
322,
25718,
943,
508,
29915,
29873,
5217,
6053,
13,
4706,
565,
1776,
29889,
2467,
297,
6796,
5504,
613,
376,
3846,
29918,
5504,
3108,
29901,
13,
9651,
736,
28512,
29889,
275,
29918,
280,
328,
10475,
13,
13,
1678,
822,
756,
29918,
16074,
29898,
1311,
29892,
2009,
29892,
1776,
1125,
13,
4706,
396,
530,
11428,
4160,
508,
29915,
29873,
437,
3099,
13,
4706,
565,
451,
2009,
29889,
1792,
29889,
275,
29918,
27218,
630,
29901,
13,
9651,
736,
7700,
13,
13,
4706,
28512,
353,
341,
1590,
10475,
29889,
12650,
29889,
4572,
29898,
13,
9651,
3236,
29922,
1493,
29889,
19290,
3366,
15775,
29918,
20571,
12436,
1404,
29922,
3827,
29889,
1792,
13,
4706,
13742,
4102,
580,
13,
13,
4706,
396,
1939,
697,
508,
1653,
263,
28512,
13,
4706,
565,
1776,
29889,
2467,
1275,
376,
3258,
1115,
13,
9651,
3236,
353,
6325,
344,
29889,
12650,
29889,
657,
29898,
333,
29922,
1493,
29889,
19290,
3366,
15775,
29918,
20571,
20068,
13,
9651,
736,
28512,
338,
6213,
322,
451,
3236,
29889,
11569,
568,
29918,
6194,
13,
13,
4706,
396,
10050,
29899,
855,
566,
1237,
508,
29915,
29873,
437,
3099,
18034,
1653,
263,
28512,
13,
4706,
565,
28512,
338,
6213,
29901,
13,
9651,
736,
7700,
13,
13,
4706,
396,
5088,
1237,
29974,
508,
679,
29892,
6623,
29892,
322,
5217,
5144,
14587,
13,
4706,
396,
508,
1051,
5144,
14587,
310,
20251,
29889,
13,
4706,
396,
2973,
25091,
3342,
297,
756,
29918,
3318,
29918,
16074,
13,
4706,
736,
5852,
13,
13,
13,
1990,
341,
1590,
10475,
12165,
568,
27293,
29898,
17858,
6847,
29889,
5160,
27293,
1125,
13,
1678,
9995,
13,
1678,
323,
2887,
29974,
508,
679,
322,
1051,
28512,
2437,
3246,
29889,
13,
1678,
12252,
323,
2887,
29974,
508,
1653,
29892,
6623,
29892,
322,
5217,
5144,
14587,
29889,
13,
1678,
9995,
13,
13,
1678,
822,
756,
29918,
3318,
29918,
16074,
29898,
1311,
29892,
2009,
29892,
1776,
29892,
5446,
1125,
13,
4706,
28512,
353,
341,
1590,
10475,
29889,
12650,
29889,
657,
29898,
15775,
29922,
1493,
29889,
19290,
3366,
15775,
29918,
20571,
12436,
1404,
29922,
3827,
29889,
1792,
29897,
13,
13,
4706,
396,
323,
2887,
29974,
508,
679,
738,
28512,
2437,
568,
13,
4706,
565,
1776,
29889,
2467,
1275,
376,
276,
509,
2418,
1115,
13,
9651,
736,
28512,
29889,
275,
29918,
941,
13,
13,
4706,
396,
12252,
323,
2887,
29974,
508,
6623,
470,
5217,
738,
5144,
14587,
13,
4706,
565,
1776,
29889,
2467,
297,
6796,
20524,
613,
376,
5504,
613,
376,
3846,
29918,
5504,
3108,
29901,
13,
9651,
736,
28512,
29889,
275,
29918,
280,
328,
10475,
13,
13,
1678,
822,
756,
29918,
16074,
29898,
1311,
29892,
2009,
29892,
1776,
1125,
13,
4706,
396,
530,
11428,
4160,
508,
29915,
29873,
437,
3099,
13,
4706,
565,
451,
2009,
29889,
1792,
29889,
275,
29918,
27218,
630,
29901,
13,
9651,
736,
7700,
13,
13,
4706,
28512,
353,
341,
1590,
10475,
29889,
12650,
29889,
4572,
29898,
13,
9651,
3236,
29922,
1493,
29889,
19290,
3366,
15775,
29918,
20571,
12436,
1404,
29922,
3827,
29889,
1792,
13,
4706,
13742,
4102,
580,
13,
13,
4706,
396,
10050,
29899,
855,
566,
1237,
508,
29915,
29873,
437,
3099,
13,
4706,
565,
28512,
338,
6213,
29901,
13,
9651,
736,
7700,
13,
13,
4706,
396,
12252,
323,
2887,
29974,
508,
1653,
28512,
2437,
3246,
13,
4706,
565,
1776,
29889,
2467,
1275,
376,
3258,
1115,
13,
9651,
736,
28512,
29889,
275,
29918,
280,
328,
10475,
13,
13,
4706,
396,
323,
2887,
29974,
508,
1051,
28512,
2437,
3246,
13,
4706,
565,
1776,
29889,
2467,
1275,
376,
1761,
1115,
13,
9651,
736,
28512,
29889,
275,
29918,
941,
13,
13,
4706,
396,
323,
2887,
29974,
508,
679,
29892,
6623,
29892,
322,
5217,
5144,
14587,
13,
4706,
396,
2973,
25091,
3342,
297,
756,
29918,
3318,
29918,
16074,
13,
4706,
736,
28512,
29889,
275,
29918,
941,
13,
13,
13,
1990,
7360,
12165,
568,
27293,
29898,
17858,
6847,
29889,
5160,
27293,
1125,
13,
1678,
9995,
13,
1678,
12252,
323,
2887,
29974,
508,
1653,
4158,
28512,
2437,
3246,
29889,
13,
1678,
9995,
13,
13,
1678,
822,
756,
29918,
16074,
29898,
1311,
29892,
2009,
29892,
1776,
1125,
13,
4706,
396,
530,
11428,
4160,
508,
29915,
29873,
437,
3099,
13,
4706,
565,
451,
2009,
29889,
1792,
29889,
275,
29918,
27218,
630,
29901,
13,
9651,
736,
7700,
13,
13,
4706,
28512,
353,
341,
1590,
10475,
29889,
12650,
29889,
4572,
29898,
13,
9651,
3236,
29922,
1493,
29889,
19290,
3366,
15775,
29918,
20571,
12436,
1404,
29922,
3827,
29889,
1792,
13,
4706,
13742,
4102,
580,
13,
13,
4706,
396,
10050,
29899,
855,
566,
1237,
508,
29915,
29873,
437,
3099,
13,
4706,
565,
28512,
338,
6213,
29901,
13,
9651,
736,
7700,
13,
13,
4706,
736,
28512,
29889,
275,
29918,
280,
328,
10475,
13,
13,
13,
1990,
5462,
434,
9513,
4695,
27293,
29898,
17858,
6847,
29889,
5160,
27293,
1125,
13,
1678,
9995,
13,
1678,
5088,
1237,
29974,
508,
2130,
9521,
4475,
13964,
13,
1678,
9995,
13,
13,
1678,
822,
756,
29918,
16074,
29898,
1311,
29892,
2009,
29892,
1776,
1125,
13,
4706,
396,
530,
11428,
4160,
508,
29915,
29873,
437,
3099,
13,
4706,
565,
451,
2009,
29889,
1792,
29889,
275,
29918,
27218,
630,
29901,
13,
9651,
736,
7700,
13,
13,
4706,
28512,
353,
341,
1590,
10475,
29889,
12650,
29889,
4572,
29898,
13,
9651,
3236,
29922,
1493,
29889,
19290,
3366,
15775,
29918,
20571,
12436,
1404,
29922,
3827,
29889,
1792,
13,
4706,
13742,
4102,
580,
13,
13,
4706,
396,
5019,
1058,
338,
263,
4509,
310,
278,
770,
508,
1074,
9521,
4475,
13964,
13,
4706,
736,
28512,
338,
451,
6213,
13,
13,
13,
1990,
8081,
1309,
13561,
27293,
29898,
17858,
6847,
29889,
5160,
27293,
1125,
13,
1678,
9995,
13,
1678,
323,
2887,
29974,
508,
1653,
29914,
5504,
29914,
8143,
7475,
29883,
4110,
13,
1678,
5088,
1237,
508,
679,
29914,
1761,
7475,
29883,
4110,
13,
1678,
9995,
13,
13,
1678,
822,
756,
29918,
16074,
29898,
1311,
29892,
2009,
29892,
1776,
1125,
13,
4706,
396,
530,
11428,
4160,
508,
29915,
29873,
437,
3099,
13,
4706,
565,
451,
2009,
29889,
1792,
29889,
275,
29918,
27218,
630,
29901,
13,
9651,
736,
7700,
13,
13,
4706,
28512,
353,
341,
1590,
10475,
29889,
12650,
29889,
4572,
29898,
13,
9651,
3236,
29922,
1493,
29889,
19290,
3366,
15775,
29918,
20571,
12436,
1404,
29922,
3827,
29889,
1792,
13,
4706,
13742,
4102,
580,
13,
13,
4706,
396,
10050,
29899,
855,
566,
1237,
508,
29915,
29873,
437,
3099,
13,
4706,
565,
28512,
338,
6213,
29901,
13,
9651,
736,
7700,
13,
13,
4706,
396,
5088,
1237,
29974,
508,
679,
29914,
1761,
7475,
29883,
4110,
13,
4706,
565,
1776,
29889,
2467,
297,
6796,
1761,
613,
376,
276,
509,
2418,
3108,
29901,
13,
9651,
736,
5852,
13,
13,
4706,
396,
323,
2887,
29974,
508,
1653,
29892,
6623,
29892,
322,
5217,
7475,
29883,
4110,
13,
4706,
736,
28512,
29889,
275,
29918,
941,
13,
13,
13,
1990,
10522,
27293,
29898,
17858,
6847,
29889,
5160,
27293,
1125,
13,
1678,
9995,
13,
1678,
12252,
323,
2887,
29974,
881,
367,
2221,
304,
1653,
29892,
6623,
322,
5217,
263,
4055,
29889,
13,
1678,
5088,
1237,
29974,
508,
679,
470,
1051,
8282,
29889,
13,
1678,
9995,
13,
13,
1678,
822,
756,
29918,
3318,
29918,
16074,
29898,
1311,
29892,
2009,
29892,
1776,
29892,
5446,
1125,
13,
4706,
28512,
353,
341,
1590,
10475,
29889,
12650,
29889,
657,
29898,
15775,
29922,
1493,
29889,
19290,
3366,
15775,
29918,
20571,
12436,
1404,
29922,
3827,
29889,
1792,
29897,
13,
13,
4706,
396,
5088,
1237,
29974,
508,
679,
263,
2323,
4055,
13,
4706,
565,
1776,
29889,
2467,
1275,
376,
276,
509,
2418,
1115,
13,
9651,
736,
5852,
13,
13,
4706,
396,
12252,
323,
2887,
29974,
508,
1207,
3620,
13,
4706,
565,
1776,
29889,
2467,
297,
6796,
20524,
613,
376,
3846,
29918,
5504,
613,
376,
5504,
3108,
29901,
13,
9651,
736,
28512,
29889,
275,
29918,
280,
328,
10475,
13,
13,
1678,
822,
756,
29918,
16074,
29898,
1311,
29892,
2009,
29892,
1776,
1125,
13,
4706,
396,
530,
11428,
4160,
508,
29915,
29873,
437,
3099,
13,
4706,
565,
451,
2009,
29889,
1792,
29889,
275,
29918,
27218,
630,
29901,
13,
9651,
736,
7700,
13,
13,
4706,
28512,
353,
341,
1590,
10475,
29889,
12650,
29889,
4572,
29898,
13,
9651,
3236,
29922,
1493,
29889,
19290,
3366,
15775,
29918,
20571,
12436,
1404,
29922,
3827,
29889,
1792,
13,
4706,
13742,
4102,
580,
13,
13,
4706,
396,
10050,
29899,
855,
566,
1237,
508,
29915,
29873,
437,
3099,
13,
4706,
565,
28512,
338,
6213,
29901,
13,
9651,
736,
7700,
13,
13,
4706,
565,
1776,
29889,
2467,
297,
6796,
1761,
613,
376,
276,
509,
2418,
3108,
29901,
13,
9651,
736,
5852,
13,
13,
4706,
396,
12252,
323,
2887,
29974,
508,
1207,
3620,
13,
4706,
565,
1776,
29889,
2467,
297,
6796,
3258,
613,
376,
20524,
613,
376,
5504,
613,
376,
3846,
29918,
5504,
3108,
29901,
13,
9651,
736,
28512,
29889,
275,
29918,
280,
328,
10475,
13,
2
] |
src/clcore.py | ShepardPower/PyMCBuilder | 1 | 9655 | <filename>src/clcore.py
# I'm just the one that executes the instructions!
import sys, math, json, operator, time
import mcpi.minecraft as minecraft
from PIL import Image as pillow
from blockid import get_block
import mcpi.block as block
import functions as pymc
from tqdm import tqdm
import tkinter as tk
# Functions
# Main code
mc = minecraft.Minecraft.create()
try:
json_file = open("blocks.json")
json_put = json.load(json_file)
except:
pymc.chat(mc, "blocks.json not found, exiting!", 0)
sys.exit(1)
try:
rim = pillow.open(sys.argv[1])
except:
pymc.chat(mc, "bad image, exiting!", 0)
sys.exit(1)
orders = []
used = []
imwid, imhei = rim.size
if imhei > 200:
maxheight = 200
rim.thumbnail((200, maxheight), pillow.ANTIALIAS)
imwid, imhei = rim.size
pymc.chat(mc, "image is over 200 pixels, reducing height.", 1)
rim.convert('RGB')
im = rim.load()
pbar = tqdm(total=imhei*imwid)
for hei in range(imhei):
for wid in range(imwid):
smal = pymc.comp_pixel((im[wid, hei][0], im[wid, hei][1], im[wid, hei][2]), json_put)
im[wid, hei] = smal[1]
used.append(str(smal[2]))
pbar.update(1)
pbar.close()
rim.save("result.GIF") # The result
json_file.close()
oldPos = mc.player.getPos()
playerPos = [round(oldPos.x), round(oldPos.y), round(oldPos.z)]
pymc.chat(mc, "Ready!")
pbar = tqdm(total=imhei*imwid)
num_temp = imhei*imwid-1
for hei in range(imhei):
for wid in range(imwid):
#print(used[wid + (imhei * hei)])
gblock = get_block(used[num_temp])
mc.setBlock(playerPos[0]+wid, playerPos[1]+hei, playerPos[2], gblock)
num_temp -= 1
pbar.update(1)
pbar.close()
pymc.chat(mc, "Done!!")
pymc.chat(mc, "Please star us on github if you like the result!", 2)
| [
1,
529,
9507,
29958,
4351,
29914,
695,
3221,
29889,
2272,
13,
29937,
306,
29915,
29885,
925,
278,
697,
393,
24138,
278,
11994,
29991,
13,
5215,
10876,
29892,
5844,
29892,
4390,
29892,
5455,
29892,
931,
13,
5215,
286,
29883,
1631,
29889,
24669,
17293,
408,
7903,
17293,
13,
3166,
349,
6227,
1053,
7084,
408,
22549,
340,
13,
3166,
2908,
333,
1053,
679,
29918,
1271,
13,
5215,
286,
29883,
1631,
29889,
1271,
408,
2908,
13,
5215,
3168,
408,
282,
962,
29883,
13,
3166,
260,
29939,
18933,
1053,
260,
29939,
18933,
13,
5215,
18883,
1639,
408,
18883,
13,
13,
29937,
6680,
29879,
13,
13,
29937,
4241,
775,
13,
14047,
353,
7903,
17293,
29889,
29924,
457,
17293,
29889,
3258,
580,
13,
2202,
29901,
13,
1678,
4390,
29918,
1445,
353,
1722,
703,
1271,
29879,
29889,
3126,
1159,
13,
1678,
4390,
29918,
649,
353,
4390,
29889,
1359,
29898,
3126,
29918,
1445,
29897,
13,
19499,
29901,
13,
1678,
282,
962,
29883,
29889,
13496,
29898,
14047,
29892,
376,
1271,
29879,
29889,
3126,
451,
1476,
29892,
6876,
292,
29991,
613,
29871,
29900,
29897,
13,
1678,
10876,
29889,
13322,
29898,
29896,
29897,
13,
2202,
29901,
13,
1678,
12726,
353,
22549,
340,
29889,
3150,
29898,
9675,
29889,
19218,
29961,
29896,
2314,
13,
19499,
29901,
13,
1678,
282,
962,
29883,
29889,
13496,
29898,
14047,
29892,
376,
12313,
1967,
29892,
6876,
292,
29991,
613,
29871,
29900,
29897,
13,
1678,
10876,
29889,
13322,
29898,
29896,
29897,
13,
20488,
353,
5159,
13,
3880,
353,
5159,
13,
13,
326,
9163,
29892,
527,
354,
29875,
353,
12726,
29889,
2311,
13,
361,
527,
354,
29875,
1405,
29871,
29906,
29900,
29900,
29901,
13,
1678,
4236,
3545,
353,
29871,
29906,
29900,
29900,
13,
1678,
12726,
29889,
386,
21145,
3552,
29906,
29900,
29900,
29892,
4236,
3545,
511,
22549,
340,
29889,
13566,
25758,
29902,
3289,
29897,
13,
1678,
527,
9163,
29892,
527,
354,
29875,
353,
12726,
29889,
2311,
13,
1678,
282,
962,
29883,
29889,
13496,
29898,
14047,
29892,
376,
3027,
338,
975,
29871,
29906,
29900,
29900,
17036,
29892,
27668,
3171,
19602,
29871,
29896,
29897,
13,
13,
5632,
29889,
13441,
877,
28212,
1495,
13,
326,
353,
12726,
29889,
1359,
580,
13,
13,
29886,
1646,
353,
260,
29939,
18933,
29898,
7827,
29922,
326,
354,
29875,
29930,
326,
9163,
29897,
13,
1454,
540,
29875,
297,
3464,
29898,
326,
354,
29875,
1125,
13,
1678,
363,
9449,
297,
3464,
29898,
326,
9163,
1125,
13,
4706,
1560,
284,
353,
282,
962,
29883,
29889,
2388,
29918,
29886,
15711,
3552,
326,
29961,
9163,
29892,
540,
29875,
3816,
29900,
1402,
527,
29961,
9163,
29892,
540,
29875,
3816,
29896,
1402,
527,
29961,
9163,
29892,
540,
29875,
3816,
29906,
11724,
4390,
29918,
649,
29897,
13,
4706,
527,
29961,
9163,
29892,
540,
29875,
29962,
353,
1560,
284,
29961,
29896,
29962,
13,
4706,
1304,
29889,
4397,
29898,
710,
29898,
3844,
284,
29961,
29906,
12622,
13,
4706,
282,
1646,
29889,
5504,
29898,
29896,
29897,
13,
29886,
1646,
29889,
5358,
580,
13,
13,
5632,
29889,
7620,
703,
2914,
29889,
29954,
6545,
1159,
396,
450,
1121,
13,
3126,
29918,
1445,
29889,
5358,
580,
13,
13,
1025,
9135,
353,
286,
29883,
29889,
9106,
29889,
657,
9135,
580,
13,
9106,
9135,
353,
518,
14486,
29898,
1025,
9135,
29889,
29916,
511,
4513,
29898,
1025,
9135,
29889,
29891,
511,
4513,
29898,
1025,
9135,
29889,
29920,
4638,
13,
29886,
962,
29883,
29889,
13496,
29898,
14047,
29892,
376,
28181,
29991,
1159,
13,
29886,
1646,
353,
260,
29939,
18933,
29898,
7827,
29922,
326,
354,
29875,
29930,
326,
9163,
29897,
13,
1949,
29918,
7382,
353,
527,
354,
29875,
29930,
326,
9163,
29899,
29896,
13,
1454,
540,
29875,
297,
3464,
29898,
326,
354,
29875,
1125,
13,
1678,
363,
9449,
297,
3464,
29898,
326,
9163,
1125,
13,
4706,
396,
2158,
29898,
3880,
29961,
9163,
718,
313,
326,
354,
29875,
334,
540,
29875,
29897,
2314,
13,
4706,
330,
1271,
353,
679,
29918,
1271,
29898,
3880,
29961,
1949,
29918,
7382,
2314,
13,
4706,
286,
29883,
29889,
842,
7445,
29898,
9106,
9135,
29961,
29900,
10062,
9163,
29892,
4847,
9135,
29961,
29896,
10062,
354,
29875,
29892,
4847,
9135,
29961,
29906,
1402,
330,
1271,
29897,
13,
4706,
954,
29918,
7382,
22361,
29871,
29896,
13,
4706,
282,
1646,
29889,
5504,
29898,
29896,
29897,
13,
29886,
1646,
29889,
5358,
580,
13,
29886,
962,
29883,
29889,
13496,
29898,
14047,
29892,
376,
25632,
6824,
1159,
13,
29886,
962,
29883,
29889,
13496,
29898,
14047,
29892,
376,
12148,
5810,
502,
373,
18546,
565,
366,
763,
278,
1121,
29991,
613,
29871,
29906,
29897,
13,
2
] |
09.Printing Stars in C Shape.py | Kushal997-das/Pattern_Printing | 27 | 66831 | <filename>09.Printing Stars in C Shape.py
#Printing Stars in 'C' Shape !
'''
****
*
*
*
*
*
****
'''
for row in range(7):
for col in range(5):
if (col==0 and (row!=0 and row!=6)) or (row==0 or row==6) and (col>0):
print('*',end='')
else:
print(end=' ')
print() | [
1,
529,
9507,
29958,
29900,
29929,
29889,
11816,
292,
25435,
297,
315,
1383,
4085,
29889,
2272,
13,
29937,
11816,
292,
25435,
297,
525,
29907,
29915,
1383,
4085,
1738,
13,
12008,
13,
334,
17435,
13,
29930,
13,
29930,
13,
29930,
13,
29930,
13,
29930,
13,
334,
17435,
13,
13,
12008,
13,
13,
1454,
1948,
297,
29871,
3464,
29898,
29955,
1125,
13,
1678,
363,
784,
297,
3464,
29898,
29945,
1125,
13,
4706,
565,
313,
1054,
1360,
29900,
322,
313,
798,
19216,
29900,
322,
1948,
19216,
29953,
876,
470,
313,
798,
1360,
29900,
470,
1948,
1360,
29953,
29897,
322,
313,
1054,
29958,
29900,
1125,
13,
9651,
1596,
877,
29930,
742,
355,
2433,
1495,
13,
4706,
1683,
29901,
13,
9651,
1596,
29898,
355,
2433,
25710,
13,
1678,
1596,
580,
2
] |
tools/build_rules/gtk_dependent.bzl | Ewpratten/frc_971_mirror | 39 | 13383 | disable_gtk_binaries = True
def gtk_dependent_cc_library(**kwargs):
if not disable_gtk_binaries:
native.cc_library(**kwargs)
def gtk_dependent_cc_binary(**kwargs):
if not disable_gtk_binaries:
native.cc_binary(**kwargs)
| [
1,
11262,
29918,
4141,
29895,
29918,
2109,
4314,
353,
5852,
13,
13,
1753,
330,
11178,
29918,
18980,
29918,
617,
29918,
5258,
29898,
1068,
19290,
1125,
13,
1678,
565,
451,
11262,
29918,
4141,
29895,
29918,
2109,
4314,
29901,
13,
4706,
7531,
29889,
617,
29918,
5258,
29898,
1068,
19290,
29897,
13,
13,
1753,
330,
11178,
29918,
18980,
29918,
617,
29918,
19541,
29898,
1068,
19290,
1125,
13,
1678,
565,
451,
11262,
29918,
4141,
29895,
29918,
2109,
4314,
29901,
13,
4706,
7531,
29889,
617,
29918,
19541,
29898,
1068,
19290,
29897,
13,
2
] |
python/paddle/fluid/tests/unittests/test_rnn_cell_api.py | L-Net-1992/Paddle | 11 | 31523 | # Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import print_function
import unittest
import numpy
import paddle.fluid as fluid
import paddle.fluid.layers as layers
import paddle.fluid.core as core
from paddle.fluid.framework import program_guard, Program
from paddle.fluid.executor import Executor
from paddle.fluid import framework
from paddle.fluid.layers.rnn import LSTMCell, GRUCell, RNNCell
from paddle.fluid.layers import rnn as dynamic_rnn
from paddle.fluid import contrib
from paddle.fluid.contrib.layers import basic_lstm
import paddle.fluid.layers.utils as utils
import numpy as np
class TestLSTMCellError(unittest.TestCase):
def test_errors(self):
with program_guard(Program(), Program()):
batch_size, input_size, hidden_size = 4, 16, 16
inputs = fluid.data(name='inputs',
shape=[None, input_size],
dtype='float32')
pre_hidden = fluid.data(name='pre_hidden',
shape=[None, hidden_size],
dtype='float32')
pre_cell = fluid.data(name='pre_cell',
shape=[None, hidden_size],
dtype='float32')
cell = LSTMCell(hidden_size)
def test_input_Variable():
np_input = np.random.random(
(batch_size, input_size)).astype("float32")
cell(np_input, [pre_hidden, pre_cell])
self.assertRaises(TypeError, test_input_Variable)
def test_pre_hidden_Variable():
np_pre_hidden = np.random.random(
(batch_size, hidden_size)).astype("float32")
cell(inputs, [np_pre_hidden, pre_cell])
self.assertRaises(TypeError, test_pre_hidden_Variable)
def test_pre_cell_Variable():
np_pre_cell = np.random.random(
(batch_size, input_size)).astype("float32")
cell(inputs, [pre_hidden, np_pre_cell])
self.assertRaises(TypeError, test_pre_cell_Variable)
def test_input_type():
error_inputs = fluid.data(name='error_inputs',
shape=[None, input_size],
dtype='int32')
cell(error_inputs, [pre_hidden, pre_cell])
self.assertRaises(TypeError, test_input_type)
def test_pre_hidden_type():
error_pre_hidden = fluid.data(name='error_pre_hidden',
shape=[None, hidden_size],
dtype='int32')
cell(inputs, [error_pre_hidden, pre_cell])
self.assertRaises(TypeError, test_pre_hidden_type)
def test_pre_cell_type():
error_pre_cell = fluid.data(name='error_pre_cell',
shape=[None, hidden_size],
dtype='int32')
cell(inputs, [pre_hidden, error_pre_cell])
self.assertRaises(TypeError, test_pre_cell_type)
def test_dtype():
# the input type must be Variable
LSTMCell(hidden_size, dtype="int32")
self.assertRaises(TypeError, test_dtype)
class TestLSTMCell(unittest.TestCase):
def setUp(self):
self.batch_size = 4
self.input_size = 16
self.hidden_size = 16
def test_run(self):
inputs = fluid.data(name='inputs',
shape=[None, self.input_size],
dtype='float32')
pre_hidden = fluid.data(name='pre_hidden',
shape=[None, self.hidden_size],
dtype='float32')
pre_cell = fluid.data(name='pre_cell',
shape=[None, self.hidden_size],
dtype='float32')
cell = LSTMCell(self.hidden_size)
lstm_hidden_new, lstm_states_new = cell(inputs, [pre_hidden, pre_cell])
lstm_unit = contrib.layers.rnn_impl.BasicLSTMUnit(
"basicLSTM", self.hidden_size, None, None, None, None, 1.0,
"float32")
lstm_hidden, lstm_cell = lstm_unit(inputs, pre_hidden, pre_cell)
if core.is_compiled_with_cuda():
place = core.CUDAPlace(0)
else:
place = core.CPUPlace()
exe = Executor(place)
exe.run(framework.default_startup_program())
inputs_np = np.random.uniform(
-0.1, 0.1, (self.batch_size, self.input_size)).astype('float32')
pre_hidden_np = np.random.uniform(
-0.1, 0.1, (self.batch_size, self.hidden_size)).astype('float32')
pre_cell_np = np.random.uniform(
-0.1, 0.1, (self.batch_size, self.hidden_size)).astype('float32')
param_names = [[
"LSTMCell/BasicLSTMUnit_0.w_0", "basicLSTM/BasicLSTMUnit_0.w_0"
], ["LSTMCell/BasicLSTMUnit_0.b_0", "basicLSTM/BasicLSTMUnit_0.b_0"]]
for names in param_names:
param = np.array(fluid.global_scope().find_var(
names[0]).get_tensor())
param = np.random.uniform(-0.1, 0.1,
size=param.shape).astype('float32')
fluid.global_scope().find_var(names[0]).get_tensor().set(
param, place)
fluid.global_scope().find_var(names[1]).get_tensor().set(
param, place)
out = exe.run(feed={
'inputs': inputs_np,
'pre_hidden': pre_hidden_np,
'pre_cell': pre_cell_np
},
fetch_list=[lstm_hidden_new, lstm_hidden])
self.assertTrue(np.allclose(out[0], out[1], rtol=1e-4, atol=0))
class TestGRUCellError(unittest.TestCase):
def test_errors(self):
with program_guard(Program(), Program()):
batch_size, input_size, hidden_size = 4, 16, 16
inputs = fluid.data(name='inputs',
shape=[None, input_size],
dtype='float32')
pre_hidden = layers.data(name='pre_hidden',
shape=[None, hidden_size],
append_batch_size=False,
dtype='float32')
cell = GRUCell(hidden_size)
def test_input_Variable():
np_input = np.random.random(
(batch_size, input_size)).astype("float32")
cell(np_input, pre_hidden)
self.assertRaises(TypeError, test_input_Variable)
def test_pre_hidden_Variable():
np_pre_hidden = np.random.random(
(batch_size, hidden_size)).astype("float32")
cell(inputs, np_pre_hidden)
self.assertRaises(TypeError, test_pre_hidden_Variable)
def test_input_type():
error_inputs = fluid.data(name='error_inputs',
shape=[None, input_size],
dtype='int32')
cell(error_inputs, pre_hidden)
self.assertRaises(TypeError, test_input_type)
def test_pre_hidden_type():
error_pre_hidden = fluid.data(name='error_pre_hidden',
shape=[None, hidden_size],
dtype='int32')
cell(inputs, error_pre_hidden)
self.assertRaises(TypeError, test_pre_hidden_type)
def test_dtype():
# the input type must be Variable
GRUCell(hidden_size, dtype="int32")
self.assertRaises(TypeError, test_dtype)
class TestGRUCell(unittest.TestCase):
def setUp(self):
self.batch_size = 4
self.input_size = 16
self.hidden_size = 16
def test_run(self):
inputs = fluid.data(name='inputs',
shape=[None, self.input_size],
dtype='float32')
pre_hidden = layers.data(name='pre_hidden',
shape=[None, self.hidden_size],
append_batch_size=False,
dtype='float32')
cell = GRUCell(self.hidden_size)
gru_hidden_new, _ = cell(inputs, pre_hidden)
gru_unit = contrib.layers.rnn_impl.BasicGRUUnit("basicGRU",
self.hidden_size, None,
None, None, None,
"float32")
gru_hidden = gru_unit(inputs, pre_hidden)
if core.is_compiled_with_cuda():
place = core.CUDAPlace(0)
else:
place = core.CPUPlace()
exe = Executor(place)
exe.run(framework.default_startup_program())
inputs_np = np.random.uniform(
-0.1, 0.1, (self.batch_size, self.input_size)).astype('float32')
pre_hidden_np = np.random.uniform(
-0.1, 0.1, (self.batch_size, self.hidden_size)).astype('float32')
param_names = [
["GRUCell/BasicGRUUnit_0.w_0", "basicGRU/BasicGRUUnit_0.w_0"],
["GRUCell/BasicGRUUnit_0.w_1", "basicGRU/BasicGRUUnit_0.w_1"],
["GRUCell/BasicGRUUnit_0.b_0", "basicGRU/BasicGRUUnit_0.b_0"],
["GRUCell/BasicGRUUnit_0.b_1", "basicGRU/BasicGRUUnit_0.b_1"]
]
for names in param_names:
param = np.array(fluid.global_scope().find_var(
names[0]).get_tensor())
param = np.random.uniform(-0.1, 0.1,
size=param.shape).astype('float32')
fluid.global_scope().find_var(names[0]).get_tensor().set(
param, place)
fluid.global_scope().find_var(names[1]).get_tensor().set(
param, place)
out = exe.run(feed={
'inputs': inputs_np,
'pre_hidden': pre_hidden_np
},
fetch_list=[gru_hidden_new, gru_hidden])
self.assertTrue(np.allclose(out[0], out[1], rtol=1e-4, atol=0))
class TestRnnError(unittest.TestCase):
def test_errors(self):
with program_guard(Program(), Program()):
batch_size = 4
input_size = 16
hidden_size = 16
seq_len = 4
inputs = fluid.data(name='inputs',
shape=[None, input_size],
dtype='float32')
pre_hidden = layers.data(name='pre_hidden',
shape=[None, hidden_size],
append_batch_size=False,
dtype='float32')
inputs_basic_lstm = fluid.data(name='inputs_basic_lstm',
shape=[None, None, input_size],
dtype='float32')
sequence_length = fluid.data(name="sequence_length",
shape=[None],
dtype='int64')
inputs_dynamic_rnn = layers.transpose(inputs_basic_lstm,
perm=[1, 0, 2])
cell = LSTMCell(hidden_size, name="LSTMCell_for_rnn")
np_inputs_dynamic_rnn = np.random.random(
(seq_len, batch_size, input_size)).astype("float32")
def test_input_Variable():
dynamic_rnn(cell=cell,
inputs=np_inputs_dynamic_rnn,
sequence_length=sequence_length,
is_reverse=False)
self.assertRaises(TypeError, test_input_Variable)
def test_input_list():
dynamic_rnn(cell=cell,
inputs=[np_inputs_dynamic_rnn],
sequence_length=sequence_length,
is_reverse=False)
self.assertRaises(TypeError, test_input_list)
def test_initial_states_type():
cell = GRUCell(hidden_size, name="GRUCell_for_rnn")
error_initial_states = np.random.random(
(batch_size, hidden_size)).astype("float32")
dynamic_rnn(cell=cell,
inputs=inputs_dynamic_rnn,
initial_states=error_initial_states,
sequence_length=sequence_length,
is_reverse=False)
self.assertRaises(TypeError, test_initial_states_type)
def test_initial_states_list():
error_initial_states = [
np.random.random(
(batch_size, hidden_size)).astype("float32"),
np.random.random(
(batch_size, hidden_size)).astype("float32")
]
dynamic_rnn(cell=cell,
inputs=inputs_dynamic_rnn,
initial_states=error_initial_states,
sequence_length=sequence_length,
is_reverse=False)
self.assertRaises(TypeError, test_initial_states_type)
def test_sequence_length_type():
np_sequence_length = np.random.random(
(batch_size)).astype("float32")
dynamic_rnn(cell=cell,
inputs=inputs_dynamic_rnn,
sequence_length=np_sequence_length,
is_reverse=False)
self.assertRaises(TypeError, test_sequence_length_type)
class TestRnn(unittest.TestCase):
def setUp(self):
self.batch_size = 4
self.input_size = 16
self.hidden_size = 16
self.seq_len = 4
def test_run(self):
inputs_basic_lstm = fluid.data(name='inputs_basic_lstm',
shape=[None, None, self.input_size],
dtype='float32')
sequence_length = fluid.data(name="sequence_length",
shape=[None],
dtype='int64')
inputs_dynamic_rnn = layers.transpose(inputs_basic_lstm, perm=[1, 0, 2])
cell = LSTMCell(self.hidden_size, name="LSTMCell_for_rnn")
output, final_state = dynamic_rnn(cell=cell,
inputs=inputs_dynamic_rnn,
sequence_length=sequence_length,
is_reverse=False)
output_new = layers.transpose(output, perm=[1, 0, 2])
rnn_out, last_hidden, last_cell = basic_lstm(inputs_basic_lstm, None, None, self.hidden_size, num_layers=1, \
batch_first = False, bidirectional=False, sequence_length=sequence_length, forget_bias = 1.0)
if core.is_compiled_with_cuda():
place = core.CUDAPlace(0)
else:
place = core.CPUPlace()
exe = Executor(place)
exe.run(framework.default_startup_program())
inputs_basic_lstm_np = np.random.uniform(
-0.1, 0.1,
(self.seq_len, self.batch_size, self.input_size)).astype('float32')
sequence_length_np = np.ones(self.batch_size,
dtype='int64') * self.seq_len
inputs_np = np.random.uniform(
-0.1, 0.1, (self.batch_size, self.input_size)).astype('float32')
pre_hidden_np = np.random.uniform(
-0.1, 0.1, (self.batch_size, self.hidden_size)).astype('float32')
pre_cell_np = np.random.uniform(
-0.1, 0.1, (self.batch_size, self.hidden_size)).astype('float32')
param_names = [[
"LSTMCell_for_rnn/BasicLSTMUnit_0.w_0",
"basic_lstm_layers_0/BasicLSTMUnit_0.w_0"
],
[
"LSTMCell_for_rnn/BasicLSTMUnit_0.b_0",
"basic_lstm_layers_0/BasicLSTMUnit_0.b_0"
]]
for names in param_names:
param = np.array(fluid.global_scope().find_var(
names[0]).get_tensor())
param = np.random.uniform(-0.1, 0.1,
size=param.shape).astype('float32')
fluid.global_scope().find_var(names[0]).get_tensor().set(
param, place)
fluid.global_scope().find_var(names[1]).get_tensor().set(
param, place)
out = exe.run(feed={
'inputs_basic_lstm': inputs_basic_lstm_np,
'sequence_length': sequence_length_np,
'inputs': inputs_np,
'pre_hidden': pre_hidden_np,
'pre_cell': pre_cell_np
},
fetch_list=[output_new, rnn_out])
self.assertTrue(np.allclose(out[0], out[1], rtol=1e-4))
class TestRnnUtil(unittest.TestCase):
"""
Test cases for rnn apis' utility methods for coverage.
"""
def test_case(self):
inputs = {"key1": 1, "key2": 2}
func = lambda x: x + 1
outputs = utils.map_structure(func, inputs)
utils.assert_same_structure(inputs, outputs)
try:
inputs["key3"] = 3
utils.assert_same_structure(inputs, outputs)
except ValueError as identifier:
pass
class EncoderCell(RNNCell):
"""Encoder Cell"""
def __init__(
self,
num_layers,
hidden_size,
dropout_prob=0.,
init_scale=0.1,
):
self.num_layers = num_layers
self.hidden_size = hidden_size
self.dropout_prob = dropout_prob
self.lstm_cells = []
for i in range(num_layers):
self.lstm_cells.append(LSTMCell(hidden_size))
def call(self, step_input, states):
new_states = []
for i in range(self.num_layers):
out, new_state = self.lstm_cells[i](step_input, states[i])
step_input = layers.dropout(
out,
self.dropout_prob,
) if self.dropout_prob else out
new_states.append(new_state)
return step_input, new_states
@property
def state_shape(self):
return [cell.state_shape for cell in self.lstm_cells]
class DecoderCell(RNNCell):
"""Decoder Cell"""
def __init__(self, num_layers, hidden_size, dropout_prob=0.):
self.num_layers = num_layers
self.hidden_size = hidden_size
self.dropout_prob = dropout_prob
self.lstm_cells = []
for i in range(num_layers):
self.lstm_cells.append(LSTMCell(hidden_size))
def call(self, step_input, states):
new_lstm_states = []
for i in range(self.num_layers):
out, new_lstm_state = self.lstm_cells[i](step_input, states[i])
step_input = layers.dropout(
out,
self.dropout_prob,
) if self.dropout_prob else out
new_lstm_states.append(new_lstm_state)
return step_input, new_lstm_states
def def_seq2seq_model(num_layers, hidden_size, dropout_prob, src_vocab_size,
trg_vocab_size):
"vanilla seq2seq model"
# data
source = fluid.data(name="src", shape=[None, None], dtype="int64")
source_length = fluid.data(name="src_sequence_length",
shape=[None],
dtype="int64")
target = fluid.data(name="trg", shape=[None, None], dtype="int64")
target_length = fluid.data(name="trg_sequence_length",
shape=[None],
dtype="int64")
label = fluid.data(name="label", shape=[None, None, 1], dtype="int64")
# embedding
src_emb = fluid.embedding(source, (src_vocab_size, hidden_size))
tar_emb = fluid.embedding(target, (src_vocab_size, hidden_size))
# encoder
enc_cell = EncoderCell(num_layers, hidden_size, dropout_prob)
enc_output, enc_final_state = dynamic_rnn(cell=enc_cell,
inputs=src_emb,
sequence_length=source_length)
# decoder
dec_cell = DecoderCell(num_layers, hidden_size, dropout_prob)
dec_output, dec_final_state = dynamic_rnn(cell=dec_cell,
inputs=tar_emb,
initial_states=enc_final_state)
logits = layers.fc(dec_output,
size=trg_vocab_size,
num_flatten_dims=len(dec_output.shape) - 1,
bias_attr=False)
# loss
loss = layers.softmax_with_cross_entropy(logits=logits,
label=label,
soft_label=False)
loss = layers.unsqueeze(loss, axes=[2])
max_tar_seq_len = layers.shape(target)[1]
tar_mask = layers.sequence_mask(target_length,
maxlen=max_tar_seq_len,
dtype="float32")
loss = loss * tar_mask
loss = layers.reduce_mean(loss, dim=[0])
loss = layers.reduce_sum(loss)
# optimizer
optimizer = fluid.optimizer.Adam(0.001)
optimizer.minimize(loss)
return loss
class TestSeq2SeqModel(unittest.TestCase):
"""
Test cases to confirm seq2seq api training correctly.
"""
def setUp(self):
np.random.seed(123)
self.model_hparams = {
"num_layers": 2,
"hidden_size": 128,
"dropout_prob": 0.1,
"src_vocab_size": 100,
"trg_vocab_size": 100
}
self.iter_num = iter_num = 2
self.batch_size = batch_size = 4
src_seq_len = 10
trg_seq_len = 12
self.data = {
"src":
np.random.randint(
2, self.model_hparams["src_vocab_size"],
(iter_num * batch_size, src_seq_len)).astype("int64"),
"src_sequence_length":
np.random.randint(1, src_seq_len,
(iter_num * batch_size, )).astype("int64"),
"trg":
np.random.randint(
2, self.model_hparams["src_vocab_size"],
(iter_num * batch_size, trg_seq_len)).astype("int64"),
"trg_sequence_length":
np.random.randint(1, trg_seq_len,
(iter_num * batch_size, )).astype("int64"),
"label":
np.random.randint(
2, self.model_hparams["src_vocab_size"],
(iter_num * batch_size, trg_seq_len, 1)).astype("int64"),
}
place = core.CUDAPlace(
0) if core.is_compiled_with_cuda() else core.CPUPlace()
self.exe = Executor(place)
def test_seq2seq_model(self):
main_program = fluid.Program()
startup_program = fluid.Program()
with fluid.program_guard(main_program, startup_program):
cost = def_seq2seq_model(**self.model_hparams)
self.exe.run(startup_program)
for iter_idx in range(self.iter_num):
cost_val = self.exe.run(feed={
"src":
self.data["src"][iter_idx * self.batch_size:(iter_idx + 1) *
self.batch_size, :],
"src_sequence_length":
self.data["src_sequence_length"][iter_idx *
self.batch_size:(iter_idx +
1) *
self.batch_size],
"trg":
self.data["trg"][iter_idx * self.batch_size:(iter_idx + 1) *
self.batch_size, :],
"trg_sequence_length":
self.data["trg_sequence_length"][iter_idx *
self.batch_size:(iter_idx +
1) *
self.batch_size],
"label":
self.data["label"][iter_idx *
self.batch_size:(iter_idx + 1) *
self.batch_size]
},
fetch_list=[cost])[0]
print("iter_idx: %d, cost: %f" % (iter_idx, cost_val))
if __name__ == '__main__':
unittest.main()
| [
1,
396,
14187,
1266,
313,
29883,
29897,
29871,
29906,
29900,
29896,
29929,
349,
22352,
29925,
22352,
13189,
943,
29889,
2178,
26863,
2538,
9841,
29889,
13,
29937,
13,
29937,
10413,
21144,
1090,
278,
13380,
19245,
29892,
10079,
29871,
29906,
29889,
29900,
313,
1552,
376,
29931,
293,
1947,
1496,
13,
29937,
366,
1122,
451,
671,
445,
934,
5174,
297,
752,
13036,
411,
278,
19245,
29889,
13,
29937,
887,
1122,
4017,
263,
3509,
310,
278,
19245,
472,
13,
29937,
13,
29937,
268,
1732,
597,
1636,
29889,
4288,
29889,
990,
29914,
506,
11259,
29914,
27888,
1430,
1660,
29899,
29906,
29889,
29900,
13,
29937,
13,
29937,
25870,
3734,
491,
22903,
4307,
470,
15502,
304,
297,
5007,
29892,
7047,
13,
29937,
13235,
1090,
278,
19245,
338,
13235,
373,
385,
376,
3289,
8519,
29908,
350,
3289,
3235,
29892,
13,
29937,
399,
1806,
8187,
2692,
399,
1718,
29934,
13566,
29059,
6323,
8707,
29928,
22122,
29903,
8079,
13764,
29979,
476,
22255,
29892,
2845,
4653,
470,
2411,
2957,
29889,
13,
29937,
2823,
278,
19245,
363,
278,
2702,
4086,
14765,
1076,
11239,
322,
13,
29937,
27028,
1090,
278,
19245,
29889,
13,
13,
3166,
4770,
29888,
9130,
1649,
1053,
1596,
29918,
2220,
13,
13,
5215,
443,
27958,
13,
5215,
12655,
13,
13,
5215,
282,
22352,
29889,
1579,
5416,
408,
22576,
13,
5215,
282,
22352,
29889,
1579,
5416,
29889,
29277,
408,
15359,
13,
5215,
282,
22352,
29889,
1579,
5416,
29889,
3221,
408,
7136,
13,
3166,
282,
22352,
29889,
1579,
5416,
29889,
4468,
1053,
1824,
29918,
17728,
29892,
7835,
13,
13,
3166,
282,
22352,
29889,
1579,
5416,
29889,
4258,
3406,
1053,
11080,
3406,
13,
3166,
282,
22352,
29889,
1579,
5416,
1053,
6890,
13,
13,
3166,
282,
22352,
29889,
1579,
5416,
29889,
29277,
29889,
29878,
15755,
1053,
365,
1254,
29924,
4617,
29892,
18016,
29965,
4617,
29892,
390,
10262,
4617,
13,
3166,
282,
22352,
29889,
1579,
5416,
29889,
29277,
1053,
364,
15755,
408,
7343,
29918,
29878,
15755,
13,
3166,
282,
22352,
29889,
1579,
5416,
1053,
17737,
13,
3166,
282,
22352,
29889,
1579,
5416,
29889,
21570,
29889,
29277,
1053,
6996,
29918,
20155,
29885,
13,
5215,
282,
22352,
29889,
1579,
5416,
29889,
29277,
29889,
13239,
408,
3667,
29879,
13,
13,
5215,
12655,
408,
7442,
13,
13,
13,
1990,
4321,
29931,
1254,
29924,
4617,
2392,
29898,
348,
27958,
29889,
3057,
8259,
1125,
13,
13,
1678,
822,
1243,
29918,
12523,
29898,
1311,
1125,
13,
4706,
411,
1824,
29918,
17728,
29898,
9283,
3285,
7835,
580,
1125,
13,
9651,
9853,
29918,
2311,
29892,
1881,
29918,
2311,
29892,
7934,
29918,
2311,
353,
29871,
29946,
29892,
29871,
29896,
29953,
29892,
29871,
29896,
29953,
13,
9651,
10970,
353,
22576,
29889,
1272,
29898,
978,
2433,
2080,
29879,
742,
13,
462,
18884,
8267,
11759,
8516,
29892,
1881,
29918,
2311,
1402,
13,
462,
18884,
26688,
2433,
7411,
29941,
29906,
1495,
13,
9651,
758,
29918,
10892,
353,
22576,
29889,
1272,
29898,
978,
2433,
1457,
29918,
10892,
742,
13,
462,
462,
1678,
8267,
11759,
8516,
29892,
7934,
29918,
2311,
1402,
13,
462,
462,
1678,
26688,
2433,
7411,
29941,
29906,
1495,
13,
9651,
758,
29918,
3729,
353,
22576,
29889,
1272,
29898,
978,
2433,
1457,
29918,
3729,
742,
13,
462,
462,
29871,
8267,
11759,
8516,
29892,
7934,
29918,
2311,
1402,
13,
462,
462,
29871,
26688,
2433,
7411,
29941,
29906,
1495,
13,
9651,
3038,
353,
365,
1254,
29924,
4617,
29898,
10892,
29918,
2311,
29897,
13,
13,
9651,
822,
1243,
29918,
2080,
29918,
16174,
7295,
13,
18884,
7442,
29918,
2080,
353,
7442,
29889,
8172,
29889,
8172,
29898,
13,
462,
1678,
313,
16175,
29918,
2311,
29892,
1881,
29918,
2311,
8106,
579,
668,
703,
7411,
29941,
29906,
1159,
13,
18884,
3038,
29898,
9302,
29918,
2080,
29892,
518,
1457,
29918,
10892,
29892,
758,
29918,
3729,
2314,
13,
13,
9651,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1542,
2392,
29892,
1243,
29918,
2080,
29918,
16174,
29897,
13,
13,
9651,
822,
1243,
29918,
1457,
29918,
10892,
29918,
16174,
7295,
13,
18884,
7442,
29918,
1457,
29918,
10892,
353,
7442,
29889,
8172,
29889,
8172,
29898,
13,
462,
1678,
313,
16175,
29918,
2311,
29892,
7934,
29918,
2311,
8106,
579,
668,
703,
7411,
29941,
29906,
1159,
13,
18884,
3038,
29898,
2080,
29879,
29892,
518,
9302,
29918,
1457,
29918,
10892,
29892,
758,
29918,
3729,
2314,
13,
13,
9651,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1542,
2392,
29892,
1243,
29918,
1457,
29918,
10892,
29918,
16174,
29897,
13,
13,
9651,
822,
1243,
29918,
1457,
29918,
3729,
29918,
16174,
7295,
13,
18884,
7442,
29918,
1457,
29918,
3729,
353,
7442,
29889,
8172,
29889,
8172,
29898,
13,
462,
1678,
313,
16175,
29918,
2311,
29892,
1881,
29918,
2311,
8106,
579,
668,
703,
7411,
29941,
29906,
1159,
13,
18884,
3038,
29898,
2080,
29879,
29892,
518,
1457,
29918,
10892,
29892,
7442,
29918,
1457,
29918,
3729,
2314,
13,
13,
9651,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1542,
2392,
29892,
1243,
29918,
1457,
29918,
3729,
29918,
16174,
29897,
13,
13,
9651,
822,
1243,
29918,
2080,
29918,
1853,
7295,
13,
18884,
1059,
29918,
2080,
29879,
353,
22576,
29889,
1272,
29898,
978,
2433,
2704,
29918,
2080,
29879,
742,
13,
462,
462,
3986,
8267,
11759,
8516,
29892,
1881,
29918,
2311,
1402,
13,
462,
462,
3986,
26688,
2433,
524,
29941,
29906,
1495,
13,
18884,
3038,
29898,
2704,
29918,
2080,
29879,
29892,
518,
1457,
29918,
10892,
29892,
758,
29918,
3729,
2314,
13,
13,
9651,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1542,
2392,
29892,
1243,
29918,
2080,
29918,
1853,
29897,
13,
13,
9651,
822,
1243,
29918,
1457,
29918,
10892,
29918,
1853,
7295,
13,
18884,
1059,
29918,
1457,
29918,
10892,
353,
22576,
29889,
1272,
29898,
978,
2433,
2704,
29918,
1457,
29918,
10892,
742,
13,
462,
462,
795,
8267,
11759,
8516,
29892,
7934,
29918,
2311,
1402,
13,
462,
462,
795,
26688,
2433,
524,
29941,
29906,
1495,
13,
18884,
3038,
29898,
2080,
29879,
29892,
518,
2704,
29918,
1457,
29918,
10892,
29892,
758,
29918,
3729,
2314,
13,
13,
9651,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1542,
2392,
29892,
1243,
29918,
1457,
29918,
10892,
29918,
1853,
29897,
13,
13,
9651,
822,
1243,
29918,
1457,
29918,
3729,
29918,
1853,
7295,
13,
18884,
1059,
29918,
1457,
29918,
3729,
353,
22576,
29889,
1272,
29898,
978,
2433,
2704,
29918,
1457,
29918,
3729,
742,
13,
462,
462,
9651,
8267,
11759,
8516,
29892,
7934,
29918,
2311,
1402,
13,
462,
462,
9651,
26688,
2433,
524,
29941,
29906,
1495,
13,
18884,
3038,
29898,
2080,
29879,
29892,
518,
1457,
29918,
10892,
29892,
1059,
29918,
1457,
29918,
3729,
2314,
13,
13,
9651,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1542,
2392,
29892,
1243,
29918,
1457,
29918,
3729,
29918,
1853,
29897,
13,
13,
9651,
822,
1243,
29918,
29881,
1853,
7295,
13,
18884,
396,
278,
1881,
1134,
1818,
367,
28736,
13,
18884,
365,
1254,
29924,
4617,
29898,
10892,
29918,
2311,
29892,
26688,
543,
524,
29941,
29906,
1159,
13,
13,
9651,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1542,
2392,
29892,
1243,
29918,
29881,
1853,
29897,
13,
13,
13,
1990,
4321,
29931,
1254,
29924,
4617,
29898,
348,
27958,
29889,
3057,
8259,
1125,
13,
13,
1678,
822,
731,
3373,
29898,
1311,
1125,
13,
4706,
1583,
29889,
16175,
29918,
2311,
353,
29871,
29946,
13,
4706,
1583,
29889,
2080,
29918,
2311,
353,
29871,
29896,
29953,
13,
4706,
1583,
29889,
10892,
29918,
2311,
353,
29871,
29896,
29953,
13,
13,
1678,
822,
1243,
29918,
3389,
29898,
1311,
1125,
13,
4706,
10970,
353,
22576,
29889,
1272,
29898,
978,
2433,
2080,
29879,
742,
13,
462,
9651,
8267,
11759,
8516,
29892,
1583,
29889,
2080,
29918,
2311,
1402,
13,
462,
9651,
26688,
2433,
7411,
29941,
29906,
1495,
13,
4706,
758,
29918,
10892,
353,
22576,
29889,
1272,
29898,
978,
2433,
1457,
29918,
10892,
742,
13,
462,
18884,
8267,
11759,
8516,
29892,
1583,
29889,
10892,
29918,
2311,
1402,
13,
462,
18884,
26688,
2433,
7411,
29941,
29906,
1495,
13,
4706,
758,
29918,
3729,
353,
22576,
29889,
1272,
29898,
978,
2433,
1457,
29918,
3729,
742,
13,
462,
795,
8267,
11759,
8516,
29892,
1583,
29889,
10892,
29918,
2311,
1402,
13,
462,
795,
26688,
2433,
7411,
29941,
29906,
1495,
13,
13,
4706,
3038,
353,
365,
1254,
29924,
4617,
29898,
1311,
29889,
10892,
29918,
2311,
29897,
13,
4706,
24471,
29885,
29918,
10892,
29918,
1482,
29892,
24471,
29885,
29918,
28631,
29918,
1482,
353,
3038,
29898,
2080,
29879,
29892,
518,
1457,
29918,
10892,
29892,
758,
29918,
3729,
2314,
13,
13,
4706,
24471,
29885,
29918,
5441,
353,
17737,
29889,
29277,
29889,
29878,
15755,
29918,
13699,
29889,
16616,
29931,
1254,
29924,
8325,
29898,
13,
9651,
376,
16121,
29931,
1254,
29924,
613,
1583,
29889,
10892,
29918,
2311,
29892,
6213,
29892,
6213,
29892,
6213,
29892,
6213,
29892,
29871,
29896,
29889,
29900,
29892,
13,
9651,
376,
7411,
29941,
29906,
1159,
13,
4706,
24471,
29885,
29918,
10892,
29892,
24471,
29885,
29918,
3729,
353,
24471,
29885,
29918,
5441,
29898,
2080,
29879,
29892,
758,
29918,
10892,
29892,
758,
29918,
3729,
29897,
13,
13,
4706,
565,
7136,
29889,
275,
29918,
2388,
2356,
29918,
2541,
29918,
29883,
6191,
7295,
13,
9651,
2058,
353,
7136,
29889,
29907,
15789,
3301,
1265,
29898,
29900,
29897,
13,
4706,
1683,
29901,
13,
9651,
2058,
353,
7136,
29889,
6271,
4897,
1265,
580,
13,
4706,
429,
29872,
353,
11080,
3406,
29898,
6689,
29897,
13,
4706,
429,
29872,
29889,
3389,
29898,
4468,
29889,
4381,
29918,
2962,
786,
29918,
8860,
3101,
13,
13,
4706,
10970,
29918,
9302,
353,
7442,
29889,
8172,
29889,
29590,
29898,
13,
9651,
448,
29900,
29889,
29896,
29892,
29871,
29900,
29889,
29896,
29892,
313,
1311,
29889,
16175,
29918,
2311,
29892,
1583,
29889,
2080,
29918,
2311,
8106,
579,
668,
877,
7411,
29941,
29906,
1495,
13,
4706,
758,
29918,
10892,
29918,
9302,
353,
7442,
29889,
8172,
29889,
29590,
29898,
13,
9651,
448,
29900,
29889,
29896,
29892,
29871,
29900,
29889,
29896,
29892,
313,
1311,
29889,
16175,
29918,
2311,
29892,
1583,
29889,
10892,
29918,
2311,
8106,
579,
668,
877,
7411,
29941,
29906,
1495,
13,
4706,
758,
29918,
3729,
29918,
9302,
353,
7442,
29889,
8172,
29889,
29590,
29898,
13,
9651,
448,
29900,
29889,
29896,
29892,
29871,
29900,
29889,
29896,
29892,
313,
1311,
29889,
16175,
29918,
2311,
29892,
1583,
29889,
10892,
29918,
2311,
8106,
579,
668,
877,
7411,
29941,
29906,
1495,
13,
13,
4706,
1828,
29918,
7039,
353,
5519,
13,
9651,
376,
29931,
1254,
29924,
4617,
29914,
16616,
29931,
1254,
29924,
8325,
29918,
29900,
29889,
29893,
29918,
29900,
613,
376,
16121,
29931,
1254,
29924,
29914,
16616,
29931,
1254,
29924,
8325,
29918,
29900,
29889,
29893,
29918,
29900,
29908,
13,
4706,
21251,
6796,
29931,
1254,
29924,
4617,
29914,
16616,
29931,
1254,
29924,
8325,
29918,
29900,
29889,
29890,
29918,
29900,
613,
376,
16121,
29931,
1254,
29924,
29914,
16616,
29931,
1254,
29924,
8325,
29918,
29900,
29889,
29890,
29918,
29900,
3108,
29962,
13,
13,
4706,
363,
2983,
297,
1828,
29918,
7039,
29901,
13,
9651,
1828,
353,
7442,
29889,
2378,
29898,
1579,
5416,
29889,
10945,
29918,
6078,
2141,
2886,
29918,
1707,
29898,
13,
18884,
2983,
29961,
29900,
14664,
657,
29918,
20158,
3101,
13,
9651,
1828,
353,
7442,
29889,
8172,
29889,
29590,
6278,
29900,
29889,
29896,
29892,
29871,
29900,
29889,
29896,
29892,
13,
462,
462,
418,
2159,
29922,
3207,
29889,
12181,
467,
579,
668,
877,
7411,
29941,
29906,
1495,
13,
9651,
22576,
29889,
10945,
29918,
6078,
2141,
2886,
29918,
1707,
29898,
7039,
29961,
29900,
14664,
657,
29918,
20158,
2141,
842,
29898,
13,
18884,
1828,
29892,
2058,
29897,
13,
9651,
22576,
29889,
10945,
29918,
6078,
2141,
2886,
29918,
1707,
29898,
7039,
29961,
29896,
14664,
657,
29918,
20158,
2141,
842,
29898,
13,
18884,
1828,
29892,
2058,
29897,
13,
13,
4706,
714,
353,
429,
29872,
29889,
3389,
29898,
18798,
3790,
13,
9651,
525,
2080,
29879,
2396,
10970,
29918,
9302,
29892,
13,
9651,
525,
1457,
29918,
10892,
2396,
758,
29918,
10892,
29918,
9302,
29892,
13,
9651,
525,
1457,
29918,
3729,
2396,
758,
29918,
3729,
29918,
9302,
13,
4706,
2981,
13,
462,
418,
6699,
29918,
1761,
11759,
20155,
29885,
29918,
10892,
29918,
1482,
29892,
24471,
29885,
29918,
10892,
2314,
13,
13,
4706,
1583,
29889,
9294,
5574,
29898,
9302,
29889,
497,
5358,
29898,
449,
29961,
29900,
1402,
714,
29961,
29896,
1402,
364,
25027,
29922,
29896,
29872,
29899,
29946,
29892,
472,
324,
29922,
29900,
876,
13,
13,
13,
1990,
4321,
14345,
29965,
4617,
2392,
29898,
348,
27958,
29889,
3057,
8259,
1125,
13,
13,
1678,
822,
1243,
29918,
12523,
29898,
1311,
1125,
13,
4706,
411,
1824,
29918,
17728,
29898,
9283,
3285,
7835,
580,
1125,
13,
9651,
9853,
29918,
2311,
29892,
1881,
29918,
2311,
29892,
7934,
29918,
2311,
353,
29871,
29946,
29892,
29871,
29896,
29953,
29892,
29871,
29896,
29953,
13,
9651,
10970,
353,
22576,
29889,
1272,
29898,
978,
2433,
2080,
29879,
742,
13,
462,
18884,
8267,
11759,
8516,
29892,
1881,
29918,
2311,
1402,
13,
462,
18884,
26688,
2433,
7411,
29941,
29906,
1495,
13,
9651,
758,
29918,
10892,
353,
15359,
29889,
1272,
29898,
978,
2433,
1457,
29918,
10892,
742,
13,
462,
462,
268,
8267,
11759,
8516,
29892,
7934,
29918,
2311,
1402,
13,
462,
462,
268,
9773,
29918,
16175,
29918,
2311,
29922,
8824,
29892,
13,
462,
462,
268,
26688,
2433,
7411,
29941,
29906,
1495,
13,
9651,
3038,
353,
18016,
29965,
4617,
29898,
10892,
29918,
2311,
29897,
13,
13,
9651,
822,
1243,
29918,
2080,
29918,
16174,
7295,
13,
18884,
7442,
29918,
2080,
353,
7442,
29889,
8172,
29889,
8172,
29898,
13,
462,
1678,
313,
16175,
29918,
2311,
29892,
1881,
29918,
2311,
8106,
579,
668,
703,
7411,
29941,
29906,
1159,
13,
18884,
3038,
29898,
9302,
29918,
2080,
29892,
758,
29918,
10892,
29897,
13,
13,
9651,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1542,
2392,
29892,
1243,
29918,
2080,
29918,
16174,
29897,
13,
13,
9651,
822,
1243,
29918,
1457,
29918,
10892,
29918,
16174,
7295,
13,
18884,
7442,
29918,
1457,
29918,
10892,
353,
7442,
29889,
8172,
29889,
8172,
29898,
13,
462,
1678,
313,
16175,
29918,
2311,
29892,
7934,
29918,
2311,
8106,
579,
668,
703,
7411,
29941,
29906,
1159,
13,
18884,
3038,
29898,
2080,
29879,
29892,
7442,
29918,
1457,
29918,
10892,
29897,
13,
13,
9651,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1542,
2392,
29892,
1243,
29918,
1457,
29918,
10892,
29918,
16174,
29897,
13,
13,
9651,
822,
1243,
29918,
2080,
29918,
1853,
7295,
13,
18884,
1059,
29918,
2080,
29879,
353,
22576,
29889,
1272,
29898,
978,
2433,
2704,
29918,
2080,
29879,
742,
13,
462,
462,
3986,
8267,
11759,
8516,
29892,
1881,
29918,
2311,
1402,
13,
462,
462,
3986,
26688,
2433,
524,
29941,
29906,
1495,
13,
18884,
3038,
29898,
2704,
29918,
2080,
29879,
29892,
758,
29918,
10892,
29897,
13,
13,
9651,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1542,
2392,
29892,
1243,
29918,
2080,
29918,
1853,
29897,
13,
13,
9651,
822,
1243,
29918,
1457,
29918,
10892,
29918,
1853,
7295,
13,
18884,
1059,
29918,
1457,
29918,
10892,
353,
22576,
29889,
1272,
29898,
978,
2433,
2704,
29918,
1457,
29918,
10892,
742,
13,
462,
462,
795,
8267,
11759,
8516,
29892,
7934,
29918,
2311,
1402,
13,
462,
462,
795,
26688,
2433,
524,
29941,
29906,
1495,
13,
18884,
3038,
29898,
2080,
29879,
29892,
1059,
29918,
1457,
29918,
10892,
29897,
13,
13,
9651,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1542,
2392,
29892,
1243,
29918,
1457,
29918,
10892,
29918,
1853,
29897,
13,
13,
9651,
822,
1243,
29918,
29881,
1853,
7295,
13,
18884,
396,
278,
1881,
1134,
1818,
367,
28736,
13,
18884,
18016,
29965,
4617,
29898,
10892,
29918,
2311,
29892,
26688,
543,
524,
29941,
29906,
1159,
13,
13,
9651,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1542,
2392,
29892,
1243,
29918,
29881,
1853,
29897,
13,
13,
13,
1990,
4321,
14345,
29965,
4617,
29898,
348,
27958,
29889,
3057,
8259,
1125,
13,
13,
1678,
822,
731,
3373,
29898,
1311,
1125,
13,
4706,
1583,
29889,
16175,
29918,
2311,
353,
29871,
29946,
13,
4706,
1583,
29889,
2080,
29918,
2311,
353,
29871,
29896,
29953,
13,
4706,
1583,
29889,
10892,
29918,
2311,
353,
29871,
29896,
29953,
13,
13,
1678,
822,
1243,
29918,
3389,
29898,
1311,
1125,
13,
4706,
10970,
353,
22576,
29889,
1272,
29898,
978,
2433,
2080,
29879,
742,
13,
462,
9651,
8267,
11759,
8516,
29892,
1583,
29889,
2080,
29918,
2311,
1402,
13,
462,
9651,
26688,
2433,
7411,
29941,
29906,
1495,
13,
4706,
758,
29918,
10892,
353,
15359,
29889,
1272,
29898,
978,
2433,
1457,
29918,
10892,
742,
13,
462,
462,
8267,
11759,
8516,
29892,
1583,
29889,
10892,
29918,
2311,
1402,
13,
462,
462,
9773,
29918,
16175,
29918,
2311,
29922,
8824,
29892,
13,
462,
462,
26688,
2433,
7411,
29941,
29906,
1495,
13,
13,
4706,
3038,
353,
18016,
29965,
4617,
29898,
1311,
29889,
10892,
29918,
2311,
29897,
13,
4706,
4500,
29918,
10892,
29918,
1482,
29892,
903,
353,
3038,
29898,
2080,
29879,
29892,
758,
29918,
10892,
29897,
13,
13,
4706,
4500,
29918,
5441,
353,
17737,
29889,
29277,
29889,
29878,
15755,
29918,
13699,
29889,
16616,
14345,
29965,
8325,
703,
16121,
14345,
29965,
613,
13,
462,
462,
462,
4706,
1583,
29889,
10892,
29918,
2311,
29892,
6213,
29892,
13,
462,
462,
462,
4706,
6213,
29892,
6213,
29892,
6213,
29892,
13,
462,
462,
462,
4706,
376,
7411,
29941,
29906,
1159,
13,
4706,
4500,
29918,
10892,
353,
4500,
29918,
5441,
29898,
2080,
29879,
29892,
758,
29918,
10892,
29897,
13,
13,
4706,
565,
7136,
29889,
275,
29918,
2388,
2356,
29918,
2541,
29918,
29883,
6191,
7295,
13,
9651,
2058,
353,
7136,
29889,
29907,
15789,
3301,
1265,
29898,
29900,
29897,
13,
4706,
1683,
29901,
13,
9651,
2058,
353,
7136,
29889,
6271,
4897,
1265,
580,
13,
4706,
429,
29872,
353,
11080,
3406,
29898,
6689,
29897,
13,
4706,
429,
29872,
29889,
3389,
29898,
4468,
29889,
4381,
29918,
2962,
786,
29918,
8860,
3101,
13,
13,
4706,
10970,
29918,
9302,
353,
7442,
29889,
8172,
29889,
29590,
29898,
13,
9651,
448,
29900,
29889,
29896,
29892,
29871,
29900,
29889,
29896,
29892,
313,
1311,
29889,
16175,
29918,
2311,
29892,
1583,
29889,
2080,
29918,
2311,
8106,
579,
668,
877,
7411,
29941,
29906,
1495,
13,
4706,
758,
29918,
10892,
29918,
9302,
353,
7442,
29889,
8172,
29889,
29590,
29898,
13,
9651,
448,
29900,
29889,
29896,
29892,
29871,
29900,
29889,
29896,
29892,
313,
1311,
29889,
16175,
29918,
2311,
29892,
1583,
29889,
10892,
29918,
2311,
8106,
579,
668,
877,
7411,
29941,
29906,
1495,
13,
13,
4706,
1828,
29918,
7039,
353,
518,
13,
9651,
6796,
14345,
29965,
4617,
29914,
16616,
14345,
29965,
8325,
29918,
29900,
29889,
29893,
29918,
29900,
613,
376,
16121,
14345,
29965,
29914,
16616,
14345,
29965,
8325,
29918,
29900,
29889,
29893,
29918,
29900,
12436,
13,
9651,
6796,
14345,
29965,
4617,
29914,
16616,
14345,
29965,
8325,
29918,
29900,
29889,
29893,
29918,
29896,
613,
376,
16121,
14345,
29965,
29914,
16616,
14345,
29965,
8325,
29918,
29900,
29889,
29893,
29918,
29896,
12436,
13,
9651,
6796,
14345,
29965,
4617,
29914,
16616,
14345,
29965,
8325,
29918,
29900,
29889,
29890,
29918,
29900,
613,
376,
16121,
14345,
29965,
29914,
16616,
14345,
29965,
8325,
29918,
29900,
29889,
29890,
29918,
29900,
12436,
13,
9651,
6796,
14345,
29965,
4617,
29914,
16616,
14345,
29965,
8325,
29918,
29900,
29889,
29890,
29918,
29896,
613,
376,
16121,
14345,
29965,
29914,
16616,
14345,
29965,
8325,
29918,
29900,
29889,
29890,
29918,
29896,
3108,
13,
4706,
4514,
13,
13,
4706,
363,
2983,
297,
1828,
29918,
7039,
29901,
13,
9651,
1828,
353,
7442,
29889,
2378,
29898,
1579,
5416,
29889,
10945,
29918,
6078,
2141,
2886,
29918,
1707,
29898,
13,
18884,
2983,
29961,
29900,
14664,
657,
29918,
20158,
3101,
13,
9651,
1828,
353,
7442,
29889,
8172,
29889,
29590,
6278,
29900,
29889,
29896,
29892,
29871,
29900,
29889,
29896,
29892,
13,
462,
462,
418,
2159,
29922,
3207,
29889,
12181,
467,
579,
668,
877,
7411,
29941,
29906,
1495,
13,
9651,
22576,
29889,
10945,
29918,
6078,
2141,
2886,
29918,
1707,
29898,
7039,
29961,
29900,
14664,
657,
29918,
20158,
2141,
842,
29898,
13,
18884,
1828,
29892,
2058,
29897,
13,
9651,
22576,
29889,
10945,
29918,
6078,
2141,
2886,
29918,
1707,
29898,
7039,
29961,
29896,
14664,
657,
29918,
20158,
2141,
842,
29898,
13,
18884,
1828,
29892,
2058,
29897,
13,
13,
4706,
714,
353,
429,
29872,
29889,
3389,
29898,
18798,
3790,
13,
9651,
525,
2080,
29879,
2396,
10970,
29918,
9302,
29892,
13,
9651,
525,
1457,
29918,
10892,
2396,
758,
29918,
10892,
29918,
9302,
13,
4706,
2981,
13,
462,
418,
6699,
29918,
1761,
11759,
7108,
29918,
10892,
29918,
1482,
29892,
4500,
29918,
10892,
2314,
13,
13,
4706,
1583,
29889,
9294,
5574,
29898,
9302,
29889,
497,
5358,
29898,
449,
29961,
29900,
1402,
714,
29961,
29896,
1402,
364,
25027,
29922,
29896,
29872,
29899,
29946,
29892,
472,
324,
29922,
29900,
876,
13,
13,
13,
1990,
4321,
29934,
15755,
2392,
29898,
348,
27958,
29889,
3057,
8259,
1125,
13,
13,
1678,
822,
1243,
29918,
12523,
29898,
1311,
1125,
13,
4706,
411,
1824,
29918,
17728,
29898,
9283,
3285,
7835,
580,
1125,
13,
9651,
9853,
29918,
2311,
353,
29871,
29946,
13,
9651,
1881,
29918,
2311,
353,
29871,
29896,
29953,
13,
9651,
7934,
29918,
2311,
353,
29871,
29896,
29953,
13,
9651,
19359,
29918,
2435,
353,
29871,
29946,
13,
9651,
10970,
353,
22576,
29889,
1272,
29898,
978,
2433,
2080,
29879,
742,
13,
462,
18884,
8267,
11759,
8516,
29892,
1881,
29918,
2311,
1402,
13,
462,
18884,
26688,
2433,
7411,
29941,
29906,
1495,
13,
9651,
758,
29918,
10892,
353,
15359,
29889,
1272,
29898,
978,
2433,
1457,
29918,
10892,
742,
13,
462,
462,
268,
8267,
11759,
8516,
29892,
7934,
29918,
2311,
1402,
13,
462,
462,
268,
9773,
29918,
16175,
29918,
2311,
29922,
8824,
29892,
13,
462,
462,
268,
26688,
2433,
7411,
29941,
29906,
1495,
13,
9651,
10970,
29918,
16121,
29918,
20155,
29885,
353,
22576,
29889,
1272,
29898,
978,
2433,
2080,
29879,
29918,
16121,
29918,
20155,
29885,
742,
13,
462,
462,
965,
8267,
11759,
8516,
29892,
6213,
29892,
1881,
29918,
2311,
1402,
13,
462,
462,
965,
26688,
2433,
7411,
29941,
29906,
1495,
13,
9651,
5665,
29918,
2848,
353,
22576,
29889,
1272,
29898,
978,
543,
16506,
29918,
2848,
613,
13,
462,
462,
308,
8267,
11759,
8516,
1402,
13,
462,
462,
308,
26688,
2433,
524,
29953,
29946,
1495,
13,
13,
9651,
10970,
29918,
16626,
29918,
29878,
15755,
353,
15359,
29889,
3286,
4220,
29898,
2080,
29879,
29918,
16121,
29918,
20155,
29885,
29892,
13,
462,
462,
462,
29871,
3635,
11759,
29896,
29892,
29871,
29900,
29892,
29871,
29906,
2314,
13,
9651,
3038,
353,
365,
1254,
29924,
4617,
29898,
10892,
29918,
2311,
29892,
1024,
543,
29931,
1254,
29924,
4617,
29918,
1454,
29918,
29878,
15755,
1159,
13,
9651,
7442,
29918,
2080,
29879,
29918,
16626,
29918,
29878,
15755,
353,
7442,
29889,
8172,
29889,
8172,
29898,
13,
18884,
313,
11762,
29918,
2435,
29892,
9853,
29918,
2311,
29892,
1881,
29918,
2311,
8106,
579,
668,
703,
7411,
29941,
29906,
1159,
13,
13,
9651,
822,
1243,
29918,
2080,
29918,
16174,
7295,
13,
18884,
7343,
29918,
29878,
15755,
29898,
3729,
29922,
3729,
29892,
13,
462,
9651,
10970,
29922,
9302,
29918,
2080,
29879,
29918,
16626,
29918,
29878,
15755,
29892,
13,
462,
9651,
5665,
29918,
2848,
29922,
16506,
29918,
2848,
29892,
13,
462,
9651,
338,
29918,
24244,
29922,
8824,
29897,
13,
13,
9651,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1542,
2392,
29892,
1243,
29918,
2080,
29918,
16174,
29897,
13,
13,
9651,
822,
1243,
29918,
2080,
29918,
1761,
7295,
13,
18884,
7343,
29918,
29878,
15755,
29898,
3729,
29922,
3729,
29892,
13,
462,
9651,
10970,
11759,
9302,
29918,
2080,
29879,
29918,
16626,
29918,
29878,
15755,
1402,
13,
462,
9651,
5665,
29918,
2848,
29922,
16506,
29918,
2848,
29892,
13,
462,
9651,
338,
29918,
24244,
29922,
8824,
29897,
13,
13,
9651,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1542,
2392,
29892,
1243,
29918,
2080,
29918,
1761,
29897,
13,
13,
9651,
822,
1243,
29918,
11228,
29918,
28631,
29918,
1853,
7295,
13,
18884,
3038,
353,
18016,
29965,
4617,
29898,
10892,
29918,
2311,
29892,
1024,
543,
14345,
29965,
4617,
29918,
1454,
29918,
29878,
15755,
1159,
13,
18884,
1059,
29918,
11228,
29918,
28631,
353,
7442,
29889,
8172,
29889,
8172,
29898,
13,
462,
1678,
313,
16175,
29918,
2311,
29892,
7934,
29918,
2311,
8106,
579,
668,
703,
7411,
29941,
29906,
1159,
13,
18884,
7343,
29918,
29878,
15755,
29898,
3729,
29922,
3729,
29892,
13,
462,
9651,
10970,
29922,
2080,
29879,
29918,
16626,
29918,
29878,
15755,
29892,
13,
462,
9651,
2847,
29918,
28631,
29922,
2704,
29918,
11228,
29918,
28631,
29892,
13,
462,
9651,
5665,
29918,
2848,
29922,
16506,
29918,
2848,
29892,
13,
462,
9651,
338,
29918,
24244,
29922,
8824,
29897,
13,
13,
9651,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1542,
2392,
29892,
1243,
29918,
11228,
29918,
28631,
29918,
1853,
29897,
13,
13,
9651,
822,
1243,
29918,
11228,
29918,
28631,
29918,
1761,
7295,
13,
18884,
1059,
29918,
11228,
29918,
28631,
353,
518,
13,
462,
1678,
7442,
29889,
8172,
29889,
8172,
29898,
13,
462,
4706,
313,
16175,
29918,
2311,
29892,
7934,
29918,
2311,
8106,
579,
668,
703,
7411,
29941,
29906,
4968,
13,
462,
1678,
7442,
29889,
8172,
29889,
8172,
29898,
13,
462,
4706,
313,
16175,
29918,
2311,
29892,
7934,
29918,
2311,
8106,
579,
668,
703,
7411,
29941,
29906,
1159,
13,
18884,
4514,
13,
18884,
7343,
29918,
29878,
15755,
29898,
3729,
29922,
3729,
29892,
13,
462,
9651,
10970,
29922,
2080,
29879,
29918,
16626,
29918,
29878,
15755,
29892,
13,
462,
9651,
2847,
29918,
28631,
29922,
2704,
29918,
11228,
29918,
28631,
29892,
13,
462,
9651,
5665,
29918,
2848,
29922,
16506,
29918,
2848,
29892,
13,
462,
9651,
338,
29918,
24244,
29922,
8824,
29897,
13,
13,
9651,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1542,
2392,
29892,
1243,
29918,
11228,
29918,
28631,
29918,
1853,
29897,
13,
13,
9651,
822,
1243,
29918,
16506,
29918,
2848,
29918,
1853,
7295,
13,
18884,
7442,
29918,
16506,
29918,
2848,
353,
7442,
29889,
8172,
29889,
8172,
29898,
13,
462,
1678,
313,
16175,
29918,
2311,
8106,
579,
668,
703,
7411,
29941,
29906,
1159,
13,
18884,
7343,
29918,
29878,
15755,
29898,
3729,
29922,
3729,
29892,
13,
462,
9651,
10970,
29922,
2080,
29879,
29918,
16626,
29918,
29878,
15755,
29892,
13,
462,
9651,
5665,
29918,
2848,
29922,
9302,
29918,
16506,
29918,
2848,
29892,
13,
462,
9651,
338,
29918,
24244,
29922,
8824,
29897,
13,
13,
9651,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1542,
2392,
29892,
1243,
29918,
16506,
29918,
2848,
29918,
1853,
29897,
13,
13,
13,
1990,
4321,
29934,
15755,
29898,
348,
27958,
29889,
3057,
8259,
1125,
13,
13,
1678,
822,
731,
3373,
29898,
1311,
1125,
13,
4706,
1583,
29889,
16175,
29918,
2311,
353,
29871,
29946,
13,
4706,
1583,
29889,
2080,
29918,
2311,
353,
29871,
29896,
29953,
13,
4706,
1583,
29889,
10892,
29918,
2311,
353,
29871,
29896,
29953,
13,
4706,
1583,
29889,
11762,
29918,
2435,
353,
29871,
29946,
13,
13,
1678,
822,
1243,
29918,
3389,
29898,
1311,
1125,
13,
4706,
10970,
29918,
16121,
29918,
20155,
29885,
353,
22576,
29889,
1272,
29898,
978,
2433,
2080,
29879,
29918,
16121,
29918,
20155,
29885,
742,
13,
462,
462,
539,
8267,
11759,
8516,
29892,
6213,
29892,
1583,
29889,
2080,
29918,
2311,
1402,
13,
462,
462,
539,
26688,
2433,
7411,
29941,
29906,
1495,
13,
4706,
5665,
29918,
2848,
353,
22576,
29889,
1272,
29898,
978,
543,
16506,
29918,
2848,
613,
13,
462,
462,
268,
8267,
11759,
8516,
1402,
13,
462,
462,
268,
26688,
2433,
524,
29953,
29946,
1495,
13,
13,
4706,
10970,
29918,
16626,
29918,
29878,
15755,
353,
15359,
29889,
3286,
4220,
29898,
2080,
29879,
29918,
16121,
29918,
20155,
29885,
29892,
3635,
11759,
29896,
29892,
29871,
29900,
29892,
29871,
29906,
2314,
13,
4706,
3038,
353,
365,
1254,
29924,
4617,
29898,
1311,
29889,
10892,
29918,
2311,
29892,
1024,
543,
29931,
1254,
29924,
4617,
29918,
1454,
29918,
29878,
15755,
1159,
13,
4706,
1962,
29892,
2186,
29918,
3859,
353,
7343,
29918,
29878,
15755,
29898,
3729,
29922,
3729,
29892,
13,
462,
462,
3986,
10970,
29922,
2080,
29879,
29918,
16626,
29918,
29878,
15755,
29892,
13,
462,
462,
3986,
5665,
29918,
2848,
29922,
16506,
29918,
2848,
29892,
13,
462,
462,
3986,
338,
29918,
24244,
29922,
8824,
29897,
13,
4706,
1962,
29918,
1482,
353,
15359,
29889,
3286,
4220,
29898,
4905,
29892,
3635,
11759,
29896,
29892,
29871,
29900,
29892,
29871,
29906,
2314,
13,
13,
4706,
364,
15755,
29918,
449,
29892,
1833,
29918,
10892,
29892,
1833,
29918,
3729,
353,
6996,
29918,
20155,
29885,
29898,
2080,
29879,
29918,
16121,
29918,
20155,
29885,
29892,
6213,
29892,
6213,
29892,
1583,
29889,
10892,
29918,
2311,
29892,
954,
29918,
29277,
29922,
29896,
29892,
320,
13,
18884,
9853,
29918,
4102,
353,
7700,
29892,
21000,
8684,
284,
29922,
8824,
29892,
5665,
29918,
2848,
29922,
16506,
29918,
2848,
29892,
9566,
29918,
29890,
3173,
353,
29871,
29896,
29889,
29900,
29897,
13,
13,
4706,
565,
7136,
29889,
275,
29918,
2388,
2356,
29918,
2541,
29918,
29883,
6191,
7295,
13,
9651,
2058,
353,
7136,
29889,
29907,
15789,
3301,
1265,
29898,
29900,
29897,
13,
4706,
1683,
29901,
13,
9651,
2058,
353,
7136,
29889,
6271,
4897,
1265,
580,
13,
4706,
429,
29872,
353,
11080,
3406,
29898,
6689,
29897,
13,
4706,
429,
29872,
29889,
3389,
29898,
4468,
29889,
4381,
29918,
2962,
786,
29918,
8860,
3101,
13,
13,
4706,
10970,
29918,
16121,
29918,
20155,
29885,
29918,
9302,
353,
7442,
29889,
8172,
29889,
29590,
29898,
13,
9651,
448,
29900,
29889,
29896,
29892,
29871,
29900,
29889,
29896,
29892,
13,
9651,
313,
1311,
29889,
11762,
29918,
2435,
29892,
1583,
29889,
16175,
29918,
2311,
29892,
1583,
29889,
2080,
29918,
2311,
8106,
579,
668,
877,
7411,
29941,
29906,
1495,
13,
4706,
5665,
29918,
2848,
29918,
9302,
353,
7442,
29889,
2873,
29898,
1311,
29889,
16175,
29918,
2311,
29892,
13,
462,
462,
268,
26688,
2433,
524,
29953,
29946,
1495,
334,
1583,
29889,
11762,
29918,
2435,
13,
13,
4706,
10970,
29918,
9302,
353,
7442,
29889,
8172,
29889,
29590,
29898,
13,
9651,
448,
29900,
29889,
29896,
29892,
29871,
29900,
29889,
29896,
29892,
313,
1311,
29889,
16175,
29918,
2311,
29892,
1583,
29889,
2080,
29918,
2311,
8106,
579,
668,
877,
7411,
29941,
29906,
1495,
13,
4706,
758,
29918,
10892,
29918,
9302,
353,
7442,
29889,
8172,
29889,
29590,
29898,
13,
9651,
448,
29900,
29889,
29896,
29892,
29871,
29900,
29889,
29896,
29892,
313,
1311,
29889,
16175,
29918,
2311,
29892,
1583,
29889,
10892,
29918,
2311,
8106,
579,
668,
877,
7411,
29941,
29906,
1495,
13,
4706,
758,
29918,
3729,
29918,
9302,
353,
7442,
29889,
8172,
29889,
29590,
29898,
13,
9651,
448,
29900,
29889,
29896,
29892,
29871,
29900,
29889,
29896,
29892,
313,
1311,
29889,
16175,
29918,
2311,
29892,
1583,
29889,
10892,
29918,
2311,
8106,
579,
668,
877,
7411,
29941,
29906,
1495,
13,
13,
4706,
1828,
29918,
7039,
353,
5519,
13,
9651,
376,
29931,
1254,
29924,
4617,
29918,
1454,
29918,
29878,
15755,
29914,
16616,
29931,
1254,
29924,
8325,
29918,
29900,
29889,
29893,
29918,
29900,
613,
13,
9651,
376,
16121,
29918,
20155,
29885,
29918,
29277,
29918,
29900,
29914,
16616,
29931,
1254,
29924,
8325,
29918,
29900,
29889,
29893,
29918,
29900,
29908,
13,
4706,
21251,
13,
462,
539,
518,
13,
462,
965,
376,
29931,
1254,
29924,
4617,
29918,
1454,
29918,
29878,
15755,
29914,
16616,
29931,
1254,
29924,
8325,
29918,
29900,
29889,
29890,
29918,
29900,
613,
13,
462,
965,
376,
16121,
29918,
20155,
29885,
29918,
29277,
29918,
29900,
29914,
16616,
29931,
1254,
29924,
8325,
29918,
29900,
29889,
29890,
29918,
29900,
29908,
13,
462,
539,
29588,
13,
13,
4706,
363,
2983,
297,
1828,
29918,
7039,
29901,
13,
9651,
1828,
353,
7442,
29889,
2378,
29898,
1579,
5416,
29889,
10945,
29918,
6078,
2141,
2886,
29918,
1707,
29898,
13,
18884,
2983,
29961,
29900,
14664,
657,
29918,
20158,
3101,
13,
9651,
1828,
353,
7442,
29889,
8172,
29889,
29590,
6278,
29900,
29889,
29896,
29892,
29871,
29900,
29889,
29896,
29892,
13,
462,
462,
418,
2159,
29922,
3207,
29889,
12181,
467,
579,
668,
877,
7411,
29941,
29906,
1495,
13,
9651,
22576,
29889,
10945,
29918,
6078,
2141,
2886,
29918,
1707,
29898,
7039,
29961,
29900,
14664,
657,
29918,
20158,
2141,
842,
29898,
13,
18884,
1828,
29892,
2058,
29897,
13,
9651,
22576,
29889,
10945,
29918,
6078,
2141,
2886,
29918,
1707,
29898,
7039,
29961,
29896,
14664,
657,
29918,
20158,
2141,
842,
29898,
13,
18884,
1828,
29892,
2058,
29897,
13,
13,
4706,
714,
353,
429,
29872,
29889,
3389,
29898,
18798,
3790,
13,
9651,
525,
2080,
29879,
29918,
16121,
29918,
20155,
29885,
2396,
10970,
29918,
16121,
29918,
20155,
29885,
29918,
9302,
29892,
13,
9651,
525,
16506,
29918,
2848,
2396,
5665,
29918,
2848,
29918,
9302,
29892,
13,
9651,
525,
2080,
29879,
2396,
10970,
29918,
9302,
29892,
13,
9651,
525,
1457,
29918,
10892,
2396,
758,
29918,
10892,
29918,
9302,
29892,
13,
9651,
525,
1457,
29918,
3729,
2396,
758,
29918,
3729,
29918,
9302,
13,
4706,
2981,
13,
462,
418,
6699,
29918,
1761,
11759,
4905,
29918,
1482,
29892,
364,
15755,
29918,
449,
2314,
13,
13,
4706,
1583,
29889,
9294,
5574,
29898,
9302,
29889,
497,
5358,
29898,
449,
29961,
29900,
1402,
714,
29961,
29896,
1402,
364,
25027,
29922,
29896,
29872,
29899,
29946,
876,
13,
13,
13,
1990,
4321,
29934,
15755,
7270,
29898,
348,
27958,
29889,
3057,
8259,
1125,
13,
1678,
9995,
13,
1678,
4321,
4251,
363,
364,
15755,
3095,
275,
29915,
19725,
3519,
363,
23746,
29889,
13,
1678,
9995,
13,
13,
1678,
822,
1243,
29918,
4878,
29898,
1311,
1125,
13,
4706,
10970,
353,
8853,
1989,
29896,
1115,
29871,
29896,
29892,
376,
1989,
29906,
1115,
29871,
29906,
29913,
13,
4706,
3653,
353,
14013,
921,
29901,
921,
718,
29871,
29896,
13,
4706,
14391,
353,
3667,
29879,
29889,
1958,
29918,
23905,
29898,
9891,
29892,
10970,
29897,
13,
4706,
3667,
29879,
29889,
9294,
29918,
17642,
29918,
23905,
29898,
2080,
29879,
29892,
14391,
29897,
13,
4706,
1018,
29901,
13,
9651,
10970,
3366,
1989,
29941,
3108,
353,
29871,
29941,
13,
9651,
3667,
29879,
29889,
9294,
29918,
17642,
29918,
23905,
29898,
2080,
29879,
29892,
14391,
29897,
13,
4706,
5174,
7865,
2392,
408,
15882,
29901,
13,
9651,
1209,
13,
13,
13,
1990,
11346,
6119,
4617,
29898,
29934,
10262,
4617,
1125,
13,
1678,
9995,
8566,
6119,
19413,
15945,
29908,
13,
13,
1678,
822,
4770,
2344,
12035,
13,
4706,
1583,
29892,
13,
4706,
954,
29918,
29277,
29892,
13,
4706,
7934,
29918,
2311,
29892,
13,
4706,
5768,
449,
29918,
22795,
29922,
29900,
1696,
13,
4706,
2069,
29918,
7052,
29922,
29900,
29889,
29896,
29892,
13,
268,
1125,
13,
4706,
1583,
29889,
1949,
29918,
29277,
353,
954,
29918,
29277,
13,
4706,
1583,
29889,
10892,
29918,
2311,
353,
7934,
29918,
2311,
13,
4706,
1583,
29889,
8865,
449,
29918,
22795,
353,
5768,
449,
29918,
22795,
13,
4706,
1583,
29889,
20155,
29885,
29918,
3729,
29879,
353,
5159,
13,
13,
4706,
363,
474,
297,
3464,
29898,
1949,
29918,
29277,
1125,
13,
9651,
1583,
29889,
20155,
29885,
29918,
3729,
29879,
29889,
4397,
29898,
29931,
1254,
29924,
4617,
29898,
10892,
29918,
2311,
876,
13,
13,
1678,
822,
1246,
29898,
1311,
29892,
4331,
29918,
2080,
29892,
5922,
1125,
13,
4706,
716,
29918,
28631,
353,
5159,
13,
4706,
363,
474,
297,
3464,
29898,
1311,
29889,
1949,
29918,
29277,
1125,
13,
9651,
714,
29892,
716,
29918,
3859,
353,
1583,
29889,
20155,
29885,
29918,
3729,
29879,
29961,
29875,
850,
10568,
29918,
2080,
29892,
5922,
29961,
29875,
2314,
13,
9651,
4331,
29918,
2080,
353,
15359,
29889,
8865,
449,
29898,
13,
18884,
714,
29892,
13,
18884,
1583,
29889,
8865,
449,
29918,
22795,
29892,
13,
9651,
1723,
565,
1583,
29889,
8865,
449,
29918,
22795,
1683,
714,
13,
9651,
716,
29918,
28631,
29889,
4397,
29898,
1482,
29918,
3859,
29897,
13,
4706,
736,
4331,
29918,
2080,
29892,
716,
29918,
28631,
13,
13,
1678,
732,
6799,
13,
1678,
822,
2106,
29918,
12181,
29898,
1311,
1125,
13,
4706,
736,
518,
3729,
29889,
3859,
29918,
12181,
363,
3038,
297,
1583,
29889,
20155,
29885,
29918,
3729,
29879,
29962,
13,
13,
13,
1990,
3826,
6119,
4617,
29898,
29934,
10262,
4617,
1125,
13,
1678,
9995,
6185,
6119,
19413,
15945,
29908,
13,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
954,
29918,
29277,
29892,
7934,
29918,
2311,
29892,
5768,
449,
29918,
22795,
29922,
29900,
9575,
13,
4706,
1583,
29889,
1949,
29918,
29277,
353,
954,
29918,
29277,
13,
4706,
1583,
29889,
10892,
29918,
2311,
353,
7934,
29918,
2311,
13,
4706,
1583,
29889,
8865,
449,
29918,
22795,
353,
5768,
449,
29918,
22795,
13,
4706,
1583,
29889,
20155,
29885,
29918,
3729,
29879,
353,
5159,
13,
4706,
363,
474,
297,
3464,
29898,
1949,
29918,
29277,
1125,
13,
9651,
1583,
29889,
20155,
29885,
29918,
3729,
29879,
29889,
4397,
29898,
29931,
1254,
29924,
4617,
29898,
10892,
29918,
2311,
876,
13,
13,
1678,
822,
1246,
29898,
1311,
29892,
4331,
29918,
2080,
29892,
5922,
1125,
13,
4706,
716,
29918,
20155,
29885,
29918,
28631,
353,
5159,
13,
4706,
363,
474,
297,
3464,
29898,
1311,
29889,
1949,
29918,
29277,
1125,
13,
9651,
714,
29892,
716,
29918,
20155,
29885,
29918,
3859,
353,
1583,
29889,
20155,
29885,
29918,
3729,
29879,
29961,
29875,
850,
10568,
29918,
2080,
29892,
5922,
29961,
29875,
2314,
13,
9651,
4331,
29918,
2080,
353,
15359,
29889,
8865,
449,
29898,
13,
18884,
714,
29892,
13,
18884,
1583,
29889,
8865,
449,
29918,
22795,
29892,
13,
9651,
1723,
565,
1583,
29889,
8865,
449,
29918,
22795,
1683,
714,
13,
9651,
716,
29918,
20155,
29885,
29918,
28631,
29889,
4397,
29898,
1482,
29918,
20155,
29885,
29918,
3859,
29897,
13,
4706,
736,
4331,
29918,
2080,
29892,
716,
29918,
20155,
29885,
29918,
28631,
13,
13,
13,
1753,
822,
29918,
11762,
29906,
11762,
29918,
4299,
29898,
1949,
29918,
29277,
29892,
7934,
29918,
2311,
29892,
5768,
449,
29918,
22795,
29892,
4765,
29918,
29894,
542,
370,
29918,
2311,
29892,
13,
462,
418,
534,
29887,
29918,
29894,
542,
370,
29918,
2311,
1125,
13,
1678,
376,
3703,
2911,
19359,
29906,
11762,
1904,
29908,
13,
1678,
396,
848,
13,
1678,
2752,
353,
22576,
29889,
1272,
29898,
978,
543,
4351,
613,
8267,
11759,
8516,
29892,
6213,
1402,
26688,
543,
524,
29953,
29946,
1159,
13,
1678,
2752,
29918,
2848,
353,
22576,
29889,
1272,
29898,
978,
543,
4351,
29918,
16506,
29918,
2848,
613,
13,
462,
1669,
8267,
11759,
8516,
1402,
13,
462,
1669,
26688,
543,
524,
29953,
29946,
1159,
13,
1678,
3646,
353,
22576,
29889,
1272,
29898,
978,
543,
509,
29887,
613,
8267,
11759,
8516,
29892,
6213,
1402,
26688,
543,
524,
29953,
29946,
1159,
13,
1678,
3646,
29918,
2848,
353,
22576,
29889,
1272,
29898,
978,
543,
509,
29887,
29918,
16506,
29918,
2848,
613,
13,
462,
1669,
8267,
11759,
8516,
1402,
13,
462,
1669,
26688,
543,
524,
29953,
29946,
1159,
13,
1678,
3858,
353,
22576,
29889,
1272,
29898,
978,
543,
1643,
613,
8267,
11759,
8516,
29892,
6213,
29892,
29871,
29896,
1402,
26688,
543,
524,
29953,
29946,
1159,
13,
13,
1678,
396,
23655,
13,
1678,
4765,
29918,
1590,
353,
22576,
29889,
17987,
8497,
29898,
4993,
29892,
313,
4351,
29918,
29894,
542,
370,
29918,
2311,
29892,
7934,
29918,
2311,
876,
13,
1678,
9913,
29918,
1590,
353,
22576,
29889,
17987,
8497,
29898,
5182,
29892,
313,
4351,
29918,
29894,
542,
370,
29918,
2311,
29892,
7934,
29918,
2311,
876,
13,
13,
1678,
396,
2094,
6119,
13,
1678,
2094,
29918,
3729,
353,
11346,
6119,
4617,
29898,
1949,
29918,
29277,
29892,
7934,
29918,
2311,
29892,
5768,
449,
29918,
22795,
29897,
13,
1678,
2094,
29918,
4905,
29892,
2094,
29918,
8394,
29918,
3859,
353,
7343,
29918,
29878,
15755,
29898,
3729,
29922,
3977,
29918,
3729,
29892,
13,
462,
462,
795,
10970,
29922,
4351,
29918,
1590,
29892,
13,
462,
462,
795,
5665,
29918,
2848,
29922,
4993,
29918,
2848,
29897,
13,
13,
1678,
396,
1602,
6119,
13,
1678,
1602,
29918,
3729,
353,
3826,
6119,
4617,
29898,
1949,
29918,
29277,
29892,
7934,
29918,
2311,
29892,
5768,
449,
29918,
22795,
29897,
13,
1678,
1602,
29918,
4905,
29892,
1602,
29918,
8394,
29918,
3859,
353,
7343,
29918,
29878,
15755,
29898,
3729,
29922,
7099,
29918,
3729,
29892,
13,
462,
462,
795,
10970,
29922,
12637,
29918,
1590,
29892,
13,
462,
462,
795,
2847,
29918,
28631,
29922,
3977,
29918,
8394,
29918,
3859,
29897,
13,
1678,
1480,
1169,
353,
15359,
29889,
13801,
29898,
7099,
29918,
4905,
29892,
13,
462,
539,
2159,
29922,
509,
29887,
29918,
29894,
542,
370,
29918,
2311,
29892,
13,
462,
539,
954,
29918,
1579,
8606,
29918,
6229,
29879,
29922,
2435,
29898,
7099,
29918,
4905,
29889,
12181,
29897,
448,
29871,
29896,
29892,
13,
462,
539,
24003,
29918,
5552,
29922,
8824,
29897,
13,
13,
1678,
396,
6410,
13,
1678,
6410,
353,
15359,
29889,
2695,
3317,
29918,
2541,
29918,
19128,
29918,
296,
14441,
29898,
1188,
1169,
29922,
1188,
1169,
29892,
13,
462,
462,
632,
3858,
29922,
1643,
29892,
13,
462,
462,
632,
4964,
29918,
1643,
29922,
8824,
29897,
13,
1678,
6410,
353,
15359,
29889,
6948,
802,
29872,
911,
29898,
6758,
29892,
27815,
11759,
29906,
2314,
13,
1678,
4236,
29918,
12637,
29918,
11762,
29918,
2435,
353,
15359,
29889,
12181,
29898,
5182,
9601,
29896,
29962,
13,
1678,
9913,
29918,
13168,
353,
15359,
29889,
16506,
29918,
13168,
29898,
5182,
29918,
2848,
29892,
13,
462,
462,
1678,
4236,
2435,
29922,
3317,
29918,
12637,
29918,
11762,
29918,
2435,
29892,
13,
462,
462,
1678,
26688,
543,
7411,
29941,
29906,
1159,
13,
1678,
6410,
353,
6410,
334,
9913,
29918,
13168,
13,
1678,
6410,
353,
15359,
29889,
17469,
29918,
12676,
29898,
6758,
29892,
3964,
11759,
29900,
2314,
13,
1678,
6410,
353,
15359,
29889,
17469,
29918,
2083,
29898,
6758,
29897,
13,
13,
1678,
396,
5994,
3950,
13,
1678,
5994,
3950,
353,
22576,
29889,
20640,
3950,
29889,
3253,
314,
29898,
29900,
29889,
29900,
29900,
29896,
29897,
13,
1678,
5994,
3950,
29889,
1195,
326,
675,
29898,
6758,
29897,
13,
1678,
736,
6410,
13,
13,
13,
1990,
4321,
23718,
29906,
23718,
3195,
29898,
348,
27958,
29889,
3057,
8259,
1125,
13,
1678,
9995,
13,
1678,
4321,
4251,
304,
9659,
19359,
29906,
11762,
7882,
6694,
5149,
29889,
13,
1678,
9995,
13,
13,
1678,
822,
731,
3373,
29898,
1311,
1125,
13,
4706,
7442,
29889,
8172,
29889,
26776,
29898,
29896,
29906,
29941,
29897,
13,
4706,
1583,
29889,
4299,
29918,
29882,
7529,
353,
426,
13,
9651,
376,
1949,
29918,
29277,
1115,
29871,
29906,
29892,
13,
9651,
376,
10892,
29918,
2311,
1115,
29871,
29896,
29906,
29947,
29892,
13,
9651,
376,
8865,
449,
29918,
22795,
1115,
29871,
29900,
29889,
29896,
29892,
13,
9651,
376,
4351,
29918,
29894,
542,
370,
29918,
2311,
1115,
29871,
29896,
29900,
29900,
29892,
13,
9651,
376,
509,
29887,
29918,
29894,
542,
370,
29918,
2311,
1115,
29871,
29896,
29900,
29900,
13,
4706,
500,
13,
13,
4706,
1583,
29889,
1524,
29918,
1949,
353,
4256,
29918,
1949,
353,
29871,
29906,
13,
4706,
1583,
29889,
16175,
29918,
2311,
353,
9853,
29918,
2311,
353,
29871,
29946,
13,
4706,
4765,
29918,
11762,
29918,
2435,
353,
29871,
29896,
29900,
13,
4706,
534,
29887,
29918,
11762,
29918,
2435,
353,
29871,
29896,
29906,
13,
4706,
1583,
29889,
1272,
353,
426,
13,
9651,
376,
4351,
1115,
13,
9651,
7442,
29889,
8172,
29889,
9502,
524,
29898,
13,
462,
29906,
29892,
1583,
29889,
4299,
29918,
29882,
7529,
3366,
4351,
29918,
29894,
542,
370,
29918,
2311,
12436,
13,
18884,
313,
1524,
29918,
1949,
334,
9853,
29918,
2311,
29892,
4765,
29918,
11762,
29918,
2435,
8106,
579,
668,
703,
524,
29953,
29946,
4968,
13,
9651,
376,
4351,
29918,
16506,
29918,
2848,
1115,
13,
9651,
7442,
29889,
8172,
29889,
9502,
524,
29898,
29896,
29892,
4765,
29918,
11762,
29918,
2435,
29892,
13,
462,
795,
313,
1524,
29918,
1949,
334,
9853,
29918,
2311,
29892,
1723,
467,
579,
668,
703,
524,
29953,
29946,
4968,
13,
9651,
376,
509,
29887,
1115,
13,
9651,
7442,
29889,
8172,
29889,
9502,
524,
29898,
13,
462,
29906,
29892,
1583,
29889,
4299,
29918,
29882,
7529,
3366,
4351,
29918,
29894,
542,
370,
29918,
2311,
12436,
13,
18884,
313,
1524,
29918,
1949,
334,
9853,
29918,
2311,
29892,
534,
29887,
29918,
11762,
29918,
2435,
8106,
579,
668,
703,
524,
29953,
29946,
4968,
13,
9651,
376,
509,
29887,
29918,
16506,
29918,
2848,
1115,
13,
9651,
7442,
29889,
8172,
29889,
9502,
524,
29898,
29896,
29892,
534,
29887,
29918,
11762,
29918,
2435,
29892,
13,
462,
795,
313,
1524,
29918,
1949,
334,
9853,
29918,
2311,
29892,
1723,
467,
579,
668,
703,
524,
29953,
29946,
4968,
13,
9651,
376,
1643,
1115,
13,
9651,
7442,
29889,
8172,
29889,
9502,
524,
29898,
13,
462,
29906,
29892,
1583,
29889,
4299,
29918,
29882,
7529,
3366,
4351,
29918,
29894,
542,
370,
29918,
2311,
12436,
13,
18884,
313,
1524,
29918,
1949,
334,
9853,
29918,
2311,
29892,
534,
29887,
29918,
11762,
29918,
2435,
29892,
29871,
29896,
8106,
579,
668,
703,
524,
29953,
29946,
4968,
13,
4706,
500,
13,
13,
4706,
2058,
353,
7136,
29889,
29907,
15789,
3301,
1265,
29898,
13,
632,
29900,
29897,
565,
7136,
29889,
275,
29918,
2388,
2356,
29918,
2541,
29918,
29883,
6191,
580,
1683,
7136,
29889,
6271,
4897,
1265,
580,
13,
4706,
1583,
29889,
8097,
353,
11080,
3406,
29898,
6689,
29897,
13,
13,
1678,
822,
1243,
29918,
11762,
29906,
11762,
29918,
4299,
29898,
1311,
1125,
13,
4706,
1667,
29918,
8860,
353,
22576,
29889,
9283,
580,
13,
4706,
20234,
29918,
8860,
353,
22576,
29889,
9283,
580,
13,
4706,
411,
22576,
29889,
8860,
29918,
17728,
29898,
3396,
29918,
8860,
29892,
20234,
29918,
8860,
1125,
13,
9651,
3438,
353,
822,
29918,
11762,
29906,
11762,
29918,
4299,
29898,
1068,
1311,
29889,
4299,
29918,
29882,
7529,
29897,
13,
9651,
1583,
29889,
8097,
29889,
3389,
29898,
2962,
786,
29918,
8860,
29897,
13,
9651,
363,
4256,
29918,
13140,
297,
3464,
29898,
1311,
29889,
1524,
29918,
1949,
1125,
13,
18884,
3438,
29918,
791,
353,
1583,
29889,
8097,
29889,
3389,
29898,
18798,
3790,
13,
462,
1678,
376,
4351,
1115,
13,
462,
1678,
1583,
29889,
1272,
3366,
4351,
3108,
29961,
1524,
29918,
13140,
334,
1583,
29889,
16175,
29918,
2311,
5919,
1524,
29918,
13140,
718,
29871,
29896,
29897,
334,
13,
462,
462,
268,
1583,
29889,
16175,
29918,
2311,
29892,
584,
1402,
13,
462,
1678,
376,
4351,
29918,
16506,
29918,
2848,
1115,
13,
462,
1678,
1583,
29889,
1272,
3366,
4351,
29918,
16506,
29918,
2848,
3108,
29961,
1524,
29918,
13140,
334,
13,
462,
462,
462,
268,
1583,
29889,
16175,
29918,
2311,
5919,
1524,
29918,
13140,
718,
13,
462,
462,
462,
462,
539,
29896,
29897,
334,
13,
462,
462,
462,
268,
1583,
29889,
16175,
29918,
2311,
1402,
13,
462,
1678,
376,
509,
29887,
1115,
13,
462,
1678,
1583,
29889,
1272,
3366,
509,
29887,
3108,
29961,
1524,
29918,
13140,
334,
1583,
29889,
16175,
29918,
2311,
5919,
1524,
29918,
13140,
718,
29871,
29896,
29897,
334,
13,
462,
462,
268,
1583,
29889,
16175,
29918,
2311,
29892,
584,
1402,
13,
462,
1678,
376,
509,
29887,
29918,
16506,
29918,
2848,
1115,
13,
462,
1678,
1583,
29889,
1272,
3366,
509,
29887,
29918,
16506,
29918,
2848,
3108,
29961,
1524,
29918,
13140,
334,
13,
462,
462,
462,
268,
1583,
29889,
16175,
29918,
2311,
5919,
1524,
29918,
13140,
718,
13,
462,
462,
462,
462,
539,
29896,
29897,
334,
13,
462,
462,
462,
268,
1583,
29889,
16175,
29918,
2311,
1402,
13,
462,
1678,
376,
1643,
1115,
13,
462,
1678,
1583,
29889,
1272,
3366,
1643,
3108,
29961,
1524,
29918,
13140,
334,
13,
462,
462,
539,
1583,
29889,
16175,
29918,
2311,
5919,
1524,
29918,
13140,
718,
29871,
29896,
29897,
334,
13,
462,
462,
539,
1583,
29889,
16175,
29918,
2311,
29962,
13,
18884,
2981,
13,
462,
462,
4706,
6699,
29918,
1761,
11759,
18253,
2314,
29961,
29900,
29962,
13,
18884,
1596,
703,
1524,
29918,
13140,
29901,
1273,
29881,
29892,
3438,
29901,
1273,
29888,
29908,
1273,
313,
1524,
29918,
13140,
29892,
3438,
29918,
791,
876,
13,
13,
13,
361,
4770,
978,
1649,
1275,
525,
1649,
3396,
1649,
2396,
13,
1678,
443,
27958,
29889,
3396,
580,
13,
2
] |
ovirt-guest-agent/GuestAgentLinux2.py | edwardbadboy/ovirtagent-ubuntu | 0 | 67318 | #
# Copyright 2010-2012 Red Hat, Inc. and/or its affiliates.
#
# 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.
#
# Refer to the README and COPYING files for full details of the license.
#
import logging
import os
import socket
import subprocess
import threading
import time
from OVirtAgentLogic import AgentLogicBase, DataRetriverBase
CredServer = None
try:
from CredServer import CredServer as CredServerImported
CredServer = CredServerImported
except ImportError:
# The CredServer doesn't exist in RHEL-5. So we provide a
# fake server that do nothing.
class CredServerFake(threading.Thread):
def user_authenticated(self, credentials):
pass
CredServer = CredServerFake
class PkgMgr(object):
def rpm_list_packages(self, app_list):
""" Implementes the package retrieval for rpm based environments """
apps = set()
for name in app_list.split():
ts = self.rpm.TransactionSet()
for app in ts.dbMatch('name', name):
apps.add("%s-%s-%s" %
(app['name'], app['version'], app['release']))
return apps
def apt_list_packages(self, app_list):
""" Implementes the package retrieval for apt based environments """
INSTALLED_STATE = self.apt_pkg.CURSTATE_INSTALLED
apps = set()
cache = self.apt_pkg.Cache()
for app in app_list.split():
if app in cache:
pkg = cache[app]
# Normal package
if pkg.current_state == INSTALLED_STATE:
detail = (app, pkg.current_ver.ver_str)
apps.add("%s-%s" % (detail))
# virtual package
elif len(pkg.provides_list) > 0:
for _, _, pkg in pkg.provides_list:
if pkg.parent_pkg.current_state == INSTALLED_STATE:
detail = (app, pkg.parent_pkg.current_ver.ver_str)
apps.add("%s-%s" % (detail))
return apps
def list_pkgs(self, app_list):
""" Implements the package retrieval for apt and rpm if present and
returns a joined list of packages installed on the system. """
apps = set()
if self.rpm:
apps.update(self.rpm_list_packages(app_list))
if self.apt_pkg:
apps.update(self.apt_list_packages(app_list))
apps = list(apps)
logging.debug("PkgMgr: list_pkgs returns [%s]" % (str(apps)))
return apps
def __init__(self):
self.rpm = None
self.apt_pkg = None
try:
import rpm
self.rpm = rpm
except ImportError:
pass
try:
from apt import apt_pkg
apt_pkg.init()
self.apt_pkg = apt_pkg
except ImportError:
pass
if not self.rpm and not self.apt_pkg:
logging.info("Unknown package management. Application list "
"report is disabled.")
class NicMgr(object):
def __init__(self):
try:
import ethtool
except ImportError:
raise NotImplementedError
self.ethtool = ethtool
self.list_nics = self.ethtool_list_nics
def _get_ipv4_addresses(self, dev):
if hasattr(dev, 'get_ipv4_addresses'):
ipv4_addrs = []
for ip in dev.get_ipv4_addresses():
ipv4_addrs.append(ip.address)
return ipv4_addrs
if dev.ipv4_address is not None:
return [dev.ipv4_address]
else:
return []
def _get_ipv6_addresses(self, dev):
ipv6_addrs = []
for ip in dev.get_ipv6_addresses():
ipv6_addrs.append(ip.address)
return ipv6_addrs
def ethtool_list_nics(self):
interfaces = list()
try:
for dev in self.ethtool.get_devices():
flags = self.ethtool.get_flags(dev)
if flags & self.ethtool.IFF_UP and \
not(flags & self.ethtool.IFF_LOOPBACK):
devinfo = self.ethtool.get_interfaces_info(dev)[0]
interfaces.append(
{'name': dev,
'inet': self._get_ipv4_addresses(devinfo),
'inet6': self._get_ipv6_addresses(devinfo),
'hw': self.ethtool.get_hwaddr(dev)})
except:
logging.exception("Error retrieving network interfaces.")
return interfaces
class CommandHandlerLinux:
def __init__(self, agent):
self.agent = agent
def lock_screen(self):
cmd = ['/usr/share/ovirt-guest-agent/ovirt-locksession']
logging.debug("Executing lock session command: '%s'", cmd)
subprocess.call(cmd)
def login(self, credentials):
self.agent.cred_server.user_authenticated(credentials)
def logoff(self):
pass
def shutdown(self, timeout, msg):
# The shutdown command works with minutes while vdsm send value in
# seconds, so we round up the value to minutes.
delay = (int(timeout) + 59) / 60
cmd = ['/usr/share/ovirt-guest-agent/ovirt-shutdown', '-h',
"+%d" % (delay), "\"%s\"" % (msg)]
logging.debug("Executing shutdown command: %s", cmd)
subprocess.call(cmd)
def hibernate(self, state):
cmd = ['/usr/share/ovirt-guest-agent/ovirt-hibernate', state]
logging.debug("Executing hibernate command: %s", cmd)
subprocess.call(cmd)
class LinuxDataRetriver(DataRetriverBase):
def __init__(self):
try:
pkgmgr = PkgMgr()
except NotImplementedError:
self.list_pkgs = lambda app_list: []
else:
self.list_pkgs = pkgmgr.list_pkgs
try:
nicmgr = NicMgr()
except NotImplementedError:
self.list_nics = lambda: []
else:
self.list_nics = nicmgr.list_nics
self.app_list = ""
self.ignored_fs = ""
self._init_vmstat()
DataRetriverBase.__init__(self)
def getMachineName(self):
return socket.getfqdn()
def getOsVersion(self):
return os.uname()[2]
def getAllNetworkInterfaces(self):
return self.list_nics()
def getApplications(self):
return self.list_pkgs(self.app_list)
def getAvailableRAM(self):
free = 0
for line in open('/proc/meminfo'):
var, value = line.strip().split()[0:2]
if var in ('MemFree:', 'Buffers:', 'Cached:'):
free += long(value)
return str(free / 1024)
def getUsers(self):
users = ''
try:
cmdline = '/usr/bin/users | /usr/bin/tr " " "\n" | /usr/bin/uniq'
users = ' '.join(os.popen(cmdline).read().split())
except:
logging.exception("Error retrieving logged in users.")
return users
def getActiveUser(self):
users = os.popen('/usr/bin/users').read().split()
try:
user = users[0]
except:
user = 'None'
return user
def getDisksUsage(self):
usages = list()
with open('/proc/mounts') as mounts:
for mount in mounts:
try:
(device, path, fs) = mount.split()[:3]
if not fs in self.ignored_fs:
# path might include spaces.
path = path.decode("string-escape")
statvfs = os.statvfs(path)
total = statvfs.f_bsize * statvfs.f_blocks
used = total - statvfs.f_bsize * statvfs.f_bfree
usages.append({'path': path, 'fs': fs, 'total': total,
'used': used})
except:
logging.exception("Error retrieving disks usages.")
return usages
def getMemoryStats(self):
try:
self._get_meminfo()
self._get_vmstat()
except:
logging.exception("Error retrieving memory stats.")
return self.memStats
def _init_vmstat(self):
self.vmstat = {}
self.vmstat['timestamp_prev'] = time.time()
fields = ['swap_in', 'swap_out', 'pageflt', 'majflt']
for field in fields:
self.vmstat[field + '_prev'] = None
self.vmstat[field + '_cur'] = None
def _get_meminfo(self):
fields = {'MemTotal:': 0, 'MemFree:': 0, 'Buffers:': 0,
'Cached:': 0}
free = 0
for line in open('/proc/meminfo'):
(key, value) = line.strip().split()[0:2]
if key in fields.keys():
fields[key] = int(value)
if key in ('MemFree:', 'Buffers:', 'Cached:'):
free += int(value)
self.memStats['mem_total'] = fields['MemTotal:']
self.memStats['mem_unused'] = fields['MemFree:']
self.memStats['mem_free'] = free
def _get_vmstat(self):
"""
/proc/vmstat reports cumulative statistics so we must subtract the
previous values to get the difference since the last collection.
"""
fields = {'pswpin': 'swap_in', 'pswpout': 'swap_out',
'pgfault': 'pageflt', 'pgmajfault': 'majflt'}
self.vmstat['timestamp_cur'] = time.time()
interval = self.vmstat['timestamp_cur'] - self.vmstat['timestamp_prev']
self.vmstat['timestamp_prev'] = self.vmstat['timestamp_cur']
for line in open('/proc/vmstat'):
(key, value) = line.strip().split()[0:2]
if key in fields.keys():
name = fields[key]
self.vmstat[name + '_prev'] = self.vmstat[name + '_cur']
self.vmstat[name + '_cur'] = int(value)
if self.vmstat[name + '_prev'] is None:
self.vmstat[name + '_prev'] = self.vmstat[name + '_cur']
self.memStats[name] = int((self.vmstat[name + '_cur'] -
self.vmstat[name + '_prev']) /
interval)
class LinuxVdsAgent(AgentLogicBase):
def __init__(self, config):
AgentLogicBase.__init__(self, config)
self.dr = LinuxDataRetriver()
self.dr.app_list = config.get("general", "applications_list")
self.dr.ignored_fs = set(config.get("general", "ignored_fs").split())
self.commandHandler = CommandHandlerLinux(self)
self.cred_server = CredServer()
def run(self):
self.cred_server.start()
AgentLogicBase.run(self)
def stop(self):
self.cred_server.join()
AgentLogicBase.stop(self)
def test():
import pprint
dr = LinuxDataRetriver()
dr.app_list = "kernel kernel-headers aspell"
dr.ignored_fs = set("rootfs tmpfs autofs cgroup selinuxfs udev mqueue "
"nfsd proc sysfs devtmpfs hugetlbfs rpc_pipefs devpts "
"securityfs debugfs binfmt_misc fuse.gvfsd-fuse "
"fuse.gvfs-fuse-daemon fusectl usbfs".split())
print "Machine Name:", dr.getMachineName()
print "OS Version:", dr.getOsVersion()
print "Network Interfaces:", dr.getAllNetworkInterfaces()
print "Installed Applications:", dr.getApplications()
print "Available RAM:", dr.getAvailableRAM()
print "Logged in Users:", dr.getUsers()
print "Active User:", dr.getActiveUser()
print "Disks Usage:", pprint.pprint(dr.getDisksUsage())
print "Memory Stats:", dr.getMemoryStats()
if __name__ == '__main__':
test()
| [
1,
396,
13,
29937,
14187,
1266,
29871,
29906,
29900,
29896,
29900,
29899,
29906,
29900,
29896,
29906,
4367,
25966,
29892,
9266,
29889,
322,
29914,
272,
967,
23736,
1078,
29889,
13,
29937,
13,
29937,
10413,
21144,
1090,
278,
13380,
19245,
29892,
10079,
29871,
29906,
29889,
29900,
313,
1552,
376,
29931,
293,
1947,
1496,
13,
29937,
366,
1122,
451,
671,
445,
934,
5174,
297,
752,
13036,
411,
278,
19245,
29889,
13,
29937,
887,
1122,
4017,
263,
3509,
310,
278,
19245,
472,
13,
29937,
13,
29937,
259,
1732,
597,
1636,
29889,
4288,
29889,
990,
29914,
506,
11259,
29914,
27888,
1430,
1660,
29899,
29906,
29889,
29900,
13,
29937,
13,
29937,
25870,
3734,
491,
22903,
4307,
470,
15502,
304,
297,
5007,
29892,
7047,
13,
29937,
13235,
1090,
278,
19245,
338,
13235,
373,
385,
376,
3289,
8519,
29908,
350,
3289,
3235,
29892,
13,
29937,
399,
1806,
8187,
2692,
399,
1718,
29934,
13566,
29059,
6323,
8707,
29928,
22122,
29903,
8079,
13764,
29979,
476,
22255,
29892,
2845,
4653,
470,
2411,
2957,
29889,
13,
29937,
2823,
278,
19245,
363,
278,
2702,
4086,
14765,
1076,
11239,
322,
13,
29937,
27028,
1090,
278,
19245,
29889,
13,
29937,
13,
29937,
4118,
304,
278,
5195,
3035,
2303,
322,
315,
4590,
29979,
4214,
2066,
363,
2989,
4902,
310,
278,
19405,
29889,
13,
29937,
13,
13,
5215,
12183,
13,
5215,
2897,
13,
5215,
9909,
13,
5215,
1014,
5014,
13,
5215,
3244,
292,
13,
5215,
931,
13,
3166,
438,
29963,
2728,
19661,
3403,
293,
1053,
28330,
3403,
293,
5160,
29892,
3630,
8015,
3511,
5160,
13,
13,
15507,
6004,
353,
6213,
13,
2202,
29901,
13,
1678,
515,
24596,
6004,
1053,
24596,
6004,
408,
24596,
6004,
17518,
287,
13,
1678,
24596,
6004,
353,
24596,
6004,
17518,
287,
13,
19499,
16032,
2392,
29901,
13,
1678,
396,
450,
24596,
6004,
1838,
29915,
29873,
1863,
297,
390,
29950,
6670,
29899,
29945,
29889,
1105,
591,
3867,
263,
13,
1678,
396,
25713,
1923,
393,
437,
3078,
29889,
13,
1678,
770,
24596,
6004,
29943,
1296,
29898,
7097,
292,
29889,
4899,
1125,
13,
4706,
822,
1404,
29918,
27218,
630,
29898,
1311,
29892,
16140,
1125,
13,
9651,
1209,
13,
1678,
24596,
6004,
353,
24596,
6004,
29943,
1296,
13,
13,
13,
1990,
349,
9415,
29924,
629,
29898,
3318,
1125,
13,
13,
1678,
822,
364,
3358,
29918,
1761,
29918,
8318,
29898,
1311,
29892,
623,
29918,
1761,
1125,
13,
4706,
9995,
1954,
2037,
267,
278,
3577,
5663,
16837,
363,
364,
3358,
2729,
23136,
9995,
13,
4706,
11446,
353,
731,
580,
13,
4706,
363,
1024,
297,
623,
29918,
1761,
29889,
5451,
7295,
13,
9651,
18696,
353,
1583,
29889,
29878,
3358,
29889,
12460,
2697,
580,
13,
9651,
363,
623,
297,
18696,
29889,
2585,
9652,
877,
978,
742,
1024,
1125,
13,
18884,
11446,
29889,
1202,
11702,
29879,
19222,
29879,
19222,
29879,
29908,
1273,
13,
462,
308,
313,
932,
1839,
978,
7464,
623,
1839,
3259,
7464,
623,
1839,
14096,
25901,
13,
4706,
736,
11446,
13,
13,
1678,
822,
10882,
29918,
1761,
29918,
8318,
29898,
1311,
29892,
623,
29918,
1761,
1125,
13,
4706,
9995,
1954,
2037,
267,
278,
3577,
5663,
16837,
363,
10882,
2729,
23136,
9995,
13,
4706,
2672,
1254,
1964,
20566,
29918,
19713,
353,
1583,
29889,
2156,
29918,
15865,
29889,
22484,
19713,
29918,
25580,
1964,
20566,
13,
4706,
11446,
353,
731,
580,
13,
4706,
7090,
353,
1583,
29889,
2156,
29918,
15865,
29889,
10408,
580,
13,
4706,
363,
623,
297,
623,
29918,
1761,
29889,
5451,
7295,
13,
9651,
565,
623,
297,
7090,
29901,
13,
18884,
282,
9415,
353,
7090,
29961,
932,
29962,
13,
18884,
396,
21981,
3577,
13,
18884,
565,
282,
9415,
29889,
3784,
29918,
3859,
1275,
2672,
1254,
1964,
20566,
29918,
19713,
29901,
13,
462,
1678,
9493,
353,
313,
932,
29892,
282,
9415,
29889,
3784,
29918,
369,
29889,
369,
29918,
710,
29897,
13,
462,
1678,
11446,
29889,
1202,
11702,
29879,
19222,
29879,
29908,
1273,
313,
16432,
876,
13,
18884,
396,
6901,
3577,
13,
18884,
25342,
7431,
29898,
15865,
29889,
16123,
2247,
29918,
1761,
29897,
1405,
29871,
29900,
29901,
13,
462,
1678,
363,
17117,
17117,
282,
9415,
297,
282,
9415,
29889,
16123,
2247,
29918,
1761,
29901,
13,
462,
4706,
565,
282,
9415,
29889,
3560,
29918,
15865,
29889,
3784,
29918,
3859,
1275,
2672,
1254,
1964,
20566,
29918,
19713,
29901,
13,
462,
9651,
9493,
353,
313,
932,
29892,
282,
9415,
29889,
3560,
29918,
15865,
29889,
3784,
29918,
369,
29889,
369,
29918,
710,
29897,
13,
462,
9651,
11446,
29889,
1202,
11702,
29879,
19222,
29879,
29908,
1273,
313,
16432,
876,
13,
4706,
736,
11446,
13,
13,
1678,
822,
1051,
29918,
20571,
3174,
29898,
1311,
29892,
623,
29918,
1761,
1125,
13,
4706,
9995,
1954,
9711,
278,
3577,
5663,
16837,
363,
10882,
322,
364,
3358,
565,
2198,
322,
13,
9651,
3639,
263,
8772,
1051,
310,
9741,
5130,
373,
278,
1788,
29889,
9995,
13,
4706,
11446,
353,
731,
580,
13,
4706,
565,
1583,
29889,
29878,
3358,
29901,
13,
9651,
11446,
29889,
5504,
29898,
1311,
29889,
29878,
3358,
29918,
1761,
29918,
8318,
29898,
932,
29918,
1761,
876,
13,
4706,
565,
1583,
29889,
2156,
29918,
15865,
29901,
13,
9651,
11446,
29889,
5504,
29898,
1311,
29889,
2156,
29918,
1761,
29918,
8318,
29898,
932,
29918,
1761,
876,
13,
4706,
11446,
353,
1051,
29898,
13371,
29897,
13,
4706,
12183,
29889,
8382,
703,
29925,
9415,
29924,
629,
29901,
1051,
29918,
20571,
3174,
3639,
518,
29995,
29879,
18017,
1273,
313,
710,
29898,
13371,
4961,
13,
4706,
736,
11446,
13,
13,
1678,
822,
4770,
2344,
12035,
1311,
1125,
13,
4706,
1583,
29889,
29878,
3358,
353,
6213,
13,
4706,
1583,
29889,
2156,
29918,
15865,
353,
6213,
13,
4706,
1018,
29901,
13,
9651,
1053,
364,
3358,
13,
9651,
1583,
29889,
29878,
3358,
353,
364,
3358,
13,
4706,
5174,
16032,
2392,
29901,
13,
9651,
1209,
13,
13,
4706,
1018,
29901,
13,
9651,
515,
10882,
1053,
10882,
29918,
15865,
13,
9651,
10882,
29918,
15865,
29889,
2344,
580,
13,
9651,
1583,
29889,
2156,
29918,
15865,
353,
10882,
29918,
15865,
13,
4706,
5174,
16032,
2392,
29901,
13,
9651,
1209,
13,
13,
4706,
565,
451,
1583,
29889,
29878,
3358,
322,
451,
1583,
29889,
2156,
29918,
15865,
29901,
13,
9651,
12183,
29889,
3888,
703,
14148,
3577,
10643,
29889,
8427,
1051,
376,
13,
462,
308,
376,
12276,
338,
12708,
23157,
13,
13,
13,
1990,
13656,
29924,
629,
29898,
3318,
1125,
13,
13,
1678,
822,
4770,
2344,
12035,
1311,
1125,
13,
4706,
1018,
29901,
13,
9651,
1053,
634,
400,
1507,
13,
4706,
5174,
16032,
2392,
29901,
13,
9651,
12020,
2216,
1888,
2037,
287,
2392,
13,
4706,
1583,
29889,
300,
400,
1507,
353,
634,
400,
1507,
13,
4706,
1583,
29889,
1761,
29918,
29876,
1199,
353,
1583,
29889,
300,
400,
1507,
29918,
1761,
29918,
29876,
1199,
13,
13,
1678,
822,
903,
657,
29918,
666,
29894,
29946,
29918,
7328,
267,
29898,
1311,
29892,
2906,
1125,
13,
4706,
565,
756,
5552,
29898,
3359,
29892,
525,
657,
29918,
666,
29894,
29946,
29918,
7328,
267,
29374,
13,
9651,
10377,
29894,
29946,
29918,
1202,
2288,
353,
5159,
13,
9651,
363,
10377,
297,
2906,
29889,
657,
29918,
666,
29894,
29946,
29918,
7328,
267,
7295,
13,
18884,
10377,
29894,
29946,
29918,
1202,
2288,
29889,
4397,
29898,
666,
29889,
7328,
29897,
13,
9651,
736,
10377,
29894,
29946,
29918,
1202,
2288,
13,
4706,
565,
2906,
29889,
666,
29894,
29946,
29918,
7328,
338,
451,
6213,
29901,
13,
9651,
736,
518,
3359,
29889,
666,
29894,
29946,
29918,
7328,
29962,
13,
4706,
1683,
29901,
13,
9651,
736,
5159,
13,
13,
1678,
822,
903,
657,
29918,
666,
29894,
29953,
29918,
7328,
267,
29898,
1311,
29892,
2906,
1125,
13,
4706,
10377,
29894,
29953,
29918,
1202,
2288,
353,
5159,
13,
4706,
363,
10377,
297,
2906,
29889,
657,
29918,
666,
29894,
29953,
29918,
7328,
267,
7295,
13,
9651,
10377,
29894,
29953,
29918,
1202,
2288,
29889,
4397,
29898,
666,
29889,
7328,
29897,
13,
4706,
736,
10377,
29894,
29953,
29918,
1202,
2288,
13,
13,
1678,
822,
634,
400,
1507,
29918,
1761,
29918,
29876,
1199,
29898,
1311,
1125,
13,
4706,
19510,
353,
1051,
580,
13,
4706,
1018,
29901,
13,
9651,
363,
2906,
297,
1583,
29889,
300,
400,
1507,
29889,
657,
29918,
3359,
1575,
7295,
13,
18884,
13449,
353,
1583,
29889,
300,
400,
1507,
29889,
657,
29918,
15764,
29898,
3359,
29897,
13,
18884,
565,
13449,
669,
1583,
29889,
300,
400,
1507,
29889,
29902,
4198,
29918,
4897,
322,
320,
13,
462,
4706,
451,
29898,
15764,
669,
1583,
29889,
300,
400,
1507,
29889,
29902,
4198,
29918,
3927,
4590,
29933,
11375,
1125,
13,
462,
1678,
2906,
3888,
353,
1583,
29889,
300,
400,
1507,
29889,
657,
29918,
1639,
8726,
29918,
3888,
29898,
3359,
9601,
29900,
29962,
13,
462,
1678,
19510,
29889,
4397,
29898,
13,
462,
4706,
11117,
978,
2396,
2906,
29892,
13,
462,
308,
525,
10157,
2396,
1583,
3032,
657,
29918,
666,
29894,
29946,
29918,
7328,
267,
29898,
3359,
3888,
511,
13,
462,
308,
525,
10157,
29953,
2396,
1583,
3032,
657,
29918,
666,
29894,
29953,
29918,
7328,
267,
29898,
3359,
3888,
511,
13,
462,
308,
525,
26828,
2396,
1583,
29889,
300,
400,
1507,
29889,
657,
29918,
26828,
10030,
29898,
3359,
26972,
13,
4706,
5174,
29901,
13,
9651,
12183,
29889,
11739,
703,
2392,
5663,
15387,
3564,
19510,
23157,
13,
4706,
736,
19510,
13,
13,
13,
1990,
10516,
4598,
24085,
29901,
13,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
10823,
1125,
13,
4706,
1583,
29889,
14748,
353,
10823,
13,
13,
1678,
822,
7714,
29918,
10525,
29898,
1311,
1125,
13,
4706,
9920,
353,
6024,
29914,
4855,
29914,
13653,
29914,
586,
2728,
29899,
2543,
342,
29899,
14748,
29914,
586,
2728,
29899,
908,
7924,
2033,
13,
4706,
12183,
29889,
8382,
703,
5379,
17068,
7714,
4867,
1899,
29901,
14210,
29879,
29915,
613,
9920,
29897,
13,
4706,
1014,
5014,
29889,
4804,
29898,
9006,
29897,
13,
13,
1678,
822,
6464,
29898,
1311,
29892,
16140,
1125,
13,
4706,
1583,
29889,
14748,
29889,
11944,
29918,
2974,
29889,
1792,
29918,
27218,
630,
29898,
11944,
9409,
29897,
13,
13,
1678,
822,
1480,
2696,
29898,
1311,
1125,
13,
4706,
1209,
13,
13,
1678,
822,
12522,
3204,
29898,
1311,
29892,
11815,
29892,
10191,
1125,
13,
4706,
396,
450,
12522,
3204,
1899,
1736,
411,
6233,
1550,
325,
29881,
3844,
3638,
995,
297,
13,
4706,
396,
6923,
29892,
577,
591,
4513,
701,
278,
995,
304,
6233,
29889,
13,
4706,
9055,
353,
313,
524,
29898,
15619,
29897,
718,
29871,
29945,
29929,
29897,
847,
29871,
29953,
29900,
13,
4706,
9920,
353,
6024,
29914,
4855,
29914,
13653,
29914,
586,
2728,
29899,
2543,
342,
29899,
14748,
29914,
586,
2728,
29899,
845,
329,
3204,
742,
17411,
29882,
742,
13,
1669,
15691,
29995,
29881,
29908,
1273,
313,
18829,
511,
376,
5931,
29995,
29879,
5931,
29908,
1273,
313,
7645,
4638,
13,
4706,
12183,
29889,
8382,
703,
5379,
17068,
12522,
3204,
1899,
29901,
1273,
29879,
613,
9920,
29897,
13,
4706,
1014,
5014,
29889,
4804,
29898,
9006,
29897,
13,
13,
1678,
822,
26168,
29898,
1311,
29892,
2106,
1125,
13,
4706,
9920,
353,
6024,
29914,
4855,
29914,
13653,
29914,
586,
2728,
29899,
2543,
342,
29899,
14748,
29914,
586,
2728,
29899,
12575,
742,
2106,
29962,
13,
4706,
12183,
29889,
8382,
703,
5379,
17068,
26168,
1899,
29901,
1273,
29879,
613,
9920,
29897,
13,
4706,
1014,
5014,
29889,
4804,
29898,
9006,
29897,
13,
13,
13,
1990,
8074,
1469,
8015,
3511,
29898,
1469,
8015,
3511,
5160,
1125,
13,
13,
1678,
822,
4770,
2344,
12035,
1311,
1125,
13,
4706,
1018,
29901,
13,
9651,
282,
9415,
29885,
629,
353,
349,
9415,
29924,
629,
580,
13,
4706,
5174,
2216,
1888,
2037,
287,
2392,
29901,
13,
9651,
1583,
29889,
1761,
29918,
20571,
3174,
353,
14013,
623,
29918,
1761,
29901,
5159,
13,
4706,
1683,
29901,
13,
9651,
1583,
29889,
1761,
29918,
20571,
3174,
353,
282,
9415,
29885,
629,
29889,
1761,
29918,
20571,
3174,
13,
4706,
1018,
29901,
13,
9651,
16588,
29885,
629,
353,
13656,
29924,
629,
580,
13,
4706,
5174,
2216,
1888,
2037,
287,
2392,
29901,
13,
9651,
1583,
29889,
1761,
29918,
29876,
1199,
353,
14013,
29901,
5159,
13,
4706,
1683,
29901,
13,
9651,
1583,
29889,
1761,
29918,
29876,
1199,
353,
16588,
29885,
629,
29889,
1761,
29918,
29876,
1199,
13,
4706,
1583,
29889,
932,
29918,
1761,
353,
5124,
13,
4706,
1583,
29889,
647,
4395,
29918,
5847,
353,
5124,
13,
4706,
1583,
3032,
2344,
29918,
6925,
6112,
580,
13,
4706,
3630,
8015,
3511,
5160,
17255,
2344,
12035,
1311,
29897,
13,
13,
1678,
822,
679,
29076,
1170,
29898,
1311,
1125,
13,
4706,
736,
9909,
29889,
657,
29888,
29939,
5200,
580,
13,
13,
1678,
822,
679,
24768,
6594,
29898,
1311,
1125,
13,
4706,
736,
2897,
29889,
348,
420,
580,
29961,
29906,
29962,
13,
13,
1678,
822,
679,
3596,
13724,
4074,
8726,
29898,
1311,
1125,
13,
4706,
736,
1583,
29889,
1761,
29918,
29876,
1199,
580,
13,
13,
1678,
822,
679,
2052,
5795,
29898,
1311,
1125,
13,
4706,
736,
1583,
29889,
1761,
29918,
20571,
3174,
29898,
1311,
29889,
932,
29918,
1761,
29897,
13,
13,
1678,
822,
679,
27635,
25058,
29898,
1311,
1125,
13,
4706,
3889,
353,
29871,
29900,
13,
4706,
363,
1196,
297,
1722,
11219,
15439,
29914,
6954,
3888,
29374,
13,
9651,
722,
29892,
995,
353,
1196,
29889,
17010,
2141,
5451,
580,
29961,
29900,
29901,
29906,
29962,
13,
9651,
565,
722,
297,
6702,
11442,
20475,
29901,
742,
525,
29933,
3096,
414,
29901,
742,
525,
29907,
3791,
11283,
1125,
13,
18884,
3889,
4619,
1472,
29898,
1767,
29897,
13,
4706,
736,
851,
29898,
9021,
847,
29871,
29896,
29900,
29906,
29946,
29897,
13,
13,
1678,
822,
679,
5959,
29898,
1311,
1125,
13,
4706,
4160,
353,
6629,
13,
4706,
1018,
29901,
13,
9651,
9920,
1220,
353,
8207,
4855,
29914,
2109,
29914,
7193,
891,
847,
4855,
29914,
2109,
29914,
509,
376,
376,
6634,
29876,
29908,
891,
847,
4855,
29914,
2109,
29914,
3909,
29939,
29915,
13,
9651,
4160,
353,
525,
15300,
7122,
29898,
359,
29889,
29886,
3150,
29898,
9006,
1220,
467,
949,
2141,
5451,
3101,
13,
4706,
5174,
29901,
13,
9651,
12183,
29889,
11739,
703,
2392,
5663,
15387,
13817,
297,
4160,
23157,
13,
4706,
736,
4160,
13,
13,
1678,
822,
679,
9966,
2659,
29898,
1311,
1125,
13,
4706,
4160,
353,
2897,
29889,
29886,
3150,
11219,
4855,
29914,
2109,
29914,
7193,
2824,
949,
2141,
5451,
580,
13,
4706,
1018,
29901,
13,
9651,
1404,
353,
4160,
29961,
29900,
29962,
13,
4706,
5174,
29901,
13,
9651,
1404,
353,
525,
8516,
29915,
13,
4706,
736,
1404,
13,
13,
1678,
822,
679,
4205,
2039,
27573,
29898,
1311,
1125,
13,
4706,
502,
1179,
353,
1051,
580,
13,
4706,
411,
1722,
11219,
15439,
29914,
16476,
29879,
1495,
408,
5766,
29879,
29901,
13,
9651,
363,
5766,
297,
5766,
29879,
29901,
13,
18884,
1018,
29901,
13,
462,
1678,
313,
10141,
29892,
2224,
29892,
18920,
29897,
353,
5766,
29889,
5451,
580,
7503,
29941,
29962,
13,
462,
1678,
565,
451,
18920,
297,
1583,
29889,
647,
4395,
29918,
5847,
29901,
13,
462,
4706,
396,
2224,
1795,
3160,
8162,
29889,
13,
462,
4706,
2224,
353,
2224,
29889,
13808,
703,
1807,
29899,
21587,
1159,
13,
462,
4706,
1002,
29894,
5847,
353,
2897,
29889,
6112,
29894,
5847,
29898,
2084,
29897,
13,
462,
4706,
3001,
353,
1002,
29894,
5847,
29889,
29888,
29918,
29890,
2311,
334,
1002,
29894,
5847,
29889,
29888,
29918,
1271,
29879,
13,
462,
4706,
1304,
353,
3001,
448,
1002,
29894,
5847,
29889,
29888,
29918,
29890,
2311,
334,
1002,
29894,
5847,
29889,
29888,
29918,
1635,
929,
13,
462,
4706,
502,
1179,
29889,
4397,
3319,
29915,
2084,
2396,
2224,
29892,
525,
5847,
2396,
18920,
29892,
525,
7827,
2396,
3001,
29892,
13,
462,
462,
539,
525,
3880,
2396,
1304,
1800,
13,
18884,
5174,
29901,
13,
462,
1678,
12183,
29889,
11739,
703,
2392,
5663,
15387,
766,
2039,
502,
1179,
23157,
13,
4706,
736,
502,
1179,
13,
13,
1678,
822,
679,
16015,
25060,
29898,
1311,
1125,
13,
4706,
1018,
29901,
13,
9651,
1583,
3032,
657,
29918,
6954,
3888,
580,
13,
9651,
1583,
3032,
657,
29918,
6925,
6112,
580,
13,
4706,
5174,
29901,
13,
9651,
12183,
29889,
11739,
703,
2392,
5663,
15387,
3370,
22663,
23157,
13,
4706,
736,
1583,
29889,
6954,
25060,
13,
13,
1678,
822,
903,
2344,
29918,
6925,
6112,
29898,
1311,
1125,
13,
4706,
1583,
29889,
6925,
6112,
353,
6571,
13,
4706,
1583,
29889,
6925,
6112,
1839,
16394,
29918,
16304,
2033,
353,
931,
29889,
2230,
580,
13,
4706,
4235,
353,
6024,
26276,
29918,
262,
742,
525,
26276,
29918,
449,
742,
525,
3488,
1579,
29873,
742,
525,
655,
29926,
1579,
29873,
2033,
13,
4706,
363,
1746,
297,
4235,
29901,
13,
9651,
1583,
29889,
6925,
6112,
29961,
2671,
718,
22868,
16304,
2033,
353,
6213,
13,
9651,
1583,
29889,
6925,
6112,
29961,
2671,
718,
22868,
2764,
2033,
353,
6213,
13,
13,
1678,
822,
903,
657,
29918,
6954,
3888,
29898,
1311,
1125,
13,
4706,
4235,
353,
11117,
11442,
11536,
29901,
2396,
29871,
29900,
29892,
525,
11442,
20475,
29901,
2396,
29871,
29900,
29892,
525,
29933,
3096,
414,
29901,
2396,
29871,
29900,
29892,
13,
462,
29871,
525,
29907,
3791,
29901,
2396,
29871,
29900,
29913,
13,
4706,
3889,
353,
29871,
29900,
13,
4706,
363,
1196,
297,
1722,
11219,
15439,
29914,
6954,
3888,
29374,
13,
9651,
313,
1989,
29892,
995,
29897,
353,
1196,
29889,
17010,
2141,
5451,
580,
29961,
29900,
29901,
29906,
29962,
13,
9651,
565,
1820,
297,
4235,
29889,
8149,
7295,
13,
18884,
4235,
29961,
1989,
29962,
353,
938,
29898,
1767,
29897,
13,
9651,
565,
1820,
297,
6702,
11442,
20475,
29901,
742,
525,
29933,
3096,
414,
29901,
742,
525,
29907,
3791,
11283,
1125,
13,
18884,
3889,
4619,
938,
29898,
1767,
29897,
13,
4706,
1583,
29889,
6954,
25060,
1839,
6954,
29918,
7827,
2033,
353,
4235,
1839,
11442,
11536,
29901,
2033,
13,
4706,
1583,
29889,
6954,
25060,
1839,
6954,
29918,
348,
3880,
2033,
353,
4235,
1839,
11442,
20475,
29901,
2033,
13,
4706,
1583,
29889,
6954,
25060,
1839,
6954,
29918,
9021,
2033,
353,
3889,
13,
13,
1678,
822,
903,
657,
29918,
6925,
6112,
29898,
1311,
1125,
13,
4706,
9995,
13,
4706,
847,
15439,
29914,
6925,
6112,
13676,
13299,
28524,
13964,
577,
591,
1818,
23197,
278,
13,
4706,
3517,
1819,
304,
679,
278,
4328,
1951,
278,
1833,
4333,
29889,
13,
4706,
9995,
13,
4706,
4235,
353,
11117,
567,
11912,
262,
2396,
525,
26276,
29918,
262,
742,
525,
567,
11912,
449,
2396,
525,
26276,
29918,
449,
742,
13,
462,
29871,
525,
14918,
1292,
2396,
525,
3488,
1579,
29873,
742,
525,
4061,
655,
29926,
27934,
2396,
525,
655,
29926,
1579,
29873,
10827,
13,
13,
4706,
1583,
29889,
6925,
6112,
1839,
16394,
29918,
2764,
2033,
353,
931,
29889,
2230,
580,
13,
4706,
7292,
353,
1583,
29889,
6925,
6112,
1839,
16394,
29918,
2764,
2033,
448,
1583,
29889,
6925,
6112,
1839,
16394,
29918,
16304,
2033,
13,
4706,
1583,
29889,
6925,
6112,
1839,
16394,
29918,
16304,
2033,
353,
1583,
29889,
6925,
6112,
1839,
16394,
29918,
2764,
2033,
13,
13,
4706,
363,
1196,
297,
1722,
11219,
15439,
29914,
6925,
6112,
29374,
13,
9651,
313,
1989,
29892,
995,
29897,
353,
1196,
29889,
17010,
2141,
5451,
580,
29961,
29900,
29901,
29906,
29962,
13,
9651,
565,
1820,
297,
4235,
29889,
8149,
7295,
13,
18884,
1024,
353,
4235,
29961,
1989,
29962,
13,
18884,
1583,
29889,
6925,
6112,
29961,
978,
718,
22868,
16304,
2033,
353,
1583,
29889,
6925,
6112,
29961,
978,
718,
22868,
2764,
2033,
13,
18884,
1583,
29889,
6925,
6112,
29961,
978,
718,
22868,
2764,
2033,
353,
938,
29898,
1767,
29897,
13,
18884,
565,
1583,
29889,
6925,
6112,
29961,
978,
718,
22868,
16304,
2033,
338,
6213,
29901,
13,
462,
1678,
1583,
29889,
6925,
6112,
29961,
978,
718,
22868,
16304,
2033,
353,
1583,
29889,
6925,
6112,
29961,
978,
718,
22868,
2764,
2033,
13,
18884,
1583,
29889,
6954,
25060,
29961,
978,
29962,
353,
938,
3552,
1311,
29889,
6925,
6112,
29961,
978,
718,
22868,
2764,
2033,
448,
13,
462,
462,
965,
1583,
29889,
6925,
6112,
29961,
978,
718,
22868,
16304,
11287,
847,
13,
462,
462,
3986,
7292,
29897,
13,
13,
13,
1990,
8074,
29963,
6289,
19661,
29898,
19661,
3403,
293,
5160,
1125,
13,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
2295,
1125,
13,
4706,
28330,
3403,
293,
5160,
17255,
2344,
12035,
1311,
29892,
2295,
29897,
13,
4706,
1583,
29889,
7707,
353,
8074,
1469,
8015,
3511,
580,
13,
4706,
1583,
29889,
7707,
29889,
932,
29918,
1761,
353,
2295,
29889,
657,
703,
17492,
613,
376,
932,
5795,
29918,
1761,
1159,
13,
4706,
1583,
29889,
7707,
29889,
647,
4395,
29918,
5847,
353,
731,
29898,
2917,
29889,
657,
703,
17492,
613,
376,
647,
4395,
29918,
5847,
2564,
5451,
3101,
13,
4706,
1583,
29889,
6519,
4598,
353,
10516,
4598,
24085,
29898,
1311,
29897,
13,
4706,
1583,
29889,
11944,
29918,
2974,
353,
24596,
6004,
580,
13,
13,
1678,
822,
1065,
29898,
1311,
1125,
13,
4706,
1583,
29889,
11944,
29918,
2974,
29889,
2962,
580,
13,
4706,
28330,
3403,
293,
5160,
29889,
3389,
29898,
1311,
29897,
13,
13,
1678,
822,
5040,
29898,
1311,
1125,
13,
4706,
1583,
29889,
11944,
29918,
2974,
29889,
7122,
580,
13,
4706,
28330,
3403,
293,
5160,
29889,
9847,
29898,
1311,
29897,
13,
13,
13,
1753,
1243,
7295,
13,
1678,
1053,
282,
2158,
13,
1678,
4192,
353,
8074,
1469,
8015,
3511,
580,
13,
1678,
4192,
29889,
932,
29918,
1761,
353,
376,
17460,
8466,
29899,
13662,
7051,
514,
29908,
13,
1678,
4192,
29889,
647,
4395,
29918,
5847,
353,
731,
703,
4632,
5847,
13128,
5847,
1120,
974,
29879,
274,
2972,
5535,
262,
1314,
5847,
318,
3359,
286,
9990,
376,
13,
462,
4706,
376,
29876,
29888,
4928,
9580,
10876,
5847,
2906,
7050,
5847,
22888,
657,
29880,
1635,
29879,
364,
6739,
29918,
17760,
5847,
2906,
16485,
376,
13,
462,
4706,
376,
8926,
5847,
4744,
5847,
289,
7192,
4378,
29918,
29885,
10669,
285,
1509,
29889,
29887,
29894,
29888,
4928,
29899,
29888,
1509,
376,
13,
462,
4706,
376,
29888,
1509,
29889,
29887,
29894,
5847,
29899,
29888,
1509,
29899,
1388,
9857,
285,
1509,
16948,
502,
1635,
29879,
1642,
5451,
3101,
13,
1678,
1596,
376,
29076,
4408,
29901,
613,
4192,
29889,
657,
29076,
1170,
580,
13,
1678,
1596,
376,
3267,
10079,
29901,
613,
4192,
29889,
657,
24768,
6594,
580,
13,
1678,
1596,
376,
13724,
4124,
8726,
29901,
613,
4192,
29889,
657,
3596,
13724,
4074,
8726,
580,
13,
1678,
1596,
376,
3379,
4212,
2401,
5795,
29901,
613,
4192,
29889,
657,
2052,
5795,
580,
13,
1678,
1596,
376,
27635,
18113,
29901,
613,
4192,
29889,
657,
27635,
25058,
580,
13,
1678,
1596,
376,
3403,
3192,
297,
23861,
29901,
613,
4192,
29889,
657,
5959,
580,
13,
1678,
1596,
376,
9966,
4911,
29901,
613,
4192,
29889,
657,
9966,
2659,
580,
13,
1678,
1596,
376,
4205,
2039,
10783,
482,
29901,
613,
282,
2158,
29889,
407,
29878,
524,
29898,
7707,
29889,
657,
4205,
2039,
27573,
3101,
13,
1678,
1596,
376,
16015,
624,
1446,
29901,
613,
4192,
29889,
657,
16015,
25060,
580,
13,
13,
361,
4770,
978,
1649,
1275,
525,
1649,
3396,
1649,
2396,
13,
1678,
1243,
580,
13,
2
] |
python-lambda-simple/app.py | hemanthkolla/cdk-templates | 117 | 1609370 | <gh_stars>100-1000
#!/usr/bin/env python3
import os
from aws_cdk import core
from python_lambda_simple.python_lambda_simple_stack import PythonLambdaSimpleStack
app = core.App()
# for production set your Environment to specify the target region and account
# Prod_Env__Ire = env=core.Environment(region="eu-west-1",account="<YOUR_ACCOUNT-ID>")
PythonLambdaSimpleStack(app, "python-lambda-simple", env=core.Environment(
account=os.environ["CDK_DEFAULT_ACCOUNT"],
region=os.environ["CDK_DEFAULT_REGION"]))
app.synth()
| [
1,
529,
12443,
29918,
303,
1503,
29958,
29896,
29900,
29900,
29899,
29896,
29900,
29900,
29900,
13,
29937,
14708,
4855,
29914,
2109,
29914,
6272,
3017,
29941,
13,
13,
5215,
2897,
13,
3166,
25879,
29918,
2252,
29895,
1053,
7136,
13,
3166,
3017,
29918,
2892,
29918,
12857,
29889,
4691,
29918,
2892,
29918,
12857,
29918,
1429,
1053,
5132,
9099,
15427,
7264,
13,
13,
932,
353,
7136,
29889,
2052,
580,
13,
13,
29937,
363,
5802,
731,
596,
16738,
304,
6084,
278,
3646,
5120,
322,
3633,
13,
29937,
1019,
29881,
29918,
21745,
1649,
29902,
276,
353,
8829,
29922,
3221,
29889,
18649,
29898,
12803,
543,
12932,
29899,
5933,
29899,
29896,
613,
10149,
543,
29966,
29979,
22970,
29918,
2477,
18736,
29899,
1367,
29958,
1159,
13,
13,
11980,
9099,
15427,
7264,
29898,
932,
29892,
376,
4691,
29899,
2892,
29899,
12857,
613,
8829,
29922,
3221,
29889,
18649,
29898,
13,
1678,
3633,
29922,
359,
29889,
21813,
3366,
6530,
29968,
29918,
23397,
29918,
2477,
18736,
12436,
29871,
13,
1678,
5120,
29922,
359,
29889,
21813,
3366,
6530,
29968,
29918,
23397,
29918,
18166,
2725,
3108,
876,
13,
13,
932,
29889,
19274,
386,
580,
13,
2
] |
Penrose/generate - 1808.py | kart324/MultiNLP | 0 | 120192 | <filename>Penrose/generate - 1808.py
import re
import string
inp = '''A is a set.
A, B, C are sets.
B is contained in A.
C is contained in B.
C is a set.
C is contained in A.
P is a point.
P is contained in A.
P is not contained in C.
X is a vectorspace.
U is a vector.
V is a vector.
U and V belong to the vectorspace X.
X is the vectorspace to which U and V belong.
U and V are orthogonal vectors.
U and V are equal vectors.
U and V have equal lengths.
U and V make an angle of 45 degrees with each other.
W=U+V.
W is equal to the sum of U and V.
W is the dot product of U and V.
P is a point.
P,Q,R,S are points.
A is a segment.
A,B,C,D are segments.
T is an angle.
T,U,V are angles.
T is a triangle.
W is a ray.
W is a bisector to T.
W is a perpendicular bisector to A.
A and B are sets.
C and D are sets.
P and Q are sets.
F is a function.
F,G,H are functions.
F is an injective function from A to B.
G is a surjective function from C to D.
H is a bijective function from P to Q.
F is an injective function from A to B.
G is a surjective function from B to C.
H is a bijective function from C to D.
S is a square.
R is a rectangle.
K is a right angled triangle.
K is a triangle with angles 60,40,80.'''
strs = inp.split('\n')
ent_keys=['set','sets','vector','vectorspace','point','points','segment','segments','angle','angles'
,'triangle','ray','function','functions','square','rectangle']
oper = ['dot product','sum','+','=','equal','orthogonal','right angled','angle of 45 degrees with each other','injective','bijective','surjective']
for idx,st in enumerate(strs):
g= open(str(idx+1)+".txt", mode='w', encoding='utf-8')
g.write(st)
st_sub = re.sub(r"[,.;@#?!&$]+", ' ', st)
f = open(str(idx+1)+".ann", mode='w', encoding='utf-8')
t_count=1
for obj in re.finditer('[0-9A-Z]+',st_sub):
f.write('T'+str(t_count)+'\t'+'VAR'+' '+str(obj.start())+' '+str(obj.end())+'\t'+obj.group()+'\n')
t_count+=1
for ent in ent_keys:
for obj in re.finditer(ent,st_sub):
f.write('T'+str(t_count)+'\t'+'ATTR'+' '+str(obj.start())+' '+str(obj.end())+'\t'+ent+'\n')
t_count+=1
for op in oper:
for obj in re.finditer(re.escape(op),st_sub):
f.write('T'+str(t_count)+'\t'+'OPER'+' '+str(obj.start())+' '+str(obj.end())+'\t'+op+'\n')
t_count+=1
f.close()
g.close()
| [
1,
529,
9507,
29958,
29925,
264,
17811,
29914,
17158,
448,
29871,
29896,
29947,
29900,
29947,
29889,
2272,
13,
5215,
337,
13,
5215,
1347,
13,
262,
29886,
353,
14550,
29909,
338,
263,
731,
29889,
13,
29909,
29892,
350,
29892,
315,
526,
6166,
29889,
13,
29933,
338,
11122,
297,
319,
29889,
29871,
13,
29907,
338,
11122,
297,
350,
29889,
13,
29907,
338,
263,
731,
29889,
13,
29907,
338,
11122,
297,
319,
29889,
13,
29925,
338,
263,
1298,
29889,
13,
29925,
338,
11122,
297,
319,
29889,
13,
29925,
338,
451,
11122,
297,
315,
29889,
13,
29990,
338,
263,
12047,
3535,
29889,
13,
29965,
338,
263,
4608,
29889,
13,
29963,
338,
263,
4608,
29889,
13,
29965,
322,
478,
6852,
304,
278,
12047,
3535,
1060,
29889,
13,
29990,
338,
278,
12047,
3535,
304,
607,
501,
322,
478,
6852,
29889,
13,
29965,
322,
478,
526,
28143,
12047,
29889,
13,
29965,
322,
478,
526,
5186,
12047,
29889,
13,
29965,
322,
478,
505,
5186,
27497,
29889,
13,
29965,
322,
478,
1207,
385,
10696,
310,
29871,
29946,
29945,
14496,
411,
1269,
916,
29889,
13,
29956,
29922,
29965,
29974,
29963,
29889,
13,
29956,
338,
5186,
304,
278,
2533,
310,
501,
322,
478,
29889,
13,
29956,
338,
278,
8329,
3234,
310,
501,
322,
478,
29889,
13,
29925,
338,
263,
1298,
29889,
13,
29925,
29892,
29984,
29892,
29934,
29892,
29903,
526,
3291,
29889,
13,
29909,
338,
263,
10768,
29889,
13,
29909,
29892,
29933,
29892,
29907,
29892,
29928,
526,
24611,
29889,
13,
29911,
338,
385,
10696,
29889,
13,
29911,
29892,
29965,
29892,
29963,
526,
23619,
29889,
13,
29911,
338,
263,
17205,
29889,
13,
29956,
338,
263,
15570,
29889,
13,
29956,
338,
263,
2652,
3019,
304,
323,
29889,
13,
29956,
338,
263,
639,
14081,
16311,
2652,
3019,
304,
319,
29889,
13,
29909,
322,
350,
526,
6166,
29889,
13,
29907,
322,
360,
526,
6166,
29889,
13,
29925,
322,
660,
526,
6166,
29889,
13,
29943,
338,
263,
740,
29889,
13,
29943,
29892,
29954,
29892,
29950,
526,
3168,
29889,
13,
29943,
338,
385,
11658,
573,
740,
515,
319,
304,
350,
29889,
13,
29954,
338,
263,
1190,
25674,
740,
515,
315,
304,
360,
29889,
13,
29950,
338,
263,
4768,
25674,
740,
515,
349,
304,
660,
29889,
13,
29943,
338,
385,
11658,
573,
740,
515,
319,
304,
350,
29889,
13,
29954,
338,
263,
1190,
25674,
740,
515,
350,
304,
315,
29889,
13,
29950,
338,
263,
4768,
25674,
740,
515,
315,
304,
360,
29889,
13,
29903,
338,
263,
6862,
29889,
13,
29934,
338,
263,
16701,
29889,
13,
29968,
338,
263,
1492,
2614,
839,
17205,
29889,
13,
29968,
338,
263,
17205,
411,
23619,
29871,
29953,
29900,
29892,
29946,
29900,
29892,
29947,
29900,
29889,
12008,
13,
710,
29879,
353,
297,
29886,
29889,
5451,
28909,
29876,
1495,
13,
296,
29918,
8149,
29922,
1839,
842,
3788,
7224,
3788,
8111,
3788,
345,
14359,
3535,
3788,
3149,
3788,
9748,
3788,
28192,
3788,
10199,
1860,
3788,
2521,
3788,
19536,
29915,
13,
5501,
26701,
3788,
764,
3788,
2220,
3788,
12171,
3788,
17619,
3788,
1621,
2521,
2033,
13,
3372,
353,
6024,
6333,
3234,
3788,
2083,
3788,
29974,
3788,
29922,
3788,
11745,
3788,
2072,
23419,
3788,
1266,
2614,
839,
3788,
2521,
310,
29871,
29946,
29945,
14496,
411,
1269,
916,
3788,
21920,
573,
3788,
5365,
25674,
3788,
7610,
25674,
2033,
13,
13,
1454,
22645,
29892,
303,
297,
26985,
29898,
710,
29879,
1125,
13,
29871,
330,
29922,
1722,
29898,
710,
29898,
13140,
29974,
29896,
7240,
1642,
3945,
613,
4464,
2433,
29893,
742,
8025,
2433,
9420,
29899,
29947,
1495,
13,
29871,
330,
29889,
3539,
29898,
303,
29897,
13,
29871,
380,
29918,
1491,
353,
337,
29889,
1491,
29898,
29878,
29908,
29961,
7671,
29936,
29992,
29937,
29973,
29991,
29987,
29938,
10062,
613,
525,
13420,
380,
29897,
13,
29871,
285,
353,
1722,
29898,
710,
29898,
13140,
29974,
29896,
7240,
1642,
812,
613,
4464,
2433,
29893,
742,
8025,
2433,
9420,
29899,
29947,
1495,
13,
29871,
260,
29918,
2798,
29922,
29896,
13,
29871,
363,
5446,
297,
337,
29889,
2886,
1524,
877,
29961,
29900,
29899,
29929,
29909,
29899,
29999,
10062,
742,
303,
29918,
1491,
1125,
13,
1678,
285,
29889,
3539,
877,
29911,
18717,
710,
29898,
29873,
29918,
2798,
7240,
12764,
29873,
18717,
29915,
26865,
18717,
29915,
525,
29974,
710,
29898,
5415,
29889,
2962,
3101,
23097,
525,
29974,
710,
29898,
5415,
29889,
355,
3101,
29974,
12764,
29873,
18717,
5415,
29889,
2972,
580,
29974,
12764,
29876,
1495,
13,
1678,
260,
29918,
2798,
23661,
29896,
13,
29871,
363,
875,
297,
875,
29918,
8149,
29901,
13,
1678,
363,
5446,
297,
337,
29889,
2886,
1524,
29898,
296,
29892,
303,
29918,
1491,
1125,
13,
418,
285,
29889,
3539,
877,
29911,
18717,
710,
29898,
29873,
29918,
2798,
7240,
12764,
29873,
18717,
29915,
1299,
5659,
18717,
29915,
525,
29974,
710,
29898,
5415,
29889,
2962,
3101,
23097,
525,
29974,
710,
29898,
5415,
29889,
355,
3101,
29974,
12764,
29873,
18717,
296,
29974,
12764,
29876,
1495,
13,
418,
260,
29918,
2798,
23661,
29896,
13,
29871,
363,
1015,
297,
1751,
29901,
13,
1678,
363,
5446,
297,
337,
29889,
2886,
1524,
29898,
276,
29889,
21587,
29898,
459,
511,
303,
29918,
1491,
1125,
13,
418,
285,
29889,
3539,
877,
29911,
18717,
710,
29898,
29873,
29918,
2798,
7240,
12764,
29873,
18717,
29915,
4590,
1001,
18717,
29915,
525,
29974,
710,
29898,
5415,
29889,
2962,
3101,
23097,
525,
29974,
710,
29898,
5415,
29889,
355,
3101,
29974,
12764,
29873,
18717,
459,
29974,
12764,
29876,
1495,
13,
418,
260,
29918,
2798,
23661,
29896,
13,
29888,
29889,
5358,
580,
13,
29887,
29889,
5358,
580,
1678,
13,
259,
2
] |
pykotor/resource/formats/ssf/io_binary.py | NickHugi/PyKotor | 1 | 184673 | <reponame>NickHugi/PyKotor<gh_stars>1-10
from __future__ import annotations
from typing import Optional
from pykotor.resource.formats.ssf.data import SSF, SSFSound
from pykotor.resource.type import TARGET_TYPES, SOURCE_TYPES, ResourceReader, ResourceWriter
class SSFBinaryReader(ResourceReader):
def __init__(self, source: SOURCE_TYPES, offset: int = 0, size: int = 0):
super().__init__(source, offset, size)
self._ssf: Optional[SSF] = None
def load(self, auto_close: bool = True) -> SSF:
self._ssf = SSF()
file_type = self._reader.read_string(4)
file_version = self._reader.read_string(4)
if file_type != "SSF ":
raise TypeError("Attempted to load an invalid SSF was loaded.")
if file_version != "V1.1":
raise TypeError("The supplied SSF file version is not supported.")
sounds_offset = self._reader.read_uint32()
self._reader.seek(sounds_offset)
self._ssf.set(SSFSound.BATTLE_CRY_1, self._reader.read_uint32())
self._ssf.set(SSFSound.BATTLE_CRY_2, self._reader.read_uint32())
self._ssf.set(SSFSound.BATTLE_CRY_3, self._reader.read_uint32())
self._ssf.set(SSFSound.BATTLE_CRY_4, self._reader.read_uint32())
self._ssf.set(SSFSound.BATTLE_CRY_5, self._reader.read_uint32())
self._ssf.set(SSFSound.BATTLE_CRY_6, self._reader.read_uint32())
self._ssf.set(SSFSound.SELECT_1, self._reader.read_uint32())
self._ssf.set(SSFSound.SELECT_2, self._reader.read_uint32())
self._ssf.set(SSFSound.SELECT_3, self._reader.read_uint32())
self._ssf.set(SSFSound.ATTACK_GRUNT_1, self._reader.read_uint32())
self._ssf.set(SSFSound.ATTACK_GRUNT_2, self._reader.read_uint32())
self._ssf.set(SSFSound.ATTACK_GRUNT_3, self._reader.read_uint32())
self._ssf.set(SSFSound.PAIN_GRUNT_1, self._reader.read_uint32())
self._ssf.set(SSFSound.PAIN_GRUNT_2, self._reader.read_uint32())
self._ssf.set(SSFSound.LOW_HEALTH, self._reader.read_uint32())
self._ssf.set(SSFSound.DEAD, self._reader.read_uint32())
self._ssf.set(SSFSound.CRITICAL_HIT, self._reader.read_uint32())
self._ssf.set(SSFSound.TARGET_IMMUNE, self._reader.read_uint32())
self._ssf.set(SSFSound.LAY_MINE, self._reader.read_uint32())
self._ssf.set(SSFSound.DISARM_MINE, self._reader.read_uint32())
self._ssf.set(SSFSound.BEGIN_STEALTH, self._reader.read_uint32())
self._ssf.set(SSFSound.BEGIN_SEARCH, self._reader.read_uint32())
self._ssf.set(SSFSound.BEGIN_UNLOCK, self._reader.read_uint32())
self._ssf.set(SSFSound.UNLOCK_FAILED, self._reader.read_uint32())
self._ssf.set(SSFSound.UNLOCK_SUCCESS, self._reader.read_uint32())
self._ssf.set(SSFSound.SEPARATED_FROM_PARTY, self._reader.read_uint32())
self._ssf.set(SSFSound.REJOINED_PARTY, self._reader.read_uint32())
self._ssf.set(SSFSound.POISONED, self._reader.read_uint32())
if auto_close:
self._reader.close()
return self._ssf
class SSFBinaryWriter(ResourceWriter):
def __init__(self, ssf: SSF, target: TARGET_TYPES):
super().__init__(target)
self._ssf: SSF = ssf
def write(self, auto_close: bool = True) -> None:
self._writer.write_string("SSF ")
self._writer.write_string("V1.1")
self._writer.write_uint32(12)
self._writer.write_uint32(self._ssf.get(SSFSound.BATTLE_CRY_1), max_neg1=True)
self._writer.write_uint32(self._ssf.get(SSFSound.BATTLE_CRY_2), max_neg1=True)
self._writer.write_uint32(self._ssf.get(SSFSound.BATTLE_CRY_3), max_neg1=True)
self._writer.write_uint32(self._ssf.get(SSFSound.BATTLE_CRY_4), max_neg1=True)
self._writer.write_uint32(self._ssf.get(SSFSound.BATTLE_CRY_5), max_neg1=True)
self._writer.write_uint32(self._ssf.get(SSFSound.BATTLE_CRY_6), max_neg1=True)
self._writer.write_uint32(self._ssf.get(SSFSound.SELECT_1), max_neg1=True)
self._writer.write_uint32(self._ssf.get(SSFSound.SELECT_2), max_neg1=True)
self._writer.write_uint32(self._ssf.get(SSFSound.SELECT_3), max_neg1=True)
self._writer.write_uint32(self._ssf.get(SSFSound.ATTACK_GRUNT_1), max_neg1=True)
self._writer.write_uint32(self._ssf.get(SSFSound.ATTACK_GRUNT_2), max_neg1=True)
self._writer.write_uint32(self._ssf.get(SSFSound.ATTACK_GRUNT_3), max_neg1=True)
self._writer.write_uint32(self._ssf.get(SSFSound.PAIN_GRUNT_1), max_neg1=True)
self._writer.write_uint32(self._ssf.get(SSFSound.PAIN_GRUNT_2), max_neg1=True)
self._writer.write_uint32(self._ssf.get(SSFSound.LOW_HEALTH), max_neg1=True)
self._writer.write_uint32(self._ssf.get(SSFSound.DEAD), max_neg1=True)
self._writer.write_uint32(self._ssf.get(SSFSound.CRITICAL_HIT), max_neg1=True)
self._writer.write_uint32(self._ssf.get(SSFSound.TARGET_IMMUNE), max_neg1=True)
self._writer.write_uint32(self._ssf.get(SSFSound.LAY_MINE), max_neg1=True)
self._writer.write_uint32(self._ssf.get(SSFSound.DISARM_MINE), max_neg1=True)
self._writer.write_uint32(self._ssf.get(SSFSound.BEGIN_STEALTH), max_neg1=True)
self._writer.write_uint32(self._ssf.get(SSFSound.BEGIN_SEARCH), max_neg1=True)
self._writer.write_uint32(self._ssf.get(SSFSound.BEGIN_UNLOCK), max_neg1=True)
self._writer.write_uint32(self._ssf.get(SSFSound.UNLOCK_FAILED), max_neg1=True)
self._writer.write_uint32(self._ssf.get(SSFSound.UNLOCK_SUCCESS), max_neg1=True)
self._writer.write_uint32(self._ssf.get(SSFSound.SEPARATED_FROM_PARTY), max_neg1=True)
self._writer.write_uint32(self._ssf.get(SSFSound.REJOINED_PARTY), max_neg1=True)
self._writer.write_uint32(self._ssf.get(SSFSound.POISONED), max_neg1=True)
for i in range(8):
self._writer.write_uint32(0xFFFFFFFF)
if auto_close:
self._writer.close()
| [
1,
529,
276,
1112,
420,
29958,
29940,
860,
29950,
688,
29875,
29914,
19737,
29968,
327,
272,
29966,
12443,
29918,
303,
1503,
29958,
29896,
29899,
29896,
29900,
13,
3166,
4770,
29888,
9130,
1649,
1053,
25495,
13,
13,
3166,
19229,
1053,
28379,
13,
13,
3166,
11451,
29895,
327,
272,
29889,
10314,
29889,
689,
1446,
29889,
893,
29888,
29889,
1272,
1053,
5886,
29943,
29892,
5886,
9998,
618,
13,
3166,
11451,
29895,
327,
272,
29889,
10314,
29889,
1853,
1053,
323,
1718,
7194,
29918,
15631,
29925,
2890,
29892,
7791,
4574,
4741,
29918,
15631,
29925,
2890,
29892,
18981,
6982,
29892,
18981,
10507,
13,
13,
13,
1990,
5886,
18426,
3821,
6982,
29898,
6848,
6982,
1125,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
2752,
29901,
7791,
4574,
4741,
29918,
15631,
29925,
2890,
29892,
9210,
29901,
938,
353,
29871,
29900,
29892,
2159,
29901,
938,
353,
29871,
29900,
1125,
13,
4706,
2428,
2141,
1649,
2344,
12035,
4993,
29892,
9210,
29892,
2159,
29897,
13,
4706,
1583,
3032,
893,
29888,
29901,
28379,
29961,
1799,
29943,
29962,
353,
6213,
13,
13,
1678,
822,
2254,
29898,
1311,
29892,
4469,
29918,
5358,
29901,
6120,
353,
5852,
29897,
1599,
5886,
29943,
29901,
13,
4706,
1583,
3032,
893,
29888,
353,
5886,
29943,
580,
13,
13,
4706,
934,
29918,
1853,
353,
1583,
3032,
16950,
29889,
949,
29918,
1807,
29898,
29946,
29897,
13,
4706,
934,
29918,
3259,
353,
1583,
3032,
16950,
29889,
949,
29918,
1807,
29898,
29946,
29897,
13,
13,
4706,
565,
934,
29918,
1853,
2804,
376,
1799,
29943,
29242,
13,
9651,
12020,
20948,
703,
4165,
3456,
287,
304,
2254,
385,
8340,
5886,
29943,
471,
7500,
23157,
13,
13,
4706,
565,
934,
29918,
3259,
2804,
376,
29963,
29896,
29889,
29896,
1115,
13,
9651,
12020,
20948,
703,
1576,
19056,
5886,
29943,
934,
1873,
338,
451,
6969,
23157,
13,
13,
4706,
10083,
29918,
10289,
353,
1583,
3032,
16950,
29889,
949,
29918,
13470,
29941,
29906,
580,
13,
4706,
1583,
3032,
16950,
29889,
344,
1416,
29898,
29879,
3885,
29918,
10289,
29897,
13,
13,
4706,
1583,
3032,
893,
29888,
29889,
842,
29898,
1799,
9998,
618,
29889,
29933,
1299,
29911,
1307,
29918,
11341,
29979,
29918,
29896,
29892,
1583,
3032,
16950,
29889,
949,
29918,
13470,
29941,
29906,
3101,
13,
4706,
1583,
3032,
893,
29888,
29889,
842,
29898,
1799,
9998,
618,
29889,
29933,
1299,
29911,
1307,
29918,
11341,
29979,
29918,
29906,
29892,
1583,
3032,
16950,
29889,
949,
29918,
13470,
29941,
29906,
3101,
13,
4706,
1583,
3032,
893,
29888,
29889,
842,
29898,
1799,
9998,
618,
29889,
29933,
1299,
29911,
1307,
29918,
11341,
29979,
29918,
29941,
29892,
1583,
3032,
16950,
29889,
949,
29918,
13470,
29941,
29906,
3101,
13,
4706,
1583,
3032,
893,
29888,
29889,
842,
29898,
1799,
9998,
618,
29889,
29933,
1299,
29911,
1307,
29918,
11341,
29979,
29918,
29946,
29892,
1583,
3032,
16950,
29889,
949,
29918,
13470,
29941,
29906,
3101,
13,
4706,
1583,
3032,
893,
29888,
29889,
842,
29898,
1799,
9998,
618,
29889,
29933,
1299,
29911,
1307,
29918,
11341,
29979,
29918,
29945,
29892,
1583,
3032,
16950,
29889,
949,
29918,
13470,
29941,
29906,
3101,
13,
4706,
1583,
3032,
893,
29888,
29889,
842,
29898,
1799,
9998,
618,
29889,
29933,
1299,
29911,
1307,
29918,
11341,
29979,
29918,
29953,
29892,
1583,
3032,
16950,
29889,
949,
29918,
13470,
29941,
29906,
3101,
13,
4706,
1583,
3032,
893,
29888,
29889,
842,
29898,
1799,
9998,
618,
29889,
6404,
29918,
29896,
29892,
1583,
3032,
16950,
29889,
949,
29918,
13470,
29941,
29906,
3101,
13,
4706,
1583,
3032,
893,
29888,
29889,
842,
29898,
1799,
9998,
618,
29889,
6404,
29918,
29906,
29892,
1583,
3032,
16950,
29889,
949,
29918,
13470,
29941,
29906,
3101,
13,
4706,
1583,
3032,
893,
29888,
29889,
842,
29898,
1799,
9998,
618,
29889,
6404,
29918,
29941,
29892,
1583,
3032,
16950,
29889,
949,
29918,
13470,
29941,
29906,
3101,
13,
4706,
1583,
3032,
893,
29888,
29889,
842,
29898,
1799,
9998,
618,
29889,
1299,
8687,
29968,
29918,
14345,
10356,
29918,
29896,
29892,
1583,
3032,
16950,
29889,
949,
29918,
13470,
29941,
29906,
3101,
13,
4706,
1583,
3032,
893,
29888,
29889,
842,
29898,
1799,
9998,
618,
29889,
1299,
8687,
29968,
29918,
14345,
10356,
29918,
29906,
29892,
1583,
3032,
16950,
29889,
949,
29918,
13470,
29941,
29906,
3101,
13,
4706,
1583,
3032,
893,
29888,
29889,
842,
29898,
1799,
9998,
618,
29889,
1299,
8687,
29968,
29918,
14345,
10356,
29918,
29941,
29892,
1583,
3032,
16950,
29889,
949,
29918,
13470,
29941,
29906,
3101,
13,
4706,
1583,
3032,
893,
29888,
29889,
842,
29898,
1799,
9998,
618,
29889,
7228,
1177,
29918,
14345,
10356,
29918,
29896,
29892,
1583,
3032,
16950,
29889,
949,
29918,
13470,
29941,
29906,
3101,
13,
4706,
1583,
3032,
893,
29888,
29889,
842,
29898,
1799,
9998,
618,
29889,
7228,
1177,
29918,
14345,
10356,
29918,
29906,
29892,
1583,
3032,
16950,
29889,
949,
29918,
13470,
29941,
29906,
3101,
13,
4706,
1583,
3032,
893,
29888,
29889,
842,
29898,
1799,
9998,
618,
29889,
27998,
29918,
9606,
1964,
4690,
29892,
1583,
3032,
16950,
29889,
949,
29918,
13470,
29941,
29906,
3101,
13,
4706,
1583,
3032,
893,
29888,
29889,
842,
29898,
1799,
9998,
618,
29889,
2287,
3035,
29892,
1583,
3032,
16950,
29889,
949,
29918,
13470,
29941,
29906,
3101,
13,
4706,
1583,
3032,
893,
29888,
29889,
842,
29898,
1799,
9998,
618,
29889,
11341,
1806,
2965,
1964,
29918,
29950,
1806,
29892,
1583,
3032,
16950,
29889,
949,
29918,
13470,
29941,
29906,
3101,
13,
4706,
1583,
3032,
893,
29888,
29889,
842,
29898,
1799,
9998,
618,
29889,
29911,
1718,
7194,
29918,
29902,
7428,
3904,
29923,
29892,
1583,
3032,
16950,
29889,
949,
29918,
13470,
29941,
29906,
3101,
13,
4706,
1583,
3032,
893,
29888,
29889,
842,
29898,
1799,
9998,
618,
29889,
18799,
29918,
29924,
8895,
29892,
1583,
3032,
16950,
29889,
949,
29918,
13470,
29941,
29906,
3101,
13,
4706,
1583,
3032,
893,
29888,
29889,
842,
29898,
1799,
9998,
618,
29889,
23711,
1718,
29924,
29918,
29924,
8895,
29892,
1583,
3032,
16950,
29889,
949,
29918,
13470,
29941,
29906,
3101,
13,
4706,
1583,
3032,
893,
29888,
29889,
842,
29898,
1799,
9998,
618,
29889,
29933,
17958,
29918,
1254,
29923,
1964,
4690,
29892,
1583,
3032,
16950,
29889,
949,
29918,
13470,
29941,
29906,
3101,
13,
4706,
1583,
3032,
893,
29888,
29889,
842,
29898,
1799,
9998,
618,
29889,
29933,
17958,
29918,
1660,
1718,
3210,
29892,
1583,
3032,
16950,
29889,
949,
29918,
13470,
29941,
29906,
3101,
13,
4706,
1583,
3032,
893,
29888,
29889,
842,
29898,
1799,
9998,
618,
29889,
29933,
17958,
29918,
3904,
21339,
29892,
1583,
3032,
16950,
29889,
949,
29918,
13470,
29941,
29906,
3101,
13,
4706,
1583,
3032,
893,
29888,
29889,
842,
29898,
1799,
9998,
618,
29889,
3904,
21339,
29918,
4519,
29902,
20566,
29892,
1583,
3032,
16950,
29889,
949,
29918,
13470,
29941,
29906,
3101,
13,
4706,
1583,
3032,
893,
29888,
29889,
842,
29898,
1799,
9998,
618,
29889,
3904,
21339,
29918,
14605,
26925,
29892,
1583,
3032,
16950,
29889,
949,
29918,
13470,
29941,
29906,
3101,
13,
4706,
1583,
3032,
893,
29888,
29889,
842,
29898,
1799,
9998,
618,
29889,
1660,
16320,
3040,
29928,
29918,
21482,
29918,
26092,
29979,
29892,
1583,
3032,
16950,
29889,
949,
29918,
13470,
29941,
29906,
3101,
13,
4706,
1583,
3032,
893,
29888,
29889,
842,
29898,
1799,
9998,
618,
29889,
1525,
29967,
6992,
3352,
29918,
26092,
29979,
29892,
1583,
3032,
16950,
29889,
949,
29918,
13470,
29941,
29906,
3101,
13,
4706,
1583,
3032,
893,
29888,
29889,
842,
29898,
1799,
9998,
618,
29889,
13152,
29902,
3094,
3352,
29892,
1583,
3032,
16950,
29889,
949,
29918,
13470,
29941,
29906,
3101,
13,
13,
4706,
565,
4469,
29918,
5358,
29901,
13,
9651,
1583,
3032,
16950,
29889,
5358,
580,
13,
13,
4706,
736,
1583,
3032,
893,
29888,
13,
13,
13,
1990,
5886,
18426,
3821,
10507,
29898,
6848,
10507,
1125,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
269,
4668,
29901,
5886,
29943,
29892,
3646,
29901,
323,
1718,
7194,
29918,
15631,
29925,
2890,
1125,
13,
4706,
2428,
2141,
1649,
2344,
12035,
5182,
29897,
13,
4706,
1583,
3032,
893,
29888,
29901,
5886,
29943,
353,
269,
4668,
13,
13,
1678,
822,
2436,
29898,
1311,
29892,
4469,
29918,
5358,
29901,
6120,
353,
5852,
29897,
1599,
6213,
29901,
13,
4706,
1583,
3032,
13236,
29889,
3539,
29918,
1807,
703,
1799,
29943,
16521,
13,
4706,
1583,
3032,
13236,
29889,
3539,
29918,
1807,
703,
29963,
29896,
29889,
29896,
1159,
13,
4706,
1583,
3032,
13236,
29889,
3539,
29918,
13470,
29941,
29906,
29898,
29896,
29906,
29897,
13,
13,
4706,
1583,
3032,
13236,
29889,
3539,
29918,
13470,
29941,
29906,
29898,
1311,
3032,
893,
29888,
29889,
657,
29898,
1799,
9998,
618,
29889,
29933,
1299,
29911,
1307,
29918,
11341,
29979,
29918,
29896,
511,
4236,
29918,
10052,
29896,
29922,
5574,
29897,
13,
4706,
1583,
3032,
13236,
29889,
3539,
29918,
13470,
29941,
29906,
29898,
1311,
3032,
893,
29888,
29889,
657,
29898,
1799,
9998,
618,
29889,
29933,
1299,
29911,
1307,
29918,
11341,
29979,
29918,
29906,
511,
4236,
29918,
10052,
29896,
29922,
5574,
29897,
13,
4706,
1583,
3032,
13236,
29889,
3539,
29918,
13470,
29941,
29906,
29898,
1311,
3032,
893,
29888,
29889,
657,
29898,
1799,
9998,
618,
29889,
29933,
1299,
29911,
1307,
29918,
11341,
29979,
29918,
29941,
511,
4236,
29918,
10052,
29896,
29922,
5574,
29897,
13,
4706,
1583,
3032,
13236,
29889,
3539,
29918,
13470,
29941,
29906,
29898,
1311,
3032,
893,
29888,
29889,
657,
29898,
1799,
9998,
618,
29889,
29933,
1299,
29911,
1307,
29918,
11341,
29979,
29918,
29946,
511,
4236,
29918,
10052,
29896,
29922,
5574,
29897,
13,
4706,
1583,
3032,
13236,
29889,
3539,
29918,
13470,
29941,
29906,
29898,
1311,
3032,
893,
29888,
29889,
657,
29898,
1799,
9998,
618,
29889,
29933,
1299,
29911,
1307,
29918,
11341,
29979,
29918,
29945,
511,
4236,
29918,
10052,
29896,
29922,
5574,
29897,
13,
4706,
1583,
3032,
13236,
29889,
3539,
29918,
13470,
29941,
29906,
29898,
1311,
3032,
893,
29888,
29889,
657,
29898,
1799,
9998,
618,
29889,
29933,
1299,
29911,
1307,
29918,
11341,
29979,
29918,
29953,
511,
4236,
29918,
10052,
29896,
29922,
5574,
29897,
13,
4706,
1583,
3032,
13236,
29889,
3539,
29918,
13470,
29941,
29906,
29898,
1311,
3032,
893,
29888,
29889,
657,
29898,
1799,
9998,
618,
29889,
6404,
29918,
29896,
511,
4236,
29918,
10052,
29896,
29922,
5574,
29897,
13,
4706,
1583,
3032,
13236,
29889,
3539,
29918,
13470,
29941,
29906,
29898,
1311,
3032,
893,
29888,
29889,
657,
29898,
1799,
9998,
618,
29889,
6404,
29918,
29906,
511,
4236,
29918,
10052,
29896,
29922,
5574,
29897,
13,
4706,
1583,
3032,
13236,
29889,
3539,
29918,
13470,
29941,
29906,
29898,
1311,
3032,
893,
29888,
29889,
657,
29898,
1799,
9998,
618,
29889,
6404,
29918,
29941,
511,
4236,
29918,
10052,
29896,
29922,
5574,
29897,
13,
4706,
1583,
3032,
13236,
29889,
3539,
29918,
13470,
29941,
29906,
29898,
1311,
3032,
893,
29888,
29889,
657,
29898,
1799,
9998,
618,
29889,
1299,
8687,
29968,
29918,
14345,
10356,
29918,
29896,
511,
4236,
29918,
10052,
29896,
29922,
5574,
29897,
13,
4706,
1583,
3032,
13236,
29889,
3539,
29918,
13470,
29941,
29906,
29898,
1311,
3032,
893,
29888,
29889,
657,
29898,
1799,
9998,
618,
29889,
1299,
8687,
29968,
29918,
14345,
10356,
29918,
29906,
511,
4236,
29918,
10052,
29896,
29922,
5574,
29897,
13,
4706,
1583,
3032,
13236,
29889,
3539,
29918,
13470,
29941,
29906,
29898,
1311,
3032,
893,
29888,
29889,
657,
29898,
1799,
9998,
618,
29889,
1299,
8687,
29968,
29918,
14345,
10356,
29918,
29941,
511,
4236,
29918,
10052,
29896,
29922,
5574,
29897,
13,
4706,
1583,
3032,
13236,
29889,
3539,
29918,
13470,
29941,
29906,
29898,
1311,
3032,
893,
29888,
29889,
657,
29898,
1799,
9998,
618,
29889,
7228,
1177,
29918,
14345,
10356,
29918,
29896,
511,
4236,
29918,
10052,
29896,
29922,
5574,
29897,
13,
4706,
1583,
3032,
13236,
29889,
3539,
29918,
13470,
29941,
29906,
29898,
1311,
3032,
893,
29888,
29889,
657,
29898,
1799,
9998,
618,
29889,
7228,
1177,
29918,
14345,
10356,
29918,
29906,
511,
4236,
29918,
10052,
29896,
29922,
5574,
29897,
13,
4706,
1583,
3032,
13236,
29889,
3539,
29918,
13470,
29941,
29906,
29898,
1311,
3032,
893,
29888,
29889,
657,
29898,
1799,
9998,
618,
29889,
27998,
29918,
9606,
1964,
4690,
511,
4236,
29918,
10052,
29896,
29922,
5574,
29897,
13,
4706,
1583,
3032,
13236,
29889,
3539,
29918,
13470,
29941,
29906,
29898,
1311,
3032,
893,
29888,
29889,
657,
29898,
1799,
9998,
618,
29889,
2287,
3035,
511,
4236,
29918,
10052,
29896,
29922,
5574,
29897,
13,
4706,
1583,
3032,
13236,
29889,
3539,
29918,
13470,
29941,
29906,
29898,
1311,
3032,
893,
29888,
29889,
657,
29898,
1799,
9998,
618,
29889,
11341,
1806,
2965,
1964,
29918,
29950,
1806,
511,
4236,
29918,
10052,
29896,
29922,
5574,
29897,
13,
4706,
1583,
3032,
13236,
29889,
3539,
29918,
13470,
29941,
29906,
29898,
1311,
3032,
893,
29888,
29889,
657,
29898,
1799,
9998,
618,
29889,
29911,
1718,
7194,
29918,
29902,
7428,
3904,
29923,
511,
4236,
29918,
10052,
29896,
29922,
5574,
29897,
13,
4706,
1583,
3032,
13236,
29889,
3539,
29918,
13470,
29941,
29906,
29898,
1311,
3032,
893,
29888,
29889,
657,
29898,
1799,
9998,
618,
29889,
18799,
29918,
29924,
8895,
511,
4236,
29918,
10052,
29896,
29922,
5574,
29897,
13,
4706,
1583,
3032,
13236,
29889,
3539,
29918,
13470,
29941,
29906,
29898,
1311,
3032,
893,
29888,
29889,
657,
29898,
1799,
9998,
618,
29889,
23711,
1718,
29924,
29918,
29924,
8895,
511,
4236,
29918,
10052,
29896,
29922,
5574,
29897,
13,
4706,
1583,
3032,
13236,
29889,
3539,
29918,
13470,
29941,
29906,
29898,
1311,
3032,
893,
29888,
29889,
657,
29898,
1799,
9998,
618,
29889,
29933,
17958,
29918,
1254,
29923,
1964,
4690,
511,
4236,
29918,
10052,
29896,
29922,
5574,
29897,
13,
4706,
1583,
3032,
13236,
29889,
3539,
29918,
13470,
29941,
29906,
29898,
1311,
3032,
893,
29888,
29889,
657,
29898,
1799,
9998,
618,
29889,
29933,
17958,
29918,
1660,
1718,
3210,
511,
4236,
29918,
10052,
29896,
29922,
5574,
29897,
13,
4706,
1583,
3032,
13236,
29889,
3539,
29918,
13470,
29941,
29906,
29898,
1311,
3032,
893,
29888,
29889,
657,
29898,
1799,
9998,
618,
29889,
29933,
17958,
29918,
3904,
21339,
511,
4236,
29918,
10052,
29896,
29922,
5574,
29897,
13,
4706,
1583,
3032,
13236,
29889,
3539,
29918,
13470,
29941,
29906,
29898,
1311,
3032,
893,
29888,
29889,
657,
29898,
1799,
9998,
618,
29889,
3904,
21339,
29918,
4519,
29902,
20566,
511,
4236,
29918,
10052,
29896,
29922,
5574,
29897,
13,
4706,
1583,
3032,
13236,
29889,
3539,
29918,
13470,
29941,
29906,
29898,
1311,
3032,
893,
29888,
29889,
657,
29898,
1799,
9998,
618,
29889,
3904,
21339,
29918,
14605,
26925,
511,
4236,
29918,
10052,
29896,
29922,
5574,
29897,
13,
4706,
1583,
3032,
13236,
29889,
3539,
29918,
13470,
29941,
29906,
29898,
1311,
3032,
893,
29888,
29889,
657,
29898,
1799,
9998,
618,
29889,
1660,
16320,
3040,
29928,
29918,
21482,
29918,
26092,
29979,
511,
4236,
29918,
10052,
29896,
29922,
5574,
29897,
13,
4706,
1583,
3032,
13236,
29889,
3539,
29918,
13470,
29941,
29906,
29898,
1311,
3032,
893,
29888,
29889,
657,
29898,
1799,
9998,
618,
29889,
1525,
29967,
6992,
3352,
29918,
26092,
29979,
511,
4236,
29918,
10052,
29896,
29922,
5574,
29897,
13,
4706,
1583,
3032,
13236,
29889,
3539,
29918,
13470,
29941,
29906,
29898,
1311,
3032,
893,
29888,
29889,
657,
29898,
1799,
9998,
618,
29889,
13152,
29902,
3094,
3352,
511,
4236,
29918,
10052,
29896,
29922,
5574,
29897,
13,
13,
4706,
363,
474,
297,
3464,
29898,
29947,
1125,
13,
9651,
1583,
3032,
13236,
29889,
3539,
29918,
13470,
29941,
29906,
29898,
29900,
29916,
22098,
22098,
29897,
13,
13,
4706,
565,
4469,
29918,
5358,
29901,
13,
9651,
1583,
3032,
13236,
29889,
5358,
580,
13,
2
] |
ngraph/frontends/neon/data/ptb.py | NervanaSystems/ngraph-python | 18 | 1608799 | # ******************************************************************************
# Copyright 2017-2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ******************************************************************************
from ngraph.util.persist import valid_path_append, fetch_file
import os
import numpy as np
class PTB(object):
"""
Penn Treebank data set from http://arxiv.org/pdf/1409.2329v5.pdf
Arguments:
path (string): Data directory to find the data, if not existing, will
download the data
shift_target (boolean): Set the target to be the same sequence of shifted
version of the sequence. Default to be True, for
language models.
"""
def __init__(self, path='.', use_words=False, shift_target=True):
self.path = path
self.url = 'https://raw.githubusercontent.com/wojzaremba/lstm/master/data'
self.filemap = dict(train=dict(filename='ptb.train.txt', size=5101618),
test=dict(filename='ptb.test.txt', size=449945),
valid=dict(filename='ptb.valid.txt', size=399782))
self.shift_target = shift_target
self.use_words = use_words
def load_data(self):
self.data_dict = {}
self.vocab = None
for phase in ['train', 'test', 'valid']:
filename, filesize = self.filemap[phase]['filename'], self.filemap[phase]['size']
workdir, filepath = valid_path_append(self.path, '', filename)
if not os.path.exists(filepath):
fetch_file(self.url, filename, filepath, filesize)
tokens = open(filepath).read() # add tokenization here if necessary
if self.use_words:
tokens = tokens.strip().split()
self.vocab = sorted(set(tokens)) if self.vocab is None else self.vocab
# vocab dicts
self.token_to_index = dict((t, i) for i, t in enumerate(self.vocab))
self.index_to_token = dict((i, t) for i, t in enumerate(self.vocab))
# map tokens to indices
X = np.asarray([self.token_to_index[t] for t in tokens], dtype=np.uint32)
if self.shift_target:
y = np.concatenate((X[1:], X[:1]))
else:
y = X.copy()
self.data_dict[phase] = {'inp_txt': X, 'tgt_txt': y}
return self.data_dict
| [
1,
396,
334,
7775,
7775,
7775,
7775,
4189,
2328,
29930,
13,
29937,
14187,
1266,
29871,
29906,
29900,
29896,
29955,
29899,
29906,
29900,
29896,
29947,
18555,
15025,
13,
29937,
13,
29937,
10413,
21144,
1090,
278,
13380,
19245,
29892,
10079,
29871,
29906,
29889,
29900,
313,
1552,
376,
29931,
293,
1947,
1496,
13,
29937,
366,
1122,
451,
671,
445,
934,
5174,
297,
752,
13036,
411,
278,
19245,
29889,
13,
29937,
887,
1122,
4017,
263,
3509,
310,
278,
19245,
472,
13,
29937,
13,
29937,
268,
1732,
597,
1636,
29889,
4288,
29889,
990,
29914,
506,
11259,
29914,
27888,
1430,
1660,
29899,
29906,
29889,
29900,
13,
29937,
13,
29937,
25870,
3734,
491,
22903,
4307,
470,
15502,
304,
297,
5007,
29892,
7047,
13,
29937,
13235,
1090,
278,
19245,
338,
13235,
373,
385,
376,
3289,
8519,
29908,
350,
3289,
3235,
29892,
13,
29937,
399,
1806,
8187,
2692,
399,
1718,
29934,
13566,
29059,
6323,
8707,
29928,
22122,
29903,
8079,
13764,
29979,
476,
22255,
29892,
2845,
4653,
470,
2411,
2957,
29889,
13,
29937,
2823,
278,
19245,
363,
278,
2702,
4086,
14765,
1076,
11239,
322,
13,
29937,
27028,
1090,
278,
19245,
29889,
13,
29937,
334,
7775,
7775,
7775,
7775,
4189,
2328,
29930,
13,
3166,
302,
4262,
29889,
4422,
29889,
6774,
391,
1053,
2854,
29918,
2084,
29918,
4397,
29892,
6699,
29918,
1445,
13,
5215,
2897,
13,
5215,
12655,
408,
7442,
13,
13,
13,
1990,
349,
24895,
29898,
3318,
1125,
13,
1678,
9995,
13,
1678,
349,
2108,
6479,
774,
804,
848,
731,
515,
1732,
597,
279,
26560,
29889,
990,
29914,
5140,
29914,
29896,
29946,
29900,
29929,
29889,
29906,
29941,
29906,
29929,
29894,
29945,
29889,
5140,
13,
13,
1678,
11842,
9331,
29901,
13,
4706,
2224,
313,
1807,
1125,
3630,
3884,
304,
1284,
278,
848,
29892,
565,
451,
5923,
29892,
674,
13,
462,
539,
5142,
278,
848,
13,
4706,
9500,
29918,
5182,
313,
20054,
1125,
3789,
278,
3646,
304,
367,
278,
1021,
5665,
310,
9500,
287,
13,
462,
18884,
1873,
310,
278,
5665,
29889,
13109,
304,
367,
5852,
29892,
363,
13,
462,
18884,
4086,
4733,
29889,
13,
1678,
9995,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
2224,
2433,
29889,
742,
671,
29918,
9303,
29922,
8824,
29892,
9500,
29918,
5182,
29922,
5574,
1125,
13,
4706,
1583,
29889,
2084,
353,
2224,
13,
4706,
1583,
29889,
2271,
353,
525,
991,
597,
1610,
29889,
3292,
1792,
3051,
29889,
510,
29914,
827,
29926,
29920,
598,
29885,
2291,
29914,
20155,
29885,
29914,
6207,
29914,
1272,
29915,
13,
4706,
1583,
29889,
1445,
1958,
353,
9657,
29898,
14968,
29922,
8977,
29898,
9507,
2433,
415,
29890,
29889,
14968,
29889,
3945,
742,
2159,
29922,
29945,
29896,
29900,
29896,
29953,
29896,
29947,
511,
13,
462,
9651,
1243,
29922,
8977,
29898,
9507,
2433,
415,
29890,
29889,
1688,
29889,
3945,
742,
2159,
29922,
29946,
29946,
29929,
29929,
29946,
29945,
511,
13,
462,
9651,
2854,
29922,
8977,
29898,
9507,
2433,
415,
29890,
29889,
3084,
29889,
3945,
742,
2159,
29922,
29941,
29929,
29929,
29955,
29947,
29906,
876,
13,
4706,
1583,
29889,
10889,
29918,
5182,
353,
9500,
29918,
5182,
13,
4706,
1583,
29889,
1509,
29918,
9303,
353,
671,
29918,
9303,
13,
13,
1678,
822,
2254,
29918,
1272,
29898,
1311,
1125,
13,
4706,
1583,
29889,
1272,
29918,
8977,
353,
6571,
13,
4706,
1583,
29889,
29894,
542,
370,
353,
6213,
13,
4706,
363,
8576,
297,
6024,
14968,
742,
525,
1688,
742,
525,
3084,
2033,
29901,
13,
9651,
10422,
29892,
2066,
675,
353,
1583,
29889,
1445,
1958,
29961,
21646,
22322,
9507,
7464,
1583,
29889,
1445,
1958,
29961,
21646,
22322,
2311,
2033,
13,
9651,
664,
3972,
29892,
934,
2084,
353,
2854,
29918,
2084,
29918,
4397,
29898,
1311,
29889,
2084,
29892,
15516,
10422,
29897,
13,
9651,
565,
451,
2897,
29889,
2084,
29889,
9933,
29898,
1445,
2084,
1125,
13,
18884,
6699,
29918,
1445,
29898,
1311,
29889,
2271,
29892,
10422,
29892,
934,
2084,
29892,
2066,
675,
29897,
13,
13,
9651,
18897,
353,
1722,
29898,
1445,
2084,
467,
949,
580,
29871,
396,
788,
5993,
2133,
1244,
565,
5181,
13,
13,
9651,
565,
1583,
29889,
1509,
29918,
9303,
29901,
13,
18884,
18897,
353,
18897,
29889,
17010,
2141,
5451,
580,
13,
13,
9651,
1583,
29889,
29894,
542,
370,
353,
12705,
29898,
842,
29898,
517,
12360,
876,
565,
1583,
29889,
29894,
542,
370,
338,
6213,
1683,
1583,
29889,
29894,
542,
370,
13,
13,
9651,
396,
7931,
370,
9657,
29879,
13,
9651,
1583,
29889,
6979,
29918,
517,
29918,
2248,
353,
9657,
3552,
29873,
29892,
474,
29897,
363,
474,
29892,
260,
297,
26985,
29898,
1311,
29889,
29894,
542,
370,
876,
13,
9651,
1583,
29889,
2248,
29918,
517,
29918,
6979,
353,
9657,
3552,
29875,
29892,
260,
29897,
363,
474,
29892,
260,
297,
26985,
29898,
1311,
29889,
29894,
542,
370,
876,
13,
13,
9651,
396,
2910,
18897,
304,
16285,
13,
9651,
1060,
353,
7442,
29889,
294,
2378,
4197,
1311,
29889,
6979,
29918,
517,
29918,
2248,
29961,
29873,
29962,
363,
260,
297,
18897,
1402,
26688,
29922,
9302,
29889,
13470,
29941,
29906,
29897,
13,
9651,
565,
1583,
29889,
10889,
29918,
5182,
29901,
13,
18884,
343,
353,
7442,
29889,
535,
29883,
2579,
403,
3552,
29990,
29961,
29896,
29901,
1402,
1060,
7503,
29896,
12622,
13,
9651,
1683,
29901,
13,
18884,
343,
353,
1060,
29889,
8552,
580,
13,
13,
9651,
1583,
29889,
1272,
29918,
8977,
29961,
21646,
29962,
353,
11117,
262,
29886,
29918,
3945,
2396,
1060,
29892,
525,
29873,
4141,
29918,
3945,
2396,
343,
29913,
13,
13,
4706,
736,
1583,
29889,
1272,
29918,
8977,
13,
2
] |
ServerInitialisation/vmpackage/serverCreationInitialisation.py | flexiops/Server-Initialisation | 0 | 1601040 | import requests
import json
import time
from serverapi.serverMethods import get_server_state
from serverapi.serverMethods import change_server_status
WAIT_TIME = 30 #seconds
MAX_NO_ATTEMPTS = 5
serverUUID = ""
isVerbose = False
ENDPOINT = "https://cp.sd1.flexiant.net:4442/"
#Login UUID/username/password
customerUUID=""
username=""
password=""
#Method used to authenticate a user with platform and create a token
def getToken(endpoint, username, cust_uuid, password):
tokenURL = "%srest/user/current/authentication" % endpoint
apiUserName = username + "/" + cust_uuid
tokenPayload = {'automaticallyRenew': 'True'}
tokenRequest = requests.get(tokenURL, params=tokenPayload,
auth=(apiUserName, password))
retry = True
count = 1
#Try the request multiple times if failure occurs
while ((count <= MAX_NO_ATTEMPTS) and (retry == True)):
#Get response from reserver
tokenRequest = requests.get(tokenURL, params=tokenPayload,
auth=(apiUserName, password))
#If the token is returned correctly, return it
if tokenRequest.ok:
token = tokenRequest.content
tokenObj = json.loads(token)
return tokenObj['publicToken']
#If the server is busy, increment the count and try the request again
if (tokenRequest.status_code == 429):
print "Server busy - received 429 response, wait and retry. Attempt number: ", count
time.sleep(WAIT_TIME)
count = count + 1
else:
#If the server can not be reached, raise an exception
raise Exception("Failed contacting %s with %s (%s)" % (
tokenURL, tokenRequest.reason, tokenRequest.status_code))
#If max amount of attempts have been reached, raise an exception
if ((retry == True) and (count == MAX_NO_ATTEMPTS)):
raise Exception("HTTP 429 ERROR, Maximum unsuccessful attempts made to send request to the server")
#Method used to create a new server instance on the platform
def rest_create_server(auth_parms, server_name, server_po_uuid, image_uuid, cluster_uuid, vdc_uuid, cpu_count,
ram_amount, nics, boot_disk_po_uuid, context_script):
createURL = auth_parms['endpoint'] + "rest/user/current/resources/server"
#Get image size
img_ret = list_image(auth_parms, image_uuid)
size = img_ret['size']
#Set up parameters as required
server_json = {
"resourceName": server_name,
"productOfferUUID": server_po_uuid,
"imageUUID": image_uuid,
"clusterUUID": cluster_uuid,
"vdcUUID": vdc_uuid,
"nics" : nics,
"cpu": cpu_count,
"ram": ram_amount,
"disks": [{"iso": False,
# "resourceName": "the disk"
"resourceType": "DISK",
"resourceUUID": boot_disk_po_uuid,
"size": size,
"vdcUUID": vdc_uuid,
# "productOfferUUID": disk_po_uuid
}],
"resourceType": "SERVER",
"resourceMetadata": {"publicMetadata": context_script},
# "serverCapabilities": ["CLONE", "CHILDREN_PERSIST_ON_DELETE", "CHILDREN_PERSIST_ON_REVERT"],
}
payload = server_json
print(payload)
payload_as_string = json.JSONEncoder().encode(payload)
# Need to set the content type, because if we don't the payload is just silently ignored
headers = {'content-type': 'application/json'}
#Submit server create request
result = rest_submit_postrequest(createURL, payload_as_string, headers, auth_parms)
return result
def list_image(auth_params, uuid):
""" Get Image details """
# Setup serach filter
sf = { "searchFilter" :
{ "filterConditions": [{"condition": "IS_EQUAL_TO",
"field": "resourceUUID",
"value": [uuid]
}
]
}
}
if (isVerbose):
print("sf=")
print sf
print("---")
#Check if image can be accessed properly
result_set = rest_list_resource(auth_params, "image", sf)
if result_set['totalCount'] == 0:
raise RuntimeError("Image " + uuid + " not found or you do not have permissions to use it")
print("==== Image Result ====")
print result_set
print("=========");
# return just the first element (there was only one, right ?), otheriwse we end up doing e.g. img_ret['list'][0]['vdcUUID']
# all over the place
return result_set['list'][0]
#Method used to submit a REST POST request
def rest_submit_postrequest(theURL, payload, headers, auth_parms):
retry = True
count = 1
#Attempt the request multiple times if failure occurs
while ((count <= MAX_NO_ATTEMPTS) and (retry == True)):
res = requests.post(theURL, payload, auth=(auth_parms['token'], ''), headers=headers)
print("==============================================================")
print "Request submitted, response URL and contents:"
print(res.url)
print res.content
#jsonDump = json.dumps(res.content)
jsonContent = json.loads(res.content)
#Take the newly created serverUUID which is used later to create the server
global serverUUID
serverUUID = jsonContent["itemUUID"]
print("HTTP response code: ", res.status_code)
# Status 202 (Accepted) is good
if ((res.status_code == 202) or (res.status_code == 200)):
response = json.loads(res.content)
retry = False
return response
#If server is busy, attempt the request again
if (res.status_code == 429):
print "Server busy - received 429 response, wait and retry. Attempt number: ", count
time.sleep(WAIT_TIME)
count = count + 1
else:
# Something else went wrong. Pick out the status code and message
response = json.loads(res.content)
retry = False
return ""
print("==============================================================")
#If max amount of requests has been reached, print an error message
if ((retry == True) and (count == MAX_NO_ATTEMPTS)):
print "HTTP 429 ERROR, Maximum unsuccessful attempts made to send request to the server"
# print(response['message'] + " (error code: " + response['errorCode'] + ")")
return ""
#Use a REST request to list resources
def rest_list_resource(auth_parms, res_type, payload):
print auth_parms
theURL = auth_parms['endpoint'] + "rest/user/current/resources/" + res_type + "/list"
print theURL
if payload != None:
payload_as_string = json.JSONEncoder().encode(payload);
print("payload_as_string=" + payload_as_string)
# Note we use data= and not params= here
# See: http://requests.readthedocs.org/en/v1.0.1/user/quickstart/
#
# Also, we need to set the content type, because if we don't the payload is just silently ignored
headers = {'content-type': 'application/json'}
print("theURL=" + theURL)
retry = True
count = 1
#If the request failed, retry the request a specified number of times
while ((count <= MAX_NO_ATTEMPTS) and (retry == True)):
if payload != None:
res = requests.get(theURL, data=payload_as_string, auth=(auth_parms['token'], ''), headers=headers)
else:
res = requests.get(theURL, auth=(auth_parms['token'], ''), headers=headers)
#Output the result from the request
print("==============================================================")
print(res.url)
print("res=" + str(res))
print res.content
# Status 202 (Accepted) is good
if (res.status_code == 200):
response = json.loads(res.content)
retry = False
return response
#If the server is busy, retry the request
if (res.status_code == 429):
print "Server busy - received 429 response, wait and retry. Attempt number: ", count
time.sleep(WAIT_TIME)
count = count + 1
else:
# Something else went wrong. Pick out the status code and message
response = json.loads(res.content)
print("HTTP response code: ", res.status_code)
retry = False
return ""
#Max number of requests has been reached
if ((retry == True) and (count == MAX_NO_ATTEMPTS)):
raise RuntimeError("HTTP 429 ERROR, Maximum unsuccessful attempts made to send request to the server")
return ""
#Method used to create the server and deploy it to the platform
def create_server():
hostname = "https://cp.sd1.flexiant.net:4442/"
#Get token to authenticate the user
token = getToken(hostname, username,
customerUUID, password)
auth = dict(endpoint=hostname, token=token)
#Parameters that are to be sent to the platform. (Add/remove as required for target platform)
auth_parms = auth
server_name = ""
server_productoffer_uuid = ""
image_uuid = ""
cluster_uuid = ""
vdc_uuid = ""
cpu_count = 1
ram_amount = 512
boot_disk_po_uuid = ""
context_script = ""
networkUUID = ""
networkType = ""
resourceName = ""
resourceType = ""
#NIC is a virtual resource that stands for Network Interface Card
nic = {
"clusterUUID": cluster_uuid,
"networkUUID": networkUUID,
"networkType": networkType,
"resourceName": resourceName,
"resourceType": resourceType,
"vdcUUID": vdc_uuid,
}
nics = [
nic
]
#Call the create server method. Modify parameters as required for the target platform
rest_create_server(auth_parms, server_name, server_productoffer_uuid,
image_uuid, cluster_uuid,
vdc_uuid, cpu_count,
ram_amount, nics, boot_disk_po_uuid, context_script)
#Helper method used to change the state of a server into running mode
def start_server(auth_parms, server_uuid):
"""Function to start server, uuid in server_data"""
server_state = get_server_state(auth_parms, server_uuid)
if server_state == 'STOPPED':
rc = change_server_status(auth_parms=auth_parms, server_uuid=server_uuid, state='RUNNING')
if (rc != 0):
raise Exception("Failed to put server " + server_uuid + " in to running state")
#The main method used to launch a server instance
def StartVM(customerUUID, customerUsername, customerPassword, serverUUID):
#Authenticate the api connection
auth_client = api_session(customerUsername, customerUUID, customerPassword)
#Get the current server state
server_state = get_server_state(auth_client, serverUUID)
if (server_state == 'RUNNING'):
print "Server is already running"
return
if (server_state == 'STOPPED' or server_state == 'STOPPING'):
start_server(auth_client, serverUUID)
print "Server is now RUNNING "
else:
print "Server could not be started because it is - %s " % server_state
#Method used to get api session
def api_session(customerUsername, customerUUID, customerPassword):
"""Function to set up api session, import credentials etc."""
token = getToken(ENDPOINT, customerUsername, customerUUID, customerPassword)
auth_client = dict(endpoint=ENDPOINT, token=token)
return auth_client
create_server()
time.sleep(20)
StartVM(customerUUID,username,password,serverUUID)
| [
1,
1053,
7274,
13,
5215,
4390,
13,
5215,
931,
13,
3166,
1923,
2754,
29889,
2974,
26112,
1053,
679,
29918,
2974,
29918,
3859,
13,
3166,
1923,
2754,
29889,
2974,
26112,
1053,
1735,
29918,
2974,
29918,
4882,
13,
13,
12982,
1806,
29918,
15307,
353,
29871,
29941,
29900,
396,
23128,
13,
12648,
29918,
6632,
29918,
1299,
4330,
3580,
9375,
353,
29871,
29945,
13,
2974,
29965,
11150,
353,
5124,
13,
275,
6565,
15828,
353,
7700,
13,
1430,
11191,
6992,
29911,
353,
376,
991,
597,
6814,
29889,
4928,
29896,
29889,
16041,
29875,
424,
29889,
1212,
29901,
29946,
29946,
29946,
29906,
12975,
13,
13,
29937,
11049,
501,
11150,
29914,
6786,
29914,
5630,
13,
15539,
29965,
11150,
13776,
13,
6786,
13776,
13,
5630,
13776,
13,
13,
29937,
4062,
1304,
304,
15585,
403,
263,
1404,
411,
7481,
322,
1653,
263,
5993,
13,
1753,
679,
6066,
29898,
29734,
29892,
8952,
29892,
25387,
29918,
25118,
29892,
4800,
1125,
13,
1678,
5993,
4219,
353,
11860,
29879,
5060,
29914,
1792,
29914,
3784,
29914,
23055,
29908,
1273,
16248,
13,
1678,
7882,
28129,
353,
8952,
718,
5591,
29908,
718,
25387,
29918,
25118,
13,
1678,
5993,
15467,
1359,
353,
11117,
17405,
19574,
29934,
264,
809,
2396,
525,
5574,
10827,
13,
1678,
5993,
3089,
353,
7274,
29889,
657,
29898,
6979,
4219,
29892,
8636,
29922,
6979,
15467,
1359,
29892,
13,
462,
18884,
4817,
7607,
2754,
28129,
29892,
4800,
876,
13,
13,
1678,
337,
2202,
353,
5852,
13,
1678,
2302,
353,
29871,
29896,
13,
13,
1678,
396,
15870,
278,
2009,
2999,
3064,
565,
10672,
10008,
13,
1678,
1550,
5135,
2798,
5277,
18134,
29918,
6632,
29918,
1299,
4330,
3580,
9375,
29897,
322,
313,
276,
2202,
1275,
5852,
22164,
13,
13,
4706,
396,
2577,
2933,
515,
620,
261,
369,
13,
4706,
5993,
3089,
353,
7274,
29889,
657,
29898,
6979,
4219,
29892,
8636,
29922,
6979,
15467,
1359,
29892,
13,
462,
462,
1678,
4817,
7607,
2754,
28129,
29892,
4800,
876,
13,
4706,
396,
3644,
278,
5993,
338,
4133,
5149,
29892,
736,
372,
13,
4706,
565,
5993,
3089,
29889,
554,
29901,
13,
9651,
5993,
353,
5993,
3089,
29889,
3051,
13,
9651,
5993,
9930,
353,
4390,
29889,
18132,
29898,
6979,
29897,
13,
9651,
736,
5993,
9930,
1839,
3597,
6066,
2033,
13,
13,
4706,
396,
3644,
278,
1923,
338,
19587,
29892,
11924,
278,
2302,
322,
1018,
278,
2009,
1449,
13,
4706,
565,
313,
6979,
3089,
29889,
4882,
29918,
401,
1275,
29871,
29946,
29906,
29929,
1125,
13,
9651,
1596,
376,
6004,
19587,
448,
4520,
29871,
29946,
29906,
29929,
2933,
29892,
4480,
322,
337,
2202,
29889,
6212,
3456,
1353,
29901,
9162,
2302,
13,
9651,
931,
29889,
17059,
29898,
12982,
1806,
29918,
15307,
29897,
13,
9651,
2302,
353,
2302,
718,
29871,
29896,
13,
4706,
1683,
29901,
13,
9651,
396,
3644,
278,
1923,
508,
451,
367,
7450,
29892,
12020,
385,
3682,
13,
9651,
12020,
8960,
703,
17776,
6958,
292,
1273,
29879,
411,
1273,
29879,
313,
29995,
29879,
5513,
1273,
313,
13,
18884,
5993,
4219,
29892,
5993,
3089,
29889,
23147,
29892,
5993,
3089,
29889,
4882,
29918,
401,
876,
13,
13,
1678,
396,
3644,
4236,
5253,
310,
14734,
505,
1063,
7450,
29892,
12020,
385,
3682,
13,
1678,
565,
5135,
276,
2202,
1275,
5852,
29897,
322,
313,
2798,
1275,
18134,
29918,
6632,
29918,
1299,
4330,
3580,
9375,
22164,
13,
4706,
12020,
8960,
703,
10493,
29871,
29946,
29906,
29929,
14431,
29892,
5918,
12539,
443,
8698,
1319,
14734,
1754,
304,
3638,
2009,
304,
278,
1923,
1159,
13,
13,
29937,
4062,
1304,
304,
1653,
263,
716,
1923,
2777,
373,
278,
7481,
13,
1753,
1791,
29918,
3258,
29918,
2974,
29898,
5150,
29918,
862,
1516,
29892,
1923,
29918,
978,
29892,
1923,
29918,
1129,
29918,
25118,
29892,
1967,
29918,
25118,
29892,
9867,
29918,
25118,
29892,
325,
13891,
29918,
25118,
29892,
26403,
29918,
2798,
29892,
13,
462,
539,
13472,
29918,
14506,
29892,
302,
1199,
29892,
6579,
29918,
20960,
29918,
1129,
29918,
25118,
29892,
3030,
29918,
2154,
1125,
13,
1678,
1653,
4219,
353,
4817,
29918,
862,
1516,
1839,
29734,
2033,
718,
376,
5060,
29914,
1792,
29914,
3784,
29914,
13237,
29914,
2974,
29908,
13,
13,
1678,
396,
2577,
1967,
2159,
13,
1678,
10153,
29918,
2267,
353,
1051,
29918,
3027,
29898,
5150,
29918,
862,
1516,
29892,
1967,
29918,
25118,
29897,
13,
1678,
2159,
353,
10153,
29918,
2267,
1839,
2311,
2033,
13,
13,
1678,
396,
2697,
701,
4128,
408,
3734,
13,
1678,
1923,
29918,
3126,
353,
426,
13,
4706,
376,
10314,
1170,
1115,
1923,
29918,
978,
29892,
13,
4706,
376,
4704,
2776,
571,
29965,
11150,
1115,
1923,
29918,
1129,
29918,
25118,
29892,
13,
4706,
376,
3027,
29965,
11150,
1115,
1967,
29918,
25118,
29892,
13,
4706,
376,
19594,
29965,
11150,
1115,
9867,
29918,
25118,
29892,
13,
4706,
376,
29894,
13891,
29965,
11150,
1115,
325,
13891,
29918,
25118,
29892,
13,
4706,
376,
29876,
1199,
29908,
584,
302,
1199,
29892,
13,
4706,
376,
21970,
1115,
26403,
29918,
2798,
29892,
13,
4706,
376,
2572,
1115,
13472,
29918,
14506,
29892,
13,
4706,
376,
2218,
2039,
1115,
518,
6377,
10718,
1115,
7700,
29892,
13,
462,
259,
396,
376,
10314,
1170,
1115,
376,
1552,
8086,
29908,
13,
462,
259,
376,
10314,
1542,
1115,
376,
23711,
29968,
613,
13,
462,
259,
376,
10314,
29965,
11150,
1115,
6579,
29918,
20960,
29918,
1129,
29918,
25118,
29892,
13,
462,
259,
376,
2311,
1115,
2159,
29892,
13,
462,
259,
376,
29894,
13891,
29965,
11150,
1115,
325,
13891,
29918,
25118,
29892,
13,
462,
259,
396,
376,
4704,
2776,
571,
29965,
11150,
1115,
8086,
29918,
1129,
29918,
25118,
13,
462,
259,
500,
1402,
13,
4706,
376,
10314,
1542,
1115,
376,
18603,
613,
13,
4706,
376,
10314,
18417,
1115,
8853,
3597,
18417,
1115,
3030,
29918,
2154,
1118,
13,
4706,
396,
376,
2974,
12415,
11614,
1115,
6796,
6154,
12413,
613,
376,
3210,
6227,
8353,
1430,
29918,
13171,
5425,
1254,
29918,
1164,
29918,
2287,
18476,
613,
376,
3210,
6227,
8353,
1430,
29918,
13171,
5425,
1254,
29918,
1164,
29918,
1525,
5348,
29911,
12436,
13,
1678,
500,
13,
13,
1678,
20092,
353,
1923,
29918,
3126,
13,
13,
1678,
1596,
29898,
23813,
29897,
13,
1678,
20092,
29918,
294,
29918,
1807,
353,
4390,
29889,
7249,
8566,
6119,
2141,
12508,
29898,
23813,
29897,
13,
1678,
396,
20768,
304,
731,
278,
2793,
1134,
29892,
1363,
565,
591,
1016,
29915,
29873,
278,
20092,
338,
925,
4047,
2705,
17262,
13,
1678,
9066,
353,
11117,
3051,
29899,
1853,
2396,
525,
6214,
29914,
3126,
10827,
13,
1678,
396,
16228,
1923,
1653,
2009,
13,
1678,
1121,
353,
1791,
29918,
7892,
29918,
2490,
3827,
29898,
3258,
4219,
29892,
20092,
29918,
294,
29918,
1807,
29892,
9066,
29892,
4817,
29918,
862,
1516,
29897,
13,
1678,
736,
1121,
13,
13,
13,
1753,
1051,
29918,
3027,
29898,
5150,
29918,
7529,
29892,
318,
5416,
1125,
13,
1678,
9995,
3617,
7084,
4902,
9995,
13,
13,
1678,
396,
3789,
786,
724,
496,
4175,
13,
1678,
18668,
353,
426,
376,
4478,
5072,
29908,
584,
13,
3986,
426,
376,
4572,
10983,
2187,
1115,
518,
6377,
16122,
1115,
376,
3235,
29918,
29923,
13356,
1964,
29918,
4986,
613,
13,
462,
462,
29871,
376,
2671,
1115,
376,
10314,
29965,
11150,
613,
13,
462,
462,
29871,
376,
1767,
1115,
518,
25118,
29962,
13,
462,
462,
500,
13,
462,
18884,
4514,
13,
3986,
500,
13,
4706,
500,
13,
13,
1678,
565,
313,
275,
6565,
15828,
1125,
13,
4706,
1596,
703,
4668,
543,
29897,
13,
4706,
1596,
18668,
13,
4706,
1596,
703,
5634,
1159,
13,
13,
1678,
396,
5596,
565,
1967,
508,
367,
20592,
6284,
13,
1678,
1121,
29918,
842,
353,
1791,
29918,
1761,
29918,
10314,
29898,
5150,
29918,
7529,
29892,
376,
3027,
613,
18668,
29897,
13,
13,
1678,
565,
1121,
29918,
842,
1839,
7827,
3981,
2033,
1275,
29871,
29900,
29901,
13,
4706,
12020,
24875,
2392,
703,
2940,
376,
718,
318,
5416,
718,
376,
451,
1476,
470,
366,
437,
451,
505,
11239,
304,
671,
372,
1159,
13,
13,
1678,
1596,
703,
2751,
7084,
7867,
6805,
543,
29897,
13,
1678,
1596,
1121,
29918,
842,
13,
1678,
1596,
703,
4936,
543,
416,
13,
1678,
396,
736,
925,
278,
937,
1543,
313,
12711,
471,
871,
697,
29892,
1492,
1577,
511,
916,
9429,
344,
591,
1095,
701,
2599,
321,
29889,
29887,
29889,
10153,
29918,
2267,
1839,
1761,
2033,
29961,
29900,
22322,
29894,
13891,
29965,
11150,
2033,
13,
1678,
396,
599,
975,
278,
2058,
13,
1678,
736,
1121,
29918,
842,
1839,
1761,
2033,
29961,
29900,
29962,
13,
13,
29937,
4062,
1304,
304,
9752,
263,
16759,
11971,
2009,
13,
1753,
1791,
29918,
7892,
29918,
2490,
3827,
29898,
1552,
4219,
29892,
20092,
29892,
9066,
29892,
4817,
29918,
862,
1516,
1125,
13,
1678,
337,
2202,
353,
5852,
13,
1678,
2302,
353,
29871,
29896,
13,
13,
1678,
396,
4165,
3456,
278,
2009,
2999,
3064,
565,
10672,
10008,
13,
1678,
1550,
5135,
2798,
5277,
18134,
29918,
6632,
29918,
1299,
4330,
3580,
9375,
29897,
322,
313,
276,
2202,
1275,
5852,
22164,
13,
4706,
620,
353,
7274,
29889,
2490,
29898,
1552,
4219,
29892,
20092,
29892,
4817,
7607,
5150,
29918,
862,
1516,
1839,
6979,
7464,
525,
5477,
9066,
29922,
13662,
29897,
13,
4706,
1596,
703,
9166,
9166,
9166,
4936,
2751,
26359,
29897,
13,
4706,
1596,
376,
3089,
18397,
29892,
2933,
3988,
322,
8118,
6160,
13,
4706,
1596,
29898,
690,
29889,
2271,
29897,
13,
4706,
1596,
620,
29889,
3051,
13,
13,
4706,
396,
3126,
29928,
3427,
353,
4390,
29889,
29881,
17204,
29898,
690,
29889,
3051,
29897,
13,
4706,
4390,
3916,
353,
4390,
29889,
18132,
29898,
690,
29889,
3051,
29897,
13,
13,
4706,
396,
26772,
278,
15141,
2825,
1923,
29965,
11150,
607,
338,
1304,
2678,
304,
1653,
278,
1923,
13,
4706,
5534,
1923,
29965,
11150,
13,
4706,
1923,
29965,
11150,
353,
4390,
3916,
3366,
667,
29965,
11150,
3108,
13,
13,
4706,
1596,
703,
10493,
2933,
775,
29901,
9162,
620,
29889,
4882,
29918,
401,
29897,
13,
13,
4706,
396,
16034,
29871,
29906,
29900,
29906,
313,
23965,
287,
29897,
338,
1781,
13,
4706,
565,
5135,
690,
29889,
4882,
29918,
401,
1275,
29871,
29906,
29900,
29906,
29897,
470,
313,
690,
29889,
4882,
29918,
401,
1275,
29871,
29906,
29900,
29900,
22164,
13,
9651,
2933,
353,
4390,
29889,
18132,
29898,
690,
29889,
3051,
29897,
13,
9651,
337,
2202,
353,
7700,
13,
9651,
736,
2933,
13,
13,
4706,
396,
3644,
1923,
338,
19587,
29892,
4218,
278,
2009,
1449,
13,
4706,
565,
313,
690,
29889,
4882,
29918,
401,
1275,
29871,
29946,
29906,
29929,
1125,
13,
9651,
1596,
376,
6004,
19587,
448,
4520,
29871,
29946,
29906,
29929,
2933,
29892,
4480,
322,
337,
2202,
29889,
6212,
3456,
1353,
29901,
9162,
2302,
13,
9651,
931,
29889,
17059,
29898,
12982,
1806,
29918,
15307,
29897,
13,
9651,
2302,
353,
2302,
718,
29871,
29896,
13,
4706,
1683,
29901,
13,
9651,
396,
12538,
1683,
3512,
2743,
29889,
23868,
714,
278,
4660,
775,
322,
2643,
13,
9651,
2933,
353,
4390,
29889,
18132,
29898,
690,
29889,
3051,
29897,
13,
9651,
337,
2202,
353,
7700,
13,
9651,
736,
5124,
13,
4706,
1596,
703,
9166,
9166,
9166,
4936,
2751,
26359,
29897,
13,
13,
1678,
396,
3644,
4236,
5253,
310,
7274,
756,
1063,
7450,
29892,
1596,
385,
1059,
2643,
13,
1678,
565,
5135,
276,
2202,
1275,
5852,
29897,
322,
313,
2798,
1275,
18134,
29918,
6632,
29918,
1299,
4330,
3580,
9375,
22164,
13,
4706,
1596,
376,
10493,
29871,
29946,
29906,
29929,
14431,
29892,
5918,
12539,
443,
8698,
1319,
14734,
1754,
304,
3638,
2009,
304,
278,
1923,
29908,
13,
4706,
396,
1596,
29898,
5327,
1839,
4906,
2033,
718,
376,
313,
2704,
775,
29901,
376,
718,
2933,
1839,
2704,
3399,
2033,
718,
16521,
1159,
13,
13,
1678,
736,
5124,
13,
13,
29937,
11403,
263,
16759,
2009,
304,
1051,
7788,
13,
1753,
1791,
29918,
1761,
29918,
10314,
29898,
5150,
29918,
862,
1516,
29892,
620,
29918,
1853,
29892,
20092,
1125,
13,
1678,
1596,
4817,
29918,
862,
1516,
13,
1678,
278,
4219,
353,
4817,
29918,
862,
1516,
1839,
29734,
2033,
718,
376,
5060,
29914,
1792,
29914,
3784,
29914,
13237,
12975,
718,
620,
29918,
1853,
718,
5591,
1761,
29908,
13,
1678,
1596,
278,
4219,
13,
13,
13,
1678,
565,
20092,
2804,
6213,
29901,
13,
4706,
20092,
29918,
294,
29918,
1807,
353,
4390,
29889,
7249,
8566,
6119,
2141,
12508,
29898,
23813,
416,
13,
4706,
1596,
703,
23813,
29918,
294,
29918,
1807,
543,
718,
20092,
29918,
294,
29918,
1807,
29897,
13,
1678,
396,
3940,
591,
671,
848,
29922,
322,
451,
8636,
29922,
1244,
13,
1678,
396,
2823,
29901,
1732,
597,
24830,
29889,
949,
386,
287,
12332,
29889,
990,
29914,
264,
29914,
29894,
29896,
29889,
29900,
29889,
29896,
29914,
1792,
29914,
24561,
2962,
29914,
13,
1678,
396,
13,
1678,
396,
3115,
29892,
591,
817,
304,
731,
278,
2793,
1134,
29892,
1363,
565,
591,
1016,
29915,
29873,
278,
20092,
338,
925,
4047,
2705,
17262,
13,
1678,
9066,
353,
11117,
3051,
29899,
1853,
2396,
525,
6214,
29914,
3126,
10827,
13,
1678,
1596,
703,
1552,
4219,
543,
718,
278,
4219,
29897,
13,
13,
1678,
337,
2202,
353,
5852,
13,
1678,
2302,
353,
29871,
29896,
13,
13,
1678,
396,
3644,
278,
2009,
5229,
29892,
337,
2202,
278,
2009,
263,
6790,
1353,
310,
3064,
13,
1678,
1550,
5135,
2798,
5277,
18134,
29918,
6632,
29918,
1299,
4330,
3580,
9375,
29897,
322,
313,
276,
2202,
1275,
5852,
22164,
13,
13,
4706,
565,
20092,
2804,
6213,
29901,
13,
9651,
620,
353,
7274,
29889,
657,
29898,
1552,
4219,
29892,
848,
29922,
23813,
29918,
294,
29918,
1807,
29892,
4817,
7607,
5150,
29918,
862,
1516,
1839,
6979,
7464,
525,
5477,
9066,
29922,
13662,
29897,
13,
4706,
1683,
29901,
13,
9651,
620,
353,
7274,
29889,
657,
29898,
1552,
4219,
29892,
4817,
7607,
5150,
29918,
862,
1516,
1839,
6979,
7464,
525,
5477,
9066,
29922,
13662,
29897,
13,
13,
4706,
396,
6466,
278,
1121,
515,
278,
2009,
13,
4706,
1596,
703,
9166,
9166,
9166,
4936,
2751,
26359,
29897,
13,
4706,
1596,
29898,
690,
29889,
2271,
29897,
13,
4706,
1596,
703,
690,
543,
718,
851,
29898,
690,
876,
13,
4706,
1596,
620,
29889,
3051,
13,
13,
4706,
396,
16034,
29871,
29906,
29900,
29906,
313,
23965,
287,
29897,
338,
1781,
13,
4706,
565,
313,
690,
29889,
4882,
29918,
401,
1275,
29871,
29906,
29900,
29900,
1125,
13,
9651,
2933,
353,
4390,
29889,
18132,
29898,
690,
29889,
3051,
29897,
13,
9651,
337,
2202,
353,
7700,
13,
9651,
736,
2933,
13,
13,
4706,
396,
3644,
278,
1923,
338,
19587,
29892,
337,
2202,
278,
2009,
13,
4706,
565,
313,
690,
29889,
4882,
29918,
401,
1275,
29871,
29946,
29906,
29929,
1125,
13,
9651,
1596,
376,
6004,
19587,
448,
4520,
29871,
29946,
29906,
29929,
2933,
29892,
4480,
322,
337,
2202,
29889,
6212,
3456,
1353,
29901,
9162,
2302,
13,
9651,
931,
29889,
17059,
29898,
12982,
1806,
29918,
15307,
29897,
13,
9651,
2302,
353,
2302,
718,
29871,
29896,
13,
4706,
1683,
29901,
13,
9651,
396,
12538,
1683,
3512,
2743,
29889,
23868,
714,
278,
4660,
775,
322,
2643,
13,
9651,
2933,
353,
4390,
29889,
18132,
29898,
690,
29889,
3051,
29897,
13,
9651,
1596,
703,
10493,
2933,
775,
29901,
9162,
620,
29889,
4882,
29918,
401,
29897,
13,
9651,
337,
2202,
353,
7700,
13,
9651,
736,
5124,
13,
13,
1678,
396,
7976,
1353,
310,
7274,
756,
1063,
7450,
13,
1678,
565,
5135,
276,
2202,
1275,
5852,
29897,
322,
313,
2798,
1275,
18134,
29918,
6632,
29918,
1299,
4330,
3580,
9375,
22164,
13,
4706,
12020,
24875,
2392,
703,
10493,
29871,
29946,
29906,
29929,
14431,
29892,
5918,
12539,
443,
8698,
1319,
14734,
1754,
304,
3638,
2009,
304,
278,
1923,
1159,
13,
13,
1678,
736,
5124,
13,
13,
13,
29937,
4062,
1304,
304,
1653,
278,
1923,
322,
7246,
372,
304,
278,
7481,
13,
1753,
1653,
29918,
2974,
7295,
13,
13,
1678,
3495,
978,
353,
376,
991,
597,
6814,
29889,
4928,
29896,
29889,
16041,
29875,
424,
29889,
1212,
29901,
29946,
29946,
29946,
29906,
12975,
13,
13,
1678,
396,
2577,
5993,
304,
15585,
403,
278,
1404,
13,
1678,
5993,
353,
679,
6066,
29898,
28988,
29892,
8952,
29892,
13,
462,
268,
11962,
29965,
11150,
29892,
4800,
29897,
13,
13,
1678,
4817,
353,
9657,
29898,
29734,
29922,
28988,
29892,
5993,
29922,
6979,
29897,
13,
13,
1678,
396,
11507,
393,
526,
304,
367,
2665,
304,
278,
7481,
29889,
313,
2528,
29914,
5992,
408,
3734,
363,
3646,
7481,
29897,
13,
1678,
4817,
29918,
862,
1516,
353,
4817,
13,
1678,
1923,
29918,
978,
353,
5124,
13,
1678,
1923,
29918,
4704,
974,
571,
29918,
25118,
353,
5124,
13,
1678,
1967,
29918,
25118,
353,
5124,
13,
1678,
9867,
29918,
25118,
353,
5124,
13,
1678,
325,
13891,
29918,
25118,
353,
5124,
13,
1678,
26403,
29918,
2798,
353,
29871,
29896,
13,
1678,
13472,
29918,
14506,
353,
29871,
29945,
29896,
29906,
13,
1678,
6579,
29918,
20960,
29918,
1129,
29918,
25118,
353,
5124,
13,
1678,
3030,
29918,
2154,
353,
5124,
13,
1678,
3564,
29965,
11150,
353,
5124,
13,
1678,
3564,
1542,
353,
5124,
13,
1678,
6503,
1170,
353,
5124,
13,
1678,
6503,
1542,
353,
5124,
13,
13,
1678,
396,
29940,
2965,
338,
263,
6901,
6503,
393,
15028,
363,
8527,
25796,
9160,
13,
1678,
16588,
353,
426,
13,
539,
376,
19594,
29965,
11150,
1115,
9867,
29918,
25118,
29892,
13,
539,
376,
11618,
29965,
11150,
1115,
3564,
29965,
11150,
29892,
13,
539,
376,
11618,
1542,
1115,
3564,
1542,
29892,
13,
539,
376,
10314,
1170,
1115,
6503,
1170,
29892,
13,
539,
376,
10314,
1542,
1115,
6503,
1542,
29892,
13,
539,
376,
29894,
13891,
29965,
11150,
1115,
325,
13891,
29918,
25118,
29892,
13,
1678,
500,
13,
13,
1678,
302,
1199,
353,
518,
13,
4706,
16588,
13,
1678,
4514,
13,
13,
1678,
396,
5594,
278,
1653,
1923,
1158,
29889,
29871,
3382,
1598,
4128,
408,
3734,
363,
278,
3646,
7481,
13,
1678,
1791,
29918,
3258,
29918,
2974,
29898,
5150,
29918,
862,
1516,
29892,
1923,
29918,
978,
29892,
1923,
29918,
4704,
974,
571,
29918,
25118,
29892,
13,
462,
539,
1967,
29918,
25118,
29892,
9867,
29918,
25118,
29892,
13,
462,
539,
325,
13891,
29918,
25118,
29892,
26403,
29918,
2798,
29892,
13,
462,
539,
13472,
29918,
14506,
29892,
302,
1199,
29892,
6579,
29918,
20960,
29918,
1129,
29918,
25118,
29892,
3030,
29918,
2154,
29897,
13,
13,
29937,
10739,
1158,
1304,
304,
1735,
278,
2106,
310,
263,
1923,
964,
2734,
4464,
13,
1753,
1369,
29918,
2974,
29898,
5150,
29918,
862,
1516,
29892,
1923,
29918,
25118,
1125,
13,
1678,
9995,
6678,
304,
1369,
1923,
29892,
318,
5416,
297,
1923,
29918,
1272,
15945,
29908,
13,
1678,
1923,
29918,
3859,
353,
679,
29918,
2974,
29918,
3859,
29898,
5150,
29918,
862,
1516,
29892,
1923,
29918,
25118,
29897,
13,
1678,
565,
1923,
29918,
3859,
1275,
525,
1254,
4590,
29925,
3352,
2396,
13,
4706,
364,
29883,
353,
1735,
29918,
2974,
29918,
4882,
29898,
5150,
29918,
862,
1516,
29922,
5150,
29918,
862,
1516,
29892,
1923,
29918,
25118,
29922,
2974,
29918,
25118,
29892,
2106,
2433,
29934,
3904,
29940,
4214,
1495,
13,
4706,
565,
313,
2214,
2804,
29871,
29900,
1125,
13,
9651,
12020,
8960,
703,
17776,
304,
1925,
1923,
376,
718,
1923,
29918,
25118,
718,
376,
297,
304,
2734,
2106,
1159,
13,
13,
29937,
1576,
1667,
1158,
1304,
304,
6826,
263,
1923,
2777,
13,
1753,
7370,
9219,
29898,
15539,
29965,
11150,
29892,
11962,
20249,
29892,
11962,
10048,
29892,
1923,
29965,
11150,
1125,
13,
1678,
396,
6444,
4173,
403,
278,
7882,
3957,
13,
1678,
4817,
29918,
4645,
353,
7882,
29918,
7924,
29898,
15539,
20249,
29892,
11962,
29965,
11150,
29892,
11962,
10048,
29897,
13,
1678,
396,
2577,
278,
1857,
1923,
2106,
13,
1678,
1923,
29918,
3859,
353,
679,
29918,
2974,
29918,
3859,
29898,
5150,
29918,
4645,
29892,
1923,
29965,
11150,
29897,
13,
1678,
565,
313,
2974,
29918,
3859,
1275,
525,
29934,
3904,
29940,
4214,
29374,
13,
4706,
1596,
376,
6004,
338,
2307,
2734,
29908,
13,
4706,
736,
13,
1678,
565,
313,
2974,
29918,
3859,
1275,
525,
1254,
4590,
29925,
3352,
29915,
470,
1923,
29918,
3859,
1275,
525,
1254,
4590,
29925,
4214,
29374,
13,
4706,
1369,
29918,
2974,
29898,
5150,
29918,
4645,
29892,
1923,
29965,
11150,
29897,
13,
4706,
1596,
376,
6004,
338,
1286,
27694,
29940,
4214,
376,
13,
1678,
1683,
29901,
13,
4706,
1596,
376,
6004,
1033,
451,
367,
4687,
1363,
372,
338,
448,
1273,
29879,
376,
1273,
1923,
29918,
3859,
13,
13,
29937,
4062,
1304,
304,
679,
7882,
4867,
13,
1753,
7882,
29918,
7924,
29898,
15539,
20249,
29892,
11962,
29965,
11150,
29892,
11962,
10048,
1125,
13,
1678,
9995,
6678,
304,
731,
701,
7882,
4867,
29892,
1053,
16140,
2992,
1213,
15945,
13,
1678,
5993,
353,
679,
6066,
29898,
1430,
11191,
6992,
29911,
29892,
11962,
20249,
29892,
11962,
29965,
11150,
29892,
11962,
10048,
29897,
13,
1678,
4817,
29918,
4645,
353,
9657,
29898,
29734,
29922,
1430,
11191,
6992,
29911,
29892,
5993,
29922,
6979,
29897,
13,
1678,
736,
4817,
29918,
4645,
13,
13,
3258,
29918,
2974,
580,
13,
2230,
29889,
17059,
29898,
29906,
29900,
29897,
13,
13,
4763,
9219,
29898,
15539,
29965,
11150,
29892,
6786,
29892,
5630,
29892,
2974,
29965,
11150,
29897,
13,
2
] |
climpy/utils/avhrr_utils.py | SeregaOsipov/ClimPy | 6 | 1616699 | from climpy.utils.file_path_utils import get_root_storage_path_on_hpc
import netCDF4
from climpy.utils.diag_decorators import time_interval_selection
# from climpy.utils.time_utils import process_time_range_impl
from climpy.utils.netcdf_utils import generate_netcdf_uniform_time_data
import numpy as np
__author__ = '<NAME> <<EMAIL>>'
@time_interval_selection
def prepare_avhrr_aod(zonal_mean=False):
file_name = 'aot_avhrr_1989-1992'
lat_name = 'latitude'
lon_name = 'longitude'
if zonal_mean:
file_name += '_zonal_mean'
lat_name = 'lat'
lon_name = 'lon'
file_path = get_root_storage_path_on_hpc() + 'Data/AVHRR/AOT/' + file_name + '.nc'
nc = netCDF4.Dataset(file_path)
time_data = generate_netcdf_uniform_time_data(nc.variables['time'])
# t_slice, time_data = process_time_range_impl(time_data[:], time_range_vo)
aod_data = nc.variables['aot1'][:] # [t_slice]
if zonal_mean:
aod_data = np.squeeze(aod_data)
lat_data = nc.variables[lat_name][:]
lon_data = nc.variables[lon_name][:]
vo = {}
vo['data'] = aod_data
vo['time'] = time_data
vo['lat'] = lat_data
vo['lon'] = lon_data
return vo
| [
1,
515,
10784,
2272,
29889,
13239,
29889,
1445,
29918,
2084,
29918,
13239,
1053,
679,
29918,
4632,
29918,
12925,
29918,
2084,
29918,
265,
29918,
29882,
6739,
13,
5215,
7787,
29907,
4037,
29946,
13,
3166,
10784,
2272,
29889,
13239,
29889,
6051,
351,
29918,
19557,
4097,
1053,
931,
29918,
19207,
29918,
21731,
13,
29937,
515,
10784,
2272,
29889,
13239,
29889,
2230,
29918,
13239,
1053,
1889,
29918,
2230,
29918,
3881,
29918,
13699,
13,
3166,
10784,
2272,
29889,
13239,
29889,
1212,
29883,
2176,
29918,
13239,
1053,
5706,
29918,
1212,
29883,
2176,
29918,
29590,
29918,
2230,
29918,
1272,
13,
5215,
12655,
408,
7442,
13,
13,
1649,
8921,
1649,
353,
12801,
5813,
29958,
3532,
26862,
6227,
6778,
29915,
13,
13,
13,
29992,
2230,
29918,
19207,
29918,
21731,
13,
1753,
19012,
29918,
485,
1092,
29878,
29918,
29874,
397,
29898,
6626,
284,
29918,
12676,
29922,
8824,
1125,
13,
1678,
934,
29918,
978,
353,
525,
29874,
327,
29918,
485,
1092,
29878,
29918,
29896,
29929,
29947,
29929,
29899,
29896,
29929,
29929,
29906,
29915,
13,
1678,
3405,
29918,
978,
353,
525,
5066,
4279,
29915,
13,
1678,
23123,
29918,
978,
353,
525,
5426,
4279,
29915,
13,
13,
1678,
565,
503,
7177,
29918,
12676,
29901,
13,
4706,
934,
29918,
978,
4619,
22868,
6626,
284,
29918,
12676,
29915,
13,
4706,
3405,
29918,
978,
353,
525,
5066,
29915,
13,
4706,
23123,
29918,
978,
353,
525,
12957,
29915,
13,
13,
1678,
934,
29918,
2084,
353,
679,
29918,
4632,
29918,
12925,
29918,
2084,
29918,
265,
29918,
29882,
6739,
580,
718,
525,
1469,
29914,
7520,
20938,
29934,
29914,
29909,
2891,
22208,
718,
934,
29918,
978,
718,
15300,
17608,
29915,
13,
1678,
302,
29883,
353,
7787,
29907,
4037,
29946,
29889,
16390,
24541,
29898,
1445,
29918,
2084,
29897,
13,
13,
1678,
931,
29918,
1272,
353,
5706,
29918,
1212,
29883,
2176,
29918,
29590,
29918,
2230,
29918,
1272,
29898,
17608,
29889,
20897,
1839,
2230,
11287,
13,
1678,
396,
260,
29918,
18337,
29892,
931,
29918,
1272,
353,
1889,
29918,
2230,
29918,
3881,
29918,
13699,
29898,
2230,
29918,
1272,
7503,
1402,
931,
29918,
3881,
29918,
1365,
29897,
13,
13,
1678,
263,
397,
29918,
1272,
353,
302,
29883,
29889,
20897,
1839,
29874,
327,
29896,
2033,
7503,
29962,
29871,
396,
518,
29873,
29918,
18337,
29962,
13,
1678,
565,
503,
7177,
29918,
12676,
29901,
13,
4706,
263,
397,
29918,
1272,
353,
7442,
29889,
29879,
802,
29872,
911,
29898,
29874,
397,
29918,
1272,
29897,
13,
13,
1678,
3405,
29918,
1272,
353,
302,
29883,
29889,
20897,
29961,
5066,
29918,
978,
3816,
17531,
13,
1678,
23123,
29918,
1272,
353,
302,
29883,
29889,
20897,
29961,
12957,
29918,
978,
3816,
17531,
13,
13,
1678,
992,
353,
6571,
13,
1678,
992,
1839,
1272,
2033,
353,
263,
397,
29918,
1272,
13,
1678,
992,
1839,
2230,
2033,
353,
931,
29918,
1272,
13,
1678,
992,
1839,
5066,
2033,
353,
3405,
29918,
1272,
13,
1678,
992,
1839,
12957,
2033,
353,
23123,
29918,
1272,
13,
13,
1678,
736,
992,
13,
2
] |
app/main.py | guhuajun/azwebapp-demo | 0 | 184443 | <filename>app/main.py<gh_stars>0
# -*- coding: utf-8 -*-
# pylint: disable=
from starlette.applications import Starlette
from starlette.responses import JSONResponse
from starlette.routing import Route
import uvicorn
async def index(request):
return JSONResponse({'hello': 'world'})
routes = [
Route('/', index),
]
app = Starlette(debug=False, routes=routes)
if __name__ == "__main__":
uvicorn.run(app, host='0.0.0.0', port=8000)
| [
1,
529,
9507,
29958,
932,
29914,
3396,
29889,
2272,
29966,
12443,
29918,
303,
1503,
29958,
29900,
13,
29937,
448,
29930,
29899,
14137,
29901,
23616,
29899,
29947,
448,
29930,
29899,
13,
29937,
282,
2904,
524,
29901,
11262,
29922,
13,
13,
3166,
5810,
20200,
29889,
932,
5795,
1053,
7828,
20200,
13,
3166,
5810,
20200,
29889,
26679,
267,
1053,
4663,
5103,
13,
3166,
5810,
20200,
29889,
14608,
292,
1053,
12034,
13,
5215,
318,
26311,
1398,
13,
13,
12674,
822,
2380,
29898,
3827,
1125,
13,
1678,
736,
4663,
5103,
3319,
29915,
12199,
2396,
525,
11526,
29915,
1800,
13,
13,
27894,
353,
518,
13,
1678,
12034,
11219,
742,
2380,
511,
13,
29962,
13,
13,
932,
353,
7828,
20200,
29898,
8382,
29922,
8824,
29892,
12049,
29922,
27894,
29897,
13,
13,
361,
4770,
978,
1649,
1275,
376,
1649,
3396,
1649,
1115,
13,
1678,
318,
26311,
1398,
29889,
3389,
29898,
932,
29892,
3495,
2433,
29900,
29889,
29900,
29889,
29900,
29889,
29900,
742,
2011,
29922,
29947,
29900,
29900,
29900,
29897,
13,
2
] |
Lectures_Codes/examples-05/lecture05/lenghts_of_words_example/lengths_of_words.py | MichalKyjovsky/NPRG065_Programing_in_Python | 0 | 46054 | <reponame>MichalKyjovsky/NPRG065_Programing_in_Python
from collections import Counter, defaultdict
from stats import print_histogram_2d
# This is a list of characters that are interpreted as punctuations and thus ignored.
punctuation_chars = ",;:.?!()[]<>/-'\""
trtrable = str.maketrans(punctuation_chars, " " * len(punctuation_chars))
def get_word_lengths(filename):
'''
Counts the number of occurrences of word lengths
:param filename: Filename to process
:return: Returns a Counter (i.e. dictionary of ints). They keys are integers representing different word lenghts. The values are number of occurences. E.g.:
{
1: 5,
2: 4,
4: 7
}
'''
counter = Counter()
with open(filename, 'rt') as fin:
for line in fin:
for word in line.translate(trtrable).split():
counter[len(word)] += 1
return counter
def get_word_lengths_multiple(filenames):
'''
Counts the number of occurrences of word lengths in multiple files
:param filenames: List of files to process
:return: Returns a dictionary of dictionaries. The top-level keys are integers representing different word lenghts. Second-level keys are filesnames. Values are number of occurences. E.g.:
{
1: {
'filename1': 5,
'filename2': 3
},
2: {
'filename1': 4,
'filename2': 6
}
4: {
'filename1': 7,
'filename2': 2
}
}
'''
output = defaultdict(dict)
for filename in filenames:
counts = get_word_lengths(filename)
for key, count in counts.items():
output[key][filename] = count
return output
if __name__ == '__main__':
import sys
counts = get_word_lengths_multiple(sys.argv[1:])
print_histogram_2d(counts)
| [
1,
529,
276,
1112,
420,
29958,
14916,
284,
29968,
17472,
586,
7912,
29914,
29940,
10593,
29954,
29900,
29953,
29945,
29918,
9283,
292,
29918,
262,
29918,
11980,
13,
3166,
16250,
1053,
315,
5336,
29892,
2322,
8977,
13,
3166,
22663,
1053,
1596,
29918,
29882,
391,
13342,
29918,
29906,
29881,
13,
13,
29937,
910,
338,
263,
1051,
310,
4890,
393,
526,
21551,
408,
6035,
22999,
800,
322,
4550,
17262,
29889,
13,
29886,
18049,
29884,
362,
29918,
305,
1503,
353,
9162,
29936,
29901,
29889,
29973,
29991,
580,
2636,
29966,
20690,
29899,
29915,
5931,
29908,
13,
509,
3018,
569,
353,
851,
29889,
29885,
557,
18184,
550,
29898,
29886,
18049,
29884,
362,
29918,
305,
1503,
29892,
376,
376,
334,
7431,
29898,
29886,
18049,
29884,
362,
29918,
305,
1503,
876,
13,
13,
13,
1753,
679,
29918,
1742,
29918,
2848,
29879,
29898,
9507,
1125,
13,
1678,
14550,
13,
1678,
3917,
29879,
278,
1353,
310,
13920,
2063,
310,
1734,
27497,
13,
1678,
584,
3207,
10422,
29901,
2514,
3871,
304,
1889,
13,
1678,
584,
2457,
29901,
16969,
263,
315,
5336,
313,
29875,
29889,
29872,
29889,
8600,
310,
938,
29879,
467,
2688,
6611,
526,
11920,
15783,
1422,
1734,
28537,
400,
29879,
29889,
450,
1819,
526,
1353,
310,
6403,
2063,
29889,
382,
29889,
29887,
4898,
13,
4706,
426,
13,
632,
29896,
29901,
29871,
29945,
29892,
13,
632,
29906,
29901,
29871,
29946,
29892,
13,
632,
29946,
29901,
29871,
29955,
13,
4706,
500,
13,
1678,
14550,
13,
1678,
6795,
353,
315,
5336,
580,
13,
13,
1678,
411,
1722,
29898,
9507,
29892,
525,
2273,
1495,
408,
1436,
29901,
13,
4706,
363,
1196,
297,
1436,
29901,
13,
9651,
363,
1734,
297,
1196,
29889,
21652,
29898,
509,
3018,
569,
467,
5451,
7295,
13,
18884,
6795,
29961,
2435,
29898,
1742,
4638,
4619,
29871,
29896,
13,
13,
1678,
736,
6795,
13,
13,
13,
1753,
679,
29918,
1742,
29918,
2848,
29879,
29918,
20787,
29898,
1777,
264,
1280,
1125,
13,
1678,
14550,
13,
1678,
3917,
29879,
278,
1353,
310,
13920,
2063,
310,
1734,
27497,
297,
2999,
2066,
13,
1678,
584,
3207,
977,
264,
1280,
29901,
2391,
310,
2066,
304,
1889,
13,
1678,
584,
2457,
29901,
16969,
263,
8600,
310,
21503,
4314,
29889,
450,
2246,
29899,
5563,
6611,
526,
11920,
15783,
1422,
1734,
28537,
400,
29879,
29889,
6440,
29899,
5563,
6611,
526,
2066,
7039,
29889,
2630,
1041,
526,
1353,
310,
6403,
2063,
29889,
382,
29889,
29887,
4898,
13,
4706,
426,
13,
632,
29896,
29901,
426,
13,
18884,
525,
9507,
29896,
2396,
29871,
29945,
29892,
13,
18884,
525,
9507,
29906,
2396,
29871,
29941,
13,
9651,
2981,
13,
632,
29906,
29901,
426,
13,
18884,
525,
9507,
29896,
2396,
29871,
29946,
29892,
13,
18884,
525,
9507,
29906,
2396,
29871,
29953,
13,
9651,
500,
13,
632,
29946,
29901,
426,
13,
18884,
525,
9507,
29896,
2396,
29871,
29955,
29892,
13,
18884,
525,
9507,
29906,
2396,
29871,
29906,
13,
9651,
500,
13,
4706,
500,
13,
1678,
14550,
13,
1678,
1962,
353,
2322,
8977,
29898,
8977,
29897,
13,
13,
1678,
363,
10422,
297,
977,
264,
1280,
29901,
13,
4706,
18139,
353,
679,
29918,
1742,
29918,
2848,
29879,
29898,
9507,
29897,
13,
13,
4706,
363,
1820,
29892,
2302,
297,
18139,
29889,
7076,
7295,
13,
9651,
1962,
29961,
1989,
3816,
9507,
29962,
353,
2302,
13,
13,
1678,
736,
1962,
13,
13,
13,
361,
4770,
978,
1649,
1275,
525,
1649,
3396,
1649,
2396,
13,
1678,
1053,
10876,
13,
1678,
18139,
353,
679,
29918,
1742,
29918,
2848,
29879,
29918,
20787,
29898,
9675,
29889,
19218,
29961,
29896,
29901,
2314,
13,
1678,
1596,
29918,
29882,
391,
13342,
29918,
29906,
29881,
29898,
2798,
29879,
29897,
13,
2
] |
recommonmark/parser.py | vale981/recommonmark | 3 | 82835 | <reponame>vale981/recommonmark<gh_stars>1-10
"""Docutils CommonMark parser"""
import sys
from os.path import splitext
from docutils import parsers, nodes
from sphinx import addnodes
from commonmark import Parser
from warnings import warn
if sys.version_info < (3, 0):
from urlparse import urlparse, unquote
else:
from urllib.parse import urlparse, unquote
__all__ = ['CommonMarkParser']
class CommonMarkParser(parsers.Parser):
"""Docutils parser for CommonMark"""
supported = ('md', 'markdown')
translate_section_name = None
default_config = {
'known_url_schemes': None,
}
def __init__(self):
self._level_to_elem = {}
def parse(self, inputstring, document):
self.document = document
self.current_node = document
self.config = self.default_config.copy()
try:
new_cfg = self.document.settings.env.config.recommonmark_config
self.config.update(new_cfg)
except AttributeError:
pass
self.setup_parse(inputstring, document)
self.setup_sections()
parser = Parser()
ast = parser.parse(inputstring + '\n')
self.convert_ast(ast)
self.finish_parse()
def convert_ast(self, ast):
for (node, entering) in ast.walker():
fn_prefix = "visit" if entering else "depart"
fn_name = "{0}_{1}".format(fn_prefix, node.t.lower())
fn_default = "default_{0}".format(fn_prefix)
fn = getattr(self, fn_name, None)
if fn is None:
fn = getattr(self, fn_default)
fn(node)
# Node type enter/exit handlers
def default_visit(self, mdnode):
pass
def default_depart(self, mdnode):
"""Default node depart handler
If there is a matching ``visit_<type>`` method for a container node,
then we should make sure to back up to it's parent element when the node
is exited.
"""
if mdnode.is_container():
fn_name = 'visit_{0}'.format(mdnode.t)
if not hasattr(self, fn_name):
warn("Container node skipped: type={0}".format(mdnode.t))
else:
self.current_node = self.current_node.parent
def visit_heading(self, mdnode):
# Test if we're replacing a section level first
if isinstance(self.current_node, nodes.section):
if self.is_section_level(mdnode.level, self.current_node):
self.current_node = self.current_node.parent
title_node = nodes.title()
title_node.line = mdnode.sourcepos[0][0]
new_section = nodes.section()
new_section.line = mdnode.sourcepos[0][0]
new_section.append(title_node)
self.add_section(new_section, mdnode.level)
# Set the current node to the title node to accumulate text children/etc
# for heading.
self.current_node = title_node
def depart_heading(self, _):
"""Finish establishing section
Wrap up title node, but stick in the section node. Add the section names
based on all the text nodes added to the title.
"""
assert isinstance(self.current_node, nodes.title)
# The title node has a tree of text nodes, use the whole thing to
# determine the section id and names
text = self.current_node.astext()
if self.translate_section_name:
text = self.translate_section_name(text)
name = nodes.fully_normalize_name(text)
section = self.current_node.parent
section['names'].append(name)
self.document.note_implicit_target(section, section)
self.current_node = section
def visit_text(self, mdnode):
self.current_node.append(nodes.Text(mdnode.literal, mdnode.literal))
def visit_softbreak(self, _):
self.current_node.append(nodes.Text('\n'))
def visit_linebreak(self, _):
self.current_node.append(nodes.raw('', '<br />', format='html'))
def visit_paragraph(self, mdnode):
p = nodes.paragraph(mdnode.literal)
p.line = mdnode.sourcepos[0][0]
self.current_node.append(p)
self.current_node = p
def visit_emph(self, _):
n = nodes.emphasis()
self.current_node.append(n)
self.current_node = n
def visit_strong(self, _):
n = nodes.strong()
self.current_node.append(n)
self.current_node = n
def visit_code(self, mdnode):
n = nodes.literal(mdnode.literal, mdnode.literal)
self.current_node.append(n)
def visit_link(self, mdnode):
ref_node = nodes.reference()
# Check destination is supported for cross-linking and remove extension
destination = mdnode.destination
_, ext = splitext(destination)
# TODO check for other supported extensions, such as those specified in
# the Sphinx conf.py file but how to access this information?
# TODO this should probably only remove the extension for local paths,
# i.e. not uri's starting with http or other external prefix.
if ext.replace('.', '') in self.supported:
destination = destination.replace(ext, '')
ref_node['refuri'] = destination
# TODO okay, so this is acutally not always the right line number, but
# these mdnodes won't have sourcepos on them for whatever reason. This
# is better than 0 though.
ref_node.line = self._get_line(mdnode)
if mdnode.title:
ref_node['title'] = mdnode.title
next_node = ref_node
url_check = urlparse(destination)
# If there's not a url scheme (e.g. 'https' for 'https:...' links),
# or there is a scheme but it's not in the list of known_url_schemes,
# then assume it's a cross-reference and pass it to Sphinx as an `:any:` ref.
known_url_schemes = self.config.get('known_url_schemes')
if known_url_schemes:
scheme_known = url_check.scheme in known_url_schemes
else:
scheme_known = bool(url_check.scheme)
if not url_check.fragment and not scheme_known:
wrap_node = addnodes.pending_xref(
reftarget=unquote(destination),
reftype='any',
refdomain=None, # Added to enable cross-linking
refexplicit=True,
refwarn=True
)
# TODO also not correct sourcepos
wrap_node.line = self._get_line(mdnode)
if mdnode.title:
wrap_node['title'] = mdnode.title
wrap_node.append(ref_node)
next_node = wrap_node
self.current_node.append(next_node)
self.current_node = ref_node
def depart_link(self, mdnode):
if isinstance(self.current_node.parent, addnodes.pending_xref):
self.current_node = self.current_node.parent.parent
else:
self.current_node = self.current_node.parent
def visit_image(self, mdnode):
img_node = nodes.image()
img_node['uri'] = mdnode.destination
if mdnode.first_child and mdnode.first_child.literal:
content = [mdnode.first_child.literal]
n = mdnode.first_child
mdnode.first_child.literal = ''
mdnode.first_child = mdnode.last_child = None
while getattr(n, 'nxt'):
n.nxt, n = None, n.nxt
content.append(n.literal)
img_node['alt'] = ''.join(content)
self.current_node.append(img_node)
self.current_node = img_node
def visit_list(self, mdnode):
list_node = None
if (mdnode.list_data['type'] == "bullet"):
list_node_cls = nodes.bullet_list
else:
list_node_cls = nodes.enumerated_list
list_node = list_node_cls()
list_node.line = mdnode.sourcepos[0][0]
self.current_node.append(list_node)
self.current_node = list_node
def visit_item(self, mdnode):
node = nodes.list_item()
node.line = mdnode.sourcepos[0][0]
self.current_node.append(node)
self.current_node = node
def visit_code_block(self, mdnode):
kwargs = {}
if mdnode.is_fenced and mdnode.info:
kwargs['language'] = mdnode.info
text = ''.join(mdnode.literal)
if text.endswith('\n'):
text = text[:-1]
node = nodes.literal_block(text, text, **kwargs)
self.current_node.append(node)
def visit_block_quote(self, mdnode):
q = nodes.block_quote()
q.line = mdnode.sourcepos[0][0]
self.current_node.append(q)
self.current_node = q
def visit_html(self, mdnode):
raw_node = nodes.raw(mdnode.literal,
mdnode.literal, format='html')
if mdnode.sourcepos is not None:
raw_node.line = mdnode.sourcepos[0][0]
self.current_node.append(raw_node)
def visit_html_inline(self, mdnode):
self.visit_html(mdnode)
def visit_html_block(self, mdnode):
self.visit_html(mdnode)
def visit_thematic_break(self, _):
self.current_node.append(nodes.transition())
# Section handling
def setup_sections(self):
self._level_to_elem = {0: self.document}
def add_section(self, section, level):
parent_level = max(
section_level for section_level in self._level_to_elem
if level > section_level
)
parent = self._level_to_elem[parent_level]
parent.append(section)
self._level_to_elem[level] = section
# Prune level to limit
self._level_to_elem = dict(
(section_level, section)
for section_level, section in self._level_to_elem.items()
if section_level <= level
)
def is_section_level(self, level, section):
return self._level_to_elem.get(level, None) == section
def _get_line(self, mdnode):
while mdnode:
if mdnode.sourcepos:
return mdnode.sourcepos[0][0]
mdnode = mdnode.parent
return 0
| [
1,
529,
276,
1112,
420,
29958,
29894,
744,
29929,
29947,
29896,
29914,
276,
9435,
3502,
29966,
12443,
29918,
303,
1503,
29958,
29896,
29899,
29896,
29900,
13,
15945,
29908,
14526,
13239,
13103,
9802,
13812,
15945,
29908,
13,
13,
5215,
10876,
13,
3166,
2897,
29889,
2084,
1053,
8536,
568,
486,
13,
13,
3166,
1574,
13239,
1053,
610,
4253,
29892,
7573,
13,
3166,
269,
561,
14668,
1053,
788,
18010,
13,
13,
3166,
3619,
3502,
1053,
1459,
643,
13,
13,
3166,
18116,
1053,
29383,
13,
13,
361,
10876,
29889,
3259,
29918,
3888,
529,
313,
29941,
29892,
29871,
29900,
1125,
13,
1678,
515,
3142,
5510,
1053,
3142,
5510,
29892,
443,
1396,
13,
2870,
29901,
13,
1678,
515,
3142,
1982,
29889,
5510,
1053,
3142,
5510,
29892,
443,
1396,
13,
13,
1649,
497,
1649,
353,
6024,
18877,
9802,
11726,
2033,
13,
13,
13,
1990,
13103,
9802,
11726,
29898,
862,
4253,
29889,
11726,
1125,
13,
13,
1678,
9995,
14526,
13239,
13812,
363,
13103,
9802,
15945,
29908,
13,
13,
1678,
6969,
353,
6702,
3487,
742,
525,
3502,
3204,
1495,
13,
1678,
14240,
29918,
2042,
29918,
978,
353,
6213,
13,
13,
1678,
2322,
29918,
2917,
353,
426,
13,
4706,
525,
5203,
29918,
2271,
29918,
816,
13826,
2396,
6213,
29892,
13,
1678,
500,
13,
13,
1678,
822,
4770,
2344,
12035,
1311,
1125,
13,
4706,
1583,
3032,
5563,
29918,
517,
29918,
20461,
353,
6571,
13,
13,
1678,
822,
6088,
29898,
1311,
29892,
1881,
1807,
29892,
1842,
1125,
13,
4706,
1583,
29889,
3225,
353,
1842,
13,
4706,
1583,
29889,
3784,
29918,
3177,
353,
1842,
13,
4706,
1583,
29889,
2917,
353,
1583,
29889,
4381,
29918,
2917,
29889,
8552,
580,
13,
4706,
1018,
29901,
13,
9651,
716,
29918,
16859,
353,
1583,
29889,
3225,
29889,
11027,
29889,
6272,
29889,
2917,
29889,
276,
9435,
3502,
29918,
2917,
13,
9651,
1583,
29889,
2917,
29889,
5504,
29898,
1482,
29918,
16859,
29897,
13,
4706,
5174,
23833,
2392,
29901,
13,
9651,
1209,
13,
4706,
1583,
29889,
14669,
29918,
5510,
29898,
2080,
1807,
29892,
1842,
29897,
13,
4706,
1583,
29889,
14669,
29918,
27117,
580,
13,
4706,
13812,
353,
1459,
643,
580,
13,
4706,
8717,
353,
13812,
29889,
5510,
29898,
2080,
1807,
718,
11297,
29876,
1495,
13,
4706,
1583,
29889,
13441,
29918,
579,
29898,
579,
29897,
13,
4706,
1583,
29889,
4951,
728,
29918,
5510,
580,
13,
13,
1678,
822,
3588,
29918,
579,
29898,
1311,
29892,
8717,
1125,
13,
4706,
363,
313,
3177,
29892,
18055,
29897,
297,
8717,
29889,
20919,
261,
7295,
13,
9651,
7876,
29918,
13506,
353,
376,
1730,
277,
29908,
565,
18055,
1683,
376,
311,
1595,
29908,
13,
9651,
7876,
29918,
978,
353,
29850,
29900,
3227,
29896,
29913,
1642,
4830,
29898,
9144,
29918,
13506,
29892,
2943,
29889,
29873,
29889,
13609,
3101,
13,
9651,
7876,
29918,
4381,
353,
376,
4381,
648,
29900,
29913,
1642,
4830,
29898,
9144,
29918,
13506,
29897,
13,
9651,
7876,
353,
679,
5552,
29898,
1311,
29892,
7876,
29918,
978,
29892,
6213,
29897,
13,
9651,
565,
7876,
338,
6213,
29901,
13,
18884,
7876,
353,
679,
5552,
29898,
1311,
29892,
7876,
29918,
4381,
29897,
13,
9651,
7876,
29898,
3177,
29897,
13,
13,
1678,
396,
9071,
1134,
3896,
29914,
13322,
25795,
13,
1678,
822,
2322,
29918,
1730,
277,
29898,
1311,
29892,
22821,
3177,
1125,
13,
4706,
1209,
13,
13,
1678,
822,
2322,
29918,
311,
1595,
29898,
1311,
29892,
22821,
3177,
1125,
13,
4706,
9995,
4592,
2943,
5840,
7834,
13,
13,
4706,
960,
727,
338,
263,
9686,
4954,
1730,
277,
29918,
29966,
1853,
13885,
29952,
1158,
363,
263,
5639,
2943,
29892,
13,
4706,
769,
591,
881,
1207,
1854,
304,
1250,
701,
304,
372,
29915,
29879,
3847,
1543,
746,
278,
2943,
13,
4706,
338,
429,
1573,
29889,
13,
4706,
9995,
13,
4706,
565,
22821,
3177,
29889,
275,
29918,
7611,
7295,
13,
9651,
7876,
29918,
978,
353,
525,
1730,
277,
648,
29900,
29913,
4286,
4830,
29898,
3487,
3177,
29889,
29873,
29897,
13,
9651,
565,
451,
756,
5552,
29898,
1311,
29892,
7876,
29918,
978,
1125,
13,
18884,
29383,
703,
7895,
2943,
14993,
2986,
29901,
1134,
3790,
29900,
29913,
1642,
4830,
29898,
3487,
3177,
29889,
29873,
876,
13,
9651,
1683,
29901,
13,
18884,
1583,
29889,
3784,
29918,
3177,
353,
1583,
29889,
3784,
29918,
3177,
29889,
3560,
13,
13,
1678,
822,
6493,
29918,
2813,
292,
29898,
1311,
29892,
22821,
3177,
1125,
13,
4706,
396,
4321,
565,
591,
29915,
276,
15270,
263,
4004,
3233,
937,
13,
4706,
565,
338,
8758,
29898,
1311,
29889,
3784,
29918,
3177,
29892,
7573,
29889,
2042,
1125,
13,
9651,
565,
1583,
29889,
275,
29918,
2042,
29918,
5563,
29898,
3487,
3177,
29889,
5563,
29892,
1583,
29889,
3784,
29918,
3177,
1125,
13,
18884,
1583,
29889,
3784,
29918,
3177,
353,
1583,
29889,
3784,
29918,
3177,
29889,
3560,
13,
13,
4706,
3611,
29918,
3177,
353,
7573,
29889,
3257,
580,
13,
4706,
3611,
29918,
3177,
29889,
1220,
353,
22821,
3177,
29889,
4993,
1066,
29961,
29900,
3816,
29900,
29962,
13,
13,
4706,
716,
29918,
2042,
353,
7573,
29889,
2042,
580,
13,
4706,
716,
29918,
2042,
29889,
1220,
353,
22821,
3177,
29889,
4993,
1066,
29961,
29900,
3816,
29900,
29962,
13,
4706,
716,
29918,
2042,
29889,
4397,
29898,
3257,
29918,
3177,
29897,
13,
13,
4706,
1583,
29889,
1202,
29918,
2042,
29898,
1482,
29918,
2042,
29892,
22821,
3177,
29889,
5563,
29897,
13,
13,
4706,
396,
3789,
278,
1857,
2943,
304,
278,
3611,
2943,
304,
18414,
5987,
1426,
4344,
29914,
7070,
13,
4706,
396,
363,
28435,
29889,
13,
4706,
1583,
29889,
3784,
29918,
3177,
353,
3611,
29918,
3177,
13,
13,
1678,
822,
5840,
29918,
2813,
292,
29898,
1311,
29892,
903,
1125,
13,
4706,
9995,
12881,
728,
10127,
292,
4004,
13,
13,
4706,
399,
2390,
701,
3611,
2943,
29892,
541,
12070,
297,
278,
4004,
2943,
29889,
3462,
278,
4004,
2983,
13,
4706,
2729,
373,
599,
278,
1426,
7573,
2715,
304,
278,
3611,
29889,
13,
4706,
9995,
13,
4706,
4974,
338,
8758,
29898,
1311,
29889,
3784,
29918,
3177,
29892,
7573,
29889,
3257,
29897,
13,
4706,
396,
450,
3611,
2943,
756,
263,
5447,
310,
1426,
7573,
29892,
671,
278,
3353,
2655,
304,
13,
4706,
396,
8161,
278,
4004,
1178,
322,
2983,
13,
4706,
1426,
353,
1583,
29889,
3784,
29918,
3177,
29889,
294,
726,
580,
13,
4706,
565,
1583,
29889,
21652,
29918,
2042,
29918,
978,
29901,
13,
9651,
1426,
353,
1583,
29889,
21652,
29918,
2042,
29918,
978,
29898,
726,
29897,
13,
4706,
1024,
353,
7573,
29889,
3730,
29918,
8945,
675,
29918,
978,
29898,
726,
29897,
13,
4706,
4004,
353,
1583,
29889,
3784,
29918,
3177,
29889,
3560,
13,
4706,
4004,
1839,
7039,
13359,
4397,
29898,
978,
29897,
13,
4706,
1583,
29889,
3225,
29889,
6812,
29918,
6574,
4019,
29918,
5182,
29898,
2042,
29892,
4004,
29897,
13,
4706,
1583,
29889,
3784,
29918,
3177,
353,
4004,
13,
13,
1678,
822,
6493,
29918,
726,
29898,
1311,
29892,
22821,
3177,
1125,
13,
4706,
1583,
29889,
3784,
29918,
3177,
29889,
4397,
29898,
18010,
29889,
1626,
29898,
3487,
3177,
29889,
20889,
284,
29892,
22821,
3177,
29889,
20889,
284,
876,
13,
13,
1678,
822,
6493,
29918,
2695,
8690,
29898,
1311,
29892,
903,
1125,
13,
4706,
1583,
29889,
3784,
29918,
3177,
29889,
4397,
29898,
18010,
29889,
1626,
28909,
29876,
8785,
13,
13,
1678,
822,
6493,
29918,
1220,
8690,
29898,
1311,
29892,
903,
1125,
13,
4706,
1583,
29889,
3784,
29918,
3177,
29889,
4397,
29898,
18010,
29889,
1610,
877,
742,
12801,
1182,
2900,
742,
3402,
2433,
1420,
8785,
13,
13,
1678,
822,
6493,
29918,
26956,
29898,
1311,
29892,
22821,
3177,
1125,
13,
4706,
282,
353,
7573,
29889,
26956,
29898,
3487,
3177,
29889,
20889,
284,
29897,
13,
4706,
282,
29889,
1220,
353,
22821,
3177,
29889,
4993,
1066,
29961,
29900,
3816,
29900,
29962,
13,
4706,
1583,
29889,
3784,
29918,
3177,
29889,
4397,
29898,
29886,
29897,
13,
4706,
1583,
29889,
3784,
29918,
3177,
353,
282,
13,
13,
1678,
822,
6493,
29918,
7278,
29898,
1311,
29892,
903,
1125,
13,
4706,
302,
353,
7573,
29889,
7278,
25101,
580,
13,
4706,
1583,
29889,
3784,
29918,
3177,
29889,
4397,
29898,
29876,
29897,
13,
4706,
1583,
29889,
3784,
29918,
3177,
353,
302,
13,
13,
1678,
822,
6493,
29918,
1110,
29898,
1311,
29892,
903,
1125,
13,
4706,
302,
353,
7573,
29889,
1110,
580,
13,
4706,
1583,
29889,
3784,
29918,
3177,
29889,
4397,
29898,
29876,
29897,
13,
4706,
1583,
29889,
3784,
29918,
3177,
353,
302,
13,
13,
1678,
822,
6493,
29918,
401,
29898,
1311,
29892,
22821,
3177,
1125,
13,
4706,
302,
353,
7573,
29889,
20889,
284,
29898,
3487,
3177,
29889,
20889,
284,
29892,
22821,
3177,
29889,
20889,
284,
29897,
13,
4706,
1583,
29889,
3784,
29918,
3177,
29889,
4397,
29898,
29876,
29897,
13,
13,
1678,
822,
6493,
29918,
2324,
29898,
1311,
29892,
22821,
3177,
1125,
13,
4706,
2143,
29918,
3177,
353,
7573,
29889,
5679,
580,
13,
4706,
396,
5399,
12551,
338,
6969,
363,
4891,
29899,
2324,
292,
322,
3349,
6081,
13,
4706,
12551,
353,
22821,
3177,
29889,
23848,
13,
4706,
17117,
1294,
353,
8536,
568,
486,
29898,
23848,
29897,
13,
4706,
396,
14402,
1423,
363,
916,
6969,
17752,
29892,
1316,
408,
1906,
6790,
297,
13,
4706,
396,
278,
317,
561,
14668,
1970,
29889,
2272,
934,
541,
920,
304,
2130,
445,
2472,
29973,
13,
4706,
396,
14402,
445,
881,
3117,
871,
3349,
278,
6081,
363,
1887,
10898,
29892,
13,
4706,
396,
474,
29889,
29872,
29889,
451,
21333,
29915,
29879,
6257,
411,
1732,
470,
916,
7029,
10944,
29889,
13,
4706,
565,
1294,
29889,
6506,
12839,
742,
27255,
297,
1583,
29889,
23765,
29901,
13,
9651,
12551,
353,
12551,
29889,
6506,
29898,
1062,
29892,
27255,
13,
4706,
2143,
29918,
3177,
1839,
999,
5338,
2033,
353,
12551,
13,
4706,
396,
14402,
20759,
29892,
577,
445,
338,
1274,
329,
635,
451,
2337,
278,
1492,
1196,
1353,
29892,
541,
13,
4706,
396,
1438,
286,
5200,
2631,
2113,
29915,
29873,
505,
2752,
1066,
373,
963,
363,
6514,
2769,
29889,
910,
13,
4706,
396,
338,
2253,
1135,
29871,
29900,
2466,
29889,
13,
4706,
2143,
29918,
3177,
29889,
1220,
353,
1583,
3032,
657,
29918,
1220,
29898,
3487,
3177,
29897,
13,
4706,
565,
22821,
3177,
29889,
3257,
29901,
13,
9651,
2143,
29918,
3177,
1839,
3257,
2033,
353,
22821,
3177,
29889,
3257,
13,
4706,
2446,
29918,
3177,
353,
2143,
29918,
3177,
13,
13,
4706,
3142,
29918,
3198,
353,
3142,
5510,
29898,
23848,
29897,
13,
4706,
396,
960,
727,
29915,
29879,
451,
263,
3142,
11380,
313,
29872,
29889,
29887,
29889,
525,
991,
29915,
363,
525,
991,
29901,
856,
29915,
2988,
511,
13,
4706,
396,
470,
727,
338,
263,
11380,
541,
372,
29915,
29879,
451,
297,
278,
1051,
310,
2998,
29918,
2271,
29918,
816,
13826,
29892,
13,
4706,
396,
769,
5251,
372,
29915,
29879,
263,
4891,
29899,
5679,
322,
1209,
372,
304,
317,
561,
14668,
408,
385,
22507,
1384,
18078,
2143,
29889,
13,
4706,
2998,
29918,
2271,
29918,
816,
13826,
353,
1583,
29889,
2917,
29889,
657,
877,
5203,
29918,
2271,
29918,
816,
13826,
1495,
13,
4706,
565,
2998,
29918,
2271,
29918,
816,
13826,
29901,
13,
9651,
11380,
29918,
5203,
353,
3142,
29918,
3198,
29889,
816,
2004,
297,
2998,
29918,
2271,
29918,
816,
13826,
13,
4706,
1683,
29901,
13,
9651,
11380,
29918,
5203,
353,
6120,
29898,
2271,
29918,
3198,
29889,
816,
2004,
29897,
13,
13,
4706,
565,
451,
3142,
29918,
3198,
29889,
20777,
322,
451,
11380,
29918,
5203,
29901,
13,
9651,
12244,
29918,
3177,
353,
788,
18010,
29889,
29886,
2548,
29918,
29916,
999,
29898,
13,
18884,
337,
615,
2097,
29922,
348,
1396,
29898,
23848,
511,
13,
18884,
337,
615,
668,
2433,
1384,
742,
13,
18884,
2143,
7247,
29922,
8516,
29892,
29871,
396,
25601,
304,
9025,
4891,
29899,
2324,
292,
13,
18884,
2143,
4548,
4019,
29922,
5574,
29892,
13,
18884,
2143,
25442,
29922,
5574,
13,
9651,
1723,
13,
9651,
396,
14402,
884,
451,
1959,
2752,
1066,
13,
9651,
12244,
29918,
3177,
29889,
1220,
353,
1583,
3032,
657,
29918,
1220,
29898,
3487,
3177,
29897,
13,
9651,
565,
22821,
3177,
29889,
3257,
29901,
13,
18884,
12244,
29918,
3177,
1839,
3257,
2033,
353,
22821,
3177,
29889,
3257,
13,
9651,
12244,
29918,
3177,
29889,
4397,
29898,
999,
29918,
3177,
29897,
13,
9651,
2446,
29918,
3177,
353,
12244,
29918,
3177,
13,
13,
4706,
1583,
29889,
3784,
29918,
3177,
29889,
4397,
29898,
4622,
29918,
3177,
29897,
13,
4706,
1583,
29889,
3784,
29918,
3177,
353,
2143,
29918,
3177,
13,
13,
1678,
822,
5840,
29918,
2324,
29898,
1311,
29892,
22821,
3177,
1125,
13,
4706,
565,
338,
8758,
29898,
1311,
29889,
3784,
29918,
3177,
29889,
3560,
29892,
788,
18010,
29889,
29886,
2548,
29918,
29916,
999,
1125,
13,
9651,
1583,
29889,
3784,
29918,
3177,
353,
1583,
29889,
3784,
29918,
3177,
29889,
3560,
29889,
3560,
13,
4706,
1683,
29901,
13,
9651,
1583,
29889,
3784,
29918,
3177,
353,
1583,
29889,
3784,
29918,
3177,
29889,
3560,
13,
13,
1678,
822,
6493,
29918,
3027,
29898,
1311,
29892,
22821,
3177,
1125,
13,
4706,
10153,
29918,
3177,
353,
7573,
29889,
3027,
580,
13,
4706,
10153,
29918,
3177,
1839,
5338,
2033,
353,
22821,
3177,
29889,
23848,
13,
13,
4706,
565,
22821,
3177,
29889,
4102,
29918,
5145,
322,
22821,
3177,
29889,
4102,
29918,
5145,
29889,
20889,
284,
29901,
13,
9651,
2793,
353,
518,
3487,
3177,
29889,
4102,
29918,
5145,
29889,
20889,
284,
29962,
13,
9651,
302,
353,
22821,
3177,
29889,
4102,
29918,
5145,
13,
9651,
22821,
3177,
29889,
4102,
29918,
5145,
29889,
20889,
284,
353,
6629,
13,
9651,
22821,
3177,
29889,
4102,
29918,
5145,
353,
22821,
3177,
29889,
4230,
29918,
5145,
353,
6213,
13,
9651,
1550,
679,
5552,
29898,
29876,
29892,
525,
29876,
486,
29374,
13,
18884,
302,
29889,
29876,
486,
29892,
302,
353,
6213,
29892,
302,
29889,
29876,
486,
13,
18884,
2793,
29889,
4397,
29898,
29876,
29889,
20889,
284,
29897,
13,
9651,
10153,
29918,
3177,
1839,
1997,
2033,
353,
525,
4286,
7122,
29898,
3051,
29897,
13,
13,
4706,
1583,
29889,
3784,
29918,
3177,
29889,
4397,
29898,
2492,
29918,
3177,
29897,
13,
4706,
1583,
29889,
3784,
29918,
3177,
353,
10153,
29918,
3177,
13,
13,
1678,
822,
6493,
29918,
1761,
29898,
1311,
29892,
22821,
3177,
1125,
13,
4706,
1051,
29918,
3177,
353,
6213,
13,
4706,
565,
313,
3487,
3177,
29889,
1761,
29918,
1272,
1839,
1853,
2033,
1275,
376,
18850,
29908,
1125,
13,
9651,
1051,
29918,
3177,
29918,
25932,
353,
7573,
29889,
18850,
29918,
1761,
13,
4706,
1683,
29901,
13,
9651,
1051,
29918,
3177,
29918,
25932,
353,
7573,
29889,
264,
4680,
630,
29918,
1761,
13,
4706,
1051,
29918,
3177,
353,
1051,
29918,
3177,
29918,
25932,
580,
13,
4706,
1051,
29918,
3177,
29889,
1220,
353,
22821,
3177,
29889,
4993,
1066,
29961,
29900,
3816,
29900,
29962,
13,
13,
4706,
1583,
29889,
3784,
29918,
3177,
29889,
4397,
29898,
1761,
29918,
3177,
29897,
13,
4706,
1583,
29889,
3784,
29918,
3177,
353,
1051,
29918,
3177,
13,
13,
1678,
822,
6493,
29918,
667,
29898,
1311,
29892,
22821,
3177,
1125,
13,
4706,
2943,
353,
7573,
29889,
1761,
29918,
667,
580,
13,
4706,
2943,
29889,
1220,
353,
22821,
3177,
29889,
4993,
1066,
29961,
29900,
3816,
29900,
29962,
13,
4706,
1583,
29889,
3784,
29918,
3177,
29889,
4397,
29898,
3177,
29897,
13,
4706,
1583,
29889,
3784,
29918,
3177,
353,
2943,
13,
13,
1678,
822,
6493,
29918,
401,
29918,
1271,
29898,
1311,
29892,
22821,
3177,
1125,
13,
4706,
9049,
5085,
353,
6571,
13,
4706,
565,
22821,
3177,
29889,
275,
29918,
29888,
9223,
322,
22821,
3177,
29889,
3888,
29901,
13,
9651,
9049,
5085,
1839,
11675,
2033,
353,
22821,
3177,
29889,
3888,
13,
4706,
1426,
353,
525,
4286,
7122,
29898,
3487,
3177,
29889,
20889,
284,
29897,
13,
4706,
565,
1426,
29889,
1975,
2541,
28909,
29876,
29374,
13,
9651,
1426,
353,
1426,
7503,
29899,
29896,
29962,
13,
4706,
2943,
353,
7573,
29889,
20889,
284,
29918,
1271,
29898,
726,
29892,
1426,
29892,
3579,
19290,
29897,
13,
4706,
1583,
29889,
3784,
29918,
3177,
29889,
4397,
29898,
3177,
29897,
13,
13,
1678,
822,
6493,
29918,
1271,
29918,
1396,
29898,
1311,
29892,
22821,
3177,
1125,
13,
4706,
3855,
353,
7573,
29889,
1271,
29918,
1396,
580,
13,
4706,
3855,
29889,
1220,
353,
22821,
3177,
29889,
4993,
1066,
29961,
29900,
3816,
29900,
29962,
13,
4706,
1583,
29889,
3784,
29918,
3177,
29889,
4397,
29898,
29939,
29897,
13,
4706,
1583,
29889,
3784,
29918,
3177,
353,
3855,
13,
13,
1678,
822,
6493,
29918,
1420,
29898,
1311,
29892,
22821,
3177,
1125,
13,
4706,
10650,
29918,
3177,
353,
7573,
29889,
1610,
29898,
3487,
3177,
29889,
20889,
284,
29892,
13,
462,
632,
22821,
3177,
29889,
20889,
284,
29892,
3402,
2433,
1420,
1495,
13,
4706,
565,
22821,
3177,
29889,
4993,
1066,
338,
451,
6213,
29901,
13,
9651,
10650,
29918,
3177,
29889,
1220,
353,
22821,
3177,
29889,
4993,
1066,
29961,
29900,
3816,
29900,
29962,
13,
4706,
1583,
29889,
3784,
29918,
3177,
29889,
4397,
29898,
1610,
29918,
3177,
29897,
13,
13,
1678,
822,
6493,
29918,
1420,
29918,
14764,
29898,
1311,
29892,
22821,
3177,
1125,
13,
4706,
1583,
29889,
1730,
277,
29918,
1420,
29898,
3487,
3177,
29897,
13,
13,
1678,
822,
6493,
29918,
1420,
29918,
1271,
29898,
1311,
29892,
22821,
3177,
1125,
13,
4706,
1583,
29889,
1730,
277,
29918,
1420,
29898,
3487,
3177,
29897,
13,
13,
1678,
822,
6493,
29918,
386,
19217,
29918,
8690,
29898,
1311,
29892,
903,
1125,
13,
4706,
1583,
29889,
3784,
29918,
3177,
29889,
4397,
29898,
18010,
29889,
20543,
3101,
13,
13,
1678,
396,
9779,
11415,
13,
1678,
822,
6230,
29918,
27117,
29898,
1311,
1125,
13,
4706,
1583,
3032,
5563,
29918,
517,
29918,
20461,
353,
426,
29900,
29901,
1583,
29889,
3225,
29913,
13,
13,
1678,
822,
788,
29918,
2042,
29898,
1311,
29892,
4004,
29892,
3233,
1125,
13,
4706,
3847,
29918,
5563,
353,
4236,
29898,
13,
9651,
4004,
29918,
5563,
363,
4004,
29918,
5563,
297,
1583,
3032,
5563,
29918,
517,
29918,
20461,
13,
9651,
565,
3233,
1405,
4004,
29918,
5563,
13,
4706,
1723,
13,
4706,
3847,
353,
1583,
3032,
5563,
29918,
517,
29918,
20461,
29961,
3560,
29918,
5563,
29962,
13,
4706,
3847,
29889,
4397,
29898,
2042,
29897,
13,
4706,
1583,
3032,
5563,
29918,
517,
29918,
20461,
29961,
5563,
29962,
353,
4004,
13,
13,
4706,
396,
1588,
1540,
3233,
304,
4046,
13,
4706,
1583,
3032,
5563,
29918,
517,
29918,
20461,
353,
9657,
29898,
13,
9651,
313,
2042,
29918,
5563,
29892,
4004,
29897,
13,
9651,
363,
4004,
29918,
5563,
29892,
4004,
297,
1583,
3032,
5563,
29918,
517,
29918,
20461,
29889,
7076,
580,
13,
9651,
565,
4004,
29918,
5563,
5277,
3233,
13,
4706,
1723,
13,
13,
1678,
822,
338,
29918,
2042,
29918,
5563,
29898,
1311,
29892,
3233,
29892,
4004,
1125,
13,
4706,
736,
1583,
3032,
5563,
29918,
517,
29918,
20461,
29889,
657,
29898,
5563,
29892,
6213,
29897,
1275,
4004,
13,
13,
1678,
822,
903,
657,
29918,
1220,
29898,
1311,
29892,
22821,
3177,
1125,
13,
4706,
1550,
22821,
3177,
29901,
13,
9651,
565,
22821,
3177,
29889,
4993,
1066,
29901,
13,
18884,
736,
22821,
3177,
29889,
4993,
1066,
29961,
29900,
3816,
29900,
29962,
13,
9651,
22821,
3177,
353,
22821,
3177,
29889,
3560,
13,
4706,
736,
29871,
29900,
13,
2
] |
scripts/perf/model_size.py | cclauss/archai | 344 | 70711 | <filename>scripts/perf/model_size.py
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.
from archai.nas.model_desc import ModelDesc
from archai.common.common import common_init
from archai.nas.model import Model
from archai.algos.petridish.petridish_model_desc_builder import PetridishModelBuilder
from archai.common.model_summary import summary
conf = common_init(config_filepath='confs/petridish_cifar.yaml',
param_args=['--common.experiment_name', 'petridish_run2_seed42_eval'])
conf_eval = conf['nas']['eval']
conf_model_desc = conf_eval['model_desc']
conf_model_desc['n_cells'] = 14
template_model_desc = ModelDesc.load('$expdir/final_model_desc.yaml')
model_builder = PetridishModelBuilder()
model_desc = model_builder.build(conf_model_desc, template=template_model_desc)
mb = PetridishModelBuilder()
model = Model(model_desc, droppath=False, affine=False)
summary(model, [64, 3, 32, 32])
exit(0) | [
1,
529,
9507,
29958,
16713,
29914,
546,
29888,
29914,
4299,
29918,
2311,
29889,
2272,
13,
29937,
14187,
1266,
313,
29883,
29897,
7783,
15025,
22993,
13,
29937,
10413,
21144,
1090,
278,
341,
1806,
19405,
22993,
13,
30004,
13,
3166,
3190,
1794,
29889,
22911,
29889,
4299,
29918,
14273,
1053,
8125,
19617,
30004,
13,
3166,
3190,
1794,
29889,
9435,
29889,
9435,
1053,
3619,
29918,
2344,
30004,
13,
3166,
3190,
1794,
29889,
22911,
29889,
4299,
1053,
8125,
30004,
13,
3166,
3190,
1794,
29889,
9564,
359,
29889,
10963,
2429,
728,
29889,
10963,
2429,
728,
29918,
4299,
29918,
14273,
29918,
16409,
1053,
5879,
2429,
728,
3195,
5627,
30004,
13,
30004,
13,
3166,
3190,
1794,
29889,
9435,
29889,
4299,
29918,
7727,
1053,
15837,
30004,
13,
30004,
13,
5527,
353,
3619,
29918,
2344,
29898,
2917,
29918,
1445,
2084,
2433,
5527,
29879,
29914,
10963,
2429,
728,
29918,
29883,
361,
279,
29889,
25162,
23592,
13,
462,
1678,
1828,
29918,
5085,
29922,
1839,
489,
9435,
29889,
735,
15362,
29918,
978,
742,
525,
10963,
2429,
728,
29918,
3389,
29906,
29918,
26776,
29946,
29906,
29918,
14513,
2033,
8443,
13,
30004,
13,
5527,
29918,
14513,
353,
1970,
1839,
22911,
16215,
14513,
2033,
30004,
13,
5527,
29918,
4299,
29918,
14273,
259,
353,
1970,
29918,
14513,
1839,
4299,
29918,
14273,
2033,
30004,
13,
30004,
13,
5527,
29918,
4299,
29918,
14273,
1839,
29876,
29918,
3729,
29879,
2033,
353,
29871,
29896,
29946,
30004,
13,
6886,
29918,
4299,
29918,
14273,
353,
8125,
19617,
29889,
1359,
877,
29938,
4548,
3972,
29914,
8394,
29918,
4299,
29918,
14273,
29889,
25162,
1495,
30004,
13,
30004,
13,
4299,
29918,
16409,
353,
5879,
2429,
728,
3195,
5627,
26471,
13,
30004,
13,
4299,
29918,
14273,
353,
1904,
29918,
16409,
29889,
4282,
29898,
5527,
29918,
4299,
29918,
14273,
29892,
4472,
29922,
6886,
29918,
4299,
29918,
14273,
8443,
13,
30004,
13,
8337,
353,
5879,
2429,
728,
3195,
5627,
26471,
13,
4299,
353,
8125,
29898,
4299,
29918,
14273,
29892,
4441,
407,
493,
29922,
8824,
29892,
2756,
457,
29922,
8824,
8443,
13,
30004,
13,
7727,
29898,
4299,
29892,
518,
29953,
29946,
29892,
29871,
29941,
29892,
29871,
29941,
29906,
29892,
29871,
29941,
29906,
2314,
30004,
13,
30004,
13,
30004,
13,
13322,
29898,
29900,
29897,
2
] |
htbapi/machines.py | zachhanson94/htb | 0 | 1600064 | """Methods pertaining to machines on HTB.
This module contains classes and methods for working with machines
on HTB.
"""
from . import session
from .models import HTBObject
from typing import List, Optional
import json
class HTBMachine(HTBObject):
"""A machine on HTB
Attributes:
id (int): The machine ID.
name (str): The name of the machine.
os (str): The OS of the machine.
active (bool): Whether the machine is active.
retired (bool): Whether the machine is retired.
points (int): The number of points the machine is currently worth.
static_points (int): The number of points the machine was worth.
release (str): The timestamp of when the machine was released.
user_owns_count (int): The number of user owns.
root_owns_count (int): The number of root owns.
free (bool): Whether the machine is available to non-vip users.
authUserInUserOwns (bool): Whether the user has owned user.
authUserInRootOwns (bool): Whether the user has owned root.
authUserHasReviewed (bool): Whether the user has left a review.
stars (float): Number of stars (rating) the box has.
difficulty (int): The machine difficulty.
avatar (str): The path to the machines avatar image.
feedbackForChart (DifficultyChart): The difficulty chart data.
difficultyText (str): The difficulty (Easy, Medium, Hard, Insane).
isCompleted (bool): Whether the user has completed the box.
last_reset_time (str): Time since last reset.
playInfo (LiveMachineInfo): The live info of the machine.
maker (HTBProfile): The profile of the maker.
maker2 (HTBProfile): The profile of the second maker.
authUserFirstUserTime (str): The time it took the user to own user.
authUserFirstRootTime (str): The time it took the user to own root.
userBlood (MachineBlood): The blood object for user blood.
userBloodAvatar (str): The user blood user's avatar.
rootBlood (MachineBlood): The blood object for root blood.
rootBloodAvatar (str): The root blood user's avatar.
firstUserBloodTime (str): The time it took for user blood to fall.
firstRootBloodTime (str): The time it took for root blood to fall.
recommended (bool): Whether this machine is recommended.
"""
objectendpoint = "/machine/profile/"
objectkey = "info"
def findmachines(name: str) -> List[HTBMachine]:
"""Searches for machines matchine :name.
Searches HTB for any machines matching the name :name.
Args:
name: A partial or full name to search for.
Returns:
A list of matching machines.
"""
resp = session.get(
"/search/fetch",
params={"query": name, "tags": json.dumps(["machines"])})
results = resp.json()
searchresults = results["machines"] if "machines" in results else []
matches = [HTBMachine(res) for res in searchresults]
return matches
def findmachine(name: str) -> Optional[HTBMachine]:
"""Finds a specific machine by name.
Searches HTB for a specific machine matching the specified name
and returns it if one is found. Otherwise returns None.
Args:
name: An exact box name to lookup.
Returns:
A HTBMachine matching the requested name.
"""
boxes = findmachines(name)
for box in boxes:
if box.name == name:
return box
| [
1,
9995,
26112,
639,
2408,
292,
304,
14884,
373,
3154,
29933,
29889,
13,
13,
4013,
3883,
3743,
4413,
322,
3519,
363,
1985,
411,
14884,
13,
265,
3154,
29933,
29889,
13,
15945,
29908,
13,
13,
13,
3166,
869,
1053,
4867,
13,
3166,
869,
9794,
1053,
3154,
29933,
2061,
13,
3166,
19229,
1053,
2391,
29892,
28379,
13,
5215,
4390,
13,
13,
13,
1990,
3154,
29933,
29076,
29898,
3912,
29933,
2061,
1125,
13,
1678,
9995,
29909,
4933,
373,
3154,
29933,
13,
268,
13,
1678,
6212,
5026,
29901,
13,
4706,
1178,
313,
524,
1125,
450,
4933,
3553,
29889,
13,
4706,
1024,
313,
710,
1125,
450,
1024,
310,
278,
4933,
29889,
13,
4706,
2897,
313,
710,
1125,
450,
6570,
310,
278,
4933,
29889,
13,
4706,
6136,
313,
11227,
1125,
26460,
278,
4933,
338,
6136,
29889,
13,
4706,
16528,
313,
11227,
1125,
26460,
278,
4933,
338,
16528,
29889,
13,
4706,
3291,
313,
524,
1125,
450,
1353,
310,
3291,
278,
4933,
338,
5279,
7088,
29889,
13,
4706,
2294,
29918,
9748,
313,
524,
1125,
450,
1353,
310,
3291,
278,
4933,
471,
7088,
29889,
13,
4706,
6507,
313,
710,
1125,
450,
14334,
310,
746,
278,
4933,
471,
5492,
29889,
13,
4706,
1404,
29918,
776,
29879,
29918,
2798,
313,
524,
1125,
450,
1353,
310,
1404,
1914,
29879,
29889,
13,
4706,
3876,
29918,
776,
29879,
29918,
2798,
313,
524,
1125,
450,
1353,
310,
3876,
1914,
29879,
29889,
13,
4706,
3889,
313,
11227,
1125,
26460,
278,
4933,
338,
3625,
304,
1661,
29899,
29894,
666,
4160,
29889,
13,
4706,
4817,
2659,
797,
2659,
29949,
1233,
29879,
313,
11227,
1125,
26460,
278,
1404,
756,
15205,
1404,
29889,
13,
4706,
4817,
2659,
797,
10303,
29949,
1233,
29879,
313,
11227,
1125,
26460,
278,
1404,
756,
15205,
3876,
29889,
13,
4706,
4817,
2659,
14510,
1123,
1493,
287,
313,
11227,
1125,
26460,
278,
1404,
756,
2175,
263,
9076,
29889,
13,
4706,
10819,
313,
7411,
1125,
9681,
310,
10819,
313,
29741,
29897,
278,
3800,
756,
29889,
13,
4706,
14656,
313,
524,
1125,
450,
4933,
14656,
29889,
13,
4706,
1029,
14873,
313,
710,
1125,
450,
2224,
304,
278,
14884,
1029,
14873,
1967,
29889,
13,
4706,
16705,
2831,
14732,
313,
26023,
3953,
29891,
14732,
1125,
450,
14656,
8727,
848,
29889,
13,
4706,
14656,
1626,
313,
710,
1125,
450,
14656,
313,
29923,
8995,
29892,
3436,
1974,
29892,
10999,
29892,
13377,
1662,
467,
13,
4706,
338,
26010,
313,
11227,
1125,
26460,
278,
1404,
756,
8676,
278,
3800,
29889,
13,
4706,
1833,
29918,
12071,
29918,
2230,
313,
710,
1125,
5974,
1951,
1833,
10092,
29889,
13,
4706,
1708,
3401,
313,
23859,
29076,
3401,
1125,
450,
5735,
5235,
310,
278,
4933,
29889,
13,
4706,
2136,
261,
313,
3912,
29933,
13909,
1125,
450,
8722,
310,
278,
2136,
261,
29889,
13,
4706,
2136,
261,
29906,
313,
3912,
29933,
13909,
1125,
450,
8722,
310,
278,
1473,
2136,
261,
29889,
13,
4706,
4817,
2659,
6730,
2659,
2481,
313,
710,
1125,
450,
931,
372,
3614,
278,
1404,
304,
1914,
1404,
29889,
13,
4706,
4817,
2659,
6730,
10303,
2481,
313,
710,
1125,
450,
931,
372,
3614,
278,
1404,
304,
1914,
3876,
29889,
13,
4706,
1404,
29933,
417,
397,
313,
29076,
29933,
417,
397,
1125,
450,
10416,
1203,
363,
1404,
10416,
29889,
13,
4706,
1404,
29933,
417,
397,
29909,
9046,
279,
313,
710,
1125,
450,
1404,
10416,
1404,
29915,
29879,
1029,
14873,
29889,
13,
4706,
3876,
29933,
417,
397,
313,
29076,
29933,
417,
397,
1125,
450,
10416,
1203,
363,
3876,
10416,
29889,
13,
4706,
3876,
29933,
417,
397,
29909,
9046,
279,
313,
710,
1125,
450,
3876,
10416,
1404,
29915,
29879,
1029,
14873,
29889,
13,
4706,
937,
2659,
29933,
417,
397,
2481,
313,
710,
1125,
450,
931,
372,
3614,
363,
1404,
10416,
304,
6416,
29889,
13,
4706,
937,
10303,
29933,
417,
397,
2481,
313,
710,
1125,
450,
931,
372,
3614,
363,
3876,
10416,
304,
6416,
29889,
13,
4706,
13622,
313,
11227,
1125,
26460,
445,
4933,
338,
13622,
29889,
13,
1678,
9995,
13,
268,
13,
1678,
1203,
29734,
353,
5591,
23523,
29914,
10185,
12975,
13,
1678,
1203,
1989,
353,
376,
3888,
29908,
13,
13,
1753,
1284,
29885,
496,
1475,
29898,
978,
29901,
851,
29897,
1599,
2391,
29961,
3912,
29933,
29076,
5387,
13,
1678,
9995,
7974,
267,
363,
14884,
1993,
457,
584,
978,
29889,
13,
13,
1678,
11856,
267,
3154,
29933,
363,
738,
14884,
9686,
278,
1024,
584,
978,
29889,
13,
268,
13,
1678,
826,
3174,
29901,
13,
4706,
1024,
29901,
319,
7687,
470,
2989,
1024,
304,
2740,
363,
29889,
13,
1678,
16969,
29901,
13,
4706,
319,
1051,
310,
9686,
14884,
29889,
13,
1678,
9995,
13,
13,
1678,
4613,
353,
4867,
29889,
657,
29898,
13,
4706,
5591,
4478,
29914,
9155,
613,
29871,
13,
4706,
8636,
3790,
29908,
1972,
1115,
1024,
29892,
376,
11338,
1115,
4390,
29889,
29881,
17204,
29898,
3366,
29885,
496,
1475,
20068,
1800,
13,
1678,
2582,
353,
4613,
29889,
3126,
580,
13,
1678,
2740,
9902,
353,
2582,
3366,
29885,
496,
1475,
3108,
565,
376,
29885,
496,
1475,
29908,
297,
2582,
1683,
5159,
13,
1678,
7087,
353,
518,
3912,
29933,
29076,
29898,
690,
29897,
363,
620,
297,
2740,
9902,
29962,
13,
1678,
736,
7087,
13,
13,
1753,
1284,
23523,
29898,
978,
29901,
851,
29897,
1599,
28379,
29961,
3912,
29933,
29076,
5387,
13,
1678,
9995,
12542,
29879,
263,
2702,
4933,
491,
1024,
29889,
13,
13,
1678,
11856,
267,
3154,
29933,
363,
263,
2702,
4933,
9686,
278,
6790,
1024,
13,
1678,
322,
3639,
372,
565,
697,
338,
1476,
29889,
13466,
3639,
6213,
29889,
13,
13,
1678,
826,
3174,
29901,
13,
4706,
1024,
29901,
530,
2684,
3800,
1024,
304,
16280,
29889,
13,
1678,
16969,
29901,
13,
4706,
319,
3154,
29933,
29076,
9686,
278,
13877,
1024,
29889,
13,
1678,
9995,
13,
13,
1678,
16273,
353,
1284,
29885,
496,
1475,
29898,
978,
29897,
13,
1678,
363,
3800,
297,
16273,
29901,
13,
4706,
565,
3800,
29889,
978,
1275,
1024,
29901,
13,
9651,
736,
3800,
13,
2
] |
facemask_detector/python_func_test.py | acassemi/socialdistance | 0 | 1600207 | from detect_mask_image_function import detect_mask_complete
from detect_mask_image_function import detect_mask_simplified
# To use the complete version make sure you have the directories created
#if you download the whole git hub structure you are good to go.
#just add the image that you want to analyze in the images_to_be_analized directory
# before running it
#uncomment it to test it
#result_complete = detect_mask_complete("images_to_be_analyzed/example_03.png")
#print (result_complete)
#this is the simplified version that won't move or create new images
result_simplified = detect_mask_simplified("images_to_be_analyzed/example_01.png")
print (result_simplified)
| [
1,
515,
6459,
29918,
13168,
29918,
3027,
29918,
2220,
1053,
6459,
29918,
13168,
29918,
8835,
13,
3166,
6459,
29918,
13168,
29918,
3027,
29918,
2220,
1053,
6459,
29918,
13168,
29918,
3601,
572,
2164,
29871,
13,
13,
13,
29937,
1763,
671,
278,
4866,
1873,
1207,
1854,
366,
505,
278,
17525,
2825,
13,
29937,
361,
366,
5142,
278,
3353,
6315,
19766,
3829,
366,
526,
1781,
304,
748,
29889,
13,
29937,
5143,
788,
278,
1967,
393,
366,
864,
304,
27599,
297,
278,
4558,
29918,
517,
29918,
915,
29918,
7054,
1891,
3884,
13,
29937,
1434,
2734,
372,
13,
13,
29937,
348,
9342,
372,
304,
1243,
372,
13,
29937,
2914,
29918,
8835,
353,
6459,
29918,
13168,
29918,
8835,
703,
8346,
29918,
517,
29918,
915,
29918,
7054,
12339,
287,
29914,
4773,
29918,
29900,
29941,
29889,
2732,
1159,
13,
29937,
2158,
313,
2914,
29918,
8835,
29897,
13,
13,
29937,
1366,
338,
278,
20875,
1873,
393,
2113,
29915,
29873,
4337,
470,
1653,
716,
4558,
13,
2914,
29918,
3601,
572,
2164,
353,
6459,
29918,
13168,
29918,
3601,
572,
2164,
703,
8346,
29918,
517,
29918,
915,
29918,
7054,
12339,
287,
29914,
4773,
29918,
29900,
29896,
29889,
2732,
1159,
13,
2158,
313,
2914,
29918,
3601,
572,
2164,
29897,
13,
2
] |
tests/compiler/dataflow/test_model_root_cause.py | inmanta/inmanta-core | 6 | 198697 | """
Copyright 2020 Inmanta
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.
Contact: <EMAIL>
"""
from typing import List, Set
import pytest
from compiler.dataflow.conftest import DataflowTestHelper, get_dataflow_node
from inmanta.ast import MultiException
from inmanta.execute.dataflow import AssignableNode, AssignableNodeReference, AttributeNode, DataflowGraph
from inmanta.execute.dataflow.root_cause import UnsetRootCauseAnalyzer
def get_attribute_node(graph: DataflowGraph, attr: str) -> AttributeNode:
node_ref: AssignableNodeReference = get_dataflow_node(graph, attr)
node: AssignableNode = next(node_ref.nodes())
assert isinstance(node, AttributeNode)
return node
@pytest.mark.parametrize("attribute_equivalence", [True, False])
@pytest.mark.parametrize("variable_equivalence", [True, False])
def test_dataflow_model_root_cause(
dataflow_test_helper: DataflowTestHelper, attribute_equivalence: bool, variable_equivalence: bool
) -> None:
dataflow_test_helper.compile(
"""
entity C:
number i
end
entity V:
number n
number i
end
index V(i)
entity U:
end
U.v [1] -- V
entity X:
number n
end
implement C using std::none
implement V using std::none
implement U using std::none
implement X using std::none
c = C()
%s
u = U()
x = X()
u.v = V(n = 42, i = c.i)
x.n = u.v.n
%s
"""
% (
"""
c.i = cc.i
cc = C(i = c.i)
"""
if attribute_equivalence
else "",
"""
c.i = i
i = c.i
"""
if variable_equivalence
else "",
),
MultiException,
)
graph: DataflowGraph = dataflow_test_helper.get_graph()
x_n: AttributeNode = get_attribute_node(graph, "x.n")
c_i: AttributeNode = get_attribute_node(graph, "c.i")
u_v: AttributeNode = get_attribute_node(graph, "u.v")
attributes: List[AttributeNode] = [x_n, c_i, u_v]
root_causes: Set[AttributeNode] = {c_i}
if attribute_equivalence:
cc_i: AttributeNode = get_attribute_node(graph, "cc.i")
attributes.append(cc_i)
root_causes.add(cc_i)
assert UnsetRootCauseAnalyzer(attributes).root_causes() == root_causes
def test_cyclic_model_a(dataflow_test_helper: DataflowTestHelper):
dataflow_test_helper.compile(
"""
entity A:
number n
end
implement A using std::none
x = A()
y = A()
z = A()
x.n = y.n
y.n = x.n
x.n = z.n
""",
MultiException,
)
graph: DataflowGraph = dataflow_test_helper.get_graph()
x_n: AttributeNode = get_attribute_node(graph, "x.n")
y_n: AttributeNode = get_attribute_node(graph, "y.n")
z_n: AttributeNode = get_attribute_node(graph, "z.n")
attributes: List[AttributeNode] = [x_n, y_n, z_n]
root_causes: Set[AttributeNode] = {z_n}
assert UnsetRootCauseAnalyzer(attributes).root_causes() == root_causes
def test_cyclic_model_b(dataflow_test_helper: DataflowTestHelper):
"""
This model has an equivalence that
1. is to be ignored as a root
2. cause two things (that now become roots)
"""
dataflow_test_helper.compile(
"""
entity A:
number n
end
implement A using std::none
x = A()
y = A()
y.n = n
x.n = n
n = m
m = n
""",
MultiException,
)
graph: DataflowGraph = dataflow_test_helper.get_graph()
x_n: AttributeNode = get_attribute_node(graph, "x.n")
y_n: AttributeNode = get_attribute_node(graph, "y.n")
attributes: List[AttributeNode] = [x_n, y_n]
root_causes: Set[AttributeNode] = {x_n, y_n}
assert UnsetRootCauseAnalyzer(attributes).root_causes() == root_causes
| [
1,
9995,
13,
1678,
14187,
1266,
29871,
29906,
29900,
29906,
29900,
512,
29885,
6949,
13,
13,
1678,
10413,
21144,
1090,
278,
13380,
19245,
29892,
10079,
29871,
29906,
29889,
29900,
313,
1552,
376,
29931,
293,
1947,
1496,
13,
1678,
366,
1122,
451,
671,
445,
934,
5174,
297,
752,
13036,
411,
278,
19245,
29889,
13,
1678,
887,
1122,
4017,
263,
3509,
310,
278,
19245,
472,
13,
13,
4706,
1732,
597,
1636,
29889,
4288,
29889,
990,
29914,
506,
11259,
29914,
27888,
1430,
1660,
29899,
29906,
29889,
29900,
13,
13,
1678,
25870,
3734,
491,
22903,
4307,
470,
15502,
304,
297,
5007,
29892,
7047,
13,
1678,
13235,
1090,
278,
19245,
338,
13235,
373,
385,
376,
3289,
8519,
29908,
350,
3289,
3235,
29892,
13,
1678,
399,
1806,
8187,
2692,
399,
1718,
29934,
13566,
29059,
6323,
8707,
29928,
22122,
29903,
8079,
13764,
29979,
476,
22255,
29892,
2845,
4653,
470,
2411,
2957,
29889,
13,
1678,
2823,
278,
19245,
363,
278,
2702,
4086,
14765,
1076,
11239,
322,
13,
1678,
27028,
1090,
278,
19245,
29889,
13,
13,
1678,
22387,
29901,
529,
26862,
6227,
29958,
13,
15945,
29908,
13,
13,
3166,
19229,
1053,
2391,
29892,
3789,
13,
13,
5215,
11451,
1688,
13,
13,
3166,
6516,
29889,
1272,
1731,
29889,
535,
615,
342,
1053,
3630,
1731,
3057,
10739,
29892,
679,
29918,
1272,
1731,
29918,
3177,
13,
3166,
297,
29885,
6949,
29889,
579,
1053,
14974,
2451,
13,
3166,
297,
29885,
6949,
29889,
7978,
29889,
1272,
1731,
1053,
4007,
647,
519,
4247,
29892,
4007,
647,
519,
4247,
7422,
29892,
23833,
4247,
29892,
3630,
1731,
9527,
13,
3166,
297,
29885,
6949,
29889,
7978,
29889,
1272,
1731,
29889,
4632,
29918,
29883,
1071,
1053,
853,
842,
10303,
29907,
1071,
2744,
14997,
3298,
13,
13,
13,
1753,
679,
29918,
12715,
29918,
3177,
29898,
4262,
29901,
3630,
1731,
9527,
29892,
12421,
29901,
851,
29897,
1599,
23833,
4247,
29901,
13,
1678,
2943,
29918,
999,
29901,
4007,
647,
519,
4247,
7422,
353,
679,
29918,
1272,
1731,
29918,
3177,
29898,
4262,
29892,
12421,
29897,
13,
1678,
2943,
29901,
4007,
647,
519,
4247,
353,
2446,
29898,
3177,
29918,
999,
29889,
18010,
3101,
13,
1678,
4974,
338,
8758,
29898,
3177,
29892,
23833,
4247,
29897,
13,
1678,
736,
2943,
13,
13,
13,
29992,
2272,
1688,
29889,
3502,
29889,
3207,
300,
374,
911,
703,
12715,
29918,
1686,
2561,
663,
613,
518,
5574,
29892,
7700,
2314,
13,
29992,
2272,
1688,
29889,
3502,
29889,
3207,
300,
374,
911,
703,
11918,
29918,
1686,
2561,
663,
613,
518,
5574,
29892,
7700,
2314,
13,
1753,
1243,
29918,
1272,
1731,
29918,
4299,
29918,
4632,
29918,
29883,
1071,
29898,
13,
1678,
848,
1731,
29918,
1688,
29918,
20907,
29901,
3630,
1731,
3057,
10739,
29892,
5352,
29918,
1686,
2561,
663,
29901,
6120,
29892,
2286,
29918,
1686,
2561,
663,
29901,
6120,
13,
29897,
1599,
6213,
29901,
13,
1678,
848,
1731,
29918,
1688,
29918,
20907,
29889,
12198,
29898,
13,
4706,
9995,
13,
10041,
315,
29901,
13,
1678,
1353,
474,
13,
355,
13,
13,
13,
10041,
478,
29901,
13,
1678,
1353,
302,
13,
1678,
1353,
474,
13,
355,
13,
13,
2248,
478,
29898,
29875,
29897,
13,
13,
13,
10041,
501,
29901,
13,
355,
13,
13,
29965,
29889,
29894,
518,
29896,
29962,
1192,
478,
13,
13,
13,
10041,
1060,
29901,
13,
1678,
1353,
302,
13,
355,
13,
13,
13,
13,
326,
2037,
315,
773,
3659,
1057,
9290,
13,
326,
2037,
478,
773,
3659,
1057,
9290,
13,
326,
2037,
501,
773,
3659,
1057,
9290,
13,
326,
2037,
1060,
773,
3659,
1057,
9290,
13,
13,
13,
29883,
353,
315,
580,
13,
29995,
29879,
13,
13,
29884,
353,
501,
580,
13,
29916,
353,
1060,
580,
13,
29884,
29889,
29894,
353,
478,
29898,
29876,
353,
29871,
29946,
29906,
29892,
474,
353,
274,
29889,
29875,
29897,
13,
29916,
29889,
29876,
353,
318,
29889,
29894,
29889,
29876,
13,
13,
29995,
29879,
13,
4706,
9995,
13,
4706,
1273,
313,
13,
9651,
9995,
13,
29883,
29889,
29875,
353,
21759,
29889,
29875,
13,
617,
353,
315,
29898,
29875,
353,
274,
29889,
29875,
29897,
13,
9651,
9995,
13,
9651,
565,
5352,
29918,
1686,
2561,
663,
13,
9651,
1683,
12633,
13,
9651,
9995,
13,
29883,
29889,
29875,
353,
474,
13,
29875,
353,
274,
29889,
29875,
13,
9651,
9995,
13,
9651,
565,
2286,
29918,
1686,
2561,
663,
13,
9651,
1683,
12633,
13,
4706,
10353,
13,
4706,
14974,
2451,
29892,
13,
1678,
1723,
13,
1678,
3983,
29901,
3630,
1731,
9527,
353,
848,
1731,
29918,
1688,
29918,
20907,
29889,
657,
29918,
4262,
580,
13,
13,
1678,
921,
29918,
29876,
29901,
23833,
4247,
353,
679,
29918,
12715,
29918,
3177,
29898,
4262,
29892,
376,
29916,
29889,
29876,
1159,
13,
1678,
274,
29918,
29875,
29901,
23833,
4247,
353,
679,
29918,
12715,
29918,
3177,
29898,
4262,
29892,
376,
29883,
29889,
29875,
1159,
13,
1678,
318,
29918,
29894,
29901,
23833,
4247,
353,
679,
29918,
12715,
29918,
3177,
29898,
4262,
29892,
376,
29884,
29889,
29894,
1159,
13,
13,
1678,
8393,
29901,
2391,
29961,
6708,
4247,
29962,
353,
518,
29916,
29918,
29876,
29892,
274,
29918,
29875,
29892,
318,
29918,
29894,
29962,
13,
1678,
3876,
29918,
1113,
6394,
29901,
3789,
29961,
6708,
4247,
29962,
353,
426,
29883,
29918,
29875,
29913,
13,
13,
1678,
565,
5352,
29918,
1686,
2561,
663,
29901,
13,
4706,
21759,
29918,
29875,
29901,
23833,
4247,
353,
679,
29918,
12715,
29918,
3177,
29898,
4262,
29892,
376,
617,
29889,
29875,
1159,
13,
4706,
8393,
29889,
4397,
29898,
617,
29918,
29875,
29897,
13,
4706,
3876,
29918,
1113,
6394,
29889,
1202,
29898,
617,
29918,
29875,
29897,
13,
13,
1678,
4974,
853,
842,
10303,
29907,
1071,
2744,
14997,
3298,
29898,
15697,
467,
4632,
29918,
1113,
6394,
580,
1275,
3876,
29918,
1113,
6394,
13,
13,
13,
1753,
1243,
29918,
8798,
506,
29918,
4299,
29918,
29874,
29898,
1272,
1731,
29918,
1688,
29918,
20907,
29901,
3630,
1731,
3057,
10739,
1125,
13,
1678,
848,
1731,
29918,
1688,
29918,
20907,
29889,
12198,
29898,
13,
4706,
9995,
13,
10041,
319,
29901,
13,
1678,
1353,
302,
13,
355,
13,
13,
326,
2037,
319,
773,
3659,
1057,
9290,
13,
13,
13,
29916,
353,
319,
580,
13,
29891,
353,
319,
580,
13,
29920,
353,
319,
580,
13,
13,
13,
29916,
29889,
29876,
353,
343,
29889,
29876,
13,
29891,
29889,
29876,
353,
921,
29889,
29876,
13,
29916,
29889,
29876,
353,
503,
29889,
29876,
13,
15945,
613,
13,
4706,
14974,
2451,
29892,
13,
1678,
1723,
13,
13,
1678,
3983,
29901,
3630,
1731,
9527,
353,
848,
1731,
29918,
1688,
29918,
20907,
29889,
657,
29918,
4262,
580,
13,
13,
1678,
921,
29918,
29876,
29901,
23833,
4247,
353,
679,
29918,
12715,
29918,
3177,
29898,
4262,
29892,
376,
29916,
29889,
29876,
1159,
13,
1678,
343,
29918,
29876,
29901,
23833,
4247,
353,
679,
29918,
12715,
29918,
3177,
29898,
4262,
29892,
376,
29891,
29889,
29876,
1159,
13,
1678,
503,
29918,
29876,
29901,
23833,
4247,
353,
679,
29918,
12715,
29918,
3177,
29898,
4262,
29892,
376,
29920,
29889,
29876,
1159,
13,
13,
1678,
8393,
29901,
2391,
29961,
6708,
4247,
29962,
353,
518,
29916,
29918,
29876,
29892,
343,
29918,
29876,
29892,
503,
29918,
29876,
29962,
13,
1678,
3876,
29918,
1113,
6394,
29901,
3789,
29961,
6708,
4247,
29962,
353,
426,
29920,
29918,
29876,
29913,
13,
13,
1678,
4974,
853,
842,
10303,
29907,
1071,
2744,
14997,
3298,
29898,
15697,
467,
4632,
29918,
1113,
6394,
580,
1275,
3876,
29918,
1113,
6394,
13,
13,
13,
1753,
1243,
29918,
8798,
506,
29918,
4299,
29918,
29890,
29898,
1272,
1731,
29918,
1688,
29918,
20907,
29901,
3630,
1731,
3057,
10739,
1125,
13,
1678,
9995,
13,
13,
1678,
910,
1904,
756,
385,
24796,
393,
13,
268,
29896,
29889,
338,
304,
367,
17262,
408,
263,
3876,
13,
268,
29906,
29889,
4556,
1023,
2712,
313,
5747,
1286,
4953,
16778,
29897,
13,
13,
1678,
9995,
13,
1678,
848,
1731,
29918,
1688,
29918,
20907,
29889,
12198,
29898,
13,
4706,
9995,
13,
10041,
319,
29901,
13,
1678,
1353,
302,
13,
355,
13,
13,
326,
2037,
319,
773,
3659,
1057,
9290,
13,
13,
13,
29916,
353,
319,
580,
13,
29891,
353,
319,
580,
13,
13,
13,
29891,
29889,
29876,
353,
302,
13,
29916,
29889,
29876,
353,
302,
13,
13,
13,
29876,
353,
286,
13,
29885,
353,
302,
13,
15945,
613,
13,
4706,
14974,
2451,
29892,
13,
1678,
1723,
13,
13,
1678,
3983,
29901,
3630,
1731,
9527,
353,
848,
1731,
29918,
1688,
29918,
20907,
29889,
657,
29918,
4262,
580,
13,
13,
1678,
921,
29918,
29876,
29901,
23833,
4247,
353,
679,
29918,
12715,
29918,
3177,
29898,
4262,
29892,
376,
29916,
29889,
29876,
1159,
13,
1678,
343,
29918,
29876,
29901,
23833,
4247,
353,
679,
29918,
12715,
29918,
3177,
29898,
4262,
29892,
376,
29891,
29889,
29876,
1159,
13,
13,
1678,
8393,
29901,
2391,
29961,
6708,
4247,
29962,
353,
518,
29916,
29918,
29876,
29892,
343,
29918,
29876,
29962,
13,
1678,
3876,
29918,
1113,
6394,
29901,
3789,
29961,
6708,
4247,
29962,
353,
426,
29916,
29918,
29876,
29892,
343,
29918,
29876,
29913,
13,
13,
1678,
4974,
853,
842,
10303,
29907,
1071,
2744,
14997,
3298,
29898,
15697,
467,
4632,
29918,
1113,
6394,
580,
1275,
3876,
29918,
1113,
6394,
13,
2
] |
Python/05 - Math/Triangle Quest 2.py | sohammanjrekar/HackerRank | 0 | 84707 | """
Problem:https://www.hackerrank.com/challenges/triangle-quest-2/problem
Author: <NAME>
"""
for i in range(1, int(input()) + 1):
print(((10 ** i) // 9) ** 2)
| [
1,
9995,
30004,
13,
26604,
29901,
991,
597,
1636,
29889,
29882,
28940,
10003,
29889,
510,
29914,
305,
16047,
267,
29914,
26701,
29899,
1119,
29899,
29906,
29914,
17199,
30004,
13,
30004,
13,
13720,
29901,
529,
5813,
3238,
13,
15945,
19451,
13,
1454,
474,
297,
3464,
29898,
29896,
29892,
938,
29898,
2080,
3101,
718,
29871,
29896,
1125,
30004,
13,
1678,
1596,
3552,
29898,
29896,
29900,
3579,
474,
29897,
849,
29871,
29929,
29897,
3579,
29871,
29906,
8443,
13,
2
] |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.