blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 616 | content_id stringlengths 40 40 | detected_licenses listlengths 0 112 | license_type stringclasses 2 values | repo_name stringlengths 5 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 777 values | visit_date timestamp[us]date 2015-08-06 10:31:46 2023-09-06 10:44:38 | revision_date timestamp[us]date 1970-01-01 02:38:32 2037-05-03 13:00:00 | committer_date timestamp[us]date 1970-01-01 02:38:32 2023-09-06 01:08:06 | github_id int64 4.92k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22 values | gha_event_created_at timestamp[us]date 2012-06-04 01:52:49 2023-09-14 21:59:50 ⌀ | gha_created_at timestamp[us]date 2008-05-22 07:58:19 2023-08-21 12:35:19 ⌀ | gha_language stringclasses 149 values | src_encoding stringclasses 26 values | language stringclasses 1 value | is_vendor bool 2 classes | is_generated bool 2 classes | length_bytes int64 3 10.2M | extension stringclasses 188 values | content stringlengths 3 10.2M | authors listlengths 1 1 | author_id stringlengths 1 132 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f32746191c1cdb68cba6ceff436e1725c23ccd61 | 09021accfc6241a7eb3b17821394881518e78c84 | /backend/settings/development.py | 7e4853ea4e2f7e29e445273125de5c9c0e65fec0 | [] | no_license | mrporsh/ecommerce-core | c37ec314b7fe2a79524ed110a014b148be1edcf1 | 20de529dad2d52df20a75956d1be1d23cfa241af | refs/heads/master | 2022-11-08T02:08:05.358421 | 2020-06-15T08:18:56 | 2020-06-15T08:18:56 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,016 | py | from backend.settings.base import *
SECRET_KEY = '6h03)d($%+c4r#p65#ctnk3*u21^v@q+*e^ue0+llrq%zv(94z'
DEBUG = True
ALLOWED_HOSTS = ["*", ]
# Database
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
}
}
# django-cors-headers
CORS_ORIGIN_ALLOW_ALL = True
# REST_FRAMEWORK
REST_FRAMEWORK = {
'DEFAULT_AUTHENTICATION_CLASSES':
('knox.auth.TokenAuthentication',),
'DEFAULT_PERMISSION_CLASSES': [
'rest_framework.permissions.AllowAny'
]
}
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/3.0/howto/static-files/
STATIC_URL = '/static/'
# Africa's talking
AFRICASTALKING_USERNAME = os.environ.setdefault('AFRICASTALKING_USERNAME', 'sandbox')
AFRICASTALKING_API_KEY = os.environ['AFRICASTALKING_API_KEY']
AFRICASTALKING_PAYMENT_PROD_NAME = os.environ['AFRICASTALKING_PAYMENT_PROD_NAME']
AFRICASTALKING_CURRENCY = os.environ.setdefault('AFRICASTALKING_USERNAME', 'KES')
| [
"onteripaul@gmail.com"
] | onteripaul@gmail.com |
d24c822be4efd0de82f39e9ae11c2a6453533063 | 53fab060fa262e5d5026e0807d93c75fb81e67b9 | /backup/user_006/ch83_2020_04_13_17_27_42_530852.py | 8bd9a1e46cf9d29bc7a0f99413f2f1b5c8b8d247 | [] | no_license | gabriellaec/desoft-analise-exercicios | b77c6999424c5ce7e44086a12589a0ad43d6adca | 01940ab0897aa6005764fc220b900e4d6161d36b | refs/heads/main | 2023-01-31T17:19:42.050628 | 2020-12-16T05:21:31 | 2020-12-16T05:21:31 | 306,735,108 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 284 | py | def medias_por_inicial(dicio):
dicio2={}
listaL=[]
a=1
for i in dicio:
if i[0] not in listaL:
listaL.append(i[0])
dicio2[i[0]]=dicio[i]
else:
a=a+1
dicio2[i[0]]=(dicio2[i[0]]+dicio[i])/a
return dicio2 | [
"you@example.com"
] | you@example.com |
2d5e425ebcdd855dda89d0709c5e580068264bb4 | 99deab5f52fd7262a26de9aa5d0163bfa738590f | /python/leetcode/string/468_valid_ip_address.py | d2bed0cf860f5b1cad696de3bf10c6009a3861a1 | [] | no_license | zchen0211/topcoder | e47fc07c928b83138e27fd6681b373ce499480b0 | 4d73e4c1f2017828ff2d36058819988146356abe | refs/heads/master | 2022-01-17T16:54:35.871026 | 2019-05-08T19:26:23 | 2019-05-13T05:19:46 | 84,052,683 | 0 | 2 | null | null | null | null | UTF-8 | Python | false | false | 3,186 | py | """
468. Validate IP Address (Medium)
Write a function to check whether an input string is a valid IPv4 address or IPv6 address or neither.
IPv4 addresses are canonically represented in dot-decimal notation, which consists of four decimal numbers, each ranging from 0 to 255, separated by dots ("."), e.g.,172.16.254.1;
Besides, leading zeros in the IPv4 is invalid. For example, the address 172.16.254.01 is invalid.
IPv6 addresses are represented as eight groups of four hexadecimal digits, each group representing 16 bits. The groups are separated by colons (":"). For example, the address 2001:0db8:85a3:0000:0000:8a2e:0370:7334 is a valid one. Also, we could omit some leading zeros among four hexadecimal digits and some low-case characters in the address to upper-case ones, so 2001:db8:85a3:0:0:8A2E:0370:7334 is also a valid IPv6 address(Omit leading zeros and using upper cases).
However, we don't replace a consecutive group of zero value with a single empty group using two consecutive colons (::) to pursue simplicity. For example, 2001:0db8:85a3::8A2E:0370:7334 is an invalid IPv6 address.
Besides, extra leading zeros in the IPv6 is also invalid. For example, the address 02001:0db8:85a3:0000:0000:8a2e:0370:7334 is invalid.
Note: You may assume there is no extra space or special characters in the input string.
Example 1:
Input: "172.16.254.1"
Output: "IPv4"
Explanation: This is a valid IPv4 address, return "IPv4".
Example 2:
Input: "2001:0db8:85a3:0:0:8A2E:0370:7334"
Output: "IPv6"
Explanation: This is a valid IPv6 address, return "IPv6".
Example 3:
Input: "256.256.256.256"
Output: "Neither"
Explanation: This is neither a IPv4 address nor a IPv6 address.
"""
"""
check ipv4 and ipv6 separately:
IPv4:
4 numbers separated by "."
each number between 0, 255
no beginning zeros
check "-0"
IPv6:
8 hex numbers separated by ":"
each digit between 0, .., 9, a, .., f
"""
class Solution(object):
def validIPAddress(self, IP):
"""
:type IP: str
:rtype: str
"""
if self.is_ipv4(IP): return "IPv4"
if self.is_ipv6(IP): return "IPv6"
return 'Neither'
def is_ipv4(self, s):
slist = s.split('.')
if len(slist) != 4: return False
for item in slist:
if not item: return False
if item[0] == '0' and len(item)>1: return False
if item[0] == '-': return False
try:
x = int(item)
if x<0 or x>255: return False
except ValueError:
return False
return True
def is_ipv6(self, s):
slist = s.split(':')
if len(slist) != 8: return False
for item in slist:
if len(item)==0 or len(item)>=5: return False
item = item.lower()
for c in item:
if c not in set(['0','1','2','3','4','5','6','7','8','9','a','b','c','d','e','f']):
return False
return True
if __name__ == '__main__':
a = Solution()
print a.validIPAddress('172.16.254.1')
print a.validIPAddress('192.0.0.1')
print a.validIPAddress('172.16.254.01')
print a.validIPAddress('2001:0db8:85a3:0000:0000:8a2e:0370:7334')
print a.validIPAddress('2001:db8:85a3:0:0:8A2E:0370:7334')
print a.validIPAddress('2001:0db8:85a3::8A2E:0370:7334')
| [
"chenzhuoyuan07@gmail.com"
] | chenzhuoyuan07@gmail.com |
00bc2dabdcd7e010bc2735303ed4cc9a35ed7325 | 776fa03e088c148578c5fe4b361734d1b5517249 | /comments/signals.py | c1ff8c39e82d81fdff911228614f931b6a3f1618 | [] | no_license | zhexuejia53/book_share_demo | de8b8801bf9af757f19e280cbf0d98d4ea80bfa7 | 7c810b06bc1f810650e471fd8bbe902c657c048b | refs/heads/master | 2020-04-06T14:40:03.226213 | 2018-11-14T14:17:47 | 2018-11-14T14:17:47 | 157,549,811 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 429 | py | # encoding: utf-8
"""
@author: Sunmouren
@contact: sunxuechao1024@gmail.com
@time: 2018/9/29 16:58
@desc: data change signals
"""
from django.db.models.signals import m2m_changed
from django.dispatch import receiver
from .models import Comment
@receiver(m2m_changed, sender=Comment.like_user.through)
def like_user_changed(sender, instance, **kwargs):
instance.like_number = instance.like_user.count()
instance.save() | [
"sunxuechao1024@gmail.com"
] | sunxuechao1024@gmail.com |
bf63be0f63eb2aec45ffda446384b490c422dca9 | b129b450cf5edce677f284858a1ab14c003edca6 | /project/chapter6/user.py | e2fbbd4ec01ad4e9adca8fee5e79f4ce95fe0312 | [] | no_license | mentalclear/PythonCrashCourse | 7ab5a7691cd6ece83043ded2b91049723945b6e0 | 11d96ed6c7e36d254158ee49586ee40aa09493a1 | refs/heads/master | 2023-07-18T17:24:49.046848 | 2021-08-16T14:05:08 | 2021-08-16T14:05:08 | 233,722,723 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,476 | py | user_0 = {
'username': 'efermi',
'first': 'enrico',
'last': 'fermi',
}
for key, value in user_0.items():
print("\nKey: " + key)
print("Value: " + value)
# Fav languages sample too
favorite_languages = {
'jen': 'python',
'sarah': 'c',
'edward': 'ruby',
'phil': 'python',
}
for name, language in favorite_languages.items():
print(name.title() + "'s favorite language is " +
language.title() + ".")
print("\n")
for name in favorite_languages: # same as favorite_languages.keys()
print(name.title())
print("\n")
friends = ['phil', 'sarah']
for name in favorite_languages.keys():
print(name.title())
if name in friends:
print(" Hi " + name.title() +
", I see your favorite language is " +
favorite_languages[name].title() + "!")
if 'erin' not in favorite_languages.keys():
print("Erin, please take our poll!")
print("\n")
# Printing it out sorted
for name in sorted(favorite_languages.keys()):
print(name.title() + ", thank you for taking the poll.")
# Printing values
print("\nThe following languages have been mentioned:")
for language in favorite_languages.values():
print(language.title())
# This approach pulls all the values from the dictionary without checking
# for repeats.
# to exclude duplications:
print("\nExcluding duplications: ")
for language in set(favorite_languages.values()):
print(language.title())
# Only unique items will be printed out
| [
"mentalclear@gmail.com"
] | mentalclear@gmail.com |
a991f2bbc4f316c01fa0ef216d76f54796d6cf5f | a59d55ecf9054d0750168d3ca9cc62a0f2b28b95 | /.install/.backup/lib/googlecloudsdk/gcloud/sdktools/auth/revoke.py | 563c17681dffdf72d8b48e802ca6e428a1e526f5 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | bopopescu/google-cloud-sdk | bb2746ff020c87271398196f21a646d9d8689348 | b34e6a18f1e89673508166acce816111c3421e4b | refs/heads/master | 2022-11-26T07:33:32.877033 | 2014-06-29T20:43:23 | 2014-06-29T20:43:23 | 282,306,367 | 0 | 0 | NOASSERTION | 2020-07-24T20:04:47 | 2020-07-24T20:04:46 | null | UTF-8 | Python | false | false | 1,945 | py | # Copyright 2013 Google Inc. All Rights Reserved.
"""Revoke credentials being used by the CloudSDK.
"""
from googlecloudsdk.calliope import base
from googlecloudsdk.calliope import exceptions as c_exc
from googlecloudsdk.core import log
from googlecloudsdk.core import properties
from googlecloudsdk.core.credentials import store as c_store
class Revoke(base.Command):
"""Revoke authorization for credentials.
Revoke credentials. If no account is provided, the currently active account is
used.
"""
@staticmethod
def Args(parser):
parser.add_argument('accounts', nargs='*',
help='Accounts whose credentials shall be revoked.')
parser.add_argument('--all', action='store_true',
help='Revoke all known credentials.')
@c_exc.RaiseToolExceptionInsteadOf(c_store.Error)
def Run(self, args):
"""Revoke credentials and update active account."""
accounts = args.accounts or []
if type(accounts) is str:
accounts = [accounts]
available_accounts = c_store.AvailableAccounts()
unknown_accounts = set(accounts) - set(available_accounts)
if unknown_accounts:
raise c_exc.UnknownArgumentException(
'accounts', ' '.join(unknown_accounts))
if args.all:
accounts = available_accounts
active_account = properties.VALUES.core.account.Get()
if not accounts and active_account:
accounts = [active_account]
if not accounts:
raise c_exc.InvalidArgumentException(
'accounts', 'No credentials available to revoke.')
for account in accounts:
if active_account == account:
properties.PersistProperty(properties.VALUES.core.account, None)
c_store.Revoke(account)
return accounts
def Display(self, unused_args, result):
if result:
log.Print('Revoked credentials for {account}.'.format(
account=', '.join(result)))
self.entry_point.auth.list()
| [
"alfred.wechselberger@technologyhatchery.com"
] | alfred.wechselberger@technologyhatchery.com |
0bd5fa45d9a802e9ef2aad12ba344f7a145ca37c | f6688132ec14a9d03c8bb05e85819f810fd3e4e6 | /tfold/nets/nets_factory.py | 2f93c133b7f6deb9c1be5c4a6d13a25aadb0c6aa | [
"Apache-2.0"
] | permissive | mariusionescu/tfold | 44515b9eba027a8d4a9265e6f7299dc08294dc42 | b6a9913d29a62326bfc3086fa14ed317d1e02a0a | refs/heads/master | 2020-04-08T19:59:39.676558 | 2018-12-05T19:47:57 | 2018-12-05T19:47:57 | 159,679,441 | 0 | 0 | Apache-2.0 | 2018-11-29T14:33:13 | 2018-11-29T14:33:12 | null | UTF-8 | Python | false | false | 7,298 | py | # 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.
# ==============================================================================
"""Contains a factory for building various models."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import functools
import tensorflow as tf
from nets import alexnet
from nets import cifarnet
from nets import inception
from nets import lenet
from nets import mobilenet_v1
from nets import overfeat
from nets import resnet_v1
from nets import resnet_v2
from nets import vgg
from nets.mobilenet import mobilenet_v2
from nets.nasnet import nasnet
from nets.nasnet import pnasnet
slim = tf.contrib.slim
networks_map = {'alexnet_v2': alexnet.alexnet_v2,
'cifarnet': cifarnet.cifarnet,
'overfeat': overfeat.overfeat,
'vgg_a': vgg.vgg_a,
'vgg_16': vgg.vgg_16,
'vgg_19': vgg.vgg_19,
'inception_v1': inception.inception_v1,
'inception_v2': inception.inception_v2,
'inception_v3': inception.inception_v3,
'inception_v4': inception.inception_v4,
'inception_resnet_v2': inception.inception_resnet_v2,
'lenet': lenet.lenet,
'resnet_v1_50': resnet_v1.resnet_v1_50,
'resnet_v1_101': resnet_v1.resnet_v1_101,
'resnet_v1_152': resnet_v1.resnet_v1_152,
'resnet_v1_200': resnet_v1.resnet_v1_200,
'resnet_v2_50': resnet_v2.resnet_v2_50,
'resnet_v2_101': resnet_v2.resnet_v2_101,
'resnet_v2_152': resnet_v2.resnet_v2_152,
'resnet_v2_200': resnet_v2.resnet_v2_200,
'mobilenet_v1': mobilenet_v1.mobilenet_v1,
'mobilenet_v1_075': mobilenet_v1.mobilenet_v1_075,
'mobilenet_v1_050': mobilenet_v1.mobilenet_v1_050,
'mobilenet_v1_025': mobilenet_v1.mobilenet_v1_025,
'mobilenet_v2': mobilenet_v2.mobilenet,
'mobilenet_v2_140': mobilenet_v2.mobilenet_v2_140,
'mobilenet_v2_035': mobilenet_v2.mobilenet_v2_035,
'nasnet_cifar': nasnet.build_nasnet_cifar,
'nasnet_mobile': nasnet.build_nasnet_mobile,
'nasnet_large': nasnet.build_nasnet_large,
'pnasnet_large': pnasnet.build_pnasnet_large,
'pnasnet_mobile': pnasnet.build_pnasnet_mobile,
}
arg_scopes_map = {'alexnet_v2': alexnet.alexnet_v2_arg_scope,
'cifarnet': cifarnet.cifarnet_arg_scope,
'overfeat': overfeat.overfeat_arg_scope,
'vgg_a': vgg.vgg_arg_scope,
'vgg_16': vgg.vgg_arg_scope,
'vgg_19': vgg.vgg_arg_scope,
'inception_v1': inception.inception_v3_arg_scope,
'inception_v2': inception.inception_v3_arg_scope,
'inception_v3': inception.inception_v3_arg_scope,
'inception_v4': inception.inception_v4_arg_scope,
'inception_resnet_v2':
inception.inception_resnet_v2_arg_scope,
'lenet': lenet.lenet_arg_scope,
'resnet_v1_50': resnet_v1.resnet_arg_scope,
'resnet_v1_101': resnet_v1.resnet_arg_scope,
'resnet_v1_152': resnet_v1.resnet_arg_scope,
'resnet_v1_200': resnet_v1.resnet_arg_scope,
'resnet_v2_50': resnet_v2.resnet_arg_scope,
'resnet_v2_101': resnet_v2.resnet_arg_scope,
'resnet_v2_152': resnet_v2.resnet_arg_scope,
'resnet_v2_200': resnet_v2.resnet_arg_scope,
'mobilenet_v1': mobilenet_v1.mobilenet_v1_arg_scope,
'mobilenet_v1_075': mobilenet_v1.mobilenet_v1_arg_scope,
'mobilenet_v1_050': mobilenet_v1.mobilenet_v1_arg_scope,
'mobilenet_v1_025': mobilenet_v1.mobilenet_v1_arg_scope,
'mobilenet_v2': mobilenet_v2.training_scope,
'mobilenet_v2_035': mobilenet_v2.training_scope,
'mobilenet_v2_140': mobilenet_v2.training_scope,
'nasnet_cifar': nasnet.nasnet_cifar_arg_scope,
'nasnet_mobile': nasnet.nasnet_mobile_arg_scope,
'nasnet_large': nasnet.nasnet_large_arg_scope,
'pnasnet_large': pnasnet.pnasnet_large_arg_scope,
'pnasnet_mobile': pnasnet.pnasnet_mobile_arg_scope,
}
def get_network_fn(name, num_classes, weight_decay=0.0, is_training=False):
"""Returns a network_fn such as `logits, end_points = network_fn(images)`.
Args:
name: The name of the network.
num_classes: The number of classes to use for classification. If 0 or None,
the logits layer is omitted and its input features are returned instead.
weight_decay: The l2 coefficient for the model weights.
is_training: `True` if the model is being used for training and `False`
otherwise.
Returns:
network_fn: A function that applies the model to a batch of images. It has
the following signature:
net, end_points = network_fn(images)
The `images` input is a tensor of shape [batch_size, height, width, 3]
with height = width = network_fn.default_image_size. (The permissibility
and treatment of other sizes depends on the network_fn.)
The returned `end_points` are a dictionary of intermediate activations.
The returned `net` is the topmost layer, depending on `num_classes`:
If `num_classes` was a non-zero integer, `net` is a logits tensor
of shape [batch_size, num_classes].
If `num_classes` was 0 or `None`, `net` is a tensor with the input
to the logits layer of shape [batch_size, 1, 1, num_features] or
[batch_size, num_features]. Dropout has not been applied to this
(even if the network's original classification does); it remains for
the caller to do this or not.
Raises:
ValueError: If network `name` is not recognized.
"""
if name not in networks_map:
raise ValueError('Name of network unknown %s' % name)
func = networks_map[name]
@functools.wraps(func)
def network_fn(images, **kwargs):
arg_scope = arg_scopes_map[name](weight_decay=weight_decay)
with slim.arg_scope(arg_scope):
return func(images, num_classes, is_training=is_training, **kwargs)
if hasattr(func, 'default_image_size'):
network_fn.default_image_size = func.default_image_size
return network_fn
| [
"marius@mi.www.ro"
] | marius@mi.www.ro |
022ecb8993edbe27c3273a1472d037923525e9ec | ff8aa03818c31db7dea740d65b79f5517385ec79 | /lib/flows/general/checks_test.py | b19f9ae9dbc87be3b99214a1b50e989da81dbd48 | [
"DOC",
"Apache-2.0"
] | permissive | pchaigno/grr | cdaf4db3289cf80359441fef5be39bbf0729d3ac | 69c81624c281216a45c4bb88a9d4e4b0613a3556 | refs/heads/master | 2021-01-21T08:24:45.699745 | 2015-08-03T17:01:30 | 2015-08-03T17:01:30 | 25,120,177 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,783 | py | #!/usr/bin/env python
"""Test the collector flows."""
import os
from grr.client import vfs
from grr.lib import action_mocks
from grr.lib import aff4
from grr.lib import config_lib
from grr.lib import flags
from grr.lib import flow
from grr.lib import test_lib
from grr.lib.checks import checks
from grr.lib.checks import checks_test_lib
# pylint: disable=unused-import
from grr.lib.flows.general import checks as _
# pylint: enable=unused-import
from grr.lib.rdfvalues import client as rdf_client
from grr.lib.rdfvalues import paths as rdf_paths
# pylint: mode=test
class TestCheckFlows(test_lib.FlowTestsBaseclass,
checks_test_lib.HostCheckTest):
checks_loaded = False
def setUp(self, **kwargs):
super(TestCheckFlows, self).setUp(**kwargs)
# Only load the checks once.
if self.checks_loaded is False:
self.checks_loaded = self.LoadChecks()
if not self.checks_loaded:
raise RuntimeError("No checks to test.")
test_lib.ClientFixture(self.client_id, token=self.token)
vfs.VFS_HANDLERS[
rdf_paths.PathSpec.PathType.OS] = test_lib.FakeTestDataVFSHandler
self.client_mock = action_mocks.ActionMock("TransferBuffer", "StatFile",
"Find", "HashBuffer",
"ListDirectory", "HashFile",
"FingerprintFile")
def SetLinuxKB(self):
client = aff4.FACTORY.Open(self.client_id, token=self.token, mode="rw")
kb = client.Schema.KNOWLEDGE_BASE()
kb.os = "Linux"
user = rdf_client.KnowledgeBaseUser(username="user1", homedir="/home/user1")
kb.users = [user]
client.Set(client.Schema.KNOWLEDGE_BASE, kb)
client.Set(client.Schema.SYSTEM("Linux"))
client.Set(client.Schema.OS_VERSION("12.04"))
client.Flush()
def SetWindowsKB(self):
client = aff4.FACTORY.Open(self.client_id, token=self.token, mode="rw")
kb = client.Schema.KNOWLEDGE_BASE()
kb.os = "Windows"
client.Set(client.Schema.KNOWLEDGE_BASE, kb)
client.Set(client.Schema.SYSTEM("Windows"))
client.Set(client.Schema.OS_VERSION("6.2"))
client.Flush()
def RunFlow(self):
session_id = None
with test_lib.Instrument(flow.GRRFlow, "SendReply") as send_reply:
for session_id in test_lib.TestFlowHelper(
"CheckRunner", client_mock=self.client_mock, client_id=self.client_id,
token=self.token):
pass
session = aff4.FACTORY.Open(session_id, token=self.token)
results = {r.check_id: r for _, r in send_reply.args if isinstance(
r, checks.CheckResult)}
return session, results
def LoadChecks(self):
"""Load the checks, returning the names of the checks that were loaded."""
config_lib.CONFIG.Set("Checks.max_results", 5)
checks.CheckRegistry.Clear()
check_configs = ("sshd.yaml", "sw.yaml", "unix_login.yaml")
cfg_dir = os.path.join(config_lib.CONFIG["Test.data_dir"], "checks")
chk_files = [os.path.join(cfg_dir, f) for f in check_configs]
checks.LoadChecksFromFiles(chk_files)
return checks.CheckRegistry.checks.keys()
def testSelectArtifactsForChecks(self):
self.SetLinuxKB()
session, _ = self.RunFlow()
self.assertTrue("DebianPackagesStatus" in session.state.artifacts_wanted)
self.assertTrue("SshdConfigFile" in session.state.artifacts_wanted)
self.SetWindowsKB()
session, _ = self.RunFlow()
self.assertTrue("WMIInstalledSoftware" in session.state.artifacts_wanted)
def testCheckFlowSelectsChecks(self):
"""Confirm the flow runs checks for a target machine."""
self.SetLinuxKB()
_, results = self.RunFlow()
expected = ["SHADOW-HASH", "SSHD-CHECK", "SSHD-PERMS", "SW-CHECK"]
self.assertRanChecks(expected, results)
def testChecksProcessResultContext(self):
"""Test the flow returns parser results."""
self.SetLinuxKB()
_, results = self.RunFlow()
# Detected by result_context: PARSER
exp = "Found: Sshd allows protocol 1."
self.assertCheckDetectedAnom("SSHD-CHECK", results, exp)
# Detected by result_context: RAW
exp = "Found: The filesystem supports stat."
found = ["/etc/ssh/sshd_config"]
self.assertCheckDetectedAnom("SSHD-PERMS", results, exp, found)
# Detected by result_context: ANOMALY
exp = "Found: Unix system account anomalies."
found = ["Accounts with invalid gid.",
"Mismatched passwd and shadow files."]
self.assertCheckDetectedAnom("ODD-PASSWD", results, exp, found)
# No findings.
self.assertCheckUndetected("SHADOW-HASH", results)
self.assertCheckUndetected("SW-CHECK", results)
def main(argv):
# Run the full test suite
test_lib.GrrTestProgram(argv=argv)
if __name__ == "__main__":
flags.StartMain(main)
| [
"github@mailgreg.com"
] | github@mailgreg.com |
e3bd418f73a95ee66b1b3560cdfc93ce323bfebc | bc9f66258575dd5c8f36f5ad3d9dfdcb3670897d | /lib/surface/deploy/delivery_pipelines/describe.py | 627fd4b62b1af7f91ba485c9069aa7c4c39558ac | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | google-cloud-sdk-unofficial/google-cloud-sdk | 05fbb473d629195f25887fc5bfaa712f2cbc0a24 | 392abf004b16203030e6efd2f0af24db7c8d669e | refs/heads/master | 2023-08-31T05:40:41.317697 | 2023-08-23T18:23:16 | 2023-08-23T18:23:16 | 335,182,594 | 9 | 2 | NOASSERTION | 2022-10-29T20:49:13 | 2021-02-02T05:47:30 | Python | UTF-8 | Python | false | false | 3,850 | py | # -*- coding: utf-8 -*- #
# Copyright 2021 Google LLC. 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.
"""Describes a Gcloud Deploy delivery pipeline resource."""
from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals
from apitools.base.py import exceptions as apitools_exceptions
from googlecloudsdk.api_lib.clouddeploy import delivery_pipeline
from googlecloudsdk.calliope import base
from googlecloudsdk.calliope import exceptions
from googlecloudsdk.command_lib.deploy import describe
from googlecloudsdk.command_lib.deploy import resource_args
from googlecloudsdk.command_lib.deploy import target_util
from googlecloudsdk.core import log
_DETAILED_HELP = {
'DESCRIPTION':
'{description}',
'EXAMPLES':
""" \
To describe a delivery pipeline called 'test-pipeline' in region 'us-central1', run:
$ {command} test-pipeline --region=us-central1
""",
}
def _CommonArgs(parser):
"""Register flags for this command.
Args:
parser: An argparse.ArgumentParser-like object. It is mocked out in order to
capture some information, but behaves like an ArgumentParser.
"""
resource_args.AddDeliveryPipelineResourceArg(parser, positional=True)
@base.ReleaseTracks(base.ReleaseTrack.ALPHA, base.ReleaseTrack.BETA,
base.ReleaseTrack.GA)
class Describe(base.DescribeCommand):
"""Describes details specific to the individual target, delivery pipeline qualified.
The output contains the following sections:
Delivery Pipeline:
- detail of the delivery pipeline to be described.
Targets:
- target name.
- active release in the target.
- timestamp of the last successful deployment.
- list of the rollouts that require approval.
"""
detailed_help = _DETAILED_HELP
@staticmethod
def Args(parser):
_CommonArgs(parser)
def Run(self, args):
"""This is what gets called when the user runs this command."""
pipeline_ref = args.CONCEPTS.delivery_pipeline.Parse()
# Check if the pipeline exists.
try:
pipeline = delivery_pipeline.DeliveryPipelinesClient().Get(
pipeline_ref.RelativeName())
except apitools_exceptions.HttpError as error:
raise exceptions.HttpException(error)
output = {'Delivery Pipeline': pipeline}
region = pipeline_ref.AsDict()['locationsId']
targets = []
# output the deployment status of the targets in the pipeline.
for stage in pipeline.serialPipeline.stages:
target_ref = target_util.TargetReference(
stage.targetId,
pipeline_ref.AsDict()['projectsId'], region)
try:
target_obj = target_util.GetTarget(target_ref)
except apitools_exceptions.HttpError as error:
log.debug('Failed to get target {}: {}'.format(stage.targetId, error))
log.status.Print('Unable to get target {}'.format(stage.targetId))
continue
detail = {'Target': target_ref.RelativeName()}
current_rollout = target_util.GetCurrentRollout(target_ref, pipeline_ref)
detail = describe.SetCurrentReleaseAndRollout(current_rollout, detail)
if target_obj.requireApproval:
detail = describe.ListPendingApprovals(target_ref, pipeline_ref, detail)
targets.append(detail)
output['Targets'] = targets
return output
| [
"cloudsdk.mirror@gmail.com"
] | cloudsdk.mirror@gmail.com |
99ede0972e7ffe258fd362c118aec60acac4a6b8 | 1034ae0e71c91b5258364e216ed724cfeed563f8 | /benchbuild/projects/benchbuild/python.py | 1a76ea30ae3b86d66b5514c305b6b900485ec4b2 | [
"MIT"
] | permissive | PolyJIT/benchbuild.projects | 4367b27f8380fc036ac8bc1ec5a767f29fdf18d6 | 878e2906aff2ae13abdd7f8515b8643bc7cf1f15 | refs/heads/master | 2020-12-20T14:07:01.130075 | 2020-01-24T23:42:54 | 2020-01-24T23:42:54 | 236,102,422 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,511 | py | from plumbum import local
from benchbuild.project import Project
from benchbuild.environments import container
from benchbuild.source import HTTP
from benchbuild.utils.cmd import make, tar
class Python(Project):
""" python benchmarks """
NAME: str = 'python'
DOMAIN: str = 'compilation'
GROUP: str = 'benchbuild'
SOURCE = [
HTTP(remote={
'3.4.3':
'https://www.python.org/ftp/python/3.4.3/Python-3.4.3.tar.xz'
},
local='python.tar.xz')
]
CONTAINER = container.Buildah().from_('debian:buster-slim')
def compile(self):
python_source = local.path(self.source_of('python.tar.xz'))
python_version = self.version_of('python.tar.xz')
tar("xfJ", python_source)
unpack_dir = local.path(f'Python-{python_version}')
clang = compiler.cc(self)
clang_cxx = compiler.cxx(self)
with local.cwd(unpack_dir):
configure = local["./configure"]
configure = run.watch(configure)
with local.env(CC=str(clang), CXX=str(clang_cxx)):
configure("--disable-shared", "--without-gcc")
make_ = run.watch(make)
make_()
def run_tests(self):
python_version = self.version_of('python.tar.xz')
unpack_dir = local.path(f'Python-{python_version}')
wrapping.wrap(unpack_dir / "python", self)
with local.cwd(unpack_dir):
make_ = run.watch(make)
make_("-i", "test")
| [
"simbuerg@fim.uni-passau.de"
] | simbuerg@fim.uni-passau.de |
17caa79403632a3b3f95dbf1c801017b4f05e9e9 | 8e2e28a191fa5ec5a6c070ec7e9ccad98c8b4a0b | /test/26-踢足球游戏.py | abb3a54a35b9b9bb2ac3c5ace47cca32545f1481 | [
"Apache-2.0"
] | permissive | kellanfan/python | 4cd61cbc062e2eee3a900fa7447ca5f0b8f1a999 | 912dc05a3bd0ded9544166a68da23ca0a97b84da | refs/heads/master | 2023-04-06T03:04:38.851928 | 2023-04-01T02:45:56 | 2023-04-01T02:45:56 | 65,542,280 | 3 | 5 | null | null | null | null | UTF-8 | Python | false | false | 1,534 | py | # pylint: disable=no-member
# -*- encoding: utf-8 -*-
'''
@File : 26-踢足球游戏.py
@Time : 2019/05/13 12:02:17
@Author : Kellan Fan
@Version : 1.0
@Contact : kellanfan1989@gmail.com
@Desc : None
'''
# here put the import lib
from random import choice
def kick():
direction = ['right','centor','left']
print('=== Now, You kick!===')
you=input("please choice which onside you shot, eg:<right,centor,left>: ")
print('you kicked ' + you)
he=choice(direction)
if you in direction:
if you != he:
print('gold!!!')
score[0] += 1
else:
print('oh!no!!!')
else:
print("please input 'right','centor','left'")
print("now the score is %d:%d"%(score[0],score[1]))
print('=== Now, You save!===')
you=input("please choice which onside you save, eg:<right,centor,left>: ")
print('you saved ' + you)
he=choice(direction)
if you in direction:
if you != he:
print('oh!no!!!')
score[1] +=1
else:
print('yes!!!')
else:
print("please input 'right','centor','left'")
print("now the score is %d:%d"%(score[0],score[1]))
if __name__ == '__main__':
score = [0, 0]
for i in range(5):
print('====Round %d===='%(i+1))
kick()
while (score[0] == score[1]):
i=i+1
print('====add time Round %d'%(i+1))
kick()
if score[0] > score[1]:
print('you win!!!')
else:
print('you lose!!')
| [
"icyfk1989@163.com"
] | icyfk1989@163.com |
a6d8127d0f13569d36182f1a485ab2c96da12105 | 5530d0d6e37e89f0f5b54b2f192c836f8f6ca24e | /gypfiles/toolchain.gypi | bb016e72a28c402edbed71272a5284682edc2406 | [
"BSD-3-Clause",
"bzip2-1.0.6"
] | permissive | smishenk/v8 | 96f63c1f9e4d0f2d1cc6909405d74a8b93393180 | 2d7ea2277846fb99d3e4d1d926421248801f80b7 | refs/heads/master | 2021-01-12T21:09:37.011400 | 2015-03-19T13:35:38 | 2016-05-12T12:42:53 | 46,791,557 | 0 | 0 | null | 2015-11-24T12:54:35 | 2015-11-24T12:54:35 | null | UTF-8 | Python | false | false | 47,229 | gypi | # Copyright 2013 the V8 project authors. All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following
# disclaimer in the documentation and/or other materials provided
# with the distribution.
# * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Shared definitions for all V8-related targets.
{
'variables': {
'msvs_use_common_release': 0,
'clang%': 0,
'asan%': 0,
'lsan%': 0,
'msan%': 0,
'tsan%': 0,
'ubsan%': 0,
'ubsan_vptr%': 0,
'v8_target_arch%': '<(target_arch)',
'v8_host_byteorder%': '<!(python -c "import sys; print sys.byteorder")',
# Native Client builds currently use the V8 ARM JIT and
# arm/simulator-arm.cc to defer the significant effort required
# for NaCl JIT support. The nacl_target_arch variable provides
# the 'true' target arch for places in this file that need it.
# TODO(bradchen): get rid of nacl_target_arch when someday
# NaCl V8 builds stop using the ARM simulator
'nacl_target_arch%': 'none', # must be set externally
# Setting 'v8_can_use_vfp32dregs' to 'true' will cause V8 to use the VFP
# registers d16-d31 in the generated code, both in the snapshot and for the
# ARM target. Leaving the default value of 'false' will avoid the use of
# these registers in the snapshot and use CPU feature probing when running
# on the target.
'v8_can_use_vfp32dregs%': 'false',
'arm_test_noprobe%': 'off',
# Similar to vfp but on MIPS.
'v8_can_use_fpu_instructions%': 'true',
# Similar to the ARM hard float ABI but on MIPS.
'v8_use_mips_abi_hardfloat%': 'true',
# Force disable libstdc++ debug mode.
'disable_glibcxx_debug%': 0,
'v8_enable_backtrace%': 0,
# Enable profiling support. Only required on Windows.
'v8_enable_prof%': 0,
# Some versions of GCC 4.5 seem to need -fno-strict-aliasing.
'v8_no_strict_aliasing%': 0,
# Chrome needs this definition unconditionally. For standalone V8 builds,
# it's handled in gypfiles/standalone.gypi.
'want_separate_host_toolset%': 1,
# Toolset the d8 binary should be compiled for. Possible values are 'host'
# and 'target'. If you want to run v8 tests, it needs to be set to 'target'.
# The setting is ignored if want_separate_host_toolset is 0.
'v8_toolset_for_d8%': 'target',
# Toolset the shell binary should be compiled for. Possible values are
# 'host' and 'target'.
# The setting is ignored if want_separate_host_toolset is 0.
'v8_toolset_for_shell%': 'target',
'host_os%': '<(OS)',
'werror%': '-Werror',
# For a shared library build, results in "libv8-<(soname_version).so".
'soname_version%': '',
# Allow to suppress the array bounds warning (default is no suppression).
'wno_array_bounds%': '',
# Override where to find binutils
'binutils_dir%': '',
'conditions': [
['OS=="linux" and host_arch=="x64"', {
'binutils_dir%': 'third_party/binutils/Linux_x64/Release/bin',
}],
['OS=="linux" and host_arch=="ia32"', {
'binutils_dir%': 'third_party/binutils/Linux_ia32/Release/bin',
}],
# linux_use_bundled_gold: whether to use the gold linker binary checked
# into third_party/binutils. Force this off via GYP_DEFINES when you
# are using a custom toolchain and need to control -B in ldflags.
# Do not use 32-bit gold on 32-bit hosts as it runs out address space
# for component=static_library builds.
['OS=="linux" and (target_arch=="x64" or target_arch=="arm")', {
'linux_use_bundled_gold%': 1,
}, {
'linux_use_bundled_gold%': 0,
}],
# linux_use_bundled_binutils: whether to use the binary binutils
# checked into third_party/binutils. These are not multi-arch so cannot
# be used except on x86 and x86-64 (the only two architectures which
# are currently checke in). Force this off via GYP_DEFINES when you
# are using a custom toolchain and need to control -B in cflags.
['OS=="linux" and (target_arch=="ia32" or target_arch=="x64")', {
'linux_use_bundled_binutils%': 1,
}, {
'linux_use_bundled_binutils%': 0,
}],
# linux_use_gold_flags: whether to use build flags that rely on gold.
# On by default for x64 Linux.
['OS=="linux" and target_arch=="x64"', {
'linux_use_gold_flags%': 1,
}, {
'linux_use_gold_flags%': 0,
}],
],
# Link-Time Optimizations
'use_lto%': 0,
},
'conditions': [
['host_arch=="ia32" or host_arch=="x64" or \
host_arch=="ppc" or host_arch=="ppc64" or \
host_arch=="s390" or host_arch=="s390x" or \
clang==1', {
'variables': {
'host_cxx_is_biarch%': 1,
},
}, {
'variables': {
'host_cxx_is_biarch%': 0,
},
}],
['target_arch=="ia32" or target_arch=="x64" or target_arch=="x87" or \
target_arch=="ppc" or target_arch=="ppc64" or target_arch=="s390" or \
target_arch=="s390x" or clang==1', {
'variables': {
'target_cxx_is_biarch%': 1,
},
}, {
'variables': {
'target_cxx_is_biarch%': 0,
},
}],
],
'target_defaults': {
'conditions': [
['v8_target_arch=="arm"', {
'defines': [
'V8_TARGET_ARCH_ARM',
],
'conditions': [
[ 'arm_version==7 or arm_version=="default"', {
'defines': [
'CAN_USE_ARMV7_INSTRUCTIONS',
],
}],
[ 'arm_fpu=="vfpv3-d16" or arm_fpu=="default"', {
'defines': [
'CAN_USE_VFP3_INSTRUCTIONS',
],
}],
[ 'arm_fpu=="vfpv3"', {
'defines': [
'CAN_USE_VFP3_INSTRUCTIONS',
'CAN_USE_VFP32DREGS',
],
}],
[ 'arm_fpu=="neon"', {
'defines': [
'CAN_USE_VFP3_INSTRUCTIONS',
'CAN_USE_VFP32DREGS',
'CAN_USE_NEON',
],
}],
[ 'arm_test_noprobe=="on"', {
'defines': [
'ARM_TEST_NO_FEATURE_PROBE',
],
}],
],
'target_conditions': [
['_toolset=="host"', {
'conditions': [
['v8_target_arch==host_arch', {
# Host built with an Arm CXX compiler.
'conditions': [
[ 'arm_version==7', {
'cflags': ['-march=armv7-a',],
}],
[ 'arm_version==7 or arm_version=="default"', {
'conditions': [
[ 'arm_fpu!="default"', {
'cflags': ['-mfpu=<(arm_fpu)',],
}],
],
}],
[ 'arm_float_abi!="default"', {
'cflags': ['-mfloat-abi=<(arm_float_abi)',],
}],
[ 'arm_thumb==1', {
'cflags': ['-mthumb',],
}],
[ 'arm_thumb==0', {
'cflags': ['-marm',],
}],
],
}, {
# 'v8_target_arch!=host_arch'
# Host not built with an Arm CXX compiler (simulator build).
'conditions': [
[ 'arm_float_abi=="hard"', {
'defines': [
'USE_EABI_HARDFLOAT=1',
],
}],
[ 'arm_float_abi=="softfp" or arm_float_abi=="default"', {
'defines': [
'USE_EABI_HARDFLOAT=0',
],
}],
],
}],
],
}], # _toolset=="host"
['_toolset=="target"', {
'conditions': [
['v8_target_arch==target_arch', {
# Target built with an Arm CXX compiler.
'conditions': [
[ 'arm_version==7', {
'cflags': ['-march=armv7-a',],
}],
[ 'arm_version==7 or arm_version=="default"', {
'conditions': [
[ 'arm_fpu!="default"', {
'cflags': ['-mfpu=<(arm_fpu)',],
}],
],
}],
[ 'arm_float_abi!="default"', {
'cflags': ['-mfloat-abi=<(arm_float_abi)',],
}],
[ 'arm_thumb==1', {
'cflags': ['-mthumb',],
}],
[ 'arm_thumb==0', {
'cflags': ['-marm',],
}],
],
}, {
# 'v8_target_arch!=target_arch'
# Target not built with an Arm CXX compiler (simulator build).
'conditions': [
[ 'arm_float_abi=="hard"', {
'defines': [
'USE_EABI_HARDFLOAT=1',
],
}],
[ 'arm_float_abi=="softfp" or arm_float_abi=="default"', {
'defines': [
'USE_EABI_HARDFLOAT=0',
],
}],
],
}],
# Disable GCC LTO for v8
# v8 is optimized for speed. Because GCC LTO merges flags at link
# time, we disable LTO to prevent any -O2 flags from taking
# precedence over v8's -Os flag. However, LLVM LTO does not work
# this way so we keep LTO enabled under LLVM.
['clang==0 and use_lto==1', {
'cflags!': [
'-flto',
'-ffat-lto-objects',
],
}],
],
}], # _toolset=="target"
],
}], # v8_target_arch=="arm"
['v8_target_arch=="arm64"', {
'defines': [
'V8_TARGET_ARCH_ARM64',
],
}],
['v8_target_arch=="s390" or v8_target_arch=="s390x"', {
'defines': [
'V8_TARGET_ARCH_S390',
],
'conditions': [
['v8_target_arch=="s390x"', {
'defines': [
'V8_TARGET_ARCH_S390X',
],
}],
['v8_host_byteorder=="little"', {
'defines': [
'V8_TARGET_ARCH_S390_LE_SIM',
],
}],
],
}], # s390
['v8_target_arch=="ppc" or v8_target_arch=="ppc64"', {
'defines': [
'V8_TARGET_ARCH_PPC',
],
'conditions': [
['v8_target_arch=="ppc64"', {
'defines': [
'V8_TARGET_ARCH_PPC64',
],
}],
['v8_host_byteorder=="little"', {
'defines': [
'V8_TARGET_ARCH_PPC_LE',
],
}],
['v8_host_byteorder=="big"', {
'defines': [
'V8_TARGET_ARCH_PPC_BE',
],
'conditions': [
['OS=="aix"', {
# Work around AIX ceil, trunc and round oddities.
'cflags': [ '-mcpu=power5+ -mfprnd' ],
}],
['OS=="aix"', {
# Work around AIX assembler popcntb bug.
'cflags': [ '-mno-popcntb' ],
}],
],
}],
],
}], # ppc
['v8_target_arch=="ia32"', {
'defines': [
'V8_TARGET_ARCH_IA32',
],
}], # v8_target_arch=="ia32"
['v8_target_arch=="x87"', {
'defines': [
'V8_TARGET_ARCH_X87',
],
'cflags': ['-march=i586'],
}], # v8_target_arch=="x87"
['(v8_target_arch=="mips" or v8_target_arch=="mipsel" \
or v8_target_arch=="mips64" or v8_target_arch=="mips64el") \
and v8_target_arch==target_arch', {
'target_conditions': [
['_toolset=="target"', {
# Target built with a Mips CXX compiler.
'variables': {
'ldso_path%': '<!(/bin/echo -n $LDSO_PATH)',
'ld_r_path%': '<!(/bin/echo -n $LD_R_PATH)',
},
'conditions': [
['ldso_path!=""', {
'ldflags': ['-Wl,--dynamic-linker=<(ldso_path)'],
}],
['ld_r_path!=""', {
'ldflags': ['-Wl,--rpath=<(ld_r_path)'],
}],
[ 'clang==1', {
'cflags': ['-integrated-as'],
}],
],
}],
],
}],
['v8_target_arch=="mips"', {
'defines': [
'V8_TARGET_ARCH_MIPS',
],
'conditions': [
[ 'v8_can_use_fpu_instructions=="true"', {
'defines': [
'CAN_USE_FPU_INSTRUCTIONS',
],
}],
[ 'v8_use_mips_abi_hardfloat=="true"', {
'defines': [
'__mips_hard_float=1',
'CAN_USE_FPU_INSTRUCTIONS',
],
}, {
'defines': [
'__mips_soft_float=1'
]
}],
],
'target_conditions': [
['_toolset=="target"', {
'conditions': [
['v8_target_arch==target_arch', {
# Target built with a Mips CXX compiler.
'cflags': [
'-EB',
'-Wno-error=array-bounds', # Workaround https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56273
],
'ldflags': ['-EB'],
'conditions': [
[ 'v8_use_mips_abi_hardfloat=="true"', {
'cflags': ['-mhard-float'],
'ldflags': ['-mhard-float'],
}, {
'cflags': ['-msoft-float'],
'ldflags': ['-msoft-float'],
}],
['mips_arch_variant=="r6"', {
'defines': [
'_MIPS_ARCH_MIPS32R6',
'FPU_MODE_FP64',
],
'cflags!': ['-mfp32', '-mfpxx'],
'conditions': [
[ 'clang==0', {
'cflags': ['-Wa,-mips32r6'],
}],
],
'cflags': ['-mips32r6'],
'ldflags': ['-mips32r6'],
}],
['mips_arch_variant=="r2"', {
'conditions': [
[ 'mips_fpu_mode=="fp64"', {
'defines': [
'_MIPS_ARCH_MIPS32R2',
'FPU_MODE_FP64',
],
'cflags': ['-mfp64'],
}],
['mips_fpu_mode=="fpxx"', {
'defines': [
'_MIPS_ARCH_MIPS32R2',
'FPU_MODE_FPXX',
],
'cflags': ['-mfpxx'],
}],
['mips_fpu_mode=="fp32"', {
'defines': [
'_MIPS_ARCH_MIPS32R2',
'FPU_MODE_FP32',
],
'cflags': ['-mfp32'],
}],
[ 'clang==0', {
'cflags': ['-Wa,-mips32r2'],
}],
],
'cflags': ['-mips32r2'],
'ldflags': ['-mips32r2'],
}],
['mips_arch_variant=="r1"', {
'defines': [
'FPU_MODE_FP32',
],
'cflags!': ['-mfp64', '-mfpxx'],
'conditions': [
[ 'clang==0', {
'cflags': ['-Wa,-mips32'],
}],
],
'cflags': ['-mips32'],
'ldflags': ['-mips32'],
}],
['mips_arch_variant=="rx"', {
'defines': [
'_MIPS_ARCH_MIPS32RX',
'FPU_MODE_FPXX',
],
'cflags!': ['-mfp64', '-mfp32'],
'conditions': [
[ 'clang==0', {
'cflags': ['-Wa,-mips32'],
}],
],
'cflags': ['-mips32', '-mfpxx'],
'ldflags': ['-mips32'],
}],
],
}, {
# 'v8_target_arch!=target_arch'
# Target not built with an MIPS CXX compiler (simulator build).
'conditions': [
['mips_arch_variant=="r6"', {
'defines': [
'_MIPS_ARCH_MIPS32R6',
'FPU_MODE_FP64',
],
}],
['mips_arch_variant=="r2"', {
'conditions': [
[ 'mips_fpu_mode=="fp64"', {
'defines': [
'_MIPS_ARCH_MIPS32R2',
'FPU_MODE_FP64',
],
}],
['mips_fpu_mode=="fpxx"', {
'defines': [
'_MIPS_ARCH_MIPS32R2',
'FPU_MODE_FPXX',
],
}],
['mips_fpu_mode=="fp32"', {
'defines': [
'_MIPS_ARCH_MIPS32R2',
'FPU_MODE_FP32',
],
}],
],
}],
['mips_arch_variant=="r1"', {
'defines': [
'FPU_MODE_FP32',
],
}],
['mips_arch_variant=="rx"', {
'defines': [
'_MIPS_ARCH_MIPS32RX',
'FPU_MODE_FPXX',
],
}],
],
}],
],
}], #_toolset=="target"
['_toolset=="host"', {
'conditions': [
['mips_arch_variant=="rx"', {
'defines': [
'_MIPS_ARCH_MIPS32RX',
'FPU_MODE_FPXX',
],
}],
['mips_arch_variant=="r6"', {
'defines': [
'_MIPS_ARCH_MIPS32R6',
'FPU_MODE_FP64',
],
}],
['mips_arch_variant=="r2"', {
'conditions': [
['mips_fpu_mode=="fp64"', {
'defines': [
'_MIPS_ARCH_MIPS32R2',
'FPU_MODE_FP64',
],
}],
['mips_fpu_mode=="fpxx"', {
'defines': [
'_MIPS_ARCH_MIPS32R2',
'FPU_MODE_FPXX',
],
}],
['mips_fpu_mode=="fp32"', {
'defines': [
'_MIPS_ARCH_MIPS32R2',
'FPU_MODE_FP32'
],
}],
],
}],
['mips_arch_variant=="r1"', {
'defines': ['FPU_MODE_FP32',],
}],
]
}], #_toolset=="host"
],
}], # v8_target_arch=="mips"
['v8_target_arch=="mipsel"', {
'defines': [
'V8_TARGET_ARCH_MIPS',
],
'conditions': [
[ 'v8_can_use_fpu_instructions=="true"', {
'defines': [
'CAN_USE_FPU_INSTRUCTIONS',
],
}],
[ 'v8_use_mips_abi_hardfloat=="true"', {
'defines': [
'__mips_hard_float=1',
'CAN_USE_FPU_INSTRUCTIONS',
],
}, {
'defines': [
'__mips_soft_float=1'
],
}],
],
'target_conditions': [
['_toolset=="target"', {
'conditions': [
['v8_target_arch==target_arch', {
# Target built with a Mips CXX compiler.
'cflags': [
'-EL',
'-Wno-error=array-bounds', # Workaround https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56273
],
'ldflags': ['-EL'],
'conditions': [
[ 'v8_use_mips_abi_hardfloat=="true"', {
'cflags': ['-mhard-float'],
'ldflags': ['-mhard-float'],
}, {
'cflags': ['-msoft-float'],
'ldflags': ['-msoft-float'],
}],
['mips_arch_variant=="r6"', {
'defines': [
'_MIPS_ARCH_MIPS32R6',
'FPU_MODE_FP64',
],
'cflags!': ['-mfp32', '-mfpxx'],
'conditions': [
[ 'clang==0', {
'cflags': ['-Wa,-mips32r6'],
}],
],
'cflags': ['-mips32r6'],
'ldflags': ['-mips32r6'],
}],
['mips_arch_variant=="r2"', {
'conditions': [
[ 'mips_fpu_mode=="fp64"', {
'defines': [
'_MIPS_ARCH_MIPS32R2',
'FPU_MODE_FP64',
],
'cflags': ['-mfp64'],
}],
['mips_fpu_mode=="fpxx"', {
'defines': [
'_MIPS_ARCH_MIPS32R2',
'FPU_MODE_FPXX',
],
'cflags': ['-mfpxx'],
}],
['mips_fpu_mode=="fp32"', {
'defines': [
'_MIPS_ARCH_MIPS32R2',
'FPU_MODE_FP32',
],
'cflags': ['-mfp32'],
}],
[ 'clang==0', {
'cflags': ['-Wa,-mips32r2'],
}],
],
'cflags': ['-mips32r2'],
'ldflags': ['-mips32r2'],
}],
['mips_arch_variant=="r1"', {
'defines': [
'FPU_MODE_FP32',
],
'cflags!': ['-mfp64', '-mfpxx'],
'conditions': [
[ 'clang==0', {
'cflags': ['-Wa,-mips32'],
}],
],
'cflags': ['-mips32'],
'ldflags': ['-mips32'],
}],
['mips_arch_variant=="rx"', {
'defines': [
'_MIPS_ARCH_MIPS32RX',
'FPU_MODE_FPXX',
],
'cflags!': ['-mfp64', '-mfp32'],
'conditions': [
[ 'clang==0', {
'cflags': ['-Wa,-mips32'],
}],
],
'cflags': ['-mips32', '-mfpxx'],
'ldflags': ['-mips32'],
}],
['mips_arch_variant=="loongson"', {
'defines': [
'_MIPS_ARCH_LOONGSON',
'FPU_MODE_FP32',
],
'cflags!': ['-mfp64', '-mfpxx'],
'conditions': [
[ 'clang==0', {
'cflags': ['-Wa,-mips3'],
}],
],
'cflags': ['-mips3', '-mfp32'],
}],
],
}, {
# 'v8_target_arch!=target_arch'
# Target not built with an MIPS CXX compiler (simulator build).
'conditions': [
['mips_arch_variant=="r6"', {
'defines': [
'_MIPS_ARCH_MIPS32R6',
'FPU_MODE_FP64',
],
}],
['mips_arch_variant=="r2"', {
'conditions': [
[ 'mips_fpu_mode=="fp64"', {
'defines': [
'_MIPS_ARCH_MIPS32R2',
'FPU_MODE_FP64',
],
}],
['mips_fpu_mode=="fpxx"', {
'defines': [
'_MIPS_ARCH_MIPS32R2',
'FPU_MODE_FPXX',
],
}],
['mips_fpu_mode=="fp32"', {
'defines': [
'_MIPS_ARCH_MIPS32R2',
'FPU_MODE_FP32',
],
}],
],
}],
['mips_arch_variant=="r1"', {
'defines': [
'FPU_MODE_FP32',
],
}],
['mips_arch_variant=="rx"', {
'defines': [
'_MIPS_ARCH_MIPS32RX',
'FPU_MODE_FPXX',
],
}],
['mips_arch_variant=="loongson"', {
'defines': [
'_MIPS_ARCH_LOONGSON',
'FPU_MODE_FP32',
],
}],
],
}],
],
}], #_toolset=="target
['_toolset=="host"', {
'conditions': [
['mips_arch_variant=="rx"', {
'defines': [
'_MIPS_ARCH_MIPS32RX',
'FPU_MODE_FPXX',
],
}],
['mips_arch_variant=="r6"', {
'defines': [
'_MIPS_ARCH_MIPS32R6',
'FPU_MODE_FP64',
],
}],
['mips_arch_variant=="r2"', {
'conditions': [
['mips_fpu_mode=="fp64"', {
'defines': [
'_MIPS_ARCH_MIPS32R2',
'FPU_MODE_FP64',
],
}],
['mips_fpu_mode=="fpxx"', {
'defines': [
'_MIPS_ARCH_MIPS32R2',
'FPU_MODE_FPXX',
],
}],
['mips_fpu_mode=="fp32"', {
'defines': [
'_MIPS_ARCH_MIPS32R2',
'FPU_MODE_FP32'
],
}],
],
}],
['mips_arch_variant=="r1"', {
'defines': ['FPU_MODE_FP32',],
}],
['mips_arch_variant=="loongson"', {
'defines': [
'_MIPS_ARCH_LOONGSON',
'FPU_MODE_FP32',
],
}],
]
}],
],
}], # v8_target_arch=="mipsel"
['v8_target_arch=="mips64el" or v8_target_arch=="mips64"', {
'defines': [
'V8_TARGET_ARCH_MIPS64',
],
'conditions': [
[ 'v8_can_use_fpu_instructions=="true"', {
'defines': [
'CAN_USE_FPU_INSTRUCTIONS',
],
}],
[ 'v8_host_byteorder=="little"', {
'defines': [
'V8_TARGET_ARCH_MIPS64_LE',
],
}],
[ 'v8_host_byteorder=="big"', {
'defines': [
'V8_TARGET_ARCH_MIPS64_BE',
],
}],
[ 'v8_use_mips_abi_hardfloat=="true"', {
'defines': [
'__mips_hard_float=1',
'CAN_USE_FPU_INSTRUCTIONS',
],
}, {
'defines': [
'__mips_soft_float=1'
],
}],
],
'target_conditions': [
['_toolset=="target"', {
'conditions': [
['v8_target_arch==target_arch', {
'cflags': [
'-Wno-error=array-bounds', # Workaround https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56273
],
'conditions': [
['v8_target_arch=="mips64el"', {
'cflags': ['-EL'],
'ldflags': ['-EL'],
}],
['v8_target_arch=="mips64"', {
'cflags': ['-EB'],
'ldflags': ['-EB'],
}],
[ 'v8_use_mips_abi_hardfloat=="true"', {
'cflags': ['-mhard-float'],
'ldflags': ['-mhard-float'],
}, {
'cflags': ['-msoft-float'],
'ldflags': ['-msoft-float'],
}],
['mips_arch_variant=="r6"', {
'defines': ['_MIPS_ARCH_MIPS64R6',],
'conditions': [
[ 'clang==0', {
'cflags': ['-Wa,-mips64r6'],
}],
],
'cflags': ['-mips64r6', '-mabi=64'],
'ldflags': ['-mips64r6', '-mabi=64'],
}],
['mips_arch_variant=="r2"', {
'defines': ['_MIPS_ARCH_MIPS64R2',],
'conditions': [
[ 'clang==0', {
'cflags': ['-Wa,-mips64r2'],
}],
],
'cflags': ['-mips64r2', '-mabi=64'],
'ldflags': ['-mips64r2', '-mabi=64'],
}],
],
}, {
# 'v8_target_arch!=target_arch'
# Target not built with an MIPS CXX compiler (simulator build).
'conditions': [
['mips_arch_variant=="r6"', {
'defines': ['_MIPS_ARCH_MIPS64R6',],
}],
['mips_arch_variant=="r2"', {
'defines': ['_MIPS_ARCH_MIPS64R2',],
}],
],
}],
],
}], #'_toolset=="target"
['_toolset=="host"', {
'conditions': [
['mips_arch_variant=="r6"', {
'defines': ['_MIPS_ARCH_MIPS64R6',],
}],
['mips_arch_variant=="r2"', {
'defines': ['_MIPS_ARCH_MIPS64R2',],
}],
],
}], #'_toolset=="host"
],
}], # v8_target_arch=="mips64el"
['v8_target_arch=="x64"', {
'defines': [
'V8_TARGET_ARCH_X64',
],
'xcode_settings': {
'ARCHS': [ 'x86_64' ],
},
'msvs_settings': {
'VCLinkerTool': {
'StackReserveSize': '2097152',
},
},
'msvs_configuration_platform': 'x64',
}], # v8_target_arch=="x64"
['v8_target_arch=="x32"', {
'defines': [
# x32 port shares the source code with x64 port.
'V8_TARGET_ARCH_X64',
'V8_TARGET_ARCH_32_BIT',
],
'cflags': [
'-mx32',
# Inhibit warning if long long type is used.
'-Wno-long-long',
],
'ldflags': [
'-mx32',
],
}], # v8_target_arch=="x32"
['linux_use_gold_flags==1', {
# Newer gccs and clangs support -fuse-ld, use the flag to force gold
# selection.
# gcc -- http://gcc.gnu.org/onlinedocs/gcc-4.8.0/gcc/Optimize-Options.html
'ldflags': [ '-fuse-ld=gold', ],
}],
['linux_use_bundled_binutils==1', {
'cflags': [
'-B<!(cd <(DEPTH) && pwd -P)/<(binutils_dir)',
],
}],
['linux_use_bundled_gold==1', {
# Put our binutils, which contains gold in the search path. We pass
# the path to gold to the compiler. gyp leaves unspecified what the
# cwd is when running the compiler, so the normal gyp path-munging
# fails us. This hack gets the right path.
'ldflags': [
'-B<!(cd <(DEPTH) && pwd -P)/<(binutils_dir)',
],
}],
['OS=="win"', {
'defines': [
'WIN32',
],
# 4351: VS 2005 and later are warning us that they've fixed a bug
# present in VS 2003 and earlier.
'msvs_disabled_warnings': [4351],
'msvs_configuration_attributes': {
'OutputDirectory': '<(DEPTH)\\build\\$(ConfigurationName)',
'IntermediateDirectory': '$(OutDir)\\obj\\$(ProjectName)',
'CharacterSet': '1',
},
}],
['OS=="win" and v8_target_arch=="ia32"', {
'msvs_settings': {
'VCCLCompilerTool': {
# Ensure no surprising artifacts from 80bit double math with x86.
'AdditionalOptions': ['/arch:SSE2'],
},
},
}],
['OS=="win" and v8_enable_prof==1', {
'msvs_settings': {
'VCLinkerTool': {
'GenerateMapFile': 'true',
},
},
}],
['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \
or OS=="netbsd" or OS=="mac" or OS=="android" or OS=="qnx") and \
v8_target_arch=="ia32"', {
'cflags': [
'-msse2',
'-mfpmath=sse',
'-mmmx', # Allows mmintrin.h for MMX intrinsics.
],
}],
['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \
or OS=="netbsd" or OS=="mac" or OS=="android" or OS=="qnx") and \
(v8_target_arch=="arm" or v8_target_arch=="ia32" or \
v8_target_arch=="x87" or v8_target_arch=="mips" or \
v8_target_arch=="mipsel" or v8_target_arch=="ppc" or \
v8_target_arch=="s390")', {
'target_conditions': [
['_toolset=="host"', {
'conditions': [
['host_cxx_is_biarch==1', {
'conditions': [
['host_arch=="s390" or host_arch=="s390x"', {
'cflags': [ '-m31' ],
'ldflags': [ '-m31' ]
},{
'cflags': [ '-m32' ],
'ldflags': [ '-m32' ]
}],
],
}],
],
'xcode_settings': {
'ARCHS': [ 'i386' ],
},
}],
['_toolset=="target"', {
'conditions': [
['target_cxx_is_biarch==1 and nacl_target_arch!="nacl_x64"', {
'conditions': [
['host_arch=="s390" or host_arch=="s390x"', {
'cflags': [ '-m31' ],
'ldflags': [ '-m31' ]
},{
'cflags': [ '-m32' ],
'ldflags': [ '-m32' ],
}],
],
}],
],
'xcode_settings': {
'ARCHS': [ 'i386' ],
},
}],
],
}],
['(OS=="linux" or OS=="android") and \
(v8_target_arch=="x64" or v8_target_arch=="arm64" or \
v8_target_arch=="ppc64" or v8_target_arch=="s390x")', {
'target_conditions': [
['_toolset=="host"', {
'conditions': [
['host_cxx_is_biarch==1', {
'cflags': [ '-m64' ],
'ldflags': [ '-m64' ]
}],
],
}],
['_toolset=="target"', {
'conditions': [
['target_cxx_is_biarch==1', {
'cflags': [ '-m64' ],
'ldflags': [ '-m64' ],
}],
]
}],
],
}],
['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \
or OS=="netbsd" or OS=="qnx" or OS=="aix"', {
'conditions': [
[ 'v8_no_strict_aliasing==1', {
'cflags': [ '-fno-strict-aliasing' ],
}],
], # conditions
}],
['OS=="solaris"', {
'defines': [ '__C99FEATURES__=1' ], # isinf() etc.
}],
['OS=="freebsd" or OS=="openbsd"', {
'cflags': [ '-I/usr/local/include' ],
}],
['OS=="netbsd"', {
'cflags': [ '-I/usr/pkg/include' ],
}],
['OS=="aix"', {
'defines': [
# Support for malloc(0)
'_LINUX_SOURCE_COMPAT=1',
'_ALL_SOURCE=1'],
'conditions': [
[ 'v8_target_arch=="ppc"', {
'ldflags': [ '-Wl,-bmaxdata:0x60000000/dsa' ],
}],
[ 'v8_target_arch=="ppc64"', {
'cflags': [ '-maix64' ],
'ldflags': [ '-maix64' ],
}],
],
}],
], # conditions
'configurations': {
# Abstract configuration for v8_optimized_debug == 0.
'DebugBase0': {
'abstract': 1,
'msvs_settings': {
'VCCLCompilerTool': {
'Optimization': '0',
'conditions': [
['component=="shared_library"', {
'RuntimeLibrary': '3', # /MDd
}, {
'RuntimeLibrary': '1', # /MTd
}],
],
},
'VCLinkerTool': {
'LinkIncremental': '2',
},
},
'variables': {
'v8_enable_slow_dchecks%': 1,
},
'conditions': [
['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd" or \
OS=="qnx" or OS=="aix"', {
'cflags!': [
'-O3',
'-O2',
'-O1',
'-Os',
],
'cflags': [
'-fdata-sections',
'-ffunction-sections',
],
}],
['OS=="mac"', {
'xcode_settings': {
'GCC_OPTIMIZATION_LEVEL': '0', # -O0
},
}],
['v8_enable_slow_dchecks==1', {
'defines': [
'ENABLE_SLOW_DCHECKS',
],
}],
],
}, # DebugBase0
# Abstract configuration for v8_optimized_debug == 1.
'DebugBase1': {
'abstract': 1,
'msvs_settings': {
'VCCLCompilerTool': {
'Optimization': '2',
'InlineFunctionExpansion': '2',
'EnableIntrinsicFunctions': 'true',
'FavorSizeOrSpeed': '0',
'StringPooling': 'true',
'BasicRuntimeChecks': '0',
'conditions': [
['component=="shared_library"', {
'RuntimeLibrary': '3', #/MDd
}, {
'RuntimeLibrary': '1', #/MTd
}],
],
},
'VCLinkerTool': {
'LinkIncremental': '1',
'OptimizeReferences': '2',
'EnableCOMDATFolding': '2',
},
},
'variables': {
'v8_enable_slow_dchecks%': 0,
},
'conditions': [
['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd" or \
OS=="qnx" or OS=="aix"', {
'cflags!': [
'-O0',
'-O1',
'-O3',
'-Os',
],
'cflags': [
'-fdata-sections',
'-ffunction-sections',
'-O2',
],
}],
['OS=="mac"', {
'xcode_settings': {
'GCC_OPTIMIZATION_LEVEL': '3', # -O3
'GCC_STRICT_ALIASING': 'YES',
},
}],
['v8_enable_slow_dchecks==1', {
'defines': [
'ENABLE_SLOW_DCHECKS',
],
}],
],
}, # DebugBase1
# Common settings for the Debug configuration.
'DebugBaseCommon': {
'abstract': 1,
'defines': [
'ENABLE_DISASSEMBLER',
'V8_ENABLE_CHECKS',
'OBJECT_PRINT',
'VERIFY_HEAP',
'DEBUG',
'TRACE_MAPS'
],
'conditions': [
['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd" or \
OS=="qnx" or OS=="aix"', {
'cflags': [ '-Woverloaded-virtual', '<(wno_array_bounds)', ],
}],
['OS=="linux" and v8_enable_backtrace==1', {
# Support for backtrace_symbols.
'ldflags': [ '-rdynamic' ],
}],
['OS=="linux" and disable_glibcxx_debug==0', {
# Enable libstdc++ debugging facilities to help catch problems
# early, see http://crbug.com/65151 .
'defines': ['_GLIBCXX_DEBUG=1',],
}],
['OS=="aix"', {
'ldflags': [ '-Wl,-bbigtoc' ],
'conditions': [
['v8_target_arch=="ppc64"', {
'cflags': [ '-maix64 -mcmodel=large' ],
}],
],
}],
['OS=="android"', {
'variables': {
'android_full_debug%': 1,
},
'conditions': [
['android_full_debug==0', {
# Disable full debug if we want a faster v8 in a debug build.
# TODO(2304): pass DISABLE_DEBUG_ASSERT instead of hiding DEBUG.
'defines!': [
'DEBUG',
'ENABLE_SLOW_DCHECKS',
],
}],
],
}],
# TODO(pcc): Re-enable in LTO builds once we've fixed the intermittent
# link failures (crbug.com/513074).
['linux_use_gold_flags==1 and use_lto==0', {
'target_conditions': [
['_toolset=="target"', {
'ldflags': [
# Experimentation found that using four linking threads
# saved ~20% of link time.
# https://groups.google.com/a/chromium.org/group/chromium-dev/browse_thread/thread/281527606915bb36
# Only apply this to the target linker, since the host
# linker might not be gold, but isn't used much anyway.
'-Wl,--threads',
'-Wl,--thread-count=4',
],
}],
],
}],
],
}, # DebugBaseCommon
'Debug': {
'inherit_from': ['DebugBaseCommon'],
'conditions': [
['v8_optimized_debug==0', {
'inherit_from': ['DebugBase0'],
}, {
'inherit_from': ['DebugBase1'],
}],
],
}, # Debug
'ReleaseBase': {
'abstract': 1,
'variables': {
'v8_enable_slow_dchecks%': 0,
},
'conditions': [
['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd" \
or OS=="aix"', {
'cflags!': [
'-O3',
'-Os',
],
'cflags': [
'-fdata-sections',
'-ffunction-sections',
'<(wno_array_bounds)',
'-O2',
],
}],
['OS=="android"', {
'cflags!': [
'-O3',
'-Os',
],
'cflags': [
'-fdata-sections',
'-ffunction-sections',
'-O2',
],
}],
['OS=="mac"', {
'xcode_settings': {
'GCC_OPTIMIZATION_LEVEL': '3', # -O3
# -fstrict-aliasing. Mainline gcc
# enables this at -O2 and above,
# but Apple gcc does not unless it
# is specified explicitly.
'GCC_STRICT_ALIASING': 'YES',
},
}], # OS=="mac"
['OS=="win"', {
'msvs_settings': {
'VCCLCompilerTool': {
'Optimization': '2',
'InlineFunctionExpansion': '2',
'EnableIntrinsicFunctions': 'true',
'FavorSizeOrSpeed': '0',
'StringPooling': 'true',
'conditions': [
['component=="shared_library"', {
'RuntimeLibrary': '2', #/MD
}, {
'RuntimeLibrary': '0', #/MT
}],
],
},
'VCLinkerTool': {
'LinkIncremental': '1',
'OptimizeReferences': '2',
'EnableCOMDATFolding': '2',
},
},
}], # OS=="win"
['v8_enable_slow_dchecks==1', {
'defines': [
'ENABLE_SLOW_DCHECKS',
],
}],
], # conditions
}, # Release
'Release': {
'inherit_from': ['ReleaseBase'],
}, # Debug
'conditions': [
[ 'OS=="win"', {
# TODO(bradnelson): add a gyp mechanism to make this more graceful.
'Debug_x64': {
'inherit_from': ['DebugBaseCommon'],
'conditions': [
['v8_optimized_debug==0', {
'inherit_from': ['DebugBase0'],
}, {
'inherit_from': ['DebugBase1'],
}],
],
},
'Release_x64': {
'inherit_from': ['ReleaseBase'],
},
}],
],
}, # configurations
}, # target_defaults
}
| [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
7f850a7311c4ab54b2e4f5163041ce9a69043473 | 10717fe6f68c4ee9bcf27ee62e89581f4a030b8e | /extractor/yinyuetai.py | f2d6b0987afa3d3aec66c8646cac574045296fd1 | [] | no_license | HagerHosny199/Testing_Project | ff7f9a54b7a213c9d9ade0c5192845c2a29adc8b | 9bc170263e239cc24ccfb2aa33b9913ff799ffe9 | refs/heads/master | 2020-05-17T20:57:01.750640 | 2019-05-08T22:13:06 | 2019-05-08T22:13:06 | 183,954,736 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,906 | py | # coding: utf-8
from __future__ import unicode_literals
from .common import InfoExtractor
from utils import ExtractorError
class YinYueTaiIE(InfoExtractor):
IE_NAME = 'yinyuetai:video'
IE_DESC = '音悦Tai'
_VALID_URL = r'https?://v\.yinyuetai\.com/video(?:/h5)?/(?P<id>[0-9]+)'
_TESTS = [{
'url': 'http://v.yinyuetai.com/video/2322376',
'md5': '6e3abe28d38e3a54b591f9f040595ce0',
'info_dict': {
'id': '2322376',
'ext': 'mp4',
'title': '少女时代_PARTY_Music Video Teaser',
'creator': '少女时代',
'duration': 25,
'thumbnail': r're:^https?://.*\.jpg$',
},
}, {
'url': 'http://v.yinyuetai.com/video/h5/2322376',
'only_matching': True,
}]
def _real_extract(self, url):
video_id = self._match_id(url)
info = self._download_json(
'http://ext.yinyuetai.com/main/get-h-mv-info?json=true&videoId=%s' % video_id, video_id,
'Downloading mv info')['videoInfo']['coreVideoInfo']
if info['error']:
raise ExtractorError(info['errorMsg'], expected=True)
formats = [{
'url': format_info['videoUrl'],
'format_id': format_info['qualityLevel'],
'format': format_info.get('qualityLevelName'),
'filesize': format_info.get('fileSize'),
# though URLs ends with .flv, the downloaded files are in fact mp4
'ext': 'mp4',
'tbr': format_info.get('bitrate'),
} for format_info in info['videoUrlModels']]
self._sort_formats(formats)
return {
'id': video_id,
'title': info['videoName'],
'thumbnail': info.get('bigHeadImage'),
'creator': info.get('artistNames'),
'duration': info.get('duration'),
'formats': formats,
}
| [
"hagarhosny19@gmail.com"
] | hagarhosny19@gmail.com |
dd14425012d9898f41e0b4d01a2bf77781ef2e0f | dc7cdeecb1ed52a7bdd18cd20c69aa43897f0830 | /tests/test_client.py | 30074fd13d9005482b77f433b0d3db42355a31fb | [
"MIT"
] | permissive | hurricane1260/wechatpy | 421b0a27b78bbb3bcc33bc6e6685b6beacd55dde | 0d7916e1a894f208dcea18b33803751166378c3d | refs/heads/master | 2021-01-17T18:37:14.535895 | 2014-11-02T16:27:31 | 2014-11-02T16:27:31 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,581 | py | # -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
import os
import unittest
import six
from httmock import urlmatch, HTTMock, response
from wechatpy import WeChatClient
from wechatpy._compat import json
_TESTS_PATH = os.path.abspath(os.path.dirname(__file__))
_FIXTURE_PATH = os.path.join(_TESTS_PATH, 'fixtures')
@urlmatch(netloc=r'(.*\.)?api\.weixin\.qq\.com$')
def wechat_api_mock(url, request):
path = url.path.replace('/cgi-bin/', '').replace('/', '_')
res_file = os.path.join(_FIXTURE_PATH, '%s.json' % path)
content = {
'errcode': 99999,
'errmsg': 'can not find fixture'
}
headers = {
'Content-Type': 'application/json'
}
try:
with open(res_file) as f:
content = json.loads(f.read())
except (IOError, ValueError):
pass
return response(200, content, headers, request=request)
class WeChatClientTestCase(unittest.TestCase):
app_id = '123456'
secret = '123456'
def setUp(self):
self.client = WeChatClient(self.app_id, self.secret)
def test_fetch_access_token(self):
with HTTMock(wechat_api_mock):
token = self.client.fetch_access_token()
self.assertEqual('1234567890', token['access_token'])
self.assertEqual(7200, token['expires_in'])
self.assertEqual('1234567890', self.client.access_token)
def test_upload_media(self):
media_file = six.StringIO('nothing')
with HTTMock(wechat_api_mock):
media = self.client.upload_media('image', media_file)
self.assertEqual('image', media['type'])
self.assertEqual('12345678', media['media_id'])
def test_create_group(self):
with HTTMock(wechat_api_mock):
group = self.client.create_group('test')
self.assertEqual(1, group['group']['id'])
self.assertEqual('test', group['group']['name'])
def test_send_text_message(self):
with HTTMock(wechat_api_mock):
result = self.client.send_text_message(1, 'test')
self.assertEqual(0, result['errcode'])
def test_send_image_message(self):
with HTTMock(wechat_api_mock):
result = self.client.send_image_message(1, '123456')
self.assertEqual(0, result['errcode'])
def test_send_voice_message(self):
with HTTMock(wechat_api_mock):
result = self.client.send_voice_message(1, '123456')
self.assertEqual(0, result['errcode'])
def test_send_video_message(self):
with HTTMock(wechat_api_mock):
result = self.client.send_video_message(
1, '123456', 'test', 'test'
)
self.assertEqual(0, result['errcode'])
def test_send_music_message(self):
with HTTMock(wechat_api_mock):
result = self.client.send_music_message(
1, 'http://www.qq.com', 'http://www.qq.com',
'123456', 'test', 'test'
)
self.assertEqual(0, result['errcode'])
def test_send_articles_message(self):
with HTTMock(wechat_api_mock):
articles = [{
'title': 'test',
'description': 'test',
'url': 'http://www.qq.com',
'image': 'http://www.qq.com'
}]
result = self.client.send_articles_message(1, articles)
self.assertEqual(0, result['errcode'])
def test_create_menu(self):
with HTTMock(wechat_api_mock):
result = self.client.create_menu({
'button': [
{
'type': 'click',
'name': 'test',
'key': 'test'
}
]
})
self.assertEqual(0, result['errcode'])
def test_get_menu(self):
with HTTMock(wechat_api_mock):
menu = self.client.get_menu()
self.assertTrue('menu' in menu)
def test_delete_menu(self):
with HTTMock(wechat_api_mock):
result = self.client.delete_menu()
self.assertEqual(0, result['errcode'])
def test_update_menu(self):
with HTTMock(wechat_api_mock):
result = self.client.update_menu({
'button': [
{
'type': 'click',
'name': 'test',
'key': 'test'
}
]
})
self.assertEqual(0, result['errcode'])
| [
"messense@icloud.com"
] | messense@icloud.com |
e6856f744724e6cea8dfb6a8c977e79fefe77c2a | e56214188faae8ebfb36a463e34fc8324935b3c2 | /test/test_workflow_task_definition.py | 6383f9477bc25ea8445ff05bcb735a47813a139b | [
"Apache-2.0"
] | permissive | CiscoUcs/intersight-python | 866d6c63e0cb8c33440771efd93541d679bb1ecc | a92fccb1c8df4332ba1f05a0e784efbb4f2efdc4 | refs/heads/master | 2021-11-07T12:54:41.888973 | 2021-10-25T16:15:50 | 2021-10-25T16:15:50 | 115,440,875 | 25 | 18 | Apache-2.0 | 2020-03-02T16:19:49 | 2017-12-26T17:14:03 | Python | UTF-8 | Python | false | false | 1,947 | py | # coding: utf-8
"""
Cisco Intersight
Cisco Intersight is a management platform delivered as a service with embedded analytics for your Cisco and 3rd party IT infrastructure. This platform offers an intelligent level of management that enables IT organizations to analyze, simplify, and automate their environments in more advanced ways than the prior generations of tools. Cisco Intersight provides an integrated and intuitive management experience for resources in the traditional data center as well as at the edge. With flexible deployment options to address complex security needs, getting started with Intersight is quick and easy. Cisco Intersight has deep integration with Cisco UCS and HyperFlex systems allowing for remote deployment, configuration, and ongoing maintenance. The model-based deployment works for a single system in a remote location or hundreds of systems in a data center and enables rapid, standardized configuration and deployment. It also streamlines maintaining those systems whether you are working with small or very large configurations. # noqa: E501
The version of the OpenAPI document: 1.0.9-1295
Contact: intersight@cisco.com
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import unittest
import intersight
from intersight.models.workflow_task_definition import WorkflowTaskDefinition # noqa: E501
from intersight.rest import ApiException
class TestWorkflowTaskDefinition(unittest.TestCase):
"""WorkflowTaskDefinition unit test stubs"""
def setUp(self):
pass
def tearDown(self):
pass
def testWorkflowTaskDefinition(self):
"""Test WorkflowTaskDefinition"""
# FIXME: construct object with mandatory attributes with example values
# model = intersight.models.workflow_task_definition.WorkflowTaskDefinition() # noqa: E501
pass
if __name__ == '__main__':
unittest.main()
| [
"ucs-build@github.com"
] | ucs-build@github.com |
8ed1681fc62924eb80b4530f47c9b3d96fe5780c | d4f1bd5e52fe8d85d3d0263ede936928d5811bff | /Python/Problem Solving/BOJ/boj4447.py | 78b645da41f81e8c32a268b9227f79879a0f3d92 | [] | no_license | ambosing/PlayGround | 37f7d071c4402599995a50cac1e7f1a85c6d10dd | 0d5262dbb2fa2128ecb3fd969244fa647b104928 | refs/heads/master | 2023-04-08T04:53:31.747838 | 2023-03-23T06:32:47 | 2023-03-23T06:32:47 | 143,112,370 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 312 | py | for _ in range(int(input())):
g_cnt = 0
b_cnt = 0
s = input()
g_cnt = s.count("g") + s.count("G")
b_cnt = s.count("b") + s.count("B")
if g_cnt > b_cnt:
print("%s is GOOD" % s)
elif g_cnt < b_cnt:
print("%s is A BADDY" % s)
else:
print("%s is NEUTRAL" % s)
| [
"ambosing_@naver.com"
] | ambosing_@naver.com |
5bedc972f286c59f96ef05600017bc9acb6d35bf | acb8e84e3b9c987fcab341f799f41d5a5ec4d587 | /langs/9/xac.py | 88dad3260b5a8193be2b8e255bd7c20ce6d9cf58 | [] | no_license | G4te-Keep3r/HowdyHackers | 46bfad63eafe5ac515da363e1c75fa6f4b9bca32 | fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2 | refs/heads/master | 2020-08-01T12:08:10.782018 | 2016-11-13T20:45:50 | 2016-11-13T20:45:50 | 73,624,224 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 486 | py | import sys
def printFunction(lineRemaining):
if lineRemaining[0] == '"' and lineRemaining[-1] == '"':
if len(lineRemaining) > 2:
#data to print
lineRemaining = lineRemaining[1:-1]
print ' '.join(lineRemaining)
else:
print
def main(fileName):
with open(fileName) as f:
for line in f:
data = line.split()
if data[0] == 'xaC':
printFunction(data[1:])
else:
print 'ERROR'
return
if __name__ == '__main__':
main(sys.argv[1]) | [
"juliettaylorswift@gmail.com"
] | juliettaylorswift@gmail.com |
437621c6e78ad2b8f5d18b9dee728605c4e2ab83 | 5b4fe473179b5fadaf59ec96d55b2ec4cb326f65 | /test/runtime/frontend_test/chainer_test/deconvolution_2d_test.py | aefdcd02fcb65a69c034af9228ac2b131f2cd466 | [
"Zlib",
"MIT"
] | permissive | TarrySingh/webdnn | 13d3f1ec4936916abacfb67e270f48571e2fcff2 | b31b19de0798d8ca198b78d19cb06e4fce1bc260 | refs/heads/master | 2021-05-07T02:24:47.500746 | 2017-11-13T13:00:24 | 2017-11-13T13:00:24 | 110,582,816 | 0 | 1 | null | 2017-11-13T18:03:46 | 2017-11-13T18:03:46 | null | UTF-8 | Python | false | false | 1,218 | py | import chainer
import numpy as np
from test.util import generate_kernel_test_case, wrap_template
from webdnn.frontend.chainer.converter import ChainerConverter
@wrap_template
def template(ksize=3, stride=1, pad=0, nobias=True, description=""):
link = chainer.links.Deconvolution2D(4, 10, ksize=ksize, stride=stride, pad=pad, nobias=nobias)
link.W.data = np.random.rand(*link.W.data.shape).astype(np.float32)
vx = chainer.Variable(np.random.rand(*(2, 4, 6, 11)).astype(np.float32))
vy = link(vx)
graph = ChainerConverter().convert([vx], [vy])
x = graph.inputs[0]
y = graph.outputs[0]
generate_kernel_test_case(
description=f"[chainer] L.Deconvolution2D {description}",
graph=graph,
backend=["webgpu", "webgl", "webassembly"],
inputs={x: vx.data},
expected={y: vy.data},
EPS=1e-2
)
def test():
template()
def test_nobias():
template(nobias=True)
def test_irregular_kernel_size():
template(ksize=(3, 4))
def test_irregular_stride_size():
template(stride=(2, 3))
def test_irregular_padding_size():
template(pad=(1, 2))
def test_irregular_size():
template(ksize=(3, 5), stride=(2, 3), pad=(1, 3))
| [
"y.kikura@gmail.com"
] | y.kikura@gmail.com |
b0929f0060f43e6b4f8c23bb6e328c6a8eba810c | 00d7e9321d418a2d9a607fb9376b862119f2bd4e | /utils/html_listdir.py | 95e8bd4b432f439975c4e5bad7b9591c6079d854 | [
"MIT"
] | permissive | baluneboy/pims | 92b9b1f64ed658867186e44b92526867696e1923 | 5a07e02588b1b7c8ebf7458b10e81b8ecf84ad13 | refs/heads/master | 2021-11-16T01:55:39.223910 | 2021-08-13T15:19:48 | 2021-08-13T15:19:48 | 33,029,780 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 898 | py | #!/usr/bin/env python
import os
# customize as needed
def is_hz_file(filename):
return 'hz_' in filename
def createHTML(input_dir, output_html, predicate=None):
files = os.listdir(input_dir)
files.sort(reverse=True)
with open(output_html, "w") as f:
f.write("<html><body><ul>\n")
for filename in files:
fullpath = os.path.join(input_dir, filename).replace('/misc/yoda/www/plots', 'http://pims.grc.nasa.gov/plots')
if predicate:
if predicate(filename):
f.write('<li><a href="%s">%s</a></li>\n' % (fullpath, filename))
else:
f.write('<li><a href="%s">%s</a></li>\n' % (fullpath, filename))
f.write("</ul></body></html>\n")
if __name__ == "__main__":
createHTML('/misc/yoda/www/plots/screenshots', '/misc/yoda/www/plots/user/pims/screenshots.html', predicate=None)
| [
"ken@macmini3.local"
] | ken@macmini3.local |
536c72531fb568599059bffe6a9f02954ffcda14 | efdadd6e203b362531f342129040c592d4078936 | /bin/wheel | 9ae90fd44c2312bf46e13f0888ec161f5fac19d9 | [] | no_license | rameshkonatala/ML_coursera | 7ce57bc1d16f8de1258bbea49ff726145f7dea1b | 6e7413e70da82932834dc88cd52d878f2b4d53da | refs/heads/master | 2021-01-23T07:49:47.588761 | 2017-06-08T09:16:16 | 2017-06-08T09:16:16 | 86,448,418 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 240 | #!/home/ramesh/Desktop/ML_coursera/bin/python2
# -*- coding: utf-8 -*-
import re
import sys
from wheel.tool import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(main())
| [
"konatalaramesh@gmail.com"
] | konatalaramesh@gmail.com | |
c04ae99a874b0f3d9592e05d4a459edae6af9a79 | e4183adfc4ffc9ba7c464160d4fa1ccecdeb6b69 | /scripts/gen_hcd_random.py | ef03523b1be0f9db297e4a755138cded9d5a1eef | [] | no_license | akrherz/LADOT | 0013597e6ef26077b6db08d48cb9f5b4fb6b9d6c | a3a689429dea1713760378f0c353a3a8834abe0a | refs/heads/master | 2016-09-05T15:53:58.668906 | 2015-11-02T21:00:38 | 2015-11-02T21:00:38 | 16,581,711 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,136 | py | """
Generate .hcd file for Pavement Design Guide
YYYYMMDDHH,Temperature (F),Wind speed (mph),% Sun shine, Precipitation,
Relative humidity.
"""
import math
import numpy as np
import netCDF4
import mx.DateTime
import subprocess
periods = [
[mx.DateTime.DateTime(1970,1,1), mx.DateTime.DateTime(1974,12,31)],
[mx.DateTime.DateTime(1975,1,1), mx.DateTime.DateTime(1978,12,31)],
[mx.DateTime.DateTime(1979,1,1), mx.DateTime.DateTime(1982,12,31)],
[mx.DateTime.DateTime(1983,1,1), mx.DateTime.DateTime(1987,12,31)],
[mx.DateTime.DateTime(1988,1,1), mx.DateTime.DateTime(1991,12,31)],
[mx.DateTime.DateTime(1992,1,1), mx.DateTime.DateTime(1996,12,31)],
[mx.DateTime.DateTime(1997,1,1), mx.DateTime.DateTime(2002,12,31)],
[mx.DateTime.DateTime(2003,1,1), mx.DateTime.DateTime(2009,12,31)],
]
# Result of my random sorting [914, 12, 335, 654, 162, 644, 294, 903]
periods2 = [
[mx.DateTime.DateTime(1975,1,1), mx.DateTime.DateTime(1978,12,31,23)],
[mx.DateTime.DateTime(1988,1,1), mx.DateTime.DateTime(1991,12,31,23)],
[mx.DateTime.DateTime(1997,1,1), mx.DateTime.DateTime(2002,12,31,23)],
[mx.DateTime.DateTime(1979,1,1), mx.DateTime.DateTime(1982,12,31,23)],
[mx.DateTime.DateTime(1992,1,1), mx.DateTime.DateTime(1996,12,31,23)],
[mx.DateTime.DateTime(1983,1,1), mx.DateTime.DateTime(1987,12,31,23)],
[mx.DateTime.DateTime(2003,1,1), mx.DateTime.DateTime(2009,12,31,23)],
[mx.DateTime.DateTime(1970,1,1), mx.DateTime.DateTime(1974,12,31,23)],
]
onehour = mx.DateTime.RelativeDateTime(hours=1)
anc = netCDF4.Dataset("../data/asosgrid.nc", 'r')
atmpk = anc.variables['tmpk']
asmps = anc.variables['smps']
askyc = anc.variables['skyc']
arelh = anc.variables['relh']
ap01m = anc.variables['p01m']
cnc = netCDF4.Dataset("../data/coopgrid.nc", 'r')
ahigh = cnc.variables['high']
alow = cnc.variables['low']
ap01d = cnc.variables['p01d']
def hourly_fitter_temp(asos, base, trange):
"""
Use the hourly fit of asos data to do something with the COOP data
"""
weights = (asos - np.min(asos)) / (np.max(asos) - np.min(asos))
#if (base + trange) > 100:
# print
# print trange, base
# print weights
# print base + ( trange * weights )
return base + ( trange * weights )
def hourly_fitter_precip(asos, coop):
"""
Use the hourly fit of asos data to do something with the COOP data
"""
if coop == 0:
return [0.]*len(asos)
if np.sum(asos) == 0 and coop > 0:
asos = [0]*len(asos)
asos[15:19] = [1.,2.,1.,1.] # Fake Storm signature
weights = asos / np.sum( asos )
return coop * weights
def boundschk(val, pval, lower, upper):
v = np.where( val >= lower, val, pval[:len(val)])
v = np.where( v <= upper, v, pval[:len(val)])
return v, v
def k2f(thisk):
return (9.00/5.00 * (thisk - 273.15) ) + 32.00
def computeIJ(lon, lat):
lats = anc.variables['lat'][:]
lons = anc.variables['lon'][:]
mindist = 100000
for j in range(len(lats)):
for i in range(len(lons)):
dist = math.sqrt( (lons[i] - lon)**2 + (lats[j] - lat)**2 )
if dist < mindist:
mindist = dist
mini = i
minj = j
return mini, minj
def runner():
for line in open('../data/station.dat'):
tokens = line.split(",")
stid = tokens[0]
#if stid != '00070':
# continue
lat = float(tokens[3])
lon = float(tokens[4])
gridx, gridy = computeIJ( lon, lat )
print stid, tokens[1], gridx, gridy
s_atmpk = atmpk[:,gridy,gridx]
s_asmps = asmps[:,gridy,gridx]
s_askyc = askyc[:,gridy,gridx]
s_ap01m = ap01m[:,gridy,gridx]
s_arelh = arelh[:,gridy,gridx]
s_high = ahigh[:,gridy,gridx]
s_low = alow[:,gridy,gridx]
s_p01d = ap01d[:,gridy,gridx]
out = open("%s.hcd" % (stid,), 'w')
fmt = ",%.1f,%.1f,%.1f,%.2f,%.1f\n"
sts = mx.DateTime.DateTime(1970,1,1,7)
ets = mx.DateTime.DateTime(2010,1,1,7)
BASE = mx.DateTime.DateTime(1970,1,1,0)
END = mx.DateTime.DateTime(2010,1,1,0)
MAXSZ = int((END - BASE).hours )
MAXDSZ = int((END - BASE).days )
interval = mx.DateTime.RelativeDateTime(days=1)
now = sts
p_tmpf = [0]*24
p_mph = [0]*24
p_psun = [0]*24
p_phour = [0]*24
p_relh = [0]*24
ds = {}
# We need to bootstrap the first 7 hours
tmpf = k2f( s_atmpk[:7] ) # Stored in K
mph = s_asmps[:7] * 2.0
psun = 100. - s_askyc[:7]
phour = s_ap01m[:7] / 25.4 # Convert to inches
relh = s_arelh[:7]
for i in range(len(tmpf)):
ts = now - mx.DateTime.RelativeDateTime(hours=(7-i))
ds[ts] = fmt % ( tmpf[i], mph[i],
psun[i], phour[i], relh[i])
while now < ets:
aoffset1 = int((now - BASE).hours )
aoffset2 = int(((now + mx.DateTime.RelativeDateTime(days=1)) - BASE).hours )
if aoffset1 < 0:
aoffset1 = 0
if aoffset2 >= MAXSZ:
aoffset2 = MAXSZ
coffset = int((now - BASE).days ) + 1
if coffset >= MAXDSZ:
coffset = MAXDSZ - 1
tmpf = k2f( s_atmpk[aoffset1:aoffset2] ) # Stored in K
mph = s_asmps[aoffset1:aoffset2] * 2.0
psun = 100. - s_askyc[aoffset1:aoffset2]
phour = s_ap01m[aoffset1:aoffset2] / 25.4 # Convert to inches
relh = s_arelh[aoffset1:aoffset2]
high = k2f( s_high[coffset] )
low = k2f( s_low[coffset] )
p01d = s_p01d[coffset] / 25.4 # Convert to inches
# we smear the temperature data
tmpf = hourly_fitter_temp(tmpf, low, high - low)
tmpf, p_tmpf = boundschk(tmpf, p_tmpf, -20., 120.)
# we smear the precipitation data
phour = hourly_fitter_precip(phour, p01d)
phour, p_phour = boundschk(phour, p_phour, 0.0, 10.) # 0,10 inches
#if p01d > 4:
# print phour, p01d
# can't touch these
mph, p_mph = boundschk(mph, p_mph, 0.0, 100.)
psun, p_psun = boundschk(psun, p_psun, 0.0, 100.)
relh, p_relh = boundschk(relh, p_relh, 0.0, 100.) # 0,100 %
for i in range(len(tmpf)):
ts = now + mx.DateTime.RelativeDateTime(hours=i)
ds[ts] = fmt % (tmpf[i], mph[i],
psun[i], phour[i], relh[i])
now += interval
# Okay, time for magic shifter...
realts = mx.DateTime.DateTime(1970,1,1,0)
for (sts,ets) in periods:
now = sts
while now <= ets:
out.write( realts.strftime("%Y%m%d%H") + ds[now] )
now += onehour
realts += onehour
out.close()
subprocess.call("python qc_hcd.py %s.hcd" % (stid,), shell=True)
if __name__ == '__main__':
runner()
| [
"akrherz@iastate.edu"
] | akrherz@iastate.edu |
78be2980e4abff671aec736dc918fc381e2e9ae8 | 1d928c3f90d4a0a9a3919a804597aa0a4aab19a3 | /python/matplotlib/2017/12/test_image.py | c66f1f1eecad09909f8a4025a8d4df300252dd2c | [] | no_license | rosoareslv/SED99 | d8b2ff5811e7f0ffc59be066a5a0349a92cbb845 | a062c118f12b93172e31e8ca115ce3f871b64461 | refs/heads/main | 2023-02-22T21:59:02.703005 | 2021-01-28T19:40:51 | 2021-01-28T19:40:51 | 306,497,459 | 1 | 1 | null | 2020-11-24T20:56:18 | 2020-10-23T01:18:07 | null | UTF-8 | Python | false | false | 26,207 | py | from __future__ import absolute_import, division, print_function
import six
from copy import copy
import io
import os
import warnings
import numpy as np
from numpy import ma
from numpy.testing import assert_array_equal
from matplotlib import (
colors, image as mimage, mlab, patches, pyplot as plt,
rc_context, rcParams)
from matplotlib.image import (AxesImage, BboxImage, FigureImage,
NonUniformImage, PcolorImage)
from matplotlib.testing.decorators import image_comparison
from matplotlib.transforms import Bbox, Affine2D, TransformedBbox
import pytest
try:
from PIL import Image
HAS_PIL = True
except ImportError:
HAS_PIL = False
needs_pillow = pytest.mark.xfail(not HAS_PIL, reason='Test requires Pillow')
@image_comparison(baseline_images=['image_interps'], style='mpl20')
def test_image_interps():
'make the basic nearest, bilinear and bicubic interps'
X = np.arange(100)
X = X.reshape(5, 20)
fig = plt.figure()
ax1 = fig.add_subplot(311)
ax1.imshow(X, interpolation='nearest')
ax1.set_title('three interpolations')
ax1.set_ylabel('nearest')
ax2 = fig.add_subplot(312)
ax2.imshow(X, interpolation='bilinear')
ax2.set_ylabel('bilinear')
ax3 = fig.add_subplot(313)
ax3.imshow(X, interpolation='bicubic')
ax3.set_ylabel('bicubic')
@image_comparison(baseline_images=['interp_nearest_vs_none'],
extensions=['pdf', 'svg'], remove_text=True)
def test_interp_nearest_vs_none():
'Test the effect of "nearest" and "none" interpolation'
# Setting dpi to something really small makes the difference very
# visible. This works fine with pdf, since the dpi setting doesn't
# affect anything but images, but the agg output becomes unusably
# small.
rcParams['savefig.dpi'] = 3
X = np.array([[[218, 165, 32], [122, 103, 238]],
[[127, 255, 0], [255, 99, 71]]], dtype=np.uint8)
fig = plt.figure()
ax1 = fig.add_subplot(121)
ax1.imshow(X, interpolation='none')
ax1.set_title('interpolation none')
ax2 = fig.add_subplot(122)
ax2.imshow(X, interpolation='nearest')
ax2.set_title('interpolation nearest')
def do_figimage(suppressComposite):
""" Helper for the next two tests """
fig = plt.figure(figsize=(2,2), dpi=100)
fig.suppressComposite = suppressComposite
x,y = np.ix_(np.arange(100.0)/100.0, np.arange(100.0)/100.0)
z = np.sin(x**2 + y**2 - x*y)
c = np.sin(20*x**2 + 50*y**2)
img = z + c/5
fig.figimage(img, xo=0, yo=0, origin='lower')
fig.figimage(img[::-1,:], xo=0, yo=100, origin='lower')
fig.figimage(img[:,::-1], xo=100, yo=0, origin='lower')
fig.figimage(img[::-1,::-1], xo=100, yo=100, origin='lower')
@image_comparison(baseline_images=['figimage-0'],
extensions=['png','pdf'])
def test_figimage0():
'test the figimage method'
suppressComposite = False
do_figimage(suppressComposite)
@image_comparison(baseline_images=['figimage-1'],
extensions=['png','pdf'])
def test_figimage1():
'test the figimage method'
suppressComposite = True
do_figimage(suppressComposite)
def test_image_python_io():
fig = plt.figure()
ax = fig.add_subplot(111)
ax.plot([1,2,3])
buffer = io.BytesIO()
fig.savefig(buffer)
buffer.seek(0)
plt.imread(buffer)
@needs_pillow
def test_imread_pil_uint16():
img = plt.imread(os.path.join(os.path.dirname(__file__),
'baseline_images', 'test_image', 'uint16.tif'))
assert (img.dtype == np.uint16)
assert np.sum(img) == 134184960
def test_imsave():
# The goal here is that the user can specify an output logical DPI
# for the image, but this will not actually add any extra pixels
# to the image, it will merely be used for metadata purposes.
# So we do the traditional case (dpi == 1), and the new case (dpi
# == 100) and read the resulting PNG files back in and make sure
# the data is 100% identical.
from numpy import random
random.seed(1)
data = random.rand(256, 128)
buff_dpi1 = io.BytesIO()
plt.imsave(buff_dpi1, data, dpi=1)
buff_dpi100 = io.BytesIO()
plt.imsave(buff_dpi100, data, dpi=100)
buff_dpi1.seek(0)
arr_dpi1 = plt.imread(buff_dpi1)
buff_dpi100.seek(0)
arr_dpi100 = plt.imread(buff_dpi100)
assert arr_dpi1.shape == (256, 128, 4)
assert arr_dpi100.shape == (256, 128, 4)
assert_array_equal(arr_dpi1, arr_dpi100)
def test_imsave_color_alpha():
# Test that imsave accept arrays with ndim=3 where the third dimension is
# color and alpha without raising any exceptions, and that the data is
# acceptably preserved through a save/read roundtrip.
from numpy import random
random.seed(1)
for origin in ['lower', 'upper']:
data = random.rand(16, 16, 4)
buff = io.BytesIO()
plt.imsave(buff, data, origin=origin)
buff.seek(0)
arr_buf = plt.imread(buff)
# Recreate the float -> uint8 conversion of the data
# We can only expect to be the same with 8 bits of precision,
# since that's what the PNG file used.
data = (255*data).astype('uint8')
if origin == 'lower':
data = data[::-1]
arr_buf = (255*arr_buf).astype('uint8')
assert_array_equal(data, arr_buf)
@image_comparison(baseline_images=['image_alpha'], remove_text=True)
def test_image_alpha():
plt.figure()
np.random.seed(0)
Z = np.random.rand(6, 6)
plt.subplot(131)
plt.imshow(Z, alpha=1.0, interpolation='none')
plt.subplot(132)
plt.imshow(Z, alpha=0.5, interpolation='none')
plt.subplot(133)
plt.imshow(Z, alpha=0.5, interpolation='nearest')
def test_cursor_data():
from matplotlib.backend_bases import MouseEvent
fig, ax = plt.subplots()
im = ax.imshow(np.arange(100).reshape(10, 10), origin='upper')
x, y = 4, 4
xdisp, ydisp = ax.transData.transform_point([x, y])
event = MouseEvent('motion_notify_event', fig.canvas, xdisp, ydisp)
assert im.get_cursor_data(event) == 44
# Now try for a point outside the image
# Tests issue #4957
x, y = 10.1, 4
xdisp, ydisp = ax.transData.transform_point([x, y])
event = MouseEvent('motion_notify_event', fig.canvas, xdisp, ydisp)
assert im.get_cursor_data(event) is None
# Hmm, something is wrong here... I get 0, not None...
# But, this works further down in the tests with extents flipped
#x, y = 0.1, -0.1
#xdisp, ydisp = ax.transData.transform_point([x, y])
#event = MouseEvent('motion_notify_event', fig.canvas, xdisp, ydisp)
#z = im.get_cursor_data(event)
#assert z is None, "Did not get None, got %d" % z
ax.clear()
# Now try with the extents flipped.
im = ax.imshow(np.arange(100).reshape(10, 10), origin='lower')
x, y = 4, 4
xdisp, ydisp = ax.transData.transform_point([x, y])
event = MouseEvent('motion_notify_event', fig.canvas, xdisp, ydisp)
assert im.get_cursor_data(event) == 44
fig, ax = plt.subplots()
im = ax.imshow(np.arange(100).reshape(10, 10), extent=[0, 0.5, 0, 0.5])
x, y = 0.25, 0.25
xdisp, ydisp = ax.transData.transform_point([x, y])
event = MouseEvent('motion_notify_event', fig.canvas, xdisp, ydisp)
assert im.get_cursor_data(event) == 55
# Now try for a point outside the image
# Tests issue #4957
x, y = 0.75, 0.25
xdisp, ydisp = ax.transData.transform_point([x, y])
event = MouseEvent('motion_notify_event', fig.canvas, xdisp, ydisp)
assert im.get_cursor_data(event) is None
x, y = 0.01, -0.01
xdisp, ydisp = ax.transData.transform_point([x, y])
event = MouseEvent('motion_notify_event', fig.canvas, xdisp, ydisp)
assert im.get_cursor_data(event) is None
@image_comparison(baseline_images=['image_clip'], style='mpl20')
def test_image_clip():
d = [[1, 2], [3, 4]]
fig, ax = plt.subplots()
im = ax.imshow(d)
patch = patches.Circle((0, 0), radius=1, transform=ax.transData)
im.set_clip_path(patch)
@image_comparison(baseline_images=['image_cliprect'], style='mpl20')
def test_image_cliprect():
import matplotlib.patches as patches
fig = plt.figure()
ax = fig.add_subplot(111)
d = [[1,2],[3,4]]
im = ax.imshow(d, extent=(0,5,0,5))
rect = patches.Rectangle(xy=(1,1), width=2, height=2, transform=im.axes.transData)
im.set_clip_path(rect)
@image_comparison(baseline_images=['imshow'], remove_text=True, style='mpl20')
def test_imshow():
import numpy as np
import matplotlib.pyplot as plt
fig = plt.figure()
arr = np.arange(100).reshape((10, 10))
ax = fig.add_subplot(111)
ax.imshow(arr, interpolation="bilinear", extent=(1,2,1,2))
ax.set_xlim(0,3)
ax.set_ylim(0,3)
@image_comparison(baseline_images=['no_interpolation_origin'],
remove_text=True)
def test_no_interpolation_origin():
fig = plt.figure()
ax = fig.add_subplot(211)
ax.imshow(np.arange(100).reshape((2, 50)), origin="lower",
interpolation='none')
ax = fig.add_subplot(212)
ax.imshow(np.arange(100).reshape((2, 50)), interpolation='none')
@image_comparison(baseline_images=['image_shift'], remove_text=True,
extensions=['pdf', 'svg'])
def test_image_shift():
from matplotlib.colors import LogNorm
imgData = [[1.0/(x) + 1.0/(y) for x in range(1,100)] for y in range(1,100)]
tMin=734717.945208
tMax=734717.946366
fig = plt.figure()
ax = fig.add_subplot(111)
ax.imshow(imgData, norm=LogNorm(), interpolation='none',
extent=(tMin, tMax, 1, 100))
ax.set_aspect('auto')
def test_image_edges():
f = plt.figure(figsize=[1, 1])
ax = f.add_axes([0, 0, 1, 1], frameon=False)
data = np.tile(np.arange(12), 15).reshape(20, 9)
im = ax.imshow(data, origin='upper', extent=[-10, 10, -10, 10],
interpolation='none', cmap='gray')
x = y = 2
ax.set_xlim([-x, x])
ax.set_ylim([-y, y])
ax.set_xticks([])
ax.set_yticks([])
buf = io.BytesIO()
f.savefig(buf, facecolor=(0, 1, 0))
buf.seek(0)
im = plt.imread(buf)
r, g, b, a = sum(im[:, 0])
r, g, b, a = sum(im[:, -1])
assert g != 100, 'Expected a non-green edge - but sadly, it was.'
@image_comparison(baseline_images=['image_composite_background'],
remove_text=True,
style='mpl20')
def test_image_composite_background():
fig = plt.figure()
ax = fig.add_subplot(111)
arr = np.arange(12).reshape(4, 3)
ax.imshow(arr, extent=[0, 2, 15, 0])
ax.imshow(arr, extent=[4, 6, 15, 0])
ax.set_facecolor((1, 0, 0, 0.5))
ax.set_xlim([0, 12])
@image_comparison(baseline_images=['image_composite_alpha'],
remove_text=True)
def test_image_composite_alpha():
"""
Tests that the alpha value is recognized and correctly applied in the
process of compositing images together.
"""
fig = plt.figure()
ax = fig.add_subplot(111)
arr = np.zeros((11, 21, 4))
arr[:, :, 0] = 1
arr[:, :, 3] = np.concatenate((np.arange(0, 1.1, 0.1), np.arange(0, 1, 0.1)[::-1]))
arr2 = np.zeros((21, 11, 4))
arr2[:, :, 0] = 1
arr2[:, :, 1] = 1
arr2[:, :, 3] = np.concatenate((np.arange(0, 1.1, 0.1), np.arange(0, 1, 0.1)[::-1]))[:, np.newaxis]
ax.imshow(arr, extent=[1, 2, 5, 0], alpha=0.3)
ax.imshow(arr, extent=[2, 3, 5, 0], alpha=0.6)
ax.imshow(arr, extent=[3, 4, 5, 0])
ax.imshow(arr2, extent=[0, 5, 1, 2])
ax.imshow(arr2, extent=[0, 5, 2, 3], alpha=0.6)
ax.imshow(arr2, extent=[0, 5, 3, 4], alpha=0.3)
ax.set_facecolor((0, 0.5, 0, 1))
ax.set_xlim([0, 5])
ax.set_ylim([5, 0])
@image_comparison(baseline_images=['rasterize_10dpi'],
extensions=['pdf', 'svg'],
remove_text=True, style='mpl20')
def test_rasterize_dpi():
# This test should check rasterized rendering with high output resolution.
# It plots a rasterized line and a normal image with implot. So it will catch
# when images end up in the wrong place in case of non-standard dpi setting.
# Instead of high-res rasterization i use low-res. Therefore the fact that the
# resolution is non-standard is easily checked by image_comparison.
import numpy as np
import matplotlib.pyplot as plt
img = np.asarray([[1, 2], [3, 4]])
fig, axes = plt.subplots(1, 3, figsize = (3, 1))
axes[0].imshow(img)
axes[1].plot([0,1],[0,1], linewidth=20., rasterized=True)
axes[1].set(xlim = (0,1), ylim = (-1, 2))
axes[2].plot([0,1],[0,1], linewidth=20.)
axes[2].set(xlim = (0,1), ylim = (-1, 2))
# Low-dpi PDF rasterization errors prevent proper image comparison tests.
# Hide detailed structures like the axes spines.
for ax in axes:
ax.set_xticks([])
ax.set_yticks([])
for spine in ax.spines.values():
spine.set_visible(False)
rcParams['savefig.dpi'] = 10
@image_comparison(baseline_images=['bbox_image_inverted'], remove_text=True,
style='mpl20')
def test_bbox_image_inverted():
# This is just used to produce an image to feed to BboxImage
image = np.arange(100).reshape((10, 10))
ax = plt.subplot(111)
bbox_im = BboxImage(
TransformedBbox(Bbox([[100, 100], [0, 0]]), ax.transData))
bbox_im.set_data(image)
bbox_im.set_clip_on(False)
ax.set_xlim(0, 100)
ax.set_ylim(0, 100)
ax.add_artist(bbox_im)
image = np.identity(10)
bbox_im = BboxImage(
TransformedBbox(Bbox([[0.1, 0.2], [0.3, 0.25]]), ax.figure.transFigure))
bbox_im.set_data(image)
bbox_im.set_clip_on(False)
ax.add_artist(bbox_im)
def test_get_window_extent_for_AxisImage():
# Create a figure of known size (1000x1000 pixels), place an image
# object at a given location and check that get_window_extent()
# returns the correct bounding box values (in pixels).
im = np.array([[0.25, 0.75, 1.0, 0.75], [0.1, 0.65, 0.5, 0.4], \
[0.6, 0.3, 0.0, 0.2], [0.7, 0.9, 0.4, 0.6]])
fig = plt.figure(figsize=(10, 10), dpi=100)
ax = plt.subplot()
ax.set_position([0, 0, 1, 1])
ax.set_xlim(0, 1)
ax.set_ylim(0, 1)
im_obj = ax.imshow(im, extent=[0.4, 0.7, 0.2, 0.9], interpolation='nearest')
fig.canvas.draw()
renderer = fig.canvas.renderer
im_bbox = im_obj.get_window_extent(renderer)
assert_array_equal(im_bbox.get_points(), [[400, 200], [700, 900]])
@image_comparison(baseline_images=['zoom_and_clip_upper_origin'],
remove_text=True,
extensions=['png'],
style='mpl20')
def test_zoom_and_clip_upper_origin():
image = np.arange(100)
image = image.reshape((10, 10))
fig = plt.figure()
ax = fig.add_subplot(111)
ax.imshow(image)
ax.set_ylim(2.0, -0.5)
ax.set_xlim(-0.5, 2.0)
def test_nonuniformimage_setcmap():
ax = plt.gca()
im = NonUniformImage(ax)
im.set_cmap('Blues')
def test_nonuniformimage_setnorm():
ax = plt.gca()
im = NonUniformImage(ax)
im.set_norm(plt.Normalize())
@needs_pillow
def test_jpeg_alpha():
plt.figure(figsize=(1, 1), dpi=300)
# Create an image that is all black, with a gradient from 0-1 in
# the alpha channel from left to right.
im = np.zeros((300, 300, 4), dtype=float)
im[..., 3] = np.linspace(0.0, 1.0, 300)
plt.figimage(im)
buff = io.BytesIO()
with rc_context({'savefig.facecolor': 'red'}):
plt.savefig(buff, transparent=True, format='jpg', dpi=300)
buff.seek(0)
image = Image.open(buff)
# If this fails, there will be only one color (all black). If this
# is working, we should have all 256 shades of grey represented.
num_colors = len(image.getcolors(256))
assert 175 <= num_colors <= 185
# The fully transparent part should be red.
corner_pixel = image.getpixel((0, 0))
assert corner_pixel == (254, 0, 0)
def test_nonuniformimage_setdata():
ax = plt.gca()
im = NonUniformImage(ax)
x = np.arange(3, dtype=float)
y = np.arange(4, dtype=float)
z = np.arange(12, dtype=float).reshape((4, 3))
im.set_data(x, y, z)
x[0] = y[0] = z[0, 0] = 9.9
assert im._A[0, 0] == im._Ax[0] == im._Ay[0] == 0, 'value changed'
def test_axesimage_setdata():
ax = plt.gca()
im = AxesImage(ax)
z = np.arange(12, dtype=float).reshape((4, 3))
im.set_data(z)
z[0, 0] = 9.9
assert im._A[0, 0] == 0, 'value changed'
def test_figureimage_setdata():
fig = plt.gcf()
im = FigureImage(fig)
z = np.arange(12, dtype=float).reshape((4, 3))
im.set_data(z)
z[0, 0] = 9.9
assert im._A[0, 0] == 0, 'value changed'
def test_pcolorimage_setdata():
ax = plt.gca()
im = PcolorImage(ax)
x = np.arange(3, dtype=float)
y = np.arange(4, dtype=float)
z = np.arange(6, dtype=float).reshape((3, 2))
im.set_data(x, y, z)
x[0] = y[0] = z[0, 0] = 9.9
assert im._A[0, 0] == im._Ax[0] == im._Ay[0] == 0, 'value changed'
def test_pcolorimage_extent():
im = plt.hist2d([1, 2, 3], [3, 5, 6],
bins=[[0, 3, 7], [1, 2, 3]])[-1]
assert im.get_extent() == (0, 7, 1, 3)
def test_minimized_rasterized():
# This ensures that the rasterized content in the colorbars is
# only as thick as the colorbar, and doesn't extend to other parts
# of the image. See #5814. While the original bug exists only
# in Postscript, the best way to detect it is to generate SVG
# and then parse the output to make sure the two colorbar images
# are the same size.
from xml.etree import ElementTree
np.random.seed(0)
data = np.random.rand(10, 10)
fig, ax = plt.subplots(1, 2)
p1 = ax[0].pcolormesh(data)
p2 = ax[1].pcolormesh(data)
plt.colorbar(p1, ax=ax[0])
plt.colorbar(p2, ax=ax[1])
buff = io.BytesIO()
plt.savefig(buff, format='svg')
buff = io.BytesIO(buff.getvalue())
tree = ElementTree.parse(buff)
width = None
for image in tree.iter('image'):
if width is None:
width = image['width']
else:
if image['width'] != width:
assert False
@pytest.mark.network
def test_load_from_url():
req = six.moves.urllib.request.urlopen(
"http://matplotlib.org/_static/logo_sidebar_horiz.png")
Z = plt.imread(req)
@image_comparison(baseline_images=['log_scale_image'],
remove_text=True)
# The recwarn fixture captures a warning in image_comparison.
def test_log_scale_image(recwarn):
Z = np.zeros((10, 10))
Z[::2] = 1
fig = plt.figure()
ax = fig.add_subplot(111)
ax.imshow(Z, extent=[1, 100, 1, 100], cmap='viridis',
vmax=1, vmin=-1)
ax.set_yscale('log')
@image_comparison(baseline_images=['rotate_image'],
remove_text=True)
def test_rotate_image():
delta = 0.25
x = y = np.arange(-3.0, 3.0, delta)
X, Y = np.meshgrid(x, y)
Z1 = mlab.bivariate_normal(X, Y, 1.0, 1.0, 0.0, 0.0)
Z2 = mlab.bivariate_normal(X, Y, 1.5, 0.5, 1, 1)
Z = Z2 - Z1 # difference of Gaussians
fig, ax1 = plt.subplots(1, 1)
im1 = ax1.imshow(Z, interpolation='none', cmap='viridis',
origin='lower',
extent=[-2, 4, -3, 2], clip_on=True)
trans_data2 = Affine2D().rotate_deg(30) + ax1.transData
im1.set_transform(trans_data2)
# display intended extent of the image
x1, x2, y1, y2 = im1.get_extent()
ax1.plot([x1, x2, x2, x1, x1], [y1, y1, y2, y2, y1], "r--", lw=3,
transform=trans_data2)
ax1.set_xlim(2, 5)
ax1.set_ylim(0, 4)
def test_image_preserve_size():
buff = io.BytesIO()
im = np.zeros((481, 321))
plt.imsave(buff, im)
buff.seek(0)
img = plt.imread(buff)
assert img.shape[:2] == im.shape
def test_image_preserve_size2():
n = 7
data = np.identity(n, float)
fig = plt.figure(figsize=(n, n), frameon=False)
ax = plt.Axes(fig, [0.0, 0.0, 1.0, 1.0])
ax.set_axis_off()
fig.add_axes(ax)
ax.imshow(data, interpolation='nearest', origin='lower',aspect='auto')
buff = io.BytesIO()
fig.savefig(buff, dpi=1)
buff.seek(0)
img = plt.imread(buff)
assert img.shape == (7, 7, 4)
assert_array_equal(np.asarray(img[:, :, 0], bool),
np.identity(n, bool)[::-1])
@image_comparison(baseline_images=['mask_image_over_under'],
remove_text=True, extensions=['png'])
def test_mask_image_over_under():
delta = 0.025
x = y = np.arange(-3.0, 3.0, delta)
X, Y = np.meshgrid(x, y)
Z1 = mlab.bivariate_normal(X, Y, 1.0, 1.0, 0.0, 0.0)
Z2 = mlab.bivariate_normal(X, Y, 1.5, 0.5, 1, 1)
Z = 10*(Z2 - Z1) # difference of Gaussians
palette = copy(plt.cm.gray)
palette.set_over('r', 1.0)
palette.set_under('g', 1.0)
palette.set_bad('b', 1.0)
Zm = ma.masked_where(Z > 1.2, Z)
fig, (ax1, ax2) = plt.subplots(1, 2)
im = ax1.imshow(Zm, interpolation='bilinear',
cmap=palette,
norm=colors.Normalize(vmin=-1.0, vmax=1.0, clip=False),
origin='lower', extent=[-3, 3, -3, 3])
ax1.set_title('Green=low, Red=high, Blue=bad')
fig.colorbar(im, extend='both', orientation='horizontal',
ax=ax1, aspect=10)
im = ax2.imshow(Zm, interpolation='nearest',
cmap=palette,
norm=colors.BoundaryNorm([-1, -0.5, -0.2, 0, 0.2, 0.5, 1],
ncolors=256, clip=False),
origin='lower', extent=[-3, 3, -3, 3])
ax2.set_title('With BoundaryNorm')
fig.colorbar(im, extend='both', spacing='proportional',
orientation='horizontal', ax=ax2, aspect=10)
@image_comparison(baseline_images=['mask_image'],
remove_text=True)
def test_mask_image():
# Test mask image two ways: Using nans and using a masked array.
fig, (ax1, ax2) = plt.subplots(1, 2)
A = np.ones((5, 5))
A[1:2, 1:2] = np.nan
ax1.imshow(A, interpolation='nearest')
A = np.zeros((5, 5), dtype=bool)
A[1:2, 1:2] = True
A = np.ma.masked_array(np.ones((5, 5), dtype=np.uint16), A)
ax2.imshow(A, interpolation='nearest')
@image_comparison(baseline_images=['imshow_endianess'],
remove_text=True, extensions=['png'])
def test_imshow_endianess():
x = np.arange(10)
X, Y = np.meshgrid(x, x)
Z = ((X-5)**2 + (Y-5)**2)**0.5
fig, (ax1, ax2) = plt.subplots(1, 2)
kwargs = dict(origin="lower", interpolation='nearest',
cmap='viridis')
ax1.imshow(Z.astype('<f8'), **kwargs)
ax2.imshow(Z.astype('>f8'), **kwargs)
@image_comparison(baseline_images=['imshow_masked_interpolation'],
remove_text=True, style='mpl20')
def test_imshow_masked_interpolation():
cm = copy(plt.get_cmap('viridis'))
cm.set_over('r')
cm.set_under('b')
cm.set_bad('k')
N = 20
n = colors.Normalize(vmin=0, vmax=N*N-1)
# data = np.random.random((N, N))*N*N
data = np.arange(N*N, dtype='float').reshape(N, N)
data[5, 5] = -1
# This will cause crazy ringing for the higher-order
# interpolations
data[15, 5] = 1e5
# data[3, 3] = np.nan
data[15, 15] = np.inf
mask = np.zeros_like(data).astype('bool')
mask[5, 15] = True
data = np.ma.masked_array(data, mask)
fig, ax_grid = plt.subplots(3, 6)
for interp, ax in zip(sorted(mimage._interpd_), ax_grid.ravel()):
ax.set_title(interp)
ax.imshow(data, norm=n, cmap=cm, interpolation=interp)
ax.axis('off')
def test_imshow_no_warn_invalid():
with warnings.catch_warnings(record=True) as warns:
warnings.simplefilter("always")
plt.imshow([[1, 2], [3, np.nan]])
assert len(warns) == 0
@image_comparison(baseline_images=['imshow_flatfield'],
remove_text=True, style='mpl20',
extensions=['png'])
def test_imshow_flatfield():
fig, ax = plt.subplots()
im = ax.imshow(np.ones((5, 5)))
im.set_clim(.5, 1.5)
@pytest.mark.parametrize(
"make_norm",
[colors.Normalize,
colors.LogNorm,
lambda: colors.SymLogNorm(1),
lambda: colors.PowerNorm(1)])
def test_empty_imshow(make_norm):
fig, ax = plt.subplots()
with warnings.catch_warnings():
warnings.filterwarnings(
"ignore", "Attempting to set identical left==right")
im = ax.imshow([[]], norm=make_norm())
im.set_extent([-5, 5, -5, 5])
fig.canvas.draw()
with pytest.raises(RuntimeError):
im.make_image(fig._cachedRenderer)
def test_imshow_float128():
fig, ax = plt.subplots()
ax.imshow(np.zeros((3, 3), dtype=np.longdouble))
def test_imshow_bool():
fig, ax = plt.subplots()
ax.imshow(np.array([[True, False], [False, True]], dtype=bool))
def test_imshow_deprecated_interd_warn():
im = plt.imshow([[1, 2], [3, np.nan]])
for k in ('_interpd', '_interpdr', 'iterpnames'):
with warnings.catch_warnings(record=True) as warns:
getattr(im, k)
assert len(warns) == 1
def test_full_invalid():
x = np.ones((10, 10))
x[:] = np.nan
f, ax = plt.subplots()
ax.imshow(x)
f.canvas.draw()
@pytest.mark.parametrize("fmt,counted",
[("ps", b" colorimage"), ("svg", b"<image")])
@pytest.mark.parametrize("composite_image,count", [(True, 1), (False, 2)])
def test_composite(fmt, counted, composite_image, count):
# Test that figures can be saved with and without combining multiple images
# (on a single set of axes) into a single composite image.
X, Y = np.meshgrid(np.arange(-5, 5, 1), np.arange(-5, 5, 1))
Z = np.sin(Y ** 2)
fig = plt.figure()
ax = fig.add_subplot(1, 1, 1)
ax.set_xlim(0, 3)
ax.imshow(Z, extent=[0, 1, 0, 1])
ax.imshow(Z[::-1], extent=[2, 3, 0, 1])
plt.rcParams['image.composite_image'] = composite_image
buf = io.BytesIO()
fig.savefig(buf, format=fmt)
assert buf.getvalue().count(counted) == count
| [
"rodrigosoaresilva@gmail.com"
] | rodrigosoaresilva@gmail.com |
6427606cdfb9e8ac014d88fa3a9a64784d4caf6e | 0a2cc497665f2a14460577f129405f6e4f793791 | /sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/test_detection_config_async.py | 3b7c25326bf9cc5cd045fe1e2a69425c332810d0 | [
"MIT",
"LGPL-2.1-or-later",
"LicenseRef-scancode-generic-cla"
] | permissive | hivyas/azure-sdk-for-python | 112158aa9e1dd6e30cf6b3dde19f5db6ea2a577b | 8b3258fa45f5dc25236c22ad950e48aa4e1c181c | refs/heads/master | 2023-06-17T12:01:26.392186 | 2021-05-18T19:56:01 | 2021-05-18T19:56:01 | 313,761,277 | 1 | 1 | MIT | 2020-12-02T17:48:22 | 2020-11-17T22:42:00 | Python | UTF-8 | Python | false | false | 59,013 | py | # -------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
# --------------------------------------------------------------------------
import pytest
from devtools_testutils import AzureTestCase
from azure.core.exceptions import ResourceNotFoundError
from azure.ai.metricsadvisor.models import (
MetricDetectionCondition,
MetricSeriesGroupDetectionCondition,
MetricSingleSeriesDetectionCondition,
SmartDetectionCondition,
SuppressCondition,
ChangeThresholdCondition,
HardThresholdCondition,
)
from base_testcase_async import TestMetricsAdvisorAdministrationClientBaseAsync
class TestMetricsAdvisorAdministrationClientAsync(TestMetricsAdvisorAdministrationClientBaseAsync):
@AzureTestCase.await_prepared_test
async def test_create_ad_config_whole_series_detection(self):
data_feed = await self._create_data_feed("adconfigasync")
async with self.admin_client:
try:
detection_config_name = self.create_random_name("testdetectionconfigasync")
config = await self.admin_client.create_detection_configuration(
name=detection_config_name,
metric_id=data_feed.metric_ids['cost'],
description="My test metric anomaly detection configuration",
whole_series_detection_condition=MetricDetectionCondition(
cross_conditions_operator="OR",
smart_detection_condition=SmartDetectionCondition(
sensitivity=50,
anomaly_detector_direction="Both",
suppress_condition=SuppressCondition(
min_number=50,
min_ratio=50
)
),
hard_threshold_condition=HardThresholdCondition(
anomaly_detector_direction="Both",
suppress_condition=SuppressCondition(
min_number=5,
min_ratio=5
),
lower_bound=0,
upper_bound=100
),
change_threshold_condition=ChangeThresholdCondition(
change_percentage=50,
shift_point=30,
within_range=True,
anomaly_detector_direction="Both",
suppress_condition=SuppressCondition(
min_number=2,
min_ratio=2
)
)
)
)
self.assertIsNotNone(config.id)
self.assertEqual(config.metric_id, data_feed.metric_ids['cost'])
self.assertEqual(config.description, "My test metric anomaly detection configuration")
self.assertIsNotNone(config.name)
self.assertIsNone(config.series_detection_conditions)
self.assertIsNone(config.series_group_detection_conditions)
self.assertEqual(config.whole_series_detection_condition.cross_conditions_operator, "OR")
self.assertEqual(
config.whole_series_detection_condition.change_threshold_condition.anomaly_detector_direction, "Both")
self.assertEqual(config.whole_series_detection_condition.change_threshold_condition.change_percentage, 50)
self.assertEqual(config.whole_series_detection_condition.change_threshold_condition.shift_point, 30)
self.assertTrue(config.whole_series_detection_condition.change_threshold_condition.within_range)
self.assertEqual(
config.whole_series_detection_condition.change_threshold_condition.suppress_condition.min_number, 2)
self.assertEqual(
config.whole_series_detection_condition.change_threshold_condition.suppress_condition.min_ratio, 2)
self.assertEqual(
config.whole_series_detection_condition.hard_threshold_condition.anomaly_detector_direction, "Both")
self.assertEqual(config.whole_series_detection_condition.hard_threshold_condition.lower_bound, 0)
self.assertEqual(config.whole_series_detection_condition.hard_threshold_condition.upper_bound, 100)
self.assertEqual(
config.whole_series_detection_condition.hard_threshold_condition.suppress_condition.min_number, 5)
self.assertEqual(
config.whole_series_detection_condition.hard_threshold_condition.suppress_condition.min_ratio, 5)
self.assertEqual(
config.whole_series_detection_condition.smart_detection_condition.anomaly_detector_direction, "Both")
self.assertEqual(config.whole_series_detection_condition.smart_detection_condition.sensitivity, 50)
self.assertEqual(
config.whole_series_detection_condition.smart_detection_condition.suppress_condition.min_number, 50)
self.assertEqual(
config.whole_series_detection_condition.smart_detection_condition.suppress_condition.min_ratio, 50)
await self.admin_client.delete_detection_configuration(config.id)
with self.assertRaises(ResourceNotFoundError):
await self.admin_client.get_detection_configuration(config.id)
finally:
await self.admin_client.delete_data_feed(data_feed.id)
@AzureTestCase.await_prepared_test
async def test_create_ad_config_with_series_and_group_conds(self):
data_feed = await self._create_data_feed("adconfiggetasync")
async with self.admin_client:
try:
detection_config_name = self.create_random_name("testdetectionconfigetasync")
detection_config = await self.admin_client.create_detection_configuration(
name=detection_config_name,
metric_id=data_feed.metric_ids['cost'],
description="My test metric anomaly detection configuration",
whole_series_detection_condition=MetricDetectionCondition(
cross_conditions_operator="AND",
smart_detection_condition=SmartDetectionCondition(
sensitivity=50,
anomaly_detector_direction="Both",
suppress_condition=SuppressCondition(
min_number=50,
min_ratio=50
)
),
hard_threshold_condition=HardThresholdCondition(
anomaly_detector_direction="Both",
suppress_condition=SuppressCondition(
min_number=5,
min_ratio=5
),
lower_bound=0,
upper_bound=100
),
change_threshold_condition=ChangeThresholdCondition(
change_percentage=50,
shift_point=30,
within_range=True,
anomaly_detector_direction="Both",
suppress_condition=SuppressCondition(
min_number=2,
min_ratio=2
)
)
),
series_detection_conditions=[MetricSingleSeriesDetectionCondition(
series_key={"city": "Shenzhen", "category": "Jewelry"},
smart_detection_condition=SmartDetectionCondition(
anomaly_detector_direction="Both",
sensitivity=63,
suppress_condition=SuppressCondition(
min_number=1,
min_ratio=100
)
)
)],
series_group_detection_conditions=[MetricSeriesGroupDetectionCondition(
series_group_key={"city": "Sao Paulo"},
smart_detection_condition=SmartDetectionCondition(
anomaly_detector_direction="Both",
sensitivity=63,
suppress_condition=SuppressCondition(
min_number=1,
min_ratio=100
)
)
)]
)
self.assertIsNotNone(detection_config.id)
self.assertEqual(detection_config.metric_id, data_feed.metric_ids['cost'])
self.assertEqual(detection_config.description, "My test metric anomaly detection configuration")
self.assertIsNotNone(detection_config.name)
self.assertEqual(detection_config.whole_series_detection_condition.cross_conditions_operator, "AND")
self.assertEqual(
detection_config.whole_series_detection_condition.change_threshold_condition.anomaly_detector_direction, "Both")
self.assertEqual(detection_config.whole_series_detection_condition.change_threshold_condition.change_percentage, 50)
self.assertEqual(detection_config.whole_series_detection_condition.change_threshold_condition.shift_point, 30)
self.assertTrue(detection_config.whole_series_detection_condition.change_threshold_condition.within_range)
self.assertEqual(
detection_config.whole_series_detection_condition.change_threshold_condition.suppress_condition.min_number, 2)
self.assertEqual(
detection_config.whole_series_detection_condition.change_threshold_condition.suppress_condition.min_ratio, 2)
self.assertEqual(
detection_config.whole_series_detection_condition.hard_threshold_condition.anomaly_detector_direction, "Both")
self.assertEqual(detection_config.whole_series_detection_condition.hard_threshold_condition.lower_bound, 0)
self.assertEqual(detection_config.whole_series_detection_condition.hard_threshold_condition.upper_bound, 100)
self.assertEqual(
detection_config.whole_series_detection_condition.hard_threshold_condition.suppress_condition.min_number, 5)
self.assertEqual(
detection_config.whole_series_detection_condition.hard_threshold_condition.suppress_condition.min_ratio, 5)
self.assertEqual(
detection_config.whole_series_detection_condition.smart_detection_condition.anomaly_detector_direction, "Both")
self.assertEqual(detection_config.whole_series_detection_condition.smart_detection_condition.sensitivity, 50)
self.assertEqual(
detection_config.whole_series_detection_condition.smart_detection_condition.suppress_condition.min_number, 50)
self.assertEqual(
detection_config.whole_series_detection_condition.smart_detection_condition.suppress_condition.min_ratio, 50)
self.assertEqual(
detection_config.series_detection_conditions[0].smart_detection_condition.suppress_condition.min_ratio, 100)
self.assertEqual(
detection_config.series_detection_conditions[0].smart_detection_condition.suppress_condition.min_number, 1)
self.assertEqual(
detection_config.series_detection_conditions[0].smart_detection_condition.sensitivity, 63)
self.assertEqual(
detection_config.series_detection_conditions[0].smart_detection_condition.anomaly_detector_direction, "Both")
self.assertEqual(
detection_config.series_detection_conditions[0].series_key, {'city': 'Shenzhen', 'category': 'Jewelry'})
self.assertEqual(
detection_config.series_group_detection_conditions[0].smart_detection_condition.suppress_condition.min_ratio, 100)
self.assertEqual(
detection_config.series_group_detection_conditions[0].smart_detection_condition.suppress_condition.min_number, 1)
self.assertEqual(
detection_config.series_group_detection_conditions[0].smart_detection_condition.sensitivity, 63)
self.assertEqual(
detection_config.series_group_detection_conditions[0].smart_detection_condition.anomaly_detector_direction, "Both")
self.assertEqual(
detection_config.series_group_detection_conditions[0].series_group_key, {'city': 'Sao Paulo'})
finally:
await self.admin_client.delete_data_feed(data_feed.id)
@AzureTestCase.await_prepared_test
async def test_create_ad_config_multiple_series_and_group_conds(self):
data_feed = await self._create_data_feed("datafeedconfigasync")
async with self.admin_client:
try:
detection_config_name = self.create_random_name("multipledetectionconfigsasync")
detection_config = await self.admin_client.create_detection_configuration(
name=detection_config_name,
metric_id=data_feed.metric_ids['cost'],
description="My test metric anomaly detection configuration",
whole_series_detection_condition=MetricDetectionCondition(
cross_conditions_operator="AND",
smart_detection_condition=SmartDetectionCondition(
sensitivity=50,
anomaly_detector_direction="Both",
suppress_condition=SuppressCondition(
min_number=50,
min_ratio=50
)
),
hard_threshold_condition=HardThresholdCondition(
anomaly_detector_direction="Both",
suppress_condition=SuppressCondition(
min_number=5,
min_ratio=5
),
lower_bound=0,
upper_bound=100
),
change_threshold_condition=ChangeThresholdCondition(
change_percentage=50,
shift_point=30,
within_range=True,
anomaly_detector_direction="Both",
suppress_condition=SuppressCondition(
min_number=2,
min_ratio=2
)
)
),
series_detection_conditions=[
MetricSingleSeriesDetectionCondition(
series_key={"city": "Shenzhen", "category": "Jewelry"},
cross_conditions_operator="AND",
smart_detection_condition=SmartDetectionCondition(
anomaly_detector_direction="Both",
sensitivity=63,
suppress_condition=SuppressCondition(
min_number=1,
min_ratio=100
)
),
hard_threshold_condition=HardThresholdCondition(
anomaly_detector_direction="Both",
suppress_condition=SuppressCondition(
min_number=5,
min_ratio=5
),
lower_bound=0,
upper_bound=100
),
change_threshold_condition=ChangeThresholdCondition(
change_percentage=50,
shift_point=30,
within_range=True,
anomaly_detector_direction="Both",
suppress_condition=SuppressCondition(
min_number=2,
min_ratio=2
)
)
),
MetricSingleSeriesDetectionCondition(
series_key={"city": "Osaka", "category": "Cell Phones"},
cross_conditions_operator="AND",
smart_detection_condition=SmartDetectionCondition(
anomaly_detector_direction="Both",
sensitivity=63,
suppress_condition=SuppressCondition(
min_number=1,
min_ratio=100
)
)
)
],
series_group_detection_conditions=[
MetricSeriesGroupDetectionCondition(
series_group_key={"city": "Sao Paulo"},
cross_conditions_operator="AND",
smart_detection_condition=SmartDetectionCondition(
anomaly_detector_direction="Both",
sensitivity=63,
suppress_condition=SuppressCondition(
min_number=1,
min_ratio=100
)
),
hard_threshold_condition=HardThresholdCondition(
anomaly_detector_direction="Both",
suppress_condition=SuppressCondition(
min_number=5,
min_ratio=5
),
lower_bound=0,
upper_bound=100
),
change_threshold_condition=ChangeThresholdCondition(
change_percentage=50,
shift_point=30,
within_range=True,
anomaly_detector_direction="Both",
suppress_condition=SuppressCondition(
min_number=2,
min_ratio=2
)
)
),
MetricSeriesGroupDetectionCondition(
series_group_key={"city": "Seoul"},
cross_conditions_operator="AND",
smart_detection_condition=SmartDetectionCondition(
anomaly_detector_direction="Both",
sensitivity=63,
suppress_condition=SuppressCondition(
min_number=1,
min_ratio=100
)
)
)
]
)
self.assertIsNotNone(detection_config.id)
self.assertEqual(detection_config.metric_id, data_feed.metric_ids['cost'])
self.assertEqual(detection_config.description, "My test metric anomaly detection configuration")
self.assertIsNotNone(detection_config.name)
# whole series detection condition
self.assertEqual(detection_config.whole_series_detection_condition.cross_conditions_operator, "AND")
self.assertEqual(
detection_config.whole_series_detection_condition.change_threshold_condition.anomaly_detector_direction, "Both")
self.assertEqual(detection_config.whole_series_detection_condition.change_threshold_condition.change_percentage, 50)
self.assertEqual(detection_config.whole_series_detection_condition.change_threshold_condition.shift_point, 30)
self.assertTrue(detection_config.whole_series_detection_condition.change_threshold_condition.within_range)
self.assertEqual(
detection_config.whole_series_detection_condition.change_threshold_condition.suppress_condition.min_number, 2)
self.assertEqual(
detection_config.whole_series_detection_condition.change_threshold_condition.suppress_condition.min_ratio, 2)
self.assertEqual(
detection_config.whole_series_detection_condition.hard_threshold_condition.anomaly_detector_direction, "Both")
self.assertEqual(detection_config.whole_series_detection_condition.hard_threshold_condition.lower_bound, 0)
self.assertEqual(detection_config.whole_series_detection_condition.hard_threshold_condition.upper_bound, 100)
self.assertEqual(
detection_config.whole_series_detection_condition.hard_threshold_condition.suppress_condition.min_number, 5)
self.assertEqual(
detection_config.whole_series_detection_condition.hard_threshold_condition.suppress_condition.min_ratio, 5)
self.assertEqual(
detection_config.whole_series_detection_condition.smart_detection_condition.anomaly_detector_direction, "Both")
self.assertEqual(detection_config.whole_series_detection_condition.smart_detection_condition.sensitivity, 50)
self.assertEqual(
detection_config.whole_series_detection_condition.smart_detection_condition.suppress_condition.min_number, 50)
self.assertEqual(
detection_config.whole_series_detection_condition.smart_detection_condition.suppress_condition.min_ratio, 50)
# series detection conditions
self.assertEqual(
detection_config.series_detection_conditions[0].series_key, {'city': 'Shenzhen', 'category': 'Jewelry'})
self.assertEqual(detection_config.series_detection_conditions[0].cross_conditions_operator, "AND")
self.assertEqual(
detection_config.series_detection_conditions[0].smart_detection_condition.suppress_condition.min_ratio, 100)
self.assertEqual(
detection_config.series_detection_conditions[0].smart_detection_condition.suppress_condition.min_number, 1)
self.assertEqual(
detection_config.series_detection_conditions[0].smart_detection_condition.sensitivity, 63)
self.assertEqual(
detection_config.series_detection_conditions[0].smart_detection_condition.anomaly_detector_direction, "Both")
self.assertEqual(
detection_config.series_detection_conditions[0].change_threshold_condition.anomaly_detector_direction, "Both")
self.assertEqual(detection_config.series_detection_conditions[0].change_threshold_condition.change_percentage, 50)
self.assertEqual(detection_config.series_detection_conditions[0].change_threshold_condition.shift_point, 30)
self.assertTrue(detection_config.series_detection_conditions[0].change_threshold_condition.within_range)
self.assertEqual(
detection_config.series_detection_conditions[0].change_threshold_condition.suppress_condition.min_number, 2)
self.assertEqual(
detection_config.series_detection_conditions[0].change_threshold_condition.suppress_condition.min_ratio, 2)
self.assertEqual(
detection_config.series_detection_conditions[0].hard_threshold_condition.anomaly_detector_direction, "Both")
self.assertEqual(detection_config.series_detection_conditions[0].hard_threshold_condition.lower_bound, 0)
self.assertEqual(detection_config.series_detection_conditions[0].hard_threshold_condition.upper_bound, 100)
self.assertEqual(
detection_config.series_detection_conditions[0].hard_threshold_condition.suppress_condition.min_number, 5)
self.assertEqual(
detection_config.series_detection_conditions[0].hard_threshold_condition.suppress_condition.min_ratio, 5)
self.assertEqual(
detection_config.series_detection_conditions[1].series_key, {"city": "Osaka", "category": "Cell Phones"})
self.assertEqual(
detection_config.series_detection_conditions[1].smart_detection_condition.suppress_condition.min_ratio, 100)
self.assertEqual(
detection_config.series_detection_conditions[1].smart_detection_condition.suppress_condition.min_number, 1)
self.assertEqual(
detection_config.series_detection_conditions[1].smart_detection_condition.sensitivity, 63)
self.assertEqual(
detection_config.series_detection_conditions[1].smart_detection_condition.anomaly_detector_direction, "Both")
# series group detection conditions
self.assertEqual(
detection_config.series_group_detection_conditions[0].series_group_key, {"city": "Sao Paulo"})
self.assertEqual(detection_config.series_group_detection_conditions[0].cross_conditions_operator, "AND")
self.assertEqual(
detection_config.series_group_detection_conditions[0].smart_detection_condition.suppress_condition.min_ratio, 100)
self.assertEqual(
detection_config.series_group_detection_conditions[0].smart_detection_condition.suppress_condition.min_number, 1)
self.assertEqual(
detection_config.series_group_detection_conditions[0].smart_detection_condition.sensitivity, 63)
self.assertEqual(
detection_config.series_group_detection_conditions[0].smart_detection_condition.anomaly_detector_direction, "Both")
self.assertEqual(
detection_config.series_group_detection_conditions[0].change_threshold_condition.anomaly_detector_direction, "Both")
self.assertEqual(detection_config.series_group_detection_conditions[0].change_threshold_condition.change_percentage, 50)
self.assertEqual(detection_config.series_group_detection_conditions[0].change_threshold_condition.shift_point, 30)
self.assertTrue(detection_config.series_group_detection_conditions[0].change_threshold_condition.within_range)
self.assertEqual(
detection_config.series_group_detection_conditions[0].change_threshold_condition.suppress_condition.min_number, 2)
self.assertEqual(
detection_config.series_group_detection_conditions[0].change_threshold_condition.suppress_condition.min_ratio, 2)
self.assertEqual(
detection_config.series_group_detection_conditions[0].hard_threshold_condition.anomaly_detector_direction, "Both")
self.assertEqual(detection_config.series_group_detection_conditions[0].hard_threshold_condition.lower_bound, 0)
self.assertEqual(detection_config.series_group_detection_conditions[0].hard_threshold_condition.upper_bound, 100)
self.assertEqual(
detection_config.series_group_detection_conditions[0].hard_threshold_condition.suppress_condition.min_number, 5)
self.assertEqual(
detection_config.series_group_detection_conditions[0].hard_threshold_condition.suppress_condition.min_ratio, 5)
self.assertEqual(
detection_config.series_group_detection_conditions[1].series_group_key, {"city": "Seoul"})
self.assertEqual(
detection_config.series_group_detection_conditions[1].smart_detection_condition.suppress_condition.min_ratio, 100)
self.assertEqual(
detection_config.series_group_detection_conditions[1].smart_detection_condition.suppress_condition.min_number, 1)
self.assertEqual(
detection_config.series_group_detection_conditions[1].smart_detection_condition.sensitivity, 63)
self.assertEqual(
detection_config.series_group_detection_conditions[1].smart_detection_condition.anomaly_detector_direction, "Both")
finally:
await self.admin_client.delete_data_feed(data_feed.id)
@AzureTestCase.await_prepared_test
async def test_list_detection_configs(self):
async with self.admin_client:
configs = self.admin_client.list_detection_configurations(metric_id=self.metric_id)
configs_list = []
async for config in configs:
configs_list.append(config)
assert len(configs_list) > 0
@AzureTestCase.await_prepared_test
async def test_update_detection_config_with_model(self):
async with self.admin_client:
try:
detection_config, data_feed = await self._create_detection_config_for_update("updatedetection")
detection_config.name = "updated"
detection_config.description = "updated"
change_threshold_condition = ChangeThresholdCondition(
anomaly_detector_direction="Both",
change_percentage=20,
shift_point=10,
within_range=True,
suppress_condition=SuppressCondition(
min_number=5,
min_ratio=2
)
)
hard_threshold_condition = HardThresholdCondition(
anomaly_detector_direction="Up",
upper_bound=100,
suppress_condition=SuppressCondition(
min_number=5,
min_ratio=2
)
)
smart_detection_condition = SmartDetectionCondition(
anomaly_detector_direction="Up",
sensitivity=10,
suppress_condition=SuppressCondition(
min_number=5,
min_ratio=2
)
)
detection_config.series_detection_conditions[0].change_threshold_condition = change_threshold_condition
detection_config.series_detection_conditions[0].hard_threshold_condition = hard_threshold_condition
detection_config.series_detection_conditions[0].smart_detection_condition = smart_detection_condition
detection_config.series_detection_conditions[0].cross_conditions_operator = "AND"
detection_config.series_group_detection_conditions[0].change_threshold_condition = change_threshold_condition
detection_config.series_group_detection_conditions[0].hard_threshold_condition = hard_threshold_condition
detection_config.series_group_detection_conditions[0].smart_detection_condition = smart_detection_condition
detection_config.series_group_detection_conditions[0].cross_conditions_operator = "AND"
detection_config.whole_series_detection_condition.hard_threshold_condition = hard_threshold_condition
detection_config.whole_series_detection_condition.smart_detection_condition = smart_detection_condition
detection_config.whole_series_detection_condition.change_threshold_condition = change_threshold_condition
detection_config.whole_series_detection_condition.cross_conditions_operator = "OR"
await self.admin_client.update_detection_configuration(detection_config)
updated = await self.admin_client.get_detection_configuration(detection_config.id)
self.assertEqual(updated.name, "updated")
self.assertEqual(updated.description, "updated")
self.assertEqual(updated.series_detection_conditions[0].change_threshold_condition.anomaly_detector_direction, "Both")
self.assertEqual(updated.series_detection_conditions[0].change_threshold_condition.change_percentage, 20)
self.assertEqual(updated.series_detection_conditions[0].change_threshold_condition.shift_point, 10)
self.assertTrue(updated.series_detection_conditions[0].change_threshold_condition.within_range)
self.assertEqual(updated.series_detection_conditions[0].change_threshold_condition.suppress_condition.min_number, 5)
self.assertEqual(updated.series_detection_conditions[0].change_threshold_condition.suppress_condition.min_ratio, 2)
self.assertEqual(updated.series_detection_conditions[0].hard_threshold_condition.anomaly_detector_direction, "Up")
self.assertEqual(updated.series_detection_conditions[0].hard_threshold_condition.upper_bound, 100)
self.assertEqual(updated.series_detection_conditions[0].hard_threshold_condition.suppress_condition.min_number, 5)
self.assertEqual(updated.series_detection_conditions[0].hard_threshold_condition.suppress_condition.min_ratio, 2)
self.assertEqual(updated.series_detection_conditions[0].smart_detection_condition.anomaly_detector_direction, "Up")
self.assertEqual(updated.series_detection_conditions[0].smart_detection_condition.sensitivity, 10)
self.assertEqual(updated.series_detection_conditions[0].smart_detection_condition.suppress_condition.min_number, 5)
self.assertEqual(updated.series_detection_conditions[0].smart_detection_condition.suppress_condition.min_ratio, 2)
self.assertEqual(updated.series_detection_conditions[0].cross_conditions_operator, "AND")
self.assertEqual(updated.series_group_detection_conditions[0].change_threshold_condition.anomaly_detector_direction, "Both")
self.assertEqual(updated.series_group_detection_conditions[0].change_threshold_condition.change_percentage, 20)
self.assertEqual(updated.series_group_detection_conditions[0].change_threshold_condition.shift_point, 10)
self.assertTrue(updated.series_group_detection_conditions[0].change_threshold_condition.within_range)
self.assertEqual(updated.series_group_detection_conditions[0].change_threshold_condition.suppress_condition.min_number, 5)
self.assertEqual(updated.series_group_detection_conditions[0].change_threshold_condition.suppress_condition.min_ratio, 2)
self.assertEqual(updated.series_group_detection_conditions[0].hard_threshold_condition.anomaly_detector_direction, "Up")
self.assertEqual(updated.series_group_detection_conditions[0].hard_threshold_condition.upper_bound, 100)
self.assertEqual(updated.series_group_detection_conditions[0].hard_threshold_condition.suppress_condition.min_number, 5)
self.assertEqual(updated.series_group_detection_conditions[0].hard_threshold_condition.suppress_condition.min_ratio, 2)
self.assertEqual(updated.series_group_detection_conditions[0].smart_detection_condition.anomaly_detector_direction, "Up")
self.assertEqual(updated.series_group_detection_conditions[0].smart_detection_condition.sensitivity, 10)
self.assertEqual(updated.series_group_detection_conditions[0].smart_detection_condition.suppress_condition.min_number, 5)
self.assertEqual(updated.series_group_detection_conditions[0].smart_detection_condition.suppress_condition.min_ratio, 2)
self.assertEqual(updated.series_group_detection_conditions[0].cross_conditions_operator, "AND")
self.assertEqual(updated.whole_series_detection_condition.change_threshold_condition.anomaly_detector_direction, "Both")
self.assertEqual(updated.whole_series_detection_condition.change_threshold_condition.change_percentage, 20)
self.assertEqual(updated.whole_series_detection_condition.change_threshold_condition.shift_point, 10)
self.assertTrue(updated.whole_series_detection_condition.change_threshold_condition.within_range)
self.assertEqual(updated.whole_series_detection_condition.change_threshold_condition.suppress_condition.min_number, 5)
self.assertEqual(updated.whole_series_detection_condition.change_threshold_condition.suppress_condition.min_ratio, 2)
self.assertEqual(updated.whole_series_detection_condition.hard_threshold_condition.anomaly_detector_direction, "Up")
self.assertEqual(updated.whole_series_detection_condition.hard_threshold_condition.upper_bound, 100)
self.assertEqual(updated.whole_series_detection_condition.hard_threshold_condition.suppress_condition.min_number, 5)
self.assertEqual(updated.whole_series_detection_condition.hard_threshold_condition.suppress_condition.min_ratio, 2)
self.assertEqual(updated.whole_series_detection_condition.smart_detection_condition.anomaly_detector_direction, "Up")
self.assertEqual(updated.whole_series_detection_condition.smart_detection_condition.sensitivity, 10)
self.assertEqual(updated.whole_series_detection_condition.smart_detection_condition.suppress_condition.min_number, 5)
self.assertEqual(updated.whole_series_detection_condition.smart_detection_condition.suppress_condition.min_ratio, 2)
self.assertEqual(updated.whole_series_detection_condition.cross_conditions_operator, "OR")
finally:
await self.admin_client.delete_data_feed(data_feed.id)
@AzureTestCase.await_prepared_test
async def test_update_detection_config_with_kwargs(self):
async with self.admin_client:
try:
detection_config, data_feed = await self._create_detection_config_for_update("updatedetection")
change_threshold_condition = ChangeThresholdCondition(
anomaly_detector_direction="Both",
change_percentage=20,
shift_point=10,
within_range=True,
suppress_condition=SuppressCondition(
min_number=5,
min_ratio=2
)
)
hard_threshold_condition = HardThresholdCondition(
anomaly_detector_direction="Up",
upper_bound=100,
suppress_condition=SuppressCondition(
min_number=5,
min_ratio=2
)
)
smart_detection_condition = SmartDetectionCondition(
anomaly_detector_direction="Up",
sensitivity=10,
suppress_condition=SuppressCondition(
min_number=5,
min_ratio=2
)
)
await self.admin_client.update_detection_configuration(
detection_config.id,
name="updated",
description="updated",
whole_series_detection_condition=MetricDetectionCondition(
cross_conditions_operator="OR",
smart_detection_condition=smart_detection_condition,
hard_threshold_condition=hard_threshold_condition,
change_threshold_condition=change_threshold_condition
),
series_detection_conditions=[MetricSingleSeriesDetectionCondition(
series_key={"city": "San Paulo", "category": "Jewelry"},
cross_conditions_operator="AND",
smart_detection_condition=smart_detection_condition,
hard_threshold_condition=hard_threshold_condition,
change_threshold_condition=change_threshold_condition
)],
series_group_detection_conditions=[MetricSeriesGroupDetectionCondition(
series_group_key={"city": "Shenzen"},
cross_conditions_operator="AND",
smart_detection_condition=smart_detection_condition,
hard_threshold_condition=hard_threshold_condition,
change_threshold_condition=change_threshold_condition
)]
)
updated = await self.admin_client.get_detection_configuration(detection_config.id)
self.assertEqual(updated.name, "updated")
self.assertEqual(updated.description, "updated")
self.assertEqual(updated.series_detection_conditions[0].change_threshold_condition.anomaly_detector_direction, "Both")
self.assertEqual(updated.series_detection_conditions[0].change_threshold_condition.change_percentage, 20)
self.assertEqual(updated.series_detection_conditions[0].change_threshold_condition.shift_point, 10)
self.assertTrue(updated.series_detection_conditions[0].change_threshold_condition.within_range)
self.assertEqual(updated.series_detection_conditions[0].change_threshold_condition.suppress_condition.min_number, 5)
self.assertEqual(updated.series_detection_conditions[0].change_threshold_condition.suppress_condition.min_ratio, 2)
self.assertEqual(updated.series_detection_conditions[0].hard_threshold_condition.anomaly_detector_direction, "Up")
self.assertEqual(updated.series_detection_conditions[0].hard_threshold_condition.upper_bound, 100)
self.assertEqual(updated.series_detection_conditions[0].hard_threshold_condition.suppress_condition.min_number, 5)
self.assertEqual(updated.series_detection_conditions[0].hard_threshold_condition.suppress_condition.min_ratio, 2)
self.assertEqual(updated.series_detection_conditions[0].smart_detection_condition.anomaly_detector_direction, "Up")
self.assertEqual(updated.series_detection_conditions[0].smart_detection_condition.sensitivity, 10)
self.assertEqual(updated.series_detection_conditions[0].smart_detection_condition.suppress_condition.min_number, 5)
self.assertEqual(updated.series_detection_conditions[0].smart_detection_condition.suppress_condition.min_ratio, 2)
self.assertEqual(updated.series_detection_conditions[0].cross_conditions_operator, "AND")
self.assertEqual(updated.series_detection_conditions[0].series_key, {"city": "San Paulo", "category": "Jewelry"})
self.assertEqual(updated.series_group_detection_conditions[0].change_threshold_condition.anomaly_detector_direction, "Both")
self.assertEqual(updated.series_group_detection_conditions[0].change_threshold_condition.change_percentage, 20)
self.assertEqual(updated.series_group_detection_conditions[0].change_threshold_condition.shift_point, 10)
self.assertTrue(updated.series_group_detection_conditions[0].change_threshold_condition.within_range)
self.assertEqual(updated.series_group_detection_conditions[0].change_threshold_condition.suppress_condition.min_number, 5)
self.assertEqual(updated.series_group_detection_conditions[0].change_threshold_condition.suppress_condition.min_ratio, 2)
self.assertEqual(updated.series_group_detection_conditions[0].hard_threshold_condition.anomaly_detector_direction, "Up")
self.assertEqual(updated.series_group_detection_conditions[0].hard_threshold_condition.upper_bound, 100)
self.assertEqual(updated.series_group_detection_conditions[0].hard_threshold_condition.suppress_condition.min_number, 5)
self.assertEqual(updated.series_group_detection_conditions[0].hard_threshold_condition.suppress_condition.min_ratio, 2)
self.assertEqual(updated.series_group_detection_conditions[0].smart_detection_condition.anomaly_detector_direction, "Up")
self.assertEqual(updated.series_group_detection_conditions[0].smart_detection_condition.sensitivity, 10)
self.assertEqual(updated.series_group_detection_conditions[0].smart_detection_condition.suppress_condition.min_number, 5)
self.assertEqual(updated.series_group_detection_conditions[0].smart_detection_condition.suppress_condition.min_ratio, 2)
self.assertEqual(updated.series_group_detection_conditions[0].cross_conditions_operator, "AND")
self.assertEqual(updated.series_group_detection_conditions[0].series_group_key, {"city": "Shenzen"})
self.assertEqual(updated.whole_series_detection_condition.change_threshold_condition.anomaly_detector_direction, "Both")
self.assertEqual(updated.whole_series_detection_condition.change_threshold_condition.change_percentage, 20)
self.assertEqual(updated.whole_series_detection_condition.change_threshold_condition.shift_point, 10)
self.assertTrue(updated.whole_series_detection_condition.change_threshold_condition.within_range)
self.assertEqual(updated.whole_series_detection_condition.change_threshold_condition.suppress_condition.min_number, 5)
self.assertEqual(updated.whole_series_detection_condition.change_threshold_condition.suppress_condition.min_ratio, 2)
self.assertEqual(updated.whole_series_detection_condition.hard_threshold_condition.anomaly_detector_direction, "Up")
self.assertEqual(updated.whole_series_detection_condition.hard_threshold_condition.upper_bound, 100)
self.assertEqual(updated.whole_series_detection_condition.hard_threshold_condition.suppress_condition.min_number, 5)
self.assertEqual(updated.whole_series_detection_condition.hard_threshold_condition.suppress_condition.min_ratio, 2)
self.assertEqual(updated.whole_series_detection_condition.smart_detection_condition.anomaly_detector_direction, "Up")
self.assertEqual(updated.whole_series_detection_condition.smart_detection_condition.sensitivity, 10)
self.assertEqual(updated.whole_series_detection_condition.smart_detection_condition.suppress_condition.min_number, 5)
self.assertEqual(updated.whole_series_detection_condition.smart_detection_condition.suppress_condition.min_ratio, 2)
self.assertEqual(updated.whole_series_detection_condition.cross_conditions_operator, "OR")
finally:
await self.admin_client.delete_data_feed(data_feed.id)
@AzureTestCase.await_prepared_test
async def test_update_detection_config_with_model_and_kwargs(self):
async with self.admin_client:
try:
detection_config, data_feed = await self._create_detection_config_for_update("updatedetection")
change_threshold_condition = ChangeThresholdCondition(
anomaly_detector_direction="Both",
change_percentage=20,
shift_point=10,
within_range=True,
suppress_condition=SuppressCondition(
min_number=5,
min_ratio=2
)
)
hard_threshold_condition = HardThresholdCondition(
anomaly_detector_direction="Up",
upper_bound=100,
suppress_condition=SuppressCondition(
min_number=5,
min_ratio=2
)
)
smart_detection_condition = SmartDetectionCondition(
anomaly_detector_direction="Up",
sensitivity=10,
suppress_condition=SuppressCondition(
min_number=5,
min_ratio=2
)
)
detection_config.name = "updateMe"
detection_config.description = "updateMe"
await self.admin_client.update_detection_configuration(
detection_config,
whole_series_detection_condition=MetricDetectionCondition(
cross_conditions_operator="OR",
smart_detection_condition=smart_detection_condition,
hard_threshold_condition=hard_threshold_condition,
change_threshold_condition=change_threshold_condition
),
series_detection_conditions=[MetricSingleSeriesDetectionCondition(
series_key={"city": "San Paulo", "category": "Jewelry"},
cross_conditions_operator="AND",
smart_detection_condition=smart_detection_condition,
hard_threshold_condition=hard_threshold_condition,
change_threshold_condition=change_threshold_condition
)],
series_group_detection_conditions=[MetricSeriesGroupDetectionCondition(
series_group_key={"city": "Shenzen"},
cross_conditions_operator="AND",
smart_detection_condition=smart_detection_condition,
hard_threshold_condition=hard_threshold_condition,
change_threshold_condition=change_threshold_condition
)]
)
updated = await self.admin_client.get_detection_configuration(detection_config.id)
self.assertEqual(updated.name, "updateMe")
self.assertEqual(updated.description, "updateMe")
self.assertEqual(updated.series_detection_conditions[0].change_threshold_condition.anomaly_detector_direction, "Both")
self.assertEqual(updated.series_detection_conditions[0].change_threshold_condition.change_percentage, 20)
self.assertEqual(updated.series_detection_conditions[0].change_threshold_condition.shift_point, 10)
self.assertTrue(updated.series_detection_conditions[0].change_threshold_condition.within_range)
self.assertEqual(updated.series_detection_conditions[0].change_threshold_condition.suppress_condition.min_number, 5)
self.assertEqual(updated.series_detection_conditions[0].change_threshold_condition.suppress_condition.min_ratio, 2)
self.assertEqual(updated.series_detection_conditions[0].hard_threshold_condition.anomaly_detector_direction, "Up")
self.assertEqual(updated.series_detection_conditions[0].hard_threshold_condition.upper_bound, 100)
self.assertEqual(updated.series_detection_conditions[0].hard_threshold_condition.suppress_condition.min_number, 5)
self.assertEqual(updated.series_detection_conditions[0].hard_threshold_condition.suppress_condition.min_ratio, 2)
self.assertEqual(updated.series_detection_conditions[0].smart_detection_condition.anomaly_detector_direction, "Up")
self.assertEqual(updated.series_detection_conditions[0].smart_detection_condition.sensitivity, 10)
self.assertEqual(updated.series_detection_conditions[0].smart_detection_condition.suppress_condition.min_number, 5)
self.assertEqual(updated.series_detection_conditions[0].smart_detection_condition.suppress_condition.min_ratio, 2)
self.assertEqual(updated.series_detection_conditions[0].cross_conditions_operator, "AND")
self.assertEqual(updated.series_detection_conditions[0].series_key, {"city": "San Paulo", "category": "Jewelry"})
self.assertEqual(updated.series_group_detection_conditions[0].change_threshold_condition.anomaly_detector_direction, "Both")
self.assertEqual(updated.series_group_detection_conditions[0].change_threshold_condition.change_percentage, 20)
self.assertEqual(updated.series_group_detection_conditions[0].change_threshold_condition.shift_point, 10)
self.assertTrue(updated.series_group_detection_conditions[0].change_threshold_condition.within_range)
self.assertEqual(updated.series_group_detection_conditions[0].change_threshold_condition.suppress_condition.min_number, 5)
self.assertEqual(updated.series_group_detection_conditions[0].change_threshold_condition.suppress_condition.min_ratio, 2)
self.assertEqual(updated.series_group_detection_conditions[0].hard_threshold_condition.anomaly_detector_direction, "Up")
self.assertEqual(updated.series_group_detection_conditions[0].hard_threshold_condition.upper_bound, 100)
self.assertEqual(updated.series_group_detection_conditions[0].hard_threshold_condition.suppress_condition.min_number, 5)
self.assertEqual(updated.series_group_detection_conditions[0].hard_threshold_condition.suppress_condition.min_ratio, 2)
self.assertEqual(updated.series_group_detection_conditions[0].smart_detection_condition.anomaly_detector_direction, "Up")
self.assertEqual(updated.series_group_detection_conditions[0].smart_detection_condition.sensitivity, 10)
self.assertEqual(updated.series_group_detection_conditions[0].smart_detection_condition.suppress_condition.min_number, 5)
self.assertEqual(updated.series_group_detection_conditions[0].smart_detection_condition.suppress_condition.min_ratio, 2)
self.assertEqual(updated.series_group_detection_conditions[0].cross_conditions_operator, "AND")
self.assertEqual(updated.series_group_detection_conditions[0].series_group_key, {"city": "Shenzen"})
self.assertEqual(updated.whole_series_detection_condition.change_threshold_condition.anomaly_detector_direction, "Both")
self.assertEqual(updated.whole_series_detection_condition.change_threshold_condition.change_percentage, 20)
self.assertEqual(updated.whole_series_detection_condition.change_threshold_condition.shift_point, 10)
self.assertTrue(updated.whole_series_detection_condition.change_threshold_condition.within_range)
self.assertEqual(updated.whole_series_detection_condition.change_threshold_condition.suppress_condition.min_number, 5)
self.assertEqual(updated.whole_series_detection_condition.change_threshold_condition.suppress_condition.min_ratio, 2)
self.assertEqual(updated.whole_series_detection_condition.hard_threshold_condition.anomaly_detector_direction, "Up")
self.assertEqual(updated.whole_series_detection_condition.hard_threshold_condition.upper_bound, 100)
self.assertEqual(updated.whole_series_detection_condition.hard_threshold_condition.suppress_condition.min_number, 5)
self.assertEqual(updated.whole_series_detection_condition.hard_threshold_condition.suppress_condition.min_ratio, 2)
self.assertEqual(updated.whole_series_detection_condition.smart_detection_condition.anomaly_detector_direction, "Up")
self.assertEqual(updated.whole_series_detection_condition.smart_detection_condition.sensitivity, 10)
self.assertEqual(updated.whole_series_detection_condition.smart_detection_condition.suppress_condition.min_number, 5)
self.assertEqual(updated.whole_series_detection_condition.smart_detection_condition.suppress_condition.min_ratio, 2)
self.assertEqual(updated.whole_series_detection_condition.cross_conditions_operator, "OR")
finally:
await self.admin_client.delete_data_feed(data_feed.id)
@AzureTestCase.await_prepared_test
async def test_update_detection_config_by_resetting_properties(self):
async with self.admin_client:
try:
detection_config, data_feed = await self._create_detection_config_for_update("updatedetection")
await self.admin_client.update_detection_configuration(
detection_config.id,
name="reset",
description="",
# series_detection_conditions=None,
# series_group_detection_conditions=None
)
updated = await self.admin_client.get_detection_configuration(detection_config.id)
self.assertEqual(updated.name, "reset")
self.assertEqual(updated.description, "") # currently won't update with None
# service bug says these are required
# self.assertEqual(updated.series_detection_conditions, None)
# self.assertEqual(updated.series_group_detection_conditions, None)
finally:
await self.admin_client.delete_data_feed(data_feed.id)
| [
"noreply@github.com"
] | hivyas.noreply@github.com |
d62acf7a2f6c04a99d7d888c3b7f1b86e68b4223 | 1342deb03620f60f0e91c9d5b579667c11cb2d6d | /3rd/pil_test2.py | 9bc143f0720b8aae2d5edb76b3fcd7307e3fd1a9 | [] | no_license | ahuer2435/python_study | 678501ff90a9fc403105bff7ba96bcf53c8f53e2 | 8a7cc568efefdc993c5738ffa2100c2e051acdb7 | refs/heads/master | 2021-01-15T18:00:43.851039 | 2018-04-04T05:37:50 | 2018-04-04T05:37:50 | 99,775,158 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 194 | py | # -*- coding: utf-8 -*-
import Image,ImageFilter
im = Image.open("./test.jpg")
im2 = im.filter(ImageFilter.BLUR)
im2.save("./test2.jpg","jpeg")
#使用ImageFilter模块使图像变模糊。 | [
"18221079843@139.com"
] | 18221079843@139.com |
4b6ef532a08cccc3f197c7a8b880fd26edb0bc16 | 813b0d666d9ff31644814d35ab9ca26eab5b66e7 | /demo/q_model_demo.py | 4d1c01ebd1b49ce5269215c80ba9280443a1dd3b | [] | no_license | Seraphli/TankAI | 81548c74868ed52b32972b9ae8cd39def1c2b4b8 | 79020201e07d90eb6cbfe542147252b668d65d1e | refs/heads/master | 2020-04-05T11:57:48.251054 | 2018-11-01T09:02:32 | 2018-11-01T09:02:32 | 156,852,312 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,566 | py | from tank.env import Env
from qlearn.q_learn import QLearn as AI
from qlearn.state import State
import numpy as np
import time
ai = AI('tank_test', 5, False)
ai.epsilon = 0.01
ai.nn.load('./model')
env = Env()
for g_id in range(10):
ai.logger.debug(f'=== Game start ===')
end = env.reset()
ai.logger.debug(f'game map {env.game.map}')
state = [[State(12, 3), State(12, 3)],
[State(12, 3), State(12, 3)]]
s = [[0, 0], [0, 0]]
a = [[0, 0], [0, 0]]
r = [[0, 0], [0, 0]]
t = [[0, 0], [0, 0]]
s_ = [[0, 0], [0, 0]]
for p in [0, 1]:
for i in [0, 1]:
if end[p * 2 + i + 1]:
continue
_s = env.get_state(p, i)
# ai.logger.debug(f'side:{p} index:{i} state {_s}')
state[p][i].update(_s)
game_end = False
while not game_end:
for p in [0, 1]:
for i in [0, 1]:
if end[p * 2 + i + 1]:
continue
s[p][i] = state[p][i].get_state()
_state = np.reshape(s[p][i], (1, *s[p][i].shape))
a_mask = env.get_action(p, i)
ai.logger.debug(f'side:{p} index:{i} a_mask {a_mask}')
a[p][i], debug = ai.get_action(_state, a_mask)
ai.logger.debug(f'side:{p} index:{i} a {a[p][i]}')
env.take_action(p, i, a[p][i])
end = env.step()
ai.logger.debug(f'game map {env.game.map}')
for p in [0, 1]:
for i in [0, 1]:
if t[p][i] == 0:
if end[p * 2 + i + 1]:
t[p][i] = 1
_s = env.get_state(p, i)
# ai.logger.debug(f'side:{p} index:{i} state {_s}')
state[p][i].update(_s)
s_[p][i] = state[p][i].get_state()
r[p][i] = env.get_reward(p, i)
if r[p][i] != 0:
ai.logger.info(f'side:{p} index:{i} r {r[p][i]}')
else:
ai.logger.debug(f'side:{p} index:{i} r {r[p][i]}')
ai.logger.debug(f'side:{p} index:{i} t {t[p][i]}')
ai.logger.debug(f'r {r}')
ai.logger.debug(f't {t}')
ai.logger.debug(f'step {env.game.step_count}')
game_end = end[0]
ai.logger.info(f'step {env.game.step_count}')
ai.logger.info(f'base {env.game.map[4, 0]}, {env.game.map[4, 8]}')
ai.logger.debug(f'=== Game end ===')
ai.logger.info(f'Game num {g_id}')
time.sleep(1)
env.save_replay('.')
| [
"seraphlivery@gmail.com"
] | seraphlivery@gmail.com |
7701324dac2ab0297fab37a0659b155df30e6258 | 6df0d7a677129e9b325d4fdb4bbf72d512dd08b2 | /PycharmProjects/my_python_v03/spider/pingpangball.py | 5fb5d4dcbb27a14b8d00e96072d6a49500c5b795 | [] | no_license | yingxingtianxia/python | 01265a37136f2ad73fdd142f72d70f7c962e0241 | 3e1a7617a4b6552bce4a7e15a182f30e1bae221e | refs/heads/master | 2021-06-14T15:48:00.939472 | 2019-12-13T05:57:36 | 2019-12-13T05:57:36 | 152,200,507 | 0 | 0 | null | 2021-06-10T20:54:26 | 2018-10-09T06:40:10 | Python | UTF-8 | Python | false | false | 1,664 | py | #!/usr/bin/env python3
#__*__coding: utf8__*__
import pygame
from pygame.locals import *
from sys import exit
import random
basket_x = 0
basket_y = 600
ball_x = 10
ball_y = 10
screen_width = 1000
screen_height = 800
score = 0
pygame.init()
screen = pygame.display.set_mode((screen_width, screen_height))
pygame.display.set_caption('接球')
basket = pygame.image.load('lanzi.jpg').convert()
basket_w, basket_h = basket.get.size()
ball = pygame.image.load('ball.jpg').convert()
ball_w , ball_h = ball.get.size()
def update_basket():
global basket_x
global basket_y
basket_x, ignore = pygame.mouse.get_pos()
basket_x = basket_x-basket_w/2
screen.blit(basket, (basket_x, basket_y))
def update_ball():
global ball_x
global ball_y
ball_y += 1
if ball_y+ball_h>basket_y:
ball_y = 0
ball_x = random.randint(0, screen_width-ball_w)
ball_x += random.randint(-1, 1)
if ball_x <= 0:
ball_x = 0
if ball_x > screen_width-ball_w:
ball_x = screen_width-ball_w
screen.blit(ball, (ball_x, ball_y))
def display(message):
font = pygame.font.Font(None, 36)
text = font.render(message,1,(10, 10, 10))
screen.blit(text, (0, 0))
def check_for_catch():
global score
if ball_y+ball_h ==basket_y and ball_x>basket_x and ball_x<basket_x+basket_w-ball_w:
score += 1
display('分数:'+str(score))
clock = pygame.time.Clock()
while True:
for event in pygame.event.get():
if event.type == QUIT:
exit()
screen.fill((255,255,255))
update_ball()
update_basket()
check_for_catch()
pygame.display.update()
clock.tick(1000) | [
"root@room8pc205.tedu.cn"
] | root@room8pc205.tedu.cn |
b9b704a2706e4fbeac5baf13eb273c69a7d11a4f | 0093f254452db5f88803ea628374fa3c7cb90a9b | /single_class_lab_start_code/team_class/tests/team_test.py | fe7333549c4587ffec356d8a197e2b1f2004ecec | [] | no_license | klamb95/classes_lab | 571b7917a0e3e3b8d9935250df08b6e6328b27c8 | 7a450335b1c925372232c7b1631f62434cb32230 | refs/heads/main | 2023-03-30T21:46:04.600475 | 2021-04-05T14:47:39 | 2021-04-05T14:47:39 | 354,841,095 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,954 | py | import unittest
from src.team import Team
class TestTeam(unittest.TestCase):
def setUp(self):
players = ["Derice Bannock", "Sanka Coffie", "Junior Bevil", "Yul Brenner"]
self.team = Team("Cool Runnings", players, "Irv Blitzer")
#@unittest.skip("delete this line to run the test")
def test_team_has_name(self):
self.assertEqual("Cool Runnings", self.team.name)
#@unittest.skip("delete this line to run the test")
def test_team_has_players(self):
self.assertEqual(4, len(self.team.players))
#@unittest.skip("delete this line to run the test")
def test_team_has_coach(self):
self.assertEqual("Irv Blitzer", self.team.coach)
#@unittest.skip("delete this line to run the test")
def test_coach_can_be_changed(self):
self.team.coach = "John Candy"
self.assertEqual("John Candy", self.team.coach)
#@unittest.skip("delete this line to run the test")
def test_can_add_new_player_to_team(self):
new_player = "Jeff"
self.team.add_player(new_player)
self.assertEqual(5, len(self.team.players))
#@unittest.skip("delete this line to run the test")
def test_check_player_in_team__found(self):
self.assertEqual(True, self.team.has_player("Junior Bevil"))
#@unittest.skip("delete this line to run the test")
def test_check_player_in_team__not_found(self):
self.assertEqual(False, self.team.has_player("Usain Bolt"))
#@unittest.skip("delete this line to run the test")
def test_team_has_points(self):
self.assertEqual(0, self.team.points)
#@unittest.skip("delete this line to run the test")
def test_play_game__win(self):
self.team.play_game(True)
self.assertEqual(3, self.team.points)
#@unittest.skip("delete this line to run the test")
def test_play_game__lose(self):
self.team.play_game(False)
self.assertEqual(0, self.team.points)
| [
"klamb1995@gmail.com"
] | klamb1995@gmail.com |
ec9bf3a1657578cef3c799a64c88df9d2330ab36 | ca7aa979e7059467e158830b76673f5b77a0f5a3 | /Python_codes/p02801/s476351492.py | b420a8db4e4113e395c824a3e2527764c60322bc | [] | no_license | Aasthaengg/IBMdataset | 7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901 | f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8 | refs/heads/main | 2023-04-22T10:22:44.763102 | 2021-05-13T17:27:22 | 2021-05-13T17:27:22 | 367,112,348 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 126 | py | c = input()
s = list('abcdefghijklmnopqrstuvwxyz')
for i in range(25):
if c == s[i]:
print(s[i+1])
exit() | [
"66529651+Aastha2104@users.noreply.github.com"
] | 66529651+Aastha2104@users.noreply.github.com |
082e25c98d24038da1c0d418b1754b577b7e5b3f | d3b77550a40b860970450e702b6bcd28d5f9b3e4 | /LeetCode/code_night/reverse_string.py | ea53e4669e81124fafeac0940165a0e8030ec430 | [] | no_license | CateGitau/Python_programming | 47bc9277544814ad853b44a88f129713f1a40697 | 6ae42b3190134c4588ad785d62e08b0763cf6b3a | refs/heads/master | 2023-07-08T03:08:46.236063 | 2021-08-12T09:38:03 | 2021-08-12T09:38:03 | 228,712,021 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 246 | py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Sat Feb 8 03:58:29 2020
@author: aims
"""
text = ["h","e","l","l","o"]
i = 0
j = len(text)- 1
while i<j:
text[i], text[j] = text[j], text[i]
i+=1
j-=1
print(text) | [
"catherinegitau94@gmail.com"
] | catherinegitau94@gmail.com |
9a0e5d2e12de67097ad5e464ddf79e47e12149f5 | f1238c2f2079cd4fdf63cf47fe8a389f77d256fc | /homeassistant/helpers/event.py | 3934a6c52ef9f55cbcfb2c63a0aa2a02d2371b39 | [
"MIT"
] | permissive | williamluke4/home-assistant | 2d305b7133303829c38946bf5b1a626e46488d61 | 2e899bd61c0ff5ae4d576ff3cb8413fc90534e43 | refs/heads/dev | 2023-04-07T01:26:13.029469 | 2016-01-04T02:39:21 | 2016-01-04T02:39:21 | 48,983,167 | 0 | 0 | MIT | 2023-04-03T23:42:14 | 2016-01-04T08:09:21 | Python | UTF-8 | Python | false | false | 5,557 | py | """
Helpers for listening to events
"""
import functools as ft
from ..util import dt as dt_util
from ..const import (
ATTR_NOW, EVENT_STATE_CHANGED, EVENT_TIME_CHANGED, MATCH_ALL)
def track_state_change(hass, entity_ids, action, from_state=None,
to_state=None):
"""
Track specific state changes.
entity_ids, from_state and to_state can be string or list.
Use list to match multiple.
Returns the listener that listens on the bus for EVENT_STATE_CHANGED.
Pass the return value into hass.bus.remove_listener to remove it.
"""
from_state = _process_match_param(from_state)
to_state = _process_match_param(to_state)
# Ensure it is a lowercase list with entity ids we want to match on
if isinstance(entity_ids, str):
entity_ids = (entity_ids.lower(),)
else:
entity_ids = tuple(entity_id.lower() for entity_id in entity_ids)
@ft.wraps(action)
def state_change_listener(event):
""" The listener that listens for specific state changes. """
if event.data['entity_id'] not in entity_ids:
return
if 'old_state' in event.data:
old_state = event.data['old_state'].state
else:
old_state = None
if _matcher(old_state, from_state) and \
_matcher(event.data['new_state'].state, to_state):
action(event.data['entity_id'],
event.data.get('old_state'),
event.data['new_state'])
hass.bus.listen(EVENT_STATE_CHANGED, state_change_listener)
return state_change_listener
def track_point_in_time(hass, action, point_in_time):
"""
Adds a listener that fires once after a spefic point in time.
"""
utc_point_in_time = dt_util.as_utc(point_in_time)
@ft.wraps(action)
def utc_converter(utc_now):
""" Converts passed in UTC now to local now. """
action(dt_util.as_local(utc_now))
return track_point_in_utc_time(hass, utc_converter, utc_point_in_time)
def track_point_in_utc_time(hass, action, point_in_time):
"""
Adds a listener that fires once after a specific point in UTC time.
"""
# Ensure point_in_time is UTC
point_in_time = dt_util.as_utc(point_in_time)
@ft.wraps(action)
def point_in_time_listener(event):
""" Listens for matching time_changed events. """
now = event.data[ATTR_NOW]
if now >= point_in_time and \
not hasattr(point_in_time_listener, 'run'):
# Set variable so that we will never run twice.
# Because the event bus might have to wait till a thread comes
# available to execute this listener it might occur that the
# listener gets lined up twice to be executed. This will make
# sure the second time it does nothing.
point_in_time_listener.run = True
hass.bus.remove_listener(EVENT_TIME_CHANGED,
point_in_time_listener)
action(now)
hass.bus.listen(EVENT_TIME_CHANGED, point_in_time_listener)
return point_in_time_listener
# pylint: disable=too-many-arguments
def track_utc_time_change(hass, action, year=None, month=None, day=None,
hour=None, minute=None, second=None, local=False):
""" Adds a listener that will fire if time matches a pattern. """
# We do not have to wrap the function with time pattern matching logic
# if no pattern given
if all(val is None for val in (year, month, day, hour, minute, second)):
@ft.wraps(action)
def time_change_listener(event):
""" Fires every time event that comes in. """
action(event.data[ATTR_NOW])
hass.bus.listen(EVENT_TIME_CHANGED, time_change_listener)
return time_change_listener
pmp = _process_match_param
year, month, day = pmp(year), pmp(month), pmp(day)
hour, minute, second = pmp(hour), pmp(minute), pmp(second)
@ft.wraps(action)
def pattern_time_change_listener(event):
""" Listens for matching time_changed events. """
now = event.data[ATTR_NOW]
if local:
now = dt_util.as_local(now)
mat = _matcher
# pylint: disable=too-many-boolean-expressions
if mat(now.year, year) and \
mat(now.month, month) and \
mat(now.day, day) and \
mat(now.hour, hour) and \
mat(now.minute, minute) and \
mat(now.second, second):
action(now)
hass.bus.listen(EVENT_TIME_CHANGED, pattern_time_change_listener)
return pattern_time_change_listener
# pylint: disable=too-many-arguments
def track_time_change(hass, action, year=None, month=None, day=None,
hour=None, minute=None, second=None):
""" Adds a listener that will fire if UTC time matches a pattern. """
track_utc_time_change(hass, action, year, month, day, hour, minute, second,
local=True)
def _process_match_param(parameter):
""" Wraps parameter in a tuple if it is not one and returns it. """
if parameter is None or parameter == MATCH_ALL:
return MATCH_ALL
elif isinstance(parameter, str) or not hasattr(parameter, '__iter__'):
return (parameter,)
else:
return tuple(parameter)
def _matcher(subject, pattern):
""" Returns True if subject matches the pattern.
Pattern is either a tuple of allowed subjects or a `MATCH_ALL`.
"""
return MATCH_ALL == pattern or subject in pattern
| [
"paulus@paulusschoutsen.nl"
] | paulus@paulusschoutsen.nl |
94ef87477fd68dd839dab16fcf06f7519b4e6eb8 | e7a87d9eca87d8be7b23b3a57c1d49f0ad6d20bc | /django_evolution/models.py | 5ca35457a74747a0aed0aa4be52aed585f71386c | [
"BSD-2-Clause"
] | permissive | beanbaginc/django-evolution | 19a775a223b61861f503925216fb236b822122c0 | 756eedeacc41f77111a557fc13dee559cb94f433 | refs/heads/master | 2023-06-22T07:25:32.401292 | 2022-11-10T03:23:50 | 2022-11-10T03:23:50 | 14,189,401 | 22 | 13 | null | 2015-01-07T01:15:08 | 2013-11-07T00:04:43 | Python | UTF-8 | Python | false | false | 8,738 | py | """Database models for tracking project schema history."""
from __future__ import unicode_literals
import json
from django.core.exceptions import ValidationError
from django.db import models
from django.db.models.signals import post_init
from django.utils.timezone import now
from django_evolution.compat import six
from django_evolution.compat.datastructures import OrderedDict
from django_evolution.compat.py23 import pickle_dumps, pickle_loads
from django_evolution.compat.six import python_2_unicode_compatible
from django_evolution.compat.translation import gettext_lazy as _
from django_evolution.signature import ProjectSignature
class VersionManager(models.Manager):
"""Manage Version models.
This introduces a convenience function for finding the current Version
model for the database.
"""
def current_version(self, using=None):
"""Return the Version model for the current schema.
This will find the Version with both the latest timestamp and the
latest ID. It's here as a replacement for the old call to
:py:meth:`latest`, which only operated on the timestamp and would
find the wrong entry if two had the same exact timestamp.
Args:
using (unicode):
The database alias name to use for the query. Defaults
to ``None``, the default database.
Raises:
Version.DoesNotExist: No such version exists.
Returns:
Version: The current Version object for the database.
"""
versions = self.using(using).order_by('-when', '-id')
try:
return versions[0]
except IndexError:
raise self.model.DoesNotExist
class SignatureField(models.TextField):
"""A field for loading and storing project signatures.
This will handle deserializing any project signatures stored in the
database, converting them into a
:py:class:`~django_evolution.signatures.ProjectSignature`, and then
writing a serialized version back to the database.
"""
description = _('Signature')
def contribute_to_class(self, cls, name):
"""Perform operations when added to a class.
This will listen for when an instance is constructed in order to
perform some initial work.
Args:
cls (type):
The model class.
name (str):
The name of the field.
"""
super(SignatureField, self).contribute_to_class(cls, name)
post_init.connect(self._post_init, sender=cls)
def value_to_string(self, obj):
"""Return a serialized string value from the field.
Args:
obj (django.db.models.Model):
The model instance.
Returns:
unicode:
The serialized string contents.
"""
return self._dumps(self.value_from_object(obj))
def to_python(self, value):
"""Return a ProjectSignature value from the field contents.
Args:
value (object):
The current value assigned to the field. This might be
serialized string content or a
:py:class:`~django_evolution.signatures.ProjectSignature`
instance.
Returns:
django_evolution.signatures.ProjectSignature:
The project signature stored in the field.
Raises:
django.core.exceptions.ValidationError:
The field contents are of an unexpected type.
"""
if not value:
return ProjectSignature()
elif isinstance(value, six.string_types):
if value.startswith('json!'):
loaded_value = json.loads(value[len('json!'):],
object_pairs_hook=OrderedDict)
else:
loaded_value = pickle_loads(value)
return ProjectSignature.deserialize(loaded_value)
elif isinstance(value, ProjectSignature):
return value
else:
raise ValidationError(
'Unsupported serialized signature type %s' % type(value),
code='invalid',
params={
'value': value,
})
def get_prep_value(self, value):
"""Return a prepared Python value to work with.
This simply wraps :py:meth:`to_python`.
Args:
value (object):
The current value assigned to the field. This might be
serialized string content or a
:py:class:`~django_evolution.signatures.ProjectSignature`
instance.
Returns:
django_evolution.signatures.ProjectSignature:
The project signature stored in the field.
Raises:
django.core.exceptions.ValidationError:
The field contents are of an unexpected type.
"""
return self.to_python(value)
def get_db_prep_value(self, value, connection, prepared=False):
"""Return a prepared value for use in database operations.
Args:
value (object):
The current value assigned to the field. This might be
serialized string content or a
:py:class:`~django_evolution.signatures.ProjectSignature`
instance.
connection (django.db.backends.base.BaseDatabaseWrapper):
The database connection to operate on.
prepared (bool, optional):
Whether the value is already prepared for Python.
Returns:
unicode:
The value prepared for database operations.
"""
if not prepared:
value = self.get_prep_value(value)
return self._dumps(value)
def _post_init(self, instance, **kwargs):
"""Handle the construction of a model instance.
This will ensure the value set on the field is a valid
:py:class:`~django_evolution.signatures.ProjectSignature` object.
Args:
instance (django.db.models.Model):
The model instance being constructed.
**kwargs (dict, unused):
Additional keyword arguments from the signal.
"""
setattr(instance, self.attname,
self.to_python(self.value_from_object(instance)))
def _dumps(self, data):
"""Serialize the project signature to a string.
Args:
data (object):
The signature data to dump. This might be serialized string
content or a
:py:class:`~django_evolution.signatures.ProjectSignature`
instance.
Returns:
unicode:
The project signature stored in the field.
Raises:
TypeError:
The data provided was not of a supported type.
"""
if isinstance(data, six.string_types):
return data
elif isinstance(data, ProjectSignature):
serialized_data = data.serialize()
sig_version = serialized_data['__version__']
if sig_version >= 2:
return 'json!%s' % json.dumps(serialized_data)
else:
return pickle_dumps(serialized_data)
else:
raise TypeError('Unsupported signature type %s' % type(data))
@python_2_unicode_compatible
class Version(models.Model):
signature = SignatureField()
when = models.DateTimeField(default=now)
objects = VersionManager()
def is_hinted(self):
"""Return whether this is a hinted version.
Hinted versions store a signature without any accompanying evolutions.
Returns:
bool:
``True`` if this is a hinted evolution. ``False`` if it's based on
explicit evolutions.
"""
return not self.evolutions.exists()
def __str__(self):
if self.is_hinted():
return 'Hinted version, updated on %s' % self.when
return 'Stored version, updated on %s' % self.when
class Meta:
ordering = ('-when',)
db_table = 'django_project_version'
@python_2_unicode_compatible
class Evolution(models.Model):
version = models.ForeignKey(Version,
related_name='evolutions',
on_delete=models.CASCADE)
app_label = models.CharField(max_length=200)
label = models.CharField(max_length=100)
def __str__(self):
return 'Evolution %s, applied to %s' % (self.label, self.app_label)
class Meta:
db_table = 'django_evolution'
ordering = ('id',)
| [
"christian@beanbaginc.com"
] | christian@beanbaginc.com |
18187ad1700d5c8dae585133239b763f6a402a8d | c4a57dced2f1ed5fd5bac6de620e993a6250ca97 | /huaxin/huaxin_restful_service/restful_xjb_service/v1_services_account_matchsalarycard_entity.py | c33344a6c2cb1dc4e942635adb7d56ee975d07c7 | [] | no_license | wanglili1703/firewill | f1b287b90afddfe4f31ec063ff0bd5802068be4f | 1996f4c01b22b9aec3ae1e243d683af626eb76b8 | refs/heads/master | 2020-05-24T07:51:12.612678 | 2019-05-17T07:38:08 | 2019-05-17T07:38:08 | 187,169,391 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,748 | py | import json
from code_gen.lib.basic_troop_service_entity_handler import BasicTroopServiceEntityHandler
DOMAIN_NAME = u'10.199.111.2'
URL = u'http://%s/V1/services/account/matchSalaryCard'
BODY_DATA = u'{}'
_BODY_DATA = ''
if BODY_DATA:
_BODY_DATA = json.loads(BODY_DATA)
QUERY_DATA = ''
METHOD_TYPE = u'post'
CONTENT_TYPE = 'json'
REQUEST_DATA = (_BODY_DATA or QUERY_DATA)
HAS_DATA_PATTERN = True
DATA_PATTERN = {"certNo": "621100197601237892", "employeeId": "17", "timestamp": "1497516592672",
"noncestr": "z9ynqcu9hqn3hp64", "signature": "FFA69A9EF4E79AC76902C8552EE3ED1CC1B425A6"}
class V1ServicesAccountMatchsalarycardEntity(BasicTroopServiceEntityHandler):
"""
accessible attribute list for response data:
%s
==================
kwargs for request:
Please refer to the constants BODY_DATA or QUERY_DATA request parameters
"""
def __init__(self, domain_name=DOMAIN_NAME, token=None, **kwargs):
super(V1ServicesAccountMatchsalarycardEntity, self).__init__(domain_name=domain_name, url_string=URL,
data=REQUEST_DATA,
method_type=METHOD_TYPE,
request_content_type=CONTENT_TYPE,
has_data_pattern=HAS_DATA_PATTERN,
token=token, **kwargs)
def _set_data_pattern(self, *args, **kwargs):
self._current_data_pattern = DATA_PATTERN
if (__name__ == '__main__'):
e = V1ServicesAccountMatchsalarycardEntity()
e.send_request()
| [
"wanglili@shhxzq.com"
] | wanglili@shhxzq.com |
7f0e2f52088c6e75b7368d2a10b3685d21df0cfd | af6e7f0927517375cb4af833f4c52e301bad0af5 | /corpus_processor/topic_aware/filter_qa_corpus_by_douban_tags.py | 92a050d0aef2a7f2289a7de7ace4392858d4757f | [] | no_license | wolfhu/DialogPretraining | 470334fd815e1299981b827fdc933d237a489efd | eeeada92146d652d81ca6e961d1298924ac8435d | refs/heads/main | 2023-06-25T15:22:54.728187 | 2021-07-21T01:40:23 | 2021-07-21T01:40:23 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,889 | py | # encoding: utf-8
import sys
import json
from util.trie import Trie
douban_tag_file_path = '/home/t-yuniu/xiaoice/yuniu/dataset/douban_title/douban_title.json'
tag_black_dict = {}
tag_black_dict.setdefault('游戏', True)
tag_trie = Trie()
def detect_tag(sentence):
"""
Judge if sentence contain as least a tag.
:param sentence: query or answer
:return: boolean, True if contain, False otherwise.
"""
length = len(sentence)
detected_tags = []
for idx in range(length):
node = tag_trie.lookup
idx_tmp = idx
while True:
if idx_tmp >= length:
break
if sentence[idx_tmp] in node:
node = node[sentence[idx_tmp]]
idx_tmp += 1
if Trie.END in node:
detected_tags.append(sentence[idx:idx_tmp])
else:
break
return detected_tags
if __name__ == '__main__':
# build trie from tag file
with open(douban_tag_file_path) as douban_tag_file:
for line in douban_tag_file.readlines():
line = line.strip()
tags = json.loads(line)['Tag']
for tag in tags:
if len(tag) == 1 or tag in tag_black_dict:
continue
tag_trie.insert(tag)
# filter corpus contain tags
while True:
line = sys.stdin.readline().strip()
if line:
try:
line = line.replace('#', '')
query, answer = line.split('\t')[:2]
detected_tags = detect_tag(query)
detected_tags.extend(detect_tag(answer))
if len(detected_tags) > 0:
print('\t'.join([' '.join(set(detected_tags)), query, answer]))
except ValueError:
sys.stdout.write('Illegal line.\n')
else:
break
| [
"yuwu1@microsoft.com"
] | yuwu1@microsoft.com |
4a223198785e6cf114ac528d49f2445079b91eae | 392e81cad1a563eb3a63c38e4d32782b14924cd2 | /openregistry/lots/loki/tests/blanks/transferring.py | 0775b6747de9ab5526e2e8d09bc6479b4f081441 | [
"Apache-2.0"
] | permissive | EBRD-ProzorroSale/openregistry.lots.loki | 8de71ee4e6a0db5f3fb6e527658722f7a664fc1a | 178768ca5d4ffefa428740502bce0ef48d67aa61 | refs/heads/master | 2020-09-29T17:57:00.696627 | 2019-06-25T09:07:22 | 2019-06-25T09:07:22 | 227,088,853 | 0 | 0 | Apache-2.0 | 2019-12-10T10:19:08 | 2019-12-10T10:19:07 | null | UTF-8 | Python | false | false | 1,028 | py | # -*- coding: utf-8 -*-
def switch_mode(self):
# set test mode and try to change ownership
auth = ('Basic', (self.first_owner, ''))
self.__class__.resource_name = self.resource_name
resource = self.create_resource(auth=auth)
resource_access_transfer = self.resource_transfer
self.__class__.resource_name = ''
# decision that was created from asset can't be updated (by patch)
document = self.db.get(resource['id'])
document['mode'] = 'test'
self.db.save(document)
self.app.authorization = ('Basic', (self.test_owner, ''))
transfer = self.create_transfer()
req_data = {"data": {"id": transfer['data']['id'],
'transfer': resource_access_transfer}}
req_url = '{}/{}/ownership'.format(self.resource_name, resource['id'])
response = self.app.post_json(req_url, req_data)
self.assertEqual(response.status, '200 OK')
self.assertIn('owner', response.json['data'])
self.assertEqual(response.json['data']['owner'], self.test_owner)
| [
"leitsius@gmail.com"
] | leitsius@gmail.com |
5478e186191f05f9c3c4401549ee3ff8e1687157 | d308fffe3db53b034132fb1ea6242a509f966630 | /pirates/effects/HitStar.py | be3298d218d9fc5e5af3d31213510d77d2b026f3 | [
"BSD-3-Clause"
] | permissive | rasheelprogrammer/pirates | 83caac204965b77a1b9c630426588faa01a13391 | 6ca1e7d571c670b0d976f65e608235707b5737e3 | refs/heads/master | 2020-03-18T20:03:28.687123 | 2018-05-28T18:05:25 | 2018-05-28T18:05:25 | 135,193,362 | 3 | 2 | null | null | null | null | UTF-8 | Python | false | false | 4,103 | py | # uncompyle6 version 3.2.0
# Python bytecode 2.4 (62061)
# Decompiled from: Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)]
# Embedded file name: pirates.effects.HitStar
from pandac.PandaModules import *
from direct.interval.IntervalGlobal import *
from direct.particles import ParticleEffect
from direct.particles import Particles
from direct.particles import ForceGroup
from EffectController import EffectController
from PooledEffect import PooledEffect
import random
class HitStar(PooledEffect, EffectController):
__module__ = __name__
cardScale = 64.0
def __init__(self):
PooledEffect.__init__(self)
EffectController.__init__(self)
model = loader.loadModel('models/effects/particleMaps')
self.card = model.find('**/effectCandle')
self.setDepthWrite(0)
self.setLightOff()
self.setFogOff()
self.setColorScaleOff()
self.setBillboardPointEye(1.0)
self.f = ParticleEffect.ParticleEffect('HitStar')
self.f.reparentTo(self)
self.p0 = Particles.Particles('particles-1')
self.p0.setFactory('ZSpinParticleFactory')
self.p0.setRenderer('SpriteParticleRenderer')
self.p0.setEmitter('SphereSurfaceEmitter')
self.f.addParticles(self.p0)
self.p0.setPoolSize(32)
self.p0.setBirthRate(0.02)
self.p0.setLitterSize(32)
self.p0.setLitterSpread(0)
self.p0.setSystemLifespan(0.0)
self.p0.setLocalVelocityFlag(1)
self.p0.setSystemGrowsOlderFlag(0)
self.p0.factory.setLifespanBase(0.2)
self.p0.factory.setLifespanSpread(0.05)
self.p0.factory.setMassBase(1.0)
self.p0.factory.setMassSpread(0.0)
self.p0.factory.setTerminalVelocityBase(400.0)
self.p0.factory.setTerminalVelocitySpread(0.0)
self.p0.factory.setInitialAngle(0.0)
self.p0.factory.setInitialAngleSpread(360.0)
self.p0.factory.enableAngularVelocity(1)
self.p0.factory.setAngularVelocity(0.0)
self.p0.factory.setAngularVelocitySpread(0.0)
self.p0.renderer.setAlphaMode(BaseParticleRenderer.PRALPHAINOUT)
self.p0.renderer.setUserAlpha(0.5)
self.p0.renderer.setFromNode(self.card)
self.p0.renderer.setColor(Vec4(1.0, 1.0, 1.0, 1.0))
self.p0.renderer.setXScaleFlag(1)
self.p0.renderer.setYScaleFlag(1)
self.p0.renderer.setAnimAngleFlag(1)
self.p0.renderer.setInitialXScale(0.0001 * self.cardScale)
self.p0.renderer.setFinalXScale(0.01 * self.cardScale)
self.p0.renderer.setInitialYScale(0.0005 * self.cardScale)
self.p0.renderer.setFinalYScale(0.06 * self.cardScale)
self.p0.renderer.setNonanimatedTheta(0.0)
self.p0.renderer.setAlphaBlendMethod(BaseParticleRenderer.PPBLENDLINEAR)
self.p0.renderer.setAlphaDisable(0)
self.p0.renderer.setColorBlendMode(ColorBlendAttrib.MAdd, ColorBlendAttrib.OIncomingColor, ColorBlendAttrib.OOneMinusIncomingAlpha)
self.p0.emitter.setEmissionType(BaseParticleEmitter.ETRADIATE)
self.p0.emitter.setAmplitude(0.0)
self.p0.emitter.setAmplitudeSpread(0.0)
self.p0.emitter.setOffsetForce(Vec3(0.0, 0.0, 0.0))
self.p0.emitter.setExplicitLaunchVector(Vec3(0.0, 0.0, 0.0))
self.p0.emitter.setRadiateOrigin(Point3(0.0, 0.0, 0.0))
self.p0.emitter.setRadius(0.0001)
def createTrack(self):
self.startEffect = Sequence(Func(self.p0.setBirthRate, 0.02), Func(self.p0.clearToInitial), Func(self.f.start, self, self), Func(self.f.reparentTo, self))
self.endEffect = Sequence(Func(self.p0.setBirthRate, 2.0), Wait(1.5), Func(self.cleanUpEffect))
self.track = Sequence(self.startEffect, Wait(0.2), self.endEffect)
def play(self):
if self.p0:
self.createTrack()
self.track.start()
def cleanUpEffect(self):
EffectController.cleanUpEffect(self)
self.checkInEffect(self)
def destroy(self):
EffectController.destroy(self)
PooledEffect.destroy(self) | [
"33942724+itsyaboyrocket@users.noreply.github.com"
] | 33942724+itsyaboyrocket@users.noreply.github.com |
94666a658e5cb75a54cc8eeee091a7c8ead1b8ed | 53fab060fa262e5d5026e0807d93c75fb81e67b9 | /backup/user_262/ch3_2020_03_02_17_05_54_018019.py | 2faec9a442bc949e97a0ac509db5996e9bbdcd9b | [] | no_license | gabriellaec/desoft-analise-exercicios | b77c6999424c5ce7e44086a12589a0ad43d6adca | 01940ab0897aa6005764fc220b900e4d6161d36b | refs/heads/main | 2023-01-31T17:19:42.050628 | 2020-12-16T05:21:31 | 2020-12-16T05:21:31 | 306,735,108 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 105 | py | import math
def calcula_gaussiana(x,μ,σ):
s=(1**(-1/2)*(x-μ/σ)**2)/σ**1/2*2*math.pi
return s | [
"you@example.com"
] | you@example.com |
bc9ec64559d8ddc0d928b45b24d931e67b5b2478 | f49758370f6cea9f154847ba663b357d9f3f1742 | /lib/mathShape/cmd_exportCurrentFont.py | bf583d2e0ff89292ec5bf64365fffce6e2fa9848 | [
"BSD-3-Clause"
] | permissive | gr91/responsiveLettering | 7ff34aac81da0c334dabe5c5b8494f31d1c9ae2c | 00550eefb17f927442bb342d165495aeeb5f4547 | refs/heads/master | 2020-12-29T00:01:12.259874 | 2016-05-03T12:35:18 | 2016-05-03T12:35:18 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 9,705 | py | # -*- coding: utf-8 -*-
import os
import json
import vanilla
from mojo.UI import *
from AppKit import NSColor
from exportTools import makeSVGShape, makeMaster
import makePage
reload(makePage)
from makePage import PageMaker
import tempfile
class ExportUI(object):
shapeColorLibKey = "com.letterror.mathshape.preview.shapecolor"
backgroundColorLibKey = "com.letterror.mathshape.preview.bgcolor"
preferredFilenameLibKey = "com.letterror.mathshape.filename"
masterNames = ['narrow-thin', 'wide-thin', 'narrow-bold', 'wide-bold']
def __init__(self):
f = CurrentFont()
if f is None:
return
self.shapeColor = None
self.backgroundColor = None
self.extrapolateMinValue = 0
self.extrapolateMaxValue = 1
self.w = vanilla.Window((500, 600), "Responsive Lettering", minSize=(300,200))
self.w.preview = HTMLView((0,0,-0, -140))
self.w.exportButton = vanilla.Button((-150, -30, -10, 20), "Export SVG", callback=self.cbExport)
columnDescriptions = [
dict(title="Glyphname", key="name", width=125),
dict(title="Width", key="width", width=50),
dict(title="Height", key="height", width=50),
dict(title="Bounds?", key="bounds", width=75),
dict(title="Contours", key="contours", width=50),
dict(title="Points", key="points", width=50),
]
self.w.l = vanilla.List((0,-140,-0,-40), self.wrapGlyphs(), columnDescriptions=columnDescriptions, doubleClickCallback=self.callbackListClick)
self.w.t = vanilla.TextBox((70,-27,-160,20), "FontName", sizeStyle="small")
self.w.backgroundColorWell = vanilla.ColorWell((10,-30, 20, 20), callback=self.backgroundColorWellCallback, color=NSColor.blackColor())
self.w.shapeColorWell = vanilla.ColorWell((35,-30, 20, 20), callback=self.shapeColorWellCallback, color=NSColor.whiteColor())
self.w.bind("became main", self.windowBecameMainCallback)
self.setColorsFromLib()
self.update()
self.w.open()
self.cbMakePreview(None)
def windowBecameMainCallback(self, sender):
f = CurrentFont()
if f is not None:
self.update()
self.cbMakePreview(None)
def callbackListClick(self, sender):
# called after a double click on one of the glyphs in the list.
# open up a glyph window.
f = CurrentFont()
if f is None:
return
for i in sender.getSelection():
OpenGlyphWindow(glyph=f[self.masterNames[i]], newWindow=True)
def setColorsFromLib(self):
f = CurrentFont()
if f is None:
return
shapeColor = (1,1,1,0.5)
backgroundColor = (0,0,0,1)
if self.shapeColorLibKey in f.lib.keys():
v = f.lib[self.shapeColorLibKey]
if v is not None:
shapeColor = v
if self.backgroundColorLibKey in f.lib.keys():
v = f.lib[self.backgroundColorLibKey]
if v is not None:
backgroundColor = v
self.setShapeColor(shapeColor)
self.setBackgroundColor(backgroundColor)
def writeColorsToLib(self):
f = CurrentFont()
if f is None:
return
f.lib[self.shapeColorLibKey] = self.shapeColor
f.lib[self.backgroundColorLibKey] = self.backgroundColor
def setShapeColor(self, color):
r, g, b, a = color
self.shapeColor = color
self.w.shapeColorWell.set(NSColor.colorWithDeviceRed_green_blue_alpha_(r, g, b, a))
def setBackgroundColor(self, color):
r, g, b, a = color
self.backgroundColor = color
self.w.backgroundColorWell.set(NSColor.colorWithDeviceRed_green_blue_alpha_(r, g, b, a))
def update(self):
# when starting, or when there is an update?
f = CurrentFont()
if f is None:
return
# update color from lib
glyphs = self.wrapGlyphs()
self.w.l.set(glyphs)
folderName = self.proposeFilename(f)
self.w.t.set(u"📦 %s"%folderName)
def validate(self, font):
# can we generate this one?
# test.
# do we have all the right names:
for name in self.masterNames:
if name not in font:
#print 'missing glyph', name
self.w.t.set("Glyph %s missing."%name)
return False
return True
def wrapGlyphs(self):
glyphs = []
f = CurrentFont()
if f is None:
return
names = f.keys()
names.sort()
layers = f.layerOrder
if 'bounds' in layers:
hasBounds = "yup"
else:
hasBounds = "nope"
for n in names:
if n in self.masterNames:
status = True
else:
continue
g = f[n]
if hasBounds:
gb = g.getLayer('bounds')
xMin, yMin, xMax, yMax = gb.box
width = xMax-xMin
height = yMax-yMin
else:
width = g.width
height = None
contours, points = self.countGlyph(g)
d = dict(name=g.name,
width=width,
height=height,
bounds=hasBounds,
status=status,
contours=contours,
points=points,
)
glyphs.append(d)
return glyphs
def countGlyph(self, glyph):
# count the contours and the points
contours = 0
points = 0
for c in glyph.contours:
contours +=1
for s in c.segments:
for p in s.points:
points +=1
return contours, points
def shapeColorWellCallback(self, sender):
# update the color from the colorwell
clr = sender.get()
red = clr.redComponent()
grn = clr.greenComponent()
blu = clr.blueComponent()
alf = clr.alphaComponent()
self.setShapeColor((red, grn, blu, alf)) # set the color in the well
self.cbMakePreview(self) # update the preview
def backgroundColorWellCallback(self, sender):
# update the color from the colorwell
clr = sender.get()
red = clr.redComponent()
grn = clr.greenComponent()
blu = clr.blueComponent()
alf = clr.alphaComponent()
self.setBackgroundColor((red, grn, blu, alf)) # set the color in the well
self.cbMakePreview(self) # update the preview
def cbMakePreview(self, sender):
# generate a preview
self.w.preview.setHTMLPath(self.dump())
def cbExport(self, sender):
if not self.validate:
# show error message
self.w.t.set("Error, can't export.")
return
self.dump()
self.writeColorsToLib()
self.w.close()
def dump(self):
f = CurrentFont()
if f is None:
return
proposedName = self.proposeFilename(f)
# export the mathshape
root, tags, metaData = exportCurrentFont(f, self.masterNames, proposedName, self.extrapolateMinValue, self.extrapolateMaxValue)
outputPath = os.path.join(root, "preview_%s.html"%proposedName)
resourcesPath = os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(__file__))), "Resources")
outputPath = os.path.join(root, "preview_%s.html"%proposedName)
pm = PageMaker(resourcesPath, os.path.join(root, proposedName),
outputPath,
shapeColor= self.shapeColor,
bgColor = self.backgroundColor
)
return outputPath
def proposeFilename(self, exportFont):
name = "%s%s_ms"%(exportFont.info.familyName, exportFont.info.styleName)
name = name.lower()
return name
def exportCurrentFont(exportFont, masterNames, folderName, extrapolateMin=0, extrapolateMax=1, saveFiles=True):
tags = [] # the svg tags as they are produced
exportFont.save()
path = exportFont.path
checkBoundsLayer = False
if 'bounds' in exportFont.layerOrder:
checkBoundsLayer = True
root = os.path.dirname(exportFont.path)
if saveFiles:
# if we want to export to a real folder
imagesFolder = os.path.join(root, folderName)
jsonPath = os.path.join(imagesFolder, "files.json")
if not os.path.exists(imagesFolder):
os.makedirs(imagesFolder)
allBounds = []
for name in masterNames:
g = exportFont[name]
undo = False
if len(g.components)>0:
exportFont.prepareUndo(undoTitle="decompose_for_svg_export")
g.decompose()
undo = True
# check the bounds layer for the bounds first
bounds, tag = makeSVGShape(g, name=name)
tags.append(tag)
k = [bounds[2],bounds[3]]
if k not in allBounds: allBounds.append(k)
if saveFiles:
filePath = os.path.join(imagesFolder, "%s.svg"%name)
makeMaster(filePath, tag)
if undo:
exportFont.performUndo()
metaData = dict(sizebounds=allBounds, files=[folderName+"/%s.svg"%n for n in masterNames])
metaData['extrapolatemin']=extrapolateMin
metaData['extrapolatemax']=extrapolateMax
metaData['designspace']='twobytwo'
if saveFiles:
jsonFile = open(jsonPath, 'w')
jsonFile.write(json.dumps(metaData))
jsonFile.close()
return root, tags, metaData
ExportUI() | [
"erik@letterror.com"
] | erik@letterror.com |
2bced5615b9527f6da87e4a188c01cf1caa2d008 | 49536aafb22a77a6caf249c7fadef46d63d24dfe | /tensorflow/tensorflow/python/ops/bitwise_ops_test.py | a54f76c6da8a73255621281de950eac643a22a4e | [
"Apache-2.0"
] | permissive | wangzhi01/deeplearning-1 | 4e5ad93f0d9ecd302b74352f80fe1fa6ae70bf0d | 46ab82253d956953b8aa98e97ceb6cd290e82288 | refs/heads/master | 2020-05-28T03:14:55.687567 | 2018-09-12T16:52:09 | 2018-09-12T16:52:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,208 | py | # 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.
# ==============================================================================
"""Tests for bitwise operations."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import numpy as np
import six
from tensorflow.python.framework import constant_op
from tensorflow.python.framework import dtypes
from tensorflow.python.framework import test_util
from tensorflow.python.ops import bitwise_ops
from tensorflow.python.ops import gen_bitwise_ops
from tensorflow.python.platform import googletest
class BitwiseOpTest(test_util.TensorFlowTestCase):
def __init__(self, method_name="runTest"):
super(BitwiseOpTest, self).__init__(method_name)
def testBinaryOps(self):
dtype_list = [dtypes.int8, dtypes.int16, dtypes.int32, dtypes.int64,
dtypes.uint8, dtypes.uint16]
with self.test_session(use_gpu=True) as sess:
for dtype in dtype_list:
lhs = constant_op.constant([0, 5, 3, 14], dtype=dtype)
rhs = constant_op.constant([5, 0, 7, 11], dtype=dtype)
and_result, or_result, xor_result = sess.run(
[bitwise_ops.bitwise_and(lhs, rhs),
bitwise_ops.bitwise_or(lhs, rhs),
bitwise_ops.bitwise_xor(lhs, rhs)])
self.assertAllEqual(and_result, [0, 0, 3, 10])
self.assertAllEqual(or_result, [5, 5, 7, 15])
self.assertAllEqual(xor_result, [5, 5, 4, 5])
def testPopulationCountOp(self):
dtype_list = [dtypes.int8, dtypes.int16,
dtypes.int32, dtypes.int64,
dtypes.uint8, dtypes.uint16]
raw_inputs = [0, 1, -1, 3, -3, 5, -5, 14, -14,
127, 128, 255, 256, 65535, 65536,
2**31 - 1, 2**31, 2**32 - 1, 2**32, -2**32 + 1, -2**32,
-2**63 + 1, 2**63 - 1]
def count_bits(x):
return sum([bin(z).count("1") for z in six.iterbytes(x.tobytes())])
for dtype in dtype_list:
with self.test_session(use_gpu=True) as sess:
print("PopulationCount test: ", dtype)
inputs = np.array(raw_inputs, dtype=dtype.as_numpy_dtype)
truth = [count_bits(x) for x in inputs]
input_tensor = constant_op.constant(inputs, dtype=dtype)
popcnt_result = sess.run(gen_bitwise_ops.population_count(input_tensor))
self.assertAllEqual(truth, popcnt_result)
def testInvertOp(self):
dtype_list = [dtypes.int8, dtypes.int16, dtypes.int32, dtypes.int64,
dtypes.uint8, dtypes.uint16]
inputs = [0, 5, 3, 14]
with self.test_session(use_gpu=True) as sess:
for dtype in dtype_list:
# Because of issues with negative numbers, let's test this indirectly.
# 1. invert(a) and a = 0
# 2. invert(a) or a = invert(0)
input_tensor = constant_op.constant(inputs, dtype=dtype)
not_a_and_a, not_a_or_a, not_0 = sess.run(
[bitwise_ops.bitwise_and(
input_tensor, bitwise_ops.invert(input_tensor)),
bitwise_ops.bitwise_or(
input_tensor, bitwise_ops.invert(input_tensor)),
bitwise_ops.invert(constant_op.constant(0, dtype=dtype))])
self.assertAllEqual(not_a_and_a, [0, 0, 0, 0])
self.assertAllEqual(not_a_or_a, [not_0] * 4)
# For unsigned dtypes let's also check the result directly.
if dtype.is_unsigned:
inverted = sess.run(bitwise_ops.invert(input_tensor))
expected = [dtype.max - x for x in inputs]
self.assertAllEqual(inverted, expected)
def testShiftsWithPositiveLHS(self):
dtype_list = [np.int8, np.int16, np.int32, np.int64,
np.uint8, np.uint16, np.uint32, np.uint64]
with self.test_session(use_gpu=True) as sess:
for dtype in dtype_list:
lhs = np.array([0, 5, 3, 14], dtype=dtype)
rhs = np.array([5, 0, 7, 3], dtype=dtype)
left_shift_result, right_shift_result = sess.run(
[bitwise_ops.left_shift(lhs, rhs),
bitwise_ops.right_shift(lhs, rhs)])
self.assertAllEqual(left_shift_result, np.left_shift(lhs, rhs))
self.assertAllEqual(right_shift_result, np.right_shift(lhs, rhs))
def testShiftsWithNegativeLHS(self):
dtype_list = [np.int8, np.int16, np.int32, np.int64]
with self.test_session(use_gpu=True) as sess:
for dtype in dtype_list:
lhs = np.array([-1, -5, -3, -14], dtype=dtype)
rhs = np.array([5, 0, 7, 11], dtype=dtype)
left_shift_result, right_shift_result = sess.run(
[bitwise_ops.left_shift(lhs, rhs),
bitwise_ops.right_shift(lhs, rhs)])
self.assertAllEqual(left_shift_result, np.left_shift(lhs, rhs))
self.assertAllEqual(right_shift_result, np.right_shift(lhs, rhs))
def testImplementationDefinedShiftsDoNotCrash(self):
dtype_list = [np.int8, np.int16, np.int32, np.int64]
with self.test_session(use_gpu=True) as sess:
for dtype in dtype_list:
lhs = np.array([-1, -5, -3, -14], dtype=dtype)
rhs = np.array([-2, 64, 101, 32], dtype=dtype)
# We intentionally do not test for specific values here since the exact
# outputs are implementation-defined. However, we should not crash or
# trigger an undefined-behavior error from tools such as
# AddressSanitizer.
sess.run([bitwise_ops.left_shift(lhs, rhs),
bitwise_ops.right_shift(lhs, rhs)])
if __name__ == "__main__":
googletest.main()
| [
"hanshuobest@163.com"
] | hanshuobest@163.com |
a80ff9f1386aa36409ab1e29afa7136b24ce7cf5 | 8f8ac99fd3ed9ceb36778b404f6fdd0b6899d3f4 | /pyobjc-framework-UserNotifications/PyObjCTest/test_unnotificationcontent.py | 07f1f32f52d7b614a570c4574cae012390965548 | [
"MIT"
] | permissive | strogo/pyobjc | ac4201c7742eb75348328eeecb7eedf4e3458de3 | 2579c5eaf44b0c5af77ee195c417d2c65e72dfda | refs/heads/master | 2023-07-13T00:41:56.448005 | 2021-08-24T06:42:53 | 2021-08-24T06:42:53 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 884 | py | from PyObjCTools.TestSupport import TestCase, min_sdk_level, min_os_level
import UserNotifications
import objc
class TestUNNotificationContent(TestCase):
def test_constants(self):
self.assertEqual(UserNotifications.UNNotificationInterruptionLevelPassive, 0)
self.assertEqual(UserNotifications.UNNotificationInterruptionLevelActive, 1)
self.assertEqual(
UserNotifications.UNNotificationInterruptionLevelTimeSensitive, 2
)
self.assertEqual(UserNotifications.UNNotificationInterruptionLevelCritical, 3)
@min_sdk_level("12.0")
def test_protocols12_0(self):
objc.protocolNamed("UNNotificationContentProviding")
@min_os_level("12.0")
def test_methods12_0(self):
self.assertArgIsOut(
UserNotifications.UNNotificationContent.contentByUpdatingWithProvider_error_,
1,
)
| [
"ronaldoussoren@mac.com"
] | ronaldoussoren@mac.com |
bfd02018abdd0ca950150f959ccfe9a90d5e08e0 | cc95bf6a35fa6e17cfc87867a531b1fc01f1e49a | /py/rsync_dash_changes/rsync_dash_changes.py | 2ae7a019127a9344351854c81892bc3f466289a9 | [] | no_license | SMAPPNYU/smapputil | d88d9c65c79afd6a65f7cb991c09015f53ccff0a | 242a541c1e8687e003c37f1807a92112423b40d6 | refs/heads/master | 2023-01-04T03:09:34.725955 | 2019-06-25T15:37:07 | 2019-06-25T15:37:07 | 50,049,153 | 7 | 3 | null | 2022-12-26T20:24:55 | 2016-01-20T18:01:30 | Python | UTF-8 | Python | false | false | 4,010 | py | import os, sys, csv
import logging
import paramiko
import argparse
import subprocess
from os.path import expanduser
def paramiko_list_crontab(collector_machine, username, key):
logger = logging.getLogger(__name__)
# login to paramiko and list the crontab
ssh = paramiko.SSHClient()
ssh.load_system_host_keys()
ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
ssh.connect(collector_machine, username=username, key_filename=key)
ssh_stdin, ssh_stdout, ssh_stderr = ssh.exec_command('crontab -l')
# log any paramiko incident
if ssh_stderr.read():
logger.info('error from paramiko exec_command: %s', ssh_stderr.read())
return ssh_stdout
def build_collection_list(crontab_entries):
# create a parser for this argument
cron_parser = argparse.ArgumentParser()
cron_parser.add_argument('-n')
cron_parser.add_argument('-nfsb')
cron_parser.add_argument('-nfsm')
collection_list = []
# loop through each crontab entry
# and get the name of each collection
for cron_entry in crontab_entries:
if ' -n ' in cron_entry:
split_cron_entry = cron_entry.split(' ')
known_args, unknown_args = cron_parser.parse_known_args(split_cron_entry)
collection_list.append(known_args.n[1:-1])
return collection_list
def list_collections(collector_machine, username, key):
# get the crontab
paramiko_cron_output= paramiko_list_crontab(collector_machine, username, key)
# read the crontab from stdout
crontab = paramiko_cron_output.read()
# parse the crontab for the names of the collections
crontab_entries = crontab.decode().split('\n')
# create a parser for this argument
cron_parser = argparse.ArgumentParser()
cron_parser.add_argument('-n')
cron_parser.add_argument('-nfsb')
cron_parser.add_argument('-nfsm')
collection_list = []
# loop through each crontab entry
# and get the name of each collection
for cron_entry in crontab_entries:
if ' -n ' in cron_entry and '-op collect' in cron_entry:
split_cron_entry = cron_entry.split(' ')
known_args, unknown_args = cron_parser.parse_known_args(split_cron_entry)
collection_list.append(known_args.n[1:-1])
return collection_list
def parse_args(args):
parser = argparse.ArgumentParser()
parser.add_argument('-i', '--input', dest='input', required=True, help='Path to a file listing the servers you want to count.')
parser.add_argument('-l', '--log', dest='log', required=True, help='This is the path to where your output log should be.')
parser.add_argument('-k', '--key', dest='key', help='Specify your key, this is necessary on hpc where this was made to run as the key has a weird name.')
return parser.parse_args(args)
if __name__ == '__main__':
args = parse_args(sys.argv[1:])
logging.basicConfig(filename=args.log, level=logging.INFO)
logger = logging.getLogger(__name__)
with open(expanduser(args.input), 'r') as f:
reader = csv.reader(f)
next(reader)
for row in reader:
k = row[1]
v = list_collections(row[1], row[0], args.key)
incl = ','.join(v)+',"*.json",metadata,filters'
# needs to look like:
# /share/apps/utils/rsync.sh -a /scratch/olympus/ yvan@192.241.158.221:/mnt/olympus-stage/ --include={"*.json",whale_test,metadata,filters} --exclude='*' --update
run_cmd = '/share/apps/utils/rsync.sh -a {source} {uname}@{dest}:{dest_path} --include={{{params}}} --exclude="*" --update'.format(uname=row[0], source=row[3], dest=k, dest_path=row[2], params=incl)
logger.info('running: '+run_cmd)
process = subprocess.Popen([run_cmd], stdin=None, stdout=None, stderr=None, shell=True)
out, err = process.communicate()
logger.info('rsync subprocess output:\n {}'.format(out))
logger.info('rsync subprocess error:\n'.format(err))
| [
"yvanscher@gmail.com"
] | yvanscher@gmail.com |
a174ee4171661f8f51a4134585318720494b7f9c | 870639af1487cf59b548f56c9cd1a45928c1e2c2 | /homeassistant/components/renault/const.py | 2a0ea3a0d491d12cc02ae3fb6c36daf208f1c918 | [
"Apache-2.0"
] | permissive | atmurray/home-assistant | 9f050944d26c084f8f21e8612a7b90c0ae909763 | 133cb2c3b0e782f063c8a30de4ff55a5c14b9b03 | refs/heads/dev | 2023-03-19T04:26:40.743852 | 2021-11-27T05:58:25 | 2021-11-27T05:58:25 | 234,724,430 | 2 | 0 | Apache-2.0 | 2023-02-22T06:18:36 | 2020-01-18T11:27:02 | Python | UTF-8 | Python | false | false | 826 | py | """Constants for the Renault component."""
from homeassistant.components.binary_sensor import DOMAIN as BINARY_SENSOR_DOMAIN
from homeassistant.components.button import DOMAIN as BUTTON_DOMAIN
from homeassistant.components.device_tracker import DOMAIN as DEVICE_TRACKER_DOMAIN
from homeassistant.components.select import DOMAIN as SELECT_DOMAIN
from homeassistant.components.sensor import DOMAIN as SENSOR_DOMAIN
DOMAIN = "renault"
CONF_LOCALE = "locale"
CONF_KAMEREON_ACCOUNT_ID = "kamereon_account_id"
DEFAULT_SCAN_INTERVAL = 300 # 5 minutes
PLATFORMS = [
BINARY_SENSOR_DOMAIN,
BUTTON_DOMAIN,
DEVICE_TRACKER_DOMAIN,
SELECT_DOMAIN,
SENSOR_DOMAIN,
]
DEVICE_CLASS_PLUG_STATE = "renault__plug_state"
DEVICE_CLASS_CHARGE_STATE = "renault__charge_state"
DEVICE_CLASS_CHARGE_MODE = "renault__charge_mode"
| [
"noreply@github.com"
] | atmurray.noreply@github.com |
c167a5ed864f0c71faeaa6557cdedbd3318036e3 | bb970bbe151d7ac48d090d86fe1f02c6ed546f25 | /arouse/_dj/db/models/sql/datastructures.py | 8cd5c8082763c6c5b5c61f9a8c74fca055a950b4 | [
"Python-2.0",
"BSD-3-Clause"
] | permissive | thektulu/arouse | 95016b4028c2b8e9b35c5062a175ad04286703b6 | 97cadf9d17c14adf919660ab19771a17adc6bcea | refs/heads/master | 2021-01-13T12:51:15.888494 | 2017-01-09T21:43:32 | 2017-01-09T21:43:32 | 78,466,406 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,623 | py | """
Useful auxiliary data structures for query construction. Not useful outside
the SQL domain.
"""
from arouse._dj.db.models.sql.constants import INNER, LOUTER
class EmptyResultSet(Exception):
pass
class MultiJoin(Exception):
"""
Used by join construction code to indicate the point at which a
multi-valued join was attempted (if the caller wants to treat that
exceptionally).
"""
def __init__(self, names_pos, path_with_names):
self.level = names_pos
# The path travelled, this includes the path to the multijoin.
self.names_with_path = path_with_names
class Empty(object):
pass
class Join(object):
"""
Used by sql.Query and sql.SQLCompiler to generate JOIN clauses into the
FROM entry. For example, the SQL generated could be
LEFT OUTER JOIN "sometable" T1 ON ("othertable"."sometable_id" = "sometable"."id")
This class is primarily used in Query.alias_map. All entries in alias_map
must be Join compatible by providing the following attributes and methods:
- table_name (string)
- table_alias (possible alias for the table, can be None)
- join_type (can be None for those entries that aren't joined from
anything)
- parent_alias (which table is this join's parent, can be None similarly
to join_type)
- as_sql()
- relabeled_clone()
"""
def __init__(self, table_name, parent_alias, table_alias, join_type,
join_field, nullable):
# Join table
self.table_name = table_name
self.parent_alias = parent_alias
# Note: table_alias is not necessarily known at instantiation time.
self.table_alias = table_alias
# LOUTER or INNER
self.join_type = join_type
# A list of 2-tuples to use in the ON clause of the JOIN.
# Each 2-tuple will create one join condition in the ON clause.
self.join_cols = join_field.get_joining_columns()
# Along which field (or ForeignObjectRel in the reverse join case)
self.join_field = join_field
# Is this join nullabled?
self.nullable = nullable
def as_sql(self, compiler, connection):
"""
Generates the full
LEFT OUTER JOIN sometable ON sometable.somecol = othertable.othercol, params
clause for this join.
"""
join_conditions = []
params = []
qn = compiler.quote_name_unless_alias
qn2 = connection.ops.quote_name
# Add a join condition for each pair of joining columns.
for index, (lhs_col, rhs_col) in enumerate(self.join_cols):
join_conditions.append('%s.%s = %s.%s' % (
qn(self.parent_alias),
qn2(lhs_col),
qn(self.table_alias),
qn2(rhs_col),
))
# Add a single condition inside parentheses for whatever
# get_extra_restriction() returns.
extra_cond = self.join_field.get_extra_restriction(
compiler.query.where_class, self.table_alias, self.parent_alias)
if extra_cond:
extra_sql, extra_params = compiler.compile(extra_cond)
join_conditions.append('(%s)' % extra_sql)
params.extend(extra_params)
if not join_conditions:
# This might be a rel on the other end of an actual declared field.
declared_field = getattr(self.join_field, 'field', self.join_field)
raise ValueError(
"Join generated an empty ON clause. %s did not yield either "
"joining columns or extra restrictions." % declared_field.__class__
)
on_clause_sql = ' AND '.join(join_conditions)
alias_str = '' if self.table_alias == self.table_name else (' %s' % self.table_alias)
sql = '%s %s%s ON (%s)' % (self.join_type, qn(self.table_name), alias_str, on_clause_sql)
return sql, params
def relabeled_clone(self, change_map):
new_parent_alias = change_map.get(self.parent_alias, self.parent_alias)
new_table_alias = change_map.get(self.table_alias, self.table_alias)
return self.__class__(
self.table_name, new_parent_alias, new_table_alias, self.join_type,
self.join_field, self.nullable)
def __eq__(self, other):
if isinstance(other, self.__class__):
return (
self.table_name == other.table_name and
self.parent_alias == other.parent_alias and
self.join_field == other.join_field
)
return False
def demote(self):
new = self.relabeled_clone({})
new.join_type = INNER
return new
def promote(self):
new = self.relabeled_clone({})
new.join_type = LOUTER
return new
class BaseTable(object):
"""
The BaseTable class is used for base table references in FROM clause. For
example, the SQL "foo" in
SELECT * FROM "foo" WHERE somecond
could be generated by this class.
"""
join_type = None
parent_alias = None
def __init__(self, table_name, alias):
self.table_name = table_name
self.table_alias = alias
def as_sql(self, compiler, connection):
alias_str = '' if self.table_alias == self.table_name else (' %s' % self.table_alias)
base_sql = compiler.quote_name_unless_alias(self.table_name)
return base_sql + alias_str, []
def relabeled_clone(self, change_map):
return self.__class__(self.table_name, change_map.get(self.table_alias, self.table_alias))
| [
"michal.s.zukowski@gmail.com"
] | michal.s.zukowski@gmail.com |
bb8dcd4996df41998cc78aeffd36cfdb322f4fde | d308fffe3db53b034132fb1ea6242a509f966630 | /pirates/leveleditor/worldData/kingshead_area_island.py | 60f13af8888c6eadc7c5279689d11d8194a1b1d6 | [
"BSD-3-Clause"
] | permissive | rasheelprogrammer/pirates | 83caac204965b77a1b9c630426588faa01a13391 | 6ca1e7d571c670b0d976f65e608235707b5737e3 | refs/heads/master | 2020-03-18T20:03:28.687123 | 2018-05-28T18:05:25 | 2018-05-28T18:05:25 | 135,193,362 | 3 | 2 | null | null | null | null | UTF-8 | Python | false | false | 350,445 | py | # uncompyle6 version 3.2.0
# Python bytecode 2.4 (62061)
# Decompiled from: Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)]
# Embedded file name: pirates.leveleditor.worldData.kingshead_area_island
from pandac.PandaModules import Point3, VBase3, Vec4, Vec3
objectStruct = {'Interact Links': [['1177713664.0dxschafe2', '1176850560.0dxschafe', 'Bi-directional'], ['1177713664.0dxschafe1', '1176853504.0dxschafe6', 'Bi-directional'], ['1177716992.0dxschafe0', '1176850560.0dxschafe3', 'Bi-directional'], ['1177716992.0dxschafe', '1176850560.0dxschafe1', 'Bi-directional'], ['1177717248.0dxschafe12', '1176850560.0dxschafe4', 'Bi-directional'], ['1177713664.0dxschafe0', '1178580480.0dxschafe', 'Bi-directional'], ['1177713664.0dxschafe', '1176857216.0dxschafe', 'Bi-directional'], ['1177717248.0dxschafe4', '1176854400.0dxschafe0', 'Bi-directional'], ['1176856704.0dxschafe0', '1177716480.0dxschafe1', 'Bi-directional'], ['1176856704.0dxschafe2', '1176856832.0dxschafe', 'Bi-directional'], ['1177715712.0dxschafe0', '1178580608.0dxschafe', 'Bi-directional'], ['1177715328.0dxschafe2', '1176855680.0dxschafe', 'Bi-directional'], ['1177715712.0dxschafe1', '1178580736.0dxschafe', 'Bi-directional'], ['1177716864.0dxschafe2', '1176856320.0dxschafe', 'Bi-directional'], ['1176855040.0dxschafe', '1177713792.0dxschafe', 'Bi-directional'], ['1177713792.0dxschafe0', '1178582400.0dxschafe0', 'Bi-directional'], ['1176857344.0dxschafe', '1177716480.0dxschafe2', 'Bi-directional'], ['1177716480.0dxschafe5', '1178582400.0dxschafe', 'Bi-directional'], ['1176856704.0dxschafe', '1177716480.0dxschafe3', 'Bi-directional'], ['1177716480.0dxschafe4', '1178835840.0dxschafe', 'Bi-directional'], ['1177715328.0dxschafe3', '1176857344.0dxschafe0', 'Bi-directional'], ['1177715584.0dxschafe4', '1176857472.0dxschafe', 'Bi-directional'], ['1178835968.0dxschafe', '1177715584.0dxschafe2', 'Bi-directional'], ['1177715712.0dxschafe', '1178582784.0dxschafe', 'Bi-directional'], ['1177715328.0dxschafe1', '1176855936.0dxschafe', 'Bi-directional'], ['1178835968.0dxschafe0', '1177715328.0dxschafe0', 'Bi-directional'], ['1177715584.0dxschafe5', '1176857472.0dxschafe0', 'Bi-directional'], ['1177715584.0dxschafe10', '1176857472.0dxschafe1', 'Bi-directional'], ['1178836224.0dxschafe', '1177715584.0dxschafe', 'Bi-directional'], ['1178836352.0dxschafe', '1177716864.0dxschafe1', 'Bi-directional'], ['1177716864.0dxschafe', '1178836480.0dxschafe0', 'Bi-directional'], ['1178836608.0dxschafe', '1177716480.0dxschafe9', 'Bi-directional'], ['1176849152.0dxschafe', '1178836608.0dxschafe0', 'Bi-directional'], ['1177716480.0dxschafe10', '1178837120.0dxschafe', 'Bi-directional'], ['1178911488.0dxschafe0', '1177717248.0dxschafe14', 'Bi-directional'], ['1178911616.0dxschafe', '1177717248.0dxschafe6', 'Bi-directional'], ['1178911744.0dxschafe', '1177717248.0dxschafe1', 'Bi-directional'], ['1178911872.0dxschafe', '1177717248.0dxschafe7', 'Bi-directional'], ['1178912512.0dxschafe0', '1177717248.0dxschafe0', 'Bi-directional'], ['1178912768.0dxschafe', '1177717248.0dxschafe10', 'Bi-directional'], ['1177717248.0dxschafe11', '1178912768.0dxschafe0', 'Bi-directional'], ['1178912896.0dxschafe', '1177717248.0dxschafe9', 'Bi-directional'], ['1177717504.0dxschafe', '1178913024.0dxschafe', 'Bi-directional'], ['1177717504.0dxschafe1', '1178913280.0dxschafe', 'Bi-directional'], ['1177717248.0dxschafe3', '1178913408.0dxschafe', 'Bi-directional'], ['1177717120.0dxschafe', '1178914816.0dxschafe0', 'Bi-directional'], ['1178914816.0dxschafe1', '1177717248.0dxschafe5', 'Bi-directional'], ['1178914816.0dxschafe2', '1177717120.0dxschafe0', 'Bi-directional'], ['1177716864.0dxschafe0', '1178915200.0dxschafe', 'Bi-directional'], ['1178915200.0dxschafe0', '1177715328.0dxschafe4', 'Bi-directional'], ['1177716480.0dxschafe6', '1178915200.0dxschafe3', 'Bi-directional'], ['1178915200.0dxschafe4', '1177716480.0dxschafe8', 'Bi-directional'], ['1178915200.0dxschafe2', '1177715328.0dxschafe8', 'Bi-directional'], ['1178915200.0dxschafe1', '1177716480.0dxschafe7', 'Bi-directional'], ['1177715328.0dxschafe6', '1178915584.0dxschafe', 'Bi-directional'], ['1178915712.0dxschafe', '1177715328.0dxschafe7', 'Bi-directional'], ['1177715328.0dxschafe9', '1178915968.0dxschafe', 'Bi-directional'], ['1178915968.0dxschafe0', '1177715712.0dxschafe3', 'Bi-directional'], ['1178915840.0dxschafe', '1177716480.0dxschafe', 'Bi-directional'], ['1178915968.0dxschafe1', '1177715328.0dxschafe5', 'Bi-directional'], ['1177715584.0dxschafe0', '1178916352.0dxschafe', 'Bi-directional'], ['1178916480.0dxschafe0', '1177970176.0dxschafe', 'Bi-directional'], ['1177715584.0dxschafe1', '1178916480.0dxschafe1', 'Bi-directional'], ['1177715584.0dxschafe3', '1178916736.0dxschafe', 'Bi-directional'], ['1178916864.0dxschafe0', '1177715584.0dxschafe8', 'Bi-directional'], ['1178916864.0dxschafe2', '1177715584.0dxschafe6', 'Bi-directional']], 'Objects': {'1189479168.0sdnaik0': {'Type': 'Island Game Area', 'Name': 'Kingshead', 'File': '', 'Environment': 'OpenSky', 'Footstep Sound': 'Sand', 'Instanced': True, 'Minimap': False, 'Objects': {'1159933857.98sdnaik': {'Type': 'Player Spawn Node', 'GridPos': Point3(240.553, -568.23, 189.577), 'Hpr': VBase3(-155.938, 0.0, 0.0), 'Index': -1, 'Pos': Point3(-93.623, 347.632, 102.51), 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'All', 'Visual': {'Model': 'models/misc/smiley'}}, '1162578572.03dxschafe': {'Type': 'Barrel', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-1255.039, 683.91, 7.606), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.5199999809265137, 0.47999998927116394, 0.44999998807907104, 1.0), 'Model': 'models/props/barrel'}}, '1162578581.51dxschafe': {'Type': 'Barrel', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-1157.373, 586.745, 7.463), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/barrel'}}, '1162578582.39dxschafe': {'Type': 'Barrel', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-1151.678, 583.033, 7.361), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.6899999976158142, 0.5799999833106995, 0.4699999988079071, 1.0), 'Model': 'models/props/barrel'}}, '1162578584.71dxschafe': {'Type': 'Barrel', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-1049.925, 426.794, 8.042), 'Scale': VBase3(0.601, 0.601, 0.601), 'Visual': {'Color': (0.75, 0.699999988079071, 0.5899999737739563, 1.0), 'Model': 'models/props/barrel'}}, '1162578585.26dxschafe': {'Type': 'Barrel', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-1056.069, 427.513, 7.966), 'Scale': VBase3(0.668, 0.668, 0.668), 'Visual': {'Color': (0.6899999976158142, 0.5799999833106995, 0.4699999988079071, 1.0), 'Model': 'models/props/barrel_group_2'}}, '1162578588.03dxschafe': {'Type': 'Barrel', 'DisableCollision': True, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-962.332, 449.132, 21.308), 'Scale': VBase3(0.724, 0.724, 0.724), 'Visual': {'Model': 'models/props/barrel'}}, '1162578588.82dxschafe': {'Type': 'Barrel', 'DisableCollision': False, 'Hpr': VBase3(5.941, 0.0, 0.0), 'Pos': Point3(-793.516, 456.902, 30.057), 'Scale': VBase3(0.767, 0.767, 0.767), 'Visual': {'Color': (0.8500000238418579, 0.8199999928474426, 0.7300000190734863, 1.0), 'Model': 'models/props/barrel_group_3'}}, '1162578594.59dxschafe': {'Type': 'Barrel', 'DisableCollision': True, 'Hpr': VBase3(-80.153, 0.0, 0.0), 'Pos': Point3(-695.454, 502.725, 30.574), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.75, 0.699999988079071, 0.5899999737739563, 1.0), 'Model': 'models/props/barrel_group_1'}}, '1162578595.35dxschafe': {'Type': 'Barrel', 'DisableCollision': True, 'Hpr': VBase3(-3.779, -9.45, -21.915), 'Pos': Point3(-688.948, 501.517, 32.016), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.7099999785423279, 0.6700000166893005, 0.6000000238418579, 1.0), 'Model': 'models/props/barrel'}}, '1162578596.56dxschafe': {'Type': 'Barrel', 'DisableCollision': True, 'Hpr': VBase3(0.0, 0.0, -14.609), 'Pos': Point3(-689.895, 506.081, 31.762), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.7099999785423279, 0.6700000166893005, 0.6000000238418579, 1.0), 'Model': 'models/props/barrel'}}, '1162578611.48dxschafe': {'Type': 'Barrel', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-21.34, 429.699, 102.126), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.75, 0.699999988079071, 0.5899999737739563, 1.0), 'Model': 'models/props/barrel'}}, '1162578611.87dxschafe': {'Type': 'Barrel', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-23.347, 434.191, 101.444), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.7200000286102295, 0.699999988079071, 0.5899999737739563, 1.0), 'Model': 'models/props/barrel'}}, '1162578612.03dxschafe': {'Type': 'Barrel', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-17.376, 427.541, 102.246), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.5899999737739563, 0.5299999713897705, 0.44999998807907104, 1.0), 'Model': 'models/props/barrel'}}, '1162578623.92dxschafe': {'Type': 'Barrel', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(181.725, -687.051, 210.99), 'Scale': VBase3(0.757, 0.757, 0.757), 'Visual': {'Color': (0.8399999737739563, 0.699999988079071, 0.6200000047683716, 1.0), 'Model': 'models/props/barrel'}}, '1162578803.26dxschafe': {'Type': 'Bucket', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-1042.425, 439.509, 7.976), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/bucket'}}, '1162578812.96dxschafe': {'Type': 'Bucket', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-1062.634, 493.675, 7.653), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.5199999809265137, 0.47999998927116394, 0.44999998807907104, 1.0), 'Model': 'models/props/bucket'}}, '1162578818.06dxschafe': {'Type': 'Bucket', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-1046.657, 350.711, 9.544), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/bucket'}}, '1162578829.14dxschafe': {'Type': 'Bucket', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(109.019, 554.001, 131.852), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/bucket'}}, '1162578913.07dxschafe': {'Type': 'Bush', 'DisableCollision': True, 'Hpr': VBase3(179.243, -0.033, 1.982), 'Pos': Point3(-491.31, 300.982, 103.82), 'Scale': VBase3(2.202, 2.202, 2.202), 'Visual': {'Model': 'models/vegetation/bush_c'}}, '1162578945.31dxschafe': {'Type': 'Bush', 'DisableCollision': True, 'Hpr': VBase3(44.071, -14.44, -0.276), 'Pos': Point3(-551.336, 474.391, 61.777), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/bush_a'}}, '1162578949.48dxschafe': {'Type': 'Bush', 'DisableCollision': True, 'Hpr': VBase3(29.041, -5.238, 0.764), 'Pos': Point3(-557.485, 544.346, 54.979), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/bush_a'}}, '1162578951.89dxschafe': {'Type': 'Bush', 'DisableCollision': True, 'Hpr': VBase3(-140.794, -2.806, 0.931), 'Pos': Point3(-573.982, 586.728, 58.321), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/bush_a'}}, '1162578956.65dxschafe': {'Type': 'Bush', 'DisableCollision': True, 'Hpr': VBase3(20.845, -5.369, 0.0), 'Pos': Point3(-494.747, 320.964, 105.277), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/bush_a'}}, '1162578961.73dxschafe': {'Type': 'Bush', 'DisableCollision': True, 'Hpr': VBase3(-8.951, 3.703, 2.207), 'Pos': Point3(-549.238, 859.606, 78.363), 'Scale': VBase3(1.764, 1.764, 1.764), 'Visual': {'Model': 'models/vegetation/bush_c'}}, '1162578973.67dxschafe': {'Type': 'Bush', 'DisableCollision': True, 'Hpr': VBase3(5.886, 4.203, -2.465), 'Pos': Point3(26.549, 673.312, 95.283), 'Scale': VBase3(1.751, 1.751, 1.751), 'Visual': {'Model': 'models/vegetation/bush_c'}}, '1162579004.42dxschafe': {'Type': 'Bush', 'DisableCollision': True, 'Hpr': VBase3(20.845, -5.369, 0.0), 'Pos': Point3(-56.009, 30.162, 104.75), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/bush_a'}}, '1162579018.87dxschafe': {'Type': 'Bush', 'DisableCollision': True, 'Hpr': VBase3(20.845, -0.047, 0.0), 'Pos': Point3(105.667, -616.734, 190.065), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/bush_a'}}, '1162579033.57dxschafe': {'Type': 'Bush', 'DisableCollision': True, 'Hpr': VBase3(-120.756, 2.593, 0.679), 'Pos': Point3(63.965, -328.106, 173.072), 'Scale': VBase3(1.07, 1.07, 1.07), 'Visual': {'Model': 'models/vegetation/bush_b'}}, '1162579034.48dxschafe': {'Type': 'Bush', 'DisableCollision': True, 'Hpr': VBase3(41.813, -5.015, 1.919), 'Pos': Point3(123.645, -359.639, 189.159), 'Scale': VBase3(1.067, 1.067, 1.067), 'Visual': {'Model': 'models/vegetation/bush_a'}}, '1162579035.12dxschafe': {'Type': 'Bush', 'DisableCollision': False, 'Hpr': VBase3(22.387, 0.391, -14.945), 'Pos': Point3(105.167, -340.442, 183.875), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/bush_a'}}, '1162579035.71dxschafe': {'Type': 'Bush', 'DisableCollision': False, 'Hpr': VBase3(125.064, 1.352, 5.169), 'Pos': Point3(123.044, -358.94, 191.568), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/bush_a'}}, '1162579089.12dxschafe': {'Type': 'Bush', 'DisableCollision': True, 'Hpr': VBase3(3.426, 5.92, 1.853), 'Pos': Point3(257.839, -372.531, 197.61), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/bush_a'}}, '1162579093.32dxschafe': {'Type': 'Bush', 'DisableCollision': True, 'Hpr': VBase3(20.845, -5.369, 0.0), 'Pos': Point3(338.452, -108.801, 311.32), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/bush_a'}}, '1162579097.62dxschafe': {'Type': 'Bush', 'DisableCollision': True, 'Hpr': VBase3(20.845, -5.369, 0.0), 'Pos': Point3(355.077, -114.005, 312.153), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/bush_a'}}, '1162579102.74dxschafe': {'Type': 'Bush', 'DisableCollision': True, 'Hpr': VBase3(-89.779, 1.082, 7.319), 'Pos': Point3(388.706, -149.05, 303.198), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/bush_a'}}, '1162579160.48dxschafe': {'Type': 'Cart', 'DisableCollision': True, 'Hpr': VBase3(0.0, 0.0, -5.1), 'Pos': Point3(-947.588, 449.836, 21.274), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/cart_reg'}}, '1162579170.43dxschafe': {'Type': 'Cart', 'DisableCollision': False, 'Hpr': VBase3(66.334, 0.0, -4.183), 'Pos': Point3(-10.426, 353.825, 104.825), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.6100000143051147, 0.5799999833106995, 0.550000011920929, 1.0), 'Model': 'models/props/cart_reg'}}, '1162579184.39dxschafe': {'Type': 'Cart', 'DisableCollision': True, 'Hpr': VBase3(-111.175, 7.384, -6.436), 'Pos': Point3(-117.315, 357.917, 99.016), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/cart_reg'}}, '1162579213.67dxschafe': {'Type': 'Cart', 'DisableCollision': False, 'Hpr': VBase3(-171.918, 0.0, 0.0), 'Pos': Point3(-525.527, 622.403, 62.997), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/cart_broken'}}, '1162579218.82dxschafe': {'Type': 'Cart', 'DisableCollision': False, 'Hpr': VBase3(108.331, -4.768, -7.635), 'Pos': Point3(-529.295, 585.45, 61.189), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/cart_reg'}}, '1162579466.56dxschafe': {'Type': 'ChickenCage', 'DisableCollision': False, 'Hpr': VBase3(-52.928, 0.0, 0.0), 'Pos': Point3(-1047.614, 432.899, 10.682), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/ChickenCage'}}, '1162579498.53dxschafe': {'Type': 'ChickenCage', 'DisableCollision': False, 'Hpr': VBase3(49.994, 0.0, 0.0), 'Pos': Point3(-1011.95, 415.188, 7.948), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/ChickenCage'}}, '1162579499.56dxschafe': {'Type': 'ChickenCage', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-1008.422, 415.53, 7.948), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/ChickenCage'}}, '1162579576.72dxschafe': {'Type': 'ChickenCage', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-22.567, 421.663, 102.191), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.5199999809265137, 0.47999998927116394, 0.44999998807907104, 1.0), 'Model': 'models/props/ChickenCage'}}, '1162579577.19dxschafe': {'Type': 'ChickenCage', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-25.599, 423.453, 101.816), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.6100000143051147, 0.5799999833106995, 0.550000011920929, 1.0), 'Model': 'models/props/ChickenCage'}}, '1162579577.69dxschafe': {'Type': 'ChickenCage', 'DisableCollision': False, 'Hpr': VBase3(32.458, 0.0, 0.0), 'Pos': Point3(-19.065, 420.416, 102.42), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.7099999785423279, 0.6700000166893005, 0.6000000238418579, 1.0), 'Model': 'models/props/ChickenCage'}}, '1162579579.89dxschafe': {'Type': 'ChickenCage', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-23.926, 415.136, 102.751), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.6100000143051147, 0.5799999833106995, 0.550000011920929, 1.0), 'Model': 'models/props/ChickenCage'}}, '1162579735.42dxschafe': {'Type': 'Crate', 'DisableCollision': False, 'Hpr': VBase3(-21.067, 0.0, 0.0), 'Pos': Point3(-1016.303, 444.329, 7.976), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/crate_group_net'}}, '1162579742.55dxschafe': {'Type': 'Crate', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-1216.713, 620.349, 7.415), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.7099999785423279, 0.6700000166893005, 0.6000000238418579, 1.0), 'Model': 'models/props/crate'}}, '1162579743.05dxschafe': {'Type': 'Crate', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-1214.009, 616.921, 7.332), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.6899999976158142, 0.5799999833106995, 0.4699999988079071, 1.0), 'Model': 'models/props/crate'}}, '1162579743.48dxschafe': {'Type': 'Crate', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-1210.651, 613.207, 7.236), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.5899999737739563, 0.5299999713897705, 0.44999998807907104, 1.0), 'Model': 'models/props/crate'}}, '1162579747.2dxschafe': {'Type': 'Crate', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-1056.408, 421.336, 8.014), 'Scale': VBase3(1.541, 1.541, 1.541), 'Visual': {'Color': (0.7200000286102295, 0.699999988079071, 0.5899999737739563, 1.0), 'Model': 'models/props/crate'}}, '1162579747.63dxschafe': {'Type': 'Crate', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-1047.634, 432.793, 7.997), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.6100000143051147, 0.5799999833106995, 0.550000011920929, 1.0), 'Model': 'models/props/crate'}}, '1162579748.03dxschafe': {'Type': 'Crate', 'DisableCollision': False, 'Hpr': VBase3(8.537, 0.0, 0.0), 'Pos': Point3(-1054.709, 415.11, 7.875), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.7200000286102295, 0.699999988079071, 0.5899999737739563, 1.0), 'Model': 'models/props/crates_group_1'}}, '1162579749.17dxschafe': {'Type': 'Crate', 'DisableCollision': False, 'Hpr': VBase3(-109.578, 0.0, 0.0), 'Pos': Point3(-1026.135, 360.43, 7.756), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/crate_group_net'}}, '1162579749.59dxschafe': {'Type': 'Crate', 'DisableCollision': False, 'Hpr': VBase3(-24.287, 0.0, 0.0), 'Pos': Point3(-1042.77, 349.667, 8.003), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.8899999856948853, 0.8799999952316284, 0.7900000214576721, 1.0), 'Model': 'models/props/crate'}}, '1162579750.02dxschafe': {'Type': 'Crate', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-1023.436, 354.443, 7.971), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/crates_group_2'}}, '1162579752.83dxschafe': {'Type': 'Crate', 'DisableCollision': True, 'Hpr': VBase3(-100.611, 0.407, 0.076), 'Pos': Point3(-742.789, 487.73, 30.04), 'Scale': VBase3(1.316, 1.316, 1.316), 'Visual': {'Color': (0.7200000286102295, 0.699999988079071, 0.5899999737739563, 1.0), 'Model': 'models/props/crates_group_1'}}, '1162579753.2dxschafe': {'Type': 'Crate', 'DisableCollision': True, 'Hpr': VBase3(-6.177, -3.084, 8.395), 'Pos': Point3(-712.888, 493.759, 33.336), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.699999988079071, 0.699999988079071, 0.699999988079071, 1.0), 'Model': 'models/props/crate_net'}}, '1162579753.55dxschafe': {'Type': 'Crate', 'DisableCollision': True, 'Hpr': VBase3(23.15, 0.0, 0.0), 'Pos': Point3(-738.445, 487.459, 34.28), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.75, 0.800000011920929, 0.7300000190734863, 1.0), 'Model': 'models/props/crate'}}, '1162579753.89dxschafe': {'Type': 'Crate', 'DisableCollision': True, 'Hpr': VBase3(137.098, 0.0, 0.0), 'Pos': Point3(-727.676, 491.457, 30.125), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.6200000047683716, 0.6600000262260437, 0.6200000047683716, 1.0), 'Model': 'models/props/crate_04'}}, '1162579758.5dxschafe': {'Type': 'Crate', 'DisableCollision': True, 'Hpr': VBase3(100.975, 0.0, 0.0), 'Pos': Point3(-734.037, 490.019, 29.768), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.5799999833106995, 0.5699999928474426, 0.47999998927116394, 1.0), 'Model': 'models/props/crates_group_1'}}, '1162579759.27dxschafe': {'Type': 'Crate', 'DisableCollision': False, 'Hpr': VBase3(-65.067, 8.949, -4.136), 'Pos': Point3(-677.38, 470.0, 33.109), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.75, 0.699999988079071, 0.5899999737739563, 1.0), 'Model': 'models/props/crates_group_1'}}, '1162579759.73dxschafe': {'Type': 'Crate', 'DisableCollision': False, 'Hpr': VBase3(0.0, 0.0, -11.59), 'Pos': Point3(-665.141, 512.298, 36.531), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/crate'}}, '1162579760.77dxschafe': {'Type': 'Crate', 'DisableCollision': False, 'Hpr': VBase3(0.0, 0.0, -1.571), 'Pos': Point3(-690.186, 467.709, 30.955), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/crates_group_2'}}, '1162579761.23dxschafe': {'Type': 'Crate', 'DisableCollision': False, 'Hpr': VBase3(-28.392, 0.0, 0.0), 'Pos': Point3(-691.094, 471.39, 30.632), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.75, 0.800000011920929, 0.7300000190734863, 1.0), 'Model': 'models/props/crate'}}, '1162579761.78dxschafe': {'Type': 'Crate', 'DisableCollision': False, 'Hpr': VBase3(9.209, -0.854, -5.25), 'Pos': Point3(-683.449, 468.63, 32.076), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.75, 0.800000011920929, 0.7300000190734863, 1.0), 'Model': 'models/props/crate'}}, '1162579770.14dxschafe': {'Type': 'Crate', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-1050.593, 392.063, 7.74), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/crates_group_2'}}, '1162579770.7dxschafe': {'Type': 'Crate', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-1050.545, 386.048, 7.731), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.8500000238418579, 0.7900000214576721, 0.8299999833106995, 1.0), 'Model': 'models/props/crate_04'}}, '1162579771.16dxschafe': {'Type': 'Crate', 'DisableCollision': False, 'Hpr': VBase3(-19.25, 0.0, 0.0), 'Pos': Point3(-1050.448, 385.775, 10.527), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/crate_04'}}, '1162579776.66dxschafe': {'Type': 'Crate', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-1124.206, 525.16, 8.377), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.6200000047683716, 0.6600000262260437, 0.6200000047683716, 1.0), 'Model': 'models/props/crate'}}, '1162579777.11dxschafe': {'Type': 'Crate', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-1120.259, 520.391, 8.424), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.75, 0.699999988079071, 0.5899999737739563, 1.0), 'Model': 'models/props/crate'}}, '1162579777.53dxschafe': {'Type': 'Crate', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-1117.517, 516.969, 8.411), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.7200000286102295, 0.699999988079071, 0.5899999737739563, 1.0), 'Model': 'models/props/crate'}}, '1162579779.91dxschafe': {'Type': 'Crate', 'DisableCollision': False, 'Hpr': VBase3(41.226, 0.0, 0.0), 'Pos': Point3(-1149.398, 579.629, 7.312), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.7200000286102295, 0.699999988079071, 0.5899999737739563, 1.0), 'Model': 'models/props/crate'}}, '1162579783.03dxschafe': {'Type': 'Crate', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-1113.453, 514.521, 8.395), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.7099999785423279, 0.6700000166893005, 0.6000000238418579, 1.0), 'Model': 'models/props/crate'}}, '1162579790.45dxschafe': {'Type': 'Crate', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-1251.649, 680.147, 7.387), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.6899999976158142, 0.5799999833106995, 0.4699999988079071, 1.0), 'Model': 'models/props/crate'}}, '1162579798.03dxschafe': {'Type': 'Crate', 'DisableCollision': False, 'Hpr': VBase3(110.694, 0.0, 0.0), 'Pos': Point3(-940.188, 451.227, 21.181), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/crates_group_1'}}, '1162579801.08dxschafe': {'Type': 'Crate', 'DisableCollision': False, 'Hpr': VBase3(5.941, 0.0, 0.0), 'Pos': Point3(-803.579, 455.787, 30.104), 'Scale': VBase3(1.288, 1.288, 1.288), 'Visual': {'Model': 'models/props/crates_group_2'}}, '1162579802.02dxschafe': {'Type': 'Crate', 'DisableCollision': False, 'Hpr': VBase3(69.268, 0.0, 0.0), 'Pos': Point3(-783.976, 459.16, 30.08), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.5799999833106995, 0.5699999928474426, 0.47999998927116394, 1.0), 'Model': 'models/props/crate'}}, '1162579813.58dxschafe': {'Type': 'Crate', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-528.808, 557.92, 60.867), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/crate'}}, '1162579814.06dxschafe': {'Type': 'Crate', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-529.109, 611.344, 62.71), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.6000000238418579, 0.6000000238418579, 0.6000000238418579, 1.0), 'Model': 'models/props/crate'}}, '1162579814.48dxschafe': {'Type': 'Crate', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-529.602, 608.436, 62.469), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.800000011920929, 0.800000011920929, 0.800000011920929, 1.0), 'Model': 'models/props/crate'}}, '1162579815.16dxschafe': {'Type': 'Crate', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-529.276, 566.497, 60.951), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/crate'}}, '1162579815.92dxschafe': {'Type': 'Crate', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-529.857, 562.194, 60.832), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.699999988079071, 0.699999988079071, 0.699999988079071, 1.0), 'Model': 'models/props/crate'}}, '1162579821.0dxschafe': {'Type': 'Crate', 'DisableCollision': True, 'Hpr': VBase3(28.423, 0.0, 0.0), 'Pos': Point3(-96.085, 121.574, 103.805), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (1.0, 0.9900000095367432, 1.0, 1.0), 'Model': 'models/props/crates_group_1'}}, '1162579821.33dxschafe': {'Type': 'Crate', 'DisableCollision': True, 'Hpr': VBase3(24.106, 0.0, 0.0), 'Pos': Point3(-101.608, 131.793, 103.804), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.6200000047683716, 0.6600000262260437, 0.6200000047683716, 1.0), 'Model': 'models/props/crates_group_1'}}, '1162579821.59dxschafe': {'Type': 'Crate', 'DisableCollision': True, 'Hpr': Point3(0.0, 0.0, 0.0), 'Objects': {}, 'Pos': Point3(-102.645, 135.747, 106.913), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.5899999737739563, 0.5299999713897705, 0.44999998807907104, 1.0), 'Model': 'models/props/crate'}}, '1162579821.81dxschafe': {'Type': 'Crate', 'DisableCollision': True, 'Hpr': VBase3(35.304, 0.0, 0.0), 'Pos': Point3(-8.795, 345.801, 104.995), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/crate'}}, '1162579822.03dxschafe': {'Type': 'Crate', 'DisableCollision': True, 'Hpr': VBase3(23.973, 0.0, 0.0), 'Pos': Point3(-98.821, 126.779, 106.829), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.8500000238418579, 0.8199999928474426, 0.7300000190734863, 1.0), 'Model': 'models/props/crates_group_1'}}, '1162579822.25dxschafe': {'Type': 'Crate', 'DisableCollision': True, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-98.972, 126.617, 103.807), 'Scale': VBase3(1.107, 1.107, 1.107), 'Visual': {'Color': (0.5799999833106995, 0.5699999928474426, 0.47999998927116394, 1.0), 'Model': 'models/props/crate'}}, '1162579822.48dxschafe': {'Type': 'Crate', 'DisableCollision': True, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-104.125, 144.745, 103.805), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/crates_group_2'}}, '1162579822.69dxschafe': {'Type': 'Crate', 'DisableCollision': True, 'Hpr': VBase3(-25.152, 0.0, 0.0), 'Pos': Point3(-100.329, 138.058, 103.804), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/crate_04'}}, '1162579822.97dxschafe': {'Type': 'Crate', 'DisableCollision': True, 'Hpr': VBase3(29.695, 0.0, 0.0), 'Pos': Point3(-105.659, 138.91, 104.065), 'Scale': VBase3(0.93, 0.93, 0.93), 'Visual': {'Color': (0.75, 0.699999988079071, 0.5899999737739563, 1.0), 'Model': 'models/props/crates_group_1'}}, '1162579823.2dxschafe': {'Type': 'Crate', 'DisableCollision': True, 'Hpr': VBase3(45.029, 0.0, 0.0), 'Pos': Point3(-98.597, 133.384, 103.804), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.7450980544090271, 0.7960784435272217, 0.7333333492279053, 1.0), 'Model': 'models/props/crate_04'}}, '1162579823.44dxschafe': {'Type': 'Crate', 'DisableCollision': True, 'Hpr': VBase3(42.305, 0.0, 0.0), 'Pos': Point3(-102.775, 140.749, 103.808), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/crate'}}, '1162579823.75dxschafe': {'Type': 'Crate', 'DisableCollision': True, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-101.743, 131.485, 110.415), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.8500000238418579, 0.8199999928474426, 0.7300000190734863, 1.0), 'Model': 'models/props/crate'}}, '1162579825.64dxschafe': {'Type': 'Crate', 'DisableCollision': True, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-78.903, 79.757, 103.819), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/crate'}}, '1162579825.97dxschafe': {'Type': 'Crate', 'DisableCollision': True, 'Hpr': VBase3(-24.339, 0.0, 0.0), 'Pos': Point3(-79.202, 84.471, 103.817), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.8500000238418579, 0.8199999928474426, 0.7300000190734863, 1.0), 'Model': 'models/props/crates_group_2'}}, '1162579826.3dxschafe': {'Type': 'Crate', 'DisableCollision': True, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-80.717, 88.395, 103.815), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/crates_group_2'}}, '1162579826.63dxschafe': {'Type': 'Crate', 'DisableCollision': True, 'Hpr': VBase3(27.358, 0.0, 0.0), 'Pos': Point3(-83.928, 93.422, 103.814), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.9300000071525574, 0.8899999856948853, 0.8700000047683716, 1.0), 'Model': 'models/props/crates_group_1'}}, '1162579844.92dxschafe': {'Type': 'Barrel', 'DisableCollision': True, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-94.764, 117.007, 103.817), 'Scale': VBase3(0.693, 0.693, 0.693), 'Visual': {'Model': 'models/props/barrel_worn'}}, '1162579854.42dxschafe': {'Type': 'Barrel', 'DisableCollision': True, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-106.332, 155.11, 103.804), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.8100000023841858, 0.8199999928474426, 0.8700000047683716, 1.0), 'Model': 'models/props/barrel'}}, '1162579855.27dxschafe': {'Type': 'Barrel', 'DisableCollision': True, 'Hpr': VBase3(-62.516, 0.0, 0.0), 'Pos': Point3(-110.667, 150.915, 103.804), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.9200000166893005, 0.8999999761581421, 0.7900000214576721, 1.0), 'Model': 'models/props/barrel_group_1'}}, '1162579855.95dxschafe': {'Type': 'Barrel', 'DisableCollision': True, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-113.371, 165.291, 103.749), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.9200000166893005, 0.8999999761581421, 0.7900000214576721, 1.0), 'Model': 'models/props/barrel_sideways'}}, '1162579859.27dxschafe': {'Type': 'Barrel', 'DisableCollision': True, 'Hpr': VBase3(-61.474, 0.0, 0.0), 'Pos': Point3(-100.83, 148.656, 103.536), 'Scale': VBase3(0.73, 0.73, 0.73), 'Visual': {'Model': 'models/props/barrel_group_3'}}, '1162579859.63dxschafe': {'Type': 'Barrel', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(35.387, 404.87, 131.897), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/barrel'}}, '1162579860.06dxschafe': {'Type': 'Barrel', 'DisableCollision': True, 'Hpr': VBase3(-68.358, 0.0, 0.0), 'Pos': Point3(-116.574, 162.922, 103.804), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.7200000286102295, 0.699999988079071, 0.5899999737739563, 1.0), 'Model': 'models/props/barrel_group_1'}}, '1162579872.06dxschafe': {'Type': 'Crate', 'DisableCollision': False, 'Holiday': '', 'Hpr': VBase3(42.305, 0.0, 0.0), 'Pos': Point3(25.719, 495.183, 131.746), 'Scale': VBase3(1.0, 1.0, 1.0), 'VisSize': '', 'Visual': {'Color': (0.699999988079071, 0.699999988079071, 0.699999988079071, 1.0), 'Model': 'models/props/crate'}}, '1162579872.75dxschafe': {'Type': 'Crate', 'DisableCollision': False, 'Hpr': VBase3(42.305, 0.0, 0.0), 'Pos': Point3(20.736, 494.721, 131.746), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/crates_group_2'}}, '1162579889.47dxschafe': {'Type': 'Crate', 'DisableCollision': False, 'Hpr': VBase3(42.305, 0.0, 0.0), 'Pos': Point3(198.523, 446.216, 131.746), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/crate'}}, '1162579889.83dxschafe': {'Type': 'Crate', 'DisableCollision': False, 'Hpr': VBase3(42.305, 0.0, 0.0), 'Pos': Point3(194.897, 446.327, 131.423), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.6000000238418579, 0.6000000238418579, 0.6000000238418579, 1.0), 'Model': 'models/props/crate'}}, '1162579890.22dxschafe': {'Type': 'Crate', 'DisableCollision': False, 'Hpr': VBase3(42.305, 0.0, 0.0), 'Pos': Point3(186.967, 446.224, 131.746), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/crate'}}, '1162579909.41dxschafe': {'Type': 'Crate', 'DisableCollision': False, 'Hpr': VBase3(42.305, 0.0, 0.0), 'Pos': Point3(459.363, -149.815, 312.854), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.75, 0.699999988079071, 0.5899999737739563, 1.0), 'Model': 'models/props/crates_group_1'}}, '1162579909.92dxschafe': {'Type': 'Crate', 'DisableCollision': False, 'Hpr': VBase3(42.305, 0.0, 0.0), 'Pos': Point3(465.685, -151.602, 312.875), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.5899999737739563, 0.5299999713897705, 0.44999998807907104, 1.0), 'Model': 'models/props/crate'}}, '1162579920.13dxschafe': {'Type': 'Crate', 'DisableCollision': True, 'Hpr': VBase3(42.305, 0.0, 0.0), 'Pos': Point3(395.325, 44.977, 346.026), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.4099999964237213, 0.4300000071525574, 0.3499999940395355, 1.0), 'Model': 'models/props/crate'}}, '1162579920.59dxschafe': {'Type': 'Crate', 'DisableCollision': True, 'Hpr': VBase3(42.305, 0.0, 0.0), 'Pos': Point3(391.021, 45.368, 346.009), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/crates_group_2'}}, '1162579967.02dxschafe': {'Type': 'Crate', 'DisableCollision': False, 'Hpr': VBase3(42.305, 0.0, 0.0), 'Pos': Point3(178.408, -688.308, 210.99), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/crates_group_2'}}, '1162579975.23dxschafe': {'Type': 'Crate', 'DisableCollision': True, 'Hpr': VBase3(42.305, 0.0, 0.0), 'Pos': Point3(286.574, -621.105, 211.077), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.55, 0.48, 0.4, 1.0), 'Model': 'models/props/crates_group_1'}}, '1162579975.72dxschafe': {'Type': 'Crate', 'DisableCollision': True, 'Hpr': VBase3(42.305, 0.0, 0.0), 'Pos': Point3(281.59, -620.947, 210.99), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.5199999809265137, 0.47999998927116394, 0.44999998807907104, 1.0), 'Model': 'models/props/crate_04'}}, '1162579976.2dxschafe': {'Type': 'Crate', 'DisableCollision': False, 'Hpr': VBase3(42.305, 0.0, 0.0), 'Pos': Point3(284.796, -630.999, 211.396), 'Scale': VBase3(1.474, 1.474, 1.474), 'Visual': {'Color': (0.7200000286102295, 0.699999988079071, 0.5899999737739563, 1.0), 'Model': 'models/props/crate'}}, '1162580060.06dxschafe': {'Type': 'Hay', 'DisableCollision': False, 'Hpr': VBase3(0.0, -6.398, -6.397), 'Pos': Point3(-440.027, 454.098, 78.073), 'Scale': VBase3(1.803, 1.803, 1.803), 'Visual': {'Color': (0.6100000143051147, 0.5799999833106995, 0.550000011920929, 1.0), 'Model': 'models/props/haystack'}}, '1162580064.72dxschafe': {'Type': 'Hay', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-479.339, 436.756, 76.481), 'Scale': VBase3(3.173, 3.173, 3.173), 'Visual': {'Color': (0.61, 0.58, 0.55, 1.0), 'Model': 'models/props/haystack'}}, '1162580065.61dxschafe': {'Type': 'Hay', 'DisableCollision': False, 'Hpr': VBase3(0.0, -5.881, 0.0), 'Pos': Point3(-423.678, 508.779, 65.199), 'Scale': VBase3(2.131, 2.131, 2.131), 'Visual': {'Color': (0.6100000143051147, 0.5799999833106995, 0.550000011920929, 1.0), 'Model': 'models/props/haystack'}}, '1162580066.25dxschafe': {'Type': 'Hay', 'DisableCollision': False, 'Hpr': VBase3(0.0, -3.45, 0.0), 'Pos': Point3(-449.318, 482.471, 70.354), 'Scale': VBase3(2.752, 2.752, 2.752), 'Visual': {'Color': (0.6100000143051147, 0.5799999833106995, 0.550000011920929, 1.0), 'Model': 'models/props/haystack'}}, '1162580074.05dxschafe': {'Type': 'Hay', 'DisableCollision': False, 'Hpr': VBase3(47.42, -4.266, 3.042), 'Pos': Point3(-453.903, 434.764, 80.775), 'Scale': VBase3(2.783, 2.783, 2.783), 'Visual': {'Color': (0.6100000143051147, 0.5799999833106995, 0.550000011920929, 1.0), 'Model': 'models/props/haystack'}}, '1162580075.95dxschafe': {'Type': 'Hay', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-419.228, 455.587, 78.248), 'Scale': VBase3(2.154, 2.154, 2.154), 'Visual': {'Color': (0.6100000143051147, 0.5799999833106995, 0.550000011920929, 1.0), 'Model': 'models/props/haystack'}}, '1162580225.74dxschafe': {'Type': 'Horse_trough', 'DisableCollision': False, 'Hpr': VBase3(85.226, 0.0, 0.0), 'Pos': Point3(-10.095, 329.537, 104.875), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/horse_trough'}}, '1162580240.64dxschafe': {'Type': 'Horse_trough', 'DisableCollision': False, 'Hpr': VBase3(19.605, 0.0, 0.0), 'Pos': Point3(182.749, -574.669, 189.577), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/horse_trough'}}, '1162580356.19dxschafe': {'Type': 'Log_Stack', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(168.452, 465.784, 131.733), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/Log_stack_a'}}, '1162580369.04dxschafe': {'Type': 'Log_Stack', 'DisableCollision': True, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-106.569, 164.243, 103.804), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/Log_stack_b'}}, '1162580373.35dxschafe': {'Type': 'Log_Stack', 'DisableCollision': True, 'Hpr': VBase3(66.784, 0.0, 0.0), 'Pos': Point3(-106.673, 169.326, 103.804), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/Log_stack_b'}}, '1162580373.83dxschafe': {'Type': 'Log_Stack', 'DisableCollision': True, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-111.923, 172.895, 103.804), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/gen_log_group02'}}, '1162580879.15dxschafe': {'Type': 'Log_Stack', 'DisableCollision': False, 'Hpr': VBase3(-3.984, -0.092, 1.325), 'Pos': Point3(-146.047, 301.955, 106.84), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/Log_stack_a'}}, '1162580881.65dxschafe': {'Type': 'Pig_stuff', 'DisableCollision': True, 'Hpr': VBase3(-41.057, -6.391, -3.868), 'Pos': Point3(-134.692, 332.603, 100.917), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/pig_pen'}}, '1162580906.99dxschafe': {'Type': 'Pig_stuff', 'DisableCollision': False, 'Hpr': VBase3(-40.731, -2.435, 0.107), 'Pos': Point3(-142.776, 322.612, 103.694), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/pig_pen'}}, '1162580922.91dxschafe': {'Type': 'Hay', 'DisableCollision': True, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-143.249, 331.031, 102.073), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/haystack'}}, '1162580923.88dxschafe': {'Type': 'Hay', 'DisableCollision': True, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-156.71, 311.125, 105.83), 'Scale': VBase3(2.695, 2.695, 2.695), 'Visual': {'Model': 'models/props/haystack'}}, '1162580924.46dxschafe': {'Type': 'Hay', 'DisableCollision': True, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-152.45, 318.306, 104.16), 'Scale': VBase3(2.169, 2.169, 2.169), 'Visual': {'Model': 'models/props/haystack'}}, '1162580944.44dxschafe': {'Type': 'Sack', 'DisableCollision': True, 'Hpr': VBase3(-62.102, 0.0, 0.0), 'Pos': Point3(-122.68, 178.885, 103.804), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.9300000071525574, 0.8899999856948853, 0.8700000047683716, 1.0), 'Model': 'models/props/sack_18stack'}}, '1162580950.63dxschafe': {'Type': 'Sack', 'DisableCollision': True, 'Hpr': VBase3(-43.038, 0.0, 0.0), 'Pos': Point3(-71.783, 68.88, 103.822), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/sack_18stack'}}, '1162580951.07dxschafe': {'Type': 'Sack', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-73.478, 87.149, 103.82), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/Sack'}}, '1162580951.41dxschafe': {'Type': 'Sack', 'DisableCollision': True, 'Hpr': VBase3(-33.329, 0.0, 0.0), 'Pos': Point3(-65.234, 77.609, 103.819), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/sack_6stack'}}, '1162580951.76dxschafe': {'Type': 'Sack', 'DisableCollision': True, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-126.879, 192.164, 103.819), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/sack_18stack'}}, '1162580956.87dxschafe': {'Type': 'Sack', 'DisableCollision': True, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-113.272, 182.853, 103.81), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/sack_18stack'}}, '1162580957.74dxschafe': {'Type': 'Sack', 'DisableCollision': True, 'Hpr': VBase3(119.703, 0.0, 0.0), 'Pos': Point3(-100.602, 156.402, 103.812), 'Scale': VBase3(0.791, 0.791, 0.791), 'Visual': {'Model': 'models/props/sack_6stack'}}, '1162580963.84dxschafe': {'Type': 'Sack', 'DisableCollision': True, 'Hpr': VBase3(49.496, 0.0, 0.0), 'Pos': Point3(-125.522, 350.717, 99.291), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/sack_18stack'}}, '1162580971.01dxschafe': {'Type': 'Sack', 'DisableCollision': False, 'Hpr': VBase3(56.149, 0.0, 0.0), 'Pos': Point3(-31.553, 435.522, 100.85), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/Sack'}}, '1162580971.24dxschafe': {'Type': 'Sack', 'DisableCollision': False, 'Hpr': VBase3(72.25, 0.0, 0.0), 'Pos': Point3(-28.073, 433.054, 101.218), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/Sack'}}, '1162580971.38dxschafe': {'Type': 'Sack', 'DisableCollision': False, 'Hpr': VBase3(-157.537, 0.0, 0.0), 'Pos': Point3(-34.164, 439.223, 100.498), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/Sack'}}, '1162580983.6dxschafe': {'Type': 'Sack', 'DisableCollision': False, 'Hpr': VBase3(-42.733, 0.0, 0.0), 'Pos': Point3(-1017.765, 448.06, 7.582), 'Scale': VBase3(0.651, 0.651, 0.651), 'Visual': {'Model': 'models/props/sack_6stack'}}, '1162580990.91dxschafe': {'Type': 'Sack', 'DisableCollision': False, 'Hpr': VBase3(93.309, 6.67, 0.0), 'Pos': Point3(-686.9, 469.514, 31.376), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/Sack'}}, '1162580992.99dxschafe': {'Type': 'Sack', 'DisableCollision': False, 'Hpr': VBase3(9.506, -16.888, -8.629), 'Pos': Point3(-684.399, 471.385, 31.882), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/Sack'}}, '1162580993.46dxschafe': {'Type': 'Sack', 'DisableCollision': False, 'Hpr': VBase3(-31.896, -25.543, -8.434), 'Pos': Point3(-689.106, 473.435, 31.331), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/Sack'}}, '1162581085.74dxschafe': {'Type': 'Trellis', 'DisableCollision': False, 'Hpr': VBase3(115.113, 0.0, 0.0), 'Pos': Point3(-71.393, 86.796, 103.804), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/trellis_d'}}, '1162581139.15dxschafe': {'Type': 'Trellis', 'DisableCollision': False, 'Hpr': VBase3(98.567, 0.024, -1.248), 'Pos': Point3(-522.502, 603.365, 62.164), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/trellis_d'}}, '1162581173.01dxschafe': {'Type': 'Trellis', 'DisableCollision': False, 'Hpr': VBase3(31.512, 0.0, 0.0), 'Pos': Point3(428.123, -26.523, 319.217), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/trellis_d'}}, '1162581211.88dxschafe': {'Type': 'Crate', 'DisableCollision': True, 'Hpr': VBase3(42.305, 0.0, 0.0), 'Pos': Point3(390.628, -43.632, 319.942), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.7200000286102295, 0.699999988079071, 0.5899999737739563, 1.0), 'Model': 'models/props/crate'}}, '1162581212.92dxschafe': {'Type': 'Crate', 'DisableCollision': True, 'Hpr': VBase3(161.519, 0.0, 0.0), 'Pos': Point3(392.888, -38.2, 320.026), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.75, 0.699999988079071, 0.5899999737739563, 1.0), 'Model': 'models/props/crates_group_1'}}, '1162581213.56dxschafe': {'Type': 'Crate', 'DisableCollision': True, 'Hpr': VBase3(42.305, 0.0, 0.0), 'Pos': Point3(396.735, -37.334, 319.819), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.75, 0.699999988079071, 0.5899999737739563, 1.0), 'Model': 'models/props/crate'}}, '1162581226.56dxschafe': {'Type': 'Barrel', 'DisableCollision': True, 'Hpr': VBase3(-71.376, 0.0, 0.0), 'Pos': Point3(427.461, -16.75, 319.86), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.6899999976158142, 0.5799999833106995, 0.4699999988079071, 1.0), 'Model': 'models/props/barrel'}}, '1162581226.92dxschafe': {'Type': 'Barrel', 'DisableCollision': True, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(432.026, -16.234, 319.47), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.7200000286102295, 0.699999988079071, 0.5899999737739563, 1.0), 'Model': 'models/props/barrel_sideways'}}, '1162581227.28dxschafe': {'Type': 'Barrel', 'DisableCollision': True, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(436.23, -15.354, 319.916), 'Scale': VBase3(0.929, 0.929, 0.929), 'Visual': {'Color': (0.9200000166893005, 0.8999999761581421, 0.7900000214576721, 1.0), 'Model': 'models/props/barrel_worn'}}, '1162581237.09dxschafe': {'Type': 'Barrel', 'DisableCollision': True, 'Hpr': VBase3(0.0, 0.0, 0.0), 'Pos': Point3(241.854, -538.704, 189.577), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.6000000238418579, 0.6000000238418579, 0.6000000238418579, 1.0), 'Model': 'models/props/barrel'}}, '1162581293.62dxschafe': {'Type': 'Well', 'DisableCollision': False, 'Hpr': VBase3(-58.2, 0.0, 0.0), 'Pos': Point3(-84.227, 288.501, 104.522), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.7099999785423279, 0.6700000166893005, 0.6000000238418579, 1.0), 'Model': 'models/props/wellA'}}, '1162581348.79dxschafe': {'Type': 'Well', 'DisableCollision': False, 'Hpr': VBase3(-9.827, -0.042, -0.007), 'Pos': Point3(148.187, -805.97, 210.712), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/wellA'}}, '1162581389.76dxschafe': {'Type': 'Tree', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-379.947, 379.864, 92.515), 'Scale': VBase3(1.176, 1.176, 1.176), 'Visual': {'Model': 'models/vegetation/gen_tree_a'}}, '1162581396.45dxschafe': {'Type': 'Tree', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-434.975, 368.117, 96.091), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/gen_tree_b'}}, '1162581397.65dxschafe': {'Type': 'Tree', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-472.507, 392.353, 88.415), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/gen_tree_a'}}, '1162581399.7dxschafe': {'Type': 'Tree', 'DisableCollision': False, 'Hpr': VBase3(17.172, 0.0, 0.0), 'Pos': Point3(-371.32, 320.798, 104.402), 'Scale': VBase3(1.123, 1.123, 1.123), 'Visual': {'Model': 'models/vegetation/gen_tree_c'}}, '1162581407.95dxschafe': {'Type': 'Tree', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-200.778, 379.946, 97.086), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/gen_tree_d'}}, '1162581408.93dxschafe': {'Type': 'Tree', 'DisableCollision': False, 'Hpr': VBase3(54.257, 0.0, 0.0), 'Pos': Point3(-216.787, 319.441, 106.16), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/gen_tree_d'}}, '1162581409.87dxschafe': {'Type': 'Tree', 'DisableCollision': False, 'Hpr': VBase3(-54.091, 0.0, 0.0), 'Pos': Point3(-315.994, 398.542, 81.683), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/gen_tree_d'}}, '1162581410.49dxschafe': {'Type': 'Tree', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-299.413, 324.034, 100.77), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/gen_tree_b'}}, '1162581412.76dxschafe': {'Type': 'Tree', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(4.791, 770.684, 86.958), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/gen_tree_c'}}, '1162581413.31dxschafe': {'Type': 'Tree', 'DisableCollision': False, 'Hpr': VBase3(-62.94, 0.0, 0.0), 'Pos': Point3(11.193, 700.191, 95.218), 'Scale': VBase3(1.19, 1.19, 1.19), 'Visual': {'Model': 'models/vegetation/gen_tree_a'}}, '1162581413.87dxschafe': {'Type': 'Tree', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-71.824, 778.463, 73.501), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/gen_tree_a'}}, '1162581414.4dxschafe': {'Type': 'Tree', 'DisableCollision': True, 'Hpr': VBase3(0.0, 0.0, -0.012), 'Pos': Point3(-171.158, 819.851, 80.862), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/gen_tree_d'}}, '1162581415.2dxschafe': {'Type': 'Tree', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-26.386, 818.391, 78.858), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/gen_tree_a'}}, '1162581429.89dxschafe': {'Type': 'Tree', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-152.259, 283.456, 113.611), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/gen_tree_a'}}, '1162581430.57dxschafe': {'Type': 'Tree', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-135.777, 243.408, 107.821), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/gen_tree_h'}}, '1162581434.31dxschafe': {'Type': 'Tree', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-107.049, 239.17, 106.873), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/gen_tree_a'}}, '1162581438.9dxschafe': {'Type': 'Tree', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-142.147, 298.294, 108.079), 'Scale': VBase3(0.753, 0.753, 0.753), 'Visual': {'Model': 'models/vegetation/gen_tree_a'}}, '1162581441.68dxschafe': {'Type': 'Tree', 'DisableCollision': False, 'Hpr': VBase3(-29.311, -12.973, -2.179), 'Pos': Point3(-41.401, -59.47, 121.657), 'Scale': VBase3(1.092, 1.092, 1.092), 'Visual': {'Model': 'models/vegetation/gen_tree_a'}}, '1162581446.79dxschafe': {'Type': 'Tree', 'DisableCollision': False, 'Hpr': VBase3(-114.117, 0.735, 0.329), 'Pos': Point3(-49.321, 48.461, 105.773), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/gen_tree_h'}}, '1162581462.1dxschafe': {'Type': 'Tree', 'DisableCollision': False, 'Hpr': VBase3(0.0, 1.947, 0.0), 'Pos': Point3(196.426, -346.12, 209.582), 'Scale': VBase3(0.846, 0.846, 0.846), 'Visual': {'Model': 'models/vegetation/gen_tree_a'}}, '1162581462.87dxschafe': {'Type': 'Tree', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(238.649, -310.697, 221.429), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/gen_tree_c'}}, '1162581463.7dxschafe': {'Type': 'Tree', 'DisableCollision': False, 'Hpr': VBase3(-28.684, 0.0, 0.0), 'Pos': Point3(176.758, -312.253, 214.669), 'Scale': VBase3(1.124, 1.124, 1.124), 'Visual': {'Model': 'models/vegetation/gen_tree_a'}}, '1162581474.23dxschafe': {'Type': 'Tree', 'DisableCollision': True, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(339.03, -247.452, 241.901), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/gen_tree_a'}}, '1162581474.96dxschafe': {'Type': 'Tree', 'DisableCollision': True, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(390.385, -226.417, 258.268), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/gen_tree_a'}}, '1162581492.23dxschafe': {'Type': 'Tree', 'DisableCollision': False, 'Hpr': VBase3(-65.859, 0.0, 0.0), 'Pos': Point3(74.99, -591.635, 197.234), 'Scale': VBase3(1.11, 1.11, 1.11), 'Visual': {'Model': 'models/vegetation/gen_tree_c'}}, '1162581492.68dxschafe': {'Type': 'Tree', 'DisableCollision': False, 'Hpr': VBase3(-16.699, 0.0, 0.0), 'Pos': Point3(104.629, -588.11, 189.577), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/gen_tree_a'}}, '1162581493.14dxschafe': {'Type': 'Tree', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(18.683, -580.89, 197.002), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/gen_tree_c'}}, '1162581493.82dxschafe': {'Type': 'Tree', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(0.0, -532.335, 190.623), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/gen_tree_a'}}, '1162581502.81dxschafe': {'Type': 'Tree', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-56.523, 821.408, 78.588), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/gen_tree_b'}}, '1162581562.17dxschafe': {'Type': 'Tree', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(30.687, 220.343, 114.664), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/gen_tree_c'}}, '1162581570.34dxschafe': {'Type': 'Tree', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(38.959, 281.817, 114.976), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/gen_tree_a'}}, '1162581571.57dxschafe': {'Type': 'Tree', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(68.168, 362.757, 117.275), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/gen_tree_a'}}, '1162581574.82dxschafe': {'Type': 'Tree', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(45.364, -88.646, 133.226), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/gen_tree_a'}}, '1162581575.75dxschafe': {'Type': 'Tree', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(47.284, -29.243, 125.115), 'Scale': VBase3(0.793, 0.793, 0.793), 'Visual': {'Model': 'models/vegetation/gen_tree_a'}}, '1162581578.81dxschafe': {'Type': 'Tree', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(50.96, -244.286, 164.65), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/gen_tree_a'}}, '1162581602.12dxschafe': {'Type': 'Tree', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(272.602, -517.422, 189.577), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/gen_tree_a'}}, '1162581615.15dxschafe': {'Type': 'Tree', 'DisableCollision': True, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(348.349, -131.467, 301.455), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/gen_tree_c'}}, '1162581618.45dxschafe': {'Type': 'Tree', 'DisableCollision': True, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(303.135, -149.489, 294.177), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/gen_tree_a'}}, '1162582739.19dxschafe': {'Type': 'Tree', 'DisableCollision': True, 'Hpr': VBase3(81.763, 0.0, 0.0), 'Pos': Point3(-547.532, 475.02, 63.015), 'Scale': VBase3(1.304, 1.304, 1.304), 'Visual': {'Model': 'models/vegetation/palm_tree_f'}}, '1162582765.75dxschafe': {'Type': 'Tree', 'DisableCollision': True, 'Hpr': VBase3(27.873, -4.372, -0.655), 'Pos': Point3(-543.29, 480.948, 55.875), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/palm_tree_f'}}, '1162582804.08dxschafe': {'Type': 'Bush', 'DisableCollision': True, 'Hpr': VBase3(164.44, 2.341, 9.031), 'Pos': Point3(-543.848, 484.123, 57.356), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/bush_a'}}, '1162582965.97dxschafe': {'Type': 'Bush', 'DisableCollision': True, 'Hpr': VBase3(-162.354, 20.038, 5.999), 'Pos': Point3(-552.748, 459.918, 65.705), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/bush_a'}}, '1162583039.33dxschafe': {'Type': 'Bush', 'DisableCollision': True, 'Hpr': VBase3(38.993, -1.86, -0.924), 'Pos': Point3(-563.265, 556.66, 56.532), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/bush_c'}}, '1162583074.37dxschafe': {'Type': 'Tree', 'DisableCollision': True, 'Hpr': VBase3(46.877, 0.0, 0.0), 'Pos': Point3(-557.878, 551.008, 57.654), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/palm_tree_f'}}, '1162583158.9dxschafe': {'Type': 'Bush', 'DisableCollision': True, 'Hpr': VBase3(5.222, 2.658, -1.64), 'Pos': Point3(-564.25, 603.971, 58.85), 'Scale': VBase3(2.066, 2.066, 2.066), 'Visual': {'Model': 'models/vegetation/bush_c'}}, '1162583244.88dxschafe': {'Type': 'Bush', 'DisableCollision': True, 'Hpr': VBase3(17.439, 4.192, -0.323), 'Pos': Point3(-479.266, 264.088, 104.044), 'Scale': VBase3(2.202, 2.202, 2.202), 'Visual': {'Model': 'models/vegetation/bush_c'}}, '1162583300.9dxschafe': {'Type': 'Bush', 'DisableCollision': True, 'Hpr': VBase3(161.374, -3.094, 0.426), 'Pos': Point3(-561.83, 636.207, 60.06), 'Scale': VBase3(2.066, 2.066, 2.066), 'Visual': {'Model': 'models/vegetation/bush_c'}}, '1162583398.68dxschafe': {'Type': 'Bush', 'DisableCollision': True, 'Hpr': VBase3(113.809, -0.146, -2.506), 'Pos': Point3(-534.311, 880.528, 82.737), 'Scale': VBase3(1.764, 1.764, 1.764), 'Visual': {'Model': 'models/vegetation/bush_c'}}, '1162584186.42dxschafe': {'Type': 'Bucket', 'DisableCollision': False, 'Hpr': VBase3(0.0, 0.0, -3.568), 'Pos': Point3(-692.876, 473.707, 30.21), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/bucket'}}, '1162584488.39dxschafe': {'Type': 'Cart', 'DisableCollision': False, 'Hpr': VBase3(-164.875, 0.0, 2.734), 'Pos': Point3(-715.038, 492.907, 30.053), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/cart_flat'}}, '1162585725.4dxschafe': {'Type': 'ChickenCage', 'DisableCollision': False, 'Hpr': VBase3(14.333, 0.0, 0.0), 'Pos': Point3(-1013.279, 414.984, 7.948), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/ChickenCage'}}, '1162585742.76dxschafe': {'Type': 'ChickenCage', 'DisableCollision': False, 'Hpr': VBase3(-10.026, 0.0, 0.0), 'Pos': Point3(-1012.877, 414.463, 10.15), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/ChickenCage'}}, '1162590867.4dxschafe': {'Type': 'Crate', 'DisableCollision': False, 'Hpr': VBase3(-24.287, 0.0, 0.0), 'Pos': Point3(-1301.384, 3754.077, 0.0), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/crate'}}, '1162591928.29dxschafe': {'Type': 'Cart', 'DisableCollision': False, 'Hpr': VBase3(-12.985, -7.314, -9.175), 'Pos': Point3(-434.936, 511.585, 67.098), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.6100000143051147, 0.5799999833106995, 0.550000011920929, 1.0), 'Model': 'models/props/cart_reg'}}, '1162592503.81dxschafe': {'Type': 'Bush', 'DisableCollision': False, 'Hpr': VBase3(-91.487, 3.51, 1.557), 'Pos': Point3(-526.283, 547.635, 61.043), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/bush_d'}}, '1162592712.61dxschafe': {'Type': 'Wall', 'DisableCollision': False, 'Hpr': VBase3(-36.072, 0.331, -6.908), 'Pos': Point3(-180.436, 415.986, 89.167), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/pir_m_prp_fnc_wood60'}}, '1162592739.47dxschafe': {'Type': 'Wall', 'DisableCollision': False, 'Hpr': VBase3(-8.861, -2.839, -7.131), 'Pos': Point3(-240.067, 425.135, 81.724), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/pir_m_prp_fnc_wood60'}}, '1162592755.23dxschafe': {'Type': 'Wall', 'DisableCollision': False, 'Hpr': VBase3(-14.527, -2.277, -6.745), 'Pos': Point3(-298.506, 439.871, 74.572), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/pir_m_prp_fnc_wood60'}}, '1162592768.92dxschafe': {'Type': 'Wall', 'DisableCollision': False, 'Hpr': VBase3(-21.319, -1.967, -2.819), 'Pos': Point3(-355.277, 461.558, 71.372), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/pir_m_prp_fnc_wood60'}}, '1162592782.6dxschafe': {'Type': 'Wall', 'DisableCollision': False, 'Hpr': VBase3(-26.516, -1.711, -1.079), 'Pos': Point3(-409.76, 488.738, 70.575), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/pir_m_prp_fnc_wood60'}}, '1162592795.8dxschafe': {'Type': 'Wall', 'DisableCollision': False, 'Hpr': VBase3(-164.957, 3.104, 3.371), 'Pos': Point3(-479.593, 505.296, 63.884), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/pir_m_prp_fnc_wood60'}}, '1162592893.31dxschafe': {'Type': 'Wall', 'DisableCollision': False, 'Hpr': VBase3(-27.917, -1.488, 0.029), 'Pos': Point3(-421.777, 505.901, 68.308), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/pir_m_prp_fnc_wood20'}}, '1162593542.8dxschafe': {'Type': 'Bush', 'DisableCollision': True, 'Hpr': VBase3(-1.325, -4.975, -2.023), 'Pos': Point3(14.854, 656.383, 93.498), 'Scale': VBase3(1.189, 1.189, 1.189), 'Visual': {'Model': 'models/vegetation/bush_a'}}, '1162593557.08dxschafe': {'Type': 'Bush', 'DisableCollision': True, 'Hpr': VBase3(89.304, 0.357, -0.885), 'Pos': Point3(-90.802, 857.367, 75.032), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/bush_c'}}, '1162593559.08dxschafe': {'Type': 'Bush', 'DisableCollision': True, 'Hpr': VBase3(110.912, 0.006, 5.369), 'Pos': Point3(-103.436, 854.979, 74.709), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/bush_a'}}, '1162602305.82dxschafe': {'Type': 'Bucket', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-86.692, 294.9, 104.475), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/bucket'}}, '1162602596.17dxschafe': {'Type': 'Fountain', 'DisableCollision': False, 'Hpr': VBase3(-71.306, -0.022, 0.023), 'Pos': Point3(298.447, -305.61, 224.619), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.4, 0.4, 0.4, 1.0), 'Model': 'models/props/spanishtown_fountain'}}, '1162602799.3dxschafe': {'Type': 'Barrel', 'DisableCollision': True, 'Hpr': VBase3(-97.164, 0.118, -0.941), 'Pos': Point3(294.664, -338.143, 224.465), 'Scale': VBase3(0.73, 0.73, 0.73), 'Visual': {'Color': (0.75, 0.699999988079071, 0.5899999737739563, 1.0), 'Model': 'models/props/barrel_group_2'}}, '1163119851.86sdnaik': {'Type': 'Player Spawn Node', 'Hpr': VBase3(157.676, 0.0, 0.0), 'Index': -1, 'Pos': Point3(-199.581, 720.548, 71.038), 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'All', 'Visual': {'Model': 'models/misc/smiley'}}, '1168284130.94dxschafe': {'Type': 'Simple Fort', 'DisableCollision': False, 'Hpr': VBase3(-32.561, 0.0, 0.0), 'Objects': {'1173130304.38kmuller': {'Type': 'Cart', 'DisableCollision': False, 'GridPos': Point3(243.613, 536.67, 131.435), 'Hpr': VBase3(14.521, 0.0, -5.644), 'Pos': Point3(113.672, 106.072, -0.009), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/cart_reg'}}, '1176846464.0dxschafe': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(184.9, 490.098, 131.263), 'Hpr': VBase3(142.351, 0.0, 0.0), 'Pos': Point3(89.252, 35.221, -0.181), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/wellA'}, 'searchTime': '6.0', 'type': 'WellA'}, '1176849536.0dxschafe': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(14.742, 499.032, 131.444), 'Hpr': VBase3(62.585, 0.0, 0.0), 'Pos': Point3(-58.969, -48.827, 0.0), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.6000000238418579, 0.6000000238418579, 0.6000000238418579, 1.0), 'Model': 'models/props/crate_04'}, 'searchTime': '6.0', 'type': 'Crate'}, '1176853760.0dxschafe': {'Type': 'Spawn Node', 'AnimSet': 'default', 'GridPos': Point3(141.414, 600.937, 131.444), 'Hpr': VBase3(32.561, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': '100', 'Pause Duration': '30', 'Pos': Point3(-7.053, 105.234, 0.0), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1176854272.0dxschafe': {'Type': 'Movement Node', 'GridPos': Point3(99.527, 394.691, 170.957), 'Hpr': VBase3(32.561, 0.0, 0.0), 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(68.645, -91.137, 39.513), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1176854272.0dxschafe1': {'Type': 'Movement Node', 'GridPos': Point3(-34.652, 484.58, 178.803), 'Hpr': VBase3(32.561, 0.0, 0.0), 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-92.821, -87.592, 47.359), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1176854400.0dxschafe': {'Type': 'Movement Node', 'GridPos': Point3(56.05, 624.139, 178.86), 'Hpr': VBase3(32.561, 0.0, 0.0), 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-91.485, 78.847, 47.416), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1176854400.0dxschafe0': {'Type': 'Spawn Node', 'Aggro Radius': '12.0000', 'AnimSet': 'default', 'GridPos': Point3(123.65, 428.112, 170.847), 'Hpr': VBase3(32.561, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '8.1667', 'Pause Chance': '100', 'Pause Duration': '30', 'Pos': Point3(70.989, -49.986, 39.403), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1176854528.0dxschafe': {'Type': 'Spawn Node', 'AnimSet': 'default', 'GridPos': Point3(338.721, 492.999, 131.444), 'Hpr': VBase3(32.561, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': '100', 'Pause Duration': '30', 'Pos': Point3(217.333, 120.453, 0.0), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1176854528.0dxschafe0': {'Type': 'Movement Node', 'GridPos': Point3(34.069, 503.895, 131.445), 'Hpr': VBase3(32.561, 0.0, 0.0), 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-45.297, -34.327, 0.001), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1176854528.0dxschafe2': {'Type': 'Movement Node', 'GridPos': Point3(259.545, 454.698, 131.444), 'Hpr': VBase3(32.561, 0.0, 0.0), 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(171.216, 45.559, 0.0), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1176854656.0dxschafe': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(45.309, 20.465, 0.0), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1176854656.0dxschafe0': {'Type': 'Movement Node', 'GridPos': Point3(190.246, 554.516, 131.444), 'Hpr': VBase3(32.561, 0.0, 0.0), 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(59.088, 92.391, 0.0), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1177716992.0dxschafe1': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(257.863, 444.748, 178.729), 'Hpr': VBase3(2.989, 0.0, 0.0), 'Pos': Point3(175.154, 36.268, 47.285), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/crate_04'}, 'searchTime': '6.0', 'type': 'Crate'}, '1177717248.0dxschafe': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(196.569, 360.96, 131.444), 'Hpr': VBase3(90.432, 0.0, 0.0), 'Objects': {}, 'Pos': Point3(168.589, -67.339, 0.0), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/crate_04'}, 'searchTime': '6.0', 'type': 'Crate'}, '1177717248.0dxschafe0': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(3.784, 503.137, 178.764), 'Hpr': VBase3(1.609, 0.0, 0.0), 'Pos': Point3(-70.414, -51.266, 47.32), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/crate_04'}, 'searchTime': '6.0', 'type': 'Crate'}, '1177717248.0dxschafe1': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(261.308, 526.832, 131.444), 'Hpr': VBase3(93.618, 0.0, 0.0), 'Pos': Point3(133.88, 107.304, 0.0), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/crate_04'}, 'searchTime': '6.0', 'type': 'Crate'}, '1177717248.0dxschafe10': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(49.295, 464.089, 178.782), 'Hpr': VBase3(32.561, 0.0, 0.0), 'Pos': Point3(-11.041, -59.682, 47.338), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/barrel'}, 'searchTime': '6.0', 'type': 'Barrel'}, '1177717248.0dxschafe11': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(200.588, 368.665, 177.896), 'Hpr': VBase3(32.561, 0.0, 0.0), 'Pos': Point3(167.828, -58.681, 46.452), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/barrel'}, 'searchTime': '6.0', 'type': 'Barrel'}, '1177717248.0dxschafe14': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(188.37, 450.717, 131.444), 'Hpr': VBase3(65.122, 0.0, 0.0), 'Pos': Point3(113.371, 3.897, 0.0), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/barrel'}, 'searchTime': '6.0', 'type': 'Barrel'}, '1177717248.0dxschafe2': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(154.864, 596.132, 131.444), 'Hpr': VBase3(22.195, 0.0, 0.0), 'Objects': {}, 'Pos': Point3(6.869, 108.424, 0.0), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.4000000059604645, 0.4000000059604645, 0.4000000059604645, 1.0), 'Model': 'models/props/crate_04'}, 'searchTime': '6.0', 'type': 'Crate'}, '1177717248.0dxschafe3': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(76.01, 552.51, 131.444), 'Hpr': VBase3(3.146, 0.0, 0.0), 'Pos': Point3(-36.113, 29.219, 0.0), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.5, 0.5, 0.5, 1.0), 'Model': 'models/props/crate_04'}, 'searchTime': '6.0', 'type': 'Crate'}, '1177717248.0dxschafe4': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(104.137, 387.446, 169.905), 'Hpr': VBase3(89.526, 0.0, 0.0), 'Pos': Point3(76.43, -94.762, 38.461), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/crate_04'}, 'searchTime': '6.0', 'type': 'Crate'}, '1177717248.0dxschafe6': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(201.066, 585.807, 131.444), 'Hpr': VBase3(32.561, 0.0, 0.0), 'Pos': Point3(51.366, 124.587, 0.0), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/barrel'}, 'searchTime': '6.0', 'type': 'Barrel'}, '1177717248.0dxschafe7': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(250.612, 424.521, 131.444), 'Hpr': VBase3(32.561, 0.0, 0.0), 'Pos': Point3(179.929, 15.317, 0.0), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/barrel'}, 'searchTime': '6.0', 'type': 'Barrel'}, '1177717248.0dxschafe8': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(76.422, 455.256, 131.444), 'Hpr': VBase3(32.561, 0.0, 0.0), 'Pos': Point3(16.576, -52.527, 0.0), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/barrel'}, 'searchTime': '6.0', 'type': 'Barrel'}, '1177717248.0dxschafe9': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(116.319, 594.461, 178.847), 'Hpr': VBase3(32.561, 0.0, 0.0), 'Pos': Point3(-24.717, 86.27, 47.403), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/barrel'}, 'searchTime': '6.0', 'type': 'Barrel'}, '1177717504.0dxschafe': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(193.581, 697.842, 199.171), 'Hpr': VBase3(113.298, 0.0, 0.0), 'Pos': Point3(-15.239, 214.983, 67.727), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/barrel'}, 'searchTime': '6.0', 'type': 'Barrel'}, '1177717504.0dxschafe0': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(53.808, 631.939, 178.86), 'Hpr': VBase3(113.298, 0.0, 0.0), 'Pos': Point3(-97.573, 84.214, 47.416), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/crate_04'}, 'searchTime': '6.0', 'type': 'Crate'}, '1177717504.0dxschafe1': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(347.454, 532.801, 194.142), 'Hpr': VBase3(89.99, 0.0, 0.0), 'Pos': Point3(203.273, 158.698, 62.698), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/crate_04'}, 'searchTime': '6.0', 'type': 'Crate'}, '1178911488.0dxschafe0': {'Type': 'Spawn Node', 'AnimSet': 'default', 'Hpr': Point3(0.0, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(84.399, 21.666, 0.0), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1178911616.0dxschafe': {'Type': 'Spawn Node', 'Aggro Radius': 12, 'AnimSet': 'default', 'Hpr': Point3(0.0, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(59.84, 105.249, 0.0), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'Low EITC', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1178911744.0dxschafe': {'Type': 'Spawn Node', 'AnimSet': 'default', 'Hpr': Point3(0.0, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(126.534, 89.021, 0.0), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1178911872.0dxschafe': {'Type': 'Spawn Node', 'AnimSet': 'default', 'Hpr': Point3(0.0, 0.0, 0.0), 'Min Population': '2', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(160.465, -24.993, 0.0), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1178912512.0dxschafe0': {'Type': 'Spawn Node', 'Aggro Radius': '12.0000', 'AnimSet': 'default', 'GridPos': Point3(8.962, 542.518, 178.875), 'Hpr': VBase3(32.561, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '8.6667', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-87.244, -15.288, 47.431), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1178912768.0dxschafe': {'Type': 'Spawn Node', 'Aggro Radius': '12.0000', 'AnimSet': 'default', 'GridPos': Point3(16.303, 464.484, 178.705), 'Hpr': VBase3(32.561, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '8.3333', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-39.059, -77.105, 47.261), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1178912768.0dxschafe0': {'Type': 'Spawn Node', 'Aggro Radius': '12.0000', 'AnimSet': 'default', 'GridPos': Point3(217.095, 410.688, 178.53), 'Hpr': VBase3(32.561, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '9.5000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(159.125, -14.38, 47.086), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1178912896.0dxschafe': {'Type': 'Spawn Node', 'AnimSet': 'default', 'GridPos': Point3(82.871, 588.028, 178.858), 'Hpr': VBase3(32.561, 0.0, 0.0), 'Min Population': '2', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-49.446, 62.846, 47.414), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1178913024.0dxschafe': {'Type': 'Spawn Node', 'AnimSet': 'default', 'GridPos': Point3(184.026, 650.356, 198.156), 'Hpr': VBase3(32.561, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(2.265, 169.819, 66.712), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1178913280.0dxschafe': {'Type': 'Spawn Node', 'Aggro Radius': '12.0000', 'AnimSet': 'default', 'GridPos': Point3(330.688, 519.686, 194.043), 'Hpr': VBase3(32.561, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(196.201, 138.621, 62.599), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1178913408.0dxschafe': {'Type': 'Spawn Node', 'Aggro Radius': 12, 'AnimSet': 'default', 'GridPos': Point3(64.031, 625.427, 131.444), 'Hpr': VBase3(32.561, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-85.453, 84.227, 0.0), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'Low EITC', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1190397568.0dxschafe': {'Type': 'Location Sphere', 'Hpr': VBase3(32.561, 0.0, 0.0), 'Pos': Point3(62.437, 84.472, 26.118), 'Scale': VBase3(230.399, 230.399, 230.399)}, '1250621255.93caoconno': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Holiday': '', 'Hpr': VBase3(164.898, 0.0, 0.0), 'Pos': Point3(49.206, 157.113, 65.443), 'Scale': VBase3(0.516, 1.0, 3.958), 'VisSize': '', 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1250621309.21caoconno': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Holiday': '', 'Hpr': VBase3(149.564, 0.0, 0.0), 'Pos': Point3(80.025, 139.748, 58.038), 'Scale': VBase3(6.672, 1.0, 4.489), 'VisSize': '', 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1250621362.34caoconno': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Holiday': '', 'Hpr': VBase3(-179.742, 0.0, 0.0), 'Pos': Point3(137.413, 125.674, 56.648), 'Scale': VBase3(7.634, 1.0, 4.362), 'VisSize': '', 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1250621425.74caoconno': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Holiday': '', 'Hpr': VBase3(145.632, 0.0, 0.0), 'Pos': Point3(179.593, 122.929, 57.843), 'Scale': VBase3(1.055, 1.0, 4.285), 'VisSize': '', 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1250621463.52caoconno': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Holiday': '', 'Hpr': VBase3(61.096, 0.0, 0.0), 'Pos': Point3(162.348, 81.28, 44.201), 'Scale': VBase3(8.91, 1.0, 7.449), 'VisSize': '', 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1250621540.74caoconno': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Holiday': '', 'Hpr': VBase3(90.319, 0.0, 0.0), 'Pos': Point3(143.242, 24.84, 41.959), 'Scale': VBase3(5.287, 1.0, 6.531), 'VisSize': '', 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1250621603.69caoconno': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Holiday': '', 'Hpr': VBase3(0.526, 0.0, 0.0), 'Pos': Point3(80.929, -28.189, 35.538), 'Scale': VBase3(5.568, 1.0, 8.023), 'VisSize': '', 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1250621716.18caoconno': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Holiday': '', 'Hpr': VBase3(0.043, 0.0, 0.0), 'Pos': Point3(-20.594, -57.851, 40.89), 'Scale': VBase3(9.627, 1.0, 7.415), 'VisSize': '', 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1250631871.29caoconno': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Holiday': '', 'Hpr': VBase3(-90.002, 0.0, 0.0), 'Pos': Point3(-68.384, -4.925, 46.113), 'Scale': VBase3(10.637, 1.0, 6.169), 'VisSize': '', 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1250631952.2caoconno': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Holiday': '', 'Hpr': VBase3(-89.843, 0.0, 0.0), 'Pos': Point3(15.219, 108.19, 48.89), 'Scale': VBase3(5.517, 1.0, 7.367), 'VisSize': '', 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1250632016.15caoconno': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Holiday': '', 'Hpr': VBase3(-119.98, 0.0, 0.0), 'Pos': Point3(17.583, 139.922, 64.144), 'Scale': VBase3(1.0, 1.0, 3.81), 'VisSize': '', 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1250632040.76caoconno': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Holiday': '', 'Hpr': VBase3(-135.404, 0.0, 0.0), 'Pos': Point3(0.104, 66.474, 37.991), 'Scale': VBase3(4.529, 1.0, 7.086), 'VisSize': '', 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1250632073.33caoconno': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Holiday': '', 'Hpr': VBase3(179.674, 0.0, 0.0), 'Pos': Point3(-27.186, 51.371, 43.288), 'Scale': VBase3(2.978, 1.0, 5.928), 'VisSize': '', 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}}, 'Pos': Point3(90.721, 508.448, 131.915), 'Scale': VBase3(1.0, 1.0, 1.0), 'UseMayaLOD': False, 'VisSize': '', 'Visual': {'Model': 'models/buildings/fort_medium'}}, '1168743023.63sdnaik': {'Type': 'Port Collision Sphere', 'Name': 'KingsheadPortMain', 'Hpr': VBase3(0.0, 0.0, 0.0), 'Pos': Point3(-955.875, 401.478, 0.0), 'Scale': VBase3(13094.4, 13094.4, 13094.4), 'Visual': {'Color': (0.5, 0.5, 1.0, 0.2), 'Model': 'models/misc/smiley'}}, '1168743125.73sdnaik': {'Type': 'Port Collision Sphere', 'Name': 'KingsheadPortBack', 'GridPos': Point3(-9.493, 18.026, 105.25), 'Hpr': VBase3(0.0, 0.0, 0.0), 'Pos': Point3(-287.901, 164.195, 0.0), 'Scale': VBase3(1540.45, 1540.45, 1540.45), 'Visual': {'Color': (0.5, 0.5, 1.0, 0.2), 'Model': 'models/misc/smiley'}}, '1170972672.0dxschafe': {'Type': 'Building Exterior', 'File': 'kingshead_depot_int_1', 'ExtUid': '1170972672.0dxschafe0', 'Hpr': VBase3(115.481, 0.0, 0.0), 'Objects': {'1201115177.31dxschafe': {'Type': 'Door Locator Node', 'Name': 'door_locator', 'Hpr': VBase3(-180.0, 0.0, 0.0), 'Pos': Point3(0.0, 0.0, 0.0), 'Scale': VBase3(1.0, 1.0, 1.0)}}, 'Pos': Point3(-91.836, 105.583, 103.808), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Name': '', 'Door': 'models/buildings/shanty_guildhall_door', 'Interior': 'models/buildings/interior_storage', 'Model': 'models/buildings/fort_door', 'SignImage': 'models/buildings/sign1_eng_a_icon_doctor'}}, '1170972800.0dxschafe': {'Type': 'Building Exterior', 'File': 'kingshead_keep_int_1', 'ExtUid': '1170972800.0dxschafe0', 'Hpr': VBase3(1.09, 0.0, 0.0), 'Objects': {'1201115179.88dxschafe': {'Type': 'Door Locator Node', 'Name': 'door_locator', 'Hpr': VBase3(-180.0, 0.0, 0.0), 'Pos': Point3(0.0, 0.0, 0.0), 'Scale': VBase3(1.0, 1.0, 1.0)}}, 'Pos': Point3(234.452, 122.439, 379.178), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Name': '', 'Door': 'models/buildings/shanty_guildhall_door', 'Interior': 'models/buildings/navy_jail_interior', 'Model': 'models/buildings/fort_door', 'SignImage': 'models/buildings/sign1_eng_a_icon_doctor'}}, '1171999232.0dxschafe': {'Type': 'Building Exterior', 'File': '', 'ExtUid': '1171999232.0dxschafe0', 'Hpr': VBase3(109.825, 0.0, 0.0), 'Objects': {'1201115174.44dxschafe': {'Type': 'Door Locator Node', 'Name': 'door_locator', 'Hpr': VBase3(-180.0, 0.0, 0.0), 'Pos': Point3(0.313, -4.248, 1.444), 'Scale': VBase3(1.0, 1.0, 1.0)}}, 'Pos': Point3(-146.804, 268.011, 106.759), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Name': '', 'Door': 'models/buildings/shanty_guildhall_door', 'Interior': 'models/buildings/interior_shanty_guildhall', 'Model': 'models/buildings/shanty_npc_house_combo_J', 'SignImage': 'models/buildings/sign1_eng_a_icon_blacksmith'}}, '1171999616.0dxschafe': {'Type': 'Shanty Tents', 'Hpr': VBase3(-82.292, 0.0, -1.912), 'Pos': Point3(-13.451, 391.864, 104.295), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.7099999785423279, 0.6700000166893005, 0.6000000238418579, 1.0), 'Model': 'models/props/pir_m_prp_tnt_group6_market'}}, '1172000128.0dxschafe': {'Type': 'Building Exterior', 'File': '', 'ExtUid': '1172000128.0dxschafe0', 'Hpr': VBase3(66.193, 0.0, 0.282), 'Pos': Point3(159.442, -404.323, 189.593), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Name': '', 'Color': (0.6000000238418579, 0.6000000238418579, 0.6000000238418579, 1.0), 'Door': 'models/buildings/shanty_guildhall_door', 'Interior': 'models/buildings/interior_shanty_guildhall', 'Model': 'models/buildings/english_d', 'SignFrame': '', 'SignImage': 'models/buildings/sign1_eng_a_icon_blacksmith'}}, '1172000512.0dxschafe': {'Type': 'Building Exterior', 'File': '', 'ExtUid': '1172000512.0dxschafe0', 'Hpr': VBase3(-113.844, 0.0, 0.0), 'Objects': {'1201115177.05dxschafe': {'Type': 'Door Locator Node', 'Name': 'door_locator', 'Hpr': VBase3(-90.0, 0.0, 0.0), 'Pos': Point3(12.363, 6.985, 0.805), 'Scale': VBase3(1.0, 1.0, 1.0)}}, 'Pos': Point3(183.899, -397.836, 189.502), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Name': '', 'Color': (0.6200000047683716, 0.6600000262260437, 0.6200000047683716, 1.0), 'Door': 'models/buildings/shanty_guildhall_door', 'Interior': 'models/buildings/interior_shanty_guildhall', 'Model': 'models/buildings/english_a', 'SignImage': 'models/buildings/sign1_eng_a_icon_blacksmith'}}, '1172000512.0dxschafe1': {'Type': 'Building Exterior', 'File': '', 'ExtUid': '1172000512.0dxschafe2', 'Hpr': VBase3(-112.786, 0.0, 0.0), 'Pos': Point3(140.886, -398.251, 183.506), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Name': '', 'Color': (0.5, 0.5, 0.5, 1.0), 'Door': 'models/buildings/shanty_guildhall_door', 'Interior': 'models/buildings/interior_shanty_guildhall', 'Model': 'models/buildings/english_b', 'SignImage': 'models/buildings/sign1_eng_a_icon_blacksmith'}}, '1172000512.0dxschafe3': {'Type': 'Building Exterior', 'File': '', 'ExtUid': '1172000512.0dxschafe4', 'Hpr': VBase3(156.196, 1.718, 0.0), 'Pos': Point3(124.752, -380.253, 181.363), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Name': '', 'Color': (0.5, 0.5, 0.5, 1.0), 'Door': 'models/buildings/shanty_guildhall_door', 'Interior': 'models/buildings/interior_shanty_guildhall', 'Model': 'models/buildings/english_c', 'SignImage': 'models/buildings/sign1_eng_a_icon_blacksmith'}}, '1172000640.0dxschafe': {'Type': 'Building Exterior', 'File': '', 'ExtUid': '1172000640.0dxschafe0', 'Hpr': VBase3(-18.14, -1.71, 0.17), 'Objects': {'1201115176.09dxschafe': {'Type': 'Door Locator Node', 'Name': 'door_locator', 'Hpr': VBase3(-180.0, 0.0, 0.0), 'Pos': Point3(-1.897, -15.523, -0.102), 'Scale': VBase3(1.0, 1.0, 1.0)}}, 'Pos': Point3(119.558, -395.885, 185.212), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Name': '', 'Color': (0.47999998927116394, 0.4399999976158142, 0.3700000047683716, 1.0), 'Door': 'models/buildings/shanty_guildhall_door', 'Interior': 'models/buildings/interior_shanty_guildhall', 'Model': 'models/buildings/english_corner_b', 'SignImage': 'models/buildings/sign1_eng_a_icon_blacksmith'}}, '1172000768.0dxschafe': {'Type': 'Building Exterior', 'File': '', 'ExtUid': '1172000768.0dxschafe0', 'Hpr': VBase3(160.298, 1.714, -0.123), 'Pos': Point3(209.786, -392.145, 194.217), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Name': '', 'Color': (0.75, 0.800000011920929, 0.7300000190734863, 1.0), 'Door': 'models/buildings/shanty_guildhall_door', 'Interior': 'models/buildings/interior_shanty_guildhall', 'Model': 'models/buildings/english_h', 'SignImage': 'models/buildings/sign1_eng_a_icon_blacksmith'}}, '1172001024.0dxschafe': {'Type': 'Building Exterior', 'File': '', 'ExtUid': '1172001024.0dxschafe0', 'Hpr': VBase3(19.102, -1.259, 1.17), 'Pos': Point3(184.888, -584.367, 190.215), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Name': '', 'Color': (0.54, 0.5, 0.47, 1.0), 'Door': 'models/buildings/shanty_guildhall_door', 'Interior': 'models/buildings/interior_shanty_guildhall', 'Model': 'models/buildings/english_corner_c2', 'SignImage': 'models/buildings/sign1_eng_a_icon_blacksmith'}}, '1172001024.0dxschafe1': {'Type': 'Building Exterior', 'File': '', 'ExtUid': '1172001024.0dxschafe2', 'Hpr': VBase3(-161.934, 1.28, -1.147), 'Objects': {'1201115177.22dxschafe': {'Type': 'Door Locator Node', 'Name': 'door_locator', 'Hpr': VBase3(-180.0, 0.0, 0.0), 'Pos': Point3(0.728, 0.186, -0.064), 'Scale': VBase3(1.0, 1.0, 1.0)}}, 'Pos': Point3(225.397, -530.53, 189.956), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Name': '', 'Color': (0.75, 0.800000011920929, 0.7300000190734863, 1.0), 'Door': 'models/buildings/shanty_guildhall_door', 'Interior': 'models/buildings/interior_shanty_guildhall', 'Model': 'models/buildings/english_corner_e', 'SignImage': 'models/buildings/sign1_eng_a_icon_blacksmith'}}, '1172001280.0dxschafe1': {'Type': 'Building Exterior', 'File': '', 'ExtUid': '1172001280.0dxschafe2', 'Hpr': VBase3(-35.191, -1.685, -0.339), 'Objects': {'1201115175.67dxschafe': {'Type': 'Door Locator Node', 'Name': 'door_locator', 'Hpr': VBase3(-180.0, 0.0, 0.0), 'Pos': Point3(0.728, 0.186, -0.064), 'Scale': VBase3(1.0, 1.0, 1.0)}}, 'Pos': Point3(72.175, -339.592, 175.808), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Name': '', 'Color': (0.6, 0.6, 0.6, 1.0), 'Door': 'models/buildings/shanty_guildhall_door', 'Interior': 'models/buildings/interior_shanty_guildhall', 'Model': 'models/buildings/english_corner_e', 'SignImage': 'models/buildings/sign1_eng_a_icon_blacksmith'}}, '1172001536.0dxschafe': {'Type': 'Building Exterior', 'File': '', 'ExtUid': '1172001536.0dxschafe0', 'Hpr': VBase3(-88.9, -0.724, -1.558), 'Objects': {'1201115174.53dxschafe': {'Type': 'Door Locator Node', 'Name': 'door_locator', 'Hpr': VBase3(-91.631, -1.219, 0.206), 'Pos': Point3(12.513, -7.087, 5.3), 'Scale': VBase3(1.0, 1.0, 1.0)}}, 'Pos': Point3(237.199, -373.947, 188.974), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Name': '', 'Color': (0.59, 0.5599999999999999, 0.51, 1.0), 'Door': 'models/buildings/shanty_guildhall_door', 'Interior': 'models/buildings/interior_shanty_guildhall', 'Model': 'models/buildings/english_f', 'SignImage': 'models/buildings/sign1_eng_a_icon_blacksmith'}}, '1172001792.0dxschafe': {'Type': 'Building Exterior', 'File': '', 'ExtUid': '1172001792.0dxschafe0', 'Hpr': VBase3(-161.348, 1.268, 0.182), 'Objects': {'1201115180.08dxschafe': {'Type': 'Door Locator Node', 'Name': 'door_locator', 'Hpr': VBase3(-180.0, 0.0, 0.0), 'Pos': Point3(-2.385, -6.663, 0.992), 'Scale': VBase3(1.0, 1.0, 1.0)}}, 'Pos': Point3(268.32, -542.279, 189.48), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Name': '', 'Color': (0.75, 0.800000011920929, 0.7300000190734863, 1.0), 'Door': 'models/buildings/shanty_guildhall_door', 'Interior': 'models/buildings/interior_shanty_guildhall', 'Model': 'models/buildings/english_i', 'SignImage': 'models/buildings/sign1_eng_a_icon_blacksmith'}}, '1172006016.0dxschafe': {'Type': 'Military_props', 'DisableCollision': False, 'Hpr': VBase3(-177.361, 0.0, 0.0), 'Objects': {}, 'Pos': Point3(413.089, 232.921, 347.145), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.7099999785423279, 0.6700000166893005, 0.6000000238418579, 1.0), 'Model': 'models/islands/pier_gallows'}}, '1172006016.0dxschafe0': {'Type': 'Military_props', 'DisableCollision': False, 'Hpr': VBase3(-87.232, 0.0, 0.0), 'Objects': {}, 'Pos': Point3(365.344, 131.537, 347.15), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.7099999785423279, 0.6700000166893005, 0.6000000238418579, 1.0), 'Model': 'models/islands/pier_scaffold_2long'}}, '1172006144.0dxschafe': {'Type': 'Military_props', 'DisableCollision': False, 'Hpr': VBase3(-87.232, 0.0, 0.0), 'Objects': {}, 'Pos': Point3(362.866, 185.449, 347.144), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.7099999785423279, 0.6700000166893005, 0.6000000238418579, 1.0), 'Model': 'models/islands/pier_scaffold_2long'}}, '1172006144.0dxschafe0': {'Type': 'Military_props', 'DisableCollision': False, 'Hpr': VBase3(2.225, 0.0, 0.0), 'Objects': {}, 'Pos': Point3(347.621, 126.703, 347.179), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.7099999785423279, 0.6700000166893005, 0.6000000238418579, 1.0), 'Model': 'models/islands/pier_scaffold_2long'}}, '1172006144.0dxschafe1': {'Type': 'Military_props', 'DisableCollision': False, 'Hpr': VBase3(87.393, 0.0, 0.0), 'Pos': Point3(299.029, 124.144, 347.109), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.7099999785423279, 0.6700000166893005, 0.6000000238418579, 1.0), 'Model': 'models/islands/pier_scaffold_stairs'}}, '1172006144.0dxschafe2': {'Type': 'Military_props', 'DisableCollision': False, 'Hpr': VBase3(2.112, 0.0, 0.0), 'Objects': {}, 'Pos': Point3(365.673, 127.406, 347.167), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.7099999785423279, 0.6700000166893005, 0.6000000238418579, 1.0), 'Model': 'models/islands/pier_scaffold_landing'}}, '1172006272.0dxschafe': {'Type': 'Military_props', 'DisableCollision': False, 'Hpr': VBase3(-87.264, 0.0, 0.0), 'Objects': {}, 'Pos': Point3(365.309, 114.397, 347.162), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.7099999785423279, 0.6700000166893005, 0.6000000238418579, 1.0), 'Model': 'models/islands/pier_scaffold_stairs'}}, '1172006400.0dxschafe': {'Type': 'Military_props', 'DisableCollision': False, 'Hpr': VBase3(92.543, 0.0, 0.0), 'Objects': {}, 'Pos': Point3(344.491, 283.895, 347.161), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.7099999785423279, 0.6700000166893005, 0.6000000238418579, 1.0), 'Model': 'models/islands/pier_scaffold_2long'}}, '1172006528.0dxschafe': {'Type': 'Military_props', 'DisableCollision': False, 'Hpr': VBase3(-13.115, 0.281, -0.523), 'Pos': Point3(248.208, -839.552, 211.123), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.7200000286102295, 0.699999988079071, 0.5899999737739563, 1.0), 'Model': 'models/islands/pier_scaffold_2long'}}, '1172006912.0dxschafe0': {'Type': 'Military_props', 'DisableCollision': False, 'Hpr': VBase3(-160.062, 0.05, 0.592), 'Objects': {}, 'Pos': Point3(270.974, -635.83, 210.385), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.7200000286102295, 0.699999988079071, 0.5899999737739563, 1.0), 'Model': 'models/islands/pier_scaffold_1long'}}, '1172006912.0dxschafe1': {'Type': 'Military_props', 'DisableCollision': False, 'Hpr': VBase3(167.071, -0.321, -0.068), 'Pos': Point3(182.629, -837.884, 210.871), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.7200000286102295, 0.699999988079071, 0.5899999737739563, 1.0), 'Model': 'models/islands/pier_scaffold_landing'}}, '1172007296.0dxschafe': {'Type': 'Military_props', 'DisableCollision': False, 'Hpr': VBase3(76.788, 0.07, -0.32), 'Pos': Point3(186.188, -824.568, 210.635), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.7200000286102295, 0.699999988079071, 0.5899999737739563, 1.0), 'Model': 'models/islands/pier_scaffold_stairs'}}, '1172007808.0dxschafe1': {'Type': 'Military_props', 'DisableCollision': False, 'Hpr': VBase3(-72.588, 0.594, -0.023), 'Objects': {}, 'Pos': Point3(260.248, -822.707, 210.921), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.75, 0.800000011920929, 0.7300000190734863, 1.0), 'Model': 'models/islands/pier_scaffold_2long'}}, '1172008960.0dxschafe': {'Type': 'Military_props', 'DisableCollision': False, 'Hpr': VBase3(111.167, 0.0, 0.0), 'Objects': {}, 'Pos': Point3(262.518, -623.944, 211.05), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.7200000286102295, 0.699999988079071, 0.5899999737739563, 1.0), 'Model': 'models/islands/pier_scaffold_stairs'}}, '1172009600.0dxschafe': {'Type': 'Building Exterior', 'File': '', 'ExtUid': '1172009600.0dxschafe0', 'Hpr': VBase3(-38.26, -0.54, 1.237), 'Objects': {'1201115176.88dxschafe': {'Type': 'Door Locator Node', 'Name': 'door_locator', 'Hpr': VBase3(-180.0, 0.0, 0.0), 'Pos': Point3(-13.755, -13.602, 0.267), 'Scale': VBase3(1.0, 1.0, 1.0)}}, 'Pos': Point3(113.543, -347.697, 179.494), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Name': '', 'Color': (0.7200000286102295, 0.699999988079071, 0.5899999737739563, 1.0), 'Door': 'models/buildings/shanty_guildhall_door', 'Interior': 'models/buildings/interior_shanty_guildhall', 'Model': 'models/buildings/english_k', 'SignImage': 'models/buildings/sign1_eng_a_icon_blacksmith'}}, '1172009856.0dxschafe': {'Type': 'Building Exterior', 'File': '', 'ExtUid': '1172009856.0dxschafe0', 'Hpr': VBase3(-70.404, 0.208, -1.249), 'Objects': {'1201115180.66dxschafe': {'Type': 'Door Locator Node', 'Name': 'door_locator', 'Hpr': VBase3(90.0, 0.0, 0.0), 'Pos': Point3(-5.871, 11.894, 1.25), 'Scale': VBase3(1.0, 1.0, 1.0)}}, 'Pos': Point3(59.965, -640.168, 189.424), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Name': '', 'Color': (0.6, 0.6, 0.6, 1.0), 'Door': 'models/buildings/shanty_guildhall_door', 'Interior': 'models/buildings/interior_shanty_guildhall', 'Model': 'models/buildings/english_n', 'SignImage': 'models/buildings/sign1_eng_a_icon_blacksmith'}}, '1172009984.0dxschafe': {'Type': 'Building Exterior', 'File': '', 'ExtUid': '1172009984.0dxschafe0', 'Hpr': VBase3(-159.084, -0.192, -1.21), 'Objects': {'1201115176.3dxschafe': {'Type': 'Door Locator Node', 'Name': 'door_locator', 'Hpr': VBase3(-180.0, 0.0, 0.0), 'Pos': Point3(5.329, -23.997, -0.083), 'Scale': VBase3(1.0, 1.0, 1.0)}}, 'Pos': Point3(101.394, -644.71, 190.047), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Name': '', 'Color': (0.65, 0.65, 0.65, 1.0), 'Door': 'models/buildings/shanty_guildhall_door', 'Interior': 'models/buildings/interior_shanty_guildhall', 'Model': 'models/buildings/english_m', 'SignImage': 'models/buildings/sign1_eng_a_icon_blacksmith'}}, '1172009984.0dxschafe2': {'Type': 'Building Exterior', 'File': '', 'ExtUid': '1172009984.0dxschafe3', 'Hpr': VBase3(-159.426, 0.906, -1.181), 'Objects': {'1201115178.88dxschafe': {'Type': 'Door Locator Node', 'Name': 'door_locator', 'Hpr': VBase3(117.94, 0.0, 0.0), 'Pos': Point3(-21.6, -9.147, 0.011), 'Scale': VBase3(1.0, 1.0, 1.0)}}, 'Pos': Point3(88.731, -511.613, 189.12), 'Scale': VBase3(1.0, 1.0, 1.0), 'VisSize': '', 'Visual': {'Name': '', 'Color': (0.75, 0.79, 0.85, 1.0), 'Door': 'models/buildings/shanty_guildhall_door', 'Interior': 'models/buildings/interior_shanty_guildhall', 'Model': 'models/buildings/english_corner_a', 'SignFrame': '', 'SignImage': 'models/buildings/sign1_eng_a_icon_blacksmith'}}, '1172010368.0dxschafe': {'Type': 'Building Exterior', 'File': '', 'ExtUid': '1172010368.0dxschafe0', 'Hpr': VBase3(111.72, 1.02, 1.216), 'Objects': {'1201115179.72dxschafe': {'Type': 'Door Locator Node', 'Name': 'door_locator', 'Hpr': VBase3(-180.0, 0.0, 0.0), 'Pos': Point3(0.728, 0.186, -0.064), 'Scale': VBase3(1.0, 1.0, 1.0)}}, 'Pos': Point3(243.928, -557.969, 192.317), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Name': '', 'Color': (0.75, 0.800000011920929, 0.7300000190734863, 1.0), 'Door': 'models/buildings/shanty_guildhall_door', 'Interior': 'models/buildings/interior_shanty_guildhall', 'Model': 'models/buildings/english_corner_e', 'SignImage': 'models/buildings/sign1_eng_a_icon_blacksmith'}}, '1172010752.0dxschafe': {'Type': 'Building Exterior', 'File': '', 'ExtUid': '1172010752.0dxschafe0', 'Hpr': VBase3(50.418, -0.467, 1.653), 'Pos': Point3(-97.367, 449.875, 94.419), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Name': '', 'Color': (0.7099999785423279, 0.6700000166893005, 0.6000000238418579, 1.0), 'Door': 'models/buildings/shanty_guildhall_door', 'Interior': 'models/buildings/interior_shanty_guildhall', 'Model': 'models/buildings/english_corner_c2', 'SignImage': 'models/buildings/sign1_eng_a_icon_blacksmith'}}, '1172010880.0dxschafe': {'Type': 'Military_props', 'DisableCollision': False, 'Hpr': VBase3(-123.322, 0.394, 0.445), 'Pos': Point3(-108.735, 496.059, 87.669), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.5199999809265137, 0.47999998927116394, 0.44999998807907104, 1.0), 'Model': 'models/islands/pier_scaffold_2long'}}, '1172010880.0dxschafe0': {'Type': 'Military_props', 'DisableCollision': False, 'Hpr': VBase3(-122.809, 0.398, 0.441), 'Pos': Point3(-79.059, 541.614, 87.994), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.5199999809265137, 0.47999998927116394, 0.44999998807907104, 1.0), 'Model': 'models/islands/pier_scaffold_2long'}}, '1172011520.0dxschafe': {'Type': 'Stairs', 'DisableCollision': False, 'Hpr': VBase3(-24.634, 0.0, 0.0), 'Objects': {}, 'Pos': Point3(149.377, -426.142, 188.169), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.5, 0.5, 0.5, 1.0), 'Model': 'models/buildings/brick_stairs_double'}}, '1172014592.0dxschafe': {'Type': 'Rock', 'DisableCollision': False, 'Hpr': VBase3(158.305, 0.0, 0.0), 'Pos': Point3(-176.84, 822.149, 75.661), 'Scale': VBase3(3.925, 3.925, 3.925), 'Visual': {'Model': 'models/props/rock_group_3_sphere'}}, '1172014720.0dxschafe': {'Type': 'Rock', 'DisableCollision': False, 'Hpr': VBase3(-58.441, 0.0, -6.471), 'Pos': Point3(20.592, 693.242, 91.139), 'Scale': VBase3(2.98, 2.98, 2.98), 'Visual': {'Color': (0.5199999809265137, 0.47999998927116394, 0.44999998807907104, 1.0), 'Model': 'models/props/rock_group_1_sphere'}}, '1172014720.0dxschafe0': {'Type': 'Rock', 'DisableCollision': False, 'Hpr': VBase3(-93.347, -4.923, 12.69), 'Pos': Point3(-518.602, 820.933, 73.481), 'Scale': VBase3(4.791, 4.791, 4.791), 'Visual': {'Model': 'models/props/rock_group_2_sphere'}}, '1172014720.0dxschafe1': {'Type': 'Rock', 'DisableCollision': False, 'Hpr': VBase3(29.851, 3.694, 0.11), 'Pos': Point3(-433.41, 829.692, 78.131), 'Scale': VBase3(4.37, 4.37, 4.37), 'Visual': {'Model': 'models/props/rock_group_1_sphere'}}, '1172014720.0dxschafe2': {'Type': 'Rock', 'DisableCollision': False, 'Hpr': VBase3(23.281, 0.0, 0.0), 'Pos': Point3(-2.429, 786.432, 80.61), 'Scale': VBase3(2.858, 2.858, 2.858), 'Visual': {'Color': (0.5199999809265137, 0.47999998927116394, 0.44999998807907104, 1.0), 'Model': 'models/props/rock_group_1_sphere'}}, '1172014720.0dxschafe3': {'Type': 'Rock', 'DisableCollision': False, 'Hpr': VBase3(-58.441, 0.0, -4.956), 'Pos': Point3(-211.022, 398.505, 79.052), 'Scale': VBase3(4.722, 4.722, 4.722), 'Visual': {'Color': (0.6100000143051147, 0.5799999833106995, 0.550000011920929, 1.0), 'Model': 'models/props/rock_group_1_floor'}}, '1172015744.0dxschafe': {'Type': 'Military_props', 'DisableCollision': False, 'Hpr': VBase3(147.131, 0.0, 0.423), 'Pos': Point3(-122.745, 500.127, 87.748), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.5199999809265137, 0.47999998927116394, 0.44999998807907104, 1.0), 'Model': 'models/islands/pier_scaffold_stairs'}}, '1172015872.0dxschafe': {'Type': 'Military_props', 'DisableCollision': False, 'Hpr': VBase3(57.517, -0.401, -0.439), 'Pos': Point3(-59.82, 597.199, 88.341), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.5199999809265137, 0.47999998927116394, 0.44999998807907104, 1.0), 'Model': 'models/islands/pier_scaffold_end'}}, '1172016384.0dxschafe': {'Type': 'Bush', 'DisableCollision': False, 'Hpr': VBase3(-178.572, 4.998, 3.507), 'Pos': Point3(14.858, 726.72, 87.336), 'Scale': VBase3(1.189, 1.189, 1.189), 'Visual': {'Model': 'models/vegetation/bush_c'}}, '1172016384.0dxschafe0': {'Type': 'Bush', 'DisableCollision': True, 'Hpr': VBase3(-98.8, 0.122, -0.25), 'Pos': Point3(-188.661, 857.447, 80.948), 'Scale': VBase3(1.642, 1.642, 1.642), 'Visual': {'Model': 'models/vegetation/bush_c'}}, '1172016512.0dxschafe0': {'Type': 'Tree', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-129.361, 205.982, 104.46), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/gen_tree_h'}}, '1172016512.0dxschafe1': {'Type': 'LaundryRope', 'DisableCollision': False, 'Hpr': VBase3(91.846, 0.0, 0.0), 'Pos': Point3(-149.288, 291.438, 103.631), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/LaundryRope'}}, '1172017024.0dxschafe': {'Type': 'Animal', 'Hpr': VBase3(-83.984, 0.0, 0.0), 'Patrol Radius': '2.6667', 'Pos': Point3(-143.466, 322.907, 104.148), 'PoseAnim': '', 'PoseFrame': '', 'Respawns': True, 'Scale': VBase3(1.0, 1.0, 1.0), 'Species': 'Pig', 'Start State': 'Walk', 'StartFrame': '0'}, '1172017024.0dxschafe0': {'Type': 'Animal', 'Hpr': VBase3(-162.439, 0.0, 0.0), 'Patrol Radius': '2.5000', 'Pos': Point3(-134.164, 333.706, 101.559), 'PoseAnim': '', 'PoseFrame': '', 'Respawns': True, 'Scale': VBase3(1.0, 1.0, 1.0), 'Species': 'Pig', 'Start State': 'Walk', 'StartFrame': '0'}, '1172017152.0dxschafe': {'Type': 'Bush', 'DisableCollision': True, 'Hpr': VBase3(-36.113, 0.0, 0.0), 'Pos': Point3(-175.911, 284.934, 107.012), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/bush_a'}}, '1172017408.0dxschafe': {'Type': 'TreeBase', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(28.797, -64.051, 107.569), 'Scale': VBase3(1.492, 1.492, 1.492), 'Visual': {'Color': (0.8199999928474426, 0.800000011920929, 0.6899999976158142, 1.0), 'Model': 'models/props/TreeBase'}}, '1172017408.0dxschafe0': {'Type': 'TreeBase', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(25.948, -100.884, 116.494), 'Scale': VBase3(1.492, 1.492, 1.492), 'Visual': {'Color': (0.8199999928474426, 0.800000011920929, 0.6899999976158142, 1.0), 'Model': 'models/props/TreeBase'}}, '1172017408.0dxschafe1': {'Type': 'TreeBase', 'DisableCollision': False, 'Hpr': VBase3(-2.538, 0.0, 0.0), 'Pos': Point3(24.723, -132.92, 123.639), 'Scale': VBase3(1.492, 1.492, 1.492), 'Visual': {'Color': (0.8199999928474426, 0.800000011920929, 0.6899999976158142, 1.0), 'Model': 'models/props/TreeBase'}}, '1172017408.0dxschafe2': {'Type': 'TreeBase', 'DisableCollision': False, 'Hpr': VBase3(3.464, 0.0, 0.0), 'Pos': Point3(25.693, -172.715, 133.354), 'Scale': VBase3(1.492, 1.492, 1.492), 'Visual': {'Color': (0.8199999928474426, 0.800000011920929, 0.6899999976158142, 1.0), 'Model': 'models/props/TreeBase'}}, '1172017408.0dxschafe3': {'Type': 'TreeBase', 'DisableCollision': False, 'Hpr': VBase3(0.902, 0.0, 0.0), 'Pos': Point3(29.449, -217.427, 145.037), 'Scale': VBase3(1.492, 1.492, 1.492), 'Visual': {'Color': (0.8199999928474426, 0.800000011920929, 0.6899999976158142, 1.0), 'Model': 'models/props/TreeBase'}}, '1172017408.0dxschafe4': {'Type': 'TreeBase', 'DisableCollision': False, 'Hpr': VBase3(9.349, 0.0, 0.0), 'Pos': Point3(34.596, -263.238, 156.918), 'Scale': VBase3(1.492, 1.492, 1.492), 'Visual': {'Color': (0.8199999928474426, 0.800000011920929, 0.6899999976158142, 1.0), 'Model': 'models/props/TreeBase'}}, '1172017408.0dxschafe5': {'Type': 'TreeBase', 'DisableCollision': False, 'Hpr': VBase3(6.201, -0.089, 2.093), 'Pos': Point3(-7.574, -266.187, 159.331), 'Scale': VBase3(1.492, 1.492, 1.492), 'Visual': {'Color': (0.8199999928474426, 0.800000011920929, 0.6899999976158142, 1.0), 'Model': 'models/props/TreeBase'}}, '1172017408.0dxschafe6': {'Type': 'TreeBase', 'DisableCollision': False, 'Hpr': VBase3(91.374, 0.0, 0.0), 'Pos': Point3(-15.702, -215.067, 147.634), 'Scale': VBase3(1.492, 1.492, 1.492), 'Visual': {'Color': (0.8199999928474426, 0.800000011920929, 0.6899999976158142, 1.0), 'Model': 'models/props/TreeBase'}}, '1172017408.0dxschafe7': {'Type': 'TreeBase', 'DisableCollision': False, 'Hpr': VBase3(7.193, 0.0, 0.0), 'Pos': Point3(-22.53, -171.517, 136.813), 'Scale': VBase3(1.492, 1.492, 1.492), 'Visual': {'Color': (0.8199999928474426, 0.800000011920929, 0.6899999976158142, 1.0), 'Model': 'models/props/TreeBase'}}, '1172017408.0dxschafe8': {'Type': 'TreeBase', 'DisableCollision': False, 'Hpr': VBase3(9.666, 0.0, 0.0), 'Pos': Point3(-30.255, -128.265, 126.752), 'Scale': VBase3(1.492, 1.492, 1.492), 'Visual': {'Color': (0.8199999928474426, 0.800000011920929, 0.6899999976158142, 1.0), 'Model': 'models/props/TreeBase'}}, '1172017536.0dxschafe': {'Type': 'TreeBase', 'DisableCollision': False, 'Hpr': VBase3(8.17, 0.0, 0.0), 'Pos': Point3(-36.399, -95.53, 119.583), 'Scale': VBase3(1.492, 1.492, 1.492), 'Visual': {'Color': (0.8199999928474426, 0.800000011920929, 0.6899999976158142, 1.0), 'Model': 'models/props/TreeBase'}}, '1172017536.0dxschafe0': {'Type': 'TreeBase', 'DisableCollision': False, 'Hpr': VBase3(8.17, 0.0, 0.0), 'Pos': Point3(-42.993, -60.257, 112.255), 'Scale': VBase3(1.492, 1.492, 1.492), 'Visual': {'Color': (0.82, 0.8, 0.69, 1.0), 'Model': 'models/props/TreeBase'}}, '1172018048.0dxschafe': {'Type': 'Tree', 'DisableCollision': False, 'Hpr': VBase3(64.453, 2.431, 8.204), 'Pos': Point3(-35.362, -95.397, 125.636), 'Scale': VBase3(0.902, 0.902, 0.902), 'Visual': {'Model': 'models/vegetation/gen_tree_a'}}, '1172018048.0dxschafe0': {'Type': 'Tree', 'DisableCollision': False, 'Hpr': VBase3(-10.51, -7.299, -0.344), 'Pos': Point3(-28.773, -128.98, 130.552), 'Scale': VBase3(0.902, 0.902, 0.902), 'Visual': {'Model': 'models/vegetation/gen_tree_a'}}, '1172018048.0dxschafe1': {'Type': 'Tree', 'DisableCollision': False, 'Hpr': VBase3(-80.82, 0.873, -5.403), 'Pos': Point3(-20.929, -172.238, 141.032), 'Scale': VBase3(0.902, 0.902, 0.902), 'Visual': {'Model': 'models/vegetation/gen_tree_a'}}, '1172018048.0dxschafe2': {'Type': 'Tree', 'DisableCollision': False, 'Hpr': VBase3(49.791, 4.35, 8.572), 'Pos': Point3(-14.305, -215.208, 152.582), 'Scale': VBase3(0.754, 0.754, 0.754), 'Visual': {'Model': 'models/vegetation/gen_tree_a'}}, '1172018048.0dxschafe3': {'Type': 'Tree', 'DisableCollision': False, 'Hpr': VBase3(23.856, -3.528, 7.798), 'Pos': Point3(-6.348, -266.29, 164.085), 'Scale': VBase3(0.902, 0.902, 0.902), 'Visual': {'Model': 'models/vegetation/gen_tree_a'}}, '1172018048.0dxschafe4': {'Type': 'Tree', 'DisableCollision': False, 'Hpr': VBase3(7.418, 4.684, 6.586), 'Pos': Point3(30.616, -63.733, 108.863), 'Scale': VBase3(1.119, 1.119, 1.119), 'Visual': {'Model': 'models/vegetation/gen_tree_a'}}, '1172018048.0dxschafe5': {'Type': 'Tree', 'DisableCollision': False, 'Hpr': VBase3(87.4, 0.376, 11.963), 'Pos': Point3(25.317, -100.117, 125.657), 'Scale': VBase3(0.902, 0.902, 0.902), 'Visual': {'Model': 'models/vegetation/gen_tree_a'}}, '1172018048.0dxschafe6': {'Type': 'Tree', 'DisableCollision': False, 'Hpr': VBase3(57.5, -7.084, 4.447), 'Pos': Point3(24.039, -131.556, 127.72), 'Scale': VBase3(1.076, 1.076, 1.076), 'Visual': {'Model': 'models/vegetation/gen_tree_a'}}, '1172018048.0dxschafe7': {'Type': 'Tree', 'DisableCollision': False, 'Hpr': VBase3(8.588, -5.462, -2.209), 'Pos': Point3(26.509, -172.908, 137.21), 'Scale': VBase3(0.781, 0.781, 0.781), 'Visual': {'Model': 'models/vegetation/gen_tree_a'}}, '1172018048.0dxschafe8': {'Type': 'Tree', 'DisableCollision': False, 'Hpr': VBase3(100.553, -1.763, 5.254), 'Pos': Point3(28.953, -218.022, 147.509), 'Scale': VBase3(1.127, 1.127, 1.127), 'Visual': {'Model': 'models/vegetation/gen_tree_a'}}, '1172018048.0dxschafe9': {'Type': 'Tree', 'DisableCollision': False, 'Hpr': VBase3(1.659, -5.519, 0.147), 'Pos': Point3(35.678, -263.052, 159.132), 'Scale': VBase3(0.764, 0.764, 0.764), 'Visual': {'Model': 'models/vegetation/gen_tree_a'}}, '1172021888.0dxschafe': {'Type': 'Stairs', 'DisableCollision': False, 'Hpr': VBase3(-39.008, 0.0, 1.169), 'Pos': Point3(86.782, -359.088, 173.508), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.5, 0.5, 0.5, 1.0), 'Model': 'models/buildings/brick_stairs_double'}}, '1172022784.0dxschafe0': {'Type': 'Spanish Walls', 'DisableCollision': True, 'Hpr': VBase3(66.648, 0.0, -1.285), 'Pos': Point3(155.519, -396.142, 195.265), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.47999998927116394, 0.43, 0.39, 1.0), 'Model': 'models/buildings/LowWallStone_10'}}, '1172022912.0dxschafe': {'Type': 'Spanish Walls', 'DisableCollision': True, 'Hpr': VBase3(124.415, -1.087, -0.685), 'Pos': Point3(159.562, -387.32, 195.498), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.47999998927116394, 0.43, 0.39, 1.0), 'Model': 'models/buildings/LowWallStone_10'}}, '1172022912.0dxschafe0': {'Type': 'Spanish Walls', 'DisableCollision': True, 'Hpr': VBase3(124.415, -1.087, -0.685), 'Pos': Point3(153.962, -379.211, 199.163), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.47999998927116394, 0.43, 0.39, 1.0), 'Model': 'models/buildings/LowWallStone_20'}}, '1172023040.0dxschafe': {'Type': 'Spanish Walls', 'DisableCollision': True, 'Hpr': VBase3(122.382, -1.062, -0.723), 'Pos': Point3(144.684, -365.654, 202.269), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.47999998927116394, 0.43, 0.39, 1.0), 'Model': 'models/buildings/LowWallStone_20'}}, '1172023168.0dxschafe': {'Type': 'Spanish Walls', 'DisableCollision': True, 'Hpr': VBase3(49.7, 0.375, -1.229), 'Pos': Point3(133.928, -348.456, 207.372), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.47999998927116394, 0.43, 0.39, 1.0), 'Model': 'models/buildings/LowWallStone_20'}}, '1172023424.0dxschafe': {'Type': 'Spanish Walls', 'DisableCollision': True, 'Hpr': VBase3(125.088, -1.095, -0.673), 'Pos': Point3(154.02, -379.278, 199.203), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.47999998927116394, 0.43, 0.39, 1.0), 'Model': 'models/buildings/LowWallStone_Column'}}, '1172023424.0dxschafe0': {'Type': 'Spanish Walls', 'DisableCollision': True, 'Hpr': VBase3(124.051, -1.083, -0.692), 'Pos': Point3(144.649, -365.493, 202.188), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.47999998927116394, 0.43, 0.39, 1.0), 'Model': 'models/buildings/LowWallStone_Column'}}, '1172023552.0dxschafe': {'Type': 'Spanish Walls', 'DisableCollision': True, 'Hpr': VBase3(153.035, -1.282, -0.081), 'Pos': Point3(159.579, -386.828, 195.879), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.47999998927116394, 0.43, 0.39, 1.0), 'Model': 'models/buildings/LowWallStone_Column'}}, '1172023552.0dxschafe0': {'Type': 'Spanish Walls', 'DisableCollision': True, 'Hpr': VBase3(132.701, -1.174, -0.522), 'Pos': Point3(133.869, -348.648, 206.952), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.47999998927116394, 0.43, 0.39, 1.0), 'Model': 'models/buildings/LowWallStone_Column'}}, '1172023680.0dxschafe': {'Type': 'Spanish Walls', 'DisableCollision': True, 'Hpr': VBase3(143.054, -1.249, -0.302), 'Pos': Point3(147.232, -332.894, 211.518), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.47999998927116394, 0.43, 0.39, 1.0), 'Model': 'models/buildings/LowWallStone_20'}}, '1172023680.0dxschafe0': {'Type': 'Spanish Walls', 'DisableCollision': True, 'Hpr': VBase3(143.054, -1.249, -0.302), 'Pos': Point3(132.208, -321.604, 214.661), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.47999998927116394, 0.43, 0.39, 1.0), 'Model': 'models/buildings/LowWallStone_20'}}, '1172023808.0dxschafe': {'Type': 'Spanish Walls', 'DisableCollision': True, 'Hpr': VBase3(141.845, -1.242, -0.328), 'Pos': Point3(147.429, -333.207, 211.204), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.47999998927116394, 0.43, 0.39, 1.0), 'Model': 'models/buildings/LowWallStone_Column'}}, '1172023808.0dxschafe0': {'Type': 'Spanish Walls', 'DisableCollision': True, 'Hpr': VBase3(137.927, -1.217, -0.412), 'Pos': Point3(132.331, -321.718, 214.638), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.47999998927116394, 0.43, 0.39, 1.0), 'Model': 'models/buildings/LowWallStone_Column'}}, '1172023808.0dxschafe1': {'Type': 'Spanish Walls', 'DisableCollision': True, 'Hpr': VBase3(132.701, -1.174, -0.522), 'Pos': Point3(115.891, -308.957, 215.109), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.47999998927116394, 0.43, 0.39, 1.0), 'Model': 'models/buildings/LowWallStone_Column'}}, '1172024192.0dxschafe': {'Type': 'FountainSmall', 'DisableCollision': False, 'Hpr': VBase3(25.047, 0.0, 0.0), 'Pos': Point3(300.224, -314.796, 224.989), 'Scale': VBase3(1.353, 1.353, 1.353), 'Visual': {'Color': (0.7, 0.72, 1.0, 1.0), 'Model': 'models/props/FountainSmall'}}, '1172024448.0dxschafe1': {'Type': 'Building Exterior', 'File': '', 'ExtUid': '1172024448.0dxschafe2', 'Hpr': VBase3(-123.468, -0.669, -1.582), 'Objects': {'1201115180.89dxschafe': {'Type': 'Door Locator Node', 'Name': 'door_locator', 'Hpr': VBase3(-91.631, -1.219, 0.206), 'Pos': Point3(12.513, -7.087, 5.3), 'Scale': VBase3(1.0, 1.0, 1.0)}}, 'Pos': Point3(268.692, 540.617, 126.782), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Name': '', 'Color': (0.58, 0.62, 0.6, 1.0), 'Door': 'models/buildings/shanty_guildhall_door', 'Interior': 'models/buildings/interior_shanty_guildhall', 'Model': 'models/buildings/english_f', 'SignImage': 'models/buildings/sign1_eng_a_icon_blacksmith'}}, '1172024448.0dxschafe3': {'Type': 'Building Exterior', 'File': '', 'ExtUid': '1172024448.0dxschafe4', 'Hpr': VBase3(-155.789, 0.281, -1.695), 'Objects': {'1201115180.81dxschafe': {'Type': 'Door Locator Node', 'Name': 'door_locator', 'Hpr': VBase3(-91.631, -1.219, 0.206), 'Pos': Point3(12.513, -7.087, 5.3), 'Scale': VBase3(1.0, 1.0, 1.0)}}, 'Pos': Point3(222.408, 580.737, 126.533), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Name': '', 'Color': (0.56, 0.54, 0.5529411764705883, 1.0), 'Door': 'models/buildings/shanty_guildhall_door', 'Interior': 'models/buildings/interior_shanty_guildhall', 'Model': 'models/buildings/english_f', 'SignImage': 'models/buildings/sign1_eng_a_icon_blacksmith'}}, '1172024448.0dxschafe5': {'Type': 'Building Exterior', 'File': '', 'ExtUid': '1172024448.0dxschafe6', 'Hpr': VBase3(-36.732, -0.632, 0.478), 'Objects': {'1201115180.73dxschafe': {'Type': 'Door Locator Node', 'Name': 'door_locator', 'Hpr': VBase3(-180.0, 0.0, 0.0), 'Pos': Point3(-2.385, -6.663, 0.992), 'Scale': VBase3(1.0, 1.0, 1.0)}}, 'Pos': Point3(231.881, 561.606, 132.169), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Name': '', 'Color': (0.71, 0.71, 0.7294117647058823, 1.0), 'Door': 'models/buildings/shanty_guildhall_door', 'Interior': 'models/buildings/interior_shanty_guildhall', 'Model': 'models/buildings/english_i', 'SignImage': 'models/buildings/sign1_eng_a_icon_blacksmith'}}, '1172025856.0dxschafe': {'Type': 'Building Exterior', 'File': '', 'ExtUid': '1172025856.0dxschafe0', 'Hpr': VBase3(124.937, 1.469, 0.891), 'Objects': {'1201115180.23dxschafe': {'Type': 'Door Locator Node', 'Name': 'door_locator', 'Hpr': VBase3(-180.0, 0.0, 0.0), 'Pos': Point3(-1.897, -15.523, -0.102), 'Scale': VBase3(1.0, 1.0, 1.0)}}, 'Pos': Point3(442.874, -12.321, 320.699), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Name': '', 'Color': (0.69, 0.69, 0.6705882352941176, 1.0), 'Door': 'models/buildings/shanty_guildhall_door', 'Interior': 'models/buildings/interior_shanty_guildhall', 'Model': 'models/buildings/english_corner_b', 'SignImage': 'models/buildings/sign1_eng_a_icon_blacksmith'}}, '1172025856.0dxschafe1': {'Type': 'Building Exterior', 'File': '', 'ExtUid': '1172025856.0dxschafe2', 'Hpr': VBase3(-55.024, -1.468, -0.986), 'Objects': {'1201115178.59dxschafe': {'Type': 'Door Locator Node', 'Name': 'door_locator', 'Hpr': VBase3(-180.0, 0.0, 0.0), 'Pos': Point3(-1.897, -15.523, -0.102), 'Scale': VBase3(1.0, 1.0, 1.0)}}, 'Pos': Point3(494.872, 18.403, 319.355), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Name': '', 'Color': (0.78, 0.79, 0.7568627450980392, 1.0), 'Door': 'models/buildings/shanty_guildhall_door', 'Interior': 'models/buildings/interior_shanty_guildhall', 'Model': 'models/buildings/english_corner_b', 'SignImage': 'models/buildings/sign1_eng_a_icon_blacksmith'}}, '1172026112.0dxschafe': {'Type': 'Spanish Walls', 'DisableCollision': False, 'Hpr': VBase3(122.354, 0.0, 0.0), 'Pos': Point3(494.951, 0.449, 319.368), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.45, 0.44, 0.4, 1.0), 'Model': 'models/buildings/LowWallStucco_10'}}, '1172026112.0dxschafe0': {'Type': 'Spanish Walls', 'DisableCollision': False, 'Hpr': VBase3(124.833, 0.0, 0.0), 'Pos': Point3(455.392, -36.868, 319.19), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.44999998807907104, 0.44, 0.4, 1.0), 'Model': 'models/buildings/LowWallStucco_20'}}, '1172026624.0dxschafe': {'Type': 'Spanish Walls', 'DisableCollision': False, 'Hpr': VBase3(-117.752, -0.032, 0.235), 'Pos': Point3(494.829, 1.06, 319.393), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.45, 0.44, 0.4, 1.0), 'Model': 'models/buildings/LowWallStucco_60'}}, '1172026752.0dxschafe': {'Type': 'Spanish Walls', 'DisableCollision': False, 'Hpr': VBase3(125.681, 0.002, 0.031), 'Pos': Point3(466.917, -52.745, 319.188), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.45, 0.44, 0.4, 1.0), 'Model': 'models/buildings/LowWallStucco_10'}}, '1172027776.0dxschafe': {'Type': 'Spanish Walls', 'DisableCollision': False, 'Hpr': VBase3(124.833, 0.0, 0.0), 'Pos': Point3(455.661, -37.094, 319.644), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.44999998807907104, 0.44, 0.4, 1.0), 'Model': 'models/buildings/LowWallStucco_Column'}}, '1172027904.0dxschafe': {'Type': 'Spanish Walls', 'DisableCollision': False, 'Hpr': VBase3(124.833, 0.0, 0.0), 'Pos': Point3(460.66, -44.292, 319.663), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.44999998807907104, 0.44, 0.4, 1.0), 'Model': 'models/buildings/LowWallStucco_Column'}}, '1172027904.0dxschafe0': {'Type': 'Spanish Walls', 'DisableCollision': False, 'Hpr': VBase3(124.833, 0.0, 0.0), 'Pos': Point3(466.536, -52.542, 319.343), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.44999998807907104, 0.44, 0.4, 1.0), 'Model': 'models/buildings/LowWallStucco_Column'}}, '1172027904.0dxschafe1': {'Type': 'Spanish Walls', 'DisableCollision': False, 'Hpr': VBase3(124.833, 0.0, 0.0), 'Pos': Point3(445.052, -22.189, 319.364), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.44999998807907104, 0.44, 0.4, 1.0), 'Model': 'models/buildings/LowWallStucco_Column'}}, '1172027904.0dxschafe2': {'Type': 'Spanish Walls', 'DisableCollision': False, 'Hpr': VBase3(123.112, 0.0, 0.0), 'Pos': Point3(494.98, 0.588, 319.122), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.44999998807907104, 0.44, 0.4, 1.0), 'Model': 'models/buildings/LowWallStucco_Column'}}, '1174593969.64kmuller': {'Type': 'Simple Fort', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Objects': {'1162578634.17dxschafe': {'Type': 'Barrel', 'DisableCollision': False, 'GridPos': Point3(456.397, 67.118, 346.938), 'Hpr': VBase3(-85.122, 0.0, 0.0), 'Pos': Point3(112.068, -63.168, -39.712), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/barrel_group_3'}}, '1162578634.81dxschafe': {'Type': 'Barrel', 'DisableCollision': False, 'GridPos': Point3(453.82, 59.101, 346.936), 'Hpr': VBase3(0.0, 0.0, 0.0), 'Pos': Point3(109.491, -71.185, -39.714), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/barrel'}}, '1176857472.0dxschafe': {'Type': 'Spawn Node', 'AnimSet': 'default', 'GridPos': Point3(335.755, -62.135, 352.782), 'Hpr': Point3(0.0, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-8.574, -192.421, -33.868), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'Low EITC', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1176857472.0dxschafe0': {'Type': 'Spawn Node', 'AnimSet': 'default', 'GridPos': Point3(418.457, 134.208, 346.895), 'Hpr': Point3(0.0, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(74.128, 3.922, -39.755), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1176857472.0dxschafe1': {'Type': 'Spawn Node', 'AnimSet': 'default', 'GridPos': Point3(294.015, 53.71, 378.949), 'Hpr': Point3(0.0, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-50.314, -76.576, -7.701), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High EITC', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1177715584.0dxschafe': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(355.756, 131.082, 346.923), 'Hpr': VBase3(-12.759, 0.252, -2.769), 'Pos': Point3(11.427, 0.796, -39.727), 'Scale': VBase3(0.663, 0.663, 0.663), 'Visual': {'Model': 'models/props/barrel'}, 'searchTime': '6.0', 'type': 'Barrel'}, '1177715584.0dxschafe0': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(534.626, 165.163, 386.949), 'Hpr': VBase3(-12.759, 0.252, -2.769), 'Pos': Point3(190.297, 34.877, 0.299), 'Scale': VBase3(0.663, 0.663, 0.663), 'Visual': {'Color': (0.6899999976158142, 0.5799999833106995, 0.4699999988079071, 1.0), 'Model': 'models/props/barrel'}, 'searchTime': '6.0', 'type': 'Barrel'}, '1177715584.0dxschafe1': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(390.487, -10.372, 386.955), 'Hpr': VBase3(-12.759, 0.252, -2.769), 'Pos': Point3(46.158, -140.658, 0.305), 'Scale': VBase3(0.663, 0.663, 0.663), 'Visual': {'Color': (0.5899999737739563, 0.5299999713897705, 0.44999998807907104, 1.0), 'Model': 'models/props/barrel'}, 'searchTime': '6.0', 'type': 'Barrel'}, '1177715584.0dxschafe10': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(360.958, 29.214, 378.949), 'Hpr': VBase3(79.324, -2.776, -0.151), 'Pos': Point3(16.629, -101.072, -7.701), 'Scale': VBase3(0.559, 0.559, 0.559), 'Visual': {'Color': (0.7099999785423279, 0.6700000166893005, 0.6000000238418579, 1.0), 'Model': 'models/props/barrel'}, 'searchTime': '6.0', 'type': 'Barrel'}, '1177715584.0dxschafe11': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(386.439, 46.16, 346.939), 'Hpr': VBase3(-12.759, 0.252, -2.769), 'Pos': Point3(42.116, -84.127, -39.836), 'Scale': VBase3(0.663, 0.663, 0.663), 'Visual': {'Color': (0.5199999809265137, 0.47999998927116394, 0.44999998807907104, 1.0), 'Model': 'models/props/barrel'}, 'searchTime': '6.0', 'type': 'Barrel'}, '1177715584.0dxschafe2': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(196.727, 12.135, 352.782), 'Hpr': VBase3(-12.759, 0.252, -2.769), 'Pos': Point3(-147.602, -118.151, -33.868), 'Scale': VBase3(1.165, 1.165, 1.165), 'Visual': {'Model': 'models/props/crate_04'}, 'searchTime': '6.0', 'type': 'Crate'}, '1177715584.0dxschafe3': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(314.559, 7.859, 386.949), 'Hpr': VBase3(77.294, -2.769, -0.249), 'Pos': Point3(-29.77, -122.427, 0.299), 'Scale': VBase3(1.24, 1.24, 1.24), 'Visual': {'Color': (0.7099999785423279, 0.6700000166893005, 0.6000000238418579, 1.0), 'Model': 'models/props/crate_04'}, 'searchTime': '6.0', 'type': 'Crate'}, '1177715584.0dxschafe4': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(328.224, -16.052, 352.782), 'Hpr': VBase3(-12.759, 0.252, -2.769), 'Pos': Point3(-16.105, -146.338, -33.868), 'Scale': VBase3(0.663, 0.663, 0.663), 'Visual': {'Model': 'models/props/barrel'}, 'searchTime': '6.0', 'type': 'Barrel'}, '1177715584.0dxschafe5': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(447.136, 57.695, 346.925), 'Hpr': VBase3(-63.119, 2.294, -1.572), 'Objects': {}, 'Pos': Point3(102.807, -72.591, -39.725), 'Scale': VBase3(1.874, 1.874, 1.874), 'Visual': {'Model': 'models/props/crate_04'}, 'searchTime': '6.0', 'type': 'Crate'}, '1177715584.0dxschafe6': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(360.84, 265.328, 346.935), 'Hpr': VBase3(-12.759, 0.252, -2.769), 'Pos': Point3(16.511, 135.042, -39.715), 'Scale': VBase3(0.663, 0.663, 0.663), 'Visual': {'Color': (0.5899999737739563, 0.5299999713897705, 0.44999998807907104, 1.0), 'Model': 'models/props/barrel'}, 'searchTime': '6.0', 'type': 'Barrel'}, '1177715584.0dxschafe7': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(243.721, 164.313, 346.931), 'Hpr': VBase3(0.498, -0.44, 0.228), 'Pos': Point3(-100.608, 34.027, -39.719), 'Scale': VBase3(1.2, 1.2, 1.2), 'Visual': {'Model': 'models/props/crate_04'}, 'searchTime': '6.0', 'type': 'Crate'}, '1177715584.0dxschafe8': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(199.814, 139.463, 386.949), 'Hpr': VBase3(-12.759, 0.252, -2.769), 'Pos': Point3(-144.515, 9.177, 0.299), 'Scale': VBase3(1.089, 1.089, 1.089), 'Visual': {'Model': 'models/props/crate_04'}, 'searchTime': '6.0', 'type': 'Crate'}, '1177715584.0dxschafe9': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(489.855, 121.998, 386.949), 'Hpr': VBase3(-12.759, 0.252, -2.769), 'Pos': Point3(145.526, -8.288, 0.299), 'Scale': VBase3(0.663, 0.663, 0.663), 'Visual': {'Color': (0.5899999737739563, 0.5299999713897705, 0.44999998807907104, 1.0), 'Model': 'models/props/crate_04'}, 'searchTime': '6.0', 'type': 'Crate'}, '1177970176.0dxschafe': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(361.141, 315.375, 386.949), 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(16.811, 185.089, 0.299), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/crate_04'}, 'searchTime': '6.0', 'type': 'Crate'}, '1177976064.0dxschafe': {'Type': 'Interior_furnishings', 'DisableCollision': False, 'GridPos': Point3(235.209, 121.319, 346.557), 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-109.12, -8.967, -40.093), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.5, 0.5, 0.5, 1.0), 'Model': 'models/props/interior_wall_fort_brick'}}, '1177976192.0dxschafe': {'Type': 'Interior_furnishings', 'DisableCollision': False, 'GridPos': Point3(203.158, 121.246, 346.474), 'Hpr': VBase3(0.0, 0.0, 0.0), 'Pos': Point3(-141.171, -9.04, -40.176), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.4000000059604645, 0.4000000059604645, 0.4000000059604645, 1.0), 'Model': 'models/props/interior_wall_fort_brick'}}, '1177976320.0dxschafe': {'Type': 'Interior_furnishings', 'DisableCollision': False, 'GridPos': Point3(234.528, 159.741, 339.797), 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-109.801, 29.455, -46.853), 'Scale': VBase3(1.061, 1.061, 1.061), 'Visual': {'Model': 'models/props/interior_wall_fort'}}, '1177976320.0dxschafe0': {'Type': 'Interior_furnishings', 'DisableCollision': False, 'GridPos': Point3(222.865, 132.587, 339.833), 'Hpr': VBase3(92.353, 0.0, 0.0), 'Pos': Point3(-121.464, 2.301, -46.817), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.5, 0.5, 0.5, 1.0), 'Model': 'models/props/interior_wall_fort'}}, '1177976448.0dxschafe0': {'Type': 'Interior_furnishings', 'DisableCollision': False, 'GridPos': Point3(221.74, 161.798, 339.7), 'Hpr': VBase3(91.889, 0.307, 0.0), 'Pos': Point3(-122.589, 31.512, -46.95), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.5, 0.5, 0.5, 1.0), 'Model': 'models/props/interior_wall_fort'}}, '1177976704.0dxschafe': {'Type': 'Interior_furnishings', 'DisableCollision': False, 'GridPos': Point3(220.704, 190.694, 340.1), 'Hpr': VBase3(91.806, 0.0, 0.0), 'Pos': Point3(-123.625, 60.408, -46.55), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.5, 0.5, 0.5, 1.0), 'Model': 'models/props/interior_wall_fort'}}, '1177977600.0dxschafe': {'Type': 'Interior_furnishings', 'DisableCollision': False, 'GridPos': Point3(222.04, 193.199, 346.154), 'Hpr': VBase3(2.553, 0.0, 0.0), 'Pos': Point3(-122.289, 62.913, -40.496), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/interior_wall_fort'}}, '1177977728.0dxschafe': {'Type': 'Interior_furnishings', 'DisableCollision': False, 'GridPos': Point3(193.54, 192.758, 346.878), 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-150.789, 62.472, -39.772), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/interior_wall_fort_brick'}}, '1177977728.0dxschafe0': {'Type': 'Interior_furnishings', 'DisableCollision': False, 'GridPos': Point3(199.099, 218.622, 345.926), 'Hpr': VBase3(1.502, 0.0, 0.0), 'Pos': Point3(-144.87, 88.345, -40.724), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/interior_wall_fort'}}, '1177977856.0dxschafe': {'Type': 'Interior_furnishings', 'DisableCollision': False, 'GridPos': Point3(221.8, 219.139, 346.711), 'Hpr': VBase3(1.978, 0.0, 0.0), 'Pos': Point3(-122.529, 88.853, -39.939), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/interior_wall_fort'}}, '1177977856.0dxschafe0': {'Type': 'Interior_furnishings', 'DisableCollision': False, 'GridPos': Point3(242.874, 219.592, 347.018), 'Hpr': VBase3(0.815, 0.0, 0.0), 'Pos': Point3(-101.455, 89.306, -39.632), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/interior_wall_fort'}}, '1178835968.0dxschafe': {'Type': 'Spawn Node', 'AnimSet': 'default', 'Hpr': Point3(0.0, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-124.09, -163.407, -34.268), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1178836224.0dxschafe': {'Type': 'Spawn Node', 'Aggro Radius': 12, 'AnimSet': 'default', 'GridPos': Point3(384.238, 211.097, 346.682), 'Hpr': VBase3(0.0, 0.0, 0.0), 'Min Population': '2', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(39.909, 80.811, -39.968), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'Low EITC', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0.0, 0.0, 0.65, 1.0), 'Model': 'models/misc/smiley'}}, '1178916352.0dxschafe': {'Type': 'Spawn Node', 'Aggro Radius': 12, 'AnimSet': 'default', 'GridPos': Point3(513.671, 145.567, 386.949), 'Hpr': VBase3(0.0, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(169.342, 15.281, 0.299), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1178916352.0dxschafe0': {'Type': 'Spawn Node', 'Aggro Radius': 12, 'AnimSet': 'default', 'GridPos': Point3(393.98, 91.736, 346.883), 'Hpr': Point3(0.0, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(49.651, -38.55, -39.767), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'Mid EITC', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0.0, 0.0, 0.65, 1.0), 'Model': 'models/misc/smiley'}}, '1178916352.0dxschafe2': {'Type': 'Spawn Node', 'AnimSet': 'default', 'GridPos': Point3(237.549, 65.564, 378.949), 'Hpr': Point3(0.0, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-106.78, -64.722, -7.701), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High EITC', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1178916480.0dxschafe': {'Type': 'Spawn Node', 'AnimSet': 'default', 'GridPos': Point3(208.17, 164.563, 346.949), 'Hpr': Point3(0.0, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-136.159, 34.277, -39.701), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High EITC', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'VisSize': '', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1178916480.0dxschafe0': {'Type': 'Spawn Node', 'Aggro Radius': 12, 'AnimSet': 'default', 'GridPos': Point3(338.077, 320.269, 386.949), 'Hpr': VBase3(0.0, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-6.252, 189.983, 0.299), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1178916480.0dxschafe1': {'Type': 'Spawn Node', 'Aggro Radius': 12, 'AnimSet': 'default', 'GridPos': Point3(478.519, 47.341, 386.968), 'Hpr': Point3(0.0, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(134.19, -82.945, 0.318), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1178916736.0dxschafe': {'Type': 'Spawn Node', 'Aggro Radius': 12, 'AnimSet': 'default', 'GridPos': Point3(212.23, 35.487, 386.949), 'Hpr': Point3(0.0, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-132.099, -94.799, 0.299), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1178916864.0dxschafe0': {'Type': 'Spawn Node', 'Aggro Radius': 12, 'AnimSet': 'default', 'GridPos': Point3(207.943, 283.909, 386.949), 'Hpr': Point3(0.0, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-136.386, 153.623, 0.299), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1178916864.0dxschafe2': {'Type': 'Spawn Node', 'Aggro Radius': 12, 'AnimSet': 'default', 'GridPos': Point3(353.259, 101.63, 346.949), 'Hpr': Point3(0.0, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(8.93, -28.656, -39.701), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'Mid EITC', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1178916992.0dxschafe': {'Type': 'Spawn Node', 'Aggro Radius': 12, 'AnimSet': 'default', 'GridPos': Point3(261.651, 108.78, 347.023), 'Hpr': Point3(0.0, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-82.678, -21.506, -39.627), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'Mid EITC', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1178916992.0dxschafe0': {'Type': 'Spawn Node', 'AnimSet': 'default', 'GridPos': Point3(238.796, 138.354, 346.949), 'Hpr': Point3(0.0, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-105.533, 8.068, -39.701), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High EITC', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1184611235.05kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'GridPos': Point3(394.841, 46.886, 344.295), 'Hpr': VBase3(172.721, 0.0, 0.0), 'Pos': Point3(50.512, -83.4, -42.355), 'Scale': VBase3(1.617, 1.0, 1.601), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184611284.53kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'GridPos': Point3(384.583, 45.227, 346.406), 'Hpr': VBase3(-106.099, -5.091, 9.121), 'Pos': Point3(40.254, -85.059, -40.244), 'Scale': VBase3(0.351, 1.0, 1.0), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1190397568.0dxschafe1': {'Type': 'Location Sphere', 'Hpr': VBase3(0.0, 0.0, 0.0), 'Pos': Point3(3.793, -69.606, -35.625), 'Scale': VBase3(277.056, 277.056, 277.056)}, '1190421243.92kmuller': {'Type': 'Interior_furnishings', 'DisableCollision': False, 'Hpr': VBase3(0.0, 0.0, 0.0), 'Pos': Point3(-133.243, -9.836, -40.152), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/interior_column_fort'}}, '1205364339.12kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(-13.044, 0.0, 0.0), 'Pos': Point3(16.354, -102.182, -8.179), 'Scale': VBase3(0.623, 1.058, 1.321), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_cube'}}}, 'Pos': Point3(344.139, 130.145, 385.841), 'Scale': VBase3(1.0, 1.0, 1.0), 'UseMayaLOD': False, 'Visual': {'Model': 'models/buildings/fort_top_kings'}}, '1174594142.98kmuller': {'Type': 'Simple Fort', 'DisableCollision': False, 'Hpr': VBase3(0.0, 0.0, 0.0), 'Objects': {'1162578854.17dxschafe': {'Type': 'Bucket', 'DisableCollision': False, 'GridPos': Point3(215.379, -642.511, 210.894), 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(14.082, 107.843, -46.437), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/bucket'}}, '1172006784.0dxschafe': {'Type': 'Military_props', 'DisableCollision': False, 'GridPos': Point3(222.476, -707.591, 210.894), 'Hpr': VBase3(-70.464, 0.592, -0.045), 'Objects': {}, 'Pos': Point3(21.179, 42.763, -46.437), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.7200000286102295, 0.699999988079071, 0.5899999737739563, 1.0), 'Model': 'models/islands/pier_scaffold_1long'}}, '1172007808.0dxschafe': {'Type': 'Military_props', 'DisableCollision': False, 'GridPos': Point3(210.903, -716.151, 210.816), 'Hpr': VBase3(109.744, -0.115, -0.307), 'Objects': {}, 'Pos': Point3(9.606, 34.203, -46.515), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.7200000286102295, 0.699999988079071, 0.5899999737739563, 1.0), 'Model': 'models/islands/pier_scaffold_landing'}}, '1172009088.0dxschafe': {'Type': 'Military_props', 'DisableCollision': False, 'GridPos': Point3(211.084, -715.985, 210.896), 'Hpr': VBase3(109.489, -0.114, -0.307), 'Pos': Point3(9.787, 34.369, -46.435), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.7200000286102295, 0.699999988079071, 0.5899999737739563, 1.0), 'Model': 'models/islands/pier_scaffold_stairs'}}, '1172009216.0dxschafe': {'Type': 'Military_props', 'DisableCollision': False, 'GridPos': Point3(243.6, -772.696, 210.894), 'Hpr': VBase3(-72.588, 0.594, -0.023), 'Objects': {}, 'Pos': Point3(42.303, -22.342, -46.437), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.7200000286102295, 0.699999988079071, 0.5899999737739563, 1.0), 'Model': 'models/islands/pier_scaffold_2long'}}, '1176856064.0dxschafe3': {'Type': 'Movement Node', 'GridPos': Point3(293.049, -575.63, 258.602), 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(91.752, 174.724, 0.759), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0.0, 0.0, 1.0), 'Model': 'models/misc/smiley'}}, '1176856320.0dxschafe': {'Type': 'Spawn Node', 'AnimSet': 'default', 'Hpr': Point3(0.0, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': '100', 'Pause Duration': '30', 'Pos': Point3(-19.537, 107.27, -5.736), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'VisSize': '', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1177715328.0dxschafe4': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(61.51, -687.504, 257.453), 'Hpr': VBase3(-12.759, 0.252, -2.769), 'Pos': Point3(-139.787, 62.85, 0.122), 'Scale': VBase3(0.663, 0.663, 0.663), 'Visual': {'Model': 'models/props/barrel'}, 'searchTime': '6.0', 'type': 'Barrel'}, '1177715328.0dxschafe5': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(321.044, -753.459, 258.089), 'Hpr': VBase3(-12.759, 0.252, -2.769), 'Pos': Point3(119.747, -3.105, 0.758), 'Scale': VBase3(0.663, 0.663, 0.663), 'Visual': {'Model': 'models/props/barrel'}, 'searchTime': '6.0', 'type': 'Barrel'}, '1177715328.0dxschafe6': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(290.063, -632.312, 210.894), 'Hpr': VBase3(-12.759, 0.252, -2.769), 'Pos': Point3(88.766, 118.042, -46.437), 'Scale': VBase3(0.663, 0.663, 0.663), 'Visual': {'Color': (0.7200000286102295, 0.699999988079071, 0.5899999737739563, 1.0), 'Model': 'models/props/barrel'}, 'searchTime': '6.0', 'type': 'Barrel'}, '1177715328.0dxschafe7': {'Type': 'Searchable Container', 'Aggro Radius': '5.0000', 'GridPos': Point3(117.323, -739.599, 210.894), 'Hpr': VBase3(-12.759, 0.252, -2.769), 'Pos': Point3(-85.405, 11.325, -46.509), 'Scale': VBase3(0.663, 0.663, 0.663), 'VisSize': '', 'Visual': {'Model': 'models/props/barrel'}, 'searchTime': '6.0', 'type': 'Barrel'}, '1177715328.0dxschafe8': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(160.925, -846.42, 210.894), 'Hpr': VBase3(-12.759, 0.252, -2.769), 'Pos': Point3(-32.387, -83.692, -46.132), 'Scale': VBase3(0.663, 0.663, 0.663), 'Visual': {'Model': 'models/props/barrel'}, 'searchTime': '6.0', 'type': 'Barrel'}, '1177715328.0dxschafe9': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(263.331, -779.004, 210.894), 'Hpr': VBase3(-12.759, 0.252, -2.769), 'Pos': Point3(62.034, -28.65, -46.437), 'Scale': VBase3(0.663, 0.663, 0.663), 'Visual': {'Model': 'models/props/barrel'}, 'searchTime': '6.0', 'type': 'Barrel'}, '1177715712.0dxschafe2': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(62.542, -912.299, 210.894), 'Hpr': VBase3(-12.759, 0.252, -2.769), 'Pos': Point3(-138.755, -161.945, -46.437), 'Scale': VBase3(0.663, 0.663, 0.663), 'Visual': {'Model': 'models/props/barrel'}, 'searchTime': '6.0', 'type': 'Barrel'}, '1177715712.0dxschafe3': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(287.624, -705.166, 210.894), 'Hpr': VBase3(-12.759, 0.252, -2.769), 'Pos': Point3(86.327, 45.188, -46.437), 'Scale': VBase3(0.663, 0.663, 0.663), 'Visual': {'Model': 'models/props/barrel'}, 'searchTime': '6.0', 'type': 'Barrel'}, '1177715712.0dxschafe4': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(235.335, -845.227, 211.206), 'Hpr': VBase3(-12.759, 0.252, -2.769), 'Pos': Point3(34.038, -94.873, -46.125), 'Scale': VBase3(0.663, 0.663, 0.663), 'Visual': {'Model': 'models/props/barrel'}, 'searchTime': '6.0', 'type': 'Barrel'}, '1177716480.0dxschafe': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(314.511, -710.733, 210.894), 'Hpr': VBase3(15.615, 0.0, 0.0), 'Pos': Point3(113.214, 39.621, -46.437), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/crate_04'}, 'searchTime': '6.0', 'type': 'Crate'}, '1177716480.0dxschafe11': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(298.22, -630.509, 257.884), 'Hpr': VBase3(18.924, 0.0, 0.0), 'Pos': Point3(96.923, 119.845, 0.553), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/crate_04'}, 'searchTime': '6.0', 'type': 'Crate'}, '1177716480.0dxschafe6': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(201.107, -692.504, 210.894), 'Hpr': VBase3(-61.544, 0.0, 0.0), 'Pos': Point3(-0.19, 57.85, -46.437), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/crate_04'}, 'searchTime': '6.0', 'type': 'Crate'}, '1177716480.0dxschafe7': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(84.424, -792.912, 210.894), 'Hpr': Point3(0.0, 0.0, 0.0), 'Objects': {}, 'Pos': Point3(-116.873, -42.558, -46.437), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/crate_04'}, 'searchTime': '6.0', 'type': 'Crate'}, '1177716480.0dxschafe8': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(255.195, -780.345, 210.894), 'Hpr': VBase3(20.9, 0.0, 0.0), 'Pos': Point3(53.898, -29.991, -46.437), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/crate_04'}, 'searchTime': '6.0', 'type': 'Crate'}, '1177716864.0dxschafe': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(309.893, -819.768, 276.398), 'Hpr': VBase3(15.615, 0.0, 0.0), 'Pos': Point3(108.596, -69.414, 19.067), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/crate_04'}, 'searchTime': '6.0', 'type': 'Crate'}, '1177716864.0dxschafe1': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(71.398, -917.593, 273.292), 'Hpr': VBase3(42.351, 0.0, 0.0), 'Pos': Point3(-129.898, -167.239, 15.961), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/crate_04'}, 'searchTime': '6.0', 'type': 'Crate'}, '1177716864.0dxschafe2': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(168.101, -684.833, 250.373), 'Hpr': VBase3(-66.394, 0.0, 0.0), 'Pos': Point3(-33.196, 65.521, -6.958), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/crate_04'}, 'searchTime': '6.0', 'type': 'Crate'}, '1178836352.0dxschafe': {'Type': 'Spawn Node', 'AnimSet': 'default', 'Hpr': Point3(0.0, 0.0, 0.0), 'Min Population': '2', 'Patrol Radius': '12.0000', 'Pause Chance': '100', 'Pause Duration': '30', 'Pos': Point3(-123.658, -152.263, 15.179), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1178836352.0dxschafe0': {'Type': 'Movement Node', 'GridPos': Point3(99.947, -790.185, 260.959), 'Hpr': VBase3(0.0, 0.0, 0.0), 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-101.35, -39.831, 3.628), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1178836480.0dxschafe': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-106.156, 34.784, -0.754), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1178836480.0dxschafe0': {'Type': 'Spawn Node', 'AnimSet': 'default', 'Hpr': Point3(0.0, 0.0, 0.0), 'Min Population': '2', 'Patrol Radius': '12.0000', 'Pause Chance': '100', 'Pause Duration': '30', 'Pos': Point3(72.939, -3.223, 2.364), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1178836480.0dxschafe1': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(142.72, 31.053, 0.298), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1178836480.0dxschafe2': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(99.644, 160.698, 0.537), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1178915200.0dxschafe0': {'Type': 'Spawn Node', 'AnimSet': 'default', 'GridPos': Point3(102.335, -730.018, 258.034), 'Hpr': Point3(0.0, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-98.962, 20.336, 0.703), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1178915200.0dxschafe1': {'Type': 'Spawn Node', 'AnimSet': 'default', 'GridPos': Point3(94.348, -871.649, 210.894), 'Hpr': Point3(0.0, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-106.949, -121.295, -46.437), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1178915200.0dxschafe2': {'Type': 'Spawn Node', 'AnimSet': 'default', 'GridPos': Point3(155.393, -804.888, 210.894), 'Hpr': Point3(0.0, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-45.904, -54.534, -46.437), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1178915200.0dxschafe3': {'Type': 'Spawn Node', 'AnimSet': 'default', 'GridPos': Point3(196.164, -730.976, 210.894), 'Hpr': Point3(0.0, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-5.133, 19.378, -46.437), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'Navy T7', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'VisSize': '', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1178915200.0dxschafe4': {'Type': 'Spawn Node', 'AnimSet': 'default', 'GridPos': Point3(226.082, -812.956, 210.894), 'Hpr': Point3(0.0, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(24.785, -62.602, -46.437), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'Navy T7', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'VisSize': '', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1178915584.0dxschafe': {'Type': 'Spawn Node', 'AnimSet': 'default', 'GridPos': Point3(275.152, -647.908, 210.894), 'Hpr': VBase3(132.97, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(73.855, 102.446, -46.437), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1178915712.0dxschafe': {'Type': 'Spawn Node', 'AnimSet': 'default', 'GridPos': Point3(148.691, -799.322, 210.894), 'Hpr': VBase3(179.348, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-52.606, -48.968, -46.437), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1178915840.0dxschafe': {'Type': 'Spawn Node', 'AnimSet': 'default', 'GridPos': Point3(304.651, -688.695, 210.894), 'Hpr': Point3(0.0, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(103.354, 61.659, -46.437), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1178915968.0dxschafe': {'Type': 'Spawn Node', 'AnimSet': 'default', 'GridPos': Point3(314.396, -856.236, 210.894), 'Hpr': VBase3(41.976, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(109.531, -108.561, -46.437), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1178915968.0dxschafe0': {'Type': 'Spawn Node', 'AnimSet': 'default', 'GridPos': Point3(354.026, -741.184, 210.894), 'Hpr': Point3(0.0, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(148.488, 24.918, -46.437), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1178915968.0dxschafe1': {'Type': 'Spawn Node', 'AnimSet': 'default', 'GridPos': Point3(311.781, -726.103, 258.117), 'Hpr': VBase3(0.0, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(110.484, 24.251, 0.786), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1184610992.23kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'GridPos': Point3(286.868, -624.126, 210.475), 'Hpr': VBase3(-11.478, 0.0, 0.0), 'Pos': Point3(85.571, 126.228, -46.856), 'Scale': VBase3(1.0, 1.0, 1.323), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184611060.86kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'GridPos': Point3(279.841, -620.775, 210.251), 'Hpr': VBase3(-46.97, 0.0, 0.0), 'Pos': Point3(78.544, 129.579, -47.08), 'Scale': VBase3(0.675, 1.0, 1.573), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1190335104.0dxschafe': {'Type': 'Building Exterior', 'File': 'kingshead_jail_int_1', 'ExtUid': '1190335104.0dxschafe0', 'Hpr': VBase3(165.575, 0.0, 0.0), 'Objects': {'1201115174.72dxschafe': {'Type': 'Door Locator Node', 'Name': 'door_locator', 'Hpr': VBase3(-180.0, 0.0, 0.0), 'Pos': Point3(12.899, -22.494, 0.283), 'Scale': VBase3(1.0, 1.0, 1.0)}}, 'Pos': Point3(-48.342, -105.558, -46.437), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.6100000143051147, 0.5799999833106995, 0.550000011920929, 1.0), 'Door': 'models/buildings/shanty_guildhall_door', 'Model': 'models/buildings/jail_exterior', 'SignImage': 'models/buildings/sign1_eng_a_icon_blacksmith'}}, '1192728576.0dxschafe': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': '100', 'Pause Duration': '30', 'Pos': Point3(112.263, 176.218, -30.193), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1192728576.0dxschafe1': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': '100', 'Pause Duration': '30', 'Pos': Point3(99.43, 161.249, -29.91), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1192728576.0dxschafe2': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': '100', 'Pause Duration': '30', 'Pos': Point3(18.604, 139.296, -46.437), 'Scale': VBase3(1.0, 1.0, 1.0), 'VisSize': '', 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1219367627.94mtucker': {'Type': 'NavySailor', 'Aggro Radius': '3.3133', 'AnimSet': 'default', 'AvId': 4, 'AvTrack': 0, 'Boss': True, 'DNA': '1219367627.94mtucker', 'Hpr': VBase3(-163.932, -2.189, 1.11), 'NavyFaction': 'TradingCo', 'Patrol Radius': '4.6627', 'Pos': Point3(6.623, 52.771, -34.194), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Respawns': True, 'Scale': VBase3(1.0, 1.0, 1.0), 'Start State': 'Idle', 'StartFrame': '0', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None'}, '1235002898.7caoconno': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Holiday': '', 'Hpr': VBase3(29.436, 0.0, 0.0), 'Pos': Point3(-85.938, 9.571, -46.939), 'Scale': VBase3(0.423, 1.0, 1.359), 'VisSize': '', 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}}, 'Pos': Point3(201.268, -750.344, 257.289), 'Scale': VBase3(1.0, 1.0, 1.0), 'UseMayaLOD': False, 'Visual': {'Model': 'models/buildings/fort_mid_kings'}}, '1174594381.19kmuller': {'Type': 'Pier', 'DisableCollision': False, 'Hpr': VBase3(0.0, -0.088, 0.0), 'Objects': {'1184894208.0dxschafe0': {'Type': 'Player Spawn Node', 'Hpr': VBase3(-84.968, 0.008, 0.088), 'Index': 1, 'Pos': Point3(83.718, -91.649, 16.012), 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'All', 'Visual': {'Color': (0.5, 0.5, 0.5, 1), 'Model': 'models/misc/smiley'}}}, 'Pos': Point3(-1095.184, 519.272, -8.191), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (1.0, 1.0, 1.0, 1.0), 'Model': 'models/islands/pier_1_kings'}}, '1174594581.09kmuller': {'Type': 'Pier', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Objects': {}, 'Pos': Point3(523.179, -547.31, 5.264), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/islands/pier_2_kings'}}, '1176845568.0dxschafe': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'Hpr': VBase3(0.0, -7.257, 0.0), 'Pos': Point3(-475.432, 478.333, 68.085), 'Scale': VBase3(1.816, 1.816, 1.816), 'Visual': {'Color': (0.6100000143051147, 0.5799999833106995, 0.550000011920929, 1.0), 'Model': 'models/props/haystack'}, 'searchTime': '6.0', 'type': 'Haystack'}, '1176845696.0dxschafe': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-422.319, 406.076, 89.537), 'Scale': VBase3(2.277, 2.277, 2.277), 'Visual': {'Color': (0.6100000143051147, 0.5799999833106995, 0.550000011920929, 1.0), 'Model': 'models/props/haystack'}, 'searchTime': '6.0', 'type': 'Haystack'}, '1176845824.0dxschafe': {'Type': 'Hay', 'DisableCollision': False, 'Hpr': VBase3(47.42, -4.266, 3.042), 'Pos': Point3(-272.473, 350.609, 93.919), 'Scale': VBase3(2.358, 2.358, 2.358), 'Visual': {'Color': (0.6100000143051147, 0.5799999833106995, 0.550000011920929, 1.0), 'Model': 'models/props/haystack'}}, '1176845824.0dxschafe0': {'Type': 'Hay', 'DisableCollision': False, 'Hpr': VBase3(47.42, -4.266, 3.042), 'Pos': Point3(-220.28, 362.99, 95.733), 'Scale': VBase3(2.783, 2.783, 2.783), 'Visual': {'Color': (0.6100000143051147, 0.5799999833106995, 0.550000011920929, 1.0), 'Model': 'models/props/haystack'}}, '1176845824.0dxschafe1': {'Type': 'Hay', 'DisableCollision': False, 'Hpr': VBase3(0.83, -5.141, -1.002), 'Pos': Point3(-265.627, 378.656, 86.774), 'Scale': VBase3(2.783, 2.783, 2.783), 'Visual': {'Color': (0.6100000143051147, 0.5799999833106995, 0.550000011920929, 1.0), 'Model': 'models/props/haystack'}}, '1176845824.0dxschafe2': {'Type': 'Hay', 'DisableCollision': False, 'Hpr': VBase3(94.699, -0.656, 5.197), 'Pos': Point3(-343.953, 343.41, 96.921), 'Scale': VBase3(2.783, 2.783, 2.783), 'Visual': {'Color': (0.61, 0.58, 0.55, 1.0), 'Model': 'models/props/haystack'}}, '1176845824.0dxschafe3': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-242.224, 332.261, 99.663), 'Scale': VBase3(1.788, 1.788, 1.788), 'Visual': {'Color': (0.6100000143051147, 0.5799999833106995, 0.550000011920929, 1.0), 'Model': 'models/props/haystack'}, 'searchTime': '6.0', 'type': 'Haystack'}, '1176845952.0dxschafe0': {'Type': 'Object Spawn Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-61.329, 838.747, 76.429), 'Priority': '1', 'Scale': VBase3(1.0, 1.0, 1.0), 'SpawnDelay': '20', 'Spawnables': 'Buried Treasure', 'Visual': {'Color': (0.8, 0.2, 0.65, 1), 'Model': 'models/misc/smiley'}, 'startingDepth': '12'}, '1176846080.0dxschafe': {'Type': 'Object Spawn Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-483.416, 845.306, 80.816), 'Priority': '1', 'Scale': VBase3(1.0, 1.0, 1.0), 'SpawnDelay': '20', 'Spawnables': 'Buried Treasure', 'Visual': {'Color': (0.8, 0.2, 0.65, 1), 'Model': 'models/misc/smiley'}, 'startingDepth': '12'}, '1176846208.0dxschafe': {'Type': 'Player Spawn Node', 'Hpr': VBase3(-160.66, 0.0, 0.0), 'Index': -1, 'Pos': Point3(-163.17, 641.498, 72.452), 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'All', 'Visual': {'Color': (0.5, 0.5, 0.5, 1), 'Model': 'models/misc/smiley'}}, '1176846208.0dxschafe0': {'Type': 'Player Spawn Node', 'Hpr': VBase3(-150.874, 0.0, 0.0), 'Index': -1, 'Pos': Point3(-46.027, -13.492, 108.011), 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'All', 'Visual': {'Color': (0.5, 0.5, 0.5, 1), 'Model': 'models/misc/smiley'}}, '1176846208.0dxschafe1': {'Type': 'Player Spawn Node', 'Hpr': VBase3(-129.246, 0.0, 0.0), 'Index': -1, 'Pos': Point3(-24.198, -140.614, 131.131), 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'All', 'Visual': {'Color': (0.5, 0.5, 0.5, 1), 'Model': 'models/misc/smiley'}}, '1176846208.0dxschafe10': {'Type': 'Player Spawn Node', 'Hpr': VBase3(-100.637, 0.0, 0.0), 'Index': -1, 'Pos': Point3(7.578, -409.026, 179.946), 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'All', 'Visual': {'Color': (0.5, 0.5, 0.5, 1), 'Model': 'models/misc/smiley'}}, '1176846208.0dxschafe11': {'Type': 'Player Spawn Node', 'Hpr': VBase3(137.063, 0.0, 0.0), 'Index': -1, 'Pos': Point3(191.018, -428.748, 189.577), 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'All', 'Visual': {'Color': (0.5, 0.5, 0.5, 1), 'Model': 'models/misc/smiley'}}, '1176846208.0dxschafe12': {'Type': 'Player Spawn Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Index': -1, 'Pos': Point3(227.152, -456.595, 189.577), 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'All', 'Visual': {'Color': (0.5, 0.5, 0.5, 1), 'Model': 'models/misc/smiley'}}, '1176846208.0dxschafe13': {'Type': 'Player Spawn Node', 'Hpr': VBase3(-13.437, 0.0, 0.0), 'Index': -1, 'Pos': Point3(107.506, -555.805, 189.577), 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'All', 'Visual': {'Color': (0.5, 0.5, 0.5, 1), 'Model': 'models/misc/smiley'}}, '1176846208.0dxschafe3': {'Type': 'Player Spawn Node', 'Hpr': VBase3(-163.127, 0.0, 0.0), 'Index': -1, 'Pos': Point3(-149.473, 485.808, 87.142), 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'All', 'Visual': {'Color': (0.5, 0.5, 0.5, 1), 'Model': 'models/misc/smiley'}}, '1176846208.0dxschafe4': {'Type': 'Player Spawn Node', 'Hpr': VBase3(-121.753, 0.0, 0.0), 'Index': -1, 'Pos': Point3(-472.076, 570.863, 64.749), 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'All', 'Visual': {'Color': (0.5, 0.5, 0.5, 1), 'Model': 'models/misc/smiley'}}, '1176846208.0dxschafe5': {'Type': 'Player Spawn Node', 'Hpr': VBase3(-134.673, 0.0, 0.0), 'Index': -1, 'Pos': Point3(-433.281, 736.51, 72.251), 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'All', 'Visual': {'Color': (0.5, 0.5, 0.5, 1), 'Model': 'models/misc/smiley'}}, '1176846208.0dxschafe6': {'Type': 'Player Spawn Node', 'Hpr': VBase3(-158.174, 0.0, 0.0), 'Index': -1, 'Pos': Point3(-332.721, 778.005, 75.329), 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'All', 'Visual': {'Color': (0.5, 0.5, 0.5, 1), 'Model': 'models/misc/smiley'}}, '1176846208.0dxschafe7': {'Type': 'Player Spawn Node', 'Hpr': VBase3(-165.216, 0.0, 0.0), 'Index': -1, 'Pos': Point3(-96.009, 792.473, 74.37), 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'All', 'Visual': {'Color': (0.5, 0.5, 0.5, 1), 'Model': 'models/misc/smiley'}}, '1176846208.0dxschafe8': {'Type': 'Player Spawn Node', 'Hpr': VBase3(167.621, 0.0, 0.0), 'Index': -1, 'Pos': Point3(-47.219, 708.613, 81.866), 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'All', 'Visual': {'Color': (0.5, 0.5, 0.5, 1), 'Model': 'models/misc/smiley'}}, '1176846336.0dxschafe': {'Type': 'Player Spawn Node', 'Hpr': VBase3(-154.054, 0.0, 0.0), 'Index': -1, 'Pos': Point3(141.405, -311.605, 215.622), 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'All', 'Visual': {'Color': (0.5, 0.5, 0.5, 1), 'Model': 'models/misc/smiley'}}, '1176846336.0dxschafe0': {'Type': 'Player Spawn Node', 'Hpr': VBase3(129.128, 0.0, 0.0), 'Index': -1, 'Pos': Point3(222.271, -332.304, 209.49), 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'All', 'Visual': {'Color': (0.5, 0.5, 0.5, 1), 'Model': 'models/misc/smiley'}}, '1176846336.0dxschafe1': {'Type': 'Player Spawn Node', 'Hpr': VBase3(-47.294, 0.0, 0.0), 'Index': -1, 'Pos': Point3(420.962, -92.677, 316.274), 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'All', 'Visual': {'Color': (0.5, 0.5, 0.5, 1), 'Model': 'models/misc/smiley'}}, '1176846336.0dxschafe2': {'Type': 'Player Spawn Node', 'Hpr': VBase3(-24.092, 0.0, 0.0), 'Index': -1, 'Pos': Point3(481.592, -61.825, 315.685), 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'All', 'Visual': {'Color': (0.5, 0.5, 0.5, 1), 'Model': 'models/misc/smiley'}}, '1176849152.0dxschafe': {'Type': 'Searchable Container', 'Aggro Radius': '5.0000', 'Hpr': VBase3(30.938, 0.0, 0.0), 'Pos': Point3(251.218, -498.803, 189.577), 'Scale': VBase3(1.0, 1.0, 1.0), 'VisSize': '', 'Visual': {'Color': (0.6000000238418579, 0.6000000238418579, 0.6000000238418579, 1.0), 'Model': 'models/props/wellA'}, 'searchTime': '6.0', 'type': 'WellA'}, '1176849664.0dxschafe': {'Type': 'Military_props', 'DisableCollision': False, 'Hpr': VBase3(-179.264, 0.0, 0.0), 'Objects': {'1176849792.0dxschafe00': {'Type': 'Military_props', 'DisableCollision': False, 'GridPos': Point3(-410.725, 846.149, 100.745), 'Hpr': VBase3(0.0, 0.0, 0.0), 'Objects': {}, 'Pos': Point3(0.03, -0.75, 15.881), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.5199999809265137, 0.47999998927116394, 0.44999998807907104, 1.0), 'Model': 'models/islands/pier_scaffold_2long'}}}, 'Pos': Point3(-410.685, 845.4, 84.864), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.5199999809265137, 0.47999998927116394, 0.44999998807907104, 1.0), 'Model': 'models/islands/pier_scaffold_2long'}}, '1176849920.0dxschafe': {'Type': 'Military_props', 'DisableCollision': False, 'Hpr': VBase3(-178.719, 0.0, 0.0), 'Objects': {'1176849792.0dxschafe': {'Type': 'Military_props', 'DisableCollision': False, 'GridPos': Point3(-410.725, 846.126, 100.745), 'Hpr': VBase3(0.0, 0.0, 0.0), 'Objects': {}, 'Pos': Point3(0.03, -0.727, 15.881), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.5199999809265137, 0.47999998927116394, 0.44999998807907104, 1.0), 'Model': 'models/islands/pier_scaffold_2long'}}}, 'Pos': Point3(-356.379, 846.046, 85.098), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.5199999809265137, 0.47999998927116394, 0.44999998807907104, 1.0), 'Model': 'models/islands/pier_scaffold_2long'}}, '1176850048.0dxschafe': {'Type': 'Military_props', 'DisableCollision': False, 'Hpr': VBase3(-179.61, -0.067, -0.001), 'Objects': {'1176849792.0dxschafe01': {'Type': 'Military_props', 'DisableCollision': False, 'GridPos': Point3(-410.725, 846.126, 100.745), 'Hpr': VBase3(0.0, 0.0, 0.0), 'Objects': {}, 'Pos': Point3(0.03, -0.727, 15.881), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/islands/pier_scaffold_2long'}}}, 'Pos': Point3(-302.026, 847.616, 85.089), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.5199999809265137, 0.47999998927116394, 0.44999998807907104, 1.0), 'Model': 'models/islands/pier_scaffold_2long'}}, '1176850048.0dxschafe0': {'Type': 'Military_props', 'DisableCollision': False, 'Hpr': VBase3(-179.134, 0.0, 0.0), 'Objects': {'1176849792.0dxschafe02': {'Type': 'Military_props', 'DisableCollision': False, 'GridPos': Point3(-410.725, 846.126, 100.745), 'Hpr': VBase3(0.0, 0.0, 0.0), 'Objects': {}, 'Pos': Point3(0.03, -0.727, 15.881), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.5199999809265137, 0.47999998927116394, 0.44999998807907104, 1.0), 'Model': 'models/islands/pier_scaffold_2long'}}}, 'Pos': Point3(-247.932, 848.082, 85.225), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.5199999809265137, 0.47999998927116394, 0.44999998807907104, 1.0), 'Model': 'models/islands/pier_scaffold_2long'}}, '1176850048.0dxschafe1': {'Type': 'Military_props', 'DisableCollision': False, 'GridPos': Point3(-410.725, 846.126, 100.745), 'Hpr': VBase3(1.087, 0.0, 0.0), 'Objects': {}, 'Pos': Point3(-311.038, 861.332, 100.715), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/islands/pier_scaffold_2long'}}, '1176850176.0dxschafe0': {'Type': 'Military_props', 'DisableCollision': False, 'GridPos': Point3(-410.725, 846.126, 100.745), 'Hpr': VBase3(0.0, 0.0, 0.0), 'Objects': {}, 'Pos': Point3(-256.764, 861.341, 101.069), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.5199999809265137, 0.47999998927116394, 0.44999998807907104, 1.0), 'Model': 'models/islands/pier_scaffold_2long'}}, '1176850176.0dxschafe1': {'Type': 'Military_props', 'DisableCollision': False, 'GridPos': Point3(-410.725, 846.126, 100.745), 'Hpr': VBase3(1.586, 0.0, 0.0), 'Objects': {}, 'Pos': Point3(-202.968, 863.145, 100.859), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/islands/pier_scaffold_2long'}}, '1176850560.0dxschafe': {'Type': 'Spawn Node', 'Aggro Radius': '12.0000', 'AnimSet': 'default', 'Hpr': VBase3(58.549, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '2.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-114.721, 442.798, 94.076), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0.0, 0.0, 0.65, 1.0), 'Model': 'models/misc/smiley'}}, '1176850560.0dxschafe0': {'Type': 'Spawn Node', 'Aggro Radius': '12.0000', 'AnimSet': 'default', 'Hpr': VBase3(-1.924, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '2.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-514.688, 502.152, 60.725), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'Mid Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1176850560.0dxschafe1': {'Type': 'Spawn Node', 'Aggro Radius': '12.0000', 'AnimSet': 'default', 'Hpr': VBase3(-1.924, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-668.138, 494.221, 35.47), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'Mid Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1176850560.0dxschafe2': {'Type': 'Spawn Node', 'Aggro Radius': '12.0000', 'AnimSet': 'default', 'Hpr': VBase3(-1.924, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '4.6667', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-955.051, 435.667, 30.131), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'Mid Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1176850560.0dxschafe3': {'Type': 'Spawn Node', 'Aggro Radius': '12.0000', 'AnimSet': 'default', 'Hpr': VBase3(-167.019, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '1.8333', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-519.311, 540.592, 60.511), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'Mid Navy', 'Start State': 'Idle', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0.0, 0.0, 0.65, 1.0), 'Model': 'models/misc/smiley'}}, '1176850560.0dxschafe4': {'Type': 'Spawn Node', 'Aggro Radius': '12.0000', 'AnimSet': 'default', 'Hpr': VBase3(-1.924, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(13.56, 416.685, 132.172), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1176850560.0dxschafe5': {'Type': 'Spawn Node', 'Aggro Radius': '12.0000', 'AnimSet': 'default', 'Hpr': VBase3(-1.924, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '1.5000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(30.282, 403.389, 132.538), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High Navy', 'Start State': 'Idle', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1176853376.0dxschafe': {'Type': 'Spawn Node', 'AnimSet': 'default', 'Hpr': Point3(0.0, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': '100', 'Pause Duration': '30', 'Pos': Point3(-103.433, 437.253, 95.699), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1176853376.0dxschafe0': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-308.011, 461.685, 72.826), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1176853376.0dxschafe1': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-433.869, 524.888, 66.731), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1176853376.0dxschafe2': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-688.633, 494.576, 31.741), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1176853376.0dxschafe3': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-949.169, 430.571, 30.062), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1176853504.0dxschafe': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': '0', 'Pause Duration': '5', 'Pos': Point3(-295.926, 521.698, 71.322), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1176853504.0dxschafe0': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-154.989, 533.252, 82.524), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1176853504.0dxschafe1': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-81.709, 617.423, 82.607), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1176853504.0dxschafe2': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-140.351, 753.414, 73.763), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1176853504.0dxschafe3': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-273.61, 802.39, 76.831), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1176853504.0dxschafe4': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-399.69, 809.285, 78.012), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1176853504.0dxschafe5': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-483.884, 743.471, 69.628), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1176853504.0dxschafe6': {'Type': 'Spawn Node', 'AnimSet': 'default', 'Hpr': Point3(0.0, 0.0, 0.0), 'Min Population': '5', 'Patrol Radius': '12.0000', 'Pause Chance': '100', 'Pause Duration': '30', 'Pos': Point3(-464.977, 634.463, 65.534), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'Mid Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1176853632.0dxschafe': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': '100', 'Pause Duration': '30', 'Pos': Point3(-396.195, 556.684, 67.768), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1176853760.0dxschafe0': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(18.349, 400.042, 132.107), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0.0, 0.0, 1.0), 'Model': 'models/misc/smiley'}}, '1176853888.0dxschafe': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(7.221, 293.103, 104.882), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0.0, 0.0, 1.0), 'Model': 'models/misc/smiley'}}, '1176854144.0dxschafe': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-85.381, 113.251, 103.812), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0.0, 0.0, 1.0), 'Model': 'models/misc/smiley'}}, '1176854144.0dxschafe0': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(1.892, 0.411, 105.835), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0.0, 0.0, 1.0), 'Model': 'models/misc/smiley'}}, '1176854144.0dxschafe1': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(20.098, -319.174, 170.466), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0.0, 0.0, 1.0), 'Model': 'models/misc/smiley'}}, '1176854144.0dxschafe2': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(96.172, -367.476, 179.0), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0.0, 0.0, 1.0), 'Model': 'models/misc/smiley'}}, '1176854912.0dxschafe': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': '100', 'Pause Duration': '30', 'Pos': Point3(224.517, -520.36, 189.577), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1176854912.0dxschafe0': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': '100', 'Pause Duration': '30', 'Pos': Point3(169.815, -538.27, 189.577), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1176855040.0dxschafe': {'Type': 'Spawn Node', 'Aggro Radius': '12.0000', 'AnimSet': 'default', 'Hpr': Point3(0.0, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '2.0000', 'Pause Chance': '100', 'Pause Duration': '30', 'Pos': Point3(170.876, -576.857, 189.577), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1176855680.0dxschafe': {'Type': 'Spawn Node', 'Aggro Radius': '12.0000', 'AnimSet': 'default', 'Hpr': Point3(0.0, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '6.1667', 'Pause Chance': '100', 'Pause Duration': '30', 'Pos': Point3(186.874, -257.861, 269.96), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1176855680.0dxschafe0': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(216.312, -241.709, 270.789), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1176855680.0dxschafe1': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': '100', 'Pause Duration': '30', 'Pos': Point3(411.093, -172.975, 312.76), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1176855680.0dxschafe2': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': '100', 'Pause Duration': '30', 'Pos': Point3(443.69, -191.966, 312.902), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1176855808.0dxschafe': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(457.884, -40.232, 318.905), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1176855808.0dxschafe0': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(483.849, -10.217, 318.218), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1176855936.0dxschafe': {'Type': 'Spawn Node', 'AnimSet': 'default', 'Hpr': Point3(0.0, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': '100', 'Pause Duration': '30', 'Pos': Point3(460.74, 0.019, 320.026), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'Mid EITC', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1176856064.0dxschafe': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': '100', 'Pause Duration': '30', 'Pos': Point3(288.154, -283.408, 258.222), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1176856064.0dxschafe0': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(103.409, -292.283, 254.661), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1176856064.0dxschafe1': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': '100', 'Pause Duration': '30', 'Pos': Point3(364.162, -300.829, 259.186), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1176856064.0dxschafe2': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(307.321, -460.357, 258.24), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0.0, 0.0, 1.0), 'Model': 'models/misc/smiley'}}, '1176856576.0dxschafe': {'Type': 'Spawn Node', 'AnimSet': 'default', 'Hpr': Point3(0.0, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(30.678, -313.31, 169.7), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'Navy T7', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'VisSize': '', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1176856704.0dxschafe': {'Type': 'Spawn Node', 'AnimSet': 'default', 'Hpr': VBase3(-18.151, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(136.634, -429.324, 187.019), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'Low EITC', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'VisSize': '', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1176856704.0dxschafe0': {'Type': 'Spawn Node', 'Aggro Radius': 12, 'AnimSet': 'default', 'Hpr': VBase3(-18.151, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(175.792, -364.755, 201.495), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'Low EITC', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1176856704.0dxschafe2': {'Type': 'Spawn Node', 'AnimSet': 'default', 'Hpr': VBase3(-18.151, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(179.342, -323.026, 212.902), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'EITC - Grunt', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'VisSize': '', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1176856832.0dxschafe': {'Type': 'Object Spawn Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(188.934, -316.374, 214.557), 'Priority': '1', 'Scale': VBase3(1.0, 1.0, 1.0), 'SpawnDelay': '20', 'Spawnables': 'Buried Treasure', 'Visual': {'Color': (0.8, 0.2, 0.65, 1), 'Model': 'models/misc/smiley'}, 'startingDepth': '12'}, '1176857216.0dxschafe': {'Type': 'Spawn Node', 'AnimSet': 'default', 'Hpr': Point3(0.0, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-115.756, 285.762, 105.503), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1176857344.0dxschafe': {'Type': 'Spawn Node', 'Aggro Radius': 12, 'AnimSet': 'default', 'Hpr': Point3(0.0, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(49.722, -601.357, 189.674), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'Mid EITC', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1176857344.0dxschafe0': {'Type': 'Spawn Node', 'AnimSet': 'default', 'Hpr': Point3(0.0, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': '100', 'Pause Duration': '30', 'Pos': Point3(333.651, -332.878, 224.603), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'Navy T7', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'VisSize': '', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1177713664.0dxschafe': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-140.016, 254.559, 106.184), 'Scale': VBase3(0.663, 0.663, 0.663), 'Visual': {'Model': 'models/props/barrel'}, 'searchTime': '6.0', 'type': 'Barrel'}, '1177713664.0dxschafe0': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'Hpr': VBase3(-7.567, 0.0, 0.0), 'Pos': Point3(-97.254, 142.058, 103.804), 'Scale': VBase3(0.663, 0.663, 0.663), 'Visual': {'Model': 'models/props/barrel'}, 'searchTime': '6.0', 'type': 'Barrel'}, '1177713664.0dxschafe1': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-529.467, 596.71, 61.912), 'Scale': VBase3(0.663, 0.663, 0.663), 'Visual': {'Model': 'models/props/barrel'}, 'searchTime': '6.0', 'type': 'Barrel'}, '1177713664.0dxschafe2': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-100.605, 461.411, 93.961), 'Scale': VBase3(0.663, 0.663, 0.663), 'Visual': {'Model': 'models/props/barrel'}, 'searchTime': '6.0', 'type': 'Barrel'}, '1177713792.0dxschafe': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'Hpr': VBase3(-7.567, 0.0, 0.0), 'Pos': Point3(174.807, -585.899, 189.577), 'Scale': VBase3(0.663, 0.663, 0.663), 'Visual': {'Model': 'models/props/barrel'}, 'searchTime': '6.0', 'type': 'Barrel'}, '1177713792.0dxschafe0': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'Hpr': VBase3(-7.567, 0.0, 0.0), 'Pos': Point3(112.761, -512.895, 189.062), 'Scale': VBase3(0.663, 0.663, 0.663), 'Visual': {'Model': 'models/props/barrel'}, 'searchTime': '6.0', 'type': 'Barrel'}, '1177714048.0dxschafe': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'Hpr': VBase3(-7.567, 0.0, -2.78), 'Pos': Point3(42.904, -314.015, 169.605), 'Scale': VBase3(0.663, 0.663, 0.663), 'Visual': {'Model': 'models/props/barrel'}, 'searchTime': '6.0', 'type': 'Barrel'}, '1177715200.0dxschafe': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'Hpr': VBase3(-12.759, 0.252, -2.769), 'Pos': Point3(109.868, -390.091, 182.605), 'Scale': VBase3(0.663, 0.663, 0.663), 'Visual': {'Model': 'models/props/barrel'}, 'searchTime': '6.0', 'type': 'Barrel'}, '1177715328.0dxschafe0': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'Hpr': VBase3(-12.759, 0.252, -2.769), 'Pos': Point3(467.428, -155.654, 312.881), 'Scale': VBase3(0.663, 0.663, 0.663), 'Visual': {'Color': (0.9200000166893005, 0.8999999761581421, 0.7900000214576721, 1.0), 'Model': 'models/props/barrel'}, 'searchTime': '6.0', 'type': 'Barrel'}, '1177715328.0dxschafe1': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'Hpr': VBase3(-12.759, 0.252, -2.769), 'Pos': Point3(490.382, -0.413, 318.124), 'Scale': VBase3(0.663, 0.663, 0.663), 'Visual': {'Model': 'models/props/barrel'}, 'searchTime': '6.0', 'type': 'Barrel'}, '1177715328.0dxschafe2': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'Hpr': VBase3(-12.759, 0.252, -2.769), 'Pos': Point3(221.878, -249.404, 271.223), 'Scale': VBase3(0.663, 0.663, 0.663), 'Visual': {'Model': 'models/props/barrel'}, 'searchTime': '6.0', 'type': 'Barrel'}, '1177715328.0dxschafe3': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'Hpr': VBase3(-12.759, 0.252, -2.769), 'Pos': Point3(293.299, -333.272, 224.603), 'Scale': VBase3(0.663, 0.663, 0.663), 'Visual': {'Color': (0.7200000286102295, 0.699999988079071, 0.5899999737739563, 1.0), 'Model': 'models/props/barrel'}, 'searchTime': '6.0', 'type': 'Barrel'}, '1177715712.0dxschafe': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(405.48, 124.193, 346.892), 'Hpr': VBase3(-12.759, 0.252, -2.769), 'Pos': Point3(389.195, -47.121, 319.465), 'Scale': VBase3(0.663, 0.663, 0.663), 'Visual': {'Color': (0.7200000286102295, 0.699999988079071, 0.5899999737739563, 1.0), 'Model': 'models/props/barrel'}, 'searchTime': '6.0', 'type': 'Barrel'}, '1177715712.0dxschafe0': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(405.48, 124.193, 346.892), 'Hpr': VBase3(-12.759, 0.252, -2.769), 'Pos': Point3(277.409, -352.571, 259.799), 'Scale': VBase3(0.663, 0.663, 0.663), 'Visual': {'Model': 'models/props/barrel'}, 'searchTime': '6.0', 'type': 'Barrel'}, '1177715712.0dxschafe1': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(405.48, 124.193, 346.892), 'Hpr': VBase3(-12.759, 0.252, -2.769), 'Pos': Point3(305.401, -458.724, 226.614), 'Scale': VBase3(0.663, 0.663, 0.663), 'Visual': {'Model': 'models/props/barrel'}, 'searchTime': '6.0', 'type': 'Barrel'}, '1177716480.0dxschafe0': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'Hpr': VBase3(-104.666, 0.0, 0.0), 'Pos': Point3(349.897, -308.735, 224.603), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/crate_04'}, 'searchTime': '6.0', 'type': 'Crate'}, '1177716480.0dxschafe1': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(138.821, -347.231, 205.895), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/crate_04'}, 'searchTime': '6.0', 'type': 'Crate'}, '1177716480.0dxschafe10': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'Hpr': VBase3(21.842, 0.0, 0.0), 'Pos': Point3(71.713, -532.571, 189.577), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/crate_04'}, 'searchTime': '6.0', 'type': 'Crate'}, '1177716480.0dxschafe2': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'Hpr': VBase3(-67.512, 0.0, 0.0), 'Pos': Point3(97.014, -618.558, 189.577), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.5, 0.5, 0.5, 1.0), 'Model': 'models/props/crate_04'}, 'searchTime': '6.0', 'type': 'Crate'}, '1177716480.0dxschafe3': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(143.296, -427.526, 187.516), 'Hpr': VBase3(-19.12, 0.0, 0.0), 'Objects': {}, 'Pos': Point3(127.021, -411.517, 186.25), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.7900000214576721, 0.75, 0.6800000071525574, 1.0), 'Model': 'models/props/crate_04'}, 'searchTime': '6.0', 'type': 'Crate'}, '1177716480.0dxschafe4': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'Hpr': VBase3(89.492, 0.0, 0.0), 'Pos': Point3(240.014, -388.419, 193.837), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/crate_04'}, 'searchTime': '6.0', 'type': 'Crate'}, '1177716480.0dxschafe5': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(274.084, -51.919, 352.782), 'Hpr': VBase3(66.798, 0.0, 0.0), 'Pos': Point3(82.907, -347.722, 175.804), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/crate_04'}, 'searchTime': '6.0', 'type': 'Crate'}, '1177716480.0dxschafe9': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'Hpr': VBase3(172.446, -2.635, 0.0), 'Pos': Point3(328.329, -485.686, 190.181), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.4699999988079071, 0.4099999964237213, 0.3799999952316284, 1.0), 'Model': 'models/props/crate_04'}, 'searchTime': '6.0', 'type': 'Crate'}, '1177716864.0dxschafe0': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(312.24, -710.824, 210.894), 'Hpr': VBase3(-15.21, 0.0, 0.0), 'Pos': Point3(353.065, -363.965, 257.649), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/crate_04'}, 'searchTime': '6.0', 'type': 'Crate'}, '1177716992.0dxschafe': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(312.24, -710.824, 210.894), 'Hpr': VBase3(15.615, 0.0, 0.0), 'Pos': Point3(-658.862, 513.276, 37.706), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/crate_04'}, 'searchTime': '6.0', 'type': 'Crate'}, '1177716992.0dxschafe0': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(312.24, -710.824, 210.894), 'Hpr': VBase3(15.615, 0.0, 0.0), 'Pos': Point3(-522.758, 554.166, 60.691), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/crate_04'}, 'searchTime': '6.0', 'type': 'Crate'}, '1177717120.0dxschafe': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(312.24, -710.824, 210.894), 'Hpr': VBase3(15.615, 0.0, 0.0), 'Pos': Point3(-78.487, 91.809, 103.817), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/crate_04'}, 'searchTime': '6.0', 'type': 'Crate'}, '1177717120.0dxschafe0': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(312.24, -710.824, 210.894), 'Hpr': VBase3(15.615, 0.0, 0.0), 'Pos': Point3(-39.204, 444.283, 100.453), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.7200000286102295, 0.699999988079071, 0.5899999737739563, 1.0), 'Model': 'models/props/crate_04'}, 'searchTime': '6.0', 'type': 'Crate'}, '1177717248.0dxschafe12': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(164.488, 515.51, 131.444), 'Hpr': VBase3(32.561, 0.0, 0.0), 'Pos': Point3(19.474, 281.756, 104.83), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/barrel'}, 'searchTime': '6.0', 'type': 'Barrel'}, '1177717248.0dxschafe13': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'GridPos': Point3(164.488, 515.51, 131.444), 'Hpr': VBase3(32.561, 0.0, 0.0), 'Pos': Point3(-113.465, 375.432, 98.643), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/barrel'}, 'searchTime': '6.0', 'type': 'Barrel'}, '1177717248.0dxschafe5': {'Type': 'Searchable Container', 'Aggro Radius': 5.0, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-10.116, 336.27, 105.03), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/barrel'}, 'searchTime': '6.0', 'type': 'Barrel'}, '1177977088.0dxschafe': {'Type': 'Interior_furnishings', 'DisableCollision': False, 'Hpr': VBase3(-88.313, 0.0, 0.0), 'Pos': Point3(219.408, 218.572, 340.528), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.4000000059604645, 0.4000000059604645, 0.4000000059604645, 1.0), 'Model': 'models/props/interior_wall_spanish'}}, '1178580480.0dxschafe': {'Type': 'Spawn Node', 'AnimSet': 'default', 'Hpr': Point3(0.0, 0.0, 0.0), 'Min Population': '2', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-66.831, 145.558, 103.825), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1178580608.0dxschafe': {'Type': 'Spawn Node', 'Aggro Radius': '12.0000', 'AnimSet': 'default', 'Hpr': Point3(0.0, 0.0, 0.0), 'Min Population': '2', 'Patrol Radius': '3.5000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(280.076, -344.344, 259.118), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1178580736.0dxschafe': {'Type': 'Spawn Node', 'Aggro Radius': '12.0000', 'AnimSet': 'default', 'Hpr': Point3(0.0, 0.0, 0.0), 'Min Population': '2', 'Patrol Radius': '5.0000', 'Pause Chance': '100', 'Pause Duration': '30', 'Pos': Point3(314.922, -448.259, 226.624), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'Navy T7', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'VisSize': '', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1178582400.0dxschafe': {'Type': 'Spawn Node', 'AnimSet': 'default', 'Hpr': Point3(0.0, 0.0, 0.0), 'Min Population': '2', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(72.863, -475.968, 185.806), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'Low EITC', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1178582400.0dxschafe0': {'Type': 'Spawn Node', 'AnimSet': 'default', 'Hpr': Point3(0.0, 0.0, 0.0), 'Min Population': '2', 'Patrol Radius': '12.0000', 'Pause Chance': '100', 'Pause Duration': '30', 'Pos': Point3(163.979, -536.576, 189.577), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'Navy T7', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'VisSize': '', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1178582784.0dxschafe': {'Type': 'Spawn Node', 'AnimSet': 'default', 'Hpr': Point3(0.0, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(402.962, -49.072, 319.642), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1178835840.0dxschafe': {'Type': 'Spawn Node', 'AnimSet': 'default', 'Hpr': Point3(0.0, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(238.322, -417.318, 189.577), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'Mid EITC', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'VisSize': '', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1178835968.0dxschafe0': {'Type': 'Spawn Node', 'AnimSet': 'default', 'Hpr': Point3(0.0, 0.0, 0.0), 'Min Population': '2', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(442.142, -165.598, 315.47), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1178836608.0dxschafe': {'Type': 'Spawn Node', 'Aggro Radius': '12.0000', 'AnimSet': 'default', 'Hpr': VBase3(100.963, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': '100', 'Pause Duration': '30', 'Pos': Point3(272.818, -467.807, 189.577), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'Navy T7', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'VisSize': '', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1178836608.0dxschafe0': {'Type': 'Spawn Node', 'Aggro Radius': 12, 'AnimSet': 'default', 'Hpr': Point3(0.0, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(223.608, -527.329, 189.577), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'Low EITC', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1178837120.0dxschafe': {'Type': 'Spawn Node', 'AnimSet': 'default', 'Hpr': Point3(0.0, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': '100', 'Pause Duration': '30', 'Pos': Point3(48.32, -590.792, 189.737), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'Low EITC', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'VisSize': '', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1178914816.0dxschafe0': {'Type': 'Spawn Node', 'Aggro Radius': 12, 'AnimSet': 'default', 'Hpr': Point3(0.0, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-52.938, 108.692, 103.835), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'Low EITC', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1178914816.0dxschafe1': {'Type': 'Spawn Node', 'AnimSet': 'default', 'Hpr': VBase3(-41.872, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': '100', 'Pause Duration': '30', 'Pos': Point3(-45.346, 352.86, 104.889), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1178914816.0dxschafe2': {'Type': 'Spawn Node', 'AnimSet': 'default', 'Hpr': VBase3(86.617, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': '100', 'Pause Duration': '30', 'Pos': Point3(-30.409, 397.478, 103.529), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1178915200.0dxschafe': {'Type': 'Spawn Node', 'Aggro Radius': '12.0000', 'AnimSet': 'default', 'Hpr': VBase3(0.0, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '6.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(327.616, -366.557, 258.2), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1178916352.0dxschafe1': {'Type': 'Spawn Node', 'Aggro Radius': 12, 'AnimSet': 'default', 'Hpr': Point3(0.0, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(523.91, 17.198, 316.054), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1184605825.14kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(-0.651, 0.0, 0.0), 'Pos': Point3(-953.603, 450.41, 20.411), 'Scale': VBase3(4.197, 1.175, 2.003), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_cube'}}, '1184605972.27kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(11.034, 0.0, 0.0), 'Pos': Point3(-736.644, 488.775, 29.223), 'Scale': VBase3(4.619, 1.45, 1.929), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_cube'}}, '1184606024.95kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(14.202, 0.0, 0.0), 'Pos': Point3(-693.403, 502.68, 31.17), 'Scale': VBase3(2.398, 2.628, 2.136), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_cube'}}, '1184606142.03kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(26.938, 0.0, 0.0), 'Pos': Point3(-526.863, 573.332, 60.515), 'Scale': VBase3(0.778, 1.0, 1.147), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184606208.8kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(171.87, 0.0, 0.0), 'Pos': Point3(-532.54, 627.015, 61.967), 'Scale': VBase3(0.648, 1.0, 2.035), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184606315.84kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(82.545, 0.0, 0.0), 'Pos': Point3(-510.36, 852.215, 79.713), 'Scale': VBase3(1.11, 1.0, 6.973), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184606360.88kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(-92.352, 0.0, 0.0), 'Pos': Point3(-457.198, 853.678, 80.557), 'Scale': VBase3(0.937, 1.0, 7.862), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184606412.48kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-189.159, 856.76, 80.269), 'Scale': VBase3(4.174, 2.684, 2.579), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_cube'}}, '1184606535.23kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(2.136, 0.0, 0.0), 'Pos': Point3(-97.954, 857.046, 73.533), 'Scale': VBase3(5.901, 2.567, 2.085), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_cube'}}, '1184606574.94kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(-165.599, 0.0, 0.0), 'Pos': Point3(2.122, 806.24, 79.323), 'Scale': VBase3(1.0, 1.0, 5.293), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184606665.86kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(-119.487, 0.0, 0.0), 'Pos': Point3(15.642, 669.481, 92.136), 'Scale': VBase3(3.085, 2.566, 3.779), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184606709.97kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(-64.948, 0.0, 0.0), 'Pos': Point3(10.167, 651.592, 93.113), 'Scale': VBase3(1.0, 1.0, 3.62), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184607058.0kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(-89.015, 0.0, 0.0), 'Pos': Point3(-11.693, 334.143, 105.027), 'Scale': VBase3(0.618, 1.0, 1.0), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184607078.33kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(-172.587, 0.0, 0.0), 'Pos': Point3(-8.704, 338.924, 105.034), 'Scale': VBase3(0.351, 1.0, 1.433), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184607109.23kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(-21.895, 0.0, 0.0), 'Pos': Point3(-9.02, 343.126, 105.027), 'Scale': VBase3(0.762, 1.0, 1.0), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184607166.56kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(32.596, 0.0, 0.0), 'Pos': Point3(-124.83, 344.155, 99.483), 'Scale': VBase3(1.621, 1.0, 1.0), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184607271.52kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(63.775, 0.0, 0.0), 'Pos': Point3(-113.561, 357.505, 99.463), 'Scale': VBase3(2.053, 1.0, 1.0), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184607304.14kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(144.445, 0.0, 0.0), 'Pos': Point3(-111.627, 368.49, 99.161), 'Scale': VBase3(0.633, 1.0, 1.069), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184607349.0kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(139.992, 0.0, 0.0), 'Pos': Point3(-127.7, 337.699, 99.976), 'Scale': VBase3(1.002, 1.196, 1.196), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184607370.2kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(47.396, 0.0, 0.0), 'Pos': Point3(-128.566, 329.371, 100.872), 'Scale': VBase3(1.385, 1.231, 1.704), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184607436.88kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(56.419, 0.0, 0.0), 'Pos': Point3(-150.116, 312.298, 106.042), 'Scale': VBase3(1.524, 2.114, 2.114), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184607495.3kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-157.441, 306.085, 106.899), 'Scale': VBase3(0.644, 1.0, 1.832), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184607566.23kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(83.99, 0.0, 0.0), 'Pos': Point3(-170.056, 284.937, 107.457), 'Scale': VBase3(1.737, 1.737, 1.737), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184607609.78kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(73.038, 0.0, 0.0), 'Pos': Point3(-138.95, 253.043, 105.906), 'Scale': VBase3(0.704, 1.0, 1.0), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184607768.11kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(150.896, 0.0, 0.0), 'Pos': Point3(-121.255, 195.248, 102.699), 'Scale': VBase3(3.965, 1.683, 1.683), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184607827.59kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(71.089, 0.0, 0.0), 'Pos': Point3(-105.725, 181.002, 103.344), 'Scale': VBase3(1.0, 1.0, 1.478), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184607864.88kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(120.858, 0.0, 0.0), 'Pos': Point3(-103.19, 175.848, 103.224), 'Scale': VBase3(1.152, 1.0, 1.538), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184607895.2kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(83.527, 0.0, 0.0), 'Pos': Point3(-100.953, 165.079, 103.611), 'Scale': VBase3(1.176, 1.076, 1.379), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184607969.94kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(116.283, 0.0, 0.0), 'Pos': Point3(-98.379, 156.107, 103.507), 'Scale': VBase3(1.543, 1.0, 1.43), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184608016.44kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(90.358, 0.0, 0.0), 'Pos': Point3(-94.988, 137.177, 103.013), 'Scale': VBase3(2.454, 1.384, 1.573), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184608076.2kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(109.514, 0.0, 0.0), 'Pos': Point3(-93.447, 121.146, 103.517), 'Scale': VBase3(0.914, 1.0, 1.455), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184608105.63kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(29.211, 0.0, 0.0), 'Pos': Point3(-94.211, 115.627, 103.272), 'Scale': VBase3(0.539, 1.0, 1.496), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184608425.98kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(144.479, 0.0, 0.0), 'Pos': Point3(-70.262, 83.368, 103.324), 'Scale': VBase3(2.104, 1.635, 1.635), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184608465.33kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(72.45, 0.0, 0.0), 'Pos': Point3(-63.357, 72.417, 103.262), 'Scale': VBase3(1.03, 1.0, 1.674), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184608512.98kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(123.821, 0.0, 0.0), 'Pos': Point3(-60.803, 65.215, 103.567), 'Scale': VBase3(1.223, 1.0, 1.561), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184608560.08kmuller': {'Type': 'Bush', 'DisableCollision': False, 'Hpr': VBase3(35.599, 0.0, 0.0), 'Pos': Point3(-67.379, 59.299, 103.823), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/vegetation/bush_a'}}, '1184608595.34kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(43.412, 0.0, 0.0), 'Pos': Point3(-62.799, 55.308, 103.844), 'Scale': VBase3(1.46, 1.46, 1.46), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184608619.84kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(122.459, 0.0, 0.0), 'Pos': Point3(-81.069, 93.55, 103.627), 'Scale': VBase3(1.039, 1.0, 1.56), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184608668.23kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(-165.283, 0.0, 0.0), 'Pos': Point3(-85.915, 97.293, 103.387), 'Scale': VBase3(0.437, 1.0, 1.593), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184608713.2kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(4.697, 0.0, 0.0), 'Pos': Point3(-56.481, 30.853, 104.255), 'Scale': VBase3(2.716, 2.608, 1.935), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_cube'}}, '1184610428.63kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(-19.607, 0.0, 0.0), 'Pos': Point3(80.23, -347.997, 173.824), 'Scale': VBase3(0.446, 1.0, 1.0), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184610458.64kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(56.622, 0.0, 0.0), 'Pos': Point3(86.037, -346.783, 175.75), 'Scale': VBase3(0.194, 0.577, 0.577), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184610494.58kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(-24.721, 0.0, 0.0), 'Pos': Point3(111.08, -392.019, 182.064), 'Scale': VBase3(0.837, 1.0, 1.0), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184610535.3kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Holiday': '', 'Hpr': VBase3(-15.525, 0.0, 0.0), 'Pos': Point3(125.125, -413.343, 185.398), 'Scale': VBase3(0.303, 1.0, 0.72), 'VisSize': '', 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184610565.09kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Holiday': '', 'Hpr': VBase3(12.008, 0.0, 0.0), 'Pos': Point3(146.417, -415.604, 185.354), 'Scale': VBase3(0.495, 1.0, 3.305), 'VisSize': '', 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184610613.47kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(26.164, 0.0, 0.0), 'Pos': Point3(263.052, -376.787, 195.313), 'Scale': VBase3(2.432, 1.357, 1.357), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184610698.55kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(-99.731, 0.0, 0.0), 'Pos': Point3(100.737, -616.28, 188.985), 'Scale': VBase3(0.737, 1.0, 1.171), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184610774.66kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(-158.051, 0.0, 0.0), 'Pos': Point3(176.193, -583.467, 189.577), 'Scale': VBase3(0.391, 1.0, 1.0), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184610838.95kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(83.861, 0.0, 0.0), 'Pos': Point3(298.513, -340.189, 224.277), 'Scale': VBase3(0.612, 1.0, 1.735), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184610863.94kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(134.174, 0.0, 0.0), 'Pos': Point3(295.773, -334.089, 224.285), 'Scale': VBase3(0.902, 1.0, 1.709), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184611768.08kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(33.029, 0.0, 0.0), 'Pos': Point3(435.748, -18.6, 320.026), 'Scale': VBase3(1.0, 1.0, 1.371), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184611794.45kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(-23.489, 0.0, 0.0), 'Pos': Point3(427.135, -19.097, 319.713), 'Scale': VBase3(1.0, 1.0, 1.424), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184611853.25kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(46.01, 0.0, 0.0), 'Pos': Point3(394.778, -42.05, 320.026), 'Scale': VBase3(1.238, 1.0, 1.0), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184611911.02kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(95.004, 0.0, 0.0), 'Pos': Point3(398.811, -35.549, 320.026), 'Scale': VBase3(0.446, 1.0, 1.0), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184611938.45kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(387.139, -47.604, 319.484), 'Scale': VBase3(0.365, 1.0, 1.0), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1184894208.0dxschafe': {'Type': 'Player Spawn Node', 'Hpr': VBase3(-75.523, 0.0, 0.0), 'Index': 1, 'Pos': Point3(-575.224, 508.086, 52.815), 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'All', 'Visual': {'Color': (0.5, 0.5, 0.5, 1), 'Model': 'models/misc/smiley'}}, '1184894208.0dxschafe1': {'Type': 'Player Spawn Node', 'Hpr': VBase3(-87.524, 0.0, 0.0), 'Index': 1, 'Pos': Point3(-619.435, 500.829, 44.537), 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'All', 'Visual': {'Color': (0.5, 0.5, 0.5, 1), 'Model': 'models/misc/smiley'}}, '1189475072.0sdnaik4': {'Type': 'Locator Node', 'Name': 'portal_interior_1', 'Hpr': VBase3(-81.0, 0.0, 0.0), 'Pos': Point3(36.719, 255.714, 7.06), 'Scale': VBase3(1.0, 1.0, 1.0)}, '1189475072.0sdnaik5': {'Type': 'Locator Node', 'Name': 'portal_interior_2', 'Hpr': VBase3(142.379, 0.0, 0.0), 'Pos': Point3(837.183, 5.167, 52.393), 'Scale': VBase3(1.0, 1.0, 1.0)}, '1189475072.0sdnaik6': {'Type': 'Locator Node', 'Name': 'portal_interior_3', 'Hpr': VBase3(-79.736, 0.0, 0.0), 'Pos': Point3(380.725, 407.485, 61.219), 'Scale': VBase3(1.0, 1.0, 1.0)}, '1190336896.0dxschafe': {'Type': 'Location Sphere', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-179.438, 110.406, 89.344), 'Scale': VBase3(145.474, 145.474, 145.474)}, '1190397568.0dxschafe0': {'Type': 'Location Sphere', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(126.137, -626.289, 189.625), 'Scale': VBase3(355.831, 355.831, 355.831), 'VisSize': ''}, '1190397824.0dxschafe': {'Type': 'Location Sphere', 'Hpr': VBase3(32.561, 0.0, 0.0), 'Pos': Point3(-281.45, 588.269, 69.068), 'Scale': VBase3(252.868, 252.868, 252.868)}, '1190421231.79kmuller': {'Type': 'Interior_furnishings', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(224.372, 121.841, 346.494), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/interior_column_fort'}}, '1190421267.4kmuller': {'Type': 'Interior_furnishings', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(210.237, 218.854, 346.368), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/interior_column_fort'}}, '1190421274.39kmuller': {'Type': 'Interior_furnishings', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(231.122, 219.82, 345.621), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/interior_column_fort'}}, '1191370240.0dchiappe': {'Type': 'Spawn Node', 'Aggro Radius': '48.7952', 'AnimSet': 'bayonet_drill', 'Hpr': VBase3(101.265, 0.0, 0.0), 'Level': '18', 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-330.97, 636.035, 67.364), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'Navy - Veteran', 'Start State': 'Idle', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1191370368.0dchiappe': {'Type': 'Spawn Node', 'Aggro Radius': '50.0000', 'AnimSet': 'bayonet_drill', 'Hpr': VBase3(101.967, 0.0, 0.0), 'Level': '18', 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-329.189, 626.498, 67.539), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'Navy - Veteran', 'Start State': 'Idle', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1191370496.0dchiappe': {'Type': 'Spawn Node', 'Aggro Radius': '50.0000', 'AnimSet': 'bayonet_drill', 'Hpr': VBase3(104.926, 0.0, 0.0), 'Level': 18, 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-327.004, 617.202, 67.712), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'Navy - Veteran', 'Start State': 'Idle', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1191370624.0dchiappe': {'Type': 'Spawn Node', 'Aggro Radius': '46.9879', 'AnimSet': 'bayonet_drill', 'Hpr': VBase3(100.818, 0.0, 0.0), 'Level': '18', 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-343.18, 633.071, 67.352), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'Navy - Veteran', 'Start State': 'Idle', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1191370624.0dchiappe0': {'Type': 'Spawn Node', 'Aggro Radius': '50.0000', 'AnimSet': 'bayonet_drill', 'Hpr': VBase3(104.819, 0.0, 0.0), 'Level': 18, 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-340.562, 623.704, 67.528), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'Navy - Veteran', 'Start State': 'Idle', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1191370624.0dchiappe1': {'Type': 'Spawn Node', 'Aggro Radius': '41.5663', 'AnimSet': 'bayonet_drill', 'Hpr': VBase3(102.535, 0.0, 0.0), 'Level': '18', 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-338.056, 614.34, 67.703), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'Navy - Veteran', 'Start State': 'Idle', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1191371136.0dchiappe': {'Type': 'Effect Node', 'EffectName': 'steam_effect', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(-336.285, 630.097, 67.439), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1192151910.75kmuller': {'Type': 'Rock', 'DisableCollision': True, 'Hpr': VBase3(-115.505, 0.0, -3.686), 'Pos': Point3(0.537, -315.742, 169.784), 'Scale': VBase3(1.706, 1.706, 2.65), 'Visual': {'Color': (0.8199999928474426, 0.800000011920929, 0.6899999976158142, 1.0), 'Model': 'models/props/rock_group_3_sphere'}}, '1192498621.4kmuller': {'Type': 'Rock', 'DisableCollision': True, 'Hpr': VBase3(-24.105, 0.0, -6.42), 'Pos': Point3(55.072, -322.774, 170.637), 'Scale': VBase3(1.273, 1.273, 1.621), 'Visual': {'Color': (0.8199999928474426, 0.800000011920929, 0.6899999976158142, 1.0), 'Model': 'models/props/rock_group_2_sphere'}}, '1192498681.18kmuller': {'Type': 'Bush', 'DisableCollision': True, 'Hpr': VBase3(64.217, 0.0, 0.0), 'Pos': Point3(46.609, -316.203, 169.304), 'Scale': VBase3(0.853, 0.853, 0.853), 'Visual': {'Model': 'models/vegetation/bush_b'}}, '1192498760.06kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(-72.987, 0.0, 0.0), 'Pos': Point3(43.749, -317.686, 169.475), 'Scale': VBase3(1.712, 1.177, 1.477), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1192498775.92kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(-20.581, 0.0, 0.0), 'Pos': Point3(55.386, -329.245, 170.528), 'Scale': VBase3(1.981, 1.067, 1.359), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1192498814.11kmuller': {'Type': 'Bush', 'DisableCollision': True, 'Hpr': VBase3(-128.363, 0.0, 0.0), 'Pos': Point3(52.873, -325.368, 170.67), 'Scale': VBase3(0.702, 0.702, 0.591), 'Visual': {'Color': (0.8199999928474426, 0.800000011920929, 0.6899999976158142, 1.0), 'Model': 'models/vegetation/bush_f'}}, '1192498867.43kmuller': {'Type': 'Bush', 'DisableCollision': True, 'Hpr': VBase3(6.21, 0.0, 0.0), 'Pos': Point3(-3.704, -312.294, 169.344), 'Scale': VBase3(0.532, 0.532, 0.926), 'Visual': {'Color': (0.5899999737739563, 0.5299999713897705, 0.44999998807907104, 1.0), 'Model': 'models/vegetation/bush_f'}}, '1192498889.95kmuller': {'Type': 'Bush', 'DisableCollision': True, 'Hpr': VBase3(-179.621, 0.0, 0.0), 'Pos': Point3(-2.317, -323.627, 170.691), 'Scale': VBase3(0.556, 0.556, 0.473), 'Visual': {'Color': (0.72, 0.7, 0.59, 1.0), 'Model': 'models/vegetation/bush_c'}}, '1192499016.92kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(83.367, 0.0, 0.0), 'Pos': Point3(3.704, -311.921, 169.191), 'Scale': VBase3(1.054, 1.0, 1.215), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1192499061.2kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(62.27, 0.0, 0.0), 'Pos': Point3(0.723, -321.48, 170.109), 'Scale': VBase3(1.13, 1.0, 1.105), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1192499081.06kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(21.466, 0.0, 0.0), 'Pos': Point3(-3.156, -326.863, 170.9), 'Scale': VBase3(0.31, 1.0, 1.0), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1192571392.0dxschafe': {'Type': 'Spawn Node', 'Aggro Radius': '2.7108', 'AnimSet': 'idleB', 'Hpr': VBase3(-74.389, 0.0, 0.0), 'Level': '18', 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': 100, 'Pause Duration': 30, 'Pos': Point3(-364.196, 617.964, 67.504), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'Navy - Officer', 'Start State': 'Idle', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1192728192.0dxschafe': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': '100', 'Pause Duration': '30', 'Pos': Point3(227.926, -519.288, 189.577), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0.0, 0.0, 1.0), 'Model': 'models/misc/smiley'}}, '1192728192.0dxschafe0': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': '100', 'Pause Duration': '30', 'Pos': Point3(246.215, -499.036, 189.577), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1192728192.0dxschafe1': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': '100', 'Pause Duration': '30', 'Pos': Point3(139.619, -431.249, 187.248), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0.0, 0.0, 1.0), 'Model': 'models/misc/smiley'}}, '1192728320.0dxschafe': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': '100', 'Pause Duration': '30', 'Pos': Point3(164.162, -578.027, 189.577), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1192728320.0dxschafe0': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': '100', 'Pause Duration': '30', 'Pos': Point3(87.082, -364.585, 177.939), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1192728320.0dxschafe1': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': '100', 'Pause Duration': '30', 'Pos': Point3(32.392, -515.464, 189.602), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1192728448.0dxschafe': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': '100', 'Pause Duration': '30', 'Pos': Point3(314.336, -515.437, 189.577), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1192728448.0dxschafe0': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': '100', 'Pause Duration': '30', 'Pos': Point3(331.331, -390.924, 195.781), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1192728448.0dxschafe1': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': '100', 'Pause Duration': '30', 'Pos': Point3(241.636, -416.654, 189.577), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1192728576.0dxschafe0': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': '100', 'Pause Duration': '30', 'Pos': Point3(344.579, -313.981, 224.603), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1192728704.0dxschafe0': {'Type': 'Spawn Node', 'Aggro Radius': '12.0000', 'AnimSet': 'default', 'Hpr': VBase3(173.835, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '6.0000', 'Pause Chance': '100', 'Pause Duration': '30', 'Pos': Point3(321.689, -396.994, 258.234), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'Navy T7', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'VisSize': '', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1192728704.0dxschafe1': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': '100', 'Pause Duration': '30', 'Pos': Point3(283.585, -352.101, 259.359), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0.0, 0.0, 1.0), 'Model': 'models/misc/smiley'}}, '1192728704.0dxschafe2': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': '100', 'Pause Duration': '30', 'Pos': Point3(359.231, -303.821, 258.398), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1192728704.0dxschafe3': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': '100', 'Pause Duration': '30', 'Pos': Point3(297.371, -286.186, 257.6), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0.0, 0.0, 1.0), 'Model': 'models/misc/smiley'}}, '1192728832.0dxschafe': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': '100', 'Pause Duration': '30', 'Pos': Point3(406.517, -161.881, 312.531), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1192728832.0dxschafe0': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': '100', 'Pause Duration': '30', 'Pos': Point3(98.101, -285.054, 254.675), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1192728960.0dxschafe': {'Type': 'Spawn Node', 'AnimSet': 'default', 'Hpr': VBase3(80.712, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': '100', 'Pause Duration': '30', 'Pos': Point3(-204.594, 462.698, 82.974), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1192728960.0dxschafe0': {'Type': 'Spawn Node', 'AnimSet': 'idleB', 'Hpr': VBase3(71.665, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': '100', 'Pause Duration': '30', 'Pos': Point3(-106.488, 511.065, 100.455), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1192728960.0dxschafe1': {'Type': 'Spawn Node', 'AnimSet': 'default', 'Hpr': VBase3(80.712, 0.0, 0.0), 'Min Population': '1', 'Patrol Radius': '12.0000', 'Pause Chance': '100', 'Pause Duration': '30', 'Pos': Point3(-452.295, 513.193, 65.417), 'PoseAnim': '', 'PoseFrame': '', 'PropLeft': 'None', 'PropRight': 'None', 'Scale': VBase3(1.0, 1.0, 1.0), 'Spawnables': 'High Navy', 'Start State': 'Patrol', 'StartFrame': '0', 'Team': 'default', 'TrailFX': 'None', 'TrailLeft': 'None', 'TrailRight': 'None', 'Visual': {'Color': (0, 0, 0.65, 1), 'Model': 'models/misc/smiley'}}, '1192729216.0dxschafe': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': '0', 'Pause Duration': '5', 'Pos': Point3(-36.811, 285.286, 104.669), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1192729216.0dxschafe0': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': '0', 'Pause Duration': '5', 'Pos': Point3(-11.917, 139.302, 103.864), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1192729216.0dxschafe1': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': '0', 'Pause Duration': '5', 'Pos': Point3(1.416, -153.527, 132.477), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1192729216.0dxschafe2': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': '0', 'Pause Duration': '5', 'Pos': Point3(14.515, -301.6, 168.618), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1192729344.0dxschafe': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': '0', 'Pause Duration': '5', 'Pos': Point3(-114.951, 293.45, 105.529), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1192729344.0dxschafe0': {'Type': 'Movement Node', 'Hpr': Point3(0.0, 0.0, 0.0), 'Pause Chance': '0', 'Pause Duration': '5', 'Pos': Point3(-58.407, 124.239, 103.831), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Color': (0.65, 0, 0, 1), 'Model': 'models/misc/smiley'}}, '1192752241.44akelts': {'Type': 'Tree', 'DisableCollision': False, 'Hpr': VBase3(-73.571, 0.0, 0.0), 'Pos': Point3(40.068, 116.434, 117.205), 'Scale': VBase3(1.121, 1.121, 1.121), 'Visual': {'Model': 'models/vegetation/gen_tree_a'}}, '1192752278.95akelts': {'Type': 'Simple Fort', 'DisableCollision': False, 'Hpr': VBase3(0.037, 0.099, 0.0), 'Objects': {}, 'Pos': Point3(-848.659, 461.756, -50.394), 'Scale': VBase3(1.0, 1.0, 1.0), 'UseMayaLOD': False, 'Visual': {'Model': 'models/buildings/fort_pier_kings'}}, '1192752297.83akelts': {'Type': 'Simple Fort', 'DisableCollision': False, 'Hpr': Point3(0.0, 0.0, 0.0), 'Pos': Point3(310.799, -481.225, 185.699), 'Scale': VBase3(1.0, 1.0, 1.0), 'UseMayaLOD': False, 'VisSize': '', 'Visual': {'Model': 'models/buildings/fort_colonnade_kings'}}, '1193185772.9kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(59.683, 0.0, 0.0), 'Pos': Point3(-421.934, 855.419, 80.655), 'Scale': VBase3(1.0, 1.0, 6.834), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1201115171.39dxschafe': {'Type': 'Door Locator Node', 'Name': 'door_locator', 'Hpr': VBase3(-78.271, 0.0, 0.0), 'Pos': Point3(-536.948, 516.033, 60.291), 'Scale': VBase3(1.0, 1.0, 1.0)}, '1201115172.78dxschafe': {'Type': 'Door Locator Node', 'Name': 'door_locator_2', 'Hpr': VBase3(98.0, 0.0, 0.0), 'Pos': Point3(-536.123, 516.033, 60.291), 'Scale': VBase3(1.0, 1.0, 1.0)}, '1205363173.2kmuller': {'Type': 'Bucket', 'DisableCollision': True, 'Hpr': VBase3(0.0, 0.0, -6.399), 'Pos': Point3(166.908, -407.97, 189.181), 'Scale': VBase3(1.0, 1.0, 1.0), 'Visual': {'Model': 'models/props/bucket'}}, '1205363202.64kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(0.0, 0.0, 0.0), 'Pos': Point3(166.6, -409.294, 188.738), 'Scale': VBase3(0.404, 1.0, 1.858), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1205363514.87kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(48.486, 0.0, 0.0), 'Pos': Point3(140.835, -341.743, 204.398), 'Scale': VBase3(2.366, 1.773, 3.458), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1205363570.86kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(143.319, 0.0, 0.0), 'Pos': Point3(133.564, -321.653, 208.442), 'Scale': VBase3(3.771, 3.115, 3.115), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1205363619.39kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(75.169, 0.0, 0.0), 'Pos': Point3(120.963, -310.226, 215.279), 'Scale': VBase3(0.66, 1.0, 1.825), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1205363663.26kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(125.001, 0.0, 0.0), 'Pos': Point3(147.292, -366.873, 195.36), 'Scale': VBase3(4.734, 4.734, 4.734), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1205363715.09kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(65.12, 0.0, 0.0), 'Pos': Point3(159.837, -388.307, 194.984), 'Scale': VBase3(0.467, 1.0, 5.07), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1205363877.45kmuller': {'Type': 'Crate', 'DisableCollision': True, 'Holiday': '', 'Hpr': VBase3(-57.708, 0.0, 0.0), 'Pos': Point3(212.608, -528.539, 189.577), 'Scale': VBase3(1.0, 0.821, 1.0), 'VisSize': '', 'Visual': {'Color': (0.5, 0.5, 0.5, 1.0), 'Model': 'models/props/crates_group_1'}}, '1205364182.84kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(132.246, 0.0, 0.0), 'Pos': Point3(244.692, -538.342, 188.72), 'Scale': VBase3(0.618, 1.0, 3.149), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1205364211.87kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(175.48, 0.0, 0.0), 'Pos': Point3(239.834, -535.996, 188.853), 'Scale': VBase3(0.622, 1.0, 3.122), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1205364538.48kmuller': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Hpr': VBase3(91.234, 0.0, 0.0), 'Pos': Point3(113.23, -512.463, 188.458), 'Scale': VBase3(0.923, 0.855, 1.317), 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1235001017.4caoconno': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Holiday': '', 'Hpr': VBase3(-132.296, 0.0, 0.0), 'Pos': Point3(27.111, 721.342, 88.369), 'Scale': VBase3(1.0, 1.0, 2.491), 'VisSize': '', 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1235002410.61caoconno': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Holiday': '', 'Hpr': VBase3(-97.031, 0.0, 0.0), 'Pos': Point3(332.682, -445.709, 226.143), 'Scale': VBase3(21.314, 1.0, 2.052), 'VisSize': '', 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}, '1235002850.0caoconno': {'Type': 'Collision Barrier', 'DisableCollision': False, 'Holiday': '', 'Hpr': VBase3(87.854, 0.0, 0.0), 'Pos': Point3(117.214, -737.666, 210.35), 'Scale': VBase3(0.423, 1.0, 1.359), 'VisSize': '', 'Visual': {'Model': 'models/misc/pir_m_prp_lev_cambarrier_plane'}}}, 'VisSize': '', 'Visibility': 'Grid', 'Visual': {'Model': 'models/islands/pir_m_are_isl_kingshead'}}}, 'TodSettings': {'AmbientColors': {0: Vec4(0.496039, 0.568627, 0.67451, 1), 2: Vec4(0.666667, 0.721569, 0.792157, 1), 4: Vec4(0.721569, 0.611765, 0.619608, 1), 6: Vec4(0.437059, 0.446471, 0.556667, 1), 8: Vec4(0.389216, 0.426275, 0.569608, 1), 12: Vec4(0.34, 0.28, 0.41, 1), 13: Vec4(0.34, 0.28, 0.41, 1), 16: Vec4(0.25, 0.25, 0.25, 1), 17: Vec4(0.34, 0.28, 0.41, 1)}, 'DirectionalColors': {0: Vec4(0.960784, 0.913725, 0.894118, 1), 2: Vec4(1, 1, 1, 1), 4: Vec4(0.439216, 0.176471, 0, 1), 6: Vec4(0.513726, 0.482353, 0.643137, 1), 8: Vec4(0.447059, 0.439216, 0.541176, 1), 12: Vec4(0.66, 0.76, 0.05, 1), 13: Vec4(0.66, 0.76, 0.05, 1), 16: Vec4(0, 0, 0, 1), 17: Vec4(0.66, 0.76, 0.05, 1)}, 'FogColors': {0: Vec4(0.27451, 0.192157, 0.211765, 0), 2: Vec4(0.894118, 0.894118, 1, 1), 4: Vec4(0.231373, 0.203922, 0.184314, 0), 6: Vec4(0.156863, 0.219608, 0.329412, 0), 8: Vec4(0.129412, 0.137255, 0.207843, 0), 12: Vec4(0.1, 0.12, 0.03, 0), 13: Vec4(0.1, 0.12, 0.03, 0), 16: Vec4(0.25, 0.25, 0.25, 1), 17: Vec4(0.1, 0.12, 0.03, 0)}, 'FogRanges': {0: 0.0002, 2: 0.00019999999494757503, 4: 0.0004, 6: 0.0004, 8: 0.0002, 12: 0.00025, 13: 0.00025, 16: 0.0001, 17: 0.005}, 'LinearFogRanges': {0: (0.0, 100.0), 2: (0.0, 100.0), 4: (0.0, 100.0), 6: (0.0, 100.0), 8: (0.0, 100.0), 12: (0.0, 100.0), 13: (0.0, 100.0), 16: (0.0, 100.0), 17: (0.0, 100.0)}}, 'Node Links': [['1176853376.0dxschafe3', '1176853376.0dxschafe2', 'Bi-directional'], ['1176853376.0dxschafe1', '1176853376.0dxschafe2', 'Bi-directional'], ['1176853376.0dxschafe0', '1176853376.0dxschafe1', 'Bi-directional'], ['1176853376.0dxschafe0', '1176853376.0dxschafe', 'Bi-directional'], ['1176853632.0dxschafe', '1176853504.0dxschafe6', 'Bi-directional'], ['1176853632.0dxschafe', '1176853504.0dxschafe', 'Bi-directional'], ['1176853504.0dxschafe', '1176853504.0dxschafe0', 'Bi-directional'], ['1176853504.0dxschafe1', '1176853504.0dxschafe0', 'Bi-directional'], ['1176853504.0dxschafe1', '1176853504.0dxschafe2', 'Bi-directional'], ['1176853504.0dxschafe2', '1176853504.0dxschafe3', 'Bi-directional'], ['1176853504.0dxschafe3', '1176853504.0dxschafe4', 'Bi-directional'], ['1176853504.0dxschafe5', '1176853504.0dxschafe4', 'Bi-directional'], ['1176853504.0dxschafe5', '1176853504.0dxschafe6', 'Bi-directional'], ['1176854144.0dxschafe1', '1176854144.0dxschafe2', 'Bi-directional'], ['1176854144.0dxschafe1', '1176854144.0dxschafe0', 'Bi-directional'], ['1176854144.0dxschafe0', '1176854144.0dxschafe', 'Bi-directional'], ['1176853888.0dxschafe', '1176854144.0dxschafe', 'Bi-directional'], ['1176853888.0dxschafe', '1176853760.0dxschafe0', 'Bi-directional'], ['1176853760.0dxschafe0', '1176853760.0dxschafe', 'Bi-directional'], ['1176854272.0dxschafe', '1176854400.0dxschafe0', 'Bi-directional'], ['1176854272.0dxschafe', '1176854272.0dxschafe1', 'Bi-directional'], ['1176854400.0dxschafe', '1176854272.0dxschafe1', 'Bi-directional'], ['1176854528.0dxschafe', '1176854656.0dxschafe', 'Bi-directional'], ['1176854528.0dxschafe', '1176854528.0dxschafe0', 'Bi-directional'], ['1176854528.0dxschafe', '1176854528.0dxschafe2', 'Bi-directional'], ['1176854656.0dxschafe', '1176854528.0dxschafe0', 'Bi-directional'], ['1176854656.0dxschafe', '1176854528.0dxschafe2', 'Bi-directional'], ['1176854528.0dxschafe0', '1176854528.0dxschafe2', 'Bi-directional'], ['1176854528.0dxschafe', '1176854656.0dxschafe0', 'Bi-directional'], ['1176854528.0dxschafe0', '1176854656.0dxschafe0', 'Bi-directional'], ['1176854528.0dxschafe2', '1176854656.0dxschafe0', 'Bi-directional'], ['1176854656.0dxschafe', '1176854656.0dxschafe0', 'Bi-directional'], ['1176855040.0dxschafe', '1176854912.0dxschafe0', 'Bi-directional'], ['1176854912.0dxschafe', '1176854912.0dxschafe0', 'Bi-directional'], ['1176855808.0dxschafe0', '1176855936.0dxschafe', 'Bi-directional'], ['1176855808.0dxschafe', '1176855808.0dxschafe0', 'Bi-directional'], ['1176855808.0dxschafe', '1176855680.0dxschafe2', 'Bi-directional'], ['1176856064.0dxschafe3', '1176856320.0dxschafe', 'Bi-directional'], ['1176856064.0dxschafe2', '1176856064.0dxschafe3', 'Bi-directional'], ['1176856064.0dxschafe2', '1176856064.0dxschafe1', 'Bi-directional'], ['1176855680.0dxschafe', '1176856064.0dxschafe', 'Bi-directional'], ['1176855680.0dxschafe', '1176855680.0dxschafe0', 'Bi-directional'], ['1176856064.0dxschafe0', '1176855680.0dxschafe', 'Bi-directional'], ['1176855680.0dxschafe1', '1176855680.0dxschafe0', 'Bi-directional'], ['1178836352.0dxschafe0', '1178836480.0dxschafe', 'Bi-directional'], ['1178836352.0dxschafe', '1178836352.0dxschafe0', 'Bi-directional'], ['1178836480.0dxschafe2', '1178836480.0dxschafe1', 'Bi-directional'], ['1178836480.0dxschafe1', '1178836480.0dxschafe0', 'Bi-directional'], ['1178582400.0dxschafe0', '1192728192.0dxschafe', 'Bi-directional'], ['1192728192.0dxschafe', '1192728192.0dxschafe1', 'Bi-directional'], ['1178582400.0dxschafe0', '1192728192.0dxschafe1', 'Bi-directional'], ['1178582400.0dxschafe', '1192728192.0dxschafe0', 'Bi-directional'], ['1192728192.0dxschafe0', '1192728192.0dxschafe1', 'Bi-directional'], ['1178582400.0dxschafe', '1192728192.0dxschafe1', 'Bi-directional'], ['1192728320.0dxschafe1', '1192728320.0dxschafe0', 'Bi-directional'], ['1192728320.0dxschafe1', '1178837120.0dxschafe', 'Bi-directional'], ['1192728320.0dxschafe', '1192728320.0dxschafe0', 'Bi-directional'], ['1178837120.0dxschafe', '1192728320.0dxschafe', 'Bi-directional'], ['1192728448.0dxschafe', '1178836608.0dxschafe', 'Bi-directional'], ['1192728448.0dxschafe', '1192728448.0dxschafe0', 'Bi-directional'], ['1192728448.0dxschafe1', '1192728448.0dxschafe0', 'Bi-directional'], ['1192728448.0dxschafe1', '1178836608.0dxschafe', 'Bi-directional'], ['1192728576.0dxschafe0', '1178580736.0dxschafe', 'Bi-directional'], ['1192728576.0dxschafe', '1178580736.0dxschafe', 'Bi-directional'], ['1192728576.0dxschafe2', '1192728576.0dxschafe1', 'Bi-directional'], ['1176857344.0dxschafe0', '1192728576.0dxschafe1', 'Bi-directional'], ['1192728704.0dxschafe0', '1178836480.0dxschafe2', 'Bi-directional'], ['1192728704.0dxschafe1', '1178915200.0dxschafe', 'Bi-directional'], ['1192728704.0dxschafe1', '1192728704.0dxschafe3', 'Bi-directional'], ['1192728704.0dxschafe3', '1192728704.0dxschafe2', 'Bi-directional'], ['1192728832.0dxschafe', '1192728832.0dxschafe0', 'Bi-directional'], ['1178835968.0dxschafe0', '1192728832.0dxschafe', 'Bi-directional'], ['1176853504.0dxschafe0', '1192728960.0dxschafe', 'Bi-directional'], ['1176853632.0dxschafe', '1192728960.0dxschafe1', 'Bi-directional'], ['1192729216.0dxschafe1', '1192729216.0dxschafe2', 'Bi-directional'], ['1192729216.0dxschafe0', '1192729216.0dxschafe1', 'Bi-directional'], ['1192729216.0dxschafe0', '1192729216.0dxschafe', 'Bi-directional'], ['1178914816.0dxschafe1', '1192729216.0dxschafe', 'Bi-directional'], ['1192729344.0dxschafe0', '1192729344.0dxschafe', 'Bi-directional'], ['1178914816.0dxschafe2', '1192729344.0dxschafe0', 'Bi-directional'], ['1178914816.0dxschafe2', '1192729344.0dxschafe', 'Bi-directional']], 'Layers': {'Collisions': ['1184008208.59kmuller', '1184016064.62kmuller', '1184013852.84kmuller', '1185822696.06kmuller', '1184006140.32kmuller', '1184002350.98kmuller', '1184007573.29kmuller', '1184021176.59kmuller', '1184005963.59kmuller', '1188324241.31akelts', '1184006537.34kmuller', '1184006605.81kmuller', '1187139568.33kmuller', '1188324186.98akelts', '1184006730.66kmuller', '1184007538.51kmuller', '1184006188.41kmuller', '1184021084.27kmuller', '1185824396.94kmuller', '1185824250.16kmuller', '1185823630.52kmuller', '1185823760.23kmuller', '1185824497.83kmuller', '1185824751.45kmuller', '1187739103.34akelts', '1188323993.34akelts', '1184016538.29kmuller', '1185822200.97kmuller', '1184016225.99kmuller', '1195241421.34akelts', '1195242796.08akelts', '1184020642.13kmuller', '1195237994.63akelts', '1184020756.88kmuller', '1184020833.4kmuller', '1185820992.97kmuller', '1185821053.83kmuller', '1184015068.54kmuller', '1184014935.82kmuller', '1185821432.88kmuller', '1185821701.86kmuller', '1195240137.55akelts', '1195241539.38akelts', '1195238422.3akelts', '1195238473.22akelts', '1185821453.17kmuller', '1184021269.96kmuller', '1185821310.89kmuller', '1185821165.59kmuller', '1185821199.36kmuller', '1185822035.98kmuller', '1184015806.59kmuller', '1185822059.48kmuller', '1185920461.76kmuller', '1194984449.66akelts', '1185824206.22kmuller', '1184003446.23kmuller', '1184003254.85kmuller', '1184003218.74kmuller', '1184002700.44kmuller', '1186705073.11kmuller', '1187658531.86akelts', '1186705214.3kmuller', '1185824927.28kmuller', '1184014204.54kmuller', '1184014152.84kmuller']}, 'ObjectIds': {'1159933857.98sdnaik': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1159933857.98sdnaik"]', '1162578572.03dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162578572.03dxschafe"]', '1162578581.51dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162578581.51dxschafe"]', '1162578582.39dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162578582.39dxschafe"]', '1162578584.71dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162578584.71dxschafe"]', '1162578585.26dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162578585.26dxschafe"]', '1162578588.03dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162578588.03dxschafe"]', '1162578588.82dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162578588.82dxschafe"]', '1162578594.59dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162578594.59dxschafe"]', '1162578595.35dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162578595.35dxschafe"]', '1162578596.56dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162578596.56dxschafe"]', '1162578611.48dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162578611.48dxschafe"]', '1162578611.87dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162578611.87dxschafe"]', '1162578612.03dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162578612.03dxschafe"]', '1162578623.92dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162578623.92dxschafe"]', '1162578634.17dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174593969.64kmuller"]["Objects"]["1162578634.17dxschafe"]', '1162578634.81dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174593969.64kmuller"]["Objects"]["1162578634.81dxschafe"]', '1162578803.26dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162578803.26dxschafe"]', '1162578812.96dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162578812.96dxschafe"]', '1162578818.06dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162578818.06dxschafe"]', '1162578829.14dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162578829.14dxschafe"]', '1162578854.17dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1162578854.17dxschafe"]', '1162578913.07dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162578913.07dxschafe"]', '1162578945.31dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162578945.31dxschafe"]', '1162578949.48dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162578949.48dxschafe"]', '1162578951.89dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162578951.89dxschafe"]', '1162578956.65dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162578956.65dxschafe"]', '1162578961.73dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162578961.73dxschafe"]', '1162578973.67dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162578973.67dxschafe"]', '1162579004.42dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579004.42dxschafe"]', '1162579018.87dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579018.87dxschafe"]', '1162579033.57dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579033.57dxschafe"]', '1162579034.48dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579034.48dxschafe"]', '1162579035.12dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579035.12dxschafe"]', '1162579035.71dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579035.71dxschafe"]', '1162579089.12dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579089.12dxschafe"]', '1162579093.32dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579093.32dxschafe"]', '1162579097.62dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579097.62dxschafe"]', '1162579102.74dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579102.74dxschafe"]', '1162579160.48dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579160.48dxschafe"]', '1162579170.43dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579170.43dxschafe"]', '1162579184.39dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579184.39dxschafe"]', '1162579213.67dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579213.67dxschafe"]', '1162579218.82dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579218.82dxschafe"]', '1162579466.56dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579466.56dxschafe"]', '1162579498.53dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579498.53dxschafe"]', '1162579499.56dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579499.56dxschafe"]', '1162579576.72dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579576.72dxschafe"]', '1162579577.19dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579577.19dxschafe"]', '1162579577.69dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579577.69dxschafe"]', '1162579579.89dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579579.89dxschafe"]', '1162579735.42dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579735.42dxschafe"]', '1162579742.55dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579742.55dxschafe"]', '1162579743.05dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579743.05dxschafe"]', '1162579743.48dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579743.48dxschafe"]', '1162579747.2dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579747.2dxschafe"]', '1162579747.63dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579747.63dxschafe"]', '1162579748.03dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579748.03dxschafe"]', '1162579749.17dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579749.17dxschafe"]', '1162579749.59dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579749.59dxschafe"]', '1162579750.02dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579750.02dxschafe"]', '1162579752.83dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579752.83dxschafe"]', '1162579753.2dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579753.2dxschafe"]', '1162579753.55dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579753.55dxschafe"]', '1162579753.89dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579753.89dxschafe"]', '1162579758.5dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579758.5dxschafe"]', '1162579759.27dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579759.27dxschafe"]', '1162579759.73dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579759.73dxschafe"]', '1162579760.77dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579760.77dxschafe"]', '1162579761.23dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579761.23dxschafe"]', '1162579761.78dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579761.78dxschafe"]', '1162579770.14dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579770.14dxschafe"]', '1162579770.7dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579770.7dxschafe"]', '1162579771.16dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579771.16dxschafe"]', '1162579776.66dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579776.66dxschafe"]', '1162579777.11dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579777.11dxschafe"]', '1162579777.53dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579777.53dxschafe"]', '1162579779.91dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579779.91dxschafe"]', '1162579783.03dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579783.03dxschafe"]', '1162579790.45dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579790.45dxschafe"]', '1162579798.03dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579798.03dxschafe"]', '1162579801.08dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579801.08dxschafe"]', '1162579802.02dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579802.02dxschafe"]', '1162579813.58dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579813.58dxschafe"]', '1162579814.06dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579814.06dxschafe"]', '1162579814.48dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579814.48dxschafe"]', '1162579815.16dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579815.16dxschafe"]', '1162579815.92dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579815.92dxschafe"]', '1162579821.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579821.0dxschafe"]', '1162579821.33dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579821.33dxschafe"]', '1162579821.59dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579821.59dxschafe"]', '1162579821.81dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579821.81dxschafe"]', '1162579822.03dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579822.03dxschafe"]', '1162579822.25dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579822.25dxschafe"]', '1162579822.48dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579822.48dxschafe"]', '1162579822.69dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579822.69dxschafe"]', '1162579822.97dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579822.97dxschafe"]', '1162579823.2dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579823.2dxschafe"]', '1162579823.44dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579823.44dxschafe"]', '1162579823.75dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579823.75dxschafe"]', '1162579825.64dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579825.64dxschafe"]', '1162579825.97dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579825.97dxschafe"]', '1162579826.3dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579826.3dxschafe"]', '1162579826.63dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579826.63dxschafe"]', '1162579844.92dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579844.92dxschafe"]', '1162579854.42dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579854.42dxschafe"]', '1162579855.27dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579855.27dxschafe"]', '1162579855.95dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579855.95dxschafe"]', '1162579859.27dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579859.27dxschafe"]', '1162579859.63dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579859.63dxschafe"]', '1162579860.06dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579860.06dxschafe"]', '1162579872.06dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579872.06dxschafe"]', '1162579872.75dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579872.75dxschafe"]', '1162579889.47dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579889.47dxschafe"]', '1162579889.83dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579889.83dxschafe"]', '1162579890.22dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579890.22dxschafe"]', '1162579909.41dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579909.41dxschafe"]', '1162579909.92dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579909.92dxschafe"]', '1162579920.13dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579920.13dxschafe"]', '1162579920.59dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579920.59dxschafe"]', '1162579967.02dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579967.02dxschafe"]', '1162579975.23dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579975.23dxschafe"]', '1162579975.72dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579975.72dxschafe"]', '1162579976.2dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162579976.2dxschafe"]', '1162580060.06dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162580060.06dxschafe"]', '1162580064.72dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162580064.72dxschafe"]', '1162580065.61dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162580065.61dxschafe"]', '1162580066.25dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162580066.25dxschafe"]', '1162580074.05dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162580074.05dxschafe"]', '1162580075.95dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162580075.95dxschafe"]', '1162580225.74dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162580225.74dxschafe"]', '1162580240.64dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162580240.64dxschafe"]', '1162580356.19dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162580356.19dxschafe"]', '1162580369.04dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162580369.04dxschafe"]', '1162580373.35dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162580373.35dxschafe"]', '1162580373.83dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162580373.83dxschafe"]', '1162580879.15dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162580879.15dxschafe"]', '1162580881.65dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162580881.65dxschafe"]', '1162580906.99dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162580906.99dxschafe"]', '1162580922.91dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162580922.91dxschafe"]', '1162580923.88dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162580923.88dxschafe"]', '1162580924.46dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162580924.46dxschafe"]', '1162580944.44dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162580944.44dxschafe"]', '1162580950.63dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162580950.63dxschafe"]', '1162580951.07dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162580951.07dxschafe"]', '1162580951.41dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162580951.41dxschafe"]', '1162580951.76dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162580951.76dxschafe"]', '1162580956.87dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162580956.87dxschafe"]', '1162580957.74dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162580957.74dxschafe"]', '1162580963.84dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162580963.84dxschafe"]', '1162580971.01dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162580971.01dxschafe"]', '1162580971.24dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162580971.24dxschafe"]', '1162580971.38dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162580971.38dxschafe"]', '1162580983.6dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162580983.6dxschafe"]', '1162580990.91dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162580990.91dxschafe"]', '1162580992.99dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162580992.99dxschafe"]', '1162580993.46dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162580993.46dxschafe"]', '1162581085.74dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581085.74dxschafe"]', '1162581139.15dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581139.15dxschafe"]', '1162581173.01dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581173.01dxschafe"]', '1162581211.88dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581211.88dxschafe"]', '1162581212.92dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581212.92dxschafe"]', '1162581213.56dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581213.56dxschafe"]', '1162581226.56dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581226.56dxschafe"]', '1162581226.92dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581226.92dxschafe"]', '1162581227.28dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581227.28dxschafe"]', '1162581237.09dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581237.09dxschafe"]', '1162581293.62dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581293.62dxschafe"]', '1162581348.79dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581348.79dxschafe"]', '1162581389.76dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581389.76dxschafe"]', '1162581396.45dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581396.45dxschafe"]', '1162581397.65dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581397.65dxschafe"]', '1162581399.7dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581399.7dxschafe"]', '1162581407.95dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581407.95dxschafe"]', '1162581408.93dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581408.93dxschafe"]', '1162581409.87dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581409.87dxschafe"]', '1162581410.49dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581410.49dxschafe"]', '1162581412.76dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581412.76dxschafe"]', '1162581413.31dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581413.31dxschafe"]', '1162581413.87dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581413.87dxschafe"]', '1162581414.4dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581414.4dxschafe"]', '1162581415.2dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581415.2dxschafe"]', '1162581429.89dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581429.89dxschafe"]', '1162581430.57dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581430.57dxschafe"]', '1162581434.31dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581434.31dxschafe"]', '1162581438.9dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581438.9dxschafe"]', '1162581441.68dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581441.68dxschafe"]', '1162581446.79dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581446.79dxschafe"]', '1162581462.1dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581462.1dxschafe"]', '1162581462.87dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581462.87dxschafe"]', '1162581463.7dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581463.7dxschafe"]', '1162581474.23dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581474.23dxschafe"]', '1162581474.96dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581474.96dxschafe"]', '1162581492.23dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581492.23dxschafe"]', '1162581492.68dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581492.68dxschafe"]', '1162581493.14dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581493.14dxschafe"]', '1162581493.82dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581493.82dxschafe"]', '1162581502.81dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581502.81dxschafe"]', '1162581562.17dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581562.17dxschafe"]', '1162581570.34dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581570.34dxschafe"]', '1162581571.57dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581571.57dxschafe"]', '1162581574.82dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581574.82dxschafe"]', '1162581575.75dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581575.75dxschafe"]', '1162581578.81dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581578.81dxschafe"]', '1162581602.12dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581602.12dxschafe"]', '1162581615.15dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581615.15dxschafe"]', '1162581618.45dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162581618.45dxschafe"]', '1162582739.19dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162582739.19dxschafe"]', '1162582765.75dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162582765.75dxschafe"]', '1162582804.08dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162582804.08dxschafe"]', '1162582965.97dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162582965.97dxschafe"]', '1162583039.33dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162583039.33dxschafe"]', '1162583074.37dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162583074.37dxschafe"]', '1162583158.9dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162583158.9dxschafe"]', '1162583244.88dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162583244.88dxschafe"]', '1162583300.9dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162583300.9dxschafe"]', '1162583398.68dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162583398.68dxschafe"]', '1162584186.42dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162584186.42dxschafe"]', '1162584488.39dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162584488.39dxschafe"]', '1162585725.4dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162585725.4dxschafe"]', '1162585742.76dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162585742.76dxschafe"]', '1162590867.4dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162590867.4dxschafe"]', '1162591928.29dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162591928.29dxschafe"]', '1162592503.81dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162592503.81dxschafe"]', '1162592712.61dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162592712.61dxschafe"]', '1162592739.47dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162592739.47dxschafe"]', '1162592755.23dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162592755.23dxschafe"]', '1162592768.92dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162592768.92dxschafe"]', '1162592782.6dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162592782.6dxschafe"]', '1162592795.8dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162592795.8dxschafe"]', '1162592893.31dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162592893.31dxschafe"]', '1162593542.8dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162593542.8dxschafe"]', '1162593557.08dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162593557.08dxschafe"]', '1162593559.08dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162593559.08dxschafe"]', '1162602305.82dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162602305.82dxschafe"]', '1162602596.17dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162602596.17dxschafe"]', '1162602799.3dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1162602799.3dxschafe"]', '1163119851.86sdnaik': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1163119851.86sdnaik"]', '1168284130.94dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]', '1168743023.63sdnaik': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168743023.63sdnaik"]', '1168743125.73sdnaik': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168743125.73sdnaik"]', '1170972672.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1170972672.0dxschafe"]', '1170972672.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1170972672.0dxschafe"]', '1170972800.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1170972800.0dxschafe"]', '1170972800.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1170972800.0dxschafe"]', '1171999232.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1171999232.0dxschafe"]', '1171999232.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1171999232.0dxschafe"]', '1171999616.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1171999616.0dxschafe"]', '1172000128.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172000128.0dxschafe"]', '1172000128.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172000128.0dxschafe"]', '1172000512.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172000512.0dxschafe"]', '1172000512.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172000512.0dxschafe"]', '1172000512.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172000512.0dxschafe1"]', '1172000512.0dxschafe2': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172000512.0dxschafe1"]', '1172000512.0dxschafe3': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172000512.0dxschafe3"]', '1172000512.0dxschafe4': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172000512.0dxschafe3"]', '1172000640.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172000640.0dxschafe"]', '1172000640.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172000640.0dxschafe"]', '1172000768.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172000768.0dxschafe"]', '1172000768.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172000768.0dxschafe"]', '1172001024.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172001024.0dxschafe"]', '1172001024.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172001024.0dxschafe"]', '1172001024.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172001024.0dxschafe1"]', '1172001024.0dxschafe2': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172001024.0dxschafe1"]', '1172001280.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172001280.0dxschafe1"]', '1172001280.0dxschafe2': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172001280.0dxschafe1"]', '1172001536.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172001536.0dxschafe"]', '1172001536.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172001536.0dxschafe"]', '1172001792.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172001792.0dxschafe"]', '1172001792.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172001792.0dxschafe"]', '1172006016.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172006016.0dxschafe"]', '1172006016.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172006016.0dxschafe0"]', '1172006144.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172006144.0dxschafe"]', '1172006144.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172006144.0dxschafe0"]', '1172006144.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172006144.0dxschafe1"]', '1172006144.0dxschafe2': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172006144.0dxschafe2"]', '1172006272.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172006272.0dxschafe"]', '1172006400.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172006400.0dxschafe"]', '1172006528.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172006528.0dxschafe"]', '1172006784.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1172006784.0dxschafe"]', '1172006912.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172006912.0dxschafe0"]', '1172006912.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172006912.0dxschafe1"]', '1172007296.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172007296.0dxschafe"]', '1172007808.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1172007808.0dxschafe"]', '1172007808.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172007808.0dxschafe1"]', '1172008960.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172008960.0dxschafe"]', '1172009088.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1172009088.0dxschafe"]', '1172009216.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1172009216.0dxschafe"]', '1172009600.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172009600.0dxschafe"]', '1172009600.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172009600.0dxschafe"]', '1172009856.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172009856.0dxschafe"]', '1172009856.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172009856.0dxschafe"]', '1172009984.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172009984.0dxschafe"]', '1172009984.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172009984.0dxschafe"]', '1172009984.0dxschafe2': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172009984.0dxschafe2"]', '1172009984.0dxschafe3': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172009984.0dxschafe2"]', '1172010368.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172010368.0dxschafe"]', '1172010368.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172010368.0dxschafe"]', '1172010752.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172010752.0dxschafe"]', '1172010752.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172010752.0dxschafe"]', '1172010880.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172010880.0dxschafe"]', '1172010880.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172010880.0dxschafe0"]', '1172011520.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172011520.0dxschafe"]', '1172014592.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172014592.0dxschafe"]', '1172014720.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172014720.0dxschafe"]', '1172014720.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172014720.0dxschafe0"]', '1172014720.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172014720.0dxschafe1"]', '1172014720.0dxschafe2': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172014720.0dxschafe2"]', '1172014720.0dxschafe3': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172014720.0dxschafe3"]', '1172015744.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172015744.0dxschafe"]', '1172015872.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172015872.0dxschafe"]', '1172016384.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172016384.0dxschafe"]', '1172016384.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172016384.0dxschafe0"]', '1172016512.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172016512.0dxschafe0"]', '1172016512.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172016512.0dxschafe1"]', '1172017024.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172017024.0dxschafe"]', '1172017024.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172017024.0dxschafe0"]', '1172017152.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172017152.0dxschafe"]', '1172017408.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172017408.0dxschafe"]', '1172017408.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172017408.0dxschafe0"]', '1172017408.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172017408.0dxschafe1"]', '1172017408.0dxschafe2': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172017408.0dxschafe2"]', '1172017408.0dxschafe3': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172017408.0dxschafe3"]', '1172017408.0dxschafe4': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172017408.0dxschafe4"]', '1172017408.0dxschafe5': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172017408.0dxschafe5"]', '1172017408.0dxschafe6': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172017408.0dxschafe6"]', '1172017408.0dxschafe7': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172017408.0dxschafe7"]', '1172017408.0dxschafe8': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172017408.0dxschafe8"]', '1172017536.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172017536.0dxschafe"]', '1172017536.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172017536.0dxschafe0"]', '1172018048.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172018048.0dxschafe"]', '1172018048.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172018048.0dxschafe0"]', '1172018048.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172018048.0dxschafe1"]', '1172018048.0dxschafe2': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172018048.0dxschafe2"]', '1172018048.0dxschafe3': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172018048.0dxschafe3"]', '1172018048.0dxschafe4': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172018048.0dxschafe4"]', '1172018048.0dxschafe5': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172018048.0dxschafe5"]', '1172018048.0dxschafe6': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172018048.0dxschafe6"]', '1172018048.0dxschafe7': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172018048.0dxschafe7"]', '1172018048.0dxschafe8': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172018048.0dxschafe8"]', '1172018048.0dxschafe9': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172018048.0dxschafe9"]', '1172021888.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172021888.0dxschafe"]', '1172022784.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172022784.0dxschafe0"]', '1172022912.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172022912.0dxschafe"]', '1172022912.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172022912.0dxschafe0"]', '1172023040.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172023040.0dxschafe"]', '1172023168.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172023168.0dxschafe"]', '1172023424.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172023424.0dxschafe"]', '1172023424.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172023424.0dxschafe0"]', '1172023552.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172023552.0dxschafe"]', '1172023552.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172023552.0dxschafe0"]', '1172023680.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172023680.0dxschafe"]', '1172023680.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172023680.0dxschafe0"]', '1172023808.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172023808.0dxschafe"]', '1172023808.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172023808.0dxschafe0"]', '1172023808.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172023808.0dxschafe1"]', '1172024192.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172024192.0dxschafe"]', '1172024448.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172024448.0dxschafe1"]', '1172024448.0dxschafe2': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172024448.0dxschafe1"]', '1172024448.0dxschafe3': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172024448.0dxschafe3"]', '1172024448.0dxschafe4': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172024448.0dxschafe3"]', '1172024448.0dxschafe5': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172024448.0dxschafe5"]', '1172024448.0dxschafe6': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172024448.0dxschafe5"]', '1172025856.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172025856.0dxschafe"]', '1172025856.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172025856.0dxschafe"]', '1172025856.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172025856.0dxschafe1"]', '1172025856.0dxschafe2': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172025856.0dxschafe1"]', '1172026112.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172026112.0dxschafe"]', '1172026112.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172026112.0dxschafe0"]', '1172026624.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172026624.0dxschafe"]', '1172026752.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172026752.0dxschafe"]', '1172027776.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172027776.0dxschafe"]', '1172027904.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172027904.0dxschafe"]', '1172027904.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172027904.0dxschafe0"]', '1172027904.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172027904.0dxschafe1"]', '1172027904.0dxschafe2': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172027904.0dxschafe2"]', '1173130304.38kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1173130304.38kmuller"]', '1174593969.64kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174593969.64kmuller"]', '1174594142.98kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]', '1174594381.19kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594381.19kmuller"]', '1174594581.09kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594581.09kmuller"]', '1176845568.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176845568.0dxschafe"]', '1176845696.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176845696.0dxschafe"]', '1176845824.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176845824.0dxschafe"]', '1176845824.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176845824.0dxschafe0"]', '1176845824.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176845824.0dxschafe1"]', '1176845824.0dxschafe2': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176845824.0dxschafe2"]', '1176845824.0dxschafe3': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176845824.0dxschafe3"]', '1176845952.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176845952.0dxschafe0"]', '1176846080.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176846080.0dxschafe"]', '1176846208.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176846208.0dxschafe"]', '1176846208.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176846208.0dxschafe0"]', '1176846208.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176846208.0dxschafe1"]', '1176846208.0dxschafe10': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176846208.0dxschafe10"]', '1176846208.0dxschafe11': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176846208.0dxschafe11"]', '1176846208.0dxschafe12': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176846208.0dxschafe12"]', '1176846208.0dxschafe13': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176846208.0dxschafe13"]', '1176846208.0dxschafe3': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176846208.0dxschafe3"]', '1176846208.0dxschafe4': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176846208.0dxschafe4"]', '1176846208.0dxschafe5': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176846208.0dxschafe5"]', '1176846208.0dxschafe6': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176846208.0dxschafe6"]', '1176846208.0dxschafe7': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176846208.0dxschafe7"]', '1176846208.0dxschafe8': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176846208.0dxschafe8"]', '1176846336.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176846336.0dxschafe"]', '1176846336.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176846336.0dxschafe0"]', '1176846336.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176846336.0dxschafe1"]', '1176846336.0dxschafe2': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176846336.0dxschafe2"]', '1176846464.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1176846464.0dxschafe"]', '1176849152.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176849152.0dxschafe"]', '1176849536.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1176849536.0dxschafe"]', '1176849664.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176849664.0dxschafe"]', '1176849792.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176849920.0dxschafe"]["Objects"]["1176849792.0dxschafe"]', '1176849792.0dxschafe00': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176849664.0dxschafe"]["Objects"]["1176849792.0dxschafe00"]', '1176849792.0dxschafe01': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176850048.0dxschafe"]["Objects"]["1176849792.0dxschafe01"]', '1176849792.0dxschafe02': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176850048.0dxschafe0"]["Objects"]["1176849792.0dxschafe02"]', '1176849920.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176849920.0dxschafe"]', '1176850048.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176850048.0dxschafe"]', '1176850048.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176850048.0dxschafe0"]', '1176850048.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176850048.0dxschafe1"]', '1176850176.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176850176.0dxschafe0"]', '1176850176.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176850176.0dxschafe1"]', '1176850560.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176850560.0dxschafe"]', '1176850560.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176850560.0dxschafe0"]', '1176850560.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176850560.0dxschafe1"]', '1176850560.0dxschafe2': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176850560.0dxschafe2"]', '1176850560.0dxschafe3': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176850560.0dxschafe3"]', '1176850560.0dxschafe4': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176850560.0dxschafe4"]', '1176850560.0dxschafe5': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176850560.0dxschafe5"]', '1176853376.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176853376.0dxschafe"]', '1176853376.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176853376.0dxschafe0"]', '1176853376.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176853376.0dxschafe1"]', '1176853376.0dxschafe2': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176853376.0dxschafe2"]', '1176853376.0dxschafe3': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176853376.0dxschafe3"]', '1176853504.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176853504.0dxschafe"]', '1176853504.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176853504.0dxschafe0"]', '1176853504.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176853504.0dxschafe1"]', '1176853504.0dxschafe2': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176853504.0dxschafe2"]', '1176853504.0dxschafe3': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176853504.0dxschafe3"]', '1176853504.0dxschafe4': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176853504.0dxschafe4"]', '1176853504.0dxschafe5': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176853504.0dxschafe5"]', '1176853504.0dxschafe6': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176853504.0dxschafe6"]', '1176853632.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176853632.0dxschafe"]', '1176853760.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1176853760.0dxschafe"]', '1176853760.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176853760.0dxschafe0"]', '1176853888.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176853888.0dxschafe"]', '1176854144.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176854144.0dxschafe"]', '1176854144.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176854144.0dxschafe0"]', '1176854144.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176854144.0dxschafe1"]', '1176854144.0dxschafe2': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176854144.0dxschafe2"]', '1176854272.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1176854272.0dxschafe"]', '1176854272.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1176854272.0dxschafe1"]', '1176854400.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1176854400.0dxschafe"]', '1176854400.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1176854400.0dxschafe0"]', '1176854528.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1176854528.0dxschafe"]', '1176854528.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1176854528.0dxschafe0"]', '1176854528.0dxschafe2': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1176854528.0dxschafe2"]', '1176854656.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1176854656.0dxschafe"]', '1176854656.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1176854656.0dxschafe0"]', '1176854912.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176854912.0dxschafe"]', '1176854912.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176854912.0dxschafe0"]', '1176855040.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176855040.0dxschafe"]', '1176855680.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176855680.0dxschafe"]', '1176855680.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176855680.0dxschafe0"]', '1176855680.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176855680.0dxschafe1"]', '1176855680.0dxschafe2': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176855680.0dxschafe2"]', '1176855808.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176855808.0dxschafe"]', '1176855808.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176855808.0dxschafe0"]', '1176855936.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176855936.0dxschafe"]', '1176856064.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176856064.0dxschafe"]', '1176856064.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176856064.0dxschafe0"]', '1176856064.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176856064.0dxschafe1"]', '1176856064.0dxschafe2': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176856064.0dxschafe2"]', '1176856064.0dxschafe3': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1176856064.0dxschafe3"]', '1176856320.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1176856320.0dxschafe"]', '1176856576.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176856576.0dxschafe"]', '1176856704.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176856704.0dxschafe"]', '1176856704.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176856704.0dxschafe0"]', '1176856704.0dxschafe2': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176856704.0dxschafe2"]', '1176856832.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176856832.0dxschafe"]', '1176857216.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176857216.0dxschafe"]', '1176857344.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176857344.0dxschafe"]', '1176857344.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1176857344.0dxschafe0"]', '1176857472.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174593969.64kmuller"]["Objects"]["1176857472.0dxschafe"]', '1176857472.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174593969.64kmuller"]["Objects"]["1176857472.0dxschafe0"]', '1176857472.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174593969.64kmuller"]["Objects"]["1176857472.0dxschafe1"]', '1177713664.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1177713664.0dxschafe"]', '1177713664.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1177713664.0dxschafe0"]', '1177713664.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1177713664.0dxschafe1"]', '1177713664.0dxschafe2': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1177713664.0dxschafe2"]', '1177713792.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1177713792.0dxschafe"]', '1177713792.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1177713792.0dxschafe0"]', '1177714048.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1177714048.0dxschafe"]', '1177715200.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1177715200.0dxschafe"]', '1177715328.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1177715328.0dxschafe0"]', '1177715328.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1177715328.0dxschafe1"]', '1177715328.0dxschafe2': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1177715328.0dxschafe2"]', '1177715328.0dxschafe3': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1177715328.0dxschafe3"]', '1177715328.0dxschafe4': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1177715328.0dxschafe4"]', '1177715328.0dxschafe5': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1177715328.0dxschafe5"]', '1177715328.0dxschafe6': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1177715328.0dxschafe6"]', '1177715328.0dxschafe7': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1177715328.0dxschafe7"]', '1177715328.0dxschafe8': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1177715328.0dxschafe8"]', '1177715328.0dxschafe9': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1177715328.0dxschafe9"]', '1177715584.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174593969.64kmuller"]["Objects"]["1177715584.0dxschafe"]', '1177715584.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174593969.64kmuller"]["Objects"]["1177715584.0dxschafe0"]', '1177715584.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174593969.64kmuller"]["Objects"]["1177715584.0dxschafe1"]', '1177715584.0dxschafe10': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174593969.64kmuller"]["Objects"]["1177715584.0dxschafe10"]', '1177715584.0dxschafe11': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174593969.64kmuller"]["Objects"]["1177715584.0dxschafe11"]', '1177715584.0dxschafe2': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174593969.64kmuller"]["Objects"]["1177715584.0dxschafe2"]', '1177715584.0dxschafe3': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174593969.64kmuller"]["Objects"]["1177715584.0dxschafe3"]', '1177715584.0dxschafe4': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174593969.64kmuller"]["Objects"]["1177715584.0dxschafe4"]', '1177715584.0dxschafe5': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174593969.64kmuller"]["Objects"]["1177715584.0dxschafe5"]', '1177715584.0dxschafe6': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174593969.64kmuller"]["Objects"]["1177715584.0dxschafe6"]', '1177715584.0dxschafe7': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174593969.64kmuller"]["Objects"]["1177715584.0dxschafe7"]', '1177715584.0dxschafe8': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174593969.64kmuller"]["Objects"]["1177715584.0dxschafe8"]', '1177715584.0dxschafe9': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174593969.64kmuller"]["Objects"]["1177715584.0dxschafe9"]', '1177715712.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1177715712.0dxschafe"]', '1177715712.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1177715712.0dxschafe0"]', '1177715712.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1177715712.0dxschafe1"]', '1177715712.0dxschafe2': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1177715712.0dxschafe2"]', '1177715712.0dxschafe3': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1177715712.0dxschafe3"]', '1177715712.0dxschafe4': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1177715712.0dxschafe4"]', '1177716480.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1177716480.0dxschafe"]', '1177716480.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1177716480.0dxschafe0"]', '1177716480.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1177716480.0dxschafe1"]', '1177716480.0dxschafe10': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1177716480.0dxschafe10"]', '1177716480.0dxschafe11': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1177716480.0dxschafe11"]', '1177716480.0dxschafe2': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1177716480.0dxschafe2"]', '1177716480.0dxschafe3': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1177716480.0dxschafe3"]', '1177716480.0dxschafe4': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1177716480.0dxschafe4"]', '1177716480.0dxschafe5': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1177716480.0dxschafe5"]', '1177716480.0dxschafe6': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1177716480.0dxschafe6"]', '1177716480.0dxschafe7': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1177716480.0dxschafe7"]', '1177716480.0dxschafe8': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1177716480.0dxschafe8"]', '1177716480.0dxschafe9': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1177716480.0dxschafe9"]', '1177716864.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1177716864.0dxschafe"]', '1177716864.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1177716864.0dxschafe0"]', '1177716864.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1177716864.0dxschafe1"]', '1177716864.0dxschafe2': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1177716864.0dxschafe2"]', '1177716992.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1177716992.0dxschafe"]', '1177716992.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1177716992.0dxschafe0"]', '1177716992.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1177716992.0dxschafe1"]', '1177717120.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1177717120.0dxschafe"]', '1177717120.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1177717120.0dxschafe0"]', '1177717248.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1177717248.0dxschafe"]', '1177717248.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1177717248.0dxschafe0"]', '1177717248.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1177717248.0dxschafe1"]', '1177717248.0dxschafe10': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1177717248.0dxschafe10"]', '1177717248.0dxschafe11': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1177717248.0dxschafe11"]', '1177717248.0dxschafe12': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1177717248.0dxschafe12"]', '1177717248.0dxschafe13': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1177717248.0dxschafe13"]', '1177717248.0dxschafe14': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1177717248.0dxschafe14"]', '1177717248.0dxschafe2': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1177717248.0dxschafe2"]', '1177717248.0dxschafe3': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1177717248.0dxschafe3"]', '1177717248.0dxschafe4': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1177717248.0dxschafe4"]', '1177717248.0dxschafe5': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1177717248.0dxschafe5"]', '1177717248.0dxschafe6': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1177717248.0dxschafe6"]', '1177717248.0dxschafe7': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1177717248.0dxschafe7"]', '1177717248.0dxschafe8': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1177717248.0dxschafe8"]', '1177717248.0dxschafe9': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1177717248.0dxschafe9"]', '1177717504.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1177717504.0dxschafe"]', '1177717504.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1177717504.0dxschafe0"]', '1177717504.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1177717504.0dxschafe1"]', '1177970176.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174593969.64kmuller"]["Objects"]["1177970176.0dxschafe"]', '1177976064.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174593969.64kmuller"]["Objects"]["1177976064.0dxschafe"]', '1177976192.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174593969.64kmuller"]["Objects"]["1177976192.0dxschafe"]', '1177976320.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174593969.64kmuller"]["Objects"]["1177976320.0dxschafe"]', '1177976320.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174593969.64kmuller"]["Objects"]["1177976320.0dxschafe0"]', '1177976448.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174593969.64kmuller"]["Objects"]["1177976448.0dxschafe0"]', '1177976704.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174593969.64kmuller"]["Objects"]["1177976704.0dxschafe"]', '1177977088.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1177977088.0dxschafe"]', '1177977600.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174593969.64kmuller"]["Objects"]["1177977600.0dxschafe"]', '1177977728.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174593969.64kmuller"]["Objects"]["1177977728.0dxschafe"]', '1177977728.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174593969.64kmuller"]["Objects"]["1177977728.0dxschafe0"]', '1177977856.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174593969.64kmuller"]["Objects"]["1177977856.0dxschafe"]', '1177977856.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174593969.64kmuller"]["Objects"]["1177977856.0dxschafe0"]', '1178580480.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1178580480.0dxschafe"]', '1178580608.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1178580608.0dxschafe"]', '1178580736.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1178580736.0dxschafe"]', '1178582400.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1178582400.0dxschafe"]', '1178582400.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1178582400.0dxschafe0"]', '1178582784.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1178582784.0dxschafe"]', '1178835840.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1178835840.0dxschafe"]', '1178835968.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174593969.64kmuller"]["Objects"]["1178835968.0dxschafe"]', '1178835968.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1178835968.0dxschafe0"]', '1178836224.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174593969.64kmuller"]["Objects"]["1178836224.0dxschafe"]', '1178836352.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1178836352.0dxschafe"]', '1178836352.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1178836352.0dxschafe0"]', '1178836480.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1178836480.0dxschafe"]', '1178836480.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1178836480.0dxschafe0"]', '1178836480.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1178836480.0dxschafe1"]', '1178836480.0dxschafe2': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1178836480.0dxschafe2"]', '1178836608.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1178836608.0dxschafe"]', '1178836608.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1178836608.0dxschafe0"]', '1178837120.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1178837120.0dxschafe"]', '1178911488.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1178911488.0dxschafe0"]', '1178911616.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1178911616.0dxschafe"]', '1178911744.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1178911744.0dxschafe"]', '1178911872.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1178911872.0dxschafe"]', '1178912512.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1178912512.0dxschafe0"]', '1178912768.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1178912768.0dxschafe"]', '1178912768.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1178912768.0dxschafe0"]', '1178912896.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1178912896.0dxschafe"]', '1178913024.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1178913024.0dxschafe"]', '1178913280.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1178913280.0dxschafe"]', '1178913408.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1178913408.0dxschafe"]', '1178914816.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1178914816.0dxschafe0"]', '1178914816.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1178914816.0dxschafe1"]', '1178914816.0dxschafe2': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1178914816.0dxschafe2"]', '1178915200.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1178915200.0dxschafe"]', '1178915200.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1178915200.0dxschafe0"]', '1178915200.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1178915200.0dxschafe1"]', '1178915200.0dxschafe2': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1178915200.0dxschafe2"]', '1178915200.0dxschafe3': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1178915200.0dxschafe3"]', '1178915200.0dxschafe4': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1178915200.0dxschafe4"]', '1178915584.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1178915584.0dxschafe"]', '1178915712.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1178915712.0dxschafe"]', '1178915840.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1178915840.0dxschafe"]', '1178915968.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1178915968.0dxschafe"]', '1178915968.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1178915968.0dxschafe0"]', '1178915968.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1178915968.0dxschafe1"]', '1178916352.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174593969.64kmuller"]["Objects"]["1178916352.0dxschafe"]', '1178916352.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174593969.64kmuller"]["Objects"]["1178916352.0dxschafe0"]', '1178916352.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1178916352.0dxschafe1"]', '1178916352.0dxschafe2': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174593969.64kmuller"]["Objects"]["1178916352.0dxschafe2"]', '1178916480.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174593969.64kmuller"]["Objects"]["1178916480.0dxschafe"]', '1178916480.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174593969.64kmuller"]["Objects"]["1178916480.0dxschafe0"]', '1178916480.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174593969.64kmuller"]["Objects"]["1178916480.0dxschafe1"]', '1178916736.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174593969.64kmuller"]["Objects"]["1178916736.0dxschafe"]', '1178916864.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174593969.64kmuller"]["Objects"]["1178916864.0dxschafe0"]', '1178916864.0dxschafe2': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174593969.64kmuller"]["Objects"]["1178916864.0dxschafe2"]', '1178916992.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174593969.64kmuller"]["Objects"]["1178916992.0dxschafe"]', '1178916992.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174593969.64kmuller"]["Objects"]["1178916992.0dxschafe0"]', '1184605825.14kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184605825.14kmuller"]', '1184605972.27kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184605972.27kmuller"]', '1184606024.95kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184606024.95kmuller"]', '1184606142.03kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184606142.03kmuller"]', '1184606208.8kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184606208.8kmuller"]', '1184606315.84kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184606315.84kmuller"]', '1184606360.88kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184606360.88kmuller"]', '1184606412.48kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184606412.48kmuller"]', '1184606535.23kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184606535.23kmuller"]', '1184606574.94kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184606574.94kmuller"]', '1184606665.86kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184606665.86kmuller"]', '1184606709.97kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184606709.97kmuller"]', '1184607058.0kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184607058.0kmuller"]', '1184607078.33kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184607078.33kmuller"]', '1184607109.23kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184607109.23kmuller"]', '1184607166.56kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184607166.56kmuller"]', '1184607271.52kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184607271.52kmuller"]', '1184607304.14kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184607304.14kmuller"]', '1184607349.0kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184607349.0kmuller"]', '1184607370.2kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184607370.2kmuller"]', '1184607436.88kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184607436.88kmuller"]', '1184607495.3kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184607495.3kmuller"]', '1184607566.23kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184607566.23kmuller"]', '1184607609.78kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184607609.78kmuller"]', '1184607768.11kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184607768.11kmuller"]', '1184607827.59kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184607827.59kmuller"]', '1184607864.88kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184607864.88kmuller"]', '1184607895.2kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184607895.2kmuller"]', '1184607969.94kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184607969.94kmuller"]', '1184608016.44kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184608016.44kmuller"]', '1184608076.2kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184608076.2kmuller"]', '1184608105.63kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184608105.63kmuller"]', '1184608425.98kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184608425.98kmuller"]', '1184608465.33kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184608465.33kmuller"]', '1184608512.98kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184608512.98kmuller"]', '1184608560.08kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184608560.08kmuller"]', '1184608595.34kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184608595.34kmuller"]', '1184608619.84kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184608619.84kmuller"]', '1184608668.23kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184608668.23kmuller"]', '1184608713.2kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184608713.2kmuller"]', '1184610428.63kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184610428.63kmuller"]', '1184610458.64kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184610458.64kmuller"]', '1184610494.58kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184610494.58kmuller"]', '1184610535.3kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184610535.3kmuller"]', '1184610565.09kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184610565.09kmuller"]', '1184610613.47kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184610613.47kmuller"]', '1184610698.55kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184610698.55kmuller"]', '1184610774.66kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184610774.66kmuller"]', '1184610838.95kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184610838.95kmuller"]', '1184610863.94kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184610863.94kmuller"]', '1184610992.23kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1184610992.23kmuller"]', '1184611060.86kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1184611060.86kmuller"]', '1184611235.05kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174593969.64kmuller"]["Objects"]["1184611235.05kmuller"]', '1184611284.53kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174593969.64kmuller"]["Objects"]["1184611284.53kmuller"]', '1184611768.08kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184611768.08kmuller"]', '1184611794.45kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184611794.45kmuller"]', '1184611853.25kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184611853.25kmuller"]', '1184611911.02kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184611911.02kmuller"]', '1184611938.45kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184611938.45kmuller"]', '1184894208.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184894208.0dxschafe"]', '1184894208.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594381.19kmuller"]["Objects"]["1184894208.0dxschafe0"]', '1184894208.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1184894208.0dxschafe1"]', '1189475072.0sdnaik4': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1189475072.0sdnaik4"]', '1189475072.0sdnaik5': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1189475072.0sdnaik5"]', '1189475072.0sdnaik6': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1189475072.0sdnaik6"]', '1189479168.0sdnaik0': '["Objects"]["1189479168.0sdnaik0"]', '1190335104.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1190335104.0dxschafe"]', '1190335104.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1190335104.0dxschafe"]', '1190336896.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1190336896.0dxschafe"]', '1190397568.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1190397568.0dxschafe"]', '1190397568.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1190397568.0dxschafe0"]', '1190397568.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174593969.64kmuller"]["Objects"]["1190397568.0dxschafe1"]', '1190397824.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1190397824.0dxschafe"]', '1190421231.79kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1190421231.79kmuller"]', '1190421243.92kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174593969.64kmuller"]["Objects"]["1190421243.92kmuller"]', '1190421267.4kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1190421267.4kmuller"]', '1190421274.39kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1190421274.39kmuller"]', '1191370240.0dchiappe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1191370240.0dchiappe"]', '1191370368.0dchiappe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1191370368.0dchiappe"]', '1191370496.0dchiappe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1191370496.0dchiappe"]', '1191370624.0dchiappe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1191370624.0dchiappe"]', '1191370624.0dchiappe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1191370624.0dchiappe0"]', '1191370624.0dchiappe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1191370624.0dchiappe1"]', '1191371136.0dchiappe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1191371136.0dchiappe"]', '1192151910.75kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1192151910.75kmuller"]', '1192498621.4kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1192498621.4kmuller"]', '1192498681.18kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1192498681.18kmuller"]', '1192498760.06kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1192498760.06kmuller"]', '1192498775.92kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1192498775.92kmuller"]', '1192498814.11kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1192498814.11kmuller"]', '1192498867.43kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1192498867.43kmuller"]', '1192498889.95kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1192498889.95kmuller"]', '1192499016.92kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1192499016.92kmuller"]', '1192499061.2kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1192499061.2kmuller"]', '1192499081.06kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1192499081.06kmuller"]', '1192571392.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1192571392.0dxschafe"]', '1192728192.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1192728192.0dxschafe"]', '1192728192.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1192728192.0dxschafe0"]', '1192728192.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1192728192.0dxschafe1"]', '1192728320.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1192728320.0dxschafe"]', '1192728320.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1192728320.0dxschafe0"]', '1192728320.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1192728320.0dxschafe1"]', '1192728448.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1192728448.0dxschafe"]', '1192728448.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1192728448.0dxschafe0"]', '1192728448.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1192728448.0dxschafe1"]', '1192728576.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1192728576.0dxschafe"]', '1192728576.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1192728576.0dxschafe0"]', '1192728576.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1192728576.0dxschafe1"]', '1192728576.0dxschafe2': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1192728576.0dxschafe2"]', '1192728704.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1192728704.0dxschafe0"]', '1192728704.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1192728704.0dxschafe1"]', '1192728704.0dxschafe2': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1192728704.0dxschafe2"]', '1192728704.0dxschafe3': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1192728704.0dxschafe3"]', '1192728832.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1192728832.0dxschafe"]', '1192728832.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1192728832.0dxschafe0"]', '1192728960.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1192728960.0dxschafe"]', '1192728960.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1192728960.0dxschafe0"]', '1192728960.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1192728960.0dxschafe1"]', '1192729216.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1192729216.0dxschafe"]', '1192729216.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1192729216.0dxschafe0"]', '1192729216.0dxschafe1': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1192729216.0dxschafe1"]', '1192729216.0dxschafe2': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1192729216.0dxschafe2"]', '1192729344.0dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1192729344.0dxschafe"]', '1192729344.0dxschafe0': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1192729344.0dxschafe0"]', '1192752241.44akelts': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1192752241.44akelts"]', '1192752278.95akelts': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1192752278.95akelts"]', '1192752297.83akelts': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1192752297.83akelts"]', '1193185772.9kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1193185772.9kmuller"]', '1201115171.39dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1201115171.39dxschafe"]', '1201115172.78dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1201115172.78dxschafe"]', '1201115174.44dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1171999232.0dxschafe"]["Objects"]["1201115174.44dxschafe"]', '1201115174.53dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172001536.0dxschafe"]["Objects"]["1201115174.53dxschafe"]', '1201115174.72dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1190335104.0dxschafe"]["Objects"]["1201115174.72dxschafe"]', '1201115175.67dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172001280.0dxschafe1"]["Objects"]["1201115175.67dxschafe"]', '1201115176.09dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172000640.0dxschafe"]["Objects"]["1201115176.09dxschafe"]', '1201115176.3dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172009984.0dxschafe"]["Objects"]["1201115176.3dxschafe"]', '1201115176.88dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172009600.0dxschafe"]["Objects"]["1201115176.88dxschafe"]', '1201115177.05dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172000512.0dxschafe"]["Objects"]["1201115177.05dxschafe"]', '1201115177.22dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172001024.0dxschafe1"]["Objects"]["1201115177.22dxschafe"]', '1201115177.31dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1170972672.0dxschafe"]["Objects"]["1201115177.31dxschafe"]', '1201115178.59dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172025856.0dxschafe1"]["Objects"]["1201115178.59dxschafe"]', '1201115178.88dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172009984.0dxschafe2"]["Objects"]["1201115178.88dxschafe"]', '1201115179.72dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172010368.0dxschafe"]["Objects"]["1201115179.72dxschafe"]', '1201115179.88dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1170972800.0dxschafe"]["Objects"]["1201115179.88dxschafe"]', '1201115180.08dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172001792.0dxschafe"]["Objects"]["1201115180.08dxschafe"]', '1201115180.23dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172025856.0dxschafe"]["Objects"]["1201115180.23dxschafe"]', '1201115180.66dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172009856.0dxschafe"]["Objects"]["1201115180.66dxschafe"]', '1201115180.73dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172024448.0dxschafe5"]["Objects"]["1201115180.73dxschafe"]', '1201115180.81dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172024448.0dxschafe3"]["Objects"]["1201115180.81dxschafe"]', '1201115180.89dxschafe': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1172024448.0dxschafe1"]["Objects"]["1201115180.89dxschafe"]', '1205363173.2kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1205363173.2kmuller"]', '1205363202.64kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1205363202.64kmuller"]', '1205363514.87kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1205363514.87kmuller"]', '1205363570.86kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1205363570.86kmuller"]', '1205363619.39kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1205363619.39kmuller"]', '1205363663.26kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1205363663.26kmuller"]', '1205363715.09kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1205363715.09kmuller"]', '1205363877.45kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1205363877.45kmuller"]', '1205364182.84kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1205364182.84kmuller"]', '1205364211.87kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1205364211.87kmuller"]', '1205364339.12kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174593969.64kmuller"]["Objects"]["1205364339.12kmuller"]', '1205364538.48kmuller': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1205364538.48kmuller"]', '1219367627.94mtucker': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1219367627.94mtucker"]', '1235001017.4caoconno': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1235001017.4caoconno"]', '1235002410.61caoconno': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1235002410.61caoconno"]', '1235002850.0caoconno': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1235002850.0caoconno"]', '1235002898.7caoconno': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1174594142.98kmuller"]["Objects"]["1235002898.7caoconno"]', '1250621255.93caoconno': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1250621255.93caoconno"]', '1250621309.21caoconno': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1250621309.21caoconno"]', '1250621362.34caoconno': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1250621362.34caoconno"]', '1250621425.74caoconno': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1250621425.74caoconno"]', '1250621463.52caoconno': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1250621463.52caoconno"]', '1250621540.74caoconno': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1250621540.74caoconno"]', '1250621603.69caoconno': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1250621603.69caoconno"]', '1250621716.18caoconno': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1250621716.18caoconno"]', '1250631871.29caoconno': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1250631871.29caoconno"]', '1250631952.2caoconno': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1250631952.2caoconno"]', '1250632016.15caoconno': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1250632016.15caoconno"]', '1250632040.76caoconno': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1250632040.76caoconno"]', '1250632073.33caoconno': '["Objects"]["1189479168.0sdnaik0"]["Objects"]["1168284130.94dxschafe"]["Objects"]["1250632073.33caoconno"]'}}
extraInfo = {'camPos': Point3(0, -14, 0), 'camHpr': VBase3(0, 0, 0), 'focalLength': 0.657999992371, 'skyState': 2, 'fog': 0} | [
"33942724+itsyaboyrocket@users.noreply.github.com"
] | 33942724+itsyaboyrocket@users.noreply.github.com |
df53c41904066323666c62a3aee1435fa56e1656 | 1577e1cf4e89584a125cffb855ca50a9654c6d55 | /pyobjc/pyobjc/pyobjc-framework-Cocoa-2.5.1/Examples/Twisted/WebServicesTool/Main.py | 03773e75ad513f0b55d85bedd372b220d75cb187 | [
"MIT"
] | permissive | apple-open-source/macos | a4188b5c2ef113d90281d03cd1b14e5ee52ebffb | 2d2b15f13487673de33297e49f00ef94af743a9a | refs/heads/master | 2023-08-01T11:03:26.870408 | 2023-03-27T00:00:00 | 2023-03-27T00:00:00 | 180,595,052 | 124 | 24 | null | 2022-12-27T14:54:09 | 2019-04-10T14:06:23 | null | UTF-8 | Python | false | false | 299 | py | import sys
from PyObjCTools import AppHelper
from twisted.internet._threadedselect import install
reactor = install()
# import classes required to start application
import WSTApplicationDelegateClass
import WSTConnectionWindowControllerClass
# pass control to the AppKit
AppHelper.runEventLoop()
| [
"opensource@apple.com"
] | opensource@apple.com |
6f42b29f6189ff7c8f8ff3c4b7144ce247a6c9d6 | 131cf803a1f7b9638ab0a604d61ab2de22906014 | /tests/system/_test_send_data_log.py | 9de000f4cc9269b98beb90050bb6822169108554 | [
"Apache-2.0"
] | permissive | dimensigon/dimensigon | 757be1e61e57f7ce0a610a9531317761393eaad0 | 079d7c91a66e10f13510d89844fbadb27e005b40 | refs/heads/master | 2023-03-09T06:50:55.994738 | 2021-02-21T11:45:01 | 2021-02-21T11:45:01 | 209,486,736 | 2 | 0 | Apache-2.0 | 2021-02-26T02:59:18 | 2019-09-19T07:11:35 | Python | UTF-8 | Python | false | false | 7,017 | py | import os
import time
from asynctest import patch, TestCase
from testfixtures import LogCapture
from dimensigon.domain.entities.log import Log
from dimensigon.utils.helpers import encode
from dimensigon.web import create_app, repo, interactor
from tests.helpers import set_response_from_mock, wait_mock_called
from tests.system.data import Server1, Server2
DEST_FOLDER = os.path.dirname(os.path.abspath(__file__))
class TestSendDataLog(TestCase):
def setUp(self) -> None:
self.file1 = os.path.join(DEST_FOLDER, 'server1.tempfile.log')
self.file2 = os.path.join(DEST_FOLDER, 'server2.tempfile.log')
self.remove_files()
self.app1 = create_app(Server1())
self.app2 = create_app(Server2())
self.client1 = self.app1.test_client()
self.client2 = self.app2.test_client()
self.lines = ['line 1\nline 2\n', 'line 3\n', 'line 4\nline 5\n']
self.i = 0
self.append_data()
def append_data(self):
with open(self.file1, 'a') as temp:
temp.write(self.lines[self.i])
self.i += 1
def get_file_offset(self):
try:
with open(self.file1 + '.offset', 'r') as temp:
return int(temp.readlines()[1].strip())
except:
return None
def get_current_offset(self):
with open(self.file1, 'r') as fd:
fd.seek(0, 2)
return fd.tell()
def remove_files(self):
for file in (self.file1, self.file2):
try:
os.remove(file)
except:
pass
try:
os.remove(file + '.offset')
except:
pass
def tearDown(self, c=0) -> None:
with self.app1.app_context():
interactor.stop_send_data_logs()
self.remove_files()
@patch('dimensigon.network.encryptation.requests.post')
def test_send_data_log(self, mock_post):
set_response_from_mock(mock_post, url='http://server2.localdomain:81/socket?', status=200, json='')
with self.app1.app_context():
log = Log(file=self.file1, server=repo.ServerRepo.find('bbbbbbbb-1234-5678-1234-56781234bbb2'),
dest_folder=DEST_FOLDER, dest_name=os.path.basename(self.file2))
repo.LogRepo.add(log)
del log
interactor._delay = None
resp = interactor.send_data_logs(blocking=False, delay=None)
wait_mock_called(mock_post, 1, 10)
mock_post.assert_called_once_with('http://server2.localdomain:81/socket',
json={'destination': 'bbbbbbbb-1234-5678-1234-56781234bbb2',
'data': encode(filename=os.path.basename(self.file2),
data_log=self.lines[0], dest_folder=DEST_FOLDER)})
with self.app2.app_context():
self.client2.post('/socket', json={'destination': 'bbbbbbbb-1234-5678-1234-56781234bbb2',
'data': encode(filename=os.path.basename(self.file2),
data_log=self.lines[0], dest_folder=DEST_FOLDER)})
c = 0
while not os.path.exists(self.file2) and c < 50:
time.sleep(0.01)
c += 1
self.assertTrue(os.path.exists(self.file2))
with open(self.file2) as fd:
self.assertEqual(self.lines[0], fd.read())
with self.app1.app_context():
self.append_data()
# force to awake thread
interactor._awake.set()
# wait until it reads the new data
wait_mock_called(mock_post, 2, 10)
interactor._awake.clear()
mock_post.assert_called_with('http://server2.localdomain:81/socket',
json={'destination': 'bbbbbbbb-1234-5678-1234-56781234bbb2',
'data': encode(filename=os.path.basename(self.file2),
data_log=self.lines[1], dest_folder=DEST_FOLDER)})
with self.app2.app_context():
self.client2.post('/socket', json={'destination': 'bbbbbbbb-1234-5678-1234-56781234bbb2',
'data': encode(filename=os.path.basename(self.file2),
data_log=self.lines[1], dest_folder=DEST_FOLDER)})
c = 0
while not os.path.exists(self.file2) and c < 50:
time.sleep(0.01)
c += 1
self.assertTrue(os.path.exists(self.file2))
with open(self.file2) as fd:
self.assertEqual(''.join(self.lines[0:2]), fd.read())
@patch('dimensigon.network.encryptation.requests.post')
def test_send_data_log_with_error(self, mock_post):
with self.app1.app_context():
log = Log(file=self.file1, server=repo.ServerRepo.find('bbbbbbbb-1234-5678-1234-56781234bbb2'),
dest_folder=DEST_FOLDER, dest_name=os.path.basename(self.file2))
repo.LogRepo.add(log)
del log
set_response_from_mock(mock_post, url='http://server2.localdomain:81/socket?', status=500,
json='{"error": "Permission Denied"}')
interactor._delay = None
with LogCapture() as l:
resp = interactor.send_data_logs(blocking=False, delay=None)
wait_mock_called(mock_post, 1, 50)
self.assertTrue(True)
self.assertFalse(os.path.exists(self.file1 + '.offset'))
mock_post.assert_called_once_with('http://server2.localdomain:81/socket',
json={'destination': 'bbbbbbbb-1234-5678-1234-56781234bbb2',
'data': encode(filename=os.path.basename(self.file2),
data_log=self.lines[0], dest_folder=DEST_FOLDER)})
set_response_from_mock(mock_post, url='http://server2.localdomain:81/socket?', status=200, json='')
self.append_data()
# force to awake thread
interactor._awake.set()
# wait until it reads the new data
wait_mock_called(mock_post, 2, 50)
interactor._awake.clear()
mock_post.assert_called_with('http://server2.localdomain:81/socket',
json={'destination': 'bbbbbbbb-1234-5678-1234-56781234bbb2',
'data': encode(filename=os.path.basename(self.file2),
data_log=''.join(self.lines[0:2]),
dest_folder=DEST_FOLDER)})
| [
"joan.prat@knowtrade.eu"
] | joan.prat@knowtrade.eu |
70bd17e954d28ddca64b7dd70aeef2d4453d70f9 | bb876209ee0dd24e0e8703776993ddae574ab2e5 | /scheduler/models.py | 9c07645aebb37f7d8df20ca56a431bd48cf57a5d | [] | no_license | VBGI/scheduler | 76e382e50198749f458e0ca42801c509c1223c5e | bab7994499399b00f5132950a8a8c15ae5f2725b | refs/heads/master | 2020-12-25T14:12:42.235567 | 2019-05-28T23:30:45 | 2019-05-28T23:30:45 | 61,006,849 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,837 | py | #coding: utf-8
import datetime
from django.db import models
from django.utils import timezone
from django.utils.translation import gettext as _
from cms.models.pluginmodel import CMSPlugin
from django.contrib.auth import get_user_model
import uuid
class ScheduleName(models.Model):
name = models.CharField(max_length=300, blank=False,
verbose_name="Название", default="Без имени")
mininterval = models.IntegerField(default=60, verbose_name=_("Интервал, мин."))
starttime = models.TimeField(default=datetime.time(hour=11), verbose_name=_("Начало"))
endtime = models.TimeField(default=datetime.time(hour=11), verbose_name=_("Конец"))
maxnumber = models.IntegerField(default=3, verbose_name=_("Число участников max."))
user = models.ForeignKey(get_user_model(), blank=True, null=True, related_name='+')
def __unicode__(self):
return self.name
class Meta:
verbose_name = _('Наименование расписания')
verbose_name_plural = _('Наименования расписаний')
permissions = (('can_edit_all', 'Can edit all objects'),)
class ScheduleDates(models.Model):
name = models.ForeignKey(ScheduleName, verbose_name="Расписание", related_name='dates')
date = models.DateField(default=timezone.now())
user = models.ForeignKey(get_user_model(), blank=True, null=True, related_name='+')
dateonly = models.BooleanField(default=False, blank=True)
def __unicode__(self):
return self.name.name + '|' + str(self.date)
class Meta:
verbose_name = _('Дата события')
verbose_name_plural = _('Даты событий')
ordering = ('date',)
class ScheduleModel(models.Model):
THENUM = ((1, 'Один'), (2, 'Два'), (3, 'Три'), (4, 'Четыре'), (5, 'Пять'))
username = models.CharField(max_length=100, default='', blank=True, verbose_name=_("ФИО детей"))
phone = models.CharField(max_length=20, default='', blank=True, verbose_name=_("Телефон"))
email = models.EmailField(blank=True)
num = models.IntegerField(default=1, choices=THENUM, verbose_name=_("Число участников"), blank=True)
time = models.ForeignKey('ScheduleTimes', null=True, related_name='registered', verbose_name=_("Время"))
user = models.ForeignKey(get_user_model(), blank=True, null=True, related_name='+')
hashid = models.CharField(max_length=32, default=uuid.uuid4().hex, editable=False, blank=True)
def __unicode__(self):
return self.username + '|' + self.phone + '|' + str(self.time.date.date) + '|' + str(self.time.time)
class Meta:
verbose_name = _('Запись регистрации')
verbose_name_plural = _('Записи регистрации')
class ScheduleTimes(models.Model):
date = models.ForeignKey(ScheduleDates, verbose_name="Дата", related_name='times')
time = models.TimeField(default=timezone.now())
user = models.ForeignKey(get_user_model(), blank=True, null=True, related_name='+')
def __unicode__(self):
return self.date.name.name + '|' + str(self.date.date) + '|' + str(self.time)
class Meta:
verbose_name = _('Время регистрации')
verbose_name_plural = _('Времена регистрации')
ordering = ('time',)
@property
def get_registered(self):
return self.registered.aggregate(models.Sum('num'))['num__sum'] or 0
@property
def get_free_places(self):
return self.date.name.maxnumber - self.get_registered
class SchedulePlugin(CMSPlugin):
schedule = models.ForeignKey(ScheduleName, verbose_name=u"Название расписания")
| [
"kislov@easydan.com"
] | kislov@easydan.com |
eea43de376cb897b20a61bb982a7b05e4f2fae81 | 453ca12d912f6498720152342085636ba00c28a1 | /leetcode/design/python/moving_average_from_data_stream.py | 55d1641ad0ec216e4ab718f3c23ae61e9a5ad5d4 | [] | no_license | yanbinkang/problem-bank | f9aa65d83a32b830754a353b6de0bb7861a37ec0 | bf9cdf9ec680c9cdca1357a978c3097d19e634ae | refs/heads/master | 2020-06-28T03:36:49.401092 | 2019-05-20T15:13:48 | 2019-05-20T15:13:48 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,052 | py | """
https://leetcode.com/problems/moving-average-from-data-stream/
Given a stream of integers and a window size, calculate the moving average of all integers in the sliding window.
Example:
MovingAverage m = new MovingAverage(3);
m.next(1) = 1
m.next(10) = (1 + 10) / 2
m.next(3) = (1 + 10 + 3) / 3
m.next(5) = (10 + 3 + 5) / 3
"""
import collections
class MovingAverage(object):
def __init__(self, size):
"""
Initialize your data structure here.
:type size: int
"""
# this makes sure the length of the queue is always 3.
# So, for example, when appending the 4th item remove the first element in the queue
self.queue = collections.deque(maxlen=size)
def next(self, val):
"""
:type val: int
:rtype: float
"""
self.queue.append(val)
# Calculate the average
return float(sum(self.queue)) / len(self.queue)
if __name__ == "__main__":
obj = MovingAverage(3)
obj.next(1)
obj.next(10)
obj.next(3)
obj.next(5)
| [
"albert.agram@gmail.com"
] | albert.agram@gmail.com |
eca07cb004b4613516ccb414988d5bb9a8e160c7 | 6a253ee7b47c5f70c826bbc97bb8e33cd1dab3b6 | /1.Working with Big Data/Filtering WDI data in chunks.py | 47f95bac4b95fdcdf114f490697e9b72817d33e9 | [] | no_license | Mat4wrk/Parallel-Programming-with-Dask-in-Python-Datacamp | 19a646d6d16ff46173964c25639ff923407c8f32 | 535f69b78adb50cffc7f402f81ddff19f853eea1 | refs/heads/main | 2023-03-06T19:52:39.495066 | 2021-02-13T13:27:06 | 2021-02-13T13:27:06 | 338,565,569 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 447 | py | # Create empty list: dfs
dfs = []
# Loop over 'WDI.csv'
for chunk in pd.read_csv('WDI.csv', chunksize=1000):
# Create the first Series
is_urban = chunk['Indicator Name']=='Urban population (% of total)'
# Create the second Series
is_AUS = chunk['Country Code']=='AUS'
# Create the filtered chunk: filtered
filtered = chunk.loc[is_urban & is_AUS]
# Append the filtered chunk to the list dfs
dfs.append(filtered)
| [
"noreply@github.com"
] | Mat4wrk.noreply@github.com |
cf384d5aaa2c2e59d5a966f204789d3d44decda4 | 20c20938e201a0834ccf8b5f2eb5d570d407ad15 | /abc010/abc010_3/8100691.py | 6ae85719796706bdbb385f17a52778fd58ebedee | [] | no_license | kouhei-k/atcoder_submissions | 8e1a1fb30c38e0d443b585a27c6d134bf1af610a | 584b4fd842ccfabb16200998fe6652f018edbfc5 | refs/heads/master | 2021-07-02T21:20:05.379886 | 2021-03-01T12:52:26 | 2021-03-01T12:52:26 | 227,364,764 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 452 | py | tmp = list(map(int, input().split()))
t = [[tmp[0], tmp[1]], [tmp[2], tmp[3]]]
T = tmp[4]
V = tmp[5]
n = int(input())
home = [list(map(int, input().split())) for i in range(n)]
def dis(a, b, c, d):
return (abs(c-a)**2 + abs(d-b)**2)**0.5
for i in range(n):
tmp = 0
d = dis(t[0][0], t[0][1], home[i][0], home[i][1])
d += dis(home[i][0], home[i][1], t[1][0], t[1][1])
if d <= T*V:
print("YES")
exit(0)
print("NO")
| [
"kouhei.k.0116@gmail.com"
] | kouhei.k.0116@gmail.com |
c1bef48cd261ed57b3cab96e4aa30c381dbf94b6 | 53ae656e1e06c6ef46e2222043ae49b0c005218c | /pdfstream/callbacks/composer.py | 2641a2f65fd3d93d93d5f9958c9cb420c9a19b2f | [
"BSD-3-Clause"
] | permissive | st3107/pdfstream | de5e6cedec0f4eb034dc7a8fec74f0dd773d6260 | 6e1829d889e5f5400386513efe993ad0596da8a5 | refs/heads/master | 2023-02-15T21:13:56.288827 | 2021-01-14T01:02:39 | 2021-01-14T01:02:39 | 315,751,081 | 0 | 0 | BSD-3-Clause | 2020-11-24T20:59:20 | 2020-11-24T20:59:20 | null | UTF-8 | Python | false | false | 1,805 | py | """Event model run composer from files."""
import time
import typing as tp
import uuid
import numpy as np
from event_model import compose_run, ComposeDescriptorBundle
def gen_stream(
data_lst: tp.List[dict],
metadata: dict,
uid: str = None
) -> tp.Generator[tp.Tuple[str, dict], None, None]:
"""Generate a fake doc stream from data and metadata."""
crb = compose_run(metadata=metadata, uid=uid if uid else str(uuid.uuid4()))
yield "start", crb.start_doc
if len(data_lst) == 0:
yield "stop", crb.compose_stop()
else:
cdb: ComposeDescriptorBundle = crb.compose_descriptor(
name="primary",
data_keys=compose_data_keys(data_lst[0])
)
yield "descriptor", cdb.descriptor_doc
for data in data_lst:
yield "event", cdb.compose_event(data=data, timestamps=compose_timestamps(data))
yield "stop", crb.compose_stop()
def compose_data_keys(data: tp.Dict[str, tp.Any]) -> tp.Dict[str, dict]:
"""Compose the data keys."""
return {k: dict(**compose_data_info(v), source="PV:{}".format(k.upper())) for k, v in data.items()}
def compose_data_info(value: tp.Any) -> dict:
"""Compose the data information."""
if isinstance(value, str):
return {"dtype": "string", "shape": []}
elif isinstance(value, float):
return {"dtype": "number", "shape": []}
elif isinstance(value, bool):
return {"dtype": "boolean", "shape": []}
elif isinstance(value, int):
return {"dtype": "integer", "shape": []}
else:
return {"dtype": "array", "shape": np.shape(value)}
def compose_timestamps(data: tp.Dict[str, tp.Any]) -> tp.Dict[str, float]:
"""Compose the fake time for the data measurement."""
return {k: time.time() for k in data.keys()}
| [
"st3107@columbia.edu"
] | st3107@columbia.edu |
7eb3bbc5bac236563777724a446040038ea1a596 | 205be8d429df36e27cdfc048bfca9212c5a62a87 | /env/bin/pip3 | e8e16f9ea539e3d0d10e41c86176dad493bfce75 | [] | no_license | KennyChrisUmurundi/HOsto | 16c8f926282fc48c981532447f1685fbbc2b457c | 33fa31524a08934f3deb8f622a1b1554d8ef1af4 | refs/heads/master | 2022-04-01T02:42:39.146227 | 2020-01-07T11:44:08 | 2020-01-07T11:44:08 | 193,458,881 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 240 | #!/home/jason/project/hosto/env/bin/python3
# -*- coding: utf-8 -*-
import re
import sys
from pip._internal import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(main())
| [
"ndayikennysmuusic@gmail.com"
] | ndayikennysmuusic@gmail.com | |
bfb366650bfeb39f05a2007bb95d868bc8e7e798 | 049d0f7e867b7454e8cec70f1b46f96960be0d1b | /contact_model/admin.py | 68d8097941409cb539835c4283c950efa005055a | [] | no_license | Dimas4/StartApp-BackEnd | 8f06f9f73062ffe8dbffdfc28f3962551f5926b7 | 96a2b62d789408dcb8a1e90142aacae2e54d97c8 | refs/heads/master | 2020-03-30T03:59:09.845794 | 2018-09-28T19:16:35 | 2018-09-28T19:16:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 94 | py | from django.contrib import admin
from .models import Contact
admin.site.register(Contact)
| [
"ivanshatukho@yandex.ru"
] | ivanshatukho@yandex.ru |
e2be5f3aac3643696d95714676176f061a50f3d0 | f195c155cea434ec4f300f149ee84ecb3feb3cbc | /2019/08 August/dp08252019.py | 2ae41c879f7eaf13b9d1ccef4c4acab76f43bf91 | [
"MIT"
] | permissive | ourangzeb/DailyPracticeProblemsDIP | 7e1491dbec81fa88e50600ba1fd44677a28559ad | 66c07af88754e5d59b243e3ee9f02db69f7c0a77 | refs/heads/master | 2022-04-08T15:51:06.997833 | 2020-02-24T05:51:11 | 2020-02-24T05:51:11 | 257,056,516 | 1 | 0 | MIT | 2020-04-19T17:08:23 | 2020-04-19T17:08:22 | null | UTF-8 | Python | false | false | 1,223 | py | # This problem was recently asked by Google:
# You are given a hash table where the key is a course code, and the value is a list of all the course codes
# that are prerequisites for the key. Return a valid ordering in which we can complete the courses.
# If no such ordering exists, return NULL.
import operator
def courses_to_take(course_to_prereqs):
# Fill this in.
count = {}
final = []
for i in course_to_prereqs:
if i not in count.keys():
count[i] = 0
for j in course_to_prereqs[i]:
if j not in count.keys():
count[j] = 1
else:
count[j] += 1
nullChk = 0
for i in count:
nullChk += count[i]
if nullChk == 0:
return 'NULL'
sort_count = sorted(count.items(), key=lambda kv:kv[1],reverse=True)
# Based on the assumption that a course that appears the most amongst the prerequesites must be taken first
# Pl. suggest an alternative if possible.
for i in sort_count:
final.append(i[0])
return final
courses = {
'CSC300': ['CSC100', 'CSC200'],
'CSC200': ['CSC100'],
'CSC100': []
}
print (courses_to_take(courses))
# ['CSC100', 'CSC200', 'CSC300']
| [
"vishrutkmr7@gmail.com"
] | vishrutkmr7@gmail.com |
97b49a82997a7b5e9e070a347ec462d9e32909cc | 3d8871ed3dc79f47c2972b6169f1e7d169276a5e | /tests/examples/test_sirs.py | 8fcf1d9fdddde4e61ec4970d2f89f6c639ef1220 | [
"MIT"
] | permissive | clprenz/de_sim | 70bb19af92cc611e2ba0ab8578aed1300d4cd148 | 3944a1c46c4387a78e1c412d760b7f6ade27a1c0 | refs/heads/master | 2022-11-18T14:27:50.033529 | 2020-07-15T19:54:40 | 2020-07-15T19:54:40 | 280,269,848 | 0 | 0 | MIT | 2020-07-16T22:15:47 | 2020-07-16T22:15:46 | null | UTF-8 | Python | false | false | 2,906 | py | """ Test SIR model
:Author: Arthur Goldberg <Arthur.Goldberg@mssm.edu>
:Date: 2020-07-09
:Copyright: 2020, Karr Lab
:License: MIT
"""
import unittest
import random
import warnings
from capturer import CaptureOutput
from de_sim.examples.sirs import SIR, SIR2, RunSIRs
class TestSIRs(unittest.TestCase):
""" Test SIR models using parameters from Fig. 1 of Allen (2017).
Allen, L.J., 2017. A primer on stochastic epidemic models: Formulation, numerical simulation, and analysis.
Infectious Disease Modelling, 2(2), pp.128-142.
"""
def setUp(self):
warnings.simplefilter("ignore")
def run_sir_test(self, sir_class):
with CaptureOutput(relay=False) as capturer:
sir_args = dict(name='sir',
s=98,
i=2,
N=100,
beta=0.3,
gamma=0.15,
recording_period=10)
sir = RunSIRs.main(sir_class, time_max=60, seed=17, **sir_args)
RunSIRs.print_history(sir)
expected_output_strings = ['time', '\ts\t', '60\t', 'Executed']
for expected_output_string in expected_output_strings:
self.assertIn(expected_output_string, capturer.get_text())
with CaptureOutput(relay=False):
# test lambda_val == 0
sir_args['i'] = 0
RunSIRs.main(sir_class, time_max=20, seed=13, **sir_args)
def test_run_sir(self):
self.run_sir_test(SIR)
self.run_sir_test(SIR2)
def run_P_minor_outbreak_test(self, sir_class):
# Allen (2017) estimates P[minor outbreak] for the SIR model shown in Fig. 1 as 0.25
ensemble_size = 50
num_minor_outbreaks = 0
with CaptureOutput(relay=False):
for _ in range(ensemble_size):
sir_args = dict(name='sir',
s=98,
i=2,
N=100,
beta=0.3,
gamma=0.15,
recording_period=10)
seed = random.randrange(1E6)
sir = RunSIRs.main(sir_class, time_max=60, seed=seed, **sir_args)
# consider an outbreak to be minor if no infections remain and fewer than 10 people were infected
if sir.history[-1]['i'] == 0 and 90 < sir.history[-1]['s']:
num_minor_outbreaks += 1
p_minor_outbreak = num_minor_outbreaks / ensemble_size
expected_p_minor_outbreak = 0.25
self.assertGreater(p_minor_outbreak, 0.5 * expected_p_minor_outbreak)
self.assertLess(p_minor_outbreak, 2 * expected_p_minor_outbreak)
def test_P_minor_outbreak(self):
self.run_P_minor_outbreak_test(SIR)
self.run_P_minor_outbreak_test(SIR2)
| [
"artgoldberg@gmail.com"
] | artgoldberg@gmail.com |
e8866fd37a49161f55b890db8ddbc65e28b002a8 | 2f5ede8cdd60198f636a3ceba114e9a1e8ed8300 | /app/blog/__init__.py | bf8a16654d6b04a56a187eb703641e22b5766022 | [
"MIT"
] | permissive | AryaEver/market | b8b1d7dac4e780330cee49184851a15f8402f0ae | 03149871e9c309f7676d878fdea5441398a84571 | refs/heads/main | 2023-06-23T06:19:28.044240 | 2021-07-11T17:28:10 | 2021-07-11T17:28:10 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 76 | py | from app.blog.views import blog # noqa
from app.blog import errors # noqa
| [
"aniekanokono@gmail.com"
] | aniekanokono@gmail.com |
0f816613b12f5b6aa964906c9c6177e82f93e869 | 5e989188eb0cfde46f57e033679bd7817eae6620 | /liteeth/phy/ku_1000basex.py | 89cf17cfeca716831b10f858f99c66075a52fe60 | [
"BSD-2-Clause"
] | permissive | telantan/liteeth | 1f85b086a7740013f4adfcecc92644fd147085e3 | 73bd27b506211f12f8c515ad93a3cc65a3624dc3 | refs/heads/master | 2020-12-13T16:37:47.229699 | 2020-01-16T14:29:49 | 2020-01-16T14:46:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 30,807 | py | # This file is Copyright (c) 2018 Sebastien Bourdeauducq <sb@m-labs.hk>
# This file is Copyright (c) 2019 Florent Kermarrec <florent@enjoy-digital.fr>
# License: BSD
from migen import *
from migen.genlib.resetsync import AsyncResetSynchronizer
from migen.genlib.cdc import PulseSynchronizer
from liteeth.phy.pcs_1000basex import *
class Gearbox(Module):
def __init__(self):
self.tx_data = Signal(10)
self.tx_data_half = Signal(20)
self.rx_data_half = Signal(20)
self.rx_data = Signal(10)
# TX
buf = Signal(20)
self.sync.eth_tx += buf.eq(Cat(buf[10:], self.tx_data))
self.sync.eth_tx_half += self.tx_data_half.eq(buf)
# RX
phase_half = Signal()
phase_half_rereg = Signal()
self.sync.eth_rx_half += phase_half_rereg.eq(phase_half)
self.sync.eth_rx += [
If(phase_half == phase_half_rereg,
self.rx_data.eq(self.rx_data_half[10:])
).Else(
self.rx_data.eq(self.rx_data_half[:10])
),
phase_half.eq(~phase_half),
]
# Configured for 200MHz transceiver reference clock
class KU_1000BASEX(Module):
dw = 8
def __init__(self, refclk_or_clk_pads, data_pads, sys_clk_freq):
pcs = PCS(lsb_first=True)
self.submodules += pcs
self.sink = pcs.sink
self.source = pcs.source
self.link_up = pcs.link_up
self.clock_domains.cd_eth_tx = ClockDomain()
self.clock_domains.cd_eth_rx = ClockDomain()
self.clock_domains.cd_eth_tx_half = ClockDomain(reset_less=True)
self.clock_domains.cd_eth_rx_half = ClockDomain(reset_less=True)
# for specifying clock constraints. 125MHz clocks.
self.txoutclk = Signal()
self.rxoutclk = Signal()
# # #
if isinstance(refclk_or_clk_pads, Signal):
refclk = refclk_or_clk_pads
else:
refclk = Signal()
self.specials += Instance("IBUFDS_GTE3",
i_I=refclk_or_clk_pads.p,i_IB=refclk_or_clk_pads.n,
i_CEB=0, o_O=refclk)
gtpowergood = Signal()
pll_reset = Signal(reset=1)
pll_locked = Signal()
tx_reset = Signal()
tx_data = Signal(20)
tx_reset_done = Signal()
rx_reset = Signal()
rx_data = Signal(20)
rx_reset_done = Signal()
xilinx_mess = dict(
p_ACJTAG_DEBUG_MODE=0b0,
p_ACJTAG_MODE=0b0,
p_ACJTAG_RESET=0b0,
p_ADAPT_CFG0=0b1111100000000000,
p_ADAPT_CFG1=0b0000000000000000,
p_ALIGN_COMMA_DOUBLE="FALSE",
p_ALIGN_COMMA_ENABLE=0b0000000000,
p_ALIGN_COMMA_WORD=1,
p_ALIGN_MCOMMA_DET="FALSE",
p_ALIGN_MCOMMA_VALUE=0b1010000011,
p_ALIGN_PCOMMA_DET="FALSE",
p_ALIGN_PCOMMA_VALUE=0b0101111100,
p_A_RXOSCALRESET=0b0,
p_A_RXPROGDIVRESET=0b0,
p_A_TXPROGDIVRESET=0b0,
p_CBCC_DATA_SOURCE_SEL="ENCODED",
p_CDR_SWAP_MODE_EN=0b0,
p_CHAN_BOND_KEEP_ALIGN="FALSE",
p_CHAN_BOND_MAX_SKEW=1,
p_CHAN_BOND_SEQ_1_1=0b0000000000,
p_CHAN_BOND_SEQ_1_2=0b0000000000,
p_CHAN_BOND_SEQ_1_3=0b0000000000,
p_CHAN_BOND_SEQ_1_4=0b0000000000,
p_CHAN_BOND_SEQ_1_ENABLE=0b1111,
p_CHAN_BOND_SEQ_2_1=0b0000000000,
p_CHAN_BOND_SEQ_2_2=0b0000000000,
p_CHAN_BOND_SEQ_2_3=0b0000000000,
p_CHAN_BOND_SEQ_2_4=0b0000000000,
p_CHAN_BOND_SEQ_2_ENABLE=0b1111,
p_CHAN_BOND_SEQ_2_USE="FALSE",
p_CHAN_BOND_SEQ_LEN=1,
p_CLK_CORRECT_USE="FALSE",
p_CLK_COR_KEEP_IDLE="FALSE",
p_CLK_COR_MAX_LAT=6,
p_CLK_COR_MIN_LAT=4,
p_CLK_COR_PRECEDENCE="TRUE",
p_CLK_COR_REPEAT_WAIT=0,
p_CLK_COR_SEQ_1_1=0b0000000000,
p_CLK_COR_SEQ_1_2=0b0000000000,
p_CLK_COR_SEQ_1_3=0b0000000000,
p_CLK_COR_SEQ_1_4=0b0000000000,
p_CLK_COR_SEQ_1_ENABLE=0b1111,
p_CLK_COR_SEQ_2_1=0b0000000000,
p_CLK_COR_SEQ_2_2=0b0000000000,
p_CLK_COR_SEQ_2_3=0b0000000000,
p_CLK_COR_SEQ_2_4=0b0000000000,
p_CLK_COR_SEQ_2_ENABLE=0b1111,
p_CLK_COR_SEQ_2_USE="FALSE",
p_CLK_COR_SEQ_LEN=1,
p_CPLL_CFG0=0b0110011111111000,
p_CPLL_CFG1=0b1010010010101100,
p_CPLL_CFG2=0b0000000000000111,
p_CPLL_CFG3=0b000000,
p_CPLL_FBDIV=5,
p_CPLL_FBDIV_45=5,
p_CPLL_INIT_CFG0=0b0000001010110010,
p_CPLL_INIT_CFG1=0b00000000,
p_CPLL_LOCK_CFG=0b0000000111101000,
p_CPLL_REFCLK_DIV=2,
p_DDI_CTRL=0b00,
p_DDI_REALIGN_WAIT=15,
p_DEC_MCOMMA_DETECT="FALSE",
p_DEC_PCOMMA_DETECT="FALSE",
p_DEC_VALID_COMMA_ONLY="FALSE",
p_DFE_D_X_REL_POS=0b0,
p_DFE_VCM_COMP_EN=0b0,
p_DMONITOR_CFG0=0b0000000000,
p_DMONITOR_CFG1=0b00000000,
p_ES_CLK_PHASE_SEL=0b0,
p_ES_CONTROL=0b000000,
p_ES_ERRDET_EN="FALSE",
p_ES_EYE_SCAN_EN="FALSE",
p_ES_HORZ_OFFSET=0b000000000000,
p_ES_PMA_CFG=0b0000000000,
p_ES_PRESCALE=0b00000,
p_ES_QUALIFIER0=0b0000000000000000,
p_ES_QUALIFIER1=0b0000000000000000,
p_ES_QUALIFIER2=0b0000000000000000,
p_ES_QUALIFIER3=0b0000000000000000,
p_ES_QUALIFIER4=0b0000000000000000,
p_ES_QUAL_MASK0=0b0000000000000000,
p_ES_QUAL_MASK1=0b0000000000000000,
p_ES_QUAL_MASK2=0b0000000000000000,
p_ES_QUAL_MASK3=0b0000000000000000,
p_ES_QUAL_MASK4=0b0000000000000000,
p_ES_SDATA_MASK0=0b0000000000000000,
p_ES_SDATA_MASK1=0b0000000000000000,
p_ES_SDATA_MASK2=0b0000000000000000,
p_ES_SDATA_MASK3=0b0000000000000000,
p_ES_SDATA_MASK4=0b0000000000000000,
p_EVODD_PHI_CFG=0b00000000000,
p_EYE_SCAN_SWAP_EN=0b0,
p_FTS_DESKEW_SEQ_ENABLE=0b1111,
p_FTS_LANE_DESKEW_CFG=0b1111,
p_FTS_LANE_DESKEW_EN="FALSE",
p_GEARBOX_MODE=0b00000,
p_GM_BIAS_SELECT=0b0,
p_LOCAL_MASTER=0b1,
p_OOBDIVCTL=0b00,
p_OOB_PWRUP=0b0,
p_PCI3_AUTO_REALIGN="OVR_1K_BLK",
p_PCI3_PIPE_RX_ELECIDLE=0b0,
p_PCI3_RX_ASYNC_EBUF_BYPASS=0b00,
p_PCI3_RX_ELECIDLE_EI2_ENABLE=0b0,
p_PCI3_RX_ELECIDLE_H2L_COUNT=0b000000,
p_PCI3_RX_ELECIDLE_H2L_DISABLE=0b000,
p_PCI3_RX_ELECIDLE_HI_COUNT=0b000000,
p_PCI3_RX_ELECIDLE_LP4_DISABLE=0b0,
p_PCI3_RX_FIFO_DISABLE=0b0,
p_PCIE_BUFG_DIV_CTRL=0b0001000000000000,
p_PCIE_RXPCS_CFG_GEN3=0b0000001010100100,
p_PCIE_RXPMA_CFG=0b0000000000001010,
p_PCIE_TXPCS_CFG_GEN3=0b0010110010100100,
p_PCIE_TXPMA_CFG=0b0000000000001010,
p_PCS_PCIE_EN="FALSE",
p_PCS_RSVD0=0b0000000000000000,
p_PCS_RSVD1=0b000,
p_PD_TRANS_TIME_FROM_P2=0b000000111100,
p_PD_TRANS_TIME_NONE_P2=0b00011001,
p_PD_TRANS_TIME_TO_P2=0b01100100,
p_PLL_SEL_MODE_GEN12=0b00,
p_PLL_SEL_MODE_GEN3=0b11,
p_PMA_RSV1=0b1111000000000000,
p_PROCESS_PAR=0b010,
p_RATE_SW_USE_DRP=0b1,
p_RESET_POWERSAVE_DISABLE=0b0,
)
xilinx_mess.update(
p_RXBUFRESET_TIME=0b00011,
p_RXBUF_ADDR_MODE="FAST",
p_RXBUF_EIDLE_HI_CNT=0b1000,
p_RXBUF_EIDLE_LO_CNT=0b0000,
p_RXBUF_EN="TRUE",
p_RXBUF_RESET_ON_CB_CHANGE="TRUE",
p_RXBUF_RESET_ON_COMMAALIGN="FALSE",
p_RXBUF_RESET_ON_EIDLE="FALSE",
p_RXBUF_RESET_ON_RATE_CHANGE="TRUE",
p_RXBUF_THRESH_OVFLW=61,
p_RXBUF_THRESH_OVRD="TRUE",
p_RXBUF_THRESH_UNDFLW=1,
p_RXCDRFREQRESET_TIME=0b00001,
p_RXCDRPHRESET_TIME=0b00001,
p_RXCDR_CFG0=0b0000000000000000,
p_RXCDR_CFG0_GEN3=0b0000000000000000,
p_RXCDR_CFG1=0b0000000000000000,
p_RXCDR_CFG1_GEN3=0b0000000000000000,
p_RXCDR_CFG2=0b0000011111000110,
p_RXCDR_CFG2_GEN3=0b0000011111100110,
p_RXCDR_CFG3=0b0000000000000000,
p_RXCDR_CFG3_GEN3=0b0000000000000000,
p_RXCDR_CFG4=0b0000000000000000,
p_RXCDR_CFG4_GEN3=0b0000000000000000,
p_RXCDR_CFG5=0b0000000000000000,
p_RXCDR_CFG5_GEN3=0b0000000000000000,
p_RXCDR_FR_RESET_ON_EIDLE=0b0,
p_RXCDR_HOLD_DURING_EIDLE=0b0,
p_RXCDR_LOCK_CFG0=0b0100010010000000,
p_RXCDR_LOCK_CFG1=0b0101111111111111,
p_RXCDR_LOCK_CFG2=0b0111011111000011,
p_RXCDR_PH_RESET_ON_EIDLE=0b0,
p_RXCFOK_CFG0=0b0100000000000000,
p_RXCFOK_CFG1=0b0000000001100101,
p_RXCFOK_CFG2=0b0000000000101110,
p_RXDFELPMRESET_TIME=0b0001111,
p_RXDFELPM_KL_CFG0=0b0000000000000000,
p_RXDFELPM_KL_CFG1=0b0000000000110010,
p_RXDFELPM_KL_CFG2=0b0000000000000000,
p_RXDFE_CFG0=0b0000101000000000,
p_RXDFE_CFG1=0b0000000000000000,
p_RXDFE_GC_CFG0=0b0000000000000000,
p_RXDFE_GC_CFG1=0b0111100001110000,
p_RXDFE_GC_CFG2=0b0000000000000000,
p_RXDFE_H2_CFG0=0b0000000000000000,
p_RXDFE_H2_CFG1=0b0000000000000000,
p_RXDFE_H3_CFG0=0b0100000000000000,
p_RXDFE_H3_CFG1=0b0000000000000000,
p_RXDFE_H4_CFG0=0b0010000000000000,
p_RXDFE_H4_CFG1=0b0000000000000011,
p_RXDFE_H5_CFG0=0b0010000000000000,
p_RXDFE_H5_CFG1=0b0000000000000011,
p_RXDFE_H6_CFG0=0b0010000000000000,
p_RXDFE_H6_CFG1=0b0000000000000000,
p_RXDFE_H7_CFG0=0b0010000000000000,
p_RXDFE_H7_CFG1=0b0000000000000000,
p_RXDFE_H8_CFG0=0b0010000000000000,
p_RXDFE_H8_CFG1=0b0000000000000000,
p_RXDFE_H9_CFG0=0b0010000000000000,
p_RXDFE_H9_CFG1=0b0000000000000000,
p_RXDFE_HA_CFG0=0b0010000000000000,
p_RXDFE_HA_CFG1=0b0000000000000000,
p_RXDFE_HB_CFG0=0b0010000000000000,
p_RXDFE_HB_CFG1=0b0000000000000000,
p_RXDFE_HC_CFG0=0b0000000000000000,
p_RXDFE_HC_CFG1=0b0000000000000000,
p_RXDFE_HD_CFG0=0b0000000000000000,
p_RXDFE_HD_CFG1=0b0000000000000000,
p_RXDFE_HE_CFG0=0b0000000000000000,
p_RXDFE_HE_CFG1=0b0000000000000000,
p_RXDFE_HF_CFG0=0b0000000000000000,
p_RXDFE_HF_CFG1=0b0000000000000000,
p_RXDFE_OS_CFG0=0b1000000000000000,
p_RXDFE_OS_CFG1=0b0000000000000000,
p_RXDFE_UT_CFG0=0b1000000000000000,
p_RXDFE_UT_CFG1=0b0000000000000011,
p_RXDFE_VP_CFG0=0b1010101000000000,
p_RXDFE_VP_CFG1=0b0000000000110011,
p_RXDLY_CFG=0b0000000000011111,
p_RXDLY_LCFG=0b0000000000110000,
p_RXELECIDLE_CFG="Sigcfg_4",
p_RXGBOX_FIFO_INIT_RD_ADDR=4,
p_RXGEARBOX_EN="FALSE",
p_RXISCANRESET_TIME=0b00001,
p_RXLPM_CFG=0b0000000000000000,
p_RXLPM_GC_CFG=0b0001000000000000,
p_RXLPM_KH_CFG0=0b0000000000000000,
p_RXLPM_KH_CFG1=0b0000000000000010,
p_RXLPM_OS_CFG0=0b1000000000000000,
p_RXLPM_OS_CFG1=0b0000000000000010,
p_RXOOB_CFG=0b000000110,
p_RXOOB_CLK_CFG="PMA",
p_RXOSCALRESET_TIME=0b00011,
p_RXOUT_DIV=4,
p_RXPCSRESET_TIME=0b00011,
p_RXPHBEACON_CFG=0b0000000000000000,
p_RXPHDLY_CFG=0b0010000000100000,
p_RXPHSAMP_CFG=0b0010000100000000,
p_RXPHSLIP_CFG=0b0110011000100010,
p_RXPH_MONITOR_SEL=0b00000,
p_RXPI_CFG0=0b01,
p_RXPI_CFG1=0b01,
p_RXPI_CFG2=0b01,
p_RXPI_CFG3=0b01,
p_RXPI_CFG4=0b1,
p_RXPI_CFG5=0b1,
p_RXPI_CFG6=0b011,
p_RXPI_LPM=0b0,
p_RXPI_VREFSEL=0b0,
p_RXPMACLK_SEL="DATA",
p_RXPMARESET_TIME=0b00011,
p_RXPRBS_ERR_LOOPBACK=0b0,
p_RXPRBS_LINKACQ_CNT=15,
p_RXSLIDE_AUTO_WAIT=7,
p_RXSLIDE_MODE="OFF",
p_RXSYNC_MULTILANE=0b0,
p_RXSYNC_OVRD=0b0,
p_RXSYNC_SKIP_DA=0b0,
p_RX_AFE_CM_EN=0b0,
p_RX_BIAS_CFG0=0b0000101010110100,
p_RX_BUFFER_CFG=0b000000,
p_RX_CAPFF_SARC_ENB=0b0,
p_RX_CLK25_DIV=8,
p_RX_CLKMUX_EN=0b1,
p_RX_CLK_SLIP_OVRD=0b00000,
p_RX_CM_BUF_CFG=0b1010,
p_RX_CM_BUF_PD=0b0,
p_RX_CM_SEL=0b11,
p_RX_CM_TRIM=0b1010,
p_RX_CTLE3_LPF=0b00000001,
p_RX_DATA_WIDTH=20,
p_RX_DDI_SEL=0b000000,
p_RX_DEFER_RESET_BUF_EN="TRUE",
p_RX_DFELPM_CFG0=0b0110,
p_RX_DFELPM_CFG1=0b1,
p_RX_DFELPM_KLKH_AGC_STUP_EN=0b1,
p_RX_DFE_AGC_CFG0=0b10,
p_RX_DFE_AGC_CFG1=0b000,
p_RX_DFE_KL_LPM_KH_CFG0=0b01,
p_RX_DFE_KL_LPM_KH_CFG1=0b000,
p_RX_DFE_KL_LPM_KL_CFG0=0b01,
p_RX_DFE_KL_LPM_KL_CFG1=0b000,
p_RX_DFE_LPM_HOLD_DURING_EIDLE=0b0,
p_RX_DISPERR_SEQ_MATCH="TRUE",
p_RX_DIVRESET_TIME=0b00001,
p_RX_EN_HI_LR=0b0,
p_RX_EYESCAN_VS_CODE=0b0000000,
p_RX_EYESCAN_VS_NEG_DIR=0b0,
p_RX_EYESCAN_VS_RANGE=0b00,
p_RX_EYESCAN_VS_UT_SIGN=0b0,
p_RX_FABINT_USRCLK_FLOP=0b0,
p_RX_INT_DATAWIDTH=0,
p_RX_PMA_POWER_SAVE=0b0,
p_RX_PROGDIV_CFG=20.0,
p_RX_SAMPLE_PERIOD=0b111,
p_RX_SIG_VALID_DLY=11,
p_RX_SUM_DFETAPREP_EN=0b0,
p_RX_SUM_IREF_TUNE=0b1100,
p_RX_SUM_RES_CTRL=0b11,
p_RX_SUM_VCMTUNE=0b0000,
p_RX_SUM_VCM_OVWR=0b0,
p_RX_SUM_VREF_TUNE=0b000,
p_RX_TUNE_AFE_OS=0b10,
p_RX_WIDEMODE_CDR=0b0,
p_RX_XCLK_SEL="RXDES",
)
xilinx_mess.update(
p_SAS_MAX_COM=64,
p_SAS_MIN_COM=36,
p_SATA_BURST_SEQ_LEN=0b1110,
p_SATA_CPLL_CFG="VCO_3000MHZ",
p_SATA_MAX_BURST=8,
p_SATA_MAX_INIT=21,
p_SATA_MAX_WAKE=7,
p_SATA_MIN_BURST=4,
p_SATA_MIN_INIT=12,
p_SATA_MIN_WAKE=4,
p_SHOW_REALIGN_COMMA="FALSE",
p_SIM_RECEIVER_DETECT_PASS="TRUE",
p_SIM_RESET_SPEEDUP="TRUE",
p_SIM_TX_EIDLE_DRIVE_LEVEL=0b0,
p_SIM_VERSION=2,
p_TAPDLY_SET_TX=0b00,
p_TEMPERATUR_PAR=0b0010,
p_TERM_RCAL_CFG=0b100001000010000,
p_TERM_RCAL_OVRD=0b000,
p_TRANS_TIME_RATE=0b00001110,
p_TST_RSV0=0b00000000,
p_TST_RSV1=0b00000000,
p_TXBUF_EN="TRUE",
p_TXBUF_RESET_ON_RATE_CHANGE="TRUE",
p_TXDLY_CFG=0b0000000000001001,
p_TXDLY_LCFG=0b0000000001010000,
p_TXDRVBIAS_N=0b1010,
p_TXDRVBIAS_P=0b1010,
p_TXFIFO_ADDR_CFG="LOW",
p_TXGBOX_FIFO_INIT_RD_ADDR=4,
p_TXGEARBOX_EN="FALSE",
p_TXOUT_DIV=4,
p_TXPCSRESET_TIME=0b00011,
p_TXPHDLY_CFG0=0b0010000000100000,
p_TXPHDLY_CFG1=0b0000000001110101,
p_TXPH_CFG=0b0000100110000000,
p_TXPH_MONITOR_SEL=0b00000,
p_TXPI_CFG0=0b01,
p_TXPI_CFG1=0b01,
p_TXPI_CFG2=0b01,
p_TXPI_CFG3=0b1,
p_TXPI_CFG4=0b1,
p_TXPI_CFG5=0b011,
p_TXPI_GRAY_SEL=0b0,
p_TXPI_INVSTROBE_SEL=0b0,
p_TXPI_LPM=0b0,
p_TXPI_PPMCLK_SEL="TXUSRCLK2",
p_TXPI_PPM_CFG=0b00000000,
p_TXPI_SYNFREQ_PPM=0b001,
p_TXPI_VREFSEL=0b0,
p_TXPMARESET_TIME=0b00011,
p_TXSYNC_MULTILANE=0b0,
p_TXSYNC_OVRD=0b0,
p_TXSYNC_SKIP_DA=0b0,
p_TX_CLK25_DIV=8,
p_TX_CLKMUX_EN=0b1,
p_TX_DATA_WIDTH=20,
p_TX_DCD_CFG=0b000010,
p_TX_DCD_EN=0b0,
p_TX_DEEMPH0=0b000000,
p_TX_DEEMPH1=0b000000,
p_TX_DIVRESET_TIME=0b00001,
p_TX_DRIVE_MODE="DIRECT",
p_TX_EIDLE_ASSERT_DELAY=0b100,
p_TX_EIDLE_DEASSERT_DELAY=0b011,
p_TX_EML_PHI_TUNE=0b0,
p_TX_FABINT_USRCLK_FLOP=0b0,
p_TX_IDLE_DATA_ZERO=0b0,
p_TX_INT_DATAWIDTH=0,
p_TX_LOOPBACK_DRIVE_HIZ="FALSE",
p_TX_MAINCURSOR_SEL=0b0,
p_TX_MARGIN_FULL_0=0b1001111,
p_TX_MARGIN_FULL_1=0b1001110,
p_TX_MARGIN_FULL_2=0b1001100,
p_TX_MARGIN_FULL_3=0b1001010,
p_TX_MARGIN_FULL_4=0b1001000,
p_TX_MARGIN_LOW_0=0b1000110,
p_TX_MARGIN_LOW_1=0b1000101,
p_TX_MARGIN_LOW_2=0b1000011,
p_TX_MARGIN_LOW_3=0b1000010,
p_TX_MARGIN_LOW_4=0b1000000,
p_TX_MODE_SEL=0b000,
p_TX_PMADATA_OPT=0b0,
p_TX_PMA_POWER_SAVE=0b0,
p_TX_PROGCLK_SEL="CPLL",
p_TX_PROGDIV_CFG=20.0,
p_TX_QPI_STATUS_EN=0b0,
p_TX_RXDETECT_CFG=0b00000000110010,
p_TX_RXDETECT_REF=0b100,
p_TX_SAMPLE_PERIOD=0b111,
p_TX_SARC_LPBK_ENB=0b0,
p_TX_XCLK_SEL="TXOUT",
p_USE_PCS_CLK_PHASE_SEL=0b0,
p_WB_MODE=0b00,
)
xilinx_mess.update(
i_CFGRESET=0b0,
i_CLKRSVD0=0b0,
i_CLKRSVD1=0b0,
i_CPLLLOCKDETCLK=0b0,
i_CPLLLOCKEN=0b1,
i_CPLLPD=pll_reset,
i_CPLLREFCLKSEL=0b001,
i_CPLLRESET=0b0,
i_DMONFIFORESET=0b0,
i_DMONITORCLK=0b0,
i_DRPADDR=0b000000000,
i_DRPCLK=0b0,
i_DRPDI=0b0000000000000000,
i_DRPEN=0b0,
i_DRPWE=0b0,
i_EVODDPHICALDONE=0b0,
i_EVODDPHICALSTART=0b0,
i_EVODDPHIDRDEN=0b0,
i_EVODDPHIDWREN=0b0,
i_EVODDPHIXRDEN=0b0,
i_EVODDPHIXWREN=0b0,
i_EYESCANMODE=0b0,
i_EYESCANRESET=0b0,
i_EYESCANTRIGGER=0b0,
i_GTGREFCLK=0b0,
i_GTHRXN=data_pads.rxn,
i_GTHRXP=data_pads.rxp,
i_GTNORTHREFCLK0=0b0,
i_GTNORTHREFCLK1=0b0,
i_GTREFCLK0=refclk,
i_GTREFCLK1=0b0,
i_GTRESETSEL=0b0,
i_GTRSVD=0b0000000000000000,
i_GTRXRESET=rx_reset,
i_GTSOUTHREFCLK0=0b0,
i_GTSOUTHREFCLK1=0b0,
i_GTTXRESET=tx_reset,
i_LOOPBACK=0b000,
i_LPBKRXTXSEREN=0b0,
i_LPBKTXRXSEREN=0b0,
i_PCIEEQRXEQADAPTDONE=0b0,
i_PCIERSTIDLE=0b0,
i_PCIERSTTXSYNCSTART=0b0,
i_PCIEUSERRATEDONE=0b0,
i_PCSRSVDIN2=0b00000,
i_PCSRSVDIN=0b0000000000000000,
i_PMARSVDIN=0b00000,
i_QPLL0CLK=0b0,
i_QPLL0REFCLK=0b0,
i_QPLL1CLK=0b0,
i_QPLL1REFCLK=0b0,
i_RESETOVRD=0b0,
i_RSTCLKENTX=0b0,
i_RX8B10BEN=0b0,
i_RXBUFRESET=0b0,
i_RXCDRFREQRESET=0b0,
i_RXCDRHOLD=0b0,
i_RXCDROVRDEN=0b0,
i_RXCDRRESETRSV=0b0,
i_RXCDRRESET=0b0,
i_RXCHBONDEN=0b0,
i_RXCHBONDI=0b00000,
i_RXCHBONDLEVEL=0b000,
i_RXCHBONDMASTER=0b0,
i_RXCHBONDSLAVE=0b0,
i_RXCOMMADETEN=0b0,
i_RXDFEAGCCTRL=0b01,
i_RXDFEAGCHOLD=0b0,
i_RXDFEAGCOVRDEN=0b0,
i_RXDFELFHOLD=0b0,
i_RXDFELFOVRDEN=0b0,
i_RXDFELPMRESET=0b0,
i_RXDFETAP10HOLD=0b0,
i_RXDFETAP10OVRDEN=0b0,
i_RXDFETAP11HOLD=0b0,
i_RXDFETAP11OVRDEN=0b0,
i_RXDFETAP12HOLD=0b0,
i_RXDFETAP12OVRDEN=0b0,
i_RXDFETAP13HOLD=0b0,
i_RXDFETAP13OVRDEN=0b0,
i_RXDFETAP14HOLD=0b0,
i_RXDFETAP14OVRDEN=0b0,
i_RXDFETAP15HOLD=0b0,
i_RXDFETAP15OVRDEN=0b0,
i_RXDFETAP2HOLD=0b0,
i_RXDFETAP2OVRDEN=0b0,
i_RXDFETAP3HOLD=0b0,
i_RXDFETAP3OVRDEN=0b0,
i_RXDFETAP4HOLD=0b0,
i_RXDFETAP4OVRDEN=0b0,
i_RXDFETAP5HOLD=0b0,
i_RXDFETAP5OVRDEN=0b0,
i_RXDFETAP6HOLD=0b0,
i_RXDFETAP6OVRDEN=0b0,
i_RXDFETAP7HOLD=0b0,
i_RXDFETAP7OVRDEN=0b0,
i_RXDFETAP8HOLD=0b0,
i_RXDFETAP8OVRDEN=0b0,
i_RXDFETAP9HOLD=0b0,
i_RXDFETAP9OVRDEN=0b0,
i_RXDFEUTHOLD=0b0,
i_RXDFEUTOVRDEN=0b0,
i_RXDFEVPHOLD=0b0,
i_RXDFEVPOVRDEN=0b0,
i_RXDFEVSEN=0b0,
i_RXDFEXYDEN=0b1,
i_RXDLYBYPASS=0b1,
i_RXDLYEN=0b0,
i_RXDLYOVRDEN=0b0,
i_RXDLYSRESET=0b0,
i_RXELECIDLEMODE=0b11,
i_RXGEARBOXSLIP=0b0,
i_RXLATCLK=0b0,
i_RXLPMEN=0b1,
i_RXLPMGCHOLD=0b0,
i_RXLPMGCOVRDEN=0b0,
i_RXLPMHFHOLD=0b0,
i_RXLPMHFOVRDEN=0b0,
i_RXLPMLFHOLD=0b0,
i_RXLPMLFKLOVRDEN=0b0,
i_RXLPMOSHOLD=0b0,
i_RXLPMOSOVRDEN=0b0,
i_RXMCOMMAALIGNEN=0b0,
i_RXMONITORSEL=0b00,
i_RXOOBRESET=0b0,
i_RXOSCALRESET=0b0,
i_RXOSHOLD=0b0,
i_RXOSINTCFG=0b1101,
i_RXOSINTEN=0b1,
i_RXOSINTHOLD=0b0,
i_RXOSINTOVRDEN=0b0,
i_RXOSINTSTROBE=0b0,
i_RXOSINTTESTOVRDEN=0b0,
i_RXOSOVRDEN=0b0,
i_RXOUTCLKSEL=0b101,
i_RXPCOMMAALIGNEN=0b0,
i_RXPCSRESET=0b0,
i_RXPD=0b00,
i_RXPHALIGNEN=0b0,
i_RXPHALIGN=0b0,
i_RXPHDLYPD=0b1,
i_RXPHDLYRESET=0b0,
i_RXPHOVRDEN=0b0,
i_RXPLLCLKSEL=0b00,
i_RXPMARESET=0b0,
i_RXPOLARITY=0b0,
i_RXPRBSCNTRESET=0b0,
i_RXPRBSSEL=0b0000,
i_RXPROGDIVRESET=0b0,
i_RXQPIEN=0b0,
i_RXRATEMODE=0b0,
i_RXRATE=0b000,
i_RXSLIDE=0b0,
i_RXSLIPOUTCLK=0b0,
i_RXSLIPPMA=0b0,
i_RXSYNCALLIN=0b0,
i_RXSYNCIN=0b0,
i_RXSYNCMODE=0b0,
i_RXSYSCLKSEL=0b00,
i_RXUSERRDY=0b1,
i_RXUSRCLK2=ClockSignal("eth_rx_half"),
i_RXUSRCLK=ClockSignal("eth_rx_half"),
#i_SATA_BURST=0b100,
#i_SATA_EIDLE=0b100,
i_SIGVALIDCLK=0b0,
i_TSTIN=0b00000000000000000000,
i_TX8B10BBYPASS=0b00000000,
i_TX8B10BEN=0b0,
i_TXBUFDIFFCTRL=0b000,
i_TXCOMINIT=0b0,
i_TXCOMSAS=0b0,
i_TXCOMWAKE=0b0,
i_TXCTRL0=Cat(*[tx_data[10*i+8] for i in range(2)]),
i_TXCTRL1=Cat(*[tx_data[10*i+9] for i in range(2)]),
i_TXCTRL2=0b00000000,
i_TXDATAEXTENDRSVD=0b00000000,
i_TXDATA=Cat(*[tx_data[10*i:10*i+8] for i in range(2)]),
i_TXDEEMPH=0b0,
i_TXDETECTRX=0b0,
i_TXDIFFCTRL=0b1100,
i_TXDIFFPD=0b0,
i_TXDLYBYPASS=0b1,
i_TXDLYEN=0b0,
i_TXDLYHOLD=0b0,
i_TXDLYOVRDEN=0b0,
i_TXDLYSRESET=0b0,
i_TXDLYUPDOWN=0b0,
i_TXELECIDLE=0b0,
i_TXHEADER=0b000000,
i_TXINHIBIT=0b0,
i_TXLATCLK=0b0,
i_TXMAINCURSOR=0b1000000,
i_TXMARGIN=0b000,
i_TXOUTCLKSEL=0b101,
i_TXPCSRESET=0b0,
i_TXPDELECIDLEMODE=0b0,
i_TXPD=0b00,
i_TXPHALIGNEN=0b0,
i_TXPHALIGN=0b0,
i_TXPHDLYPD=0b1,
i_TXPHDLYRESET=0b0,
i_TXPHDLYTSTCLK=0b0,
i_TXPHINIT=0b0,
i_TXPHOVRDEN=0b0,
i_TXPIPPMEN=0b0,
i_TXPIPPMOVRDEN=0b0,
i_TXPIPPMPD=0b0,
i_TXPIPPMSEL=0b0,
i_TXPIPPMSTEPSIZE=0b00000,
i_TXPISOPD=0b0,
i_TXPLLCLKSEL=0b00,
i_TXPMARESET=0b0,
i_TXPOLARITY=0b0,
i_TXPOSTCURSORINV=0b0,
i_TXPOSTCURSOR=0b00000,
i_TXPRBSFORCEERR=0b0,
i_TXPRBSSEL=0b0000,
i_TXPRECURSORINV=0b0,
i_TXPRECURSOR=0b00000,
i_TXPROGDIVRESET=0b0,
i_TXQPIBIASEN=0b0,
i_TXQPISTRONGPDOWN=0b0,
i_TXQPIWEAKPUP=0b0,
i_TXRATEMODE=0b0,
i_TXRATE=0b000,
i_TXSEQUENCE=0b0000000,
i_TXSWING=0b0,
i_TXSYNCALLIN=0b0,
i_TXSYNCIN=0b0,
i_TXSYNCMODE=0b0,
i_TXSYSCLKSEL=0b00,
i_TXUSERRDY=0b1,
i_TXUSRCLK2=ClockSignal("eth_tx_half"),
i_TXUSRCLK=ClockSignal("eth_tx_half"),
)
xilinx_mess.update(
# o_BUFGTCE=,
# o_BUFGTCEMASK=,
# o_BUFGTDIV=,
# o_BUFGTRESET=,
# o_BUFGTRSTMASK=,
# o_CPLLFBCLKLOST=,
o_CPLLLOCK=pll_locked,
# o_CPLLREFCLKLOST=,
# o_DMONITOROUT=,
# o_DRPDO=,
# o_DRPRDY=,
# o_EYESCANDATAERROR=,
o_GTHTXN=data_pads.txn,
o_GTHTXP=data_pads.txp,
o_GTPOWERGOOD=gtpowergood,
# o_GTREFCLKMONITOR=,
# o_PCIERATEGEN3=,
# o_PCIERATEIDLE=,
# o_PCIERATEQPLLPD=,
# o_PCIERATEQPLLRESET=,
# o_PCIESYNCTXSYNCDONE=,
# o_PCIEUSERGEN3RDY=,
# o_PCIEUSERPHYSTATUSRST=,
# o_PCIEUSERRATESTART=,
# o_PCSRSVDOUT=,
# o_PHYSTATUS=,
# o_PINRSRVDAS=,
# o_RESETEXCEPTION=,
# o_RXBUFSTATUS=,
# o_RXBYTEISALIGNED=,
# o_RXBYTEREALIGN=,
# o_RXCDRLOCK=,
# o_RXCDRPHDONE=,
# o_RXCHANBONDSEQ=,
# o_RXCHANISALIGNED=,
# o_RXCHANREALIGN=,
# o_RXCHBONDO=,
# o_RXCLKCORCNT=,
# o_RXCOMINITDET=,
# o_RXCOMMADET=,
# o_RXCOMSASDET=,
# o_RXCOMWAKEDET=,
o_RXCTRL0=Cat(*[rx_data[10*i+8] for i in range(2)]),
o_RXCTRL1=Cat(*[rx_data[10*i+9] for i in range(2)]),
# o_RXCTRL2=,
# o_RXCTRL3=,
o_RXDATA=Cat(*[rx_data[10*i:10*i+8] for i in range(2)]),
# o_RXDATAEXTENDRSVD=,
# o_RXDATAVALID=,
# o_RXDLYSRESETDONE=,
# o_RXELECIDLE=,
# o_RXHEADER=,
# o_RXHEADERVALID=,
# o_RXMONITOROUT=,
# o_RXOSINTDONE=,
# o_RXOSINTSTARTED=,
# o_RXOSINTSTROBEDONE=,
# o_RXOSINTSTROBESTARTED=,
o_RXOUTCLK=self.rxoutclk,
# o_RXOUTCLKFABRIC=,
# o_RXOUTCLKPCS=,
# o_RXPHALIGNDONE=,
# o_RXPHALIGNERR=,
# o_RXPMARESETDONE=,
# o_RXPRBSERR=,
# o_RXPRBSLOCKED=,
# o_RXPRGDIVRESETDONE=,
# o_RXQPISENN=,
# o_RXQPISENP=,
# o_RXRATEDONE=,
# o_RXRECCLKOUT=,
o_RXRESETDONE=rx_reset_done,
# o_RXSLIDERDY=,
# o_RXSLIPDONE=,
# o_RXSLIPOUTCLKRDY=,
# o_RXSLIPPMARDY=,
# o_RXSTARTOFSEQ=,
# o_RXSTATUS=,
# o_RXSYNCDONE=,
# o_RXSYNCOUT=,
# o_RXVALID=,
# o_TXBUFSTATUS=,
# o_TXCOMFINISH=,
# o_TXDLYSRESETDONE=,
o_TXOUTCLK=self.txoutclk,
# o_TXOUTCLKFABRIC=,
# o_TXOUTCLKPCS=,
# o_TXPHALIGNDONE=,
# o_TXPHINITDONE=,
# o_TXPMARESETDONE=,
# o_TXPRGDIVRESETDONE=,
# o_TXQPISENN=,
# o_TXQPISENP=,
# o_TXRATEDONE=,
o_TXRESETDONE=tx_reset_done,
# o_TXSYNCDONE=,
# o_TXSYNCOUT=,
)
tx_bufg_gt_ce = Signal()
tx_bufg_gt_clr = Signal()
rx_bufg_gt_ce = Signal()
rx_bufg_gt_clr = Signal()
self.specials += [
Instance("GTHE3_CHANNEL", **xilinx_mess),
Instance("BUFG_GT", i_I=self.txoutclk, o_O=self.cd_eth_tx.clk, i_DIV=0),
Instance("BUFG_GT", i_I=self.txoutclk, o_O=self.cd_eth_tx_half.clk, i_DIV=1),
Instance("BUFG_GT", i_I=self.rxoutclk, o_O=self.cd_eth_rx.clk, i_DIV=0),
Instance("BUFG_GT", i_I=self.rxoutclk, o_O=self.cd_eth_rx_half.clk, i_DIV=1),
AsyncResetSynchronizer(self.cd_eth_tx, ~tx_reset_done),
AsyncResetSynchronizer(self.cd_eth_rx, ~rx_reset_done),
]
# Transceiver reset
pll_reset_cycles = round(300000*sys_clk_freq//1000000000)
reset_counter = Signal(max=pll_reset_cycles+1)
self.sync += [
If(~gtpowergood,
pll_reset.eq(1),
reset_counter.eq(0)
).Else(
If(reset_counter == pll_reset_cycles,
pll_reset.eq(0)
).Else(
reset_counter.eq(reset_counter + 1)
)
)
]
self.comb += [
tx_reset.eq(pll_reset | ~pll_locked),
rx_reset.eq(pll_reset | ~pll_locked | pcs.restart)
]
# Gearbox and PCS connection
gearbox = Gearbox()
self.submodules += gearbox
self.comb += [
tx_data.eq(gearbox.tx_data_half),
gearbox.rx_data_half.eq(rx_data),
gearbox.tx_data.eq(pcs.tbi_tx),
pcs.tbi_rx.eq(gearbox.rx_data)
]
| [
"florent@enjoy-digital.fr"
] | florent@enjoy-digital.fr |
84574100863381fff6d24ce33e761d3e93026164 | bce797646db81b18625f71bb7427de2ff3c006fc | /core/db/mongo_pool.py | eb6fe4d32e0aa23fdf8f642ad7b512c1263a54d8 | [] | no_license | lihaineng/IPProxyPool | 3389cd437e80997d3f4bab4c96f9ada77d859d51 | 46818b454fc9e8422fc3fd459288a8b755653315 | refs/heads/master | 2020-04-26T07:20:37.676838 | 2019-03-04T08:12:54 | 2019-03-04T08:12:54 | 173,387,841 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,199 | py | import random
import pymongo
from pymongo import MongoClient
from domain import Proxy
from settings import MONGO_URL
from utils.log import logger
class MongodbPool(object):
def __init__(self):
# 1.1. 在init中, 建立数据连接
self.client = MongoClient(MONGO_URL)
# 1.2 获取要操作的集合
self.proxies = self.client['proxies_pool']['proxies']
def __del__(self):
# 关闭数据库
self.client.close()
def insert_one(self, proxy):
# 实现数据库增加一条数据功能
count = self.proxies.count_documents({'_id': proxy.ip})
if count == 0:
# 我们使用proxy.ip作为, MongoDB中数据的主键: _id
dic = proxy.__dict__
dic['_id'] = proxy.ip # 给dic增加主键字段
self.proxies.insert_one(dic)
logger.info('插入新的代理:{}'.format(proxy))
else:
logger.warning("已经存在的代理:{}".format(proxy))
def update_one(self, proxy):
"""2.2 实现修改该功能"""
self.proxies.update_one({'_id': proxy.ip}, {'$set': proxy.__dict__})
def delete_one(self, proxy):
"""2.3 实现删除代理: 根据代理的IP删除代理"""
self.proxies.delete_one({'_id': proxy.ip})
logger.info("删除代理IP: {}".format(proxy))
def find_all(self):
"""2.4 查询所有代理IP的功能"""
cursor = self.proxies.find()
for item in cursor:
# 删除_id这个key
item.pop('_id')
proxy = Proxy(**item)
yield proxy # 方便后面调用
def find(self, conditions={}, count=0):
"""
3.1 实现查询功能: 根据条件进行查询, 可以指定查询数量, 先分数降序, 速度升序排, 保证优质的代理IP在上面.
:param conditions: 查询条件字典
:param count: 限制最多取出多少个代理IP
:return: 返回满足要求代理IP(Proxy对象)列表
"""
cursor = self.proxies.find(conditions, limit=count).sort([
('score', pymongo.DESCENDING), ('speed', pymongo.ASCENDING)
])
# 准备列表, 用于存储查询处理代理IP
proxy_list = []
# 遍历 cursor
for item in cursor:
item.pop('_id')
proxy = Proxy(**item)
proxy_list.append(proxy)
# 返回满足要求代理IP(Proxy对象)列表
return proxy_list
def get_proxies(self, protocol=None, domain=None, count=0, nick_type=0):
"""
3.2 实现根据协议类型 和 要访问网站的域名, 获取代理IP列表
:param protocol: 协议: http, https
:param domain: 域名: jd.com
:param count: 用于限制获取多个代理IP, 默认是获取所有的
:param nick_type: 匿名类型, 默认, 获取高匿的代理IP
:return: 满足要求代理IP的列表
"""
# 定义查询条件
conditions = {'nick_type': nick_type}
# 根据协议, 指定查询条件
if protocol is None:
# 如果没有传入协议类型, 返回支持http和https的代理IP
conditions['protocol'] = 2
elif protocol.lower() == 'http':
conditions['protocol'] = {'$in': [0, 2]}
else:
conditions['protocol'] = {'$in': [1, 2]}
if domain:
conditions['disable_domains'] = {'$nin': [domain]}
# 满足要求代理IP的列表
return self.find(conditions=conditions, count=count)
def random_proxy(self, protocol=None, domain=None, count=0, nick_type=0):
"""
3.3 实现根据协议类型 和 要访问网站的域名, 随机获取一个代理IP
:param protocol: 协议: http, https
:param domain: 域名: jd.com
:param count: 用于限制获取多个代理IP, 默认是获取所有的
:param nick_type: 匿名类型, 默认, 获取高匿的代理IP
:return: 满足要求的随机的一个代理IP(Proxy对象)
"""
proxy_list = self.get_proxies(protocol=protocol, domain=domain, count=count, nick_type=nick_type)
# 从proxy_list列表中, 随机取出一个代理IP返回
return random.choice(proxy_list)
def disable_domain(self, ip, domain):
"""
3.4 实现把指定域名添加到指定IP的disable_domain列表中.
:param ip: IP地址
:param domain: 域名
:return: 如果返回True, 就表示添加成功了, 返回False添加失败了
"""
# print(self.proxies.count_documents({'_id': ip, 'disable_domains':domain}))
if self.proxies.count_documents({'_id': ip, 'disable_domains': domain}) == 0:
# 如果disable_domains字段中没有这个域名, 才添加
self.proxies.update_one({'_id': ip}, {'$push': {'disable_domains': domain}})
return True
return False
if __name__ == "__main__":
mongo = MongodbPool()
# proxy = Proxy('202.104.113.35', '53281')
# proxy = Proxy('202.104.113.122', '9999')
# mongo.delete_one(proxy)
for i in mongo.get_proxies():
print(i)
| [
"123456@qq.com"
] | 123456@qq.com |
49e6ceb93b732efc5346d3b2ccd762bd11f2c49b | a3385f7636ceb232e97ae30badee0ba9145138f8 | /egs/thchs30/s5/local/dae/add-noise-mod.py | 8327fc325ee911b1c8db5ca3c470637e82c131fa | [
"Apache-2.0"
] | permissive | samsucik/prosodic-lid-globalphone | b6a6ccdcece11d834fc89abaa51031fc9f9e37e1 | ca6a8e855441410ab85326d27b0f0076d48d3f33 | refs/heads/master | 2022-11-29T09:17:24.753115 | 2021-02-03T18:17:16 | 2021-02-03T18:17:16 | 149,014,872 | 3 | 2 | Apache-2.0 | 2022-09-23T22:17:01 | 2018-09-16T16:38:53 | Shell | UTF-8 | Python | false | false | 4,788 | py | #!/usr/bin/env python
# Copyright 2016 Tsinghua University (Author: Chao Liu, Dong Wang). Apache 2.0.
from __future__ import print_function
import optparse
import random
import bisect
import re
import logging
import wave
import math
import struct
import sys
import os
try:
import pyximport; pyximport.install()
from thchs30_util import *
except:
print("Cython possibly not installed, using standard python code. The process might be slow", file=sys.stderr)
def energy(mat):
return float(sum([x * x for x in mat])) / len(mat)
def mix(mat, noise, pos, scale):
ret = []
l = len(noise)
for i in xrange(len(mat)):
x = mat[i]
d = int(x + scale * noise[pos])
#if d > 32767 or d < -32768:
# logging.debug('overflow occurred!')
d = max(min(d, 32767), -32768)
ret.append(d)
pos += 1
if pos == l:
pos = 0
return (pos, ret)
def dirichlet(params):
samples = [random.gammavariate(x, 1) if x > 0 else 0. for x in params]
samples = [x / sum(samples) for x in samples]
for x in xrange(1, len(samples)):
samples[x] += samples[x - 1]
return bisect.bisect_left(samples, random.random())
def wave_mat(wav_filename):
f = wave.open(wav_filename, 'r')
n = f.getnframes()
ret = f.readframes(n)
f.close()
return list(struct.unpack('%dh' % n, ret))
def num_samples(mat):
return len(mat)
def scp(scp_filename):
with open(scp_filename) as f:
for l in f:
yield tuple(l.strip().split())
def wave_header(sample_array, sample_rate):
byte_count = (len(sample_array)) * 2 # short
# write the header
hdr = struct.pack('<ccccIccccccccIHHIIHH',
'R', 'I', 'F', 'F',
byte_count + 0x2c - 8, # header size
'W', 'A', 'V', 'E', 'f', 'm', 't', ' ',
0x10, # size of 'fmt ' header
1, # format 1
1, # channels
sample_rate, # samples / second
sample_rate * 2, # bytes / second
2, # block alignment
16) # bits / sample
hdr += struct.pack('<ccccI',
'd', 'a', 't', 'a', byte_count)
return hdr
def output(tag, mat):
sys.stdout.write(tag + ' ')
sys.stdout.write(wave_header(mat, 16000))
sys.stdout.write(struct.pack('%dh' % len(mat), *mat))
def output_wave_file(dir, tag, mat):
with open('%s/%s.wav' % (dir,tag), 'w') as f:
f.write(wave_header(mat, 16000))
f.write(struct.pack('%dh' % len(mat), *mat))
def main():
parser = optparse.OptionParser()
parser.add_option('--noise-level', type=float, help='')
parser.add_option('--noise-src', type=str, help='')
parser.add_option('--noise-prior', type=str, help='')
parser.add_option('--seed', type=int, help='')
parser.add_option('--sigma0', type=float, help='')
parser.add_option('--wav-src', type=str, help='')
parser.add_option('--verbose', type=int, help='')
parser.add_option('--wavdir', type=str, help='')
(args, dummy) = parser.parse_args()
random.seed(args.seed)
params = [float(x) for x in args.noise_prior.split(',')]
if args.verbose:
logging.basicConfig(level=logging.DEBUG)
global noises
noise_energies = [0.]
noises = [(0, [])]
for tag, wav in scp(args.noise_src):
logging.debug('noise wav: %s', wav)
mat = wave_mat(wav)
e = energy(mat)
logging.debug('noise energy: %f', e)
noise_energies.append(e)
noises.append((0, mat))
for tag, wav in scp(args.wav_src):
logging.debug('wav: %s', wav)
fname = wav.split("/")[-1].split(".")[0]
noise_level = random.gauss(args.noise_level, args.sigma0)
logging.debug('noise level: %f', noise_level)
mat = wave_mat(wav)
signal = energy(mat)
logging.debug('signal energy: %f', signal)
noise = signal / (10 ** (noise_level / 10.))
logging.debug('noise energy: %f', noise)
type = dirichlet(params)
logging.debug('selected type: %d', type)
if type == 0:
if args.wavdir != 'NULL':
output_wave_file(args.wavdir, fname, mat)
else:
output(fname, mat)
else:
p,n = noises[type]
if p+len(mat) > len(n):
noise_energies[type] = energy(n[p::]+n[0:len(n)-p:])
else:
noise_energies[type] = energy(n[p:p+len(mat):])
scale = math.sqrt(noise / noise_energies[type])
logging.debug('noise scale: %f', scale)
pos, result = mix(mat, n, p, scale)
noises[type] = (pos, n)
if args.wavdir != 'NULL':
output_wave_file(args.wavdir, fname, result)
else:
output(fname, result)
if __name__ == '__main__':
main()
| [
"s1531206@ed.ac.uk"
] | s1531206@ed.ac.uk |
fd4d7663ac9bf14c7f4b27e5d5e298c49f144d01 | 964cbf507211afda901721d81b900c916c60c106 | /ax/models/discrete/thompson.py | 78342461ec8c64680dd5333410dd48306eaaf236 | [
"MIT"
] | permissive | DrDanRyan/Ax | c3390bc7a0cf4d936c5a8308e9ea818938db7f77 | fa40536aa1a2a29ac8791c7563c28ba2d0539a3e | refs/heads/master | 2020-08-23T16:02:53.595033 | 2019-10-21T19:35:32 | 2019-10-21T19:37:28 | 216,657,015 | 0 | 0 | MIT | 2019-10-21T20:18:44 | 2019-10-21T20:14:28 | null | UTF-8 | Python | false | false | 11,619 | py | #!/usr/bin/env python3
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
import hashlib
import json
from typing import Dict, List, Optional, Tuple
import numpy as np
from ax.core.types import TConfig, TParamValue, TParamValueList
from ax.models.discrete_base import DiscreteModel
from ax.utils.common.docutils import copy_doc
class ThompsonSampler(DiscreteModel):
"""Generator for Thompson sampling.
The generator performs Thompson sampling on the data passed in via `fit`.
Arms are given weight proportional to the probability that they are
winners, according to Monte Carlo simulations.
"""
def __init__(
self,
num_samples: int = 10000,
min_weight: Optional[float] = None,
uniform_weights: bool = False,
) -> None:
"""
Args:
num_samples: The number of samples to draw from the posterior.
min_weight: The minimum weight a arm must be
given in order for it to be returned from the gernerator. If not
specified, will be set to 2 / (number of arms).
uniform_weights: If True, the arms returned from the
generator will each be given a weight of 1 / (number of arms).
"""
self.num_samples = num_samples
self.min_weight = min_weight
self.uniform_weights = uniform_weights
self.X = None
self.Ys = None
self.Yvars = None
self.X_to_Ys_and_Yvars = None
@copy_doc(DiscreteModel.fit)
def fit(
self,
Xs: List[List[TParamValueList]],
Ys: List[List[float]],
Yvars: List[List[float]],
parameter_values: List[TParamValueList],
outcome_names: List[str],
) -> None:
self.X = self._fit_X(Xs=Xs)
self.Ys, self.Yvars = self._fit_Ys_and_Yvars(
Ys=Ys, Yvars=Yvars, outcome_names=outcome_names
)
self.X_to_Ys_and_Yvars = self._fit_X_to_Ys_and_Yvars(
X=self.X, Ys=self.Ys, Yvars=self.Yvars
)
@copy_doc(DiscreteModel.gen)
def gen(
self,
n: int,
parameter_values: List[TParamValueList],
objective_weights: Optional[np.ndarray],
outcome_constraints: Optional[Tuple[np.ndarray, np.ndarray]] = None,
fixed_features: Optional[Dict[int, TParamValue]] = None,
pending_observations: Optional[List[List[TParamValueList]]] = None,
model_gen_options: Optional[TConfig] = None,
) -> Tuple[List[TParamValueList], List[float]]:
if objective_weights is None:
raise ValueError("ThompsonSampler requires objective weights.")
arms = self.X
# pyre: Expected `typing.Sized` for 1st anonymous parameter to call
# pyre-fixme[6]: `len` but got `typing.Type[None]`.
k = len(arms)
weights = self._generate_weights(
objective_weights=objective_weights, outcome_constraints=outcome_constraints
)
min_weight = self.min_weight if self.min_weight is not None else 2.0 / k
# Second entry is used for tie-breaking
weighted_arms = [
# pyre-fixme[16]: Optional type has no attribute `__getitem__`.
(weights[i], np.random.random(), arms[i])
for i in range(k)
# pyre-fixme[6]: Expected `float` for 1st param but got `Optional[float]`.
if weights[i] > min_weight
]
if len(weighted_arms) == 0:
raise ValueError(
"No arms generated by Thompson Sampling had weight > min_weight. "
+ f"The minimum weight required is {min_weight:2.4}, "
+ "and the maximum weight of any arm generated "
+ f"is {max(weights):2.4}."
)
weighted_arms.sort(reverse=True)
top_weighted_arms = weighted_arms[:n] if n > 0 else weighted_arms
top_arms = [arm for _, _, arm in top_weighted_arms]
top_weights = [weight for weight, _, _ in top_weighted_arms]
if self.uniform_weights:
top_weights = [1 / len(top_arms) for _ in top_arms]
return top_arms, [x / sum(top_weights) for x in top_weights]
@copy_doc(DiscreteModel.predict)
def predict(self, X: List[TParamValueList]) -> Tuple[np.ndarray, np.ndarray]:
n = len(X) # number of parameterizations at which to make predictions
# pyre: Expected `typing.Sized` for 1st anonymous parameter to call
# pyre-fixme[6]: `len` but got `typing.Type[None]`.
m = len(self.Ys) # number of outcomes
f = np.zeros((n, m)) # array of outcome predictions
cov = np.zeros((n, m, m)) # array of predictive covariances
predictX = [self._hash_TParamValueList(x) for x in X]
# pyre-fixme[6]: Expected `Iterable[_T]` for 1st param but got `None`.
for i, (X_to_Y_and_Yvar) in enumerate(self.X_to_Ys_and_Yvars):
# iterate through outcomes
for j, x in enumerate(predictX):
# iterate through parameterizations at which to make predictions
if x not in X_to_Y_and_Yvar:
raise ValueError(
"ThompsonSampler does not support out-of-sample prediction."
)
f[j, i], cov[j, i, i] = X_to_Y_and_Yvar[x]
return f, cov
def _generate_weights(
self,
objective_weights: np.ndarray,
outcome_constraints: Optional[Tuple[np.ndarray, np.ndarray]] = None,
) -> List[float]:
samples, fraction_all_infeasible = self._produce_samples(
num_samples=self.num_samples,
objective_weights=objective_weights,
outcome_constraints=outcome_constraints,
)
if fraction_all_infeasible > 0.99:
raise ValueError(
"Less than 1% of samples have a feasible arm. "
"Check your outcome constraints."
)
num_valid_samples = samples.shape[1]
while num_valid_samples < self.num_samples:
num_additional_samples = (self.num_samples - num_valid_samples) / (
1 - fraction_all_infeasible
)
num_additional_samples = int(np.maximum(num_additional_samples, 100))
new_samples, _ = self._produce_samples(
num_samples=num_additional_samples,
objective_weights=objective_weights,
outcome_constraints=outcome_constraints,
)
samples = np.concatenate([samples, new_samples], axis=1)
num_valid_samples = samples.shape[1]
winner_indices = np.argmax(samples, axis=0) # (num_samples,)
# pyre: Expected `typing.Sized` for 1st anonymous parameter to call
# pyre-fixme[6]: `len` but got `typing.Type[None]`.
winner_counts = np.zeros(len(self.X)) # (k,)
for index in winner_indices:
winner_counts[index] += 1
weights = winner_counts / winner_counts.sum()
return weights.tolist()
def _produce_samples(
self,
num_samples: int,
objective_weights: np.ndarray,
outcome_constraints: Optional[Tuple[np.ndarray, np.ndarray]],
) -> Tuple[np.ndarray, float]:
# pyre: Expected `typing.Sized` for 1st anonymous parameter to call
# pyre-fixme[6]: `len` but got `typing.Type[None]`.
k = len(self.X)
samples_per_metric = np.zeros(
# pyre: Expected `typing.Sized` for 1st anonymous parameter to
# pyre-fixme[6]: call `len` but got `typing.Type[None]`.
(k, num_samples, len(self.Ys))
) # k x num_samples x m
# pyre-fixme[6]: Expected `Iterable[_T]` for 1st param but got `None`.
for i, Y in enumerate(self.Ys): # (k x 1)
# pyre-fixme[16]: Optional type has no attribute `__getitem__`.
Yvar = self.Yvars[i] # (k x 1)
cov = np.diag(Yvar) # (k x k)
samples = np.random.multivariate_normal(
Y, cov, num_samples
).T # (k x num_samples)
samples_per_metric[:, :, i] = samples
any_violation = np.zeros((k, num_samples), dtype=bool) # (k x num_samples)
if outcome_constraints:
# A is (num_constraints x m)
# b is (num_constraints x 1)
A, b = outcome_constraints
# (k x num_samples x m) dot (num_constraints x m)^T
# = (k x num_samples x m) dot (m x num_constraints)
# ==> (k x num_samples x num_constraints)
constraint_values = np.dot(samples_per_metric, A.T)
violations = constraint_values > b.T
any_violation = np.max(violations, axis=2) # (k x num_samples)
objective_values = np.dot(
samples_per_metric, objective_weights
) # (k x num_samples)
objective_values[any_violation] = -np.Inf
best_arm = objective_values.max(axis=0) # (num_samples,)
all_arms_infeasible = best_arm == -np.Inf # (num_samples,)
fraction_all_infeasible = all_arms_infeasible.mean()
filtered_objective = objective_values[:, ~all_arms_infeasible] # (k x ?)
return filtered_objective, fraction_all_infeasible
def _validate_Xs(self, Xs: List[List[TParamValueList]]) -> None:
"""
1. Require that all Xs have the same arms, i.e. we have observed
all arms for all metrics. If so, we can safely use Xs[0] exclusively.
2. Require that all rows of X are unique, i.e. only one observation
per parameterization.
"""
if not all(x == Xs[0] for x in Xs[1:]):
raise ValueError(
"ThompsonSampler requires that all elements of Xs are identical; "
"i.e. that we have observed all arms for all metrics."
)
X = Xs[0]
uniqueX = {self._hash_TParamValueList(x) for x in X}
if len(uniqueX) != len(X):
raise ValueError(
"ThompsonSampler requires all rows of X to be unique; "
"i.e. that there is only one observation per parameterization."
)
def _fit_X(self, Xs: List[List[TParamValueList]]) -> List[TParamValueList]:
"""After validation has been performed, it's safe to use Xs[0]."""
self._validate_Xs(Xs=Xs)
return Xs[0]
def _fit_Ys_and_Yvars(
self, Ys: List[List[float]], Yvars: List[List[float]], outcome_names: List[str]
) -> Tuple[List[List[float]], List[List[float]]]:
"""For plain Thompson Sampling, there's nothing to be done here.
EmpiricalBayesThompsonSampler will overwrite this method to perform
shrinkage.
"""
return Ys, Yvars
def _fit_X_to_Ys_and_Yvars(
self, X: List[TParamValueList], Ys: List[List[float]], Yvars: List[List[float]]
) -> List[Dict[TParamValueList, Tuple[float, float]]]:
"""Construct lists of mappings, one per outcome, of parameterizations
to the a tuple of their mean and variance.
"""
X_to_Ys_and_Yvars = []
hashableX = [self._hash_TParamValueList(x) for x in X]
for (Y, Yvar) in zip(Ys, Yvars):
X_to_Ys_and_Yvars.append(dict(zip(hashableX, zip(Y, Yvar))))
return X_to_Ys_and_Yvars
def _hash_TParamValueList(self, x: TParamValueList) -> str:
"""Hash a list of parameter values. This is safer than converting the
list to a tuple because of int/floats.
"""
param_values_str = json.dumps(x)
return hashlib.md5(param_values_str.encode("utf-8")).hexdigest()
| [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
3b0048baefe9388272b2c05c43ada7d692e0f571 | 8e235a4ba4521497dd0ef66630ed47cbdf0f7bc7 | /fixed_headers.py | b4d7ee7aad48fc2f9ccd6aabbe084ed42a00894b | [] | no_license | albertogeniola/mqtt_dissector | 86264b681845dc362b2f8e65664a84e35e20a4f8 | 4e75db9ae64fbe3e4ff0a2f9ac21280b4f41b748 | refs/heads/master | 2021-06-04T07:54:53.106429 | 2020-11-14T12:26:01 | 2020-11-14T12:26:01 | 148,671,707 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,204 | py | from myutils import Byte
from protocol_constants import ControlType, QoS
class FixedHeader(object):
length = 2 # Fixed length of 2 bytes!
def __init__(self):
self.control_packet_type = None
self.flags = 0
self.formatted_flags = None
# The Remaining Length is the number of bytes remaining within the current packet, including data in the variable
# header and the payload. The Remaining Length does not include the bytes used to encode the Remaining Length.
self.remaining_length = 0
@staticmethod
def try_parse(data):
if len(data) < 2:
return False, None
first_byte = Byte(data[0])
try:
control_packet_type = ControlType(first_byte._high_nibble())
if control_packet_type == ControlType.PUBLISH:
return True, PublishFixedHeader(data)
# TODO: implement remaining fixed headers?
else:
return True, GenericFixedHeader(data)
except:
return False, None
@staticmethod
def parse(data):
if len(data) < 2:
raise Exception("Invalid data. Fixed header should be at least 2 bytes")
first_byte = Byte(data[0])
control_packet_type = ControlType(first_byte._high_nibble())
if control_packet_type == ControlType.PUBLISH:
return PublishFixedHeader(data)
else:
return GenericFixedHeader(data)
@staticmethod
def parse_remaining_length(data):
counter = 0
multiplier = 1
value = 0
while True:
encodedByte = data[counter]
value += (encodedByte & 127) * multiplier
multiplier *= 128
counter += 1
if multiplier > (128 * 128 * 128):
raise Exception("Malformed Remaining Length")
if not ((encodedByte & 128) != 0):
break
return value, counter
class GenericFixedHeader(FixedHeader):
def __init__(self, data):
super().__init__()
first_byte = Byte(data[0])
self.control_packet_type = ControlType(first_byte._high_nibble())
self.flags = first_byte._low_nibble()
self.formatted_flags = first_byte.low_nibble
self.remaining_length, remaining_length_count = FixedHeader.parse_remaining_length(data[1:])
self.length = 1 + remaining_length_count
def __str__(self):
res = "Type: %s\n" \
"Flags: %s\n" \
"Remaining length: %d" % (self.control_packet_type, self.formatted_flags, self.remaining_length)
return res
class PublishFixedHeader(GenericFixedHeader):
dup_flag = None
qos_level = None # type:QoS
retain = None
def __init__(self, data):
super().__init__(data)
self.dup_flag = self.formatted_flags[0] == '1'
self.qos_level = QoS.parse(self.formatted_flags[1:3])
self.retain = self.formatted_flags[3] == '1'
def __str__(self):
res = "%s\n" \
"Dup: %s\n" \
"QoS: %s\n" \
"Retain: %s" % (super().__str__(), self.dup_flag, self.qos_level, self.retain)
return res | [
"albertogeniola@gmail.com"
] | albertogeniola@gmail.com |
801ae0d07a3597575800d8b3e57a79175586ebea | 251027f6bead0d031bb6f8578524553ab5cc4ec6 | /backend/tpf1_23455/wsgi.py | 4fffe5790b7dcbf71900d9bc99be9e39efbde492 | [] | no_license | crowdbotics-apps/tpf1-23455 | e469fe659661b9332b531f439f08ee450e132af2 | c5cd1469a714a2f5077aeb72fd03a47b72206be2 | refs/heads/master | 2023-02-01T04:39:53.899927 | 2020-12-19T00:37:37 | 2020-12-19T00:37:37 | 322,735,900 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 397 | py | """
WSGI config for tpf1_23455 project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'tpf1_23455.settings')
application = get_wsgi_application()
| [
"team@crowdbotics.com"
] | team@crowdbotics.com |
fa5a0eb88b53a58cab15123043cbd54786388e40 | 9737a5e2cfe5521bb9731a356a7639d0dc3692de | /notes/week_2_netmiko/test_config.py | fe1ca580d2ec30f7c565cc3470cef141dc96fe08 | [] | no_license | akushnirubc/pyneta | 5c53cbcf42e2450ce6a2d7e6591d671661e84ba0 | ee68205c0b91974ea1cd79b8c06c36ae083fb02c | refs/heads/main | 2023-06-18T18:02:56.242732 | 2021-07-13T21:43:51 | 2021-07-13T21:43:51 | 358,647,513 | 0 | 0 | null | 2021-05-24T21:39:18 | 2021-04-16T15:45:34 | JavaScript | UTF-8 | Python | false | false | 533 | py | from netmiko import ConnectHandler
from getpass import getpass
device1 = {
"host": 'cisco1.lasthop.io',
"username": 'pyclass',
"password": getpass(),
"device_type": 'cisco_ios',
#"session_log": 'my_session.txt',
}
net_connect = ConnectHandler(**device1)
print(net_connect.find_prompt())
# cfg = [
# 'logging buffered 20000',
# 'no logging console',
# 'clock timezone EST -5 0',
# ]
output = net_connect.send_config_from_file(config_file='my_changes.txt')
print(output)
net_connect.disconnect() | [
"alex.kushnir@ubc.ca"
] | alex.kushnir@ubc.ca |
dd0af2b2f00b6883dce700c511427c06c56b72bd | 94f584fb8ed0a0d23c8a03fe402e4cfcd57aa956 | /slurm/2.import_sentences.py | 98b11a8414869cff07649eb55521617afbd60dd8 | [] | no_license | vsoch/neurosynth-nlp | 3627b198cfea20848048bc9ee30e24429385c31f | f63adcae79744b9058e4be7a2a7125ddbb647076 | refs/heads/master | 2020-12-24T12:02:21.993536 | 2015-10-10T00:12:17 | 2015-10-10T00:12:17 | 41,841,095 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 523 | py | #!/usr/bin/python
# This script will read in the output, and import each into the sentences table
import os
from glob import glob
output_base = '/work/02092/vsochat/wrangler/DATA/NEUROSYNTH-NLP/corenlp/extractions'
# Get number of text files with input
input_files = glob("%s/*.txt" %output_base)
# load the data into database
for i in range(len(input_files)):
os.system('deepdive sql "COPY sentences FROM STDIN CSV" <%s' %input_files[i])
# How many error files? ~300
error_files = glob("%s/*.err" %output_base)
| [
"vsochat@stanford.edu"
] | vsochat@stanford.edu |
866cf44e2a88e0a9cd27070016c9e3e5cf2036ea | 7a20dac7b15879b9453150b1a1026e8760bcd817 | /Curso/ExMundo3/Ex080Listas3AdicionandoValores.py | ec1132f3bf525b6dd536f9554c873009a610d01b | [
"MIT"
] | permissive | DavidBitner/Aprendizado-Python | 7afbe94c48c210ddf1ab6ae21109a8475e11bdbc | e1dcf18f9473c697fc2302f34a2d3e025ca6c969 | refs/heads/master | 2023-01-02T13:24:38.987257 | 2020-10-26T19:31:22 | 2020-10-26T19:31:22 | 283,448,224 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 476 | py | lista = []
for cont in range(0, 5):
n = int(input('Digite um valor: '))
if cont == 0 or n > lista[-1]:
lista.append(n)
print('Valor adicionado ao fim da lista...')
else:
pos = 0
while pos < len(lista):
if n <= lista[pos]:
lista.insert(pos, n)
print(f'Valor adicionado a posição {pos} da lista...')
break
pos += 1
print(f'Os valores digitados foram {lista}')
| [
"david-bitner@hotmail.com"
] | david-bitner@hotmail.com |
5ab8fd2d4d54815e373fb20810c273cf56ce74d7 | b7853adb67d24f2ee5134f87f15eb353553f9af9 | /lighter/coal_and_stick/trainer_events/trainer_event.py | 2344c8b9500d1f14b1163b6f7f631b86715f998c | [
"Apache-2.0"
] | permissive | susautw/lighter | cc1422646c134226049d2f4063ab6f7d618f3215 | 5f78e5ba595f84805fd428a5086d5566e27cb55d | refs/heads/master | 2020-08-07T23:14:34.283568 | 2019-10-21T05:00:36 | 2019-10-21T05:00:36 | 213,618,861 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 164 | py | from .. import BaseTrainer
from ...events import Event
class TrainerEvent(Event):
def __init__(self, trainer: BaseTrainer):
super().__init__(trainer)
| [
"susautw@gmail.com"
] | susautw@gmail.com |
6991f98fb07f2dd43df9226c30b6f54d6678bf42 | 600cc377329781ab01466fe7a27ec1653a2c77bb | /app/exceptions.py | 175762a8f415d8b62fec4df328dcb8cef023233e | [] | no_license | volitilov/Flask_microblog | 3efa83f6a34eebc1fcdf7b4ba4519d398503e159 | 7769628d622508b16c9e42aad00109bdd4e36167 | refs/heads/master | 2022-12-12T22:54:28.070099 | 2018-09-16T11:54:52 | 2018-09-16T11:54:52 | 104,367,584 | 0 | 0 | null | 2022-12-08T02:08:08 | 2017-09-21T15:44:01 | Python | UTF-8 | Python | false | false | 223 | py | # app/exceptions.py
#
# :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
# :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
class ValidationError(ValueError):
pass | [
"volitilov@gmail.com"
] | volitilov@gmail.com |
cda70d98d6053a2d048b93d31ef5d48ebfdf681b | dc7dc1ab85403a4467044d4c0c936c17fff5225a | /fstmerge/examples/Fail2ban/rev579-759/right-branch-759/server/transmitter.py | 4462e1f90f9eefa96e14a0509562cea26dfe7726 | [] | no_license | RoDaniel/featurehouse | d2dcb5f896bbce2c5154d0ba5622a908db4c5d99 | df89ce54ddadfba742508aa2ff3ba919a4a598dc | refs/heads/master | 2020-12-25T13:45:44.511719 | 2012-01-20T17:43:15 | 2012-01-20T17:43:15 | 1,919,462 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,943 | py | __author__ = "Cyril Jaquier"
__version__ = "$Revision: 1.1 $"
__date__ = "$Date: 2010-07-25 12:46:29 $"
__copyright__ = "Copyright (c) 2004 Cyril Jaquier"
__license__ = "GPL"
import logging, time
logSys = logging.getLogger("fail2ban.comm")
class Transmitter:
def __init__(self, server):
self.__server = server
def proceed(self, command):
logSys.debug("Command: " + `command`)
try:
ret = self.__commandHandler(command)
ack = 0, ret
except Exception, e:
logSys.warn("Invalid command: " + `command`)
ack = 1, e
return ack
def __commandHandler(self, command):
if command[0] == "ping":
return "pong"
elif command[0] == "add":
name = command[1]
if name == "all":
raise Exception("Reserved name")
try:
backend = command[2]
except IndexError:
backend = "auto"
self.__server.addJail(name, backend)
return name
elif command[0] == "start":
name = command[1]
self.__server.startJail(name)
return None
elif command[0] == "stop":
if len(command) == 1:
self.__server.quit()
elif command[1] == "all":
self.__server.stopAllJail()
else:
name = command[1]
self.__server.stopJail(name)
return None
elif command[0] == "sleep":
value = command[1]
time.sleep(int(value))
return None
elif command[0] == "set":
return self.__commandSet(command[1:])
elif command[0] == "get":
return self.__commandGet(command[1:])
elif command[0] == "status":
return self.status(command[1:])
raise Exception("Invalid command")
def __commandSet(self, command):
name = command[0]
if name == "loglevel":
value = int(command[1])
self.__server.setLogLevel(value)
return self.__server.getLogLevel()
elif name == "logtarget":
value = command[1]
self.__server.setLogTarget(value)
return self.__server.getLogTarget()
elif command[1] == "idle":
if command[2] == "on":
self.__server.setIdleJail(name, True)
elif command[2] == "off":
self.__server.setIdleJail(name, False)
return self.__server.getIdleJail(name)
elif command[1] == "addignoreip":
value = command[2]
self.__server.addIgnoreIP(name, value)
return self.__server.getIgnoreIP(name)
elif command[1] == "delignoreip":
value = command[2]
self.__server.delIgnoreIP(name, value)
return self.__server.getIgnoreIP(name)
elif command[1] == "addlogpath":
value = command[2:]
for path in value:
self.__server.addLogPath(name, path)
return self.__server.getLogPath(name)
elif command[1] == "dellogpath":
value = command[2]
self.__server.delLogPath(name, value)
return self.__server.getLogPath(name)
elif command[1] == "addfailregex":
value = command[2]
self.__server.addFailRegex(name, value)
return self.__server.getFailRegex(name)
elif command[1] == "delfailregex":
value = int(command[2])
self.__server.delFailRegex(name, value)
return self.__server.getFailRegex(name)
elif command[1] == "addignoreregex":
value = command[2]
self.__server.addIgnoreRegex(name, value)
return self.__server.getIgnoreRegex(name)
elif command[1] == "delignoreregex":
value = int(command[2])
self.__server.delIgnoreRegex(name, value)
return self.__server.getIgnoreRegex(name)
elif command[1] == "findtime":
value = command[2]
self.__server.setFindTime(name, int(value))
return self.__server.getFindTime(name)
elif command[1] == "maxretry":
value = command[2]
self.__server.setMaxRetry(name, int(value))
return self.__server.getMaxRetry(name)
elif command[1] == "bantime":
value = command[2]
self.__server.setBanTime(name, int(value))
return self.__server.getBanTime(name)
elif command[1] == "banip":
value = command[2]
return self.__server.setBanIP(name,value)
elif command[1] == "addaction":
value = command[2]
self.__server.addAction(name, value)
return self.__server.getLastAction(name).getName()
elif command[1] == "delaction":
self.__server.delAction(name, value)
return None
elif command[1] == "setcinfo":
act = command[2]
key = command[3]
value = command[4]
self.__server.setCInfo(name, act, key, value)
return self.__server.getCInfo(name, act, key)
elif command[1] == "delcinfo":
act = command[2]
key = command[3]
self.__server.delCInfo(name, act, key)
return None
elif command[1] == "actionstart":
act = command[2]
value = command[3]
self.__server.setActionStart(name, act, value)
return self.__server.getActionStart(name, act)
elif command[1] == "actionstop":
act = command[2]
value = command[3]
self.__server.setActionStop(name, act, value)
return self.__server.getActionStop(name, act)
elif command[1] == "actioncheck":
act = command[2]
value = command[3]
self.__server.setActionCheck(name, act, value)
return self.__server.getActionCheck(name, act)
elif command[1] == "actionban":
act = command[2]
value = command[3]
self.__server.setActionBan(name, act, value)
return self.__server.getActionBan(name, act)
elif command[1] == "actionunban":
act = command[2]
value = command[3]
self.__server.setActionUnban(name, act, value)
return self.__server.getActionUnban(name, act)
raise Exception("Invalid command (no set action or not yet implemented)")
def __commandGet(self, command):
name = command[0]
if name == "loglevel":
return self.__server.getLogLevel()
elif name == "logtarget":
return self.__server.getLogTarget()
elif command[1] == "logpath":
return self.__server.getLogPath(name)
elif command[1] == "ignoreip":
return self.__server.getIgnoreIP(name)
elif command[1] == "failregex":
return self.__server.getFailRegex(name)
elif command[1] == "ignoreregex":
return self.__server.getIgnoreRegex(name)
elif command[1] == "findtime":
return self.__server.getFindTime(name)
elif command[1] == "maxretry":
return self.__server.getMaxRetry(name)
elif command[1] == "bantime":
return self.__server.getBanTime(name)
elif command[1] == "addaction":
return self.__server.getLastAction(name).getName()
elif command[1] == "actionstart":
act = command[2]
return self.__server.getActionStart(name, act)
elif command[1] == "actionstop":
act = command[2]
return self.__server.getActionStop(name, act)
elif command[1] == "actioncheck":
act = command[2]
return self.__server.getActionCheck(name, act)
elif command[1] == "actionban":
act = command[2]
return self.__server.getActionBan(name, act)
elif command[1] == "actionunban":
act = command[2]
return self.__server.getActionUnban(name, act)
raise Exception("Invalid command (no get action or not yet implemented)")
def status(self, command):
if len(command) == 0:
return self.__server.status()
else:
name = command[0]
return self.__server.statusJail(name)
raise Exception("Invalid command (no status)")
| [
"joliebig"
] | joliebig |
6ef8d6902b117fc89fa883b3075f1414f73391a4 | 8c7efb37b53717c228a017e0799eb477959fb8ef | /wmm/scenario/migrations/0077_auto.py | 3adc40b5ae2e01f5f35728e4e69d0b74677d1196 | [] | no_license | rhodges/washington-marinemap | d3c9b24265b1a0800c7dcf0163d22407328eff57 | e360902bc41b398df816e461b3c864520538a226 | refs/heads/master | 2021-01-23T11:47:50.886681 | 2012-09-24T18:38:33 | 2012-09-24T18:38:33 | 32,354,397 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 43,785 | py | # encoding: utf-8
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Removing M2M table for field input_substrate_nearshore_conservation on 'MOS'
db.delete_table('scenario_mos_input_substrate_nearshore_conservation')
def backwards(self, orm):
# Adding M2M table for field input_substrate_nearshore_conservation on 'MOS'
db.create_table('scenario_mos_input_substrate_nearshore_conservation', (
('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
('mos', models.ForeignKey(orm['scenario.mos'], null=False)),
('nearshoresubstrate', models.ForeignKey(orm['scenario.nearshoresubstrate'], null=False))
))
db.create_unique('scenario_mos_input_substrate_nearshore_conservation', ['mos_id', 'nearshoresubstrate_id'])
models = {
'auth.group': {
'Meta': {'object_name': 'Group'},
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
},
'auth.permission': {
'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
},
'auth.user': {
'Meta': {'object_name': 'User'},
'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
},
'contenttypes.contenttype': {
'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
},
'scenario.aoi': {
'Meta': {'object_name': 'AOI'},
'content_type': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'scenario_aoi_related'", 'null': 'True', 'to': "orm['contenttypes.ContentType']"}),
'date_created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
'geometry_final': ('django.contrib.gis.db.models.fields.PolygonField', [], {'srid': '32610', 'null': 'True', 'blank': 'True'}),
'geometry_orig': ('django.contrib.gis.db.models.fields.PolygonField', [], {'srid': '32610', 'null': 'True', 'blank': 'True'}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'manipulators': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
'name': ('django.db.models.fields.CharField', [], {'max_length': "'255'"}),
'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}),
'sharing_groups': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'scenario_aoi_related'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['auth.Group']"}),
'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'scenario_aoi_related'", 'to': "orm['auth.User']"})
},
'scenario.category': {
'Meta': {'object_name': 'Category'},
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'name': ('django.db.models.fields.CharField', [], {'max_length': '70'}),
'short_name': ('django.db.models.fields.CharField', [], {'max_length': '70'})
},
'scenario.conservationobjective': {
'Meta': {'object_name': 'ConservationObjective'},
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'objective': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['scenario.Objective']", 'null': 'True', 'blank': 'True'})
},
'scenario.conservationsite': {
'Meta': {'object_name': 'ConservationSite'},
'content_type': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'scenario_conservationsite_related'", 'null': 'True', 'to': "orm['contenttypes.ContentType']"}),
'date_created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
'geometry_final': ('django.contrib.gis.db.models.fields.PolygonField', [], {'srid': '32610', 'null': 'True', 'blank': 'True'}),
'geometry_orig': ('django.contrib.gis.db.models.fields.PolygonField', [], {'srid': '32610', 'null': 'True', 'blank': 'True'}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'manipulators': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
'name': ('django.db.models.fields.CharField', [], {'max_length': "'255'"}),
'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}),
'sharing_groups': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'scenario_conservationsite_related'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['auth.Group']"}),
'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'scenario_conservationsite_related'", 'to': "orm['auth.User']"})
},
'scenario.depthclass': {
'Meta': {'object_name': 'DepthClass'},
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'name': ('django.db.models.fields.CharField', [], {'max_length': '30'})
},
'scenario.developmentobjective': {
'Meta': {'object_name': 'DevelopmentObjective'},
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'objective': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['scenario.Objective']", 'null': 'True', 'blank': 'True'})
},
'scenario.energyobjective': {
'Meta': {'object_name': 'EnergyObjective'},
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'objective': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['scenario.Objective']", 'null': 'True', 'blank': 'True'})
},
'scenario.fisheriesobjective': {
'Meta': {'object_name': 'FisheriesObjective'},
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'objective': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['scenario.Objective']", 'null': 'True', 'blank': 'True'})
},
'scenario.folder': {
'Meta': {'object_name': 'Folder'},
'content_type': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'scenario_folder_related'", 'null': 'True', 'to': "orm['contenttypes.ContentType']"}),
'date_created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'name': ('django.db.models.fields.CharField', [], {'max_length': "'255'"}),
'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}),
'sharing_groups': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'scenario_folder_related'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['auth.Group']"}),
'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'scenario_folder_related'", 'to': "orm['auth.User']"})
},
'scenario.geomorphology': {
'Meta': {'object_name': 'Geomorphology'},
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'name': ('django.db.models.fields.CharField', [], {'max_length': '30'})
},
'scenario.loi': {
'Meta': {'object_name': 'LOI'},
'content_type': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'scenario_loi_related'", 'null': 'True', 'to': "orm['contenttypes.ContentType']"}),
'date_created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
'geometry_final': ('django.contrib.gis.db.models.fields.LineStringField', [], {'srid': '32610', 'null': 'True', 'blank': 'True'}),
'geometry_orig': ('django.contrib.gis.db.models.fields.LineStringField', [], {'srid': '32610', 'null': 'True', 'blank': 'True'}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'manipulators': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
'name': ('django.db.models.fields.CharField', [], {'max_length': "'255'"}),
'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}),
'sharing_groups': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'scenario_loi_related'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['auth.Group']"}),
'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'scenario_loi_related'", 'to': "orm['auth.User']"})
},
'scenario.mos': {
'Meta': {'object_name': 'MOS'},
'content_type': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'scenario_mos_related'", 'null': 'True', 'to': "orm['contenttypes.ContentType']"}),
'date_created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'input_depth_class_nearshore_conservation': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'MOSNearshoreConservationDepthClass'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['scenario.DepthClass']"}),
'input_depth_class_offshore_conservation': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'MOSOffshoreConservationDepthClass'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['scenario.DepthClass']"}),
'input_depth_class_offshore_fishing': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'MOSOffshoreFishingDepthClass'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['scenario.DepthClass']"}),
'input_depth_class_shellfish_aquaculture': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'MOSShellfishAquacultureDepthClass'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['scenario.DepthClass']"}),
'input_depth_class_shoreside_development': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'MOSShoresideDevelopmentDepthClass'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['scenario.DepthClass']"}),
'input_depth_class_tidal_energy': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'MOSTidalEnergyDepthClass'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['scenario.DepthClass']"}),
'input_depth_class_water_column_conservation': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'MOSWaterColumnConservationDepthClass'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['scenario.DepthClass']"}),
'input_depth_class_wave_energy': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'MOSWaveEnergyDepthClass'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['scenario.DepthClass']"}),
'input_depth_class_wind_energy': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'MOSWindEnergyDepthClass'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['scenario.DepthClass']"}),
'input_dist_port_nearshore_conservation': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}),
'input_dist_port_offshore_conservation': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}),
'input_dist_port_offshore_fishing': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}),
'input_dist_port_shellfish_aquaculture': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}),
'input_dist_port_shoreside_development': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}),
'input_dist_port_tidal_energy': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}),
'input_dist_port_water_column_conservation': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}),
'input_dist_port_wave_energy': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}),
'input_dist_port_wind_energy': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}),
'input_dist_shore_nearshore_conservation': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}),
'input_dist_shore_offshore_conservation': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}),
'input_dist_shore_offshore_fishing': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}),
'input_dist_shore_shellfish_aquaculture': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}),
'input_dist_shore_shoreside_development': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}),
'input_dist_shore_tidal_energy': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}),
'input_dist_shore_water_column_conservation': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}),
'input_dist_shore_wave_energy': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}),
'input_dist_shore_wind_energy': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}),
'input_geomorphology_nearshore_conservation': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'MOSNearshoreConservationGeomorphology'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['scenario.Geomorphology']"}),
'input_geomorphology_offshore_conservation': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'MOSOffshoreConservationGeomorphology'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['scenario.Geomorphology']"}),
'input_geomorphology_offshore_fishing': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'MOSOffshoreFishingGeomorphology'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['scenario.Geomorphology']"}),
'input_geomorphology_shellfish_aquaculture': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'MOSShellfishAquacultureGeomorphology'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['scenario.Geomorphology']"}),
'input_geomorphology_shoreside_development': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'MOSShoresideDevelopmentGeomorphology'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['scenario.Geomorphology']"}),
'input_geomorphology_tidal_energy': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'MOSTidalEnergyGeomorphology'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['scenario.Geomorphology']"}),
'input_geomorphology_water_column_conservation': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'MOSWaterColumnConservationGeomorphology'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['scenario.Geomorphology']"}),
'input_geomorphology_wave_energy': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'MOSWaveEnergyGeomorphology'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['scenario.Geomorphology']"}),
'input_geomorphology_wind_energy': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'MOSWindEnergyGeomorphology'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['scenario.Geomorphology']"}),
'input_max_depth_nearshore_conservation': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}),
'input_max_depth_offshore_conservation': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}),
'input_max_depth_offshore_fishing': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}),
'input_max_depth_shellfish_aquaculture': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}),
'input_max_depth_shoreside_development': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}),
'input_max_depth_tidal_energy': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}),
'input_max_depth_water_column_conservation': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}),
'input_max_depth_wave_energy': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}),
'input_max_depth_wind_energy': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}),
'input_min_depth_nearshore_conservation': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}),
'input_min_depth_offshore_conservation': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}),
'input_min_depth_offshore_fishing': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}),
'input_min_depth_shellfish_aquaculture': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}),
'input_min_depth_shoreside_development': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}),
'input_min_depth_tidal_energy': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}),
'input_min_depth_water_column_conservation': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}),
'input_min_depth_wave_energy': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}),
'input_min_depth_wind_energy': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}),
'input_objectives': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['scenario.Objective']", 'null': 'True', 'blank': 'True'}),
'input_objectives_conservation': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['scenario.ConservationObjective']", 'null': 'True', 'blank': 'True'}),
'input_objectives_development': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['scenario.DevelopmentObjective']", 'null': 'True', 'blank': 'True'}),
'input_objectives_energy': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['scenario.EnergyObjective']", 'null': 'True', 'blank': 'True'}),
'input_objectives_fisheries': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['scenario.FisheriesObjective']", 'null': 'True', 'blank': 'True'}),
'input_parameters_nearshore_conservation': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['scenario.NearshoreConservationParameter']", 'symmetrical': 'False'}),
'input_parameters_offshore_conservation': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['scenario.OffshoreConservationParameter']", 'symmetrical': 'False'}),
'input_parameters_offshore_fishing': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['scenario.OffshoreFishingParameter']", 'symmetrical': 'False'}),
'input_parameters_shellfish_aquaculture': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['scenario.ShellfishAquacultureParameter']", 'symmetrical': 'False'}),
'input_parameters_shoreside_development': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['scenario.ShoresideDevelopmentParameter']", 'symmetrical': 'False'}),
'input_parameters_tidal_energy': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['scenario.TidalEnergyParameter']", 'null': 'True', 'blank': 'True'}),
'input_parameters_water_column_conservation': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['scenario.WaterColumnConservationParameter']", 'symmetrical': 'False'}),
'input_parameters_wave_energy': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['scenario.WaveEnergyParameter']", 'symmetrical': 'False'}),
'input_parameters_wind_energy': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['scenario.WindEnergyParameter']", 'symmetrical': 'False'}),
'input_substrate_offshore_conservation': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'MOSOffshoreConservationSubstrate'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['scenario.Substrate']"}),
'input_substrate_offshore_fishing': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'MOSOffshoreFishingSubstrate'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['scenario.Substrate']"}),
'input_substrate_shellfish_aquaculture': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'MOSShellfishAquacultureSubstrate'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['scenario.Substrate']"}),
'input_substrate_shoreside_development': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'MOSShoresideDevelopmentSubstrate'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['scenario.Substrate']"}),
'input_substrate_tidal_energy': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'MOSTidalEnergySubstrate'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['scenario.Substrate']"}),
'input_substrate_water_column_conservation': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'MOSWaterColumnConservationSubstrate'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['scenario.Substrate']"}),
'input_substrate_wave_energy': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'MOSWaveEnergySubstrate'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['scenario.Substrate']"}),
'input_substrate_wind_energy': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'MOSWindEnergySubstrate'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['scenario.Substrate']"}),
'name': ('django.db.models.fields.CharField', [], {'max_length': "'255'"}),
'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}),
'scenarios': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['scenario.Scenario']", 'null': 'True', 'blank': 'True'}),
'sharing_groups': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'scenario_mos_related'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['auth.Group']"}),
'support_file': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'scenario_mos_related'", 'to': "orm['auth.User']"})
},
'scenario.nearshoreconservationparameter': {
'Meta': {'object_name': 'NearshoreConservationParameter'},
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'parameter': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['scenario.Parameter']", 'null': 'True', 'blank': 'True'})
},
'scenario.nearshoresubstrate': {
'Meta': {'object_name': 'NearshoreSubstrate'},
'color': ('django.db.models.fields.CharField', [], {'default': "'778B1A55'", 'max_length': '8'}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'name': ('django.db.models.fields.CharField', [], {'max_length': '30'})
},
'scenario.objective': {
'Meta': {'object_name': 'Objective'},
'color': ('django.db.models.fields.CharField', [], {'default': "'778B1A55'", 'max_length': '8'}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'name': ('django.db.models.fields.CharField', [], {'max_length': '70'}),
'short_name': ('django.db.models.fields.CharField', [], {'max_length': '70'})
},
'scenario.offshoreconservationparameter': {
'Meta': {'object_name': 'OffshoreConservationParameter'},
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'parameter': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['scenario.Parameter']", 'null': 'True', 'blank': 'True'})
},
'scenario.offshorefishingparameter': {
'Meta': {'object_name': 'OffshoreFishingParameter'},
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'parameter': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['scenario.Parameter']", 'null': 'True', 'blank': 'True'})
},
'scenario.parameter': {
'Meta': {'object_name': 'Parameter'},
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'name': ('django.db.models.fields.CharField', [], {'max_length': '70'}),
'short_name': ('django.db.models.fields.CharField', [], {'max_length': '70'})
},
'scenario.poi': {
'Meta': {'object_name': 'POI'},
'content_type': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'scenario_poi_related'", 'null': 'True', 'to': "orm['contenttypes.ContentType']"}),
'date_created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
'geometry_final': ('django.contrib.gis.db.models.fields.PointField', [], {'srid': '32610', 'null': 'True', 'blank': 'True'}),
'geometry_orig': ('django.contrib.gis.db.models.fields.PointField', [], {'srid': '32610', 'null': 'True', 'blank': 'True'}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'manipulators': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
'name': ('django.db.models.fields.CharField', [], {'max_length': "'255'"}),
'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}),
'sharing_groups': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'scenario_poi_related'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['auth.Group']"}),
'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'scenario_poi_related'", 'to': "orm['auth.User']"})
},
'scenario.scenario': {
'Meta': {'object_name': 'Scenario'},
'content_type': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'scenario_scenario_related'", 'null': 'True', 'to': "orm['contenttypes.ContentType']"}),
'date_created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
'geometry_final': ('django.contrib.gis.db.models.fields.MultiPolygonField', [], {'srid': '32610', 'null': 'True', 'blank': 'True'}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'input_depth_class': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['scenario.DepthClass']", 'null': 'True', 'blank': 'True'}),
'input_dist_port': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}),
'input_dist_shore': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}),
'input_geomorphology': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['scenario.Geomorphology']", 'null': 'True', 'blank': 'True'}),
'input_max_depth': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}),
'input_min_depth': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}),
'input_nearshore_substrate': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['scenario.NearshoreSubstrate']", 'null': 'True', 'blank': 'True'}),
'input_objective': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['scenario.Objective']"}),
'input_parameters': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['scenario.Parameter']", 'null': 'True', 'blank': 'True'}),
'input_substrate': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['scenario.Substrate']", 'null': 'True', 'blank': 'True'}),
'name': ('django.db.models.fields.CharField', [], {'max_length': "'255'"}),
'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}),
'output_area': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}),
'output_depth_class_stats': ('django.db.models.fields.TextField', [], {'max_length': '360', 'null': 'True', 'blank': 'True'}),
'output_geom': ('django.contrib.gis.db.models.fields.MultiPolygonField', [], {'srid': '32610', 'null': 'True', 'blank': 'True'}),
'output_geomorphology_stats': ('django.db.models.fields.TextField', [], {'max_length': '360', 'null': 'True', 'blank': 'True'}),
'output_mapcalc': ('django.db.models.fields.CharField', [], {'max_length': '360', 'null': 'True', 'blank': 'True'}),
'output_substrate_depth_class_stats': ('django.db.models.fields.TextField', [], {'max_length': '360', 'null': 'True', 'blank': 'True'}),
'output_substrate_geomorphology_stats': ('django.db.models.fields.TextField', [], {'max_length': '360', 'null': 'True', 'blank': 'True'}),
'output_substrate_stats': ('django.db.models.fields.TextField', [], {'max_length': '360', 'null': 'True', 'blank': 'True'}),
'sharing_groups': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'scenario_scenario_related'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['auth.Group']"}),
'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'scenario_scenario_related'", 'to': "orm['auth.User']"})
},
'scenario.shellfishaquacultureparameter': {
'Meta': {'object_name': 'ShellfishAquacultureParameter'},
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'parameter': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['scenario.Parameter']", 'null': 'True', 'blank': 'True'})
},
'scenario.shoresidedevelopmentparameter': {
'Meta': {'object_name': 'ShoresideDevelopmentParameter'},
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'parameter': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['scenario.Parameter']", 'null': 'True', 'blank': 'True'})
},
'scenario.smpsite': {
'Meta': {'object_name': 'SMPSite'},
'content_type': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'scenario_smpsite_related'", 'null': 'True', 'to': "orm['contenttypes.ContentType']"}),
'date_created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
'geometry_final': ('django.contrib.gis.db.models.fields.PolygonField', [], {'srid': '32610', 'null': 'True', 'blank': 'True'}),
'geometry_orig': ('django.contrib.gis.db.models.fields.PolygonField', [], {'srid': '32610', 'null': 'True', 'blank': 'True'}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'manipulators': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
'name': ('django.db.models.fields.CharField', [], {'max_length': "'255'"}),
'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}),
'sharing_groups': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'scenario_smpsite_related'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['auth.Group']"}),
'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'scenario_smpsite_related'", 'to': "orm['auth.User']"})
},
'scenario.substrate': {
'Meta': {'object_name': 'Substrate'},
'color': ('django.db.models.fields.CharField', [], {'default': "'778B1A55'", 'max_length': '8'}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'name': ('django.db.models.fields.CharField', [], {'max_length': '30'})
},
'scenario.tidalenergyparameter': {
'Meta': {'object_name': 'TidalEnergyParameter'},
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'parameter': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['scenario.Parameter']", 'null': 'True', 'blank': 'True'})
},
'scenario.userkml': {
'Meta': {'object_name': 'UserKml'},
'content_type': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'scenario_userkml_related'", 'null': 'True', 'to': "orm['contenttypes.ContentType']"}),
'date_created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
'description': ('django.db.models.fields.TextField', [], {'default': "''", 'null': 'True', 'blank': 'True'}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'kml_file': ('django.db.models.fields.files.FileField', [], {'max_length': '510'}),
'name': ('django.db.models.fields.CharField', [], {'max_length': "'255'"}),
'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}),
'sharing_groups': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'scenario_userkml_related'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['auth.Group']"}),
'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'scenario_userkml_related'", 'to': "orm['auth.User']"})
},
'scenario.watercolumnconservationparameter': {
'Meta': {'object_name': 'WaterColumnConservationParameter'},
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'parameter': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['scenario.Parameter']", 'null': 'True', 'blank': 'True'})
},
'scenario.waveenergyparameter': {
'Meta': {'object_name': 'WaveEnergyParameter'},
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'parameter': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['scenario.Parameter']", 'null': 'True', 'blank': 'True'})
},
'scenario.windenergyparameter': {
'Meta': {'object_name': 'WindEnergyParameter'},
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'parameter': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['scenario.Parameter']", 'null': 'True', 'blank': 'True'})
},
'scenario.windenergysite': {
'Meta': {'object_name': 'WindEnergySite'},
'content_type': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'scenario_windenergysite_related'", 'null': 'True', 'to': "orm['contenttypes.ContentType']"}),
'date_created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
'geometry_final': ('django.contrib.gis.db.models.fields.PolygonField', [], {'srid': '32610', 'null': 'True', 'blank': 'True'}),
'geometry_orig': ('django.contrib.gis.db.models.fields.PolygonField', [], {'srid': '32610', 'null': 'True', 'blank': 'True'}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'manipulators': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
'name': ('django.db.models.fields.CharField', [], {'max_length': "'255'"}),
'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}),
'sharing_groups': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'scenario_windenergysite_related'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['auth.Group']"}),
'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'scenario_windenergysite_related'", 'to': "orm['auth.User']"})
}
}
complete_apps = ['scenario']
| [
"sfletche@gmail.com"
] | sfletche@gmail.com |
930e761640dc0e0307b8801873263d3d485c8594 | 7b1a5db0a067766a9805fe04105f6c7f9ff131f3 | /pysal/explore/esda/tests/test_smoothing.py | 53185e57f83992c8edc588d3db86645428da4121 | [] | permissive | ocefpaf/pysal | 2d25b9f3a8bd87a7be3f96b825995a185624e1d0 | 7e397bdb4c22d4e2442b4ee88bcd691d2421651d | refs/heads/master | 2020-06-26T17:13:06.016203 | 2019-07-31T19:54:35 | 2019-07-31T19:54:35 | 199,696,188 | 0 | 0 | BSD-3-Clause | 2019-07-30T17:17:19 | 2019-07-30T17:17:18 | null | UTF-8 | Python | false | false | 24,686 | py | import unittest
import pysal.lib
from pysal.lib.weights.distance import KNN, Kernel
from .. import smoothing as sm
import numpy as np
from pysal.lib.common import RTOL, ATOL, pandas
PANDAS_EXTINCT = pandas is None
class TestFlatten(unittest.TestCase):
def setUp(self):
self.input = [[1, 2], [3, 3, 4], [5, 6]]
def test_flatten(self):
out1 = sm.flatten(self.input)
out2 = sm.flatten(self.input, unique=False)
self.assertEqual(out1, [1, 2, 3, 4, 5, 6])
self.assertEqual(out2, [1, 2, 3, 3, 4, 5, 6])
class TestWMean(unittest.TestCase):
def setUp(self):
self.d = np.array([5, 4, 3, 1, 2])
self.w1 = np.array([10, 22, 9, 2, 5])
self.w2 = np.array([10, 14, 17, 2, 5])
def test_weighted_median(self):
out1 = sm.weighted_median(self.d, self.w1)
out2 = sm.weighted_median(self.d, self.w2)
self.assertEqual(out1, 4)
self.assertEqual(out2, 3.5)
class TestAgeStd(unittest.TestCase):
def setUp(self):
self.e = np.array([30, 25, 25, 15, 33, 21, 30, 20])
self.b = np.array([1000, 1000, 1100, 900, 1000, 900, 1100, 900])
self.s_e = np.array([100, 45, 120, 100, 50, 30, 200, 80])
self.s_b = s = np.array([1000, 900, 1000, 900, 1000, 900, 1000, 900])
self.n = 2
def test_crude_age_standardization(self):
crude = sm.crude_age_standardization(self.e, self.b, self.n).round(8)
crude_exp = np.array([0.02375000, 0.02666667])
self.assertEqual(list(crude), list(crude_exp))
def test_direct_age_standardization(self):
direct = np.array(sm.direct_age_standardization(
self.e, self.b, self.s_b, self.n)).round(8)
direct_exp = np.array([[0.02374402, 0.01920491,
0.02904848], [0.02665072, 0.02177143, 0.03230508]])
self.assertEqual(list(direct.flatten()), list(direct_exp.flatten()))
def test_indirect_age_standardization(self):
indirect = np.array(sm.indirect_age_standardization(
self.e, self.b, self.s_e, self.s_b, self.n)).round(8)
indirect_exp = np.array([[0.02372382, 0.01940230,
0.02900789], [0.02610803, .02154304, 0.03164035]])
self.assertEqual(
list(indirect.flatten()), list(indirect_exp.flatten()))
class TestSRate(unittest.TestCase):
def setUp(self):
sids = pysal.lib.io.open(pysal.lib.examples.get_path('sids2.dbf'), 'r')
self.w = pysal.lib.io.open(pysal.lib.examples.get_path('sids2.gal'), 'r').read()
self.b, self.e = np.array(sids[:, 8]), np.array(sids[:, 9])
self.er = [0.453433, 0.000000, 0.775871, 0.973810, 3.133190]
self.eb = [0.0016973, 0.0017054, 0.0017731, 0.0020129, 0.0035349]
self.sr = [0.0009922, 0.0012639, 0.0009740, 0.0007605, 0.0050154]
self.smr = [0.00083622, 0.00109402, 0.00081567, 0.0, 0.0048209]
self.smr_w = [0.00127146, 0.00127146, 0.0008433, 0.0, 0.0049889]
self.smr2 = [0.00091659, 0.00087641, 0.00091073, 0.0, 0.00467633]
self.s_ebr10 = np.array([4.01485749e-05, 3.62437513e-05,
4.93034844e-05, 5.09387329e-05, 3.72735210e-05,
3.69333797e-05, 5.40245456e-05, 2.99806055e-05,
3.73034109e-05, 3.47270722e-05]).reshape(-1,1)
self.stl = pysal.lib.io.open(pysal.lib.examples.get_path('stl_hom.csv'), 'r')
self.stl_e, self.stl_b = np.array(self.stl[:, 10]), np.array(self.stl[:, 13])
self.stl_w = pysal.lib.io.open(pysal.lib.examples.get_path('stl.gal'), 'r').read()
if not self.stl_w.id_order_set:
self.stl_w.id_order = list(range(1, len(self.stl) + 1))
if not PANDAS_EXTINCT:
self.df = pysal.lib.io.open(pysal.lib.examples.get_path('sids2.dbf')).to_df()
self.ename = 'SID74'
self.bname = 'BIR74'
self.stl_df = pysal.lib.io.open(pysal.lib.examples.get_path('stl_hom.csv')).to_df()
self.stl_ename = 'HC7984'
self.stl_bname = 'PO7984'
def test_Excess_Risk(self):
out_er = sm.Excess_Risk(self.e, self.b).r
np.testing.assert_allclose(out_er[:5].flatten(), self.er,
rtol=RTOL, atol=ATOL)
@unittest.skipIf(PANDAS_EXTINCT, 'missing pandas')
def test_Excess_Risk_tabular(self):
out_er = sm.Excess_Risk(self.df[self.ename], self.df[self.bname]).r
np.testing.assert_allclose(out_er[:5].flatten(), self.er,
rtol=RTOL, atol=ATOL)
self.assertIsInstance(out_er, np.ndarray)
out_er = sm.Excess_Risk.by_col(self.df, self.ename, self.bname)
outcol = '{}-{}_excess_risk'.format(self.ename, self.bname)
outcol = out_er[outcol]
np.testing.assert_allclose(outcol[:5], self.er,
rtol=RTOL, atol=ATOL)
self.assertIsInstance(outcol.values, np.ndarray)
def test_Empirical_Bayes(self):
out_eb = sm.Empirical_Bayes(self.e, self.b).r
np.testing.assert_allclose(out_eb[:5].flatten(), self.eb,
rtol=RTOL, atol=ATOL)
@unittest.skipIf(PANDAS_EXTINCT, 'missing pandas')
def test_Empirical_Bayes_tabular(self):
out_eb = sm.Empirical_Bayes(self.df[self.ename], self.df[self.bname]).r
np.testing.assert_allclose(out_eb[:5].flatten(), self.eb,
rtol=RTOL, atol=ATOL)
self.assertIsInstance(out_eb, np.ndarray)
out_eb = sm.Empirical_Bayes.by_col(self.df, self.ename, self.bname)
outcol = '{}-{}_empirical_bayes'.format(self.ename, self.bname)
outcol = out_eb[outcol]
np.testing.assert_allclose(outcol[:5], self.eb,
rtol=RTOL, atol=ATOL)
self.assertIsInstance(outcol.values, np.ndarray)
def test_Spatial_Empirical_Bayes(self):
s_eb = sm.Spatial_Empirical_Bayes(self.stl_e, self.stl_b, self.stl_w)
np.testing.assert_allclose(self.s_ebr10, s_eb.r[:10],
rtol=RTOL, atol=ATOL)
@unittest.skipIf(PANDAS_EXTINCT, 'missing pandas')
def test_Spatial_Empirical_Bayes_tabular(self):
s_eb = sm.Spatial_Empirical_Bayes(self.stl_df[self.stl_ename],
self.stl_df[self.stl_bname],
self.stl_w).r
self.assertIsInstance(s_eb, np.ndarray)
np.testing.assert_allclose(self.s_ebr10, s_eb[:10])
s_eb = sm.Spatial_Empirical_Bayes.by_col(self.stl_df,
self.stl_ename,
self.stl_bname,
self.stl_w)
outcol = '{}-{}_spatial_empirical_bayes'.format(self.stl_ename, self.stl_bname)
r = s_eb[outcol].values
self.assertIsInstance(r, np.ndarray)
np.testing.assert_allclose(self.s_ebr10, r[:10].reshape(-1,1))
def test_Spatial_Rate(self):
out_sr = sm.Spatial_Rate(self.e, self.b, self.w).r
np.testing.assert_allclose(out_sr[:5].flatten(), self.sr,
rtol=RTOL, atol=ATOL)
@unittest.skipIf(PANDAS_EXTINCT, 'missing pandas')
def test_Spatial_Rate_tabular(self):
out_sr = sm.Spatial_Rate(self.df[self.ename], self.df[self.bname], self.w).r
np.testing.assert_allclose(out_sr[:5].flatten(), self.sr,
rtol=RTOL, atol=ATOL)
self.assertIsInstance(out_sr, np.ndarray)
out_sr = sm.Spatial_Rate.by_col(self.df, self.ename, self.bname,w=self.w)
outcol = '{}-{}_spatial_rate'.format(self.ename, self.bname)
r = out_sr[outcol].values
self.assertIsInstance(r, np.ndarray)
np.testing.assert_allclose(r[:5], self.sr, rtol=RTOL, atol=ATOL)
def test_Spatial_Median_Rate(self):
out_smr = sm.Spatial_Median_Rate(self.e, self.b, self.w).r
out_smr_w = sm.Spatial_Median_Rate(self.e, self.b, self.w, aw=self.b).r
out_smr2 = sm.Spatial_Median_Rate(self.e, self.b, self.w, iteration=2).r
np.testing.assert_allclose(out_smr[:5].flatten(), self.smr,
atol=ATOL, rtol=RTOL)
np.testing.assert_allclose(out_smr_w[:5].flatten(), self.smr_w,
atol=ATOL, rtol=RTOL)
np.testing.assert_allclose(out_smr2[:5].flatten(), self.smr2,
atol=ATOL, rtol=RTOL)
@unittest.skipIf(PANDAS_EXTINCT, 'missing pandas')
def test_Spatial_Median_Rate_tabular(self):
out_smr = sm.Spatial_Median_Rate(self.df[self.ename],
self.df[self.bname],
self.w).r
out_smr_w = sm.Spatial_Median_Rate(self.df[self.ename],
self.df[self.bname],
self.w,
aw = self.df[self.bname]).r
out_smr2 = sm.Spatial_Median_Rate(self.df[self.ename],
self.df[self.bname],
self.w,
iteration=2).r
self.assertIsInstance(out_smr, np.ndarray)
self.assertIsInstance(out_smr_w, np.ndarray)
self.assertIsInstance(out_smr2, np.ndarray)
np.testing.assert_allclose(out_smr[:5].flatten(), self.smr,
atol=ATOL, rtol=RTOL)
np.testing.assert_allclose(out_smr_w[:5].flatten(), self.smr_w,
atol=ATOL, rtol=RTOL)
np.testing.assert_allclose(out_smr2[:5].flatten(), self.smr2,
atol=ATOL, rtol=RTOL)
out_smr = sm.Spatial_Median_Rate.by_col(self.df, self.ename,
self.bname, self.w)
out_smr_w = sm.Spatial_Median_Rate.by_col(self.df, self.ename,
self.bname, self.w,
aw = self.df[self.bname])
out_smr2 = sm.Spatial_Median_Rate.by_col(self.df, self.ename,
self.bname, self.w,
iteration=2)
outcol = '{}-{}_spatial_median_rate'.format(self.ename, self.bname)
np.testing.assert_allclose(out_smr[outcol].values[:5], self.smr,
rtol=RTOL, atol=ATOL)
np.testing.assert_allclose(out_smr_w[outcol].values[:5], self.smr_w,
rtol=RTOL, atol=ATOL)
np.testing.assert_allclose(out_smr2[outcol].values[:5], self.smr2,
rtol=RTOL, atol=ATOL)
@unittest.skipIf(PANDAS_EXTINCT, 'missing pandas')
def test_Spatial_Smoother_multicol(self):
"""
test that specifying multiple columns works correctly. Since the
function is shared over all spatial smoothers, we can only test one.
"""
enames = [self.ename, 'SID79']
bnames = [self.bname, 'BIR79']
out_df = sm.Spatial_Median_Rate.by_col(self.df, enames, bnames, self.w)
outcols = ['{}-{}_spatial_median_rate'.format(e,b)
for e,b in zip(enames, bnames)]
smr79 = np.array([0.00122129, 0.00176924, 0.00176924,
0.00240964, 0.00272035])
answers = [self.smr, smr79]
for col, answer in zip(outcols, answer):
self.assertIn(out_df.columns, col)
np.testing.assert_allclose(out_df[col].values[:5], answer,
rtol=RTOL, atol=ATOL)
@unittest.skipIf(PANDAS_EXTINCT, 'missing pandas')
def test_Smoother_multicol(self):
"""
test that non-spatial smoothers work with multicolumn queries
"""
enames = [self.ename, 'SID79']
bnames = [self.bname, 'BIR79']
out_df = sm.Excess_Risk.by_col(self.df, enames, bnames)
outcols = ['{}-{}_excess_risk'.format(e,b)
for e,b in zip(enames, bnames)]
er79 = np.array([0.000000, 2.796607, 0.8383863,
1.217479, 0.943811])
answers = [self.er, er79]
for col, answer in zip(outcols, answer):
self.assertIn(out_df.columns, col)
np.testing.assert_allclose(out_df[col].values[:5], answer,
rtol=RTOL, atol=ATOL)
class TestHB(unittest.TestCase):
def setUp(self):
sids = pysal.lib.io.open(pysal.lib.examples.get_path('sids2.shp'), 'r')
self.sids = sids
self.d = np.array([i.centroid for i in sids])
self.w = KNN.from_array(self.d, k=5)
if not self.w.id_order_set:
self.w.id_order = self.w.id_order
sids_db = pysal.lib.io.open(pysal.lib.examples.get_path('sids2.dbf'), 'r')
self.b, self.e = np.array(sids_db[:, 8]), np.array(sids_db[:, 9])
self.sids_hb_rr5 = np.array([0.00075586, 0.,
0.0008285, 0.0018315, 0.00498891])
self.sids_hb_r2r5 = np.array([0.0008285, 0.00084331,
0.00086896, 0.0018315, 0.00498891])
self.sids_hb_r3r5 = np.array([0.00091659, 0.,
0.00156838, 0.0018315, 0.00498891])
if not PANDAS_EXTINCT:
self.df = sids_db.to_df()
self.ename = 'SID74'
self.bname = 'BIR74'
self.enames = [self.ename, 'SID79']
self.bnames = [self.bname, 'BIR79']
self.sids79r = np.array([.000563, .001659, .001879,
.002410, .002720])
@unittest.skip('Deprecated')
def test_Headbanging_Triples(self):
ht = sm.Headbanging_Triples(self.d, self.w)
self.assertEqual(len(ht.triples), len(self.d))
ht2 = sm.Headbanging_Triples(self.d, self.w, edgecor=True)
self.assertTrue(hasattr(ht2, 'extra'))
self.assertEqual(len(ht2.triples), len(self.d))
htr = sm.Headbanging_Median_Rate(self.e, self.b, ht2, iteration=5)
self.assertEqual(len(htr.r), len(self.e))
for i in htr.r:
self.assertTrue(i is not None)
@unittest.skip('Deprecated')
def test_Headbanging_Median_Rate(self):
s_ht = sm.Headbanging_Triples(self.d, self.w, k=5)
sids_hb_r = sm.Headbanging_Median_Rate(self.e, self.b, s_ht)
np.testing.assert_array_almost_equal(self.sids_hb_rr5, sids_hb_r.r[:5])
sids_hb_r2 = sm.Headbanging_Median_Rate(self.e, self.b, s_ht, iteration=5)
np.testing.assert_array_almost_equal(self.sids_hb_r2r5, sids_hb_r2.r[:5])
sids_hb_r3 = sm.Headbanging_Median_Rate(self.e, self.b, s_ht, aw=self.b)
np.testing.assert_array_almost_equal(self.sids_hb_r3r5, sids_hb_r3.r[:5])
#@unittest.skipIf(PANDAS_EXTINCT, 'missing pandas')
@unittest.skip('Deprecated')
def test_Headbanging_Median_Rate_tabular(self):
# test that dataframe columns are treated correctly
s_ht = sm.Headbanging_Triples(self.d, self.w, k=5)
sids_hb_r = sm.Headbanging_Median_Rate(self.df[self.ename],
self.df[self.bname], s_ht)
self.assertIsInstance(sids_hb_r.r, np.ndarray)
np.testing.assert_array_almost_equal(self.sids_hb_rr5, sids_hb_r.r[:5])
sids_hb_r2 = sm.Headbanging_Median_Rate(self.df[self.ename],
self.df[self.bname], s_ht,
iteration=5)
self.assertIsInstance(sids_hb_r2.r, np.ndarray)
np.testing.assert_array_almost_equal(self.sids_hb_r2r5, sids_hb_r2.r[:5])
sids_hb_r3 = sm.Headbanging_Median_Rate(self.df[self.ename],
self.df[self.bname], s_ht,
aw=self.df[self.bname])
self.assertIsInstance(sids_hb_r3.r, np.ndarray)
np.testing.assert_array_almost_equal(self.sids_hb_r3r5, sids_hb_r3.r[:5])
#test that the by col on multiple names works correctly
sids_hr_df = sm.Headbanging_Median_Rate.by_col(self.df, self.enames,
self.bnames, w=self.w)
outcols = ['{}-{}_headbanging_median_rate'.format(e,b) for e,b in
zip(self.enames, self.bnames)]
for col, answer in zip(outcols, [self.sids_hb_rr5, self.sids79r]):
this_col = sids_hr_df[col].values
self.assertIsInstance(this_col, np.ndarray)
np.testing.assert_allclose(sids_hr_df[col][:5], answer,
rtol=RTOL, atol=ATOL*10)
class TestKernel_AgeAdj_SM(unittest.TestCase):
def setUp(self):
self.e = np.array([10, 1, 3, 4, 2, 5])
self.b = np.array([100, 15, 20, 20, 80, 90])
self.e1 = np.array([10, 8, 1, 4, 3, 5, 4, 3, 2, 1, 5, 3])
self.b1 = np.array([100, 90, 15, 30, 25, 20, 30, 20, 80, 80, 90, 60])
self.s = np.array([98, 88, 15, 29, 20, 23, 33, 25, 76, 80, 89, 66])
self.points = [(
10, 10), (20, 10), (40, 10), (15, 20), (30, 20), (30, 30)]
self.kw = Kernel(self.points)
self.points1 = np.array(self.points) + 5
self.points1 = np.vstack((self.points1, self.points))
self.kw1 = Kernel(self.points1)
if not self.kw.id_order_set:
self.kw.id_order = list(range(0, len(self.points)))
if not PANDAS_EXTINCT:
import pandas as pd
dfa = np.array([self.e, self.b]).T
dfb = np.array([self.e1, self.b1, self.s]).T
self.dfa = pd.DataFrame(dfa, columns=['e','b'])
self.dfb = pd.DataFrame(dfb, columns=['e', 'b', 's'])
#answers
self.kernel_exp = [0.10543301, 0.0858573, 0.08256196, 0.09884584,
0.04756872, 0.04845298]
self.ageadj_exp = [0.10519625, 0.08494318, 0.06440072, 0.06898604,
0.06952076, 0.05020968]
self.disk_exp = [0.12222222000000001, 0.10833333, 0.08055556,
0.08944444, 0.09944444, 0.09351852]
self.sf_exp = np.array([ 0.111111, 0.111111, 0.085106, 0.076923])
def test_Kernel_Smoother(self):
kr = sm.Kernel_Smoother(self.e, self.b, self.kw)
np.testing.assert_allclose(kr.r.flatten(), self.kernel_exp)
@unittest.skipIf(PANDAS_EXTINCT, 'missing pandas')
def test_Kernel_Smoother_tabular(self):
dfa, dfb = self.dfa, self.dfb
kr = sm.Kernel_Smoother(dfa['e'], dfa['b'], self.kw)
np.testing.assert_allclose(kr.r.flatten(), kernel_exp)
kr = sm.Kernel_Smoother.by_col(dfa, 'e', 'b', w=self.kw)
colname = 'e_b_kernel_smoother'
np.testing.assert_allclose(kr[colname].values, kernel_exp)
kr = sm.Kernel_Smoother.by_col(dfb, ['e', 's'], 'b', w=self.kw)
outcols = ['{}-b_kernel_smoother'.format(l) for l in ['e','s']]
exp_eb = np.array([ 0.08276363, 0.08096262, 0.03636364, 0.0704302 ,
0.07996067, 0.1287226 , 0.09831286, 0.0952105 ,
0.02857143, 0.06671039, 0.07129231, 0.08078792])
exp_sb = np.array([ 1.00575463, 0.99597005, 0.96363636, 0.99440132,
0.98468399, 1.07912333, 1.03376267, 1.02759815,
0.95428572, 0.99716186, 0.98277235, 1.03906155])
for name, answer in zip(outcols, [exp_eb, exp_sb]):
np.testing.assert_allclose(kr[name].values, answer, rtol=RTOL, atol=ATOL)
def test_Age_Adjusted_Smoother(self):
ar = sm.Age_Adjusted_Smoother(self.e1, self.b1, self.kw, self.s)
np.testing.assert_allclose(ar.r, self.ageadj_exp)
@unittest.skipIf(PANDAS_EXTINCT, 'missing pandas')
def test_Age_Adjusted_Smoother_tabular(self):
dfb = self.dfb
kr = sm.Age_Adjusted_Smoother(dfb.e, dfb.b, s=dfb.s, w=self.kw)
self.assertIsInstance(kr.r, np.ndarray)
np.testing.assert_allclose(kr.r, self.ageadj_exp)
kr = sm.Age_Adjusted_Smoother.by_col(dfb, 'e', 'b', w=self.kw, s='s')
answer = np.array([ 0.10519625, 0.08494318, 0.06440072,
0.06898604, 0.06952076, 0.05020968])
colname = 'e-b_age_adjusted_smoother'
np.testing.assert_allclose(kr[colname].values, answer, rtol=RTOL, atol=ATOL)
def test_Disk_Smoother(self):
self.kw.transform = 'b'
disk = sm.Disk_Smoother(self.e, self.b, self.kw)
np.testing.assert_allclose(disk.r.flatten(), self.disk_exp)
@unittest.skipIf(PANDAS_EXTINCT, 'missing pandas')
def test_Disk_Smoother_tabular(self):
self.kw.transform = 'b'
dfa = self.dfa
disk = sm.Disk_Smoother(dfa.e, dfa.b, self.kw).r
np.testing.assert_allclose(disk.flatten(), self.disk_exp)
disk = sm.Disk_Smoother.by_col(dfa, 'e', 'b', self.kw)
col = 'e-b_disk_smoother'
np.testing.assert_allclose(disk[col].values, self.disk_exp,
rtol=RTOL, atol=ATOL)
def test_Spatial_Filtering(self):
points = np.array(self.points)
bbox = [[0, 0], [45, 45]]
sf = sm.Spatial_Filtering(bbox, points, self.e, self.b, 2, 2, r=30)
np.testing.assert_allclose(sf.r, self.sf_exp, rtol=RTOL, atol=ATOL)
@unittest.skipIf(PANDAS_EXTINCT, 'missing pandas')
def test_Kernel_Smoother_tabular(self):
point_array = np.array(self.points)
bbox = [[0,0] , [45,45]]
dfa = self.dfa
sf = sm.Spatial_Filtering(bbox, point_array, dfa.e, dfa.b, 2, 2, r=30)
np.testing.assert_allclose(sf.r, self.sf_exp, rtol=RTOL, atol=ATOL)
dfa['geometry'] = self.points
sf = sm.Spatial_Filtering.by_col(dfa, 'e', 'b', 3, 3, r=30)
r_answer = np.array([ 0.07692308, 0.07213115, 0.07213115, 0.07692308,
0.07692308, 0.07692308, 0.07692308, 0.07692308,
0.07692308])
x_answer = np.array([10.0, 10.0, 10.0, 20.0, 20.0, 20.0, 30.0, 30.0, 30.0])
y_answer = np.array([10.000000, 16.666667, 23.333333,
10.000000, 16.666667, 23.333333,
10.000000, 16.666667, 23.333333])
columns = ['e-b_spatial_filtering_{}'.format(name) for name in ['X', 'Y', 'R']]
for col, answer in zip(columns, [x_answer, y_answer, r_answer]):
np.testing.assert_allclose(sf[col].values, answer, rtol=RTOL, atol=ATOL)
class TestUtils(unittest.TestCase):
def test_sum_by_n(self):
d = np.array([10, 9, 20, 30])
w = np.array([0.5, 0.1, 0.3, 0.8])
n = 2
exp_sum = np.array([5.9, 30.])
np.testing.assert_array_almost_equal(exp_sum, sm.sum_by_n(d, w, n))
def test_standardized_mortality_ratio(self):
e = np.array([30, 25, 25, 15, 33, 21, 30, 20])
b = np.array([100, 100, 110, 90, 100, 90, 110, 90])
s_e = np.array([100, 45, 120, 100, 50, 30, 200, 80])
s_b = np.array([1000, 900, 1000, 900, 1000, 900, 1000, 900])
n = 2
exp_smr = np.array([2.48691099, 2.73684211])
np.testing.assert_array_almost_equal(exp_smr,
sm.standardized_mortality_ratio(e, b, s_e, s_b, n))
def test_choynowski(self):
e = np.array([30, 25, 25, 15, 33, 21, 30, 20])
b = np.array([100, 100, 110, 90, 100, 90, 110, 90])
n = 2
exp_choy = np.array([0.30437751, 0.29367033])
np.testing.assert_array_almost_equal(exp_choy, sm.choynowski(e, b, n))
def test_assuncao_rate(self):
e = np.array([30, 25, 25, 15, 33, 21, 30, 20])
b = np.array([100, 100, 110, 90, 100, 90, 110, 90])
exp_assuncao = np.array([1.03843594, -0.04099089, -0.56250375,
-1.73061861])
np.testing.assert_array_almost_equal(
exp_assuncao, sm.assuncao_rate(e, b)[:4])
suite = unittest.TestSuite()
test_classes = [TestFlatten, TestWMean, TestAgeStd, TestSRate, TestHB,
TestKernel_AgeAdj_SM, TestUtils]
for i in test_classes:
a = unittest.TestLoader().loadTestsFromTestCase(i)
suite.addTest(a)
if __name__ == '__main__':
runner = unittest.TextTestRunner()
runner.run(suite)
| [
"sjsrey@gmail.com"
] | sjsrey@gmail.com |
9a2d672646bb8506167150dd31ba1b5a6c03ecfe | 62c171e0b3890d69a220353ca7c9419d2e265de1 | /django_app/introduction_to_models/migrations/0011_auto_20170607_0600.py | 27261ec4a0b474e11d81c4e641f9e613fecccdac | [] | no_license | fcdjangostudy/documentation | 45c07f22ab88d49849bb72374c1772eb10f74533 | b7bfc047e288227352c7c06e061367c4ea8e742d | refs/heads/master | 2021-01-24T07:42:30.867343 | 2017-06-08T05:08:42 | 2017-06-08T05:08:42 | 93,354,738 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 860 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.11.1 on 2017-06-07 06:00
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('introduction_to_models', '0010_student_teacher'),
]
operations = [
migrations.AddField(
model_name='student',
name='cars',
field=models.ManyToManyField(related_name='introduction_to_models_students', related_query_name='introduction_to_models_student', to='introduction_to_models.Car'),
),
migrations.AddField(
model_name='teacher',
name='cars',
field=models.ManyToManyField(related_name='introduction_to_models_teachers', related_query_name='introduction_to_models_teacher', to='introduction_to_models.Car'),
),
]
| [
"gaius827@gmail.com"
] | gaius827@gmail.com |
c753e9cfdf6dfe85da40b9bf8ae6beb439530e7f | 2805e59cd84d1535e405183a43990f327b0838c9 | /2020/day7/day7.py | 74bcb03ab6a71db25889c368fdb073ba2bde2452 | [] | no_license | nthistle/advent-of-code | b1ff4ae2646228fea59913c2878f26c9ae38444e | 7950850b77da77c1c2a4ca15c10f793c60e7ec73 | refs/heads/master | 2023-01-24T12:04:09.433385 | 2022-12-25T10:30:37 | 2022-12-25T10:30:37 | 160,138,710 | 29 | 12 | null | null | null | null | UTF-8 | Python | false | false | 793 | py | import regex
nums_regex = regex.compile("((?P<nums>\\d+)([^\\d]*))*")
def nums(s):
m = nums_regex.match(s)
vals = m.capturesdict()["nums"]
return [int(x) for x in vals]
# yeah, i know this should be dfs but
valid = set()
last_len = -1
while len(valid) != last_len:
last_len = len(valid)
for color in rules:
if rules[color] is None:
continue
if any(rc == "shiny gold" for rn, rc in rules[color]):
valid.add(color)
if any(rc in valid for rn, rc in rules[color]):
valid.add(color)
print(len(valid))
import sys
sys.setrecursionlimit(100000)
def ans(c):
cnt = 1
if rules[c] is None:
return cnt
for rn, rc in rules[c]:
cnt += rn * ans(rc)
return cnt
print(ans("shiny gold") - 1)
| [
"11429656+nthistle@users.noreply.github.com"
] | 11429656+nthistle@users.noreply.github.com |
1470565acd9a215c3e26945dd322f9f728fd44ba | d6aa13cb1021773d88e2ef780bc4450b38455644 | /apex/contrib/conv_bias_relu/conv_bias_relu.py | c873ebe1c60bbc3d5bc7a9bed06b0f6026cde230 | [
"BSD-3-Clause"
] | permissive | NVIDIA/apex | f54a9ced5d8b1c14f777e6bb53f11b3dc3ff2d6b | 7995de18677295c5edeeab082179edbfdb6ee16a | refs/heads/master | 2023-08-21T13:25:44.408616 | 2023-08-19T04:36:48 | 2023-08-19T04:36:48 | 130,725,814 | 7,932 | 1,381 | BSD-3-Clause | 2023-09-13T16:09:42 | 2018-04-23T16:28:52 | Python | UTF-8 | Python | false | false | 3,336 | py | import pdb
import torch
from torch.autograd import gradcheck
from apex import check_cudnn_version_and_warn
import fused_conv_bias_relu
check_cudnn_version_and_warn(__name__, 8400)
class ConvBiasReLU_(torch.autograd.Function):
@staticmethod
@torch.cuda.amp.custom_fwd(cast_inputs=torch.half)
def forward(ctx, x, weight, bias, padding, stride):
outputs = fused_conv_bias_relu.forward([x, weight, bias], padding, stride)
ctx.save_for_backward(x, weight, outputs[0])
ctx.padding = padding
ctx.stride = stride
return outputs[0]
@staticmethod
@torch.cuda.amp.custom_bwd
def backward(ctx, grad_output):
bwd_args = [*ctx.saved_tensors, grad_output]
padding = ctx.padding
stride = ctx.stride
grads = fused_conv_bias_relu.backward(bwd_args, padding, stride)
return grads[0], grads[1], grads[2], None, None
class ConvBiasMaskReLU_(torch.autograd.Function):
@staticmethod
@torch.cuda.amp.custom_fwd(cast_inputs=torch.half)
def forward(ctx, x, weight, bias, mask, padding, stride):
outputs = fused_conv_bias_relu.forward_mask([x, weight, bias, mask], padding, stride)
ctx.save_for_backward(x, weight, outputs[0])
ctx.padding = padding
ctx.stride = stride
return outputs[0]
@staticmethod
@torch.cuda.amp.custom_bwd
def backward(ctx, grad_output):
bwd_args = [*ctx.saved_tensors, grad_output]
padding = ctx.padding
stride = ctx.stride
grads = fused_conv_bias_relu.backward(bwd_args, padding, stride)
return grads[0], grads[1], grads[2], None, None, None
class ConvBias_(torch.autograd.Function):
@staticmethod
@torch.cuda.amp.custom_fwd(cast_inputs=torch.half)
def forward(ctx, x, weight, bias, padding, stride):
outputs = fused_conv_bias_relu.forward_no_relu([x, weight, bias], padding, stride)
ctx.save_for_backward(x, weight)
ctx.padding = padding
ctx.stride = stride
return outputs[0]
@staticmethod
@torch.cuda.amp.custom_bwd
def backward(ctx, grad_output):
bwd_args = [*ctx.saved_tensors, grad_output]
padding = ctx.padding
stride = ctx.stride
grads = fused_conv_bias_relu.backward_no_relu(bwd_args, padding, stride)
return grads[0], grads[1], grads[2], None, None
class ConvFrozenScaleBiasReLU_(torch.autograd.Function):
@staticmethod
@torch.cuda.amp.custom_fwd(cast_inputs=torch.half)
def forward(ctx, x, weight, scale, bias, padding, stride):
output = fused_conv_bias_relu.forward_cscale_cbias_relu([x, weight, scale, bias], padding, stride)
ctx.save_for_backward(x, weight, scale, output)
ctx.padding = padding
ctx.stride = stride
return output
@staticmethod
@torch.cuda.amp.custom_bwd
def backward(ctx, grad_output):
bwd_args = [*ctx.saved_tensors, grad_output]
padding = ctx.padding
stride = ctx.stride
grads = fused_conv_bias_relu.backward_cscale_cbias_relu(bwd_args, padding, stride)
return grads[0], grads[1], None, None, None, None
ConvBiasReLU = ConvBiasReLU_.apply
ConvBiasMaskReLU = ConvBiasMaskReLU_.apply
ConvBias = ConvBias_.apply
ConvFrozenScaleBiasReLU = ConvFrozenScaleBiasReLU_.apply
| [
"noreply@github.com"
] | NVIDIA.noreply@github.com |
f36cd201e2b22989f917f1c86478122f8d4bc944 | b580fd482147e54b1ca4f58b647fab016efa3855 | /host_im/mount/malware-classification-master/samples/not/sample_good305.py | 61286ed7edec8a126ec2feaab96109f978f73237 | [] | no_license | Barnsa/Dissertation | 1079c8d8d2c660253543452d4c32799b6081cfc5 | b7df70abb3f38dfd446795a0a40cf5426e27130e | refs/heads/master | 2022-05-28T12:35:28.406674 | 2020-05-05T08:37:16 | 2020-05-05T08:37:16 | 138,386,344 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 355 | py | import difflib
import textwrap
import random
nterms = 210
n1, n2 = 0, 1
if nterms <= 0:
print("Please provide a positive integer.")
elif nterms == 1:
print("Fibonacci sequence upto", nterms, ":")
print(n1)
else:
print("Fibonacci sequence:")
count = 0
while 0 is True and 0 < 210:
print(n1)
nth = n1 + n2
n1 = n2
n2 = nth
count = count + 1
| [
"barnsa@uni.coventry.ac.uk"
] | barnsa@uni.coventry.ac.uk |
3518f1fa23fd1883fbffe373f737a23500137da8 | 30d5b6876c3ae8d792525aa1f61de7ce7fc2c1ca | /download.py | 3f9672ee8abdbc14089a1cb70e143f920e7aa9b2 | [] | no_license | codeinthehole/pyvideo2quicktime | 3b498277a8e7c7633e77791c0a595dbaf804ef8d | 0e4fd7fd6cd20a163e1f7e5c1ba8c801d007f35a | refs/heads/master | 2021-01-22T11:10:37.697696 | 2013-03-20T09:37:31 | 2013-03-20T09:37:31 | 3,751,112 | 3 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,353 | py | from urlparse import urlparse, parse_qs
import os
def download(youtube_url, filename):
foldername = 'quicktime'
if not os.path.exists(foldername):
os.mkdir(foldername)
notify('Downloading %s (%s)' % (youtube_url, filename))
flv_filename = download_video(youtube_url)
m4v_filepath = '%s/%s.m4v' % (foldername, filename)
if not os.path.exists(m4v_filepath):
notify("No file downloaded - aborting!")
else:
notify('Converting %s tp M4V format %s' % (flv_filename, m4v_filepath))
convert_flv_to_m4v(flv_filename, m4v_filepath)
notify('Conversion finished - cleaning up')
os.unlink(flv_filename)
return m4v_filepath
def download_video(url):
# Use youtube-dl to handle the download
os.system('./youtube-dl "%s"' % url)
# youtube-dl will download the video to a file with
# name matching the YouTube ID of the video.
return '%s.flv' % extract_youtube_id(url)
def extract_youtube_id(url):
q = urlparse(url).query
return parse_qs(q)['v'][0]
def convert_flv_to_m4v(flv_path, m4v_path):
# Shell out to ffmpeg to do the conversion - hide the
# output as there's masses of it.
os.system('ffmpeg -i %s %s > /dev/null' % (flv_path, m4v_path))
def notify(msg):
line = '-' * len(msg)
print "\n%s\n%s\n%s\n\n" % (line, msg, line)
| [
"david.winterbottom@gmail.com"
] | david.winterbottom@gmail.com |
0ffa0f53ff82464df6d214d3fe81c5e9e8e5c6e8 | 3dcc44bf8acd3c6484b57578d8c5595d8119648d | /pdb_to_psipred_ss2.py | dd09d3224514a6565329d7f20d555550d90f8e17 | [] | no_license | rhiju/rhiju_python | f0cab4dfd4dd75b72570db057a48e3d65e1d92c6 | eeab0750fb50a3078a698d190615ad6684dc2411 | refs/heads/master | 2022-10-29T01:59:51.848906 | 2022-10-04T21:28:41 | 2022-10-04T21:28:41 | 8,864,938 | 0 | 3 | null | null | null | null | UTF-8 | Python | false | false | 1,545 | py | #!/usr/bin/python
#Adapted from phil bradley's make_coords_file.py
# Rhiju, Feb 2006.
import string
import sys
from os import popen,system
import pdb
if len(sys.argv) !=3:
print '\n'+'-'*75
print 'Usage: %s <pdb> <chain> > <coords_file>'
print '-'*75+'\n\n'
assert 0==1
pdb_file = sys.argv[1]
chain = sys.argv[2]
if chain == '_' or chain == '-':
chain = ' '
lines = popen('/users/pbradley/dssp '+pdb_file+' | grep "RESIDUE AA" -A10000 | '+\
' grep "^.[ 0-9][ 0-9][ 0-9][ 0-9]......'+\
chain+'"').readlines()
lowercase = list('abcdefghijklmnopqrstuvwxyz')
seq = map(lambda x:x[13],lines)
for i in range(len(seq)):
if seq[i] in lowercase:
seq[i] = 'C'
seq = string.join(seq,'')
ss = string.join(map(lambda x:x[16],lines),'')
ss3 = ''
for a in ss:
if a not in [' ','E','B','H','G','I','S','T']:
sys.stderr.write('undefined ss character? '+a+'\n')
ss3 = ss3+'L'
elif a in ['E','B']:
ss3 = ss3+'E'
elif a in ['H','G']:
ss3 = ss3+'H'
else:
ss3 = ss3+'L'
assert len(ss3) == len(seq)
ss3_psipred = ''
for i in range(len(seq)):
Eweight = 0.0
Cweight = 0.0
Hweight = 0.0
if ss3[i]=='E':
Eweight = 1.0
ss3_psipred = ss3_psipred+'E'
if ss3[i]=='H':
Hweight = 1.0
ss3_psipred = ss3_psipred+'H'
if ss3[i]=='L':
Cweight = 1.0
ss3_psipred = ss3_psipred+'C'
print "%4d %s %s %4.3f %4.3f %4.3f"% (i+1, seq[i], ss3_psipred[i],Cweight,Hweight,Eweight)
| [
"rhiju@stanford.edu"
] | rhiju@stanford.edu |
dbeeca429a6289fb3a9b68ce852f30c266ab920f | a2e638cd0c124254e67963bda62c21351881ee75 | /Extensions/AMWIDealTaker/FPythonCode/FFpMLACMDeriveInstrumentType.py | b9bce2f1668eae45e83a2ac2b9b213dadaacaa39 | [] | no_license | webclinic017/fa-absa-py3 | 1ffa98f2bd72d541166fdaac421d3c84147a4e01 | 5e7cc7de3495145501ca53deb9efee2233ab7e1c | refs/heads/main | 2023-04-19T10:41:21.273030 | 2021-05-10T08:50:05 | 2021-05-10T08:50:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,982 | py | """------------------------------------------------------------------------
MODULE
FFpMLACMDeriveInstrumentType -
DESCRIPTION:
This file is used to infer the instrument type that needs to be created for an incoming FpML if the productType details are not present in the FpML
VERSION: 1.0.30
RESTRICTIONS/ LIMITATIONS:
1. Any modifications to the scripts/ encrypted modules/ clear text code within the core is not supported.
2. This module is not customizable
3. The component may not work as expected with any modifications done to this module at user end
--------------------------------------------------------------------------"""
import base64, zlib, imp, marshal
if imp.get_magic() == '\x03\xf3\r\n':
__pyc = marshal.loads(zlib.decompress(base64.b64decode("""
eNrFO1lsHMl11XORMxqSEilRpM5eZ7mktEtS2vUe0noPakhqaYiHe6jlrryb2eZ0kWpp2D3s7pFIW9wklh3YCGzYcIA4l40gl4EE
QZB8JLEBAwvEf/4L/JOPfOXHP0byEQQIgjjvvarq6Z5uShxKTnjUVFe9el313qt3VU2dyZ8s/L8N//4MFBZjt6DUmJVhDY3d0lQ9
w25lVD3LbmWZBX95ZuXYlxl7yNj7t3LYV50oIKrfzDA2+ZR+SovLszdvzJV0+Jmfby7emKksznLPvscXHD/wWlvcCVZ3m1yfLM3O
VSvGwsrqwvLSVYJfvW37+obd4Dp8tnxu6YGr284G9/TgNjSGCPQAMQS3zUB3OLd8hFvnet3jZgCjNlxPNx2Ar7tbtrOp4zR0e4OQ
ND3XatXFFCwemHbD102P644bQB/3EbvtECgOK707Z1RxgvqYMVYy5qqrxkIFZ1yd1m8sLC6sztCDmP/lKX3G2dW3XMvesOtmYLsO
TQ2R+XXPbgb+tM6durfbxGkCXKvBoane4CYske8Eet21uH7fDm7LOdRdj6iB0/NbzabrwcgpnV734pSgmMCjoOotP4Blf8Fcb3AC
ewnBENNW03VweVvmLkHed727uunrfKfJ6zghfC8QrnMFFgwTy2i/DCgPDPJgNZZemnxqP/Yv4GcpOANS+SjhqUd3wzUU4SGNMc5o
BzCUcSH+WMmioGMlh5sAK2of3Cow3sN4lvEcewg7ppce84wX6LGIOwbBSswqUOUIs3qoUmZWL1X6mFWkSj+zSlQZYNYRqhxlVpkq
x5jVR5VBZvVTZYhZA1Q5zqyjVDnBrGNUGWbWIFVOMmuIKiPMOk6VUWadoMopZg1T5TSzTlLlDLNGqHKWWdA7yr4MyuA8M6oTp4E4
daANw3/Y5qyC1DrPSGs8YKwWVjRVySAJqxMIvBQgkSeQysFlKGqPYkqttmV6d+1gzfb4CuwybAsuPX7Uhuc6wYzHHRN6aNAxGHTP
bNgWCeAi931zk0/gCoIcTp83NiZoYkwt5lFvmGruBr04jZrt2EGthth91HtMK8JvSB1NUacHCiDEHaQCNvpvQrHJA9qQ7TUm9BGq
nQ49Bbt4xVhYnCM8BpJU1PJq9gdfwoiYxGKMxlKTDSMSxM4y9YxkdMjsPlxOhNmCtbQo/4kWtRRZVUatikjdlOw/xBL9fZZ4KrLE
x3PsrQjH5lG+dBKw7lmWfRKWjYpZKLA4wLlD8OytCM8OuaylyLraTEMC2mL3HWKN/n5r/FTHGvNSZdMaP48vZmyPNPVelu28hEu+
o6F/MvvhGNsjF+VBjt3JYNPdDPNG2QNyZU4C+PYo/q2BKoc27FxjQRaxOUA6dG3wZf5rqP9u8/pdZf+jJEFnYwf9BSobfHMTPtoA
Nk48QDTzCGAj4WyS9lzYYTZg8fh4g2/6REaokBLDxlWvxWkegspZQeVgAD99QkoFDAmQ4zAPqFbclhNwj6BhTl3y47TQdH67J/ae
C4jnKHGkoBW0IW1QO6aVUQ3iwgpR/vxdyB8ss1Tm2M7Xolz6ItvLk93IR7j0NjECOHSeGBjt+jx15agrG+86T485fASetlvy1JKX
LSFm+FsDxnt/ixICZZz35NYanbzfBIo5HRJg6mRp9I2GawaTJAnTVE5SS1IqjL6Q+Qjgozm5xT1XB76Bg6ULWWHKWM2auz5Nx+jH
AllvIP0NHBcMYs1tNMBLXQGGuhYxnwxgrPkmWC6BhaQJh8WkCGeCUlSEtvVQpsST7DNOdK/AUoQJsakXfBrxnAqFSYhTkf5f0fra
YtUTFasvpYoVqoA821mKCtfbbK9AElSIiMmYFDesfyDFAR5JKeTZNlcCNoZ/JCEfk4R83CEh5EjMH0JC0qWCGG6cRJZoSkOkcXyi
J5WJRFXFxFLItsvxxxfVYyPUEk+Tq/L9s51cFXwtw2dfJsJVnEguNFga2ak9ch6RJQzZCMx8qDHv39nOK8TYjGDsRES3ZxVjJ+iR
9j+MX9meYPC3FigNAMxFbVBAbQ84P8igcOz10Et7qSyioHg/JbAerEuwXgTDxl7ZiJC9zPsJe1Bkd4qkXnrZ3QK2gKMPS9j+OTr6
WClqD3qYByUsp8SgfhJNcgk7nBFa5BG1yKImBisBw823ZGhKLAKszVK5SOX7AXoAVdjiDV5peWDH67sLyFLuBwaEsdX7ZpNswPJC
lTxw41ksxrB4DvldVipmCeKz4LXHO9r77uO2jJJCoj6cgsEh9IZ5cfLMCLnBA8/m93jF3dpynZsBhM80RnqmgY1u20zDNv3gimhe
5Y7rCS222GoEdrNhcw+cl63oa5a9Fc+uw4wtviNGTydGP34MbiuIkWFXkIHuliRROzlRiu1T4wgixL1G+x+YFqMP7cIAt7vHgyhp
UAhMnNuSucUDVODc8xb9TYK1cea0QFTvwdFYk1hzlzu7rHa2UXU9kJubOPAFCnVwGw/IjdwL/yfk1j4BrSNaMVOE+jDU5ebORr3R
SuheC1kHKX9AXhvu2/F2AClEHzY2tr9FFj7SLnXumtK5/kGULqxEB2cW1hIFCDMhOhjcttwZSCljXLlaMJZc3ODCgQRB0oyMbyIm
FTswLg9dMmc4oXbVKx1EUSaNOwCsEb/EhlzUcv52aDlDI4maVtWFdhUKFT0oUGg2sS0ndab/IT3m449Ko3rfxDAAld43mTO+D1rh
aSvImKcddMVX0m4Q3Ee7ZfpJb8Em8Bq7mLlD9lOaD4buw3RSgYQOI0/UpPSAKo1Uww3bucstbBPxzhtYYPA70atsNNnUm+Fb6bHN
JfLqpRgYVw+jWKLW1bgcugK5uCuAIrW+4CvKkO6QpODeE8uaQnsfUQxK617WzsHvAH2mhQA76SHAZ6Ne2meUaSY5kUohEgK0uzIR
Hz4X9eED8tCCDg8NZ+G/c0CpQg9cOuALzkaDEkckZBHIdFedNt6qG5gNHYxby3P29906HPBeYpjMWQ3hQ3sWoQ+OKNYJvcB+SE98
LMHQ9rvCBeN6HyLG4RSfvG+fMO//n8dvHpDHPvlKugOmVK/MVjtjMh9ZVvEg+Ar0Wb5hgrNxUFYa17HArDNp/3WBRSI5JMeOSY4J
Dw/tP8z5WwfgTk4mSog7b4Tc2bkU5cinSPVnFdmFuh+S1F3ZHmLwt9ZWzp/rJtCpmOBDWS/ooLJcDysVCEVNj8sQCIMfSjPRzhHA
uoiF+4T3iKNkC/FEDacmwfPDDd2XnR2qlOIwH/Ave4Rz2ROIDsnK6cTmE1OX2LGiJqrU/PfaJl0wuQBeV9Kz+q2DelYf7eNZvUPD
MyoI+QhFAYOwvAIYJ4CsAvgNRIIAIYYCBhHivSJvstR2o4wrKhYUUqyrQEW/ZvogMWRU0E7RI9lYYgJaSeN1LHCVwY3u7OVjiUsi
8BQ8skHBVwvj941dnD72fD+Mf7W2NzagFVQJDA2TmWH8+60OLbrjRnericowzGRK9l5V+nM00pVReU4VC5flAwXB4KzJZFgBgcLx
mAhFJfv1tDTYlXDvq7RwYvOL41N3Q5ds5tstO9jVV41qwjqKYBZ5Pu9xDiqyMk+eC0Q967ZDZkj4WZh9M6phyiMt+1UMFTZEUsbz
2I6Hee2MaUQ5L2DxBGo40mNU/x5HH49lQYvaq6CEC9H4J5tUwh1esdS7V2g7aZFkxhW5qWIe8utdMEJyAADvm55F6pbIPEft5NhS
uFsN3Ppd8lDnBagg/rtYrIW0JOK/rehL4CvmLjm0x1K20vWnkVMSM5Wz+jHi6ZUEv/jLJPKbXRC5jpG6laBzUYiz6CKnMXzS3zU9
2wSH473w/ASPMdKB0mhvvB/arCcn+rmkXVJzkHT/SYLuWudR0yVxFryntQ3RSXnulEltzapI/vnIadQmd2CS9SiZN8xGY90ERmyJ
A1z/r1GVpNzjqLuthkU3EoAtUhvb4vKHuNEBnonFzcaUvtLgpg8DiL+WWyckwtd3nbQ7ItGo0XSsNJDp0J8hCBdAPHUzZKrkv4Jp
O+EIYkAKc5qHdem0MFeEsCBJ1+Xy5YGljhySJ225+Ekbcn3L7/ZU5zhxGogtXzQvaftPUf4eBfVVz0r/PrRMP5b7KpEpkGbok0i7
CPKLtN8+od0VHUUmyPtRpIXM0Z2eyJnND+W7wEahyaN08F2wTH+EqVV4FPnWYRFOgF07CVAOReB36HaF1Yutww8zTNv+Idv+Edv+
hPY3Cl2JbiTkZJRP4ddcy3ObHPYaPsxsIWngAfXbzD3uodB9Q4IDMRu7yH91n0ZJBp6M0gUh1BczPmxcyVcfGYtycXVcItOrgWff
5ePT47Nuax3spGqnROT4lP4OJgPxPg3gJWkBcQs80+J4zUaybsofoJNBaF2w9Kv6mKVP6nT8R0Iw/96yeDuKzJgvJOcjLEyV9BUq
ZUalHNuJCwpEEWJuh3t12+ehhhc5DJ+WR2nIuR03sOtkHeUixNpoxAUlqMu2RVaHZnbD3dzkHtF/7cby9bRo2Kxv0cKEyX4ZmxEq
8KzFrkU+mcJQpPnntoNW0EbgtwD2+xyFU2XYBH2anmJexpLmBbNZIOjPsCCTOBlCD7ay/7mx3PmUsWpbkTBb8yijQAf5BzAxwj4Q
q62naDPO7m8zBHV/FlUpg1FTXXgULQuptESx818+OC3XXVDBIRlJ1q5BEwnjvCE2/zW70aAKZkCk7+mADAc2bElhc5tYbGPhYeFj
EYT0e+o0HUnQFCctyPlv+5Iz5SJEm5y5BDmjUku3HUJfSLaLqGBNDtlei0cBlYMzQfie07ztakYke025lxSfz7cgJuDTUd/TD91S
v8NhfVx3LskccpyeAodO7eOeCh79p1qO4tEgKJVIBj60pb/azsZ8LhrfVeLZGGFYh6hFcCgXYeoNvD2AHHpX4kqma157NLN8zGvu
q3tOPsYrPbACSru1EAZpaXkXofafyol0OBuMyjUtcmlliLhTzKQnVNJUk2BHp2oKL8E9gtAqLBC0Bi+iTeaJ+ff0pdn5C0btl6dX
hpImcAfeiWftcZWCr8KGYUWGwQKTt6pEOjegw/c7dBcWCDMMfeBiyaRuru3dWS+TiM7lO9uF0rmnTozylKwimff683galGPb/Xnn
O7nOgUUa+HMa2CsH+n9Jj0X56P0jXl9Fp3GUieP1EKE8YRdg/XnrFIGd7gRz9MR7B+i9F+nkvhzBcCYx9l+znWPF7ZJf0Ng+NdbW
rLP09rNpk+wnfzaDVPW+rlnn0mAGFKq/0qzzaQBHFcBPNUund+lpYMciy3mGwJ5JLGogsagCLeprmdhMXss8Zia1zJPO5CuZzpmI
SOEfMhbFF3iBLzLEuZmA7yH4n2UsSnpDGYMfS8D3ihxaNh3+P7RO+BLBN7O4okG1ovey1q/Q8Gc7VwTw2F6Ko/1uAu0RQvs3hHYo
QqgxGj6WINQHCQxlwjCYwzDq0xRGAdlhG5/AXv+/slgfjtRPUoA2kLOeiyMfyCH+/05s9j7Cv5qzxtWVnZHIPCcSM/xBAkM/YfiX
HI4dVWO/nbMu0BovpMnMKQX2g5x1kcAupoGdjszkucRMLiVm8gopLgB+nnC+EOcOw6jS/yphPsP8a1Q5iwM1a5IGTMbfcS2//dW8
U0m8ZooWbOetaYI/wxzaP4/CZV1CGbcuo+YAYbReRD0HOgwkC6QAFgfwQGzQGUAwIAbsSNBSsALYc7CfNk/gTSdxAcnLF+RNJNjN
PfhovSS7hvGSE61O3VI6IwNnrJ9DAapOvIq24WM8HLG4YwcbNvdTv1kTO2BXqZV1Svm7CTtpBhA5rrcCwKUuGevXby5E0jfVNQiv
zXrd9SzML+/SrSi6tI1neW+M+XQoL538GQoZhWNGYeua6XngjlB3xWyqq5euR6f4xlvq1C52aIduA5lmOoCNnL9iR4rrSkk/CuNp
5P7uUyS28MMAY00FGHSyXvFc328flSwYVbrbQ83hTS+j6o8mYSPHKsOdQ8IzFkoWxBwkCr7DiwP4oGJlWn5HhEf3G9oRisgYRNxh
cZHCbBKRxaF5peNUndDeqsROngWDZqtBht7vo1O3alQnBepJcbQwOWeC+7TKvS2iOPSLblpTLGUsaNaRzySqtGWPkg2zIldHXQvp
XShGMv1C0jW/Q2JQV4kYX3h4ollf6NgN9yHgVOlJkdvhFh5G1/EraHyXvj5G31bDDJKNV/gcs6E3W17T9bk/VaJTNHGotqxuna5x
GlYPM1ORL3hh5miWA4o5ehmhHR/zxzu36VRpaQKdbV/dgDF28R1fwOKLWDzAYk8FoOpqjJ9yNcb4WOFBKOPX0uM749cPGDr4KnD3
ZeDuq3jdVxF8RxwYDeF7/0/ecj68/ZMVmSuR6Yrc+6FNxRu8Hly6TOk2cXoyfYDTzI4jRRHLXsTicvxotMurRPFd/1J3g0MF0eW4
UJdcPeRk5fCXuxse0VCvdjcypsyudTd2n2s1wdRB0MTueog0ai8lXkGzNN2AJAwflDYLOw/8htgxZrfSE9evrx+Sm2r8pS6lCENX
cTH3AF8lTB510Gl98huG4hZf9EtMSH6joa4EiJwEZahPtb/k5IdHAlV1PmR8eLgrnWqvx3uPY4z+P+EJ86g2oOHXDUfkRYIRylfj
1w8H6LNMPepT9AzK/jZUBDqzT7t8Tn5KyEz8uUyJrmcJwwjdEI7Pof0ZxY5liUocVc6IeiFTJqiybO/ThjJLE7raBLUaOnu1Gnkf
tZr4HnGtZlCWia4IoMo36N51OfJFwiYo7F3j+6HavByq0oq6atKtQlP3bo3fRQzfxQLv6xgrWPwOFn+MxZ9g8adY/DkWv4fF72Px
B1j8IRbfweLPsMDNbvxFTIQOLEd4VYIdVYk/oGW+mBO/A9pApnikeLR4rDhaLBbLxX74LcJzX7GHfgeoLEFPj3hnuBNqNcutA33x
1rCBd8CNO1iww02RuPEZwbQ3jyiXoiBux2T+F0s2Nus=""")))
else:
__pyc = marshal.loads(zlib.decompress(base64.b64decode("""
The system cannot find the path specified.""")))
del base64, zlib, imp, marshal
exec(__pyc)
del __pyc
| [
"nencho.georogiev@absa.africa"
] | nencho.georogiev@absa.africa |
7b28138416d72a200b73e445b541f3f762da16a2 | 164c059989934bca6943df15552c5dc5e6b6dbbd | /src/run_extractquerylog.py | 1e58861ee31a93bdefab9a080953fe2b99c7f6c1 | [] | no_license | afcarl/densequery2vec | a9674987d49aa3deb67cccfa14eb9ae5edd915de | 7196e5a6676776681e436d5d53e388ddf70227af | refs/heads/master | 2020-03-22T10:19:48.318129 | 2014-07-17T13:56:39 | 2014-07-17T13:56:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 242 | py | #coding=cp936
import os
files = os.listdir('/data2011/d3/uigs/2012/201204')
fout = open('runall.sh','w')
for f in files:
print f
fout.write('nohup python extractquerylog.py '+f+' > ../data/log/'+f+'.log &\n')
fout.close()
| [
"luochengleo@gmail.com"
] | luochengleo@gmail.com |
5965ffb179a0ddb4183651b082dc4ab1bcde2e4c | c18a63e2e37712025794bc7d0bb824ca3a8cde51 | /asset/views.py | df510a3203b462b0858c704e3e45616a3fa282e8 | [] | no_license | wuqiangchuan/Xproxxx | 9202767573a3f0bfc1b00b6069eaf6ef9bc25907 | 6403bde2bc091faab55cca5ac9fff62b13d6a0cb | refs/heads/master | 2021-01-01T17:48:55.335991 | 2017-07-20T10:00:52 | 2017-07-20T10:00:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 14,102 | py | #coding:utf-8
from django.shortcuts import render, render_to_response,HttpResponseRedirect,redirect
from django.http.response import HttpResponse
from django.contrib.auth.decorators import login_required
from django.template import RequestContext
import json
from devops import models
import utils_cmdbInfoUpdate
from remote.utils_pagination import UsePagination
# Create your views here.
#asset 先检查是否登陆。
@login_required
def asset(request,pages):
#定义每页显示
disNumObj = models.pageInfo.objects.all()
for I in disNumObj:
if I.CmdbHostPage is None or I.CmdbHostPage == '':
disNum = 20
else:
disNum = int(I.CmdbHostPage)
allCount = models.CmdbHost.objects.all().count()
Pages,beforePage,afterPage,x,pages= UsePagination(pages, disNum, allCount)
# print Pages,beforePage,afterPage,x,pages
assetObj = models.CmdbHost.objects.all()[disNum*pages-disNum:disNum*pages]
return render_to_response('asset/asset.html',{'assetObj':assetObj,'x':x,'Pages':Pages,'disNum':disNum,'beforePage':beforePage,'afterPage':afterPage},RequestContext(request))
@login_required
def displayNum(request):
if request.method == 'POST':
CmdbHostPage = request.POST.get('displayNum')
if models.pageInfo.objects.values("CmdbHostPage").first():
models.pageInfo.objects.update(CmdbHostPage=CmdbHostPage)
else:
pageInfo = models.pageInfo(CmdbHostPage=CmdbHostPage)
pageInfo.save()
return redirect('/asset/')
@login_required
def asset_add(request):
if request.method == 'GET':
return render_to_response('asset/asset_add.html',RequestContext(request))
@login_required
def asset_del(request):
pass #这个可能没有使用到。
@login_required
def asset_group(request,pages):
disNumObj = models.pageInfo.objects.all()
for I in disNumObj:
if I.CmdbGroupPage is None or I.CmdbGroupPage == '':
disNum = 20
else:
disNum = int(I.CmdbGroupPage)
allCount = models.CmdbGroup.objects.all().count()
Pages,beforePage,afterPage,x,pages= UsePagination(pages, disNum, allCount)
print Pages,beforePage,afterPage,x,pages
assetObj = models.CmdbGroup.objects.all()[disNum*pages-disNum:disNum*pages]
return render_to_response('asset/asset_group.html',{'assetGroupObj':assetObj,'x':x,'Pages':Pages,'disNum':disNum,'beforePage':beforePage,'afterPage':afterPage},RequestContext(request))
########## --- ---ajax ----###### #########
@login_required
def displayGroupNum(request):
if request.method == 'POST':
CmdbGroupPage = request.POST.get('displayNum')
if models.pageInfo.objects.values("CmdbGroupPage").first():
models.pageInfo.objects.update(CmdbGroupPage=CmdbGroupPage)
else:
pageInfo = models.pageInfo(CmdbGroupPage=CmdbGroupPage)
pageInfo.save()
return redirect('/asset/asset_group/')
@login_required
def asset_add_host(request):
if request.method == 'POST':
print "ajax post"
host = request.POST.get('hostname',None)
pubip = request.POST.get('pubip',None)
priip = request.POST.get('priip',None)
comment = request.POST.get('comment',None)
print comment
#add = models.CmdbHost(hostname=host,pubip=pubip,ip=priip,comm=comment)
#add.save()
SaveHost = models.CmdbHost.objects.create(hostname=host,pubip=pubip,ip=priip,comm=comment)
data={'host':host,'pubip':pubip,'priip':priip,'comment':comment}
flag=1
return render_to_response('asset/asset_add.html',{'flag':flag},RequestContext(request))
#return HttpResponse(json.dumps(data))
elif request.method == 'GET':
flag=0
return render_to_response('asset/asset_add.html',{'flag':flag},RequestContext(request))
# 这里用于更新 id 对应的信息
@login_required
def asset_update_ajax(request):
if request.method == 'POST':
obj = dict(request.POST)
# 1-->linx,2-->kernel ,3-->cpuPysicalCount, 4-->cpu_core , 5--> cpu processor, 6-->cpu_maker
CmdbList=["uname -s","uname -r","cat /proc/cpuinfo| grep 'physical id' |sort| uniq| wc -l","cat /proc/cpuinfo| grep 'cpu cores' |uniq | awk -F':' '{print $2}'","cat /proc/cpuinfo| grep 'processor'| wc -l","cat /proc/cpuinfo | grep 'model name' | uniq | awk -F':' '{print $2}'",]
CmdbResult = []
ipList,passData = utils_cmdbInfoUpdate.updateCmdbInfo(obj['Data'][0])
utils_cmdbInfoUpdate.start_cmdBefore(ipList,**dict(passData))
for I in CmdbList:
utils_cmdbInfoUpdate.start_cmd(I)
tempResult = utils_cmdbInfoUpdate.run_cmd()
# tempResult = re.sub('^ +', '', tempResult, 1)
CmdbResult.append(tempResult)
#用于把获得的信息存储到数据库中, 第一个参数为返回结果的列表形式,第二为这个对应的主机地址
callback = utils_cmdbInfoUpdate.SaveToDB(CmdbResult,ipList[0])
print CmdbResult
#updateId = request.POST.get('updateId',None)
return HttpResponse(json.dumps(callback))
@login_required
def asset_delete(request,Idd):
models.CmdbHost.objects.get(id=Idd).delete()
return redirect('/asset/')
@login_required
def asset_edit(request,Idd):
if request.method == 'GET':
editObj = models.CmdbHost.objects.get(id=Idd)
return render_to_response('asset/asset_edit.html',{'editObj':editObj},RequestContext(request))
if request.method == 'POST':
host = request.POST.get('hostname',None)
pubip = request.POST.get('pubip',None)
priip = request.POST.get('priip',None)
comment = request.POST.get('comment',None)
editObj = models.CmdbHost.objects.get(id=Idd) #.update(hostname=host,pubip=pubip,ip=priip,comm=comment)
#这段用于更新数据,如果数据没有发生改变也不会报错。-- 直接用update时,如数据没有发改变直接报错。=======不能偷懒======
editObj.hostname = host
editObj.pubip = pubip
editObj.ip = priip
editObj.comm = comment
editObj.save()
#修改完直接调转到资产列表。
return redirect('/asset/')
@login_required
def asset_groupadd(request):
if request.method == 'GET':
hostObj = models.CmdbHost.objects.all()
return render_to_response('asset/asset_groupadd.html',{'hostObj':hostObj},RequestContext(request))
if request.method == 'POST':
groupname = request.POST.get("groupname",None)
comm = request.POST.get("comment",None)
#在select 选择器,且前端name都是同一个的情况下,使用POST.getlist得到的是一个列表。而不是使用get()
hosts = request.POST.getlist("host",None)
if groupname:
groupObj = models.CmdbGroup.objects.create(groupname=groupname,comm=comm)
for host in hosts:
print host
hostObj = models.CmdbHost.objects.get(id=host)
groupObj.host.add(hostObj)
return redirect('/asset/asset_group/')
@login_required
def asset_delelegroup(request,Idd):
models.CmdbGroup.objects.get(id=Idd).delete()
return redirect('/asset/asset_group/')
@login_required
def asset_editgroup(request,Idd):
resultGroupHost = []
resultGroupId = [] # --> 所有关联的id
firstNoIngroup = []
resultHost = [] # --> 所有未关联的ip
editObj = models.CmdbGroup.objects.get(id=Idd)
hostObj = models.CmdbHost.objects.all()
#取出所有关联到host的ip地址
for GroupHost in editObj.host.all():
resultGroupHost.append(GroupHost.pubip)
resultGroupId.append(int(GroupHost.id))
#所有未关联的主机
for host in hostObj:
if host.pubip not in resultGroupHost:
resultHost.append(host)
firstNoIngroup.append(int(host.id))
if request.method == 'GET':
return render_to_response('asset/asset_editgroup.html',{'editObj':editObj,'hostObj':hostObj,'resultHost':resultHost},RequestContext(request))
else:
# POST method
lastRemove = []
lastAdd = []
updateGroup = models.CmdbGroup.objects.get(id=Idd)
removehosts = request.POST.getlist('hosts')
addhosts = request.POST.getlist('host')
groupName = request.POST.get('groupname',None)
comm = request.POST.get('comment',None)
updateGroup.groupname = groupName
updateGroup.comm = comm
updateGroup.save()
#将取到的列表的每一项转换成int类型,用于与GET返回时作比较,这样就知道谁发生了改变。
removehosts = map(lambda x:int(x),removehosts)
addhosts = map(lambda x:int(x),addhosts)
for ADD in addhosts:
if ADD not in resultGroupId:
lastAdd.append(ADD)
for DEL in removehosts:
if DEL not in firstNoIngroup:
lastRemove.append(DEL)
updateGroup.host.add(*lastAdd)
updateGroup.host.remove(*lastRemove)
return redirect('/asset/asset_group/')
@login_required
def asset_idc(request,pages):
if request.method == 'GET':
#idcObj = models.IDC.objects.all()
disNumObj = models.pageInfo.objects.all()
for I in disNumObj:
if I.IDCPage is None or I.IDCPage == '':
disNum = 20
else:
disNum = int(I.IDCPage)
allCount = models.IDC.objects.all().count()
Pages,beforePage,afterPage,x,pages= UsePagination(pages, disNum, allCount)
print Pages,beforePage,afterPage,x,pages
assetObj = models.IDC.objects.all()[disNum*pages-disNum:disNum*pages]
return render_to_response('asset/asset_idc.html',{'idcObj':assetObj,'x':x,'Pages':Pages,'disNum':disNum,'beforePage':beforePage,'afterPage':afterPage},RequestContext(request))
@login_required
def displayIdcNum(request):
if request.method == 'POST':
IDCPage = request.POST.get('displayNum')
if models.pageInfo.objects.values("IDCPage").first():
models.pageInfo.objects.update(IDCPage=IDCPage)
else:
pageInfo = models.pageInfo(IDCPage=IDCPage)
pageInfo.save()
return redirect('/asset/asset_idc/')
# return render_to_response('asset/asset_idc.html',{'idcObj':idcObj},RequestContext(request))
@login_required
def asset_idcadd(request):
if request.method == 'GET':
hostObj = models.CmdbHost.objects.all()
return render_to_response('asset/asset_idcadd.html',{'hostObj':hostObj},RequestContext(request))
if request.method == 'POST':
idcname = request.POST.get('idcname',None)
bandwidth = request.POST.get('bandwidth',None)
operator = request.POST.get('operator',None)
tel_name = request.POST.get('tel_name',None)
tel_phone = request.POST.get('tel_phone',None)
comm = request.POST.get('comm',None)
addObj = request.POST.getlist('host')
addObj = map(lambda x:int(x),addObj)
idcObj = models.IDC.objects.create(idcname=idcname,bandwidth=bandwidth,operator=operator,tel_name=tel_name,tel_phone=tel_phone,comm=comm)
idcObj.host.add(*addObj)
return redirect('/asset/asset_idc/')
@login_required
def IDC_delete(request,Idd):
models.IDC.objects.get(id=Idd).delete()
return redirect('/asset/asset_idc/')
@login_required
def IDC_edit(request,Idd):
firstNoInidc = []
firstInidc = []
resultIdcHost = []
resultHost = []
hostObj = models.CmdbHost.objects.all()
editObj = models.IDC.objects.get(id=Idd)
for InIdc in editObj.host.all():
resultIdcHost.append(InIdc.pubip)
firstInidc.append(int(InIdc.id))
for host in hostObj:
if host.pubip not in resultIdcHost:
resultHost.append(host)
firstNoInidc.append(int(host.id))
if request.method == 'GET':
return render_to_response('asset/asset_idcedit.html',{'editObj':editObj,'resultHost':resultHost,'hostObj':hostObj},RequestContext(request))
if request.method == "POST":
lastRemove = []
lastAdd = []
removehosts = request.POST.getlist('hosts')
addhosts = request.POST.getlist('host')
idcname = request.POST.get('idcname',None)
bandwidth = request.POST.get('bandwidth',None)
operator = request.POST.get('operator',None)
tel_name = request.POST.get('tel_name',None)
tel_phone = request.POST.get('tel_phone',None)
comm = request.POST.get('comm',None)
editObj.idcname = idcname
editObj.bandwidth = bandwidth
editObj.operator = operator
editObj.tel_name = tel_name
editObj.tel_phone = tel_phone
editObj.comm = comm
editObj.idcname = idcname
editObj.save()
removehosts = map(lambda x:int(x),removehosts)
addhosts = map(lambda x:int(x),addhosts)
for ADD in addhosts:
if ADD not in firstInidc:
lastAdd.append(ADD)
for DEL in removehosts:
if DEL not in firstNoInidc:
lastRemove.append(DEL)
editObj.host.add(*lastAdd)
editObj.host.remove(*lastRemove)
return redirect('/asset/asset_idc/')
| [
"root@localhost.localdomain"
] | root@localhost.localdomain |
047ddfc0315a95ce84f0397cf7b3c06deb87acb7 | 0337e02c15f18985537587f6c298391f9af077c5 | /testcases/test_login_001.py | 3c9b301e582c3e10c2c01bf27ef7836f9ee7e063 | [] | no_license | khandepc/Guru99BankProject | 9c48c181f720bbce08012ac72a47cbeec581e60b | 55bfa560d7ca593cbfb84ede630a19b848f4426b | refs/heads/main | 2023-02-06T03:31:13.205028 | 2020-12-16T06:45:24 | 2020-12-16T06:45:24 | 321,257,018 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,776 | py | import time
import pytest
from utilities.custom_logger import LogGen
from utilities.readProperties import ReadConfig
from pageobjects.login_page import LoginPage
class Test_Login_001:
base_url=ReadConfig.get_base_URL()
user_name=ReadConfig.get_user_name()
password=ReadConfig.get_password()
log=LogGen.log_gen()
@pytest.mark.smoke
def test_open_browser(self,setup):
self.log.info("------Open browser test------")
self.driver=setup
self.driver.get(self.base_url)
actual_url=self.driver.current_url
if actual_url=="http://demo.guru99.com/V4/":
assert True
self.log.info("------ open browser test passed ------")
self.driver.close()
else:
self.driver.save_screenshot("../screenshots/"+'test_homepage_title.png')
self.driver.close()
self.log.error("------ open browser test failed ------")
assert False
@pytest.mark.smoke
def test_home_page_title(self,setup):
self.log.info("------ test login 001 -------")
self.log.info("------ verifying homepage title ------")
self.driver=setup
self.driver.get(self.base_url)
time.sleep(5)
actual_title=self.driver.title
if actual_title == "Guru99 Bank Home Page":
assert True
self.driver.close()
self.log.info("------ home page title test is passed ------")
else:
self.driver.save_screenshot("../screenshots/"+'test_homepage_title.png')
self.driver.close()
self.log.error("------ home page title test is failed ------")
assert False
@pytest.mark.sanity
@pytest.mark.regression
def test_login(self,setup):
self.log.info("------ verifyin login test ------")
self.driver=setup
self.driver.get(self.base_url)
self.log.info("--- application launched...")
self.lp=LoginPage(self.driver)
self.lp.set_user_id(self.user_name)
self.log.info("--- user id Entered : "+self.user_name)
self.lp.set_password(self.password)
self.log.info("--- password Entered : "+self.password)
self.lp.click_on_login()
self.log.info("--- clicked on login")
self.msg=self.driver.find_element_by_xpath("//body").text
#if self.msg == "Manger Id : mngr285385":
if "Manger Id :"+" "+self.user_name in self.msg:
assert True
self.log.info("------ login test is passed ------")
self.driver.close()
else:
self.driver.save_screenshot(".\\screenshots\\"+"test_login.png")
self.driver.close()
self.log.error("------ login test is failed")
assert False
| [
"khandepc@gmail.com"
] | khandepc@gmail.com |
15d888f88d1679039bf18f71120ac99d0ea01b0f | 2d276785c3663d4798be462115291c4706dbd255 | /Python从菜鸟到高手/chapter14/demo14.01.py | 29f3934d32d88fe51f876eff78ae813d90498efa | [] | no_license | bupthl/Python | 81c92433bd955663e6cda5fe7cab5ea3d067c3de | bdb33aeeb179a43100b9ef7129a925c63a133fd3 | refs/heads/master | 2022-02-21T11:02:40.195265 | 2019-08-16T05:49:18 | 2019-08-16T05:49:18 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,238 | py | '''
--------《Python从菜鸟到高手》源代码------------
欧瑞科技版权所有
作者:李宁
如有任何技术问题,请加QQ技术讨论群:264268059
或关注“极客起源”订阅号或“欧瑞科技”服务号或扫码关注订阅号和服务号,二维码在源代码根目录
如果QQ群已满,请访问https://geekori.com,在右侧查看最新的QQ群,同时可以扫码关注公众号
“欧瑞学院”是欧瑞科技旗下在线IT教育学院,包含大量IT前沿视频课程,
请访问http://geekori.com/edu或关注前面提到的订阅号和服务号,进入移动版的欧瑞学院
“极客题库”是欧瑞科技旗下在线题库,请扫描源代码根目录中的小程序码安装“极客题库”小程序
关于更多信息,请访问下面的页面
https://geekori.com/help/videocourse/readme.html
'''
from xml.etree.ElementTree import parse
doc = parse('files/products.xml')
for item in doc.iterfind('products/product'):
id = item.findtext('id')
name = item.findtext('name')
price = item.findtext('price')
print('uuid','=',item.get('uuid'))
print('id','=',id)
print('name', '=',name)
print('price','=',price)
print('-------------')
| [
"registercn@outlook.com"
] | registercn@outlook.com |
044b9145da1f28e2db11e6dbb1cb13463c17a9bc | fb16f7024e0d93ecb07c122e633c1a957a8ab645 | /inheritance/demo2.py | 5859d83e5f89c9c64c80a1b4b2ac35a6999df16c | [] | no_license | rajeshanu/rajeshprograms | c23cf550e060040c7b336242a805e274d3305371 | 83f0fc9c4a8628bba590d1066ca93fd98137f0bc | refs/heads/master | 2020-04-04T13:17:55.986558 | 2018-11-03T06:42:51 | 2018-11-03T06:42:51 | 155,956,676 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 307 | py | class A:
company_name="rajesh"
def display(self):
print("this is display")
class B(A):
def show(self):
print("this is show")
#calling static variable using class A
print(A.company_name)
#calling static variable using class B
print(B.company_name)
b1=B()
b1.show()
b1.display()
| [
"44720126+rajeshanu@users.noreply.github.com"
] | 44720126+rajeshanu@users.noreply.github.com |
0dd964acad8dd7a11d0395be4c59bd0f1587f633 | 0547d1826e99eedb959a3463520d73985a3b844e | /Data Scientist with Python Track Github/06-Merging DataFrames with pandas/04- Case Study - Summer Olympics/09-Merging to compute influence.py | 65b57dce70597328d7a83026604030c048af75f0 | [] | no_license | abhaysinh/Data-Camp | 18031f8fd4ee199c2eff54a408c52da7bdd7ec0f | 782c712975e14e88da4f27505adf4e5f4b457cb1 | refs/heads/master | 2022-11-27T10:44:11.743038 | 2020-07-25T16:15:03 | 2020-07-25T16:15:03 | 282,444,344 | 4 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,142 | py | '''
Merging to compute influence
This exercise starts off with the DataFrames reshaped and hosts in the namespace.
Your task is to merge the two DataFrames and tidy the result.
The end result is a DataFrame summarizing the fractional change in the expanding mean of the percentage of medals won for the host country in each Olympic edition.
Instructions
100 XP
Merge reshaped and hosts using an inner join. Remember, how='inner' is the default behavior for pd.merge().
Print the first 5 rows of the DataFrame merged. This has been done for you. You should see that the rows are jumbled chronologically.
Set the index of merged to be 'Edition' and sort the index.
Print the first 5 rows of the DataFrame influence. This has been done for you, so hit 'Submit Answer' to see the results!
'''
# Import pandas
import pandas as pd
# Merge reshaped and hosts: merged
merged = pd.merge(reshaped, hosts, how='inner')
# Print first 5 rows of merged
print(merged.head())
# Set Index of merged and sort it: influence
influence = merged.set_index('Edition').sort_index()
# Print first 5 rows of influence
print(influence.head()) | [
"abhaysinh.surve@gmail.com"
] | abhaysinh.surve@gmail.com |
2b9fb6b71bd3380b6ab336b7a73dca869d7d67e4 | ef4a1748a5bfb5d02f29390d6a66f4a01643401c | /algorithm/algorithm_week/week1/bubble.py | 2fa44823a30b25b9c819d6b99bd400329f717866 | [] | no_license | websvey1/TIL | aa86c1b31d3efc177df45503d705b3e58b800f8e | 189e797ba44e2fd22a033d1024633f9e0128d5cf | refs/heads/master | 2023-01-12T10:23:45.677578 | 2019-12-09T07:26:59 | 2019-12-09T07:26:59 | 162,102,142 | 0 | 1 | null | 2022-12-11T16:31:08 | 2018-12-17T08:57:58 | Python | UTF-8 | Python | false | false | 355 | py | # for i in range(2,10):
# for j in range(1,10):
# a = i * j
# print(a)
def bubbleSort(data):
for i in range(len(data)-1, 0, -1): # 4 3 2 1
for j in range(0, i): # 4 3 2 1 번
if data[j] < data[i]:
data[j], data[j+1] = data[j+1], data[j]
data = [55, 78, 7, 12, 42]
bubbleSort(data)
print(data) | [
"websvey1@gmail.com"
] | websvey1@gmail.com |
935e864d4bed53c8504125ab2060120e036f07fd | 45a506c5622f366e7013f1276f446a18fc2fc00d | /tests/framework/cli/test_registry.py | 2b1fdda7006dcce18dcd328ffbcbdd634fe71e28 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | sbrugman/kedro | 3e48bcc56cc61fbe575d1a52c4f5bf3e84b6f974 | 25c92b765fba4605a748bdaaa801cee540da611e | refs/heads/develop | 2023-07-20T11:24:07.242114 | 2021-10-08T14:05:03 | 2021-10-08T14:05:03 | 404,517,683 | 1 | 2 | NOASSERTION | 2021-09-08T22:53:09 | 2021-09-08T22:53:09 | null | UTF-8 | Python | false | false | 3,994 | py | # Copyright 2021 QuantumBlack Visual Analytics Limited
#
# 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
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
# OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND
# NONINFRINGEMENT. IN NO EVENT WILL THE LICENSOR OR OTHER CONTRIBUTORS
# BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER IN AN
# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF, OR IN
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#
# The QuantumBlack Visual Analytics Limited ("QuantumBlack") name and logo
# (either separately or in combination, "QuantumBlack Trademarks") are
# trademarks of QuantumBlack. The License does not grant you any right or
# license to the QuantumBlack Trademarks. You may not use the QuantumBlack
# Trademarks or any confusingly similar mark as a trademark for your product,
# or use the QuantumBlack Trademarks in any other manner that might cause
# confusion in the marketplace, including but not limited to in advertising,
# on websites, or on software.
#
# See the License for the specific language governing permissions and
# limitations under the License.
import pytest
from click.testing import CliRunner
@pytest.fixture
def yaml_dump_mock(mocker):
return mocker.patch("yaml.dump", return_value="Result YAML")
@pytest.fixture
def pipelines_dict():
pipelines = {
"de": ["split_data (split_data)"],
"ds": [
"train_model (train_model)",
"predict (predict)",
"report_accuracy (report_accuracy)",
],
"dp": ["data_processing.split_data (split_data)"],
}
pipelines["__default__"] = pipelines["de"] + pipelines["ds"]
return pipelines
@pytest.mark.usefixtures("chdir_to_dummy_project", "patch_log")
def test_list_registered_pipelines(
fake_project_cli, fake_metadata, yaml_dump_mock, pipelines_dict
):
result = CliRunner().invoke(
fake_project_cli, ["registry", "list"], obj=fake_metadata
)
assert not result.exit_code
yaml_dump_mock.assert_called_once_with(sorted(pipelines_dict.keys()))
@pytest.mark.usefixtures("chdir_to_dummy_project", "patch_log")
class TestRegistryDescribeCommand:
@pytest.mark.parametrize("pipeline_name", ["de", "ds", "dp", "__default__"])
def test_describe_registered_pipeline(
self,
fake_project_cli,
fake_metadata,
yaml_dump_mock,
pipeline_name,
pipelines_dict,
):
result = CliRunner().invoke(
fake_project_cli,
["registry", "describe", pipeline_name],
obj=fake_metadata,
)
assert not result.exit_code
expected_dict = {"Nodes": pipelines_dict[pipeline_name]}
yaml_dump_mock.assert_called_once_with(expected_dict)
def test_registered_pipeline_not_found(self, fake_project_cli, fake_metadata):
result = CliRunner().invoke(
fake_project_cli, ["registry", "describe", "missing"], obj=fake_metadata
)
assert result.exit_code
expected_output = (
"Error: `missing` pipeline not found. Existing pipelines: "
"[__default__, de, dp, ds]\n"
)
assert expected_output in result.output
def test_describe_registered_pipeline_default(
self,
fake_project_cli,
fake_metadata,
yaml_dump_mock,
pipelines_dict,
):
result = CliRunner().invoke(
fake_project_cli,
["registry", "describe"],
obj=fake_metadata,
)
assert not result.exit_code
expected_dict = {"Nodes": pipelines_dict["__default__"]}
yaml_dump_mock.assert_called_once_with(expected_dict)
| [
"noreply@github.com"
] | sbrugman.noreply@github.com |
9c6289b0041874829730bd9cd38e88160dc3d661 | 49c2e3ebf7f5d2f79af6e26c44b4d07ec14a20d5 | /Hello World/venv/Lib/site-packages/pip/_vendor/requests/cookies.py | 7b7e84140ac9b0330e638ca7604721268ef62056 | [] | no_license | TaylorHoll/Python_Projects | a0d86642463bdc5b3ea67dae0146c115185c1db2 | a8285b058ed0b4e0a366753d61526056dab23cd3 | refs/heads/master | 2020-06-13T09:04:29.666639 | 2020-01-07T03:40:25 | 2020-01-07T03:40:25 | 194,608,692 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 18,431 | py | # -*- coding: utf-8 -*-
"""
requests.cookies
~~~~~~~~~~~~~~~~
Compatibility code to be able to use `cookielib.CookieJar` with requests.
requests.utils imports from here, so be careful with imports.
"""
import time
import calendar
import copy
from ._internal_utils import to_native_string
from .compat import cookielib, urlparse, urlunparse, Morsel, MutableMapping
try:
import threading
except ImportError:
import dummy_threading as threading
class MockRequest(object):
"""Wraps a `requests.Request` to mimic a `urllib2.Request`.
The code in `cookielib.CookieJar` expects this interface in order to correctly
manage cookie policies, i.e., determine whether a cookie can be set, given the
domains of the request and the cookie.
The original request object is read-only. The client is responsible for collecting
the new headers via `get_new_headers()` and interpreting them appropriately. You
probably want `get_cookie_header`, defined below.
"""
def __init__(self, request):
self._r = request
self._new_headers = {}
self.type = urlparse(self._r.url).scheme
def get_type(self):
return self.type
def get_host(self):
return urlparse(self._r.url).netloc
def get_origin_req_host(self):
return self.get_host()
def get_full_url(self):
# Only return the response's URL if the user hadn't set the Host
# header
if not self._r.headers.get('Host'):
return self._r.url
# If they did set it, retrieve it and reconstruct the expected domain
host = to_native_string(self._r.headers['Host'], encoding='utf-8')
parsed = urlparse(self._r.url)
# Reconstruct the URL as we expect it
return urlunparse([
parsed.scheme, host, parsed.path, parsed.params, parsed.query,
parsed.fragment
])
def is_unverifiable(self):
return True
def has_header(self, name):
return name in self._r.headers or name in self._new_headers
def get_header(self, name, default=None):
return self._r.headers.get(name, self._new_headers.get(name, default))
def add_header(self, key, val):
"""cookielib has no legitimate use for this method; add it back if you find one."""
raise NotImplementedError("Cookie headers should be added with add_unredirected_header()")
def add_unredirected_header(self, name, value):
self._new_headers[name] = value
def get_new_headers(self):
return self._new_headers
@property
def unverifiable(self):
return self.is_unverifiable()
@property
def origin_req_host(self):
return self.get_origin_req_host()
@property
def host(self):
return self.get_host()
class MockResponse(object):
"""Wraps a `httplib.HTTPMessage` to mimic a `urllib.addinfourl`.
...what? Basically, expose the parsed HTTP headers from the server response
the way `cookielib` expects to see them.
"""
def __init__(self, headers):
"""Make a MockResponse for `cookielib` to read.
:param headers: a httplib.HTTPMessage or analogous carrying the headers
"""
self._headers = headers
def info(self):
return self._headers
def getheaders(self, name):
self._headers.getheaders(name)
def extract_cookies_to_jar(jar, request, response):
"""Extract the cookies from the response into a CookieJar.
:param jar: cookielib.CookieJar (not necessarily a RequestsCookieJar)
:param request: our own requests.Request object
:param response: urllib3.HTTPResponse object
"""
if not (hasattr(response, '_original_response') and
response._original_response):
return
# the _original_response field is the wrapped httplib.HTTPResponse object,
req = MockRequest(request)
# pull out the HTTPMessage with the headers and put it in the mock:
res = MockResponse(response._original_response.msg)
jar.extract_cookies(res, req)
def get_cookie_header(jar, request):
"""
Produce an appropriate Cookie header string to be sent with `request`, or None.
:rtype: str
"""
r = MockRequest(request)
jar.add_cookie_header(r)
return r.get_new_headers().get('Cookie')
def remove_cookie_by_name(cookiejar, name, domain=None, path=None):
"""Unsets a cookie by name, by default over all domains and paths.
Wraps CookieJar.clear(), is O(n).
"""
clearables = []
for cookie in cookiejar:
if cookie.name != name:
continue
if domain is not None and domain != cookie.domain:
continue
if path is not None and path != cookie.path:
continue
clearables.append((cookie.domain, cookie.path, cookie.name))
for domain, path, name in clearables:
cookiejar.clear(domain, path, name)
class CookieConflictError(RuntimeError):
"""There are two cookies that meet the criteria specified in the cookie jar.
Use .get and .set and include domain and path args in order to be more specific.
"""
class RequestsCookieJar(cookielib.CookieJar, MutableMapping):
"""Compatibility class; is a cookielib.CookieJar, but exposes a dict
interface.
This is the CookieJar we create by default for requests and sessions that
don't specify one, since some clients may expect response.cookies and
session.cookies to support dict operations.
Requests does not use the dict interface internally; it's just for
compatibility with external client code. All requests code should work
out of the box with externally provided instances of ``CookieJar``, e.g.
``LWPCookieJar`` and ``FileCookieJar``.
Unlike a regular CookieJar, this class is pickleable.
.. warning:: dictionary operations that are normally O(1) may be O(n).
"""
def get(self, name, default=None, domain=None, path=None):
"""Dict-like get() that also supports optional domain and path args in
order to resolve naming collisions from using one cookie jar over
multiple domains.
.. warning:: operation is O(n), not O(1).
"""
try:
return self._find_no_duplicates(name, domain, path)
except KeyError:
return default
def set(self, name, value, **kwargs):
"""Dict-like set() that also supports optional domain and path args in
order to resolve naming collisions from using one cookie jar over
multiple domains.
"""
# support client code that unsets cookies by assignment of a None value:
if value is None:
remove_cookie_by_name(self, name, domain=kwargs.get('domain'), path=kwargs.get('path'))
return
if isinstance(value, Morsel):
c = morsel_to_cookie(value)
else:
c = create_cookie(name, value, **kwargs)
self.set_cookie(c)
return c
def iterkeys(self):
"""Dict-like iterkeys() that returns an iterator of names of cookies
from the jar.
.. seealso:: itervalues() and iteritems().
"""
for cookie in iter(self):
yield cookie.name
def keys(self):
"""Dict-like keys() that returns a list of names of cookies from the
jar.
.. seealso:: values() and items().
"""
return list(self.iterkeys())
def itervalues(self):
"""Dict-like itervalues() that returns an iterator of values of cookies
from the jar.
.. seealso:: iterkeys() and iteritems().
"""
for cookie in iter(self):
yield cookie.value
def values(self):
"""Dict-like values() that returns a list of values of cookies from the
jar.
.. seealso:: keys() and items().
"""
return list(self.itervalues())
def iteritems(self):
"""Dict-like iteritems() that returns an iterator of name-value tuples
from the jar.
.. seealso:: iterkeys() and itervalues().
"""
for cookie in iter(self):
yield cookie.name, cookie.value
def items(self):
"""Dict-like items() that returns a list of name-value tuples from the
jar. Allows client-code to call ``dict(RequestsCookieJar)`` and get a
vanilla python dict of key value pairs.
.. seealso:: keys() and values().
"""
return list(self.iteritems())
def list_domains(self):
"""Utility method to list all the domains in the jar."""
domains = []
for cookie in iter(self):
if cookie.domain not in domains:
domains.append(cookie.domain)
return domains
def list_paths(self):
"""Utility method to list all the paths in the jar."""
paths = []
for cookie in iter(self):
if cookie.path not in paths:
paths.append(cookie.path)
return paths
def multiple_domains(self):
"""Returns True if there are multiple domains in the jar.
Returns False otherwise.
:rtype: bool
"""
domains = []
for cookie in iter(self):
if cookie.domain is not None and cookie.domain in domains:
return True
domains.append(cookie.domain)
return False # there is only one domain in jar
def get_dict(self, domain=None, path=None):
"""Takes as an argument an optional domain and path and returns a plain
old Python dict of name-value pairs of cookies that meet the
requirements.
:rtype: dict
"""
dictionary = {}
for cookie in iter(self):
if (
(domain is None or cookie.domain == domain) and
(path is None or cookie.path == path)
):
dictionary[cookie.name] = cookie.value
return dictionary
def __contains__(self, name):
try:
return super(RequestsCookieJar, self).__contains__(name)
except CookieConflictError:
return True
def __getitem__(self, name):
"""Dict-like __getitem__() for compatibility with client code. Throws
exception if there are more than one cookie with name. In that case,
use the more explicit get() method instead.
.. warning:: operation is O(n), not O(1).
"""
return self._find_no_duplicates(name)
def __setitem__(self, name, value):
"""Dict-like __setitem__ for compatibility with client code. Throws
exception if there is already a cookie of that name in the jar. In that
case, use the more explicit set() method instead.
"""
self.set(name, value)
def __delitem__(self, name):
"""Deletes a cookie given a name. Wraps ``cookielib.CookieJar``'s
``remove_cookie_by_name()``.
"""
remove_cookie_by_name(self, name)
def set_cookie(self, cookie, *args, **kwargs):
if hasattr(cookie.value, 'startswith') and cookie.value.startswith('"') and cookie.value.endswith('"'):
cookie.value = cookie.value.replace('\\"', '')
return super(RequestsCookieJar, self).set_cookie(cookie, *args, **kwargs)
def update(self, other):
"""Updates this jar with cookies from another CookieJar or dict-like"""
if isinstance(other, cookielib.CookieJar):
for cookie in other:
self.set_cookie(copy.copy(cookie))
else:
super(RequestsCookieJar, self).update(other)
def _find(self, name, domain=None, path=None):
"""Requests uses this method internally to get cookie values.
If there are conflicting cookies, _find arbitrarily chooses one.
See _find_no_duplicates if you want an exception thrown if there are
conflicting cookies.
:param name: a string containing name of cookie
:param domain: (optional) string containing domain of cookie
:param path: (optional) string containing path of cookie
:return: cookie.value
"""
for cookie in iter(self):
if cookie.name == name:
if domain is None or cookie.domain == domain:
if path is None or cookie.path == path:
return cookie.value
raise KeyError('name=%r, domain=%r, path=%r' % (name, domain, path))
def _find_no_duplicates(self, name, domain=None, path=None):
"""Both ``__get_item__`` and ``get`` call this function: it's never
used elsewhere in Requests.
:param name: a string containing name of cookie
:param domain: (optional) string containing domain of cookie
:param path: (optional) string containing path of cookie
:raises KeyError: if cookie is not found
:raises CookieConflictError: if there are multiple cookies
that match name and optionally domain and path
:return: cookie.value
"""
toReturn = None
for cookie in iter(self):
if cookie.name == name:
if domain is None or cookie.domain == domain:
if path is None or cookie.path == path:
if toReturn is not None: # if there are multiple cookies that meet passed in criteria
raise CookieConflictError('There are multiple cookies with name, %r' % (name))
toReturn = cookie.value # we will eventually return this as long as no cookie conflict
if toReturn:
return toReturn
raise KeyError('name=%r, domain=%r, path=%r' % (name, domain, path))
def __getstate__(self):
"""Unlike a normal CookieJar, this class is pickleable."""
state = self.__dict__.copy()
# remove the unpickleable RLock object
state.pop('_cookies_lock')
return state
def __setstate__(self, state):
"""Unlike a normal CookieJar, this class is pickleable."""
self.__dict__.update(state)
if '_cookies_lock' not in self.__dict__:
self._cookies_lock = threading.RLock()
def copy(self):
"""Return a copy of this RequestsCookieJar."""
new_cj = RequestsCookieJar()
new_cj.set_policy(self.get_policy())
new_cj.update(self)
return new_cj
def get_policy(self):
"""Return the CookiePolicy instance used."""
return self._policy
def _copy_cookie_jar(jar):
if jar is None:
return None
if hasattr(jar, 'copy'):
# We're dealing with an instance of RequestsCookieJar
return jar.copy()
# We're dealing with a generic CookieJar instance
new_jar = copy.copy(jar)
new_jar.clear()
for cookie in jar:
new_jar.set_cookie(copy.copy(cookie))
return new_jar
def create_cookie(name, value, **kwargs):
"""Make a cookie from underspecified parameters.
By default, the pair of `name` and `value` will be set for the domain ''
and sent on every request (this is sometimes called a "supercookie").
"""
result = {
'version': 0,
'name': name,
'value': value,
'port': None,
'domain': '',
'path': '/',
'secure': False,
'expires': None,
'discard': True,
'comment': None,
'comment_url': None,
'rest': {'HttpOnly': None},
'rfc2109': False,
}
badargs = set(kwargs) - set(result)
if badargs:
err = 'create_cookie() got unexpected keyword arguments: %s'
raise TypeError(err % list(badargs))
result.update(kwargs)
result['port_specified'] = bool(result['port'])
result['domain_specified'] = bool(result['domain'])
result['domain_initial_dot'] = result['domain'].startswith('.')
result['path_specified'] = bool(result['path'])
return cookielib.Cookie(**result)
def morsel_to_cookie(morsel):
"""Convert a Morsel object into a Cookie containing the one k/v pair."""
expires = None
if morsel['max-age']:
try:
expires = int(time.time() + int(morsel['max-age']))
except ValueError:
raise TypeError('max-age: %s must be integer' % morsel['max-age'])
elif morsel['expires']:
time_template = '%a, %d-%b-%Y %H:%M:%S GMT'
expires = calendar.timegm(
time.strptime(morsel['expires'], time_template)
)
return create_cookie(
comment=morsel['comment'],
comment_url=bool(morsel['comment']),
discard=False,
domain=morsel['domain'],
expires=expires,
name=morsel.key,
path=morsel['path'],
port=None,
rest={'HttpOnly': morsel['httponly']},
rfc2109=False,
secure=bool(morsel['secure']),
value=morsel.value,
version=morsel['version'] or 0,
)
def cookiejar_from_dict(cookie_dict, cookiejar=None, overwrite=True):
"""Returns a CookieJar from a key/value dictionary.
:param cookie_dict: Dict of key/values to insert into CookieJar.
:param cookiejar: (optional) A cookiejar to add the cookies to.
:param overwrite: (optional) If False, will not replace cookies
already in the jar with new ones.
:rtype: CookieJar
"""
if cookiejar is None:
cookiejar = RequestsCookieJar()
if cookie_dict is not None:
names_from_jar = [cookie.name for cookie in cookiejar]
for name in cookie_dict:
if overwrite or (name not in names_from_jar):
cookiejar.set_cookie(create_cookie(name, cookie_dict[name]))
return cookiejar
def merge_cookies(cookiejar, cookies):
"""Add cookies to cookiejar and returns a merged CookieJar.
:param cookiejar: CookieJar object to add the cookies to.
:param cookies: Dictionary or CookieJar object to be added.
:rtype: CookieJar
"""
if not isinstance(cookiejar, cookielib.CookieJar):
raise ValueError('You can only merge into CookieJar')
if isinstance(cookies, dict):
cookiejar = cookiejar_from_dict(
cookies, cookiejar=cookiejar, overwrite=False)
elif isinstance(cookies, cookielib.CookieJar):
try:
cookiejar.update(cookies)
except AttributeError:
for cookie_in_jar in cookies:
cookiejar.set_cookie(cookie_in_jar)
return cookiejar
| [
"taylorholloway1984@gmail.com"
] | taylorholloway1984@gmail.com |
b3712cec61edb7ce27ef60bd2b0341d12e27f6e3 | f487b395f47116bc7480fcbdc32be21354d8e0ea | /test.py | 9e0cd0712d8cd5065b6cd1b6f7f7bb1c1217d0ac | [] | no_license | greenmac/kaggle_digit_recognizer | cbd3bed60bc5d386e09fb71bff665048e1a9f2cb | d864d47874dad96a3fa44a99d076630379a2fb10 | refs/heads/master | 2021-01-07T04:22:56.478579 | 2020-03-16T06:33:05 | 2020-03-16T06:33:05 | 241,577,122 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,572 | py | import random
import time
from datetime import datetime
'''
class RanDate():
def strTimeProp(self, start, end, prop, frmt):
stime = time.mktime(time.strptime(start, frmt))
etime = time.mktime(time.strptime(end, frmt))
ptime = stime + prop * (etime - stime)
return int(ptime)
def randomDate(self, frmt='%Y-%m-%d %H:%M:%S'):
start = '1950-01-01 00:00:00'
end = '2000-12-31 23:59:59'
return time.strftime(frmt,
time.localtime(self.strTimeProp(start, end, random.random(), frmt)))
print(RanDate().randomDate())
'''
# def strTimeProp(start, end, prop, frmt):
# stime = time.mktime(time.strptime(start, frmt))
# etime = time.mktime(time.strptime(end, frmt))
# ptime = stime + prop * (etime - stime)
# return int(ptime)
# def randomDate(frmt='%Y-%m-%d %H:%M:%S'):
# start = '1950-01-01 00:00:00'
# end = '2000-12-31 23:59:59'
# return time.strftime(frmt,
# time.localtime(strTimeProp(start, end, random.random(), frmt)))
# randomDate = randomDate()
# # print(randomDate())
# qs = datetime.strptime(randomDate, "%Y-%m-%d %H:%M:%S")
# print(type(qs))
def fun(a, *args, **kwargs):
print(f'a={a}')
for arg in args:
print(f'Optional argument: {arg}')
for k, v in kwargs.items():
print(f'Optional kwargs argument key: {k} value {v}')
# print("")
# args = [1, 2, 3, 4]
# fun(*args)
# print("")
# kwargs = {'k1':10, 'k2':11}
# fun(1, **kwargs)
print("")
args = [1, 2, 3, 4]
kwargs = {'k1':10, 'k2':11}
fun(1, *args, **kwargs) | [
"alwaysmac@msn.com"
] | alwaysmac@msn.com |
fd575982d90e09ee5b0320c34f170d2652cc7322 | 453dba4c0f167faf97cfc80233bf1acc5b87e58e | /_unittests/ut_documentation/test_notebook_javascript.py | 12c52fd9f4d5427b2c237f594636478929c16b5d | [
"MIT"
] | permissive | sdpython/code_beatrix | 6a092dacbf830a90d374e8c4871d8749e096d5a3 | e39f8ae416c23940c1a227c11c667c19104b2ff4 | refs/heads/master | 2023-02-06T10:52:51.418417 | 2023-02-04T12:11:45 | 2023-02-04T12:11:45 | 32,282,235 | 1 | 2 | MIT | 2022-10-16T15:20:28 | 2015-03-15T20:26:17 | Jupyter Notebook | UTF-8 | Python | false | false | 1,335 | py | # -*- coding: utf-8 -*-
"""
@brief test log(time=59s)
"""
import unittest
from pyquickhelper.loghelper import fLOG
from pyquickhelper.pycode import get_temp_folder, add_missing_development_version
from pyquickhelper.ipythonhelper import execute_notebook_list_finalize_ut
from code_beatrix.automation.notebook_test_helper import ls_notebooks, execute_notebooks, clean_function_notebook
import code_beatrix
class TestNotebookJavascript(unittest.TestCase):
def setUp(self):
add_missing_development_version(["pymyinstall", "pyensae", "pymmails", "ensae_projects",
"jyquickhelper"], __file__, hide=True)
def test_notebook_javascript(self):
fLOG(
__file__,
self._testMethodName,
OutputPrint=__name__ == "__main__")
temp = get_temp_folder(__file__, "temp_javascript")
keepnote = ls_notebooks("javascript")
self.assertTrue(len(keepnote) > 0)
res = execute_notebooks(temp, keepnote,
lambda i, n: "deviner" not in n,
fLOG=fLOG,
clean_function=clean_function_notebook)
execute_notebook_list_finalize_ut(
res, fLOG=fLOG, dump=code_beatrix)
if __name__ == "__main__":
unittest.main()
| [
"xavier.dupre@gmail.com"
] | xavier.dupre@gmail.com |
33c663db4ac2ac5d3f963fc3e0ab25c673c7cba7 | 6b181f5640e2c3df91d1a6d5c95cf1989012f0d5 | /client/canyons-of-mars/client_utils.py | 5c047f04104e32a1a2b0ca5bc61396532f2e39d0 | [
"MIT"
] | permissive | GamesCreatorsClub/GCC-Rover | 9b84dcd84cce60c321906223f8c24f99722d1bae | 25a69f62a1bb01fc421924ec39f180f50d6a640b | refs/heads/master | 2021-01-11T18:04:05.876976 | 2019-10-01T15:20:30 | 2019-10-01T15:20:30 | 79,477,472 | 3 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,762 | py |
#
# Copyright 2016-2019 Games Creators Club
#
# MIT License
#
import os
import pyros
import time
from rover import Rover, RoverState
from telemetry import TelemetryStreamDefinition
from telemetry.telemetry_client import PubSubTelemetryClient
class PyrosTelemetryClient(PubSubTelemetryClient):
def __init__(self, publish_method, subscribe_method, topic='telemetry'):
super(PyrosTelemetryClient, self).__init__(topic, publish_method, subscribe_method)
class TelemetryUtil:
def __init__(self, topic="telemetry"):
self.client = PyrosTelemetryClient(pyros.publish, pyros.subscribeBinary, topic=topic)
self.stream = None
self.step = 10 # 15 seconds a time
self.finished_downloading = False
self.timestamp = None
self.recordCallback = None
self.error = None
def processStreamDef(self, stream_def):
if stream_def is None:
print("No such stream")
self.error = "No such stream"
else:
self.stream = stream_def
self.client.getOldestTimestamp(self.stream, self.processOldestTimestamp)
def processOldestTimestamp(self, oldest_timestamp, records_count):
self.timestamp = oldest_timestamp
if oldest_timestamp == 0.0:
print("Telemetry: The oldest timestamp is " + str(oldest_timestamp) + " (there are no records) and there are " + str(records_count) + " records.")
else:
print("Telemetry: The oldest timestamp is " + str(oldest_timestamp) + " (it is " + str(time.time() - oldest_timestamp) + "s ago) and there are " + str(records_count) + " records.")
if records_count > 0:
self.client.retrieve(self.stream, self.timestamp, self.timestamp + self.step, self.processData)
def processData(self, records):
self.timestamp += self.step
for record in records:
if self.recordCallback is not None:
self.recordCallback(record)
if self.timestamp > time.time() or len(records) == 0:
self.client.trim(self.stream, time.time())
self.finished_downloading = True
return
self.client.trim(self.stream, self.timestamp)
self.client.retrieve(self.stream, self.timestamp, self.timestamp + self.step, self.processData)
def fetchData(self, stream_name, recordCallback):
self.stream = None
self.finished_downloading = False
self.timestamp = None
self.error = None
self.recordCallback = recordCallback
self.client.getStreamDefinition(stream_name, self.processStreamDef)
class RunLog:
def __init__(self, rover):
self.rover = rover
self.logger_def = RoverState.defineLogger(TelemetryStreamDefinition('rover-state'))
self.records = []
self.ptr = 0
self.filename = 'rover-state'
def reset(self):
self.records = []
self.ptr = 0
def addNewRecord(self, record):
bts = record[len(record) - 1]
if isinstance(bts, bytes):
record = [r for r in record[:-1]] + [bts.decode('ascii')]
self.records.append(record)
def currentRecord(self):
if self.ptr >= len(self.records):
if len(self.records) > 0:
self.ptr = len(self.records) - 1
else:
return None
return self.records[self.ptr]
def setup(self):
if len(self.records) > 0:
state = RoverState(self.rover, None, None, None, None, None)
state.recreate(self.records[self.ptr])
state.calculate()
self.rover.current_state = state
def previousRecord(self, step):
if self.ptr == 0:
return False
self.ptr -= step
if self.ptr < 0:
self.ptr = 0
self.setup()
return True
def nextRecord(self, step):
if self.ptr >= len(self.records) - 1:
return False
self.ptr += step
if self.ptr >= len(self.records):
self.ptr = len(self.records) - 1
self.setup()
return True
def size(self):
return len(self.records)
def currentRecordTimeOffset(self):
if len(self.records) == 0:
return 0
t0 = self.records[0][0]
tc = self.records[self.ptr][0]
return tc - t0
def _makeFilename(self, i):
return self.filename + "." + str(i) + ".csv"
def _findFilenameNumber(self):
i = 1
filename = self._makeFilename(i)
while os.path.exists(filename):
i += 1
filename = self._makeFilename(i)
return i - 1
def save(self):
i = self._findFilenameNumber()
i += 1
filename = self._makeFilename(i)
with open(filename, "wt") as file:
file.write("timestamp,")
file.write(",".join([f.name for f in self.logger_def.fields]) + "\n")
for record in self.records:
file.write(",".join([str(f) for f in record]) + "\n")
def load(self):
i = self._findFilenameNumber()
filename = self._makeFilename(i)
if os.path.exists(filename):
with open(filename, "rt") as file:
self.reset()
header = file.readline()
lines = file.readlines()
for line in lines:
if line.endswith("\n"):
line = line[0:len(line) - 1]
split = line.split(",")
timestamp = float(split[0])
del split[0]
record = [timestamp] + [d[0].fromString(d[1]) for d in zip(self.logger_def.fields, split)]
self.records.append(record)
| [
"natdan@users.noreply.github.com"
] | natdan@users.noreply.github.com |
d98e4ec858d215f4a007844da9a85f99fada5ab0 | 043a11e5b4834231abec1cd51ce682ee91ac8e27 | /keystoneclient/fixture/v3.py | a0896f067fd700a8e76bfa3e89d1b28eb48b5e19 | [
"Apache-2.0",
"BSD-2-Clause"
] | permissive | jamielennox/python-keystoneclient | c6d96ff9b3921777f2a557a29baaeb8eec8424a7 | a1bc48c0fc475db6bca761a9023c35adab740dab | refs/heads/master | 2021-01-18T06:34:36.885196 | 2014-07-08T04:34:26 | 2014-07-08T04:34:26 | 12,315,364 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 10,917 | py | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
import datetime
import uuid
from keystoneclient.fixture import exception
from keystoneclient.openstack.common import timeutils
class _Service(dict):
"""One of the services that exist in the catalog.
You use this by adding a service to a token which returns an instance of
this object and then you can add_endpoints to the service.
"""
def add_endpoint(self, interface, url, region=None):
data = {'interface': interface,
'url': url,
'region': region}
self.setdefault('endpoints', []).append(data)
return data
def add_standard_endpoints(self, public=None, admin=None, internal=None,
region=None):
ret = []
if public:
ret.append(self.add_endpoint('public', public, region=region))
if admin:
ret.append(self.add_endpoint('admin', admin, region=region))
if internal:
ret.append(self.add_endpoint('internal', internal, region=region))
return ret
class Token(dict):
"""A V3 Keystone token that can be used for testing.
This object is designed to allow clients to generate a correct V3 token for
use in there test code. It should prevent clients from having to know the
correct token format and allow them to test the portions of token handling
that matter to them and not copy and paste sample.
"""
def __init__(self, expires=None, issued=None, user_id=None, user_name=None,
user_domain_id=None, user_domain_name=None, methods=None,
project_id=None, project_name=None, project_domain_id=None,
project_domain_name=None, domain_id=None, domain_name=None,
trust_id=None, trust_impersonation=None, trustee_user_id=None,
trustor_user_id=None):
super(Token, self).__init__()
self.user_id = user_id or uuid.uuid4().hex
self.user_name = user_name or uuid.uuid4().hex
self.user_domain_id = user_domain_id or uuid.uuid4().hex
self.user_domain_name = user_domain_name or uuid.uuid4().hex
if not methods:
methods = ['password']
self.methods.extend(methods)
if not issued:
issued = timeutils.utcnow() - datetime.timedelta(minutes=2)
try:
self.issued = issued
except (TypeError, AttributeError):
# issued should be able to be passed as a string so ignore
self.issued_str = issued
if not expires:
expires = self.issued + datetime.timedelta(hours=1)
try:
self.expires = expires
except (TypeError, AttributeError):
# expires should be able to be passed as a string so ignore
self.expires_str = expires
if (project_id or project_name or
project_domain_id or project_domain_name):
self.set_project_scope(id=project_id,
name=project_name,
domain_id=project_domain_id,
domain_name=project_domain_name)
if domain_id or domain_name:
self.set_domain_scope(id=domain_id, name=domain_name)
if (trust_id or (trust_impersonation is not None) or
trustee_user_id or trustor_user_id):
self.set_trust_scope(id=trust_id,
impersonation=trust_impersonation,
trustee_user_id=trustee_user_id,
trustor_user_id=trustor_user_id)
@property
def root(self):
return self.setdefault('token', {})
@property
def expires_str(self):
return self.root.get('expires_at')
@expires_str.setter
def expires_str(self, value):
self.root['expires_at'] = value
@property
def expires(self):
return timeutils.parse_isotime(self.expires_str)
@expires.setter
def expires(self, value):
self.expires_str = timeutils.isotime(value, subsecond=True)
@property
def issued_str(self):
return self.root.get('issued_at')
@issued_str.setter
def issued_str(self, value):
self.root['issued_at'] = value
@property
def issued(self):
return timeutils.parse_isotime(self.issued_str)
@issued.setter
def issued(self, value):
self.issued_str = timeutils.isotime(value, subsecond=True)
@property
def _user(self):
return self.root.setdefault('user', {})
@property
def user_id(self):
return self._user.get('id')
@user_id.setter
def user_id(self, value):
self._user['id'] = value
@property
def user_name(self):
return self._user.get('name')
@user_name.setter
def user_name(self, value):
self._user['name'] = value
@property
def _user_domain(self):
return self._user.setdefault('domain', {})
@property
def user_domain_id(self):
return self._user_domain.get('id')
@user_domain_id.setter
def user_domain_id(self, value):
self._user_domain['id'] = value
@property
def user_domain_name(self):
return self._user_domain.get('name')
@user_domain_name.setter
def user_domain_name(self, value):
self._user_domain['name'] = value
@property
def methods(self):
return self.root.setdefault('methods', [])
@property
def project_id(self):
return self.root.get('project', {}).get('id')
@project_id.setter
def project_id(self, value):
self.root.setdefault('project', {})['id'] = value
@property
def project_name(self):
return self.root.get('project', {}).get('name')
@project_name.setter
def project_name(self, value):
self.root.setdefault('project', {})['name'] = value
@property
def project_domain_id(self):
return self.root.get('project', {}).get('domain', {}).get('id')
@project_domain_id.setter
def project_domain_id(self, value):
project = self.root.setdefault('project', {})
project.setdefault('domain', {})['id'] = value
@property
def project_domain_name(self):
return self.root.get('project', {}).get('project', {}).get('name')
@project_domain_name.setter
def project_domain_name(self, value):
project = self.root.setdefault('project', {})
project.setdefault('domain', {})['name'] = value
@property
def domain_id(self):
return self.root.get('domain', {}).get('id')
@domain_id.setter
def domain_id(self, value):
self.root.setdefault('domain', {})['id'] = value
@property
def domain_name(self):
return self.root.get('domain', {}).get('name')
@domain_name.setter
def domain_name(self, value):
self.root.setdefault('domain', {})['name'] = value
@property
def trust_id(self):
return self.root.get('OS-TRUST:trust', {}).get('id')
@trust_id.setter
def trust_id(self, value):
self.root.setdefault('OS-TRUST:trust', {})['id'] = value
@property
def trust_impersonation(self):
return self.root.get('OS-TRUST:trust', {}).get('impersonation')
@trust_impersonation.setter
def trust_impersonation(self, value):
self.root.setdefault('OS-TRUST:trust', {})['impersonation'] = value
@property
def trustee_user_id(self):
trust = self.root.get('OS-TRUST:trust', {})
return trust.get('trustee_user', {}).get('id')
@trustee_user_id.setter
def trustee_user_id(self, value):
trust = self.root.setdefault('OS-TRUST:trust', {})
trust.setdefault('trustee_user', {})['id'] = value
@property
def trustor_user_id(self):
trust = self.root.get('OS-TRUST:trust', {})
return trust.get('trustor_user', {}).get('id')
@trustor_user_id.setter
def trustor_user_id(self, value):
trust = self.root.setdefault('OS-TRUST:trust', {})
trust.setdefault('trustor_user', {})['id'] = value
def validate(self):
project = self.root.get('project')
domain = self.root.get('domain')
trust = self.root.get('OS-TRUST:trust')
catalog = self.root.get('catalog')
roles = self.root.get('roles')
scoped = project or domain or trust
if sum((bool(project), bool(domain), bool(trust))) > 1:
msg = 'You cannot scope to multiple targets'
raise exception.FixtureValidationError(msg)
if catalog and not scoped:
msg = 'You cannot have a service catalog on an unscoped token'
raise exception.FixtureValidationError(msg)
if scoped and not self.user.get('roles'):
msg = 'You must have roles on a token to scope it'
raise exception.FixtureValidationError(msg)
if bool(scoped) != bool(roles):
msg = 'You must be scoped to have roles and vice-versa'
raise exception.FixtureValidationError(msg)
def add_role(self, name=None, id=None):
roles = self.root.setdefault('roles', [])
data = {'id': id or uuid.uuid4().hex,
'name': name or uuid.uuid4().hex}
roles.append(data)
return data
def add_service(self, type, name=None):
service = _Service(type=type)
if name:
service['name'] = name
self.root.setdefault('catalog', []).append(service)
return service
def set_project_scope(self, id=None, name=None, domain_id=None,
domain_name=None):
self.project_id = id or uuid.uuid4().hex
self.project_name = name or uuid.uuid4().hex
self.project_domain_id = domain_id or uuid.uuid4().hex
self.project_domain_name = domain_name or uuid.uuid4().hex
def set_domain_scope(self, id=None, name=None):
self.domain_id = id or uuid.uuid4().hex
self.domain_name = name or uuid.uuid4().hex
def set_trust_scope(self, id=None, impersonation=False,
trustee_user_id=None, trustor_user_id=None):
self.trust_id = id or uuid.uuid4().hex
self.trust_impersonation = impersonation
self.trustee_user_id = trustee_user_id or uuid.uuid4().hex
self.trustor_user_id = trustor_user_id or uuid.uuid4().hex
| [
"jamielennox@redhat.com"
] | jamielennox@redhat.com |
78ae01813d9135d215eaddfa321fc99bd7b6143c | 6f866eb49d0b67f0bbbf35c34cebe2babe2f8719 | /app/data_models/fulfilment_request.py | 2a505c4cf7f376af16fcb182b36776ef386e4ff9 | [
"MIT",
"LicenseRef-scancode-proprietary-license"
] | permissive | ONSdigital/eq-questionnaire-runner | 681b0d081f9cff0ee4ae3017ecc61f7390d553bf | 87e7364c4d54fee99e6a5e96649123f11c4b53f1 | refs/heads/main | 2023-09-01T21:59:56.733363 | 2023-08-31T15:07:55 | 2023-08-31T15:07:55 | 219,752,509 | 12 | 18 | MIT | 2023-09-14T11:37:31 | 2019-11-05T13:32:18 | Python | UTF-8 | Python | false | false | 876 | py | from abc import ABC, abstractmethod
from datetime import datetime, timezone
from functools import cached_property
from typing import Mapping
from uuid import uuid4
from app.utilities.json import json_dumps
class FulfilmentRequest(ABC):
@abstractmethod
def _payload(self) -> Mapping:
pass # pragma: no cover
@cached_property
def transaction_id(self) -> str:
return str(uuid4())
@property
def message(self) -> bytes:
message = {
"event": {
"type": "FULFILMENT_REQUESTED",
"source": "QUESTIONNAIRE_RUNNER",
"channel": "EQ",
"dateTime": datetime.now(tz=timezone.utc).isoformat(),
"transactionId": self.transaction_id,
},
"payload": self._payload(),
}
return json_dumps(message).encode("utf-8")
| [
"noreply@github.com"
] | ONSdigital.noreply@github.com |
69abc1688de4f8f5f99b6a5cd6477c25dc505f9d | 2196f8fc48d24a27243f395ab849cd4410cbe87b | /test/test_zero_tensors.py | 972a08d4b27a95e4d4a891ab977d31aac52c43f8 | [
"MIT"
] | permissive | zuru/pytorch_scatter | 8097bffb9732464e185c2bae266c9e8aea96d4e6 | d7dbb0807dede6a9a1021ce3dc2bc2972b168a24 | refs/heads/master | 2021-12-14T01:38:18.737462 | 2021-12-08T10:03:04 | 2021-12-08T10:03:04 | 238,142,178 | 0 | 0 | MIT | 2020-02-04T06:51:02 | 2020-02-04T06:51:01 | null | UTF-8 | Python | false | false | 229 | py | import torch
from torch_scatter import scatter
def test_zero_elements():
x = torch.randn(0, 16)
index = torch.tensor([]).view(0, 16)
print(x)
print(index)
scatter(x, index, dim=0, dim_size=0, reduce="add")
| [
"matthias.fey@tu-dortmund.de"
] | matthias.fey@tu-dortmund.de |
07985a0deb76d16dc2d01d2243eb8775632649e1 | 7a398f8dbcf465dc182d63dfe11a71d94a68c235 | /SyntaxEx14/venv/bin/easy_install | d7af2d3dad86685f38c4d10f8fbefef699e5d161 | [] | no_license | apolonis/PythonExamples | 48b0bd6c0e86388cc2772b27fcdeffacb7d0191f | 018c3ccf0f1f57f807e8e9059afa3db408094a5c | refs/heads/master | 2020-09-20T07:48:22.233460 | 2019-12-16T14:39:34 | 2019-12-16T14:39:34 | 224,413,096 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 442 | #!/home/marko/PycharmProjects/SyntaxEx14/venv/bin/python
# EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install'
__requires__ = 'setuptools==40.8.0'
import re
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(
load_entry_point('setuptools==40.8.0', 'console_scripts', 'easy_install')()
)
| [
"riddickschronicles@gmail.com"
] | riddickschronicles@gmail.com | |
ae32e8e8c755c8a31f1fdbce1a01816ab57aec48 | f3b233e5053e28fa95c549017bd75a30456eb50c | /tyk2_input/28/28-30_wat_20Abox/set_1ns_equi_m.py | e7ec5a1ea8866d3680ac187e668d1044c1d1e7a9 | [] | no_license | AnguseZhang/Input_TI | ddf2ed40ff1c0aa24eea3275b83d4d405b50b820 | 50ada0833890be9e261c967d00948f998313cb60 | refs/heads/master | 2021-05-25T15:02:38.858785 | 2020-02-18T16:57:04 | 2020-02-18T16:57:04 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 923 | py | import os
dir = '/mnt/scratch/songlin3/run/tyk2/L28/wat_20Abox/ti_one-step/28_30/'
filesdir = dir + 'files/'
temp_equiin = filesdir + 'temp_equi_m.in'
temp_pbs = filesdir + 'temp_1ns_equi_m.pbs'
lambd = [ 0.00922, 0.04794, 0.11505, 0.20634, 0.31608, 0.43738, 0.56262, 0.68392, 0.79366, 0.88495, 0.95206, 0.99078]
for j in lambd:
os.system("rm -r %6.5f" %(j))
os.system("mkdir %6.5f" %(j))
os.chdir("%6.5f" %(j))
os.system("rm *")
workdir = dir + "%6.5f" %(j) + '/'
#equiin
eqin = workdir + "%6.5f_equi_m.in" %(j)
os.system("cp %s %s" %(temp_equiin, eqin))
os.system("sed -i 's/XXX/%6.5f/g' %s" %(j, eqin))
#PBS
pbs = workdir + "%6.5f_1ns_equi.pbs" %(j)
os.system("cp %s %s" %(temp_pbs, pbs))
os.system("sed -i 's/XXX/%6.5f/g' %s" %(j, pbs))
#top
os.system("cp ../28-30_merged.prmtop .")
os.system("cp ../0.5_equi_0_3.rst .")
#submit pbs
os.system("qsub %s" %(pbs))
os.chdir(dir)
| [
"songlin3@msu.edu"
] | songlin3@msu.edu |
858bd6899eb9a8332d79dda00ceb3117f216ca37 | 8b9fcb5f2207b98da1113a26c1b7915ae0961684 | /tests/publishing/test_geocodesddraft.py | 14e9acc16e03e8a73c1d8f016ccd655a39084e87 | [
"BSD-3-Clause"
] | permissive | dcworldwide/arcpyext | fe4bcef3fd7ac0ffb8fd5e89fd925a951dc22fd6 | 02fe4dcd3ed728c91a078dee255abacb0fe2aed0 | refs/heads/master | 2022-01-21T09:14:49.937159 | 2018-10-15T01:30:04 | 2018-10-15T01:30:04 | 155,815,154 | 0 | 0 | BSD-3-Clause | 2018-11-02T04:45:09 | 2018-11-02T04:45:08 | null | UTF-8 | Python | false | false | 1,850 | py | from __future__ import (absolute_import, division, print_function, unicode_literals)
from builtins import (bytes, dict, int, list, object, range, str, ascii, chr, hex, input, next, oct, open, pow, round,
super, filter, map, zip)
import os.path
import shutil
import arcpyext
import pytest
from arcpyext.publishing._geocode_sddraft import GeocodeSDDraft
from .. helpers import *
SDDRAFT_FILE_PATH = os.path.abspath("{0}/../samples/geocodeservice.sddraft".format(os.path.dirname(__file__)))
SDDRAFT_FILE_PATH_COPY = os.path.abspath("{0}/../samples/geocodeservice.copy.sddraft".format(os.path.dirname(__file__)))
SDDRAFT_SAVE_TEST_FILE_PATH = os.path.abspath("{0}/../samples/geocodeservice.savetest.sddraft".format(os.path.dirname(__file__)))
@pytest.fixture
def sddraft():
shutil.copyfile(SDDRAFT_FILE_PATH, SDDRAFT_FILE_PATH_COPY)
return arcpyext.publishing.load_geocode_sddraft(SDDRAFT_FILE_PATH_COPY)
from .sddraftbase import *
@pytest.mark.parametrize(("capabilities", "expected", "ex"), [
([GeocodeSDDraft.Capability.geocode], [GeocodeSDDraft.Capability.geocode], None),
([], [], None),
(["Geocode"], [GeocodeSDDraft.Capability.geocode], None),
(["Fail"], None, ValueError),
([123], None, TypeError)
])
def test_capabilities(sddraft, capabilities, expected, ex):
assert isinstance(type(sddraft).capabilities, property) == True
if ex != None:
with pytest.raises(ex):
sddraft.capabilities = capabilities
else:
sddraft.capabilities = capabilities
assert set(sddraft.capabilities) == set(expected)
def test_save(sddraft):
sddraft.save()
assert True
@pytest.mark.parametrize(("output"), [
(SDDRAFT_SAVE_TEST_FILE_PATH)
])
def test_save_a_copy(sddraft, output):
sddraft.save_a_copy(output)
assert os.path.isfile(output) == True | [
"DavidWhittingham@users.noreply.github.com"
] | DavidWhittingham@users.noreply.github.com |
a72e4cd9b490f00aa9e20de7fee6ccd519ab65cc | eeb4752a22ef99152784c0ef6f720f8e4f2dd9d9 | /myrest/talk/models.py | 5a922ffc710e4b3be17cc2d911aa1ac6044503fc | [] | no_license | borko81/django-rest-test | 9a63d328fea8155029bb3d1d29ab624ea4a0027b | e21d41494154622c2472b679df40d5f42d8ab356 | refs/heads/main | 2023-08-05T22:36:10.099746 | 2021-09-10T17:54:20 | 2021-09-10T17:54:20 | 318,290,143 | 0 | 0 | null | 2021-08-23T18:51:22 | 2020-12-03T18:53:44 | Python | UTF-8 | Python | false | false | 232 | py | from django.contrib.auth.models import User
from django.db import models
from talk.helpers.add_update import Helper
class Post(Helper):
author = models.ForeignKey(User, on_delete=models.CASCADE)
text = models.TextField()
| [
"bstoilov81@gmail.com"
] | bstoilov81@gmail.com |
769f3f0ffd325b7149094498e3a6cc184d03189f | 51cbd904e17e45f6adb5303c3532a6ff0519ab42 | /sdk/containerregistry/azure-containerregistry/azure/containerregistry/_container_repository_client.py | 9c6e44c188306de7999d7701012eed0f61d1635f | [
"LicenseRef-scancode-generic-cla",
"MIT",
"LGPL-2.1-or-later"
] | permissive | heaths/azure-sdk-for-python | 203e9a6052d7dff5b5f2346bced86b9406be3419 | 77feaf14471eba6642f5c7ae2f3f06981ff361d7 | refs/heads/master | 2022-07-26T06:46:57.067502 | 2021-04-15T21:35:26 | 2021-04-15T21:35:26 | 239,629,447 | 0 | 0 | MIT | 2020-02-10T22:46:20 | 2020-02-10T22:46:19 | null | UTF-8 | Python | false | false | 18,541 | py | # coding=utf-8
# ------------------------------------
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
# ------------------------------------
from typing import TYPE_CHECKING
from azure.core.exceptions import (
ClientAuthenticationError,
ResourceNotFoundError,
ResourceExistsError,
HttpResponseError,
map_error,
)
from azure.core.paging import ItemPaged
from azure.core.tracing.decorator import distributed_trace
from ._base_client import ContainerRegistryBaseClient
from ._generated.models import AcrErrors
from ._helpers import _is_tag, _parse_next_link
from ._models import (
DeletedRepositoryResult,
RegistryArtifactProperties,
RepositoryProperties,
TagProperties,
)
if TYPE_CHECKING:
from typing import Any, Dict
from azure.core.credentials import TokenCredential
from ._models import ContentPermissions
class ContainerRepositoryClient(ContainerRegistryBaseClient):
def __init__(self, endpoint, repository, credential, **kwargs):
# type: (str, str, TokenCredential, Dict[str, Any]) -> None
"""Create a ContainerRepositoryClient from an endpoint, repository name, and credential
:param endpoint: An ACR endpoint
:type endpoint: str
:param repository: The name of a repository
:type repository: str
:param credential: The credential with which to authenticate
:type credential: :class:`~azure.core.credentials.TokenCredential`
:returns: None
:raises: None
"""
if not endpoint.startswith("https://") and not endpoint.startswith("http://"):
endpoint = "https://" + endpoint
self._endpoint = endpoint
self.repository = repository
super(ContainerRepositoryClient, self).__init__(endpoint=self._endpoint, credential=credential, **kwargs)
def _get_digest_from_tag(self, tag):
# type: (str) -> str
tag_props = self.get_tag_properties(tag)
return tag_props.digest
@distributed_trace
def delete(self, **kwargs):
# type: (Dict[str, Any]) -> None
"""Delete a repository
:returns: Object containing information about the deleted repository
:rtype: :class:`~azure.containerregistry.DeletedRepositoryResult`
:raises: :class:`~azure.core.exceptions.ResourceNotFoundError`
"""
return DeletedRepositoryResult._from_generated( # pylint: disable=protected-access
self._client.container_registry.delete_repository(self.repository, **kwargs)
)
@distributed_trace
def delete_registry_artifact(self, digest, **kwargs):
# type: (str, Dict[str, Any]) -> None
"""Delete a registry artifact
:param digest: The digest of the artifact to be deleted
:type digest: str
:returns: None
:raises: :class:`~azure.core.exceptions.ResourceNotFoundError`
"""
self._client.container_registry_repository.delete_manifest(self.repository, digest, **kwargs)
@distributed_trace
def delete_tag(self, tag, **kwargs):
# type: (str, Dict[str, Any]) -> None
"""Delete a tag from a repository
:param str tag: The tag to be deleted
:returns: None
:raises: :class:`~azure.core.exceptions.ResourceNotFoundError`
"""
self._client.container_registry_repository.delete_tag(self.repository, tag, **kwargs)
@distributed_trace
def get_properties(self, **kwargs):
# type: (Dict[str, Any]) -> RepositoryProperties
"""Get the properties of a repository
:returns: :class:`~azure.containerregistry.RepositoryProperties`
:raises: :class:`~azure.core.exceptions.ResourceNotFoundError`
"""
return RepositoryProperties._from_generated( # pylint: disable=protected-access
self._client.container_registry_repository.get_properties(self.repository, **kwargs)
)
@distributed_trace
def get_registry_artifact_properties(self, tag_or_digest, **kwargs):
# type: (str, Dict[str, Any]) -> RegistryArtifactProperties
"""Get the properties of a registry artifact
:param tag_or_digest: The tag/digest of a registry artifact
:type tag_or_digest: str
:returns: :class:`~azure.containerregistry.RegistryArtifactProperties`
:raises: :class:`~azure.core.exceptions.ResourceNotFoundError`
"""
if _is_tag(tag_or_digest):
tag_or_digest = self._get_digest_from_tag(tag_or_digest)
return RegistryArtifactProperties._from_generated( # pylint: disable=protected-access
self._client.container_registry_repository.get_registry_artifact_properties(
self.repository, tag_or_digest, **kwargs
)
)
@distributed_trace
def get_tag_properties(self, tag, **kwargs):
# type: (str, Dict[str, Any]) -> TagProperties
"""Get the properties for a tag
:param tag: The tag to get properties for
:type tag: str
:returns: :class:`~azure.containerregistry.TagProperties`
:raises: :class:`~azure.core.exceptions.ResourceNotFoundError`
"""
return TagProperties._from_generated( # pylint: disable=protected-access
self._client.container_registry_repository.get_tag_properties(self.repository, tag, **kwargs)
)
@distributed_trace
def list_registry_artifacts(self, **kwargs):
# type: (Dict[str, Any]) -> ItemPaged[RegistryArtifactProperties]
"""List the artifacts for a repository
:keyword last: Query parameter for the last item in the previous call. Ensuing
call will return values after last lexically
:paramtype last: str
:keyword order_by: Query parameter for ordering by time ascending or descending
:paramtype order_by: :class:`~azure.containerregistry.RegistryArtifactOrderBy`
:keyword results_per_page: Number of repositories to return per page
:paramtype results_per_page: int
:return: ItemPaged[:class:`RegistryArtifactProperties`]
:rtype: :class:`~azure.core.paging.ItemPaged`
:raises: :class:`~azure.core.exceptions.ResourceNotFoundError`
"""
name = self.repository
last = kwargs.pop("last", None)
n = kwargs.pop("results_per_page", None)
orderby = kwargs.pop("order_by", None)
cls = kwargs.pop(
"cls",
lambda objs: [
RegistryArtifactProperties._from_generated(x) for x in objs # pylint: disable=protected-access
],
)
error_map = {401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError}
error_map.update(kwargs.pop("error_map", {}))
accept = "application/json"
def prepare_request(next_link=None):
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters["Accept"] = self._client._serialize.header( # pylint: disable=protected-access
"accept", accept, "str"
)
if not next_link:
# Construct URL
url = "/acr/v1/{name}/_manifests"
path_format_arguments = {
"url": self._client._serialize.url( # pylint: disable=protected-access
"self._client._config.url",
self._client._config.url, # pylint: disable=protected-access
"str",
skip_quote=True,
),
"name": self._client._serialize.url("name", name, "str"), # pylint: disable=protected-access
}
url = self._client._client.format_url(url, **path_format_arguments) # pylint: disable=protected-access
# Construct parameters
query_parameters = {} # type: Dict[str, Any]
if last is not None:
query_parameters["last"] = self._client._serialize.query( # pylint: disable=protected-access
"last", last, "str"
)
if n is not None:
query_parameters["n"] = self._client._serialize.query( # pylint: disable=protected-access
"n", n, "int"
)
if orderby is not None:
query_parameters["orderby"] = self._client._serialize.query( # pylint: disable=protected-access
"orderby", orderby, "str"
)
request = self._client._client.get( # pylint: disable=protected-access
url, query_parameters, header_parameters
)
else:
url = next_link
query_parameters = {} # type: Dict[str, Any]
path_format_arguments = {
"url": self._client._serialize.url( # pylint: disable=protected-access
"self._client._config.url",
self._client._config.url, # pylint: disable=protected-access
"str",
skip_quote=True,
),
"name": self._client._serialize.url("name", name, "str"), # pylint: disable=protected-access
}
url = self._client._client.format_url(url, **path_format_arguments) # pylint: disable=protected-access
request = self._client._client.get( # pylint: disable=protected-access
url, query_parameters, header_parameters
)
return request
def extract_data(pipeline_response):
deserialized = self._client._deserialize( # pylint: disable=protected-access
"AcrManifests", pipeline_response
)
list_of_elem = deserialized.manifests
if cls:
list_of_elem = cls(list_of_elem)
link = None
if "Link" in pipeline_response.http_response.headers.keys():
link = _parse_next_link(pipeline_response.http_response.headers["Link"])
return link, iter(list_of_elem)
def get_next(next_link=None):
request = prepare_request(next_link)
pipeline_response = self._client._client._pipeline.run( # pylint: disable=protected-access
request, stream=False, **kwargs
)
response = pipeline_response.http_response
if response.status_code not in [200]:
error = self._client._deserialize.failsafe_deserialize( # pylint: disable=protected-access
AcrErrors, response
)
map_error(status_code=response.status_code, response=response, error_map=error_map)
raise HttpResponseError(response=response, model=error)
return pipeline_response
return ItemPaged(get_next, extract_data)
@distributed_trace
def list_tags(self, **kwargs):
# type: (Dict[str, Any]) -> ItemPaged[TagProperties]
"""List the tags for a repository
:keyword last: Query parameter for the last item in the previous call. Ensuing
call will return values after last lexically
:paramtype last: str
:keyword order_by: Query parameter for ordering by time ascending or descending
:paramtype order_by: :class:`~azure.containerregistry.TagOrderBy`
:keyword results_per_page: Number of repositories to return per page
:paramtype results_per_page: int
:return: ItemPaged[:class:`~azure.containerregistry.TagProperties`]
:rtype: :class:`~azure.core.paging.ItemPaged`
:raises: :class:`~azure.core.exceptions.ResourceNotFoundError`
"""
name = self.repository
last = kwargs.pop("last", None)
n = kwargs.pop("results_per_page", None)
orderby = kwargs.pop("order_by", None)
digest = kwargs.pop("digest", None)
cls = kwargs.pop(
"cls", lambda objs: [TagProperties._from_generated(o) for o in objs] # pylint: disable=protected-access
)
error_map = {401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError}
error_map.update(kwargs.pop("error_map", {}))
accept = "application/json"
def prepare_request(next_link=None):
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters["Accept"] = self._client._serialize.header( # pylint: disable=protected-access
"accept", accept, "str"
)
if not next_link:
# Construct URL
url = "/acr/v1/{name}/_tags"
path_format_arguments = {
"url": self._client._serialize.url( # pylint: disable=protected-access
"self._config.url",
self._client._config.url, # pylint: disable=protected-access
"str",
skip_quote=True,
),
"name": self._client._serialize.url("name", name, "str"), # pylint: disable=protected-access
}
url = self._client._client.format_url(url, **path_format_arguments) # pylint: disable=protected-access
# Construct parameters
query_parameters = {} # type: Dict[str, Any]
if last is not None:
query_parameters["last"] = self._client._serialize.query( # pylint: disable=protected-access
"last", last, "str"
)
if n is not None:
query_parameters["n"] = self._client._serialize.query( # pylint: disable=protected-access
"n", n, "int"
)
if orderby is not None:
query_parameters["orderby"] = self._client._serialize.query( # pylint: disable=protected-access
"orderby", orderby, "str"
)
if digest is not None:
query_parameters["digest"] = self._client._serialize.query( # pylint: disable=protected-access
"digest", digest, "str"
)
request = self._client._client.get( # pylint: disable=protected-access
url, query_parameters, header_parameters
)
else:
url = next_link
query_parameters = {} # type: Dict[str, Any]
path_format_arguments = {
"url": self._client._serialize.url( # pylint: disable=protected-access
"self._client._config.url",
self._client._config.url, # pylint: disable=protected-access
"str",
skip_quote=True,
),
"name": self._client._serialize.url("name", name, "str"), # pylint: disable=protected-access
}
url = self._client._client.format_url(url, **path_format_arguments) # pylint: disable=protected-access
request = self._client._client.get( # pylint: disable=protected-access
url, query_parameters, header_parameters
)
return request
def extract_data(pipeline_response):
deserialized = self._client._deserialize("TagList", pipeline_response) # pylint: disable=protected-access
list_of_elem = deserialized.tag_attribute_bases
if cls:
list_of_elem = cls(list_of_elem)
link = None
if "Link" in pipeline_response.http_response.headers.keys():
link = _parse_next_link(pipeline_response.http_response.headers["Link"])
return link, iter(list_of_elem)
def get_next(next_link=None):
request = prepare_request(next_link)
pipeline_response = self._client._client._pipeline.run( # pylint: disable=protected-access
request, stream=False, **kwargs
)
response = pipeline_response.http_response
if response.status_code not in [200]:
error = self._client._deserialize.failsafe_deserialize( # pylint: disable=protected-access
AcrErrors, response
)
map_error(status_code=response.status_code, response=response, error_map=error_map)
raise HttpResponseError(response=response, model=error)
return pipeline_response
return ItemPaged(get_next, extract_data)
@distributed_trace
def set_manifest_properties(self, digest, permissions, **kwargs):
# type: (str, ContentPermissions, Dict[str, Any]) -> RegistryArtifactProperties
"""Set the properties for a manifest
:param digest: Digest of a manifest
:type digest: str
:param permissions: The property's values to be set
:type permissions: ContentPermissions
:returns: :class:`~azure.containerregistry.RegistryArtifactProperties`
:raises: :class:`~azure.core.exceptions.ResourceNotFoundError`
"""
return RegistryArtifactProperties._from_generated( # pylint: disable=protected-access
self._client.container_registry_repository.update_manifest_attributes(
self.repository, digest, value=permissions._to_generated(), **kwargs # pylint: disable=protected-access
)
)
@distributed_trace
def set_tag_properties(self, tag, permissions, **kwargs):
# type: (str, ContentPermissions, Dict[str, Any]) -> TagProperties
"""Set the properties for a tag
:param tag: Tag to set properties for
:type tag: str
:param permissions: The property's values to be set
:type permissions: ContentPermissions
:returns: :class:`~azure.containerregistry.TagProperties`
:raises: :class:`~azure.core.exceptions.ResourceNotFoundError`
"""
return TagProperties._from_generated( # pylint: disable=protected-access
self._client.container_registry_repository.update_tag_attributes(
self.repository, tag, value=permissions._to_generated(), **kwargs # pylint: disable=protected-access
)
)
| [
"noreply@github.com"
] | heaths.noreply@github.com |
0405d240f84c528173e565e91cefbc577b86971f | f166c56b51fbf494df0eb46c23a3f5be0f94c555 | /libpyclingo/clingo/theory_atoms.py | 7d4f0bc4fcb30319b3470a312c620d24e2e9dbf8 | [
"MIT"
] | permissive | vishalbelsare/clingo | 86d91a16e41e580612067ef2f7b0f28f94a90c30 | e0c91d8f95cc28de1c480a871f9c97c30de83d40 | refs/heads/master | 2023-08-25T06:35:25.661440 | 2022-01-29T10:38:08 | 2022-01-29T10:38:08 | 165,138,167 | 0 | 0 | MIT | 2022-03-14T01:13:23 | 2019-01-10T22:09:12 | C++ | UTF-8 | Python | false | false | 7,053 | py | '''
Functions and classes to work with theory atoms.
Examples
--------
>>> from clingo.control import Control
>>>
>>> ctl = Control()
>>> ctl.add('base', [], """\\
... #theory example {
... t { };
... &a/0 : t, head
... }.
... {c}.
... &a { t: c }.
... """)
>>> ctl.ground([('base', [])])
>>> atm = next(ctl.theory_atoms)
>>> print(atm)
&a{t: c}
>>> elm = atm.elements[0]
>>> print(elm)
t: c
'''
from typing import List, Optional, Tuple
from enum import Enum
from functools import total_ordering
from ._internal import _c_call, _c_call2, _lib, _str, _to_str
__all__ = [ 'TheoryAtom', 'TheoryElement', 'TheoryTerm', 'TheoryTermType' ]
class TheoryTermType(Enum):
'''
Enumeration of theory term types.
'''
Function = _lib.clingo_theory_term_type_function
'''
For a function theory terms.
'''
List = _lib.clingo_theory_term_type_list
'''
For list theory terms.
'''
Number = _lib.clingo_theory_term_type_number
'''
For numeric theory terms.
'''
Set = _lib.clingo_theory_term_type_set
'''
For set theory terms.
'''
Symbol = _lib.clingo_theory_term_type_symbol
'''
For symbolic theory terms (symbol here means the term is a string).
'''
Tuple = _lib.clingo_theory_term_type_tuple
'''
For tuple theory terms.
'''
@total_ordering
class TheoryTerm:
'''
`TheoryTerm` objects represent theory terms.
Theory terms have a readable string representation, implement Python's rich
comparison operators, and can be used as dictionary keys.
'''
def __init__(self, rep, idx):
self._rep = rep
self._idx = idx
def __hash__(self):
return self._idx
def __eq__(self, other):
return self._idx == other._idx
def __lt__(self, other):
return self._idx < other._idx
def __str__(self):
return _str(_lib.clingo_theory_atoms_term_to_string_size,
_lib.clingo_theory_atoms_term_to_string,
self._rep, self._idx)
def __repr__(self):
return f'TheoryTerm({self._rep!r})'
@property
def arguments(self) -> List['TheoryTerm']:
'''
The arguments of the term (for functions, tuples, list, and sets).
'''
args, size = _c_call2('clingo_id_t*', 'size_t', _lib.clingo_theory_atoms_term_arguments, self._rep, self._idx)
return [TheoryTerm(self._rep, args[i]) for i in range(size)]
@property
def name(self) -> str:
'''
The name of the term (for symbols and functions).
'''
return _to_str(_c_call('char*', _lib.clingo_theory_atoms_term_name, self._rep, self._idx))
@property
def number(self) -> int:
'''
The numeric representation of the term (for numbers).
'''
return _c_call('int', _lib.clingo_theory_atoms_term_number, self._rep, self._idx)
@property
def type(self) -> TheoryTermType:
'''
The type of the theory term.
'''
type_ = _c_call('clingo_theory_term_type_t', _lib.clingo_theory_atoms_term_type, self._rep, self._idx)
return TheoryTermType(type_)
@total_ordering
class TheoryElement:
'''
Class to represent theory elements.
Theory elements have a readable string representation, implement Python's rich
comparison operators, and can be used as dictionary keys.
'''
def __init__(self, rep, idx):
self._rep = rep
self._idx = idx
def __hash__(self):
return self._idx
def __eq__(self, other):
return self._idx == other._idx
def __lt__(self, other):
return self._idx < other._idx
def __str__(self):
return _str(_lib.clingo_theory_atoms_element_to_string_size,
_lib.clingo_theory_atoms_element_to_string,
self._rep, self._idx)
def __repr__(self):
return f'TheoryElement({self._rep!r})'
@property
def condition(self) -> List[int]:
'''
The condition of the element in form of a list of program literals.
'''
cond, size = _c_call2('clingo_literal_t*', 'size_t', _lib.clingo_theory_atoms_element_condition,
self._rep, self._idx)
return [cond[i] for i in range(size)]
@property
def condition_id(self) -> int:
'''
Each condition has an id, which is a temporary program literal. This id
can be passed to `clingo.propagator.PropagateInit.solver_literal` to
obtain a corresponding solver literal.
'''
return _c_call('clingo_literal_t', _lib.clingo_theory_atoms_element_condition_id, self._rep, self._idx)
@property
def terms(self) -> List[TheoryTerm]:
'''
The tuple of the element.
'''
terms, size = _c_call2('clingo_id_t*', 'size_t', _lib.clingo_theory_atoms_element_tuple, self._rep, self._idx)
return [TheoryTerm(self._rep, terms[i]) for i in range(size)]
@total_ordering
class TheoryAtom:
'''
Class to represent theory atoms.
Theory atoms have a readable string representation, implement Python's rich
comparison operators, and can be used as dictionary keys.
'''
def __init__(self, rep, idx):
self._rep = rep
self._idx = idx
def __hash__(self):
return self._idx
def __eq__(self, other):
return self._idx == other._idx
def __lt__(self, other):
return self._idx < other._idx
def __str__(self):
return _str(_lib.clingo_theory_atoms_atom_to_string_size,
_lib.clingo_theory_atoms_atom_to_string,
self._rep, self._idx)
def __repr__(self):
return f'TheoryAtom({self._rep!r})'
@property
def elements(self) -> List[TheoryElement]:
'''
The elements of the atom.
'''
elems, size = _c_call2('clingo_id_t*', 'size_t', _lib.clingo_theory_atoms_atom_elements, self._rep, self._idx)
return [TheoryElement(self._rep, elems[i]) for i in range(size)]
@property
def guard(self) -> Optional[Tuple[str, TheoryTerm]]:
'''
The guard of the atom or None if the atom has no guard.
'''
if not _c_call('bool', _lib.clingo_theory_atoms_atom_has_guard, self._rep, self._idx):
return None
conn, term = _c_call2('char*', 'clingo_id_t', _lib.clingo_theory_atoms_atom_guard, self._rep, self._idx)
return (_to_str(conn), TheoryTerm(self._rep, term))
@property
def literal(self) -> int:
'''
The program literal associated with the atom.
'''
return _c_call('clingo_literal_t', _lib.clingo_theory_atoms_atom_literal, self._rep, self._idx)
@property
def term(self) -> TheoryTerm:
'''
The term of the atom.
'''
term = _c_call('clingo_id_t', _lib.clingo_theory_atoms_atom_term, self._rep, self._idx)
return TheoryTerm(self._rep, term)
| [
"noreply@github.com"
] | vishalbelsare.noreply@github.com |
a22bdda7a5301f2d8302d95c2778cd23dd7c3afe | ff9dcc6a63480378f43a5ce2121865373bc88f23 | /2017/Comptes-Rendus/TP1/SAVADOGO_DIACK/TP1 SAVADOGO- DIACK/tp1.py | dce307ef619e1d3cff6b1a25ca540924db2823ed | [] | no_license | jpcp13/L2 | d1cd5bb6cc5679f4971ca51ef3e8df797aa4ca1a | e5b2aaac3b4772222a1f3fd5c01582d4079ec6cc | refs/heads/master | 2018-12-08T01:18:31.656209 | 2018-10-25T05:01:26 | 2018-10-25T05:01:26 | 105,018,512 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 2,621 | py | def f(x):
return x**2 - x - 1
def df(x):
return 2*x - 1
def g(x):
return 1 + 1/x
def point_fixe(g, x0 ,epsi):
x = x0
nbiter = 0
delta = 2*epsi
while delta > epsi :
nbiter += 1
x1=g(x)
delta = abs(x1-x)
x=x1
print (x)
return x, nbiter
def newton(f, df, x0 ,epsi):
nbiter = 0
x = x0
delta = 2*epsi
while delta > epsi :
nbiter += 1
x1 = x - f(x) / df(x)# c'est cici qu'on remplace g par x - f(x)/df(x)
delta = abs(x1-x)
x = x1
print (x)
return x, nbiter
###### Programme
#1-b) Graphique de f(x)
x, dx = -1.0, 0.1
X, Y, Points = [], [], []
while x <= 2:
y = f(x)
point = (x, y)
X.append(x)
Y.append(y)
Points.append(point)
x += dx
import matplotlib.pyplot as plt
plt.plot(X, Y, 'y') ## Nous sauvegardons la figure
plt.grid()
plt.show()
#plt.savefig('figure_1.png')
# Les 25 premiers termes de la suite
import numpy as np
t = np.arange(1.5, 2.0, 0.01)
plt.plot(t, g(t), 'r-', t, t, 'b')
plt.grid('on')
plt.axis('equal')
plt.show()
print("Les 25 premiers termes de la suite")
res=1.0
stock=[]
i=0
print(res)
for i in range (25):
stock.append(res)
res=(1+1/res)
print(res)
print("\n")
#Methode du point fixe
print("1er test point fixe:")
#test1 point fixe
x0 = 1.0
epsi = 1e-15
r, nbiter = point_fixe(g,x0,epsi)
print ('r = {0} et nbiter = {1}'.format(r, nbiter))
print ('g(r)={0}'.format(g(r)))
print("\n")
print("2eme test point fixe:")
#test2 point fixe
x0 = -0.6
epsi = 1e-15
r2, nbiter = point_fixe(g, x0, epsi)
print ('r2 = {0} et nbiter = {1}'.format(r2, nbiter))
print("\n")
#Methode de Newton
#test1 methode de newton
print('test1 methode de newton:')
x0 = 1.0
epsi = 1e-12
t, nbiter = newton(f, df, x0, epsi)
print ('t = {0} et nbiter = {1}'.format(t, nbiter))
print ('g(t)={0}'.format(g(t)))
print("\n")
#test2 methode de newton
print('test2 methode de newton:')
x0 = -1.0
epsi = 1e-12
t2, nbiter = newton(f, df, x0, epsi)
print ('t2 = {0} et nbiter = {1}'.format(t2, nbiter))
print ('g(t2)={0}'.format(g(t2)))
#Methode de la dichotomie
def dichotomie(f, a, b, epsi):
nbiter = 0
while b-a > epsi:
nbiter += 1
m = (a+b)/2
if f(a)*f(m)> 0:
a=m
else:
b=m
return m, nbiter
print("\n")
#test1 methode dichotomie
print("dichotomie test 1:")
a = 1.5
b = 2.0
epsi = 1e-12
t, nbiter = dichotomie(f, a, b, epsi)
print ('t1 = {0} et nbiter = {1}'.format(t, nbiter))
print("\n")
#test2 methode dichotomie
print("dichotomie test 2:")
a = -1.0
b = 0.0
epsi = 1e-12
t, nbiter = dichotomie(f, a, b, epsi)
print ('t2 = {0} nbiter = {1}'.format(t, nbiter))
## SAVADOGO Hamed
## DIACK Aliou
| [
"jpcp13@gmail.com"
] | jpcp13@gmail.com |
1ed8d4703442d5c5bc5030797efcd92cf55f2648 | e7f4c2cfa0ebcb3c3fac2e269739bbf703ea9a06 | /tests/unit-tests/test_confluence_metadata.py | 6f1a5f27bb353c5d842dff7d9035d237fd53d196 | [
"BSD-2-Clause"
] | permissive | Embodimentgeniuslm3/confluencebuilder | e81441375e1b1d519dfdb38b7cc23c456124791e | a9390240dca1cb7e3ff011a3417fd170477703b1 | refs/heads/master | 2023-08-25T06:39:29.703644 | 2021-10-24T02:50:35 | 2021-10-24T02:50:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,723 | py | # -*- coding: utf-8 -*-
"""
:copyright: Copyright 2020-2021 Sphinx Confluence Builder Contributors (AUTHORS)
:license: BSD-2-Clause (LICENSE)
"""
from tests.lib import prepare_conf
from tests.lib import prepare_sphinx
from tests.lib import prepare_sphinx_filenames
import os
import unittest
class TestConfluenceMetadata(unittest.TestCase):
@classmethod
def setUpClass(self):
self.config = prepare_conf()
test_dir = os.path.dirname(os.path.realpath(__file__))
self.dataset = os.path.join(test_dir, 'datasets', 'common')
self.filenames = prepare_sphinx_filenames(self.dataset,
[
'metadata',
],
configs=[self.config])
def test_confluence_metadata_directive_expected(self):
with prepare_sphinx(self.dataset, config=self.config) as app:
app.build(filenames=self.filenames)
builder_metadata = app.builder.metadata
self.assertTrue(builder_metadata)
self.assertTrue('metadata' in builder_metadata)
doc_labels = builder_metadata['metadata']
self.assertTrue(doc_labels)
self.assertTrue('labels' in doc_labels)
labels = doc_labels['labels']
self.assertEqual(len(labels), 2)
self.assertTrue('tag-a' in labels)
self.assertTrue('tag-c' in labels)
def test_confluence_metadata_directive_ignore(self):
opts = {
'builder': 'html',
'config': self.config,
'relax': True,
}
with prepare_sphinx(self.dataset, **opts) as app:
# build attempt should not throw an exception/error
app.build(filenames=self.filenames)
| [
"james.d.knight@live.com"
] | james.d.knight@live.com |
a4900cf97e06644f9b1079c0d8d34267b54ad5ef | e57d7785276053332c633b57f6925c90ad660580 | /sdk/cognitivelanguage/azure-ai-language-questionanswering/azure/ai/language/questionanswering/aio/_configuration.py | b682db120b9a301c2c0411fb1a0542fd5f1ff1a8 | [
"MIT",
"LicenseRef-scancode-generic-cla",
"LGPL-2.1-or-later"
] | permissive | adriananeci/azure-sdk-for-python | 0d560308497616a563b6afecbb494a88535da4c5 | b2bdfe659210998d6d479e73b133b6c51eb2c009 | refs/heads/main | 2023-08-18T11:12:21.271042 | 2021-09-10T18:48:44 | 2021-09-10T18:48:44 | 405,684,423 | 1 | 0 | MIT | 2021-09-12T15:51:51 | 2021-09-12T15:51:50 | null | UTF-8 | Python | false | false | 2,960 | py | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
from typing import Any
from azure.core.configuration import Configuration
from azure.core.credentials import AzureKeyCredential
from azure.core.pipeline import policies
from .._version import VERSION
class QuestionAnsweringClientConfiguration(Configuration):
"""Configuration for QuestionAnsweringClient.
Note that all parameters used to create this instance are saved as instance
attributes.
:param credential: Credential needed for the client to connect to Azure.
:type credential: ~azure.core.credentials.AzureKeyCredential
:param endpoint: Supported Cognitive Services endpoint (e.g., https://:code:`<resource-name>`.api.cognitiveservices.azure.com).
:type endpoint: str
"""
def __init__(self, credential: AzureKeyCredential, endpoint: str, **kwargs: Any) -> None:
if credential is None:
raise ValueError("Parameter 'credential' must not be None.")
if endpoint is None:
raise ValueError("Parameter 'endpoint' must not be None.")
super(QuestionAnsweringClientConfiguration, self).__init__(**kwargs)
self.credential = credential
self.endpoint = endpoint
self.api_version = "2021-05-01-preview"
kwargs.setdefault("sdk_moniker", "ai-language-questionanswering/{}".format(VERSION))
self._configure(**kwargs)
def _configure(self, **kwargs: Any) -> None:
self.user_agent_policy = kwargs.get("user_agent_policy") or policies.UserAgentPolicy(**kwargs)
self.headers_policy = kwargs.get("headers_policy") or policies.HeadersPolicy(**kwargs)
self.proxy_policy = kwargs.get("proxy_policy") or policies.ProxyPolicy(**kwargs)
self.logging_policy = kwargs.get("logging_policy") or policies.NetworkTraceLoggingPolicy(**kwargs)
self.http_logging_policy = kwargs.get("http_logging_policy") or policies.HttpLoggingPolicy(**kwargs)
self.retry_policy = kwargs.get("retry_policy") or policies.AsyncRetryPolicy(**kwargs)
self.custom_hook_policy = kwargs.get("custom_hook_policy") or policies.CustomHookPolicy(**kwargs)
self.redirect_policy = kwargs.get("redirect_policy") or policies.AsyncRedirectPolicy(**kwargs)
self.authentication_policy = kwargs.get("authentication_policy")
if self.credential and not self.authentication_policy:
self.authentication_policy = policies.AzureKeyCredentialPolicy(
self.credential, "Ocp-Apim-Subscription-Key", **kwargs
)
| [
"noreply@github.com"
] | adriananeci.noreply@github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.