hexsha
string | size
int64 | ext
string | lang
string | max_stars_repo_path
string | max_stars_repo_name
string | max_stars_repo_head_hexsha
string | max_stars_repo_licenses
list | max_stars_count
int64 | max_stars_repo_stars_event_min_datetime
string | max_stars_repo_stars_event_max_datetime
string | max_issues_repo_path
string | max_issues_repo_name
string | max_issues_repo_head_hexsha
string | max_issues_repo_licenses
list | max_issues_count
int64 | max_issues_repo_issues_event_min_datetime
string | max_issues_repo_issues_event_max_datetime
string | max_forks_repo_path
string | max_forks_repo_name
string | max_forks_repo_head_hexsha
string | max_forks_repo_licenses
list | max_forks_count
int64 | max_forks_repo_forks_event_min_datetime
string | max_forks_repo_forks_event_max_datetime
string | content
string | avg_line_length
float64 | max_line_length
int64 | alphanum_fraction
float64 | qsc_code_num_words_quality_signal
int64 | qsc_code_num_chars_quality_signal
float64 | qsc_code_mean_word_length_quality_signal
float64 | qsc_code_frac_words_unique_quality_signal
float64 | qsc_code_frac_chars_top_2grams_quality_signal
float64 | qsc_code_frac_chars_top_3grams_quality_signal
float64 | qsc_code_frac_chars_top_4grams_quality_signal
float64 | qsc_code_frac_chars_dupe_5grams_quality_signal
float64 | qsc_code_frac_chars_dupe_6grams_quality_signal
float64 | qsc_code_frac_chars_dupe_7grams_quality_signal
float64 | qsc_code_frac_chars_dupe_8grams_quality_signal
float64 | qsc_code_frac_chars_dupe_9grams_quality_signal
float64 | qsc_code_frac_chars_dupe_10grams_quality_signal
float64 | qsc_code_frac_chars_replacement_symbols_quality_signal
float64 | qsc_code_frac_chars_digital_quality_signal
float64 | qsc_code_frac_chars_whitespace_quality_signal
float64 | qsc_code_size_file_byte_quality_signal
float64 | qsc_code_num_lines_quality_signal
float64 | qsc_code_num_chars_line_max_quality_signal
float64 | qsc_code_num_chars_line_mean_quality_signal
float64 | qsc_code_frac_chars_alphabet_quality_signal
float64 | qsc_code_frac_chars_comments_quality_signal
float64 | qsc_code_cate_xml_start_quality_signal
float64 | qsc_code_frac_lines_dupe_lines_quality_signal
float64 | qsc_code_cate_autogen_quality_signal
float64 | qsc_code_frac_lines_long_string_quality_signal
float64 | qsc_code_frac_chars_string_length_quality_signal
float64 | qsc_code_frac_chars_long_word_length_quality_signal
float64 | qsc_code_frac_lines_string_concat_quality_signal
float64 | qsc_code_cate_encoded_data_quality_signal
float64 | qsc_code_frac_chars_hex_words_quality_signal
float64 | qsc_code_frac_lines_prompt_comments_quality_signal
float64 | qsc_code_frac_lines_assert_quality_signal
float64 | qsc_codepython_cate_ast_quality_signal
float64 | qsc_codepython_frac_lines_func_ratio_quality_signal
float64 | qsc_codepython_cate_var_zero_quality_signal
bool | qsc_codepython_frac_lines_pass_quality_signal
float64 | qsc_codepython_frac_lines_import_quality_signal
float64 | qsc_codepython_frac_lines_simplefunc_quality_signal
float64 | qsc_codepython_score_lines_no_logic_quality_signal
float64 | qsc_codepython_frac_lines_print_quality_signal
float64 | qsc_code_num_words
int64 | qsc_code_num_chars
int64 | qsc_code_mean_word_length
int64 | qsc_code_frac_words_unique
null | qsc_code_frac_chars_top_2grams
int64 | qsc_code_frac_chars_top_3grams
int64 | qsc_code_frac_chars_top_4grams
int64 | qsc_code_frac_chars_dupe_5grams
int64 | qsc_code_frac_chars_dupe_6grams
int64 | qsc_code_frac_chars_dupe_7grams
int64 | qsc_code_frac_chars_dupe_8grams
int64 | qsc_code_frac_chars_dupe_9grams
int64 | qsc_code_frac_chars_dupe_10grams
int64 | qsc_code_frac_chars_replacement_symbols
int64 | qsc_code_frac_chars_digital
int64 | qsc_code_frac_chars_whitespace
int64 | qsc_code_size_file_byte
int64 | qsc_code_num_lines
int64 | qsc_code_num_chars_line_max
int64 | qsc_code_num_chars_line_mean
int64 | qsc_code_frac_chars_alphabet
int64 | qsc_code_frac_chars_comments
int64 | qsc_code_cate_xml_start
int64 | qsc_code_frac_lines_dupe_lines
int64 | qsc_code_cate_autogen
int64 | qsc_code_frac_lines_long_string
int64 | qsc_code_frac_chars_string_length
int64 | qsc_code_frac_chars_long_word_length
int64 | qsc_code_frac_lines_string_concat
null | qsc_code_cate_encoded_data
int64 | qsc_code_frac_chars_hex_words
int64 | qsc_code_frac_lines_prompt_comments
int64 | qsc_code_frac_lines_assert
int64 | qsc_codepython_cate_ast
int64 | qsc_codepython_frac_lines_func_ratio
int64 | qsc_codepython_cate_var_zero
int64 | qsc_codepython_frac_lines_pass
int64 | qsc_codepython_frac_lines_import
int64 | qsc_codepython_frac_lines_simplefunc
int64 | qsc_codepython_score_lines_no_logic
int64 | qsc_codepython_frac_lines_print
int64 | effective
string | hits
int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0af3bf04a6506d60c4e6ab9b0f82196c3ca9b799
| 4,597
|
py
|
Python
|
test/retry_unchecked_test.py
|
velniukas/jenkinsflow
|
ca09c4044fc9da683b2233404e071fad506167b8
|
[
"BSD-3-Clause"
] | 12
|
2015-03-05T14:57:58.000Z
|
2021-03-30T09:22:04.000Z
|
test/retry_unchecked_test.py
|
lhupfeldt/jenkinsflow
|
0eda66ea4ac4ef9cd2e07149cc9a33f93a6c40b0
|
[
"BSD-3-Clause"
] | 3
|
2015-02-23T04:32:11.000Z
|
2016-03-06T11:51:04.000Z
|
test/retry_unchecked_test.py
|
velniukas/jenkinsflow
|
ca09c4044fc9da683b2233404e071fad506167b8
|
[
"BSD-3-Clause"
] | 4
|
2015-05-28T06:08:04.000Z
|
2019-08-26T09:35:24.000Z
|
# Copyright (c) 2012 - 2015 Lars Hupfeldt Nielsen, Hupfeldt IT
# All rights reserved. This work is under a BSD license, see LICENSE.TXT.
from jenkinsflow.flow import serial, parallel
from .framework import api_select
def test_retry_unchecked_alone_serial_toplevel(api_type):
with api_select.api(__file__, api_type, login=True) as api:
api.flow_job()
api.job('j11_unchecked', max_fails=1, expect_invocations=1, expect_order=1, exec_time=20, invocation_delay=0, unknown_result=True)
with serial(api, timeout=70, job_name_prefix=api.job_name_prefix, max_tries=2) as ctrl1:
ctrl1.invoke_unchecked('j11_unchecked')
def test_retry_unchecked_long_running_serial_toplevel(api_type):
with api_select.api(__file__, api_type, login=True) as api:
api.flow_job()
api.job('j11_unchecked', max_fails=1, expect_invocations=1, expect_order=1, exec_time=20, unknown_result=True)
api.job('j12_fail', max_fails=1, expect_invocations=2, expect_order=2)
api.job('j13', max_fails=0, expect_invocations=1, expect_order=3, serial=True)
with serial(api, timeout=70, job_name_prefix=api.job_name_prefix, max_tries=2) as ctrl1:
ctrl1.invoke_unchecked('j11_unchecked')
ctrl1.invoke('j12_fail')
ctrl1.invoke('j13')
def test_retry_unchecked_long_running_parallel_toplevel(api_type):
with api_select.api(__file__, api_type, login=True) as api:
api.flow_job()
api.job('j11_unchecked', max_fails=1, expect_invocations=1, expect_order=1, exec_time=20, unknown_result=True)
api.job('j12_fail', max_fails=1, expect_invocations=2, expect_order=1)
api.job('j13', max_fails=0, expect_invocations=1, expect_order=1)
with parallel(api, timeout=70, job_name_prefix=api.job_name_prefix, max_tries=2) as ctrl1:
ctrl1.invoke_unchecked('j11_unchecked')
ctrl1.invoke('j12_fail')
ctrl1.invoke('j13')
def test_retry_unchecked_quick_serial_toplevel(api_type):
with api_select.api(__file__, api_type, login=True) as api:
api.flow_job()
api.job('j11_unchecked', max_fails=1, expect_invocations=2, expect_order=1)
api.job('j12_fail', max_fails=1, expect_invocations=2, expect_order=2, exec_time=1)
api.job('j13', max_fails=0, expect_invocations=1, expect_order=3, serial=True)
with serial(api, timeout=70, job_name_prefix=api.job_name_prefix, max_tries=2) as ctrl1:
ctrl1.invoke_unchecked('j11_unchecked')
ctrl1.invoke('j12_fail')
ctrl1.invoke('j13')
def test_retry_unchecked_quick_parallel_toplevel(api_type):
with api_select.api(__file__, api_type, login=True) as api:
api.flow_job()
api.job('j11_unchecked', max_fails=1, expect_invocations=2, expect_order=1)
api.job('j12_fail', max_fails=1, expect_invocations=2, expect_order=1, exec_time=1)
api.job('j13', max_fails=0, expect_invocations=1, expect_order=1)
with parallel(api, timeout=70, job_name_prefix=api.job_name_prefix, max_tries=2) as ctrl1:
ctrl1.invoke_unchecked('j11_unchecked')
ctrl1.invoke('j12_fail')
ctrl1.invoke('j13')
def test_retry_unchecked_quick_serial_outer_level(api_type):
with api_select.api(__file__, api_type, login=True) as api:
api.flow_job()
api.job('j11_unchecked', max_fails=2, expect_invocations=3, expect_order=1)
api.job('j12_fail', max_fails=2, expect_invocations=3, expect_order=2, exec_time=1)
api.job('j13', max_fails=0, expect_invocations=1, expect_order=3, serial=True)
with serial(api, timeout=70, job_name_prefix=api.job_name_prefix, max_tries=2) as ctrl1:
with ctrl1.serial(max_tries=2) as ctrl2:
ctrl2.invoke_unchecked('j11_unchecked')
ctrl2.invoke('j12_fail')
ctrl2.invoke('j13')
def test_retry_unchecked_quick_parallel_outer_level(api_type):
with api_select.api(__file__, api_type, login=True) as api:
api.flow_job()
api.job('j11_unchecked', max_fails=2, expect_invocations=3, expect_order=1)
api.job('j12_fail', max_fails=2, expect_invocations=3, expect_order=1, exec_time=1)
api.job('j13', max_fails=0, expect_invocations=1, expect_order=1)
with parallel(api, timeout=70, job_name_prefix=api.job_name_prefix, max_tries=2) as ctrl1:
with ctrl1.parallel(max_tries=2) as ctrl2:
ctrl2.invoke_unchecked('j11_unchecked')
ctrl2.invoke('j12_fail')
ctrl2.invoke('j13')
| 48.389474
| 138
| 0.702415
| 690
| 4,597
| 4.34058
| 0.108696
| 0.052087
| 0.060768
| 0.045075
| 0.9202
| 0.9202
| 0.905843
| 0.905843
| 0.894491
| 0.894491
| 0
| 0.05474
| 0.185338
| 4,597
| 94
| 139
| 48.904255
| 0.744993
| 0.028714
| 0
| 0.742857
| 0
| 0
| 0.070372
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.1
| false
| 0
| 0.028571
| 0
| 0.128571
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
7c4154a59dd95d5075df8a07c54c7e32b04606f4
| 1,222
|
py
|
Python
|
pynos/versions/ver_7/ver_7_1_0/yang/brocade_aaa_ext.py
|
bdeetz/pynos
|
bd8a34e98f322de3fc06750827d8bbc3a0c00380
|
[
"Apache-2.0"
] | 12
|
2015-09-21T23:56:09.000Z
|
2018-03-30T04:35:32.000Z
|
pynos/versions/ver_7/ver_7_1_0/yang/brocade_aaa_ext.py
|
bdeetz/pynos
|
bd8a34e98f322de3fc06750827d8bbc3a0c00380
|
[
"Apache-2.0"
] | 10
|
2016-09-15T19:03:27.000Z
|
2017-07-17T23:38:01.000Z
|
pynos/versions/ver_7/ver_7_1_0/yang/brocade_aaa_ext.py
|
bdeetz/pynos
|
bd8a34e98f322de3fc06750827d8bbc3a0c00380
|
[
"Apache-2.0"
] | 6
|
2015-08-14T08:05:23.000Z
|
2022-02-03T15:33:54.000Z
|
#!/usr/bin/env python
import xml.etree.ElementTree as ET
class brocade_aaa_ext(object):
"""Auto generated class.
"""
def __init__(self, **kwargs):
self._callback = kwargs.pop('callback')
def user_session_info_output_user_role(self, **kwargs):
"""Auto Generated Code
"""
config = ET.Element("config")
user_session_info = ET.Element("user_session_info")
config = user_session_info
output = ET.SubElement(user_session_info, "output")
user_role = ET.SubElement(output, "user-role")
user_role.text = kwargs.pop('user_role')
callback = kwargs.pop('callback', self._callback)
return callback(config)
def user_session_info_output_user_role(self, **kwargs):
"""Auto Generated Code
"""
config = ET.Element("config")
user_session_info = ET.Element("user_session_info")
config = user_session_info
output = ET.SubElement(user_session_info, "output")
user_role = ET.SubElement(output, "user-role")
user_role.text = kwargs.pop('user_role')
callback = kwargs.pop('callback', self._callback)
return callback(config)
| 33.027027
| 59
| 0.630933
| 143
| 1,222
| 5.104895
| 0.237762
| 0.150685
| 0.205479
| 0.172603
| 0.819178
| 0.819178
| 0.819178
| 0.819178
| 0.819178
| 0.819178
| 0
| 0
| 0.251228
| 1,222
| 37
| 60
| 33.027027
| 0.797814
| 0.085925
| 0
| 0.818182
| 1
| 0
| 0.107078
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.136364
| false
| 0
| 0.045455
| 0
| 0.318182
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 10
|
7c43bb067e7685328cd4da66e580b355f15841a7
| 298
|
py
|
Python
|
customize.py
|
nickoala/raspberry-pancake
|
6c167930c63a880c84ff21560d04157dd140acbf
|
[
"MIT"
] | 1
|
2021-02-21T21:23:21.000Z
|
2021-02-21T21:23:21.000Z
|
customize.py
|
nickoala/raspberry-pancake
|
6c167930c63a880c84ff21560d04157dd140acbf
|
[
"MIT"
] | null | null | null |
customize.py
|
nickoala/raspberry-pancake
|
6c167930c63a880c84ff21560d04157dd140acbf
|
[
"MIT"
] | null | null | null |
from datetime import datetime
def detect():
return (0 <= datetime.now().second <= 10)
# def detect():
# return (25 <= datetime.now().minute <= 35)
# def detect(bytes):
# return (0 <= datetime.now().second <= 10)
# def detect(bytes):
# return (33 <= datetime.now().minute <= 55)
| 21.285714
| 48
| 0.597315
| 38
| 298
| 4.684211
| 0.421053
| 0.202247
| 0.168539
| 0.202247
| 0.393258
| 0.393258
| 0.393258
| 0.393258
| 0
| 0
| 0
| 0.059322
| 0.208054
| 298
| 13
| 49
| 22.923077
| 0.694915
| 0.64094
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| true
| 0
| 0.333333
| 0.333333
| 1
| 0
| 0
| 0
| 0
| null | 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 1
| 1
| 1
| 0
|
0
| 7
|
7cb66fceb8bc86555dec847eb8076f05453e1d95
| 18,724
|
py
|
Python
|
sdk/python/pulumi_gcp/gameservices/game_server_deployment.py
|
sisisin/pulumi-gcp
|
af6681d70ea457843409110c1324817fe55f68ad
|
[
"ECL-2.0",
"Apache-2.0"
] | 121
|
2018-06-18T19:16:42.000Z
|
2022-03-31T06:06:48.000Z
|
sdk/python/pulumi_gcp/gameservices/game_server_deployment.py
|
sisisin/pulumi-gcp
|
af6681d70ea457843409110c1324817fe55f68ad
|
[
"ECL-2.0",
"Apache-2.0"
] | 492
|
2018-06-22T19:41:03.000Z
|
2022-03-31T15:33:53.000Z
|
sdk/python/pulumi_gcp/gameservices/game_server_deployment.py
|
sisisin/pulumi-gcp
|
af6681d70ea457843409110c1324817fe55f68ad
|
[
"ECL-2.0",
"Apache-2.0"
] | 43
|
2018-06-19T01:43:13.000Z
|
2022-03-23T22:43:37.000Z
|
# coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import _utilities
__all__ = ['GameServerDeploymentArgs', 'GameServerDeployment']
@pulumi.input_type
class GameServerDeploymentArgs:
def __init__(__self__, *,
deployment_id: pulumi.Input[str],
description: Optional[pulumi.Input[str]] = None,
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None):
"""
The set of arguments for constructing a GameServerDeployment resource.
:param pulumi.Input[str] deployment_id: A unique id for the deployment.
:param pulumi.Input[str] description: Human readable description of the game server deployment.
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: The labels associated with this game server deployment. Each label is a
key-value pair.
:param pulumi.Input[str] location: Location of the Deployment.
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
If it is not provided, the provider project is used.
"""
pulumi.set(__self__, "deployment_id", deployment_id)
if description is not None:
pulumi.set(__self__, "description", description)
if labels is not None:
pulumi.set(__self__, "labels", labels)
if location is not None:
pulumi.set(__self__, "location", location)
if project is not None:
pulumi.set(__self__, "project", project)
@property
@pulumi.getter(name="deploymentId")
def deployment_id(self) -> pulumi.Input[str]:
"""
A unique id for the deployment.
"""
return pulumi.get(self, "deployment_id")
@deployment_id.setter
def deployment_id(self, value: pulumi.Input[str]):
pulumi.set(self, "deployment_id", value)
@property
@pulumi.getter
def description(self) -> Optional[pulumi.Input[str]]:
"""
Human readable description of the game server deployment.
"""
return pulumi.get(self, "description")
@description.setter
def description(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "description", value)
@property
@pulumi.getter
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
"""
The labels associated with this game server deployment. Each label is a
key-value pair.
"""
return pulumi.get(self, "labels")
@labels.setter
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
pulumi.set(self, "labels", value)
@property
@pulumi.getter
def location(self) -> Optional[pulumi.Input[str]]:
"""
Location of the Deployment.
"""
return pulumi.get(self, "location")
@location.setter
def location(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "location", value)
@property
@pulumi.getter
def project(self) -> Optional[pulumi.Input[str]]:
"""
The ID of the project in which the resource belongs.
If it is not provided, the provider project is used.
"""
return pulumi.get(self, "project")
@project.setter
def project(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "project", value)
@pulumi.input_type
class _GameServerDeploymentState:
def __init__(__self__, *,
deployment_id: Optional[pulumi.Input[str]] = None,
description: Optional[pulumi.Input[str]] = None,
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
location: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None):
"""
Input properties used for looking up and filtering GameServerDeployment resources.
:param pulumi.Input[str] deployment_id: A unique id for the deployment.
:param pulumi.Input[str] description: Human readable description of the game server deployment.
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: The labels associated with this game server deployment. Each label is a
key-value pair.
:param pulumi.Input[str] location: Location of the Deployment.
:param pulumi.Input[str] name: The resource id of the game server deployment, eg:
'projects/{project_id}/locations/{location}/gameServerDeployments/{deployment_id}'. For example,
'projects/my-project/locations/{location}/gameServerDeployments/my-deployment'.
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
If it is not provided, the provider project is used.
"""
if deployment_id is not None:
pulumi.set(__self__, "deployment_id", deployment_id)
if description is not None:
pulumi.set(__self__, "description", description)
if labels is not None:
pulumi.set(__self__, "labels", labels)
if location is not None:
pulumi.set(__self__, "location", location)
if name is not None:
pulumi.set(__self__, "name", name)
if project is not None:
pulumi.set(__self__, "project", project)
@property
@pulumi.getter(name="deploymentId")
def deployment_id(self) -> Optional[pulumi.Input[str]]:
"""
A unique id for the deployment.
"""
return pulumi.get(self, "deployment_id")
@deployment_id.setter
def deployment_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "deployment_id", value)
@property
@pulumi.getter
def description(self) -> Optional[pulumi.Input[str]]:
"""
Human readable description of the game server deployment.
"""
return pulumi.get(self, "description")
@description.setter
def description(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "description", value)
@property
@pulumi.getter
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
"""
The labels associated with this game server deployment. Each label is a
key-value pair.
"""
return pulumi.get(self, "labels")
@labels.setter
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
pulumi.set(self, "labels", value)
@property
@pulumi.getter
def location(self) -> Optional[pulumi.Input[str]]:
"""
Location of the Deployment.
"""
return pulumi.get(self, "location")
@location.setter
def location(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "location", value)
@property
@pulumi.getter
def name(self) -> Optional[pulumi.Input[str]]:
"""
The resource id of the game server deployment, eg:
'projects/{project_id}/locations/{location}/gameServerDeployments/{deployment_id}'. For example,
'projects/my-project/locations/{location}/gameServerDeployments/my-deployment'.
"""
return pulumi.get(self, "name")
@name.setter
def name(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "name", value)
@property
@pulumi.getter
def project(self) -> Optional[pulumi.Input[str]]:
"""
The ID of the project in which the resource belongs.
If it is not provided, the provider project is used.
"""
return pulumi.get(self, "project")
@project.setter
def project(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "project", value)
class GameServerDeployment(pulumi.CustomResource):
@overload
def __init__(__self__,
resource_name: str,
opts: Optional[pulumi.ResourceOptions] = None,
deployment_id: Optional[pulumi.Input[str]] = None,
description: Optional[pulumi.Input[str]] = None,
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
__props__=None):
"""
A game server deployment resource.
To get more information about GameServerDeployment, see:
* [API documentation](https://cloud.google.com/game-servers/docs/reference/rest/v1beta/projects.locations.gameServerDeployments)
* How-to Guides
* [Official Documentation](https://cloud.google.com/game-servers/docs)
## Example Usage
### Game Service Deployment Basic
```python
import pulumi
import pulumi_gcp as gcp
default = gcp.gameservices.GameServerDeployment("default",
deployment_id="tf-test-deployment",
description="a deployment description")
```
## Import
GameServerDeployment can be imported using any of these accepted formats
```sh
$ pulumi import gcp:gameservices/gameServerDeployment:GameServerDeployment default projects/{{project}}/locations/{{location}}/gameServerDeployments/{{deployment_id}}
```
```sh
$ pulumi import gcp:gameservices/gameServerDeployment:GameServerDeployment default {{project}}/{{location}}/{{deployment_id}}
```
```sh
$ pulumi import gcp:gameservices/gameServerDeployment:GameServerDeployment default {{location}}/{{deployment_id}}
```
:param str resource_name: The name of the resource.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[str] deployment_id: A unique id for the deployment.
:param pulumi.Input[str] description: Human readable description of the game server deployment.
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: The labels associated with this game server deployment. Each label is a
key-value pair.
:param pulumi.Input[str] location: Location of the Deployment.
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
If it is not provided, the provider project is used.
"""
...
@overload
def __init__(__self__,
resource_name: str,
args: GameServerDeploymentArgs,
opts: Optional[pulumi.ResourceOptions] = None):
"""
A game server deployment resource.
To get more information about GameServerDeployment, see:
* [API documentation](https://cloud.google.com/game-servers/docs/reference/rest/v1beta/projects.locations.gameServerDeployments)
* How-to Guides
* [Official Documentation](https://cloud.google.com/game-servers/docs)
## Example Usage
### Game Service Deployment Basic
```python
import pulumi
import pulumi_gcp as gcp
default = gcp.gameservices.GameServerDeployment("default",
deployment_id="tf-test-deployment",
description="a deployment description")
```
## Import
GameServerDeployment can be imported using any of these accepted formats
```sh
$ pulumi import gcp:gameservices/gameServerDeployment:GameServerDeployment default projects/{{project}}/locations/{{location}}/gameServerDeployments/{{deployment_id}}
```
```sh
$ pulumi import gcp:gameservices/gameServerDeployment:GameServerDeployment default {{project}}/{{location}}/{{deployment_id}}
```
```sh
$ pulumi import gcp:gameservices/gameServerDeployment:GameServerDeployment default {{location}}/{{deployment_id}}
```
:param str resource_name: The name of the resource.
:param GameServerDeploymentArgs args: The arguments to use to populate this resource's properties.
:param pulumi.ResourceOptions opts: Options for the resource.
"""
...
def __init__(__self__, resource_name: str, *args, **kwargs):
resource_args, opts = _utilities.get_resource_args_opts(GameServerDeploymentArgs, pulumi.ResourceOptions, *args, **kwargs)
if resource_args is not None:
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
else:
__self__._internal_init(resource_name, *args, **kwargs)
def _internal_init(__self__,
resource_name: str,
opts: Optional[pulumi.ResourceOptions] = None,
deployment_id: Optional[pulumi.Input[str]] = None,
description: Optional[pulumi.Input[str]] = None,
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
__props__=None):
if opts is None:
opts = pulumi.ResourceOptions()
if not isinstance(opts, pulumi.ResourceOptions):
raise TypeError('Expected resource options to be a ResourceOptions instance')
if opts.version is None:
opts.version = _utilities.get_version()
if opts.id is None:
if __props__ is not None:
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
__props__ = GameServerDeploymentArgs.__new__(GameServerDeploymentArgs)
if deployment_id is None and not opts.urn:
raise TypeError("Missing required property 'deployment_id'")
__props__.__dict__["deployment_id"] = deployment_id
__props__.__dict__["description"] = description
__props__.__dict__["labels"] = labels
__props__.__dict__["location"] = location
__props__.__dict__["project"] = project
__props__.__dict__["name"] = None
super(GameServerDeployment, __self__).__init__(
'gcp:gameservices/gameServerDeployment:GameServerDeployment',
resource_name,
__props__,
opts)
@staticmethod
def get(resource_name: str,
id: pulumi.Input[str],
opts: Optional[pulumi.ResourceOptions] = None,
deployment_id: Optional[pulumi.Input[str]] = None,
description: Optional[pulumi.Input[str]] = None,
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
location: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None) -> 'GameServerDeployment':
"""
Get an existing GameServerDeployment resource's state with the given name, id, and optional extra
properties used to qualify the lookup.
:param str resource_name: The unique name of the resulting resource.
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[str] deployment_id: A unique id for the deployment.
:param pulumi.Input[str] description: Human readable description of the game server deployment.
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: The labels associated with this game server deployment. Each label is a
key-value pair.
:param pulumi.Input[str] location: Location of the Deployment.
:param pulumi.Input[str] name: The resource id of the game server deployment, eg:
'projects/{project_id}/locations/{location}/gameServerDeployments/{deployment_id}'. For example,
'projects/my-project/locations/{location}/gameServerDeployments/my-deployment'.
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
If it is not provided, the provider project is used.
"""
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
__props__ = _GameServerDeploymentState.__new__(_GameServerDeploymentState)
__props__.__dict__["deployment_id"] = deployment_id
__props__.__dict__["description"] = description
__props__.__dict__["labels"] = labels
__props__.__dict__["location"] = location
__props__.__dict__["name"] = name
__props__.__dict__["project"] = project
return GameServerDeployment(resource_name, opts=opts, __props__=__props__)
@property
@pulumi.getter(name="deploymentId")
def deployment_id(self) -> pulumi.Output[str]:
"""
A unique id for the deployment.
"""
return pulumi.get(self, "deployment_id")
@property
@pulumi.getter
def description(self) -> pulumi.Output[Optional[str]]:
"""
Human readable description of the game server deployment.
"""
return pulumi.get(self, "description")
@property
@pulumi.getter
def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
"""
The labels associated with this game server deployment. Each label is a
key-value pair.
"""
return pulumi.get(self, "labels")
@property
@pulumi.getter
def location(self) -> pulumi.Output[Optional[str]]:
"""
Location of the Deployment.
"""
return pulumi.get(self, "location")
@property
@pulumi.getter
def name(self) -> pulumi.Output[str]:
"""
The resource id of the game server deployment, eg:
'projects/{project_id}/locations/{location}/gameServerDeployments/{deployment_id}'. For example,
'projects/my-project/locations/{location}/gameServerDeployments/my-deployment'.
"""
return pulumi.get(self, "name")
@property
@pulumi.getter
def project(self) -> pulumi.Output[str]:
"""
The ID of the project in which the resource belongs.
If it is not provided, the provider project is used.
"""
return pulumi.get(self, "project")
| 41.151648
| 175
| 0.639554
| 2,049
| 18,724
| 5.68082
| 0.088824
| 0.083162
| 0.087801
| 0.069931
| 0.831271
| 0.810223
| 0.79055
| 0.783763
| 0.779381
| 0.774914
| 0
| 0.000215
| 0.255608
| 18,724
| 454
| 176
| 41.242291
| 0.834912
| 0.388112
| 0
| 0.718182
| 1
| 0
| 0.077424
| 0.008088
| 0
| 0
| 0
| 0
| 0
| 1
| 0.159091
| false
| 0.004545
| 0.022727
| 0
| 0.277273
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
6b0c6d1044c21a0ee318726ffe717ea55363a5ea
| 29,174
|
py
|
Python
|
examples/verbal_arithmetic.py
|
avikor/Constraint_Satisfaction_Problems
|
fa545ab3df37599192963b99e9e86b7160a93dba
|
[
"MIT"
] | 12
|
2019-12-04T13:42:09.000Z
|
2021-12-15T13:14:44.000Z
|
examples/verbal_arithmetic.py
|
avikor/Constraint_Satisfaction_Problems
|
fa545ab3df37599192963b99e9e86b7160a93dba
|
[
"MIT"
] | null | null | null |
examples/verbal_arithmetic.py
|
avikor/Constraint_Satisfaction_Problems
|
fa545ab3df37599192963b99e9e86b7160a93dba
|
[
"MIT"
] | 2
|
2020-02-10T13:37:15.000Z
|
2020-12-12T09:57:40.000Z
|
import time
import copy
import csp
from examples.performance_testing import measure_performance
# SOLVING: (where each letter uniquely represent a digit)
# TWO
# +TWO
# ----
# FOUR
name_to_domain_map = dict()
name_to_domain_map["o"] = range(10)
name_to_domain_map["w"] = range(10)
name_to_domain_map["r"] = range(10)
name_to_domain_map["u"] = range(10)
name_to_domain_map["t"] = range(1, 10)
name_to_domain_map["f"] = range(1, 10)
# carry digits
name_to_domain_map["c_10"] = (0, 1)
name_to_domain_map["c_100"] = (0, 1)
name_to_domain_map["c_1000"] = (0, 1)
name_to_variable_map = csp.Variable.from_names_to_domains(name_to_domain_map)
all_diff_const = csp.Constraint((name_to_variable_map[name] for name in name_to_variable_map if name not in
["c_10", "c_100", "c_1000"]), csp.all_diff_constraint_evaluator)
def units_digit(values: tuple) -> bool:
if len(values) < 3:
return True
o, r, c_10 = values
return o + o == r + 10 * c_10
units_digit_const = csp.Constraint((name_to_variable_map["o"], name_to_variable_map["r"],
name_to_variable_map["c_10"]), units_digit)
def tens_digit(values: tuple) -> bool:
if len(values) < 4:
return True
c_10, w, u, c_100, = values
return c_10 + w + w == u + 10 * c_100
tens_digit_const = csp.Constraint((name_to_variable_map["c_10"], name_to_variable_map["w"],
name_to_variable_map["u"], name_to_variable_map["c_100"]), tens_digit)
def hundreds_digit(values: tuple) -> bool:
if len(values) < 4:
return True
c_100, t, o, c_1000 = values
return c_100 + t + t == o + 10 * c_1000
hundreds_digits_const = csp.Constraint((name_to_variable_map["c_100"], name_to_variable_map["t"],
name_to_variable_map["o"], name_to_variable_map["c_1000"]),
hundreds_digit)
def thousands_digit(values: tuple) -> bool:
if len(values) < 2:
return True
c_1000, f = values
return c_1000 == f
thousands_digit_const = csp.Constraint((name_to_variable_map["c_1000"], name_to_variable_map["f"]),
thousands_digit)
verbal_arithmetic_problem = csp.ConstraintProblem((all_diff_const, units_digit_const, tens_digit_const,
hundreds_digits_const, thousands_digit_const))
# /////////////////////////////////////////////// USAGE EXAMPLE ///////////////////////////////////////////////
# solutions_count = 0
# for solution_assignment in csp.heuristic_backtracking_search(verbal_arithmetic_problem, find_all_solutions=True):
# solutions_count += 1
# print("t :", name_to_variable_map["t"].value)
# print("w :", name_to_variable_map["w"].value)
# print("o :", name_to_variable_map["o"].value)
# print("f :", name_to_variable_map["f"].value)
# print("u :", name_to_variable_map["u"].value)
# print("r :", name_to_variable_map["r"].value)
# print("c_10 :", name_to_variable_map["c_10"].value)
# print("c_100 :", name_to_variable_map["c_100"].value)
# print("c_1000 :", name_to_variable_map["c_1000"].value)
# print()
# print("solutions_count:", solutions_count)
#
# t : 7
# w : 3
# o : 4
# f : 1
# u : 6
# r : 8
# c_10 : 0
# c_100 : 0
# c_1000 : 1
#
# t : 8
# w : 3
# o : 6
# f : 1
# u : 7
# r : 2
# c_10 : 1
# c_100 : 0
# c_1000 : 1
#
# t : 8
# w : 4
# o : 6
# f : 1
# u : 9
# r : 2
# c_10 : 1
# c_100 : 0
# c_1000 : 1
#
# t : 9
# w : 2
# o : 8
# f : 1
# u : 5
# r : 6
# c_10 : 1
# c_100 : 0
# c_1000 : 1
#
# t : 9
# w : 3
# o : 8
# f : 1
# u : 7
# r : 6
# c_10 : 1
# c_100 : 0
# c_1000 : 1
#
# t : 7
# w : 6
# o : 5
# f : 1
# u : 3
# r : 0
# c_10 : 1
# c_100 : 1
# c_1000 : 1
#
# t : 8
# w : 6
# o : 7
# f : 1
# u : 3
# r : 4
# c_10 : 1
# c_100 : 1
# c_1000 : 1
#
# solutions_count: 7
# /////////////////////////////////////////////////////////////////////////////////////////////////////////////
measure_performance(1, "verbal_arithmetic_problem", verbal_arithmetic_problem,
"backtracking_search", with_history=True)
measure_performance(1, "verbal_arithmetic_problem", verbal_arithmetic_problem,
"backtracking_search", inference=csp.forward_check, with_history=True)
measure_performance(1, "verbal_arithmetic_problem", verbal_arithmetic_problem,
"heuristic_backtracking_search", with_history=True)
measure_performance(1, "verbal_arithmetic_problem", verbal_arithmetic_problem,
"heuristic_backtracking_search", inference=csp.forward_check, with_history=True)
measure_performance(1, "verbal_arithmetic_problem", verbal_arithmetic_problem,
"naive_cycle_cutset", with_history=True)
measure_performance(2, "verbal_arithmetic_problem", verbal_arithmetic_problem,
"min_conflicts", 100000, with_history=True)
measure_performance(2, "verbal_arithmetic_problem", verbal_arithmetic_problem,
"constraints_weighting", 10000, with_history=True)
measure_performance(2, "verbal_arithmetic_problem", verbal_arithmetic_problem,
"simulated_annealing", 100000, 0.5, 0.99999)
measure_performance(2, "verbal_arithmetic_problem", verbal_arithmetic_problem,
"random_restart_first_choice_hill_climbing", 100, 100, 10)
general_genetic_verbal_arithmetic_problem = csp.GeneralGeneticConstraintProblem(verbal_arithmetic_problem, 0.1)
measure_performance(2, "verbal_arithmetic_problem", general_genetic_verbal_arithmetic_problem,
"genetic_local_search", 100, 100, 0.1)
ac3_verbal_arithmetic_problem = copy.deepcopy(verbal_arithmetic_problem)
ac3_verbal_arithmetic_problem.unassign_all_variables()
ac3_start_time = time.process_time()
ac3_is_arc_consistent = csp.ac3(ac3_verbal_arithmetic_problem)
ac3_end_time = time.process_time()
if ac3_is_arc_consistent:
print()
print()
print("-" * 145)
print("using ac3 as a preprocessing stage which took", ac3_end_time - ac3_start_time, "seconds")
print("-" * 145)
measure_performance(1, "ac3_verbal_arithmetic_problem", ac3_verbal_arithmetic_problem,
"backtracking_search", with_history=True)
measure_performance(1, "ac3_verbal_arithmetic_problem", ac3_verbal_arithmetic_problem,
"backtracking_search", inference=csp.forward_check, with_history=True)
measure_performance(1, "ac3_verbal_arithmetic_problem", ac3_verbal_arithmetic_problem,
"heuristic_backtracking_search", with_history=True)
measure_performance(1, "ac3_verbal_arithmetic_problem", ac3_verbal_arithmetic_problem,
"heuristic_backtracking_search", inference=csp.forward_check, with_history=True)
measure_performance(1, "ac3_verbal_arithmetic_problem", ac3_verbal_arithmetic_problem,
"naive_cycle_cutset", with_history=True)
measure_performance(2, "ac3_verbal_arithmetic_problem", ac3_verbal_arithmetic_problem,
"min_conflicts", 100000, with_history=True)
measure_performance(2, "ac3_verbal_arithmetic_problem", ac3_verbal_arithmetic_problem,
"constraints_weighting", 10000, with_history=True)
measure_performance(2, "ac3_verbal_arithmetic_problem", ac3_verbal_arithmetic_problem,
"simulated_annealing", 100000, 0.5, 0.99999)
measure_performance(2, "ac3_verbal_arithmetic_problem", ac3_verbal_arithmetic_problem,
"random_restart_first_choice_hill_climbing", 100, 100, 10)
general_genetic_verbal_arithmetic_problem = csp.GeneralGeneticConstraintProblem(ac3_verbal_arithmetic_problem, 0.1)
measure_performance(2, "ac3_verbal_arithmetic_problem", general_genetic_verbal_arithmetic_problem,
"genetic_local_search", 100, 100, 0.1)
ac4_verbal_arithmetic_problem = copy.deepcopy(verbal_arithmetic_problem)
ac4_verbal_arithmetic_problem.unassign_all_variables()
ac4_start_time = time.process_time()
ac4_is_arc_consistent = csp.ac4(ac4_verbal_arithmetic_problem)
ac4_end_time = time.process_time()
if ac4_is_arc_consistent:
print()
print()
print("-" * 145)
print("using ac4 as a preprocessing stage which took", ac4_end_time - ac4_start_time, "seconds")
print("-" * 145)
measure_performance(1, "ac4_verbal_arithmetic_problem", ac4_verbal_arithmetic_problem,
"backtracking_search", with_history=True)
measure_performance(1, "ac4_verbal_arithmetic_problem", ac4_verbal_arithmetic_problem,
"backtracking_search", inference=csp.forward_check, with_history=True)
measure_performance(1, "ac4_verbal_arithmetic_problem", ac4_verbal_arithmetic_problem,
"heuristic_backtracking_search", with_history=True)
measure_performance(1, "ac4_verbal_arithmetic_problem", ac4_verbal_arithmetic_problem,
"heuristic_backtracking_search", inference=csp.forward_check, with_history=True)
measure_performance(1, "ac4_verbal_arithmetic_problem", ac4_verbal_arithmetic_problem,
"naive_cycle_cutset", with_history=True)
measure_performance(2, "ac4_verbal_arithmetic_problem", ac4_verbal_arithmetic_problem,
"min_conflicts", 100000, with_history=True)
measure_performance(2, "ac4_verbal_arithmetic_problem", ac4_verbal_arithmetic_problem,
"constraints_weighting", 10000, with_history=True)
measure_performance(2, "ac4_verbal_arithmetic_problem", ac4_verbal_arithmetic_problem,
"simulated_annealing", 100000, 0.5, 0.99999)
measure_performance(2, "ac4_verbal_arithmetic_problem", ac4_verbal_arithmetic_problem,
"random_restart_first_choice_hill_climbing", 100, 100, 10)
general_genetic_verbal_arithmetic_problem = csp.GeneralGeneticConstraintProblem(ac4_verbal_arithmetic_problem, 0.1)
measure_performance(2, "ac4_verbal_arithmetic_problem", general_genetic_verbal_arithmetic_problem,
"genetic_local_search", 100, 100, 0.1)
pc2_verbal_arithmetic_problem = copy.deepcopy(verbal_arithmetic_problem)
pc2_verbal_arithmetic_problem.unassign_all_variables()
pc2_start_time = time.process_time()
pc2_is_path_consistent = csp.pc2(pc2_verbal_arithmetic_problem)
pc2_end_time = time.process_time()
if pc2_is_path_consistent:
print()
print()
print("-" * 145)
print("using pc2 as a preprocessing stage which took", pc2_end_time - pc2_start_time, "seconds")
print("-" * 145)
measure_performance(1, "pc2_verbal_arithmetic_problem", pc2_verbal_arithmetic_problem,
"backtracking_search", with_history=True)
measure_performance(1, "pc2_verbal_arithmetic_problem", pc2_verbal_arithmetic_problem,
"backtracking_search", inference=csp.forward_check, with_history=True)
measure_performance(1, "pc2_verbal_arithmetic_problem", pc2_verbal_arithmetic_problem,
"heuristic_backtracking_search", with_history=True)
measure_performance(1, "pc2_verbal_arithmetic_problem", pc2_verbal_arithmetic_problem,
"heuristic_backtracking_search", inference=csp.forward_check, with_history=True)
measure_performance(1, "pc2_verbal_arithmetic_problem", pc2_verbal_arithmetic_problem,
"naive_cycle_cutset", with_history=True)
measure_performance(2, "pc2_verbal_arithmetic_problem", pc2_verbal_arithmetic_problem,
"min_conflicts", 100000, with_history=True)
measure_performance(2, "pc2_verbal_arithmetic_problem", pc2_verbal_arithmetic_problem,
"constraints_weighting", 10000, with_history=True)
measure_performance(2, "pc2_verbal_arithmetic_problem", pc2_verbal_arithmetic_problem,
"simulated_annealing", 100000, 0.5, 0.99999)
measure_performance(2, "pc2_verbal_arithmetic_problem", pc2_verbal_arithmetic_problem,
"random_restart_first_choice_hill_climbing", 100, 100, 10)
general_genetic_verbal_arithmetic_problem = csp.GeneralGeneticConstraintProblem(pc2_verbal_arithmetic_problem, 0.1)
measure_performance(2, "pc2_verbal_arithmetic_problem", general_genetic_verbal_arithmetic_problem,
"genetic_local_search", 100, 100, 0.1)
two_consistency_verbal_arithmetic_problem = copy.deepcopy(verbal_arithmetic_problem)
two_consistency_verbal_arithmetic_problem.unassign_all_variables()
two_consistency_start_time = time.process_time()
is_two_consistent = csp.i_consistency(two_consistency_verbal_arithmetic_problem, 2)
two_consistency_end_time = time.process_time()
if is_two_consistent:
print()
print()
print("-" * 145)
print("using 2-consistency as a preprocessing stage which took",
two_consistency_end_time - two_consistency_start_time, "seconds")
print("-" * 145)
measure_performance(1, "two_consistency_verbal_arithmetic_problem", two_consistency_verbal_arithmetic_problem,
"backtracking_search", with_history=True)
measure_performance(1, "two_consistency_verbal_arithmetic_problem", two_consistency_verbal_arithmetic_problem,
"backtracking_search", inference=csp.forward_check, with_history=True)
measure_performance(1, "two_consistency_verbal_arithmetic_problem", two_consistency_verbal_arithmetic_problem,
"heuristic_backtracking_search", with_history=True)
measure_performance(1, "two_consistency_verbal_arithmetic_problem", two_consistency_verbal_arithmetic_problem,
"heuristic_backtracking_search", inference=csp.forward_check, with_history=True)
measure_performance(1, "two_consistency_verbal_arithmetic_problem", two_consistency_verbal_arithmetic_problem,
"naive_cycle_cutset", with_history=True)
measure_performance(2, "two_consistency_verbal_arithmetic_problem", two_consistency_verbal_arithmetic_problem,
"min_conflicts", 100000, with_history=True)
measure_performance(2, "two_consistency_verbal_arithmetic_problem", two_consistency_verbal_arithmetic_problem,
"constraints_weighting", 10000, with_history=True)
measure_performance(2, "two_consistency_verbal_arithmetic_problem", two_consistency_verbal_arithmetic_problem,
"simulated_annealing", 100000, 0.5, 0.99999)
measure_performance(2, "two_consistency_verbal_arithmetic_problem", two_consistency_verbal_arithmetic_problem,
"random_restart_first_choice_hill_climbing", 100, 100, 10)
general_genetic_verbal_arithmetic_problem = \
csp.GeneralGeneticConstraintProblem(two_consistency_verbal_arithmetic_problem, 0.1)
measure_performance(2, "two_consistency_verbal_arithmetic_problem", general_genetic_verbal_arithmetic_problem,
"genetic_local_search", 100, 100, 0.1)
# /////////////////////////////////////////////////////// PERFORMANCE RESULTS /////////////////////////////////////////////////////////////////////
###################################################################################################################################################
# displaying performance results of solver: 'backtracking_search' with problem: 'verbal_arithmetic_problem'
# unsatisfied_constraints_amounts out of 5 overall constraints: [0]
# solution lengths (number of assignment and unassignment actions): [10969485]
# time results (seconds): [91.3125]
# #################################################################################################################################################
# displaying performance results of solver: 'backtracking_search_with_forward_checking' with problem: 'verbal_arithmetic_problem'
# unsatisfied_constraints_amounts out of 5 overall constraints: [0]
# solution lengths (number of assignment and unassignment actions): [10969485]
# time results (seconds): [285.703125]
# #################################################################################################################################################
# displaying performance results of solver: 'heuristic_backtracking_search' with problem: 'verbal_arithmetic_problem'
# unsatisfied_constraints_amounts out of 5 overall constraints: [0]
# solution lengths (number of assignment and unassignment actions): [43]
# time results (seconds): [0.359375]
# #################################################################################################################################################
# displaying performance results of solver: 'heuristic_backtracking_search_with_forward_checking' with problem: 'verbal_arithmetic_problem'
# unsatisfied_constraints_amounts out of 5 overall constraints: [0]
# solution lengths (number of assignment and unassignment actions): [43]
# time results (seconds): [0.078125]
# #################################################################################################################################################
# displaying performance results of solver: 'naive_cycle_cutset' with problem: 'verbal_arithmetic_problem'
# unsatisfied_constraints_amounts out of 5 overall constraints: [0]
# solution lengths (number of assignment and unassignment actions): [868952]
# time results (seconds): [27.703125]
# #################################################################################################################################################
# displaying performance results of solver: 'min_conflicts' with problem: 'verbal_arithmetic_problem'
# unsatisfied_constraints_amounts out of 5 overall constraints: [0, 1]
# solution lengths (number of assignment and unassignment actions): [3740, 200018]
# time results (seconds): [0.734375, 40.703125]
# #################################################################################################################################################
# displaying performance results of solver: 'constraints_weighting' with problem: 'verbal_arithmetic_problem'
# unsatisfied_constraints_amounts out of 5 overall constraints: [5, 5]
# solution lengths (number of assignment and unassignment actions): [20000, 20000]
# time results (seconds): [17.375, 17.40625]
# #################################################################################################################################################
# displaying performance results of solver: 'simulated_annealing' with problem: 'verbal_arithmetic_problem'
# unsatisfied_constraints_amounts out of 5 overall constraints: [0, 0]
# time results (seconds): [3.546875, 7.96875]
# #################################################################################################################################################
# displaying performance results of solver: 'random_restart_first_choice_hill_climbing' with problem: 'verbal_arithmetic_problem'
# unsatisfied_constraints_amounts out of 5 overall constraints: [0, 0]
# time results (seconds): [26.515625, 1.859375]
# #################################################################################################################################################
# displaying performance results of solver: 'genetic_local_search' with problem: 'verbal_arithmetic_problem'
# unsatisfied_constraints_amounts out of 5 overall constraints: [1, 1]
# time results (seconds): [1.234375, 1.34375]
#
#
# -------------------------------------------------------------------------------------------------------------------------------------------------
# using ac3 as a preprocessing stage which took 0.046875 seconds
# -------------------------------------------------------------------------------------------------------------------------------------------------
# #################################################################################################################################################
# displaying performance results of solver: 'backtracking_search' with problem: 'ac3_verbal_arithmetic_problem'
# unsatisfied_constraints_amounts out of 5 overall constraints: [0]
# solution lengths (number of assignment and unassignment actions): [210921]
# time results (seconds): [1.28125]
# #################################################################################################################################################
# displaying performance results of solver: 'backtracking_search_with_forward_checking' with problem: 'ac3_verbal_arithmetic_problem'
# unsatisfied_constraints_amounts out of 5 overall constraints: [0]
# solution lengths (number of assignment and unassignment actions): [210921]
# time results (seconds): [3.671875]
# #################################################################################################################################################
# displaying performance results of solver: 'heuristic_backtracking_search' with problem: 'ac3_verbal_arithmetic_problem'
# unsatisfied_constraints_amounts out of 5 overall constraints: [0]
# solution lengths (number of assignment and unassignment actions): [45]
# time results (seconds): [0.0625]
# #################################################################################################################################################
# displaying performance results of solver: 'heuristic_backtracking_search_with_forward_checking' with problem: 'ac3_verbal_arithmetic_problem'
# unsatisfied_constraints_amounts out of 5 overall constraints: [0]
# solution lengths (number of assignment and unassignment actions): [45]
# time results (seconds): [0.0625]
# #################################################################################################################################################
# displaying performance results of solver: 'naive_cycle_cutset' with problem: 'ac3_verbal_arithmetic_problem'
# unsatisfied_constraints_amounts out of 5 overall constraints: [0]
# solution lengths (number of assignment and unassignment actions): [175689]
# time results (seconds): [3.046875]
# #################################################################################################################################################
# displaying performance results of solver: 'min_conflicts' with problem: 'ac3_verbal_arithmetic_problem'
# unsatisfied_constraints_amounts out of 5 overall constraints: [1, 1]
# solution lengths (number of assignment and unassignment actions): [200018, 200018]
# time results (seconds): [40.671875, 38.046875]
# #################################################################################################################################################
# displaying performance results of solver: 'constraints_weighting' with problem: 'ac3_verbal_arithmetic_problem'
# unsatisfied_constraints_amounts out of 5 overall constraints: [4, 4]
# solution lengths (number of assignment and unassignment actions): [20000, 20000]
# time results (seconds): [15.328125, 15.296875]
# #################################################################################################################################################
# displaying performance results of solver: 'simulated_annealing' with problem: 'ac3_verbal_arithmetic_problem'
# unsatisfied_constraints_amounts out of 5 overall constraints: [0, 0]
# time results (seconds): [0.5, 4.609375]
# #################################################################################################################################################
# displaying performance results of solver: 'random_restart_first_choice_hill_climbing' with problem: 'ac3_verbal_arithmetic_problem'
# unsatisfied_constraints_amounts out of 5 overall constraints: [0, 0]
# time results (seconds): [4.03125, 11.5]
# #################################################################################################################################################
# displaying performance results of solver: 'genetic_local_search' with problem: 'ac3_verbal_arithmetic_problem'
# unsatisfied_constraints_amounts out of 5 overall constraints: [1, 1]
# time results (seconds): [1.46875, 1.421875]
#
#
# -------------------------------------------------------------------------------------------------------------------------------------------------
# using ac4 as a preprocessing stage which took 0.0 seconds
# -------------------------------------------------------------------------------------------------------------------------------------------------
# #################################################################################################################################################
# displaying performance results of solver: 'backtracking_search' with problem: 'ac4_verbal_arithmetic_problem'
# unsatisfied_constraints_amounts out of 5 overall constraints: [0]
# solution lengths (number of assignment and unassignment actions): [225783]
# time results (seconds): [1.46875]
# #################################################################################################################################################
# displaying performance results of solver: 'backtracking_search_with_forward_checking' with problem: 'ac4_verbal_arithmetic_problem'
# unsatisfied_constraints_amounts out of 5 overall constraints: [0]
# solution lengths (number of assignment and unassignment actions): [225783]
# time results (seconds): [5.671875]
# #################################################################################################################################################
# displaying performance results of solver: 'heuristic_backtracking_search' with problem: 'ac4_verbal_arithmetic_problem'
# unsatisfied_constraints_amounts out of 5 overall constraints: [0]
# solution lengths (number of assignment and unassignment actions): [45]
# time results (seconds): [0.0625]
# #################################################################################################################################################
# displaying performance results of solver: 'heuristic_backtracking_search_with_forward_checking' with problem: 'ac4_verbal_arithmetic_problem'
# unsatisfied_constraints_amounts out of 5 overall constraints: [0]
# solution lengths (number of assignment and unassignment actions): [45]
# time results (seconds): [0.078125]
# #################################################################################################################################################
# displaying performance results of solver: 'naive_cycle_cutset' with problem: 'ac4_verbal_arithmetic_problem'
# unsatisfied_constraints_amounts out of 5 overall constraints: [0]
# solution lengths (number of assignment and unassignment actions): [65759]
# time results (seconds): [2.296875]
# #################################################################################################################################################
# displaying performance results of solver: 'min_conflicts' with problem: 'ac4_verbal_arithmetic_problem'
# unsatisfied_constraints_amounts out of 5 overall constraints: [0, 1]
# solution lengths (number of assignment and unassignment actions): [3350, 200018]
# time results (seconds): [0.65625, 41.21875]
# #################################################################################################################################################
# displaying performance results of solver: 'constraints_weighting' with problem: 'ac4_verbal_arithmetic_problem'
# unsatisfied_constraints_amounts out of 5 overall constraints: [4, 4]
# solution lengths (number of assignment and unassignment actions): [20000, 20000]
# time results (seconds): [16.765625, 16.828125]
# #################################################################################################################################################
# displaying performance results of solver: 'simulated_annealing' with problem: 'ac4_verbal_arithmetic_problem'
# unsatisfied_constraints_amounts out of 5 overall constraints: [0, 0]
# time results (seconds): [4.140625, 1.609375]
# #################################################################################################################################################
# displaying performance results of solver: 'random_restart_first_choice_hill_climbing' with problem: 'ac4_verbal_arithmetic_problem'
# unsatisfied_constraints_amounts out of 5 overall constraints: [1, 0]
# time results (seconds): [76.03125, 17.109375]
# #################################################################################################################################################
# displaying performance results of solver: 'genetic_local_search' with problem: 'ac4_verbal_arithmetic_problem'
# unsatisfied_constraints_amounts out of 5 overall constraints: [1, 1]
# time results (seconds): [1.5, 1.234375]
#
# Process finished with exit code 0
# /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
| 60.152577
| 147
| 0.604442
| 2,976
| 29,174
| 5.566532
| 0.06922
| 0.152602
| 0.219365
| 0.046481
| 0.898587
| 0.868164
| 0.834118
| 0.816129
| 0.767838
| 0.7152
| 0
| 0.046379
| 0.136766
| 29,174
| 485
| 148
| 60.152577
| 0.61142
| 0.374135
| 0
| 0.58794
| 0
| 0
| 0.217366
| 0.155941
| 0
| 0
| 0
| 0
| 0
| 1
| 0.020101
| false
| 0
| 0.020101
| 0
| 0.080402
| 0.100503
| 0
| 0
| 0
| null | 0
| 1
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
6b11cd2b680d5328a32dce06fa858192e8b7be1f
| 9,710
|
py
|
Python
|
mealpy/swarm_based/RHO.py
|
lamto20132223/mealpy
|
b25bd7548299d490cf2f40d3ecfc5dc87cf60994
|
[
"MIT"
] | 2
|
2020-06-06T10:28:55.000Z
|
2020-06-06T10:30:08.000Z
|
mealpy/swarm_based/RHO.py
|
lamto20132223/mealpy
|
b25bd7548299d490cf2f40d3ecfc5dc87cf60994
|
[
"MIT"
] | null | null | null |
mealpy/swarm_based/RHO.py
|
lamto20132223/mealpy
|
b25bd7548299d490cf2f40d3ecfc5dc87cf60994
|
[
"MIT"
] | null | null | null |
#!/usr/bin/env python
# ------------------------------------------------------------------------------------------------------%
# Created by "Thieu Nguyen" at 14:53, 17/03/2020 %
# %
# Email: nguyenthieu2102@gmail.com %
# Homepage: https://www.researchgate.net/profile/Thieu_Nguyen6 %
# Github: https://github.com/thieunguyen5991 %
#-------------------------------------------------------------------------------------------------------%
from numpy.random import uniform
from numpy.linalg import norm
from numpy import exp, power, pi, zeros, array, mean, ones, dot
from math import gamma
from copy import deepcopy
from mealpy.root import Root
class BaseRH(Root):
"""
The original version of: Rhino Herd Optimization (RH)
(A Novel Metaheuristic Algorithm inspired by Rhino Herd Behavior)
Link:
https://doi.org/10.3384/ecp171421026
"""
def __init__(self, root_paras=None, epoch=750, pop_size=100, c=0.53, a=2831, r=0.04, A=1):
Root.__init__(self, root_paras)
self.epoch = epoch
self.pop_size = pop_size
self.c = c # shape parameter - default = 0.53 > 0
self.a = a # scale parameter - default = 2831 > 0
self.r = r # default = 0.04
self.A = A # the area of each grid cell - default = 1
def _train__(self):
pop = [self._create_solution__(minmax=0) for _ in range(self.pop_size)]
g_best = self._get_global_best__(pop=pop, id_fitness=self.ID_FIT, id_best=self.ID_MIN_PROB)
# Epoch loop
for epoch in range(self.epoch):
pos_list = array([item[self.ID_POS] for item in pop])
fit_list = array([item[self.ID_FIT] for item in pop])
fx_list = deepcopy(fit_list)
pos_center = mean(pos_list, axis=0)
## Each individual loop
for i in range(0, self.pop_size):
# Eq. 1
exp_component = -1 * power(norm(pop[i][self.ID_POS] - pos_center) / self.a, 2.0 / self.c)
fx = 2 * exp(exp_component) / (self.c ** 2 * pi * self.a ** 2 * gamma(self.c))
fx_list[i] = fx
# Eq. 7
s_component = ones(self.problem_size)
for j in range(0, self.problem_size):
sum_temp = 0
for i in range(0, self.pop_size):
sum_temp += fx_list[i] * (1 + pop[i][self.ID_POS][j] / (self.EPSILON + pop[i][self.ID_FIT]))
s_component[j] = self.A * sum_temp
for i in range(0, self.pop_size):
x_new = pop[i][self.ID_POS]
for j in range(0, self.problem_size):
# Eq. 7
s_x = fx_list[i] * (1 + pop[i][self.ID_FIT] * pop[i][self.ID_POS][j]) / s_component[j]
# Eq. 9
if uniform() <= 0.5:
x_new[j] = pop[i][self.ID_POS][j] - uniform() * s_x * pop[i][self.ID_POS][j]
else:
x_new[j] = pop[i][self.ID_POS][j] + uniform() * s_x * pop[i][self.ID_POS][j]
x_new = self._amend_solution_faster__(x_new)
fit = self._fitness_model__(x_new)
if fit < pop[i][self.ID_FIT]:
pop[i] = [x_new, fit]
g_best = self._update_global_best__(pop, self.ID_MIN_PROB, g_best)
self.loss_train.append(g_best[self.ID_FIT])
if self.print_train:
print("> Epoch: {}, Best fit: {}".format(epoch + 1, g_best[self.ID_FIT]))
return g_best[self.ID_POS], g_best[self.ID_FIT], self.loss_train
class MyRH(BaseRH):
"""
My version of: Rhino Herd Optimization (RH)
(A Novel Metaheuristic Algorithm inspired by Rhino Herd Behavior)
"""
def __init__(self, root_paras=None, epoch=750, pop_size=100, c=0.53, a=2831, r=0.04, A=1):
BaseRH.__init__(self, root_paras, epoch, pop_size, c, a, r, A)
def _train__(self):
pop = [self._create_solution__(minmax=0) for _ in range(self.pop_size)]
g_best = self._get_global_best__(pop=pop, id_fitness=self.ID_FIT, id_best=self.ID_MIN_PROB)
pop_size = self.pop_size
# Epoch loop
for epoch in range(self.epoch):
pop_new = deepcopy(pop)
pos_list = array([item[self.ID_POS] for item in pop])
fit_list = array([item[self.ID_FIT] for item in pop])
fx_list = deepcopy(fit_list)
pos_center = mean(pos_list, axis=0)
## Calculate the fx for each individual
for i in range(0, pop_size):
# Eq. 1
exp_component = -1 * power( norm(pop[i][self.ID_POS] - pos_center) / self.a , 2.0/self.c )
fx = 2 * exp(exp_component) / (self.c ** 2 * pi * self.a ** 2 * gamma(self.c))
fx_list[i] = fx
#print(fx_list)
# Eq. 7
sum_temp = zeros(self.problem_size)
for i in range(0, pop_size):
sum_temp += fx_list[i] * (1 + pop[i][self.ID_POS] * pop[i][self.ID_FIT])
sum_temp = self.A * sum_temp
for i in range(0, pop_size):
s_x = fx_list[i] * (1 + pop[i][self.ID_POS]/pop[i][self.ID_FIT]) / sum_temp
if uniform() <= 0.5:
x_new = pop[i][self.ID_POS] - uniform() * dot(s_x, pop[i][self.ID_POS])
else:
x_new = pop[i][self.ID_POS] + uniform() * dot(s_x, pop[i][self.ID_POS])
x_new = self._amend_solution_faster__(x_new)
fit = self._fitness_model__(x_new)
if fit < pop[i][self.ID_FIT]:
pop_new[i] = [x_new, fit]
if epoch % 100 == 0:
pop_size = self.pop_size
pop_new = sorted(pop_new, key=lambda item: item[self.ID_FIT])
pop = deepcopy(pop_new[:pop_size])
else:
pop_size = pop_size + int(self.r * pop_size)
n_new = pop_size - len(pop)
for i in range(0, n_new):
pop_new.extend([self._create_solution__()])
pop = deepcopy(pop_new)
g_best = self._update_global_best__(pop, self.ID_MIN_PROB, g_best)
self.loss_train.append(g_best[self.ID_FIT])
if self.print_train:
print("> Epoch: {}, Best fit: {}".format(epoch + 1, g_best[self.ID_FIT]))
return g_best[self.ID_POS], g_best[self.ID_FIT], self.loss_train
class Version3RH(BaseRH):
"""
My version of: Rhino Herd Optimization (RH)
(A Novel Metaheuristic Algorithm inspired by Rhino Herd Behavior)
"""
def __init__(self, root_paras=None, epoch=750, pop_size=100, c=0.53, a=2831, r=0.04, A=1):
BaseRH.__init__(self, root_paras, epoch, pop_size, c, a, r, A)
def _train__(self):
pop = [self._create_solution__(minmax=0) for _ in range(self.pop_size)]
g_best = self._get_global_best__(pop=pop, id_fitness=self.ID_FIT, id_best=self.ID_MIN_PROB)
pop_size = self.pop_size
# Epoch loop
for epoch in range(self.epoch):
pop_new = deepcopy(pop)
pos_list = array([item[self.ID_POS] for item in pop])
pos_center = mean(pos_list, axis=0)
fx_list = zeros(pop_size)
## Calculate the fx for each individual
for i in range(0, pop_size):
# Eq. 1
exp_component = -1 * power( norm(pop[i][self.ID_POS] - pos_center) / self.a , 2.0/self.c )
fx = 2 * exp(exp_component) / (self.c ** 2 * pi * self.a ** 2 * gamma(self.c))
fx_list[i] = fx
#print(fx_list)
# Eq. 7
sum_temp = zeros(self.problem_size)
for i in range(0, self.pop_size):
sum_temp += fx_list[i] * (1 + pop[i][self.ID_POS] / pop[i][self.ID_FIT])
sum_temp = self.A * sum_temp
for i in range(0, pop_size):
s_x = fx_list[i] * (1 + pop[i][self.ID_FIT] * pop[i][self.ID_POS]) / sum_temp
if uniform() <= 0.5:
x_new = pop[i][self.ID_POS] - uniform() * dot(s_x, pop[i][self.ID_POS])
else:
x_new = pop[i][self.ID_POS] + uniform() * dot(s_x, pop[i][self.ID_POS])
x_new = self._amend_solution_faster__(x_new)
fit = self._fitness_model__(x_new)
if fit < pop[i][self.ID_FIT]:
pop_new[i] = [x_new, fit]
if epoch % 100 == 0:
pop_size = self.pop_size
pop_new = sorted(pop_new, key=lambda item: item[self.ID_FIT])
pop = deepcopy(pop_new[:pop_size])
else:
pop_size = pop_size + int(self.r * pop_size)
n_new = pop_size - len(pop)
for i in range(0, n_new):
pop_new.extend([self._create_solution__()])
pop = deepcopy(pop_new)
g_best = self._update_global_best__(pop, self.ID_MIN_PROB, g_best)
self.loss_train.append(g_best[self.ID_FIT])
if self.print_train:
print("> Epoch: {}, Pop Size: {}, Best Fit: {}".format(epoch+1, pop_size, g_best[self.ID_FIT]))
return g_best[self.ID_POS], g_best[self.ID_FIT], self.loss_train
| 44.953704
| 112
| 0.51483
| 1,359
| 9,710
| 3.411332
| 0.114054
| 0.076359
| 0.053494
| 0.066868
| 0.849223
| 0.840811
| 0.838007
| 0.828732
| 0.804142
| 0.798965
| 0
| 0.026713
| 0.344593
| 9,710
| 215
| 113
| 45.162791
| 0.70176
| 0.152523
| 0
| 0.780142
| 0
| 0
| 0.010944
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.042553
| false
| 0
| 0.042553
| 0
| 0.12766
| 0.042553
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
86490e7ebaf728c627f66d077f411594acd55f51
| 4,764
|
py
|
Python
|
pgdrive/tests/test_functionality/test_distance_detector.py
|
decisionforce/pgdrive
|
19af5d09a40a68a2a5f8b3ac8b40f109e71c26ee
|
[
"Apache-2.0"
] | 97
|
2020-12-25T06:02:17.000Z
|
2022-01-16T06:58:39.000Z
|
pgdrive/tests/test_functionality/test_distance_detector.py
|
decisionforce/pgdrive
|
19af5d09a40a68a2a5f8b3ac8b40f109e71c26ee
|
[
"Apache-2.0"
] | 192
|
2020-12-25T07:58:17.000Z
|
2021-08-28T10:13:59.000Z
|
pgdrive/tests/test_functionality/test_distance_detector.py
|
decisionforce/pgdrive
|
19af5d09a40a68a2a5f8b3ac8b40f109e71c26ee
|
[
"Apache-2.0"
] | 11
|
2020-12-29T11:23:44.000Z
|
2021-12-06T23:25:49.000Z
|
from pgdrive.component.vehicle.vehicle_type import DefaultVehicle
from pgdrive.component.vehicle.base_vehicle import BaseVehicle
from pgdrive.constants import BodyName
from pgdrive.constants import DEFAULT_AGENT
from pgdrive.envs.pgdrive_env import PGDriveEnv
from pgdrive.utils import setup_logger
def test_original_lidar(render=False):
setup_logger(debug=True)
env = PGDriveEnv(
{
"use_render": render,
"manual_control": render,
"environment_num": 1,
"traffic_density": 0.3,
"vehicle_config": {
"show_lidar": True,
"side_detector": dict(num_lasers=2, distance=50),
"lane_line_detector": dict(num_lasers=2, distance=50),
},
"_disable_detector_mask": True,
"map": "XXX"
}
)
try:
env.reset()
v_config = env.config["vehicle_config"]
v_config["spawn_longitude"] = 0
v_config["spawn_lateral"] = 7.5
another_v = DefaultVehicle(v_config, random_seed=0)
another_v.reset()
objs = env.vehicle.side_detector.perceive(env.vehicle, env.vehicle.engine.physics_world.static_world
).detected_objects + env.vehicle.lane_line_detector.perceive(
env.vehicle, env.vehicle.engine.physics_world.static_world
).detected_objects
yellow = 0
for obj in objs:
if obj.getNode().getName() == BodyName.Yellow_continuous_line:
yellow += 1
assert yellow == 2, "side detector and lane detector broken"
detect_traffic_vehicle = False
detect_base_vehicle = False
for i in range(1, 100000):
o, r, d, info = env.step([0, 1])
if len(env.vehicle.lidar.get_surrounding_vehicles(env.observations[DEFAULT_AGENT].detected_objects)) > 2:
detect_traffic_vehicle = True
for hit in env.observations[DEFAULT_AGENT].detected_objects:
if isinstance(hit, BaseVehicle):
detect_base_vehicle = True
if d:
break
if not (detect_traffic_vehicle and detect_base_vehicle):
print("Lidar detection failed")
assert detect_traffic_vehicle and detect_base_vehicle, "Lidar detection failed"
finally:
env.close()
def test_lidar_with_mask(render=False):
setup_logger(debug=True)
env = PGDriveEnv(
{
"use_render": render,
"manual_control": render,
"environment_num": 1,
"traffic_density": 0.3,
"vehicle_config": {
"show_lidar": True,
"side_detector": dict(num_lasers=2, distance=50),
"lane_line_detector": dict(num_lasers=2, distance=50),
},
"_disable_detector_mask": False,
"map": "XXX"
}
)
try:
env.reset()
v_config = env.config["vehicle_config"]
v_config["spawn_longitude"] = 0
v_config["spawn_lateral"] = 7.5
another_v = DefaultVehicle(v_config, random_seed=0)
another_v.reset()
# for test
objs = env.vehicle.side_detector.perceive(env.vehicle, env.vehicle.engine.physics_world.static_world
).detected_objects + env.vehicle.lane_line_detector.perceive(
env.vehicle, env.vehicle.engine.physics_world.static_world
).detected_objects
yellow = 0
for obj in objs:
if obj.getNode().getName() == BodyName.Yellow_continuous_line:
yellow += 1
assert yellow == 2, "side detector and lane detector broken"
detect_traffic_vehicle = False
detect_base_vehicle = False
for i in range(1, 100000):
o, r, d, info = env.step([0, 1])
if len(env.vehicle.lidar.get_surrounding_vehicles(env.observations[DEFAULT_AGENT].detected_objects)) > 2:
detect_traffic_vehicle = True
for hit in env.observations[DEFAULT_AGENT].detected_objects:
if isinstance(hit, BaseVehicle):
detect_base_vehicle = True
if d:
break
if not (detect_traffic_vehicle and detect_base_vehicle):
print("Lidar detection failed")
assert detect_traffic_vehicle and detect_base_vehicle, "Lidar detection failed"
finally:
env.close()
if __name__ == "__main__":
test_lidar_with_mask(render=False)
test_original_lidar(render=False)
| 41.426087
| 117
| 0.584803
| 519
| 4,764
| 5.100193
| 0.208092
| 0.05289
| 0.060446
| 0.031734
| 0.890064
| 0.873064
| 0.856063
| 0.856063
| 0.856063
| 0.856063
| 0
| 0.016255
| 0.328505
| 4,764
| 114
| 118
| 41.789474
| 0.811191
| 0.001679
| 0
| 0.803738
| 0
| 0
| 0.111485
| 0.009255
| 0
| 0
| 0
| 0
| 0.037383
| 1
| 0.018692
| false
| 0
| 0.056075
| 0
| 0.074766
| 0.018692
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
8687949e318b4e090f8e7c7724c8e72d0b57699f
| 21,173
|
py
|
Python
|
tests/test_heremaps.py
|
schaemar/routing-py
|
45fb8ba069ac0ee54ca4922634b706126e3c6aea
|
[
"Apache-2.0"
] | 88
|
2019-04-14T07:40:17.000Z
|
2022-03-31T06:42:42.000Z
|
tests/test_heremaps.py
|
schaemar/routing-py
|
45fb8ba069ac0ee54ca4922634b706126e3c6aea
|
[
"Apache-2.0"
] | 41
|
2019-04-29T07:15:59.000Z
|
2022-03-15T07:44:04.000Z
|
tests/test_heremaps.py
|
schaemar/routing-py
|
45fb8ba069ac0ee54ca4922634b706126e3c6aea
|
[
"Apache-2.0"
] | 13
|
2019-05-03T09:26:30.000Z
|
2022-03-02T21:17:58.000Z
|
# -*- coding: utf-8 -*-
# Copyright (C) 2021 GIS OPS UG
#
#
# 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 the HereMaps module."""
from routingpy import HereMaps
from routingpy.direction import Direction, Directions
from routingpy.isochrone import Isochrones, Isochrone
from routingpy.matrix import Matrix
from tests.test_helper import *
import tests as _test
import responses
from copy import deepcopy
class HereMapsTest(_test.TestCase):
name = "heremaps"
def setUp(self):
self.app_id = "sample_app_id"
self.app_code = "sample_app_code"
self.client = HereMaps(app_id=self.app_id, app_code=self.app_code)
@responses.activate
def test_full_directions(self):
query = ENDPOINTS_QUERIES[self.name]["directions"]
responses.add(
responses.GET,
"https://route.api.here.com/routing/7.2/calculateroute.json",
status=200,
json=ENDPOINTS_RESPONSES[self.name]["directions"],
content_type="application/json",
)
self.client.directions(**query)
self.assertEqual(1, len(responses.calls))
self.assertURLEqual(
"https://route.api.here.com/routing/7.2/calculateroute.json?alternatives=3&app_code=sample_app_code&"
"app_id=sample_app_id&avoidAreas=49.420577%2C8.688641%3B49.415776%2C8.680916%2149.445776%2C8.780916%3B49.445776%2C8.780916&"
"avoidLinks=-53623477&avoidSeasonalClosures=true&avoidTurns=difficult&combineChange=false&consumptionModel=default&"
"departure=2021-03-29T03%3A00%3A00&excludeCountries=AUT%2CCHE&excludeZoneTypes=vignette%2CcongestionPricing&"
"excludeZones=510%2C511&generalizationTolerances=0.1%2C0.01&height=20&instructionFormat=text&jsonAttributes=9&"
"legAttributes=maneuvers%2Cwaypoint%2Clength%2CtravelTime&length=10&licensePlate=lastcharacter%3A5&limitedWeight=10&"
"linkAttributes=shape%2CspeedLimit&maneuverAttributes=position%2Clength%2CtravelTime&maxNumberOfChanges=5&"
"metricSystem=metric&mode=fastest%3Btruck&requestId=101&resolution=300%3A300&returnElevation=true&"
"routeAttributes=waypoints%2Csummary%2CsummaryByCountry%2Cshape%2CboundingBox%2Clegs%2Cnotes%2Clines%2CrouteId%2Cgroups%2Ctickets%2Cincidents%2Czones&"
"shippedHazardousGoods=gas%2Cflammable&speedProfile=fast&trailersCount=3&truckRestrictionPenalty=soft&truckType=truck&vehicleType=diesel%2C5.5&"
"viewBounds=49.420577%2C8.688641%3B49.415776%2C8.680916&waypoint0=geo%2149.420577%2C8.688641&waypoint1=geo%2149.415776%2C8.680916&"
"waypoint2=geo%2149.445776%2C8.780916&weightPerAxle=100&width=10",
responses.calls[0].request.url,
)
@responses.activate
def test_directions_object_response(self):
query = ENDPOINTS_QUERIES[self.name]["directions"]
query["alternatives"] = 1
responses.add(
responses.GET,
"https://route.api.here.com/routing/7.2/calculateroute.json",
status=200,
json=ENDPOINTS_RESPONSES[self.name]["directions"],
content_type="application/json",
)
routes = self.client.directions(**query)
self.assertEqual(1, len(responses.calls))
self.assertURLEqual(
"https://route.api.here.com/routing/7.2/calculateroute.json?alternatives=1&app_code=sample_app_code&"
"app_id=sample_app_id&avoidAreas=49.420577%2C8.688641%3B49.415776%2C8.680916%2149.445776%2C8.780916%3B49.445776%2C8.780916&"
"avoidLinks=-53623477&avoidSeasonalClosures=true&avoidTurns=difficult&combineChange=false&consumptionModel=default&"
"departure=2021-03-29T03%3A00%3A00&excludeCountries=AUT%2CCHE&excludeZoneTypes=vignette%2CcongestionPricing&"
"excludeZones=510%2C511&generalizationTolerances=0.1%2C0.01&height=20&instructionFormat=text&jsonAttributes=9&"
"legAttributes=maneuvers%2Cwaypoint%2Clength%2CtravelTime&length=10&licensePlate=lastcharacter%3A5&limitedWeight=10&"
"linkAttributes=shape%2CspeedLimit&maneuverAttributes=position%2Clength%2CtravelTime&maxNumberOfChanges=5&"
"metricSystem=metric&mode=fastest%3Btruck&requestId=101&resolution=300%3A300&returnElevation=true&"
"routeAttributes=waypoints%2Csummary%2CsummaryByCountry%2Cshape%2CboundingBox%2Clegs%2Cnotes%2Clines%2CrouteId%2Cgroups%2Ctickets%2Cincidents%2Czones&"
"shippedHazardousGoods=gas%2Cflammable&speedProfile=fast&trailersCount=3&truckRestrictionPenalty=soft&truckType=truck&vehicleType=diesel%2C5.5&"
"viewBounds=49.420577%2C8.688641%3B49.415776%2C8.680916&waypoint0=geo%2149.420577%2C8.688641&waypoint1=geo%2149.415776%2C8.680916&"
"waypoint2=geo%2149.445776%2C8.780916&weightPerAxle=100&width=10",
responses.calls[0].request.url,
)
self.assertIsInstance(routes, Direction)
self.assertIsInstance(routes.geometry, list)
self.assertIsInstance(routes.duration, int)
self.assertIsInstance(routes.distance, int)
self.assertIsInstance(routes.raw, dict)
@responses.activate
def test_directions_object_response_alternatives(self):
query = ENDPOINTS_QUERIES[self.name]["directions"]
query["alternatives"] = 3
responses.add(
responses.GET,
"https://route.api.here.com/routing/7.2/calculateroute.json",
status=200,
json=ENDPOINTS_RESPONSES[self.name]["directions"],
content_type="application/json",
)
routes = self.client.directions(**query)
self.assertEqual(1, len(responses.calls))
self.assertURLEqual(
"https://route.api.here.com/routing/7.2/calculateroute.json?alternatives=3&app_code=sample_app_code&"
"app_id=sample_app_id&avoidAreas=49.420577%2C8.688641%3B49.415776%2C8.680916%2149.445776%2C8.780916%3B49.445776%2C8.780916&"
"avoidLinks=-53623477&avoidSeasonalClosures=true&avoidTurns=difficult&combineChange=false&consumptionModel=default&"
"departure=2021-03-29T03%3A00%3A00&excludeCountries=AUT%2CCHE&excludeZoneTypes=vignette%2CcongestionPricing&"
"excludeZones=510%2C511&generalizationTolerances=0.1%2C0.01&height=20&instructionFormat=text&jsonAttributes=9&"
"legAttributes=maneuvers%2Cwaypoint%2Clength%2CtravelTime&length=10&licensePlate=lastcharacter%3A5&limitedWeight=10&"
"linkAttributes=shape%2CspeedLimit&maneuverAttributes=position%2Clength%2CtravelTime&maxNumberOfChanges=5&"
"metricSystem=metric&mode=fastest%3Btruck&requestId=101&resolution=300%3A300&returnElevation=true&"
"routeAttributes=waypoints%2Csummary%2CsummaryByCountry%2Cshape%2CboundingBox%2Clegs%2Cnotes%2Clines%2CrouteId%2Cgroups%2Ctickets%2Cincidents%2Czones&"
"shippedHazardousGoods=gas%2Cflammable&speedProfile=fast&trailersCount=3&truckRestrictionPenalty=soft&truckType=truck&vehicleType=diesel%2C5.5&"
"viewBounds=49.420577%2C8.688641%3B49.415776%2C8.680916&waypoint0=geo%2149.420577%2C8.688641&waypoint1=geo%2149.415776%2C8.680916&"
"waypoint2=geo%2149.445776%2C8.780916&weightPerAxle=100&width=10",
responses.calls[0].request.url,
)
self.assertIsInstance(routes, Directions)
self.assertEqual(3, len(routes))
for route in routes:
self.assertIsInstance(route, Direction)
self.assertIsInstance(route.geometry, list)
self.assertIsInstance(route.duration, int)
self.assertIsInstance(route.distance, int)
self.assertIsInstance(route.raw, dict)
@responses.activate
def test_full_isochrones_response_object(self):
query = ENDPOINTS_QUERIES[self.name]["isochrones"]
responses.add(
responses.GET,
"https://isoline.route.api.here.com/routing/7.2/calculateisoline.json",
status=200,
json=ENDPOINTS_RESPONSES[self.name]["isochrones"],
content_type="application/json",
)
isochrones = self.client.isochrones(**query)
self.assertEqual(1, len(responses.calls))
self.assertURLEqual(
"https://isoline.route.api.here.com/routing/7.2/calculateisoline.json?app_code=sample_app_code&"
"app_id=sample_app_id&mode=fastest%3Bcar&quality=1&range=1000%2C2000%2C3000&rangeType=distance&"
"singleComponent=false&start=geo%2148.23424%2C8.34234",
responses.calls[0].request.url,
)
self.assertIsInstance(isochrones, Isochrones)
self.assertEqual(3, len(isochrones))
for iso in isochrones:
self.assertIsInstance(iso, Isochrone)
self.assertIsInstance(iso.geometry, list)
self.assertIsInstance(iso.center, list)
self.assertIsInstance(iso.interval, int)
@responses.activate
def test_full_matrix(self):
query = ENDPOINTS_QUERIES[self.name]["matrix"]
responses.add(
responses.GET,
"https://matrix.route.api.here.com/routing/7.2/calculatematrix.json",
status=200,
json=ENDPOINTS_RESPONSES[self.name]["matrix"],
content_type="application/json",
)
matrix = self.client.matrix(**query)
self.assertEqual(1, len(responses.calls))
self.assertURLEqual(
"https://matrix.route.api.here.com/routing/7.2/calculatematrix.json?app_code=sample_app_code&"
"app_id=sample_app_id&destination0=geo%2149.445776%2C8.780916&height=20&length=10&limitedWeight=10&"
"mode=fastest%3Bcar&shippedHazardousGoods=gas%2Cflammable&start0=geo%2149.420577%2C8.688641&"
"start1=geo%2149.415776%2C8.680916&summaryAttributes=traveltime%2Ccostfactor&trailersCount=3&truckType=truck&"
"weightPerAxle=100&width=10",
responses.calls[0].request.url,
)
self.assertIsInstance(matrix, Matrix)
self.assertIsInstance(matrix.durations, list)
self.assertIsInstance(matrix.distances, list)
self.assertIsInstance(matrix.raw, dict)
def test_index_sources_matrix(self):
query = deepcopy(ENDPOINTS_QUERIES[self.name]["matrix"])
query["sources"] = [100]
self.assertRaises(IndexError, lambda: self.client.matrix(**query))
def test_index_destinations_matrix(self):
query = deepcopy(ENDPOINTS_QUERIES[self.name]["matrix"])
query["destinations"] = [100]
self.assertRaises(IndexError, lambda: self.client.matrix(**query))
class HereMapsKeyTest(_test.TestCase):
name = "heremaps"
def setUp(self):
self.api_key = "sample_api_key"
self.client = HereMaps(api_key=self.api_key)
@responses.activate
def test_full_directions(self):
query = ENDPOINTS_QUERIES[self.name]["directions"]
responses.add(
responses.GET,
"https://route.ls.hereapi.com/routing/7.2/calculateroute.json",
status=200,
json=ENDPOINTS_RESPONSES[self.name]["directions"],
content_type="application/json",
)
self.client.directions(**query)
self.assertEqual(1, len(responses.calls))
self.assertURLEqual(
"https://route.ls.hereapi.com/routing/7.2/calculateroute.json?alternatives=3&apikey=sample_api_key&"
"avoidAreas=49.420577%2C8.688641%3B49.415776%2C8.680916%2149.445776%2C8.780916%3B49.445776%2C8.780916&"
"avoidLinks=-53623477&avoidSeasonalClosures=true&avoidTurns=difficult&combineChange=false&consumptionModel=default&"
"departure=2021-03-29T03%3A00%3A00&excludeCountries=AUT%2CCHE&excludeZoneTypes=vignette%2CcongestionPricing&"
"excludeZones=510%2C511&generalizationTolerances=0.1%2C0.01&height=20&instructionFormat=text&jsonAttributes=9&"
"legAttributes=maneuvers%2Cwaypoint%2Clength%2CtravelTime&length=10&licensePlate=lastcharacter%3A5&limitedWeight=10&"
"linkAttributes=shape%2CspeedLimit&maneuverAttributes=position%2Clength%2CtravelTime&maxNumberOfChanges=5&"
"metricSystem=metric&mode=fastest%3Btruck&requestId=101&resolution=300%3A300&returnElevation=true&"
"routeAttributes=waypoints%2Csummary%2CsummaryByCountry%2Cshape%2CboundingBox%2Clegs%2Cnotes%2Clines%2CrouteId%2Cgroups%2Ctickets%2Cincidents%2Czones&"
"shippedHazardousGoods=gas%2Cflammable&speedProfile=fast&trailersCount=3&truckRestrictionPenalty=soft&truckType=truck&vehicleType=diesel%2C5.5&"
"viewBounds=49.420577%2C8.688641%3B49.415776%2C8.680916&waypoint0=geo%2149.420577%2C8.688641&waypoint1=geo%2149.415776%2C8.680916&"
"waypoint2=geo%2149.445776%2C8.780916&weightPerAxle=100&width=10",
responses.calls[0].request.url,
)
@responses.activate
def test_directions_object_response(self):
query = ENDPOINTS_QUERIES[self.name]["directions"]
query["alternatives"] = 1
responses.add(
responses.GET,
"https://route.ls.hereapi.com/routing/7.2/calculateroute.json",
status=200,
json=ENDPOINTS_RESPONSES[self.name]["directions"],
content_type="application/json",
)
routes = self.client.directions(**query)
self.assertEqual(1, len(responses.calls))
self.assertURLEqual(
"https://route.ls.hereapi.com/routing/7.2/calculateroute.json?alternatives=1&apikey=sample_api_key&"
"avoidAreas=49.420577%2C8.688641%3B49.415776%2C8.680916%2149.445776%2C8.780916%3B49.445776%2C8.780916&"
"avoidLinks=-53623477&avoidSeasonalClosures=true&avoidTurns=difficult&combineChange=false&consumptionModel=default&"
"departure=2021-03-29T03%3A00%3A00&excludeCountries=AUT%2CCHE&excludeZoneTypes=vignette%2CcongestionPricing&"
"excludeZones=510%2C511&generalizationTolerances=0.1%2C0.01&height=20&instructionFormat=text&jsonAttributes=9&"
"legAttributes=maneuvers%2Cwaypoint%2Clength%2CtravelTime&length=10&licensePlate=lastcharacter%3A5&limitedWeight=10&"
"linkAttributes=shape%2CspeedLimit&maneuverAttributes=position%2Clength%2CtravelTime&maxNumberOfChanges=5&"
"metricSystem=metric&mode=fastest%3Btruck&requestId=101&resolution=300%3A300&returnElevation=true&"
"routeAttributes=waypoints%2Csummary%2CsummaryByCountry%2Cshape%2CboundingBox%2Clegs%2Cnotes%2Clines%2CrouteId%2Cgroups%2Ctickets%2Cincidents%2Czones&"
"shippedHazardousGoods=gas%2Cflammable&speedProfile=fast&trailersCount=3&truckRestrictionPenalty=soft&truckType=truck&vehicleType=diesel%2C5.5&"
"viewBounds=49.420577%2C8.688641%3B49.415776%2C8.680916&waypoint0=geo%2149.420577%2C8.688641&waypoint1=geo%2149.415776%2C8.680916&"
"waypoint2=geo%2149.445776%2C8.780916&weightPerAxle=100&width=10",
responses.calls[0].request.url,
)
self.assertIsInstance(routes, Direction)
self.assertIsInstance(routes.geometry, list)
self.assertIsInstance(routes.duration, int)
self.assertIsInstance(routes.distance, int)
self.assertIsInstance(routes.raw, dict)
@responses.activate
def test_directions_object_response_alternatives(self):
query = ENDPOINTS_QUERIES[self.name]["directions"]
query["alternatives"] = 3
responses.add(
responses.GET,
"https://route.ls.hereapi.com/routing/7.2/calculateroute.json",
status=200,
json=ENDPOINTS_RESPONSES[self.name]["directions"],
content_type="application/json",
)
routes = self.client.directions(**query)
self.assertEqual(1, len(responses.calls))
self.assertURLEqual(
"https://route.ls.hereapi.com/routing/7.2/calculateroute.json?alternatives=3&apikey=sample_api_key&"
"avoidAreas=49.420577%2C8.688641%3B49.415776%2C8.680916%2149.445776%2C8.780916%3B49.445776%2C8.780916&"
"avoidLinks=-53623477&avoidSeasonalClosures=true&avoidTurns=difficult&combineChange=false&consumptionModel=default&"
"departure=2021-03-29T03%3A00%3A00&excludeCountries=AUT%2CCHE&excludeZoneTypes=vignette%2CcongestionPricing&"
"excludeZones=510%2C511&generalizationTolerances=0.1%2C0.01&height=20&instructionFormat=text&jsonAttributes=9&"
"legAttributes=maneuvers%2Cwaypoint%2Clength%2CtravelTime&length=10&licensePlate=lastcharacter%3A5&limitedWeight=10&"
"linkAttributes=shape%2CspeedLimit&maneuverAttributes=position%2Clength%2CtravelTime&maxNumberOfChanges=5&"
"metricSystem=metric&mode=fastest%3Btruck&requestId=101&resolution=300%3A300&returnElevation=true&"
"routeAttributes=waypoints%2Csummary%2CsummaryByCountry%2Cshape%2CboundingBox%2Clegs%2Cnotes%2Clines%2CrouteId%2Cgroups%2Ctickets%2Cincidents%2Czones&"
"shippedHazardousGoods=gas%2Cflammable&speedProfile=fast&trailersCount=3&truckRestrictionPenalty=soft&truckType=truck&vehicleType=diesel%2C5.5&"
"viewBounds=49.420577%2C8.688641%3B49.415776%2C8.680916&waypoint0=geo%2149.420577%2C8.688641&waypoint1=geo%2149.415776%2C8.680916&"
"waypoint2=geo%2149.445776%2C8.780916&weightPerAxle=100&width=10",
responses.calls[0].request.url,
)
self.assertIsInstance(routes, Directions)
self.assertEqual(3, len(routes))
for route in routes:
self.assertIsInstance(route, Direction)
self.assertIsInstance(route.geometry, list)
self.assertIsInstance(route.duration, int)
self.assertIsInstance(route.distance, int)
self.assertIsInstance(route.raw, dict)
@responses.activate
def test_full_isochrones_response_object(self):
query = ENDPOINTS_QUERIES[self.name]["isochrones"]
responses.add(
responses.GET,
"https://isoline.route.ls.hereapi.com/routing/7.2/calculateisoline.json",
status=200,
json=ENDPOINTS_RESPONSES[self.name]["isochrones"],
content_type="application/json",
)
isochrones = self.client.isochrones(**query)
self.assertEqual(1, len(responses.calls))
self.assertURLEqual(
"https://isoline.route.ls.hereapi.com/routing/7.2/calculateisoline.json?apikey=sample_api_key&"
"mode=fastest%3Bcar&quality=1&range=1000%2C2000%2C3000&rangeType=distance&"
"singleComponent=false&start=geo%2148.23424%2C8.34234",
responses.calls[0].request.url,
)
self.assertIsInstance(isochrones, Isochrones)
self.assertEqual(3, len(isochrones))
for iso in isochrones:
self.assertIsInstance(iso, Isochrone)
self.assertIsInstance(iso.geometry, list)
self.assertIsInstance(iso.center, list)
self.assertIsInstance(iso.interval, int)
@responses.activate
def test_full_matrix(self):
query = ENDPOINTS_QUERIES[self.name]["matrix"]
responses.add(
responses.GET,
"https://matrix.route.ls.hereapi.com/routing/7.2/calculatematrix.json",
status=200,
json=ENDPOINTS_RESPONSES[self.name]["matrix"],
content_type="application/json",
)
matrix = self.client.matrix(**query)
self.assertEqual(1, len(responses.calls))
self.assertURLEqual(
"https://matrix.route.ls.hereapi.com/routing/7.2/calculatematrix.json?apikey=sample_api_key&"
"destination0=geo%2149.445776%2C8.780916&height=20&length=10&limitedWeight=10&"
"mode=fastest%3Bcar&shippedHazardousGoods=gas%2Cflammable&start0=geo%2149.420577%2C8.688641&"
"start1=geo%2149.415776%2C8.680916&summaryAttributes=traveltime%2Ccostfactor&trailersCount=3&truckType=truck&"
"weightPerAxle=100&width=10",
responses.calls[0].request.url,
)
self.assertIsInstance(matrix, Matrix)
self.assertIsInstance(matrix.durations, list)
self.assertIsInstance(matrix.distances, list)
self.assertIsInstance(matrix.raw, dict)
def test_index_sources_matrix(self):
query = deepcopy(ENDPOINTS_QUERIES[self.name]["matrix"])
query["sources"] = [100]
self.assertRaises(IndexError, lambda: self.client.matrix(**query))
def test_index_destinations_matrix(self):
query = deepcopy(ENDPOINTS_QUERIES[self.name]["matrix"])
query["destinations"] = [100]
self.assertRaises(IndexError, lambda: self.client.matrix(**query))
| 52.9325
| 163
| 0.70316
| 2,289
| 21,173
| 6.445173
| 0.122324
| 0.054226
| 0.014912
| 0.016268
| 0.942588
| 0.937708
| 0.937708
| 0.937708
| 0.932149
| 0.932149
| 0
| 0.103876
| 0.17749
| 21,173
| 399
| 164
| 53.065163
| 0.743267
| 0.028574
| 0
| 0.849231
| 0
| 0.215385
| 0.508298
| 0.406142
| 0
| 0
| 0
| 0
| 0.209231
| 1
| 0.049231
| false
| 0
| 0.024615
| 0
| 0.086154
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 9
|
86c9825bfcfcba766fe9e3705a5ed4b8264be2bb
| 19,957
|
py
|
Python
|
psydac/linalg/tests/test_stencil_matrix.py
|
GabrielJie/psydac
|
51814f04501fa14bc100f0ab224f50a2bbe86612
|
[
"MIT"
] | 1
|
2022-01-19T02:26:49.000Z
|
2022-01-19T02:26:49.000Z
|
psydac/linalg/tests/test_stencil_matrix.py
|
GabrielJie/psydac
|
51814f04501fa14bc100f0ab224f50a2bbe86612
|
[
"MIT"
] | null | null | null |
psydac/linalg/tests/test_stencil_matrix.py
|
GabrielJie/psydac
|
51814f04501fa14bc100f0ab224f50a2bbe86612
|
[
"MIT"
] | null | null | null |
# -*- coding: UTF-8 -*-
import pytest
import numpy as np
from random import random
from psydac.linalg.stencil import StencilVectorSpace, StencilVector, StencilMatrix
#===============================================================================
# SERIAL TESTS
#===============================================================================
@pytest.mark.parametrize( 'n1', [7,15] )
@pytest.mark.parametrize( 'n2', [8,12] )
@pytest.mark.parametrize( 'p1', [1,2,3] )
@pytest.mark.parametrize( 'p2', [1,2,3] )
def test_stencil_matrix_2d_serial_init( n1, n2, p1, p2, P1=True, P2=False ):
V = StencilVectorSpace( [n1,n2], [p1,p2], [P1,P1] )
M = StencilMatrix( V, V )
assert M._data.shape == (n1+2*p1, n2+2*p2, 1+2*p1, 1+2*p2)
assert M.shape == (n1*n2, n1*n2)
#===============================================================================
@pytest.mark.parametrize( 'n1', [7,15] )
@pytest.mark.parametrize( 'n2', [8,12] )
@pytest.mark.parametrize( 'p1', [1,2,3] )
@pytest.mark.parametrize( 'p2', [1,2,3] )
def test_stencil_matrix_2d_serial_toarray( n1, n2, p1, p2, P1=False, P2=True ):
# Select non-zero values based on diagonal index
nonzero_values = dict()
for k1 in range(-p1,p1+1):
for k2 in range(-p2,p2+1):
nonzero_values[k1,k2] = 10*k1 + k2
# Create vector space and stencil matrix
V = StencilVectorSpace( [n1,n2], [p1,p2], [P1,P2] )
M = StencilMatrix( V, V )
# Fill in stencil matrix values
for k1 in range(-p1,p1+1):
for k2 in range(-p2,p2+1):
M[:,:,k1,k2] = nonzero_values[k1,k2]
# If any dimension is not periodic, set corresponding periodic corners to zero
M.remove_spurious_entries()
# Convert stencil matrix to 2D array
Ma = M.toarray()
# Construct exact matrix by hand
A = np.zeros( M.shape )
for i1 in range(n1):
for i2 in range(n2):
for k1 in range(-p1,p1+1):
for k2 in range(-p2,p2+1):
j1 = (i1+k1) % n1
j2 = (i2+k2) % n2
i = i1*(n2) + i2
j = j1*(n2) + j2
if (P1 or 0 <= i1+k1 < n1) and (P2 or 0 <= i2+k2 < n2):
A[i,j] = nonzero_values[k1,k2]
# Check shape and data in 2D array
assert Ma.shape == M.shape
assert np.all( Ma == A )
#===============================================================================
@pytest.mark.parametrize( 'n1', [10,32] )
@pytest.mark.parametrize( 'p1', [1,2,3] )
@pytest.mark.parametrize( 'P1', [True, False] )
def test_stencil_matrix_1d_serial_dot( n1, p1, P1 ):
# Create vector space, stencil matrix, and stencil vector
V = StencilVectorSpace( [n1,], [p1,], [P1,] )
M = StencilMatrix( V, V )
x = StencilVector( V )
# Fill in stencil matrix values based on diagonal index (periodic!)
for k1 in range(-p1,p1+1):
M[:,k1] = k1
# If domain is not periodic, set corresponding periodic corners to zero
M.remove_spurious_entries()
# Fill in vector with random values, then update ghost regions
for i1 in range(n1):
x[i1] = 2.0*random() - 1.0
x.update_ghost_regions()
# Compute matrix-vector product
y = M.dot(x)
assert isinstance( y, StencilVector )
assert y.space is x.space
# Convert stencil objects to Scipy sparse matrix and 1D Numpy arrays
Ms = M.tosparse()
xa = x.toarray()
ya = y.toarray()
# Exact result using Scipy sparse dot product
ya_exact = Ms.dot( xa )
# Check data in 1D array
assert np.allclose( ya, ya_exact, rtol=1e-14, atol=1e-14 )
#===============================================================================
@pytest.mark.parametrize( 'n1', [5,15] )
@pytest.mark.parametrize( 'n2', [5,12] )
@pytest.mark.parametrize( 'p1', [1,2,3] )
@pytest.mark.parametrize( 'p2', [1,2,3] )
@pytest.mark.parametrize( 'P1', [True, False] )
@pytest.mark.parametrize( 'P2', [True, False] )
def test_stencil_matrix_2d_serial_dot( n1, n2, p1, p2, P1, P2 ):
# Create vector space, stencil matrix, and stencil vector
V = StencilVectorSpace( [n1,n2], [p1,p2], [P1,P2] )
M = StencilMatrix( V, V )
x = StencilVector( V )
# Fill in stencil matrix values based on diagonal index (periodic!)
for k1 in range(-p1,p1+1):
for k2 in range(-p2,p2+1):
M[:,:,k1,k2] = 10*k1+k2
# If any dimension is not periodic, set corresponding periodic corners to zero
M.remove_spurious_entries()
# Fill in vector with random values, then update ghost regions
for i1 in range(n1):
for i2 in range(n2):
x[i1,i2] = 2.0*random() - 1.0
x.update_ghost_regions()
# Compute matrix-vector product
y = M.dot(x)
# Convert stencil objects to Numpy arrays
Ma = M.toarray()
xa = x.toarray()
ya = y.toarray()
# Exact result using Numpy dot product
ya_exact = np.dot( Ma, xa )
# Check data in 1D array
assert np.allclose( ya, ya_exact, rtol=1e-13, atol=1e-13 )
#===============================================================================
@pytest.mark.parametrize( 'n1', [4, 10, 32] )
@pytest.mark.parametrize( 'p1', [1, 2, 3] )
@pytest.mark.parametrize( 'P1', [True, False] )
def test_stencil_matrix_1d_serial_transpose( n1, p1, P1 ):
# Create vector space and stencil matrix
V = StencilVectorSpace( [n1], [p1], [P1] )
M = StencilMatrix( V, V )
# Fill in matrix values with random numbers between 0 and 1
M[0:n1, -p1:p1+1] = np.random.random( (n1, 2*p1+1) )
# If domain is not periodic, set corresponding periodic corners to zero
M.remove_spurious_entries()
# TEST: compute transpose, then convert to Numpy array
Ta = M.transpose().toarray()
# Exact result: convert to Numpy array, then transpose
Ta_exact = M.toarray().transpose()
# Check data
assert np.array_equal( Ta, Ta_exact )
#===============================================================================
@pytest.mark.parametrize( 'n1', [5, 15] )
@pytest.mark.parametrize( 'n2', [5, 12] )
@pytest.mark.parametrize( 'p1', [1, 2, 3] )
@pytest.mark.parametrize( 'p2', [1, 2, 3] )
@pytest.mark.parametrize( 'P1', [True, False] )
@pytest.mark.parametrize( 'P2', [True, False] )
def test_stencil_matrix_2d_serial_transpose( n1, n2, p1, p2, P1, P2 ):
# Create vector space and stencil matrix
V = StencilVectorSpace( [n1, n2], [p1, p2], [P1, P2] )
M = StencilMatrix( V, V )
# Fill in matrix values with random numbers between 0 and 1
M[0:n1, 0:n2, -p1:p1+1, -p2:p2+1] = np.random.random((n1, n2, 2*p1+1, 2*p2+1))
M.remove_spurious_entries()
# If domain is not periodic, set corresponding periodic corners to zero
M.remove_spurious_entries()
# TEST: compute transpose, then convert to Scipy sparse format
Ts = M.transpose().tosparse()
# Exact result: convert to Scipy sparse format, then transpose
Ts_exact = M.tosparse().transpose()
# Check data
assert abs(Ts - Ts_exact).max() < 1e-14
#===============================================================================
# PARALLEL TESTS
#===============================================================================
@pytest.mark.parametrize( 'n1', [20,67] )
@pytest.mark.parametrize( 'p1', [1,2,3] )
@pytest.mark.parametrize( 'P1', [True, False] )
@pytest.mark.parametrize( 'reorder', [True, False] )
@pytest.mark.parallel
def test_stencil_matrix_1d_parallel_dot( n1, p1, P1, reorder ):
from mpi4py import MPI
from psydac.ddm.cart import CartDecomposition
comm = MPI.COMM_WORLD
cart = CartDecomposition(
npts = [n1,],
pads = [p1,],
periods = [P1,],
reorder = reorder,
comm = comm
)
V = StencilVectorSpace( cart )
M = StencilMatrix( V, V )
x = StencilVector( V )
s1, = V.starts
e1, = V.ends
# Fill in stencil matrix values based on diagonal index (periodic!)
for k1 in range(-p1,p1+1):
M[:,k1] = k1
# If domain is not periodic, set corresponding periodic corners to zero
M.remove_spurious_entries()
# Fill in vector with random values, then update ghost regions
for i1 in range(x.starts[0],x.ends[0]+1):
x[i1] = 2.0*random() - 1.0
x.update_ghost_regions()
# Compute matrix-vector product
y = M.dot( x )
assert isinstance( y, StencilVector )
assert y.space is x.space
# Convert stencil objects to Scipy sparse matrix and 1D Numpy arrays
Ms = M.tosparse()
xa = x.toarray( with_pads=True )
ya = y.toarray()
# Exact result using Scipy sparse dot product
ya_exact = Ms.dot( xa )
# Check data in 1D array
assert np.allclose( ya, ya_exact, rtol=1e-14, atol=1e-14 )
#===============================================================================
@pytest.mark.parametrize( 'n1', [ 8,21] )
@pytest.mark.parametrize( 'n2', [13,32] )
@pytest.mark.parametrize( 'p1', [1,3] )
@pytest.mark.parametrize( 'p2', [1,2] )
@pytest.mark.parametrize( 'P1', [True, False] )
@pytest.mark.parametrize( 'P2', [True, False] )
@pytest.mark.parametrize( 'reorder', [True, False] )
@pytest.mark.parallel
def test_stencil_matrix_2d_parallel_dot( n1, n2, p1, p2, P1, P2, reorder ):
from mpi4py import MPI
from psydac.ddm.cart import CartDecomposition
comm = MPI.COMM_WORLD
cart = CartDecomposition(
npts = [n1,n2],
pads = [p1,p2],
periods = [P1,P2],
reorder = reorder,
comm = comm
)
# Create vector space, stencil matrix, and stencil vector
V = StencilVectorSpace( cart )
M = StencilMatrix( V, V )
x = StencilVector( V )
s1,s2 = V.starts
e1,e2 = V.ends
# Fill in stencil matrix values based on diagonal index (periodic!)
for k1 in range(-p1,p1+1):
for k2 in range(-p2,p2+1):
M[:,:,k1,k2] = 10*k1+k2
# If any dimension is not periodic, set corresponding periodic corners to zero
M.remove_spurious_entries()
# Fill in vector with random values, then update ghost regions
for i1 in range(s1,e1+1):
for i2 in range(s2,e2+1):
x[i1,i2] = 2.0*random() - 1.0
x.update_ghost_regions()
# Compute matrix-vector product
y = M.dot(x)
assert isinstance( y, StencilVector )
assert y.space is x.space
# Convert stencil objects to Numpy arrays
Ma = M.toarray()
xa = x.toarray( with_pads=True )
ya = y.toarray()
# Exact result using Numpy dot product
ya_exact = np.dot( Ma, xa )
# Check data in 1D array
assert np.allclose( ya, ya_exact, rtol=1e-13, atol=1e-13 )
#===============================================================================
@pytest.mark.parametrize( 'n1', [20,67] )
@pytest.mark.parametrize( 'p1', [1,2,3] )
@pytest.mark.parametrize( 'P1', [True, False] )
@pytest.mark.parametrize( 'reorder', [True, False] )
@pytest.mark.parallel
def test_stencil_matrix_1d_parallel_sync( n1, p1, P1, reorder ):
from mpi4py import MPI
from psydac.ddm.cart import CartDecomposition
comm = MPI.COMM_WORLD
cart = CartDecomposition(
npts = [n1,],
pads = [p1,],
periods = [P1,],
reorder = reorder,
comm = comm
)
V = StencilVectorSpace( cart, dtype=int )
M = StencilMatrix( V, V )
s1, = V.starts
e1, = V.ends
# Fill-in pattern
fill_in = lambda i1, k1 : 10*i1+k1
# Fill in stencil matrix
for i1 in range(s1, e1+1):
for k1 in range(-p1, p1+1):
M[i1,k1] = fill_in( i1, k1 )
# If domain is not periodic, set corresponding periodic corners to zero
M.remove_spurious_entries()
# TEST: update ghost regions
M.update_ghost_regions()
# Convert stencil object to 1D Numpy array
Ma = M.toarray( with_pads=True )
# Create exact solution
Me = np.zeros( (n1,n1), dtype=V.dtype )
for i1 in range(n1):
for k1 in range(-p1, p1+1):
# Get column index
j1 = i1 + k1
# If j1 is outside matrix limits, apply periodic BCs or skip entry
if not 0 <= j1 < n1:
if P1:
j1 = j1 % n1
else:
continue
# Fill in matrix element
Me[i1,j1] = fill_in( i1, k1 )
# Compare local solution to global
i1_min = max(0, s1-p1)
i1_max = min(e1+p1+1, n1)
# for i in range( comm.size ):
# if i == comm.rank:
# print( "RANK {}:".format( i ) )
# print( M._data.shape )
# print( Ma.shape )
# print( Ma )
# print( "PASSED" )
# print( flush=True )
# comm.Barrier()
assert np.array_equal( Ma[i1_min:i1_max, :], Me[i1_min:i1_max, :] )
#===============================================================================
@pytest.mark.parametrize( 'n1', [21,67] )
@pytest.mark.parametrize( 'n2', [13,32] )
@pytest.mark.parametrize( 'p1', [1,3] )
@pytest.mark.parametrize( 'p2', [1,2] )
@pytest.mark.parametrize( 'P1', [True, False] )
@pytest.mark.parametrize( 'P2', [True, False] )
@pytest.mark.parametrize( 'reorder', [True, False] )
@pytest.mark.parallel
def test_stencil_matrix_2d_parallel_sync( n1, n2, p1, p2, P1, P2, reorder ):
from mpi4py import MPI
from psydac.ddm.cart import CartDecomposition
comm = MPI.COMM_WORLD
cart = CartDecomposition(
npts = [n1, n2],
pads = [p1, p2],
periods = [P1, P2],
reorder = reorder,
comm = comm
)
V = StencilVectorSpace( cart, dtype=int )
M = StencilMatrix( V, V )
s1, s2 = V.starts
e1, e2 = V.ends
# Fill-in pattern
fill_in = lambda i1, i2, k1, k2: 1000*i1 + 100*i2 + 10*abs(k1) + abs(k2)
# Fill in stencil matrix
for i1 in range(s1, e1+1):
for i2 in range(s2, e2+1):
for k1 in range(-p1, p1+1):
for k2 in range(-p2, p2+1):
M[i1, i2, k1, k2] = fill_in( i1, i2, k1, k2 )
# If domain is not periodic, set corresponding periodic corners to zero
M.remove_spurious_entries()
# TEST: update ghost regions
M.update_ghost_regions()
# Convert stencil object to 1D Numpy array
Ma = M.toarray( with_pads=True )
# Create exact solution
Me = np.zeros( (n1*n2, n1*n2), dtype=V.dtype )
for i1 in range(n1):
for i2 in range(n2):
for k1 in range(-p1, p1+1):
for k2 in range(-p2, p2+1):
# Get column multi-index
j1 = i1 + k1
j2 = i2 + k2
# If j1 is outside matrix limits,
# apply periodic BCs or skip entry
if not 0 <= j1 < n1:
if P1:
j1 = j1 % n1
else:
continue
# If j2 is outside matrix limits,
# apply periodic BCs or skip entry
if not 0 <= j2 < n2:
if P2:
j2 = j2 % n2
else:
continue
# Get matrix indices assuming C ordering
i = i1 * n2 + i2
j = j1 * n2 + j2
# Fill in matrix element
Me[i,j] = fill_in( i1, i2, k1, k2 )
# #++++++++++++++++++++++++++++++++++++++
# # DEBUG
# #++++++++++++++++++++++++++++++++++++++
# np.set_printoptions( linewidth=200 )
#
# if comm.rank == 0:
# print( 'Me' )
# print( Me )
# print( flush=True )
# comm.Barrier()
#
# for i in range(comm.size):
# if i == comm.rank:
# print( 'RANK {}'.format( i ) )
# print( Ma )
# print( flush=True )
# comm.Barrier()
# #++++++++++++++++++++++++++++++++++++++
# Compare local solution to global, row by row
i1_min = max(0, s1-p1)
i1_max = min(e1+p1+1, n1)
i2_min = max(0, s2-p2)
i2_max = min(e2+p2+1, n2)
for i1 in range( i1_min, i1_max ):
for i2 in range( i2_min, i2_max ):
i = i1 * n2 + i2
assert np.array_equal( Ma[i,:], Me[i,:] )
#===============================================================================
@pytest.mark.parametrize( 'n1', [20, 67] )
@pytest.mark.parametrize( 'p1', [1, 2, 3] )
@pytest.mark.parametrize( 'P1', [True, False] )
@pytest.mark.parametrize( 'reorder', [True, False] )
@pytest.mark.parallel
def test_stencil_matrix_1d_parallel_transpose( n1, p1, P1, reorder ):
from mpi4py import MPI
from psydac.ddm.cart import CartDecomposition
comm = MPI.COMM_WORLD
cart = CartDecomposition(
npts = [n1,],
pads = [p1,],
periods = [P1,],
reorder = reorder,
comm = comm
)
# Create vector space and stencil matrix
V = StencilVectorSpace( cart )
M = StencilMatrix( V, V )
s1, = V.starts
e1, = V.ends
# Fill in matrix values with random numbers between 0 and 1
M[s1:e1+1, -p1:p1+1] = np.random.random( (e1-s1+1, 2*p1+1) )
# If domain is not periodic, set corresponding periodic corners to zero
M.remove_spurious_entries()
# TEST: compute transpose, then convert to Numpy array
Ta = M.transpose().toarray()
# Exact result: convert to Numpy array including padding, then transpose,
# hence remove entries that do not belong to current process.
Ta_exact = M.toarray( with_pads=True ).transpose()
Ta_exact[ :s1, :] = 0.0
Ta_exact[e1+1:, :] = 0.0
# Check data
assert np.array_equal( Ta, Ta_exact )
#===============================================================================
@pytest.mark.parametrize( 'n1', [ 8, 21] )
@pytest.mark.parametrize( 'n2', [13, 32] )
@pytest.mark.parametrize( 'p1', [1, 3] )
@pytest.mark.parametrize( 'p2', [1, 2] )
@pytest.mark.parametrize( 'P1', [True, False] )
@pytest.mark.parametrize( 'P2', [True, False] )
@pytest.mark.parametrize( 'reorder', [True, False] )
@pytest.mark.parallel
def test_stencil_matrix_2d_parallel_transpose( n1, n2, p1, p2, P1, P2, reorder ):
from mpi4py import MPI
from psydac.ddm.cart import CartDecomposition
comm = MPI.COMM_WORLD
cart = CartDecomposition(
npts = [n1, n2],
pads = [p1, p2],
periods = [P1, P2],
reorder = reorder,
comm = comm
)
# Create vector space and stencil matrix
V = StencilVectorSpace( cart )
M = StencilMatrix( V, V )
s1, s2 = V.starts
e1, e2 = V.ends
# Fill in matrix values with random numbers between 0 and 1
M[s1:e1+1, s2:e2+1, -p1:p1+1, -p2:p2+1] = np.random.random(
(e1-s1+1, e2-s2+1, 2*p1+1, 2*p2+1))
# If domain is not periodic, set corresponding periodic corners to zero
M.remove_spurious_entries()
# TEST: compute transpose, then convert to Scipy sparse format
Ts = M.transpose().tosparse()
# Exact result: convert to Scipy sparse format, then transpose
Ts_exact = M.tosparse().transpose()
# Exact result: convert to Scipy sparse format including padding, then
# transpose, hence remove entries that do not belong to current process.
Ts_exact = M.tosparse( with_pads=True ).transpose()
#...
Ts_exact = Ts_exact.tocsr()
for i, j in zip(*Ts_exact.nonzero()):
i1, i2 = np.unravel_index( i, shape=[n1, n2], order='C' )
if not (s1 <= i1 <= e1 and s2 <= i2 <= e2):
Ts_exact[i, j] = 0.0
Ts_exact = Ts_exact.tocoo()
Ts_exact.eliminate_zeros()
#...
# Check data
assert abs(Ts - Ts_exact).max() < 1e-14
#===============================================================================
# SCRIPT FUNCTIONALITY
#===============================================================================
if __name__ == "__main__":
import sys
pytest.main( sys.argv )
| 31.182813
| 82
| 0.547577
| 2,646
| 19,957
| 4.06387
| 0.082766
| 0.060448
| 0.115224
| 0.047057
| 0.875291
| 0.847112
| 0.835581
| 0.823584
| 0.819585
| 0.798754
| 0
| 0.053393
| 0.262364
| 19,957
| 639
| 83
| 31.231612
| 0.67706
| 0.305607
| 0
| 0.769014
| 0
| 0
| 0.011447
| 0
| 0
| 0
| 0
| 0
| 0.056338
| 1
| 0.033803
| false
| 0
| 0.047887
| 0
| 0.08169
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
d4b31caf4816de876130a753be6c5a7379721f97
| 46,648
|
py
|
Python
|
test/foo.py
|
levibaba/pytiled_parser
|
c0d464359a7255e1c764a623b8b472ab1fe98cc6
|
[
"MIT"
] | null | null | null |
test/foo.py
|
levibaba/pytiled_parser
|
c0d464359a7255e1c764a623b8b472ab1fe98cc6
|
[
"MIT"
] | null | null | null |
test/foo.py
|
levibaba/pytiled_parser
|
c0d464359a7255e1c764a623b8b472ab1fe98cc6
|
[
"MIT"
] | null | null | null |
{'Coins': [[GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None)], [GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=Tile(gid='4', tilewidth=128, tileheight=128, source='images/coin_01.png', points=None), center_x=704, center_y=704), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=Tile(gid='4', tilewidth=128, tileheight=128, source='images/coin_01.png', points=None), center_x=4032, center_y=704), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None)], [GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=Tile(gid='4', tilewidth=128, tileheight=128, source='images/coin_01.png', points=None), center_x=5440, center_y=576), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None)], [GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=Tile(gid='4', tilewidth=128, tileheight=128, source='images/coin_01.png', points=None), center_x=3392, center_y=448), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None)], [GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None)], [GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None)], [GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None)]], 'Platforms': [[GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=Tile(gid='1', tilewidth=128, tileheight=128, source='images/grassLeft.png', points=None), center_x=3264, center_y=832), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=3392, center_y=832), GridLocation(tile=Tile(gid='3', tilewidth=128, tileheight=128, source='images/grassRight.png', points=None), center_x=3520, center_y=832), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None)], [GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None)], [GridLocation(tile=Tile(gid='0', tilewidth=128, tileheight=128, source='images/boxCrate_double.png', points=None), center_x=64, center_y=576), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=Tile(gid='1', tilewidth=128, tileheight=128, source='images/grassLeft.png', points=None), center_x=2624, center_y=576), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=2752, center_y=576), GridLocation(tile=Tile(gid='3', tilewidth=128, tileheight=128, source='images/grassRight.png', points=None), center_x=2880, center_y=576), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=Tile(gid='1', tilewidth=128, tileheight=128, source='images/grassLeft.png', points=None), center_x=3904, center_y=576), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=4032, center_y=576), GridLocation(tile=Tile(gid='3', tilewidth=128, tileheight=128, source='images/grassRight.png', points=None), center_x=4160, center_y=576), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=Tile(gid='0', tilewidth=128, tileheight=128, source='images/boxCrate_double.png', points=None), center_x=6336, center_y=576)], [GridLocation(tile=Tile(gid='0', tilewidth=128, tileheight=128, source='images/boxCrate_double.png', points=None), center_x=64, center_y=448), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=Tile(gid='1', tilewidth=128, tileheight=128, source='images/grassLeft.png', points=None), center_x=576, center_y=448), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=704, center_y=448), GridLocation(tile=Tile(gid='3', tilewidth=128, tileheight=128, source='images/grassRight.png', points=None), center_x=832, center_y=448), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=Tile(gid='0', tilewidth=128, tileheight=128, source='images/boxCrate_double.png', points=None), center_x=2112, center_y=448), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=Tile(gid='0', tilewidth=128, tileheight=128, source='images/boxCrate_double.png', points=None), center_x=4032, center_y=448), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=Tile(gid='0', tilewidth=128, tileheight=128, source='images/boxCrate_double.png', points=None), center_x=5440, center_y=448), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=Tile(gid='0', tilewidth=128, tileheight=128, source='images/boxCrate_double.png', points=None), center_x=6336, center_y=448)], [GridLocation(tile=Tile(gid='0', tilewidth=128, tileheight=128, source='images/boxCrate_double.png', points=None), center_x=64, center_y=320), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=Tile(gid='0', tilewidth=128, tileheight=128, source='images/boxCrate_double.png', points=None), center_x=2112, center_y=320), GridLocation(tile=Tile(gid='0', tilewidth=128, tileheight=128, source='images/boxCrate_double.png', points=None), center_x=2240, center_y=320), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=Tile(gid='1', tilewidth=128, tileheight=128, source='images/grassLeft.png', points=None), center_x=3264, center_y=320), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=3392, center_y=320), GridLocation(tile=Tile(gid='3', tilewidth=128, tileheight=128, source='images/grassRight.png', points=None), center_x=3520, center_y=320), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=Tile(gid='0', tilewidth=128, tileheight=128, source='images/boxCrate_double.png', points=None), center_x=4032, center_y=320), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=Tile(gid='0', tilewidth=128, tileheight=128, source='images/boxCrate_double.png', points=None), center_x=5312, center_y=320), GridLocation(tile=Tile(gid='0', tilewidth=128, tileheight=128, source='images/boxCrate_double.png', points=None), center_x=5440, center_y=320), GridLocation(tile=Tile(gid='0', tilewidth=128, tileheight=128, source='images/boxCrate_double.png', points=None), center_x=5568, center_y=320), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=Tile(gid='0', tilewidth=128, tileheight=128, source='images/boxCrate_double.png', points=None), center_x=6336, center_y=320)], [GridLocation(tile=Tile(gid='0', tilewidth=128, tileheight=128, source='images/boxCrate_double.png', points=None), center_x=64, center_y=192), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=Tile(gid='0', tilewidth=128, tileheight=128, source='images/boxCrate_double.png', points=None), center_x=1216, center_y=192), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=Tile(gid='0', tilewidth=128, tileheight=128, source='images/boxCrate_double.png', points=None), center_x=1984, center_y=192), GridLocation(tile=Tile(gid='0', tilewidth=128, tileheight=128, source='images/boxCrate_double.png', points=None), center_x=2112, center_y=192), GridLocation(tile=Tile(gid='0', tilewidth=128, tileheight=128, source='images/boxCrate_double.png', points=None), center_x=2240, center_y=192), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=Tile(gid='0', tilewidth=128, tileheight=128, source='images/boxCrate_double.png', points=None), center_x=4032, center_y=192), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=Tile(gid='0', tilewidth=128, tileheight=128, source='images/boxCrate_double.png', points=None), center_x=4416, center_y=192), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=Tile(gid='0', tilewidth=128, tileheight=128, source='images/boxCrate_double.png', points=None), center_x=5184, center_y=192), GridLocation(tile=Tile(gid='0', tilewidth=128, tileheight=128, source='images/boxCrate_double.png', points=None), center_x=5312, center_y=192), GridLocation(tile=Tile(gid='0', tilewidth=128, tileheight=128, source='images/boxCrate_double.png', points=None), center_x=5440, center_y=192), GridLocation(tile=Tile(gid='0', tilewidth=128, tileheight=128, source='images/boxCrate_double.png', points=None), center_x=5568, center_y=192), GridLocation(tile=Tile(gid='0', tilewidth=128, tileheight=128, source='images/boxCrate_double.png', points=None), center_x=5696, center_y=192), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=None, center_x=None, center_y=None), GridLocation(tile=Tile(gid='0', tilewidth=128, tileheight=128, source='images/boxCrate_double.png', points=None), center_x=6336, center_y=192)], [GridLocation(tile=Tile(gid='1', tilewidth=128, tileheight=128, source='images/grassLeft.png', points=None), center_x=64, center_y=64), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=192, center_y=64), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=320, center_y=64), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=448, center_y=64), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=576, center_y=64), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=704, center_y=64), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=832, center_y=64), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=960, center_y=64), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=1088, center_y=64), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=1216, center_y=64), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=1344, center_y=64), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=1472, center_y=64), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=1600, center_y=64), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=1728, center_y=64), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=1856, center_y=64), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=1984, center_y=64), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=2112, center_y=64), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=2240, center_y=64), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=2368, center_y=64), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=2496, center_y=64), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=2624, center_y=64), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=2752, center_y=64), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=2880, center_y=64), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=3008, center_y=64), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=3136, center_y=64), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=3264, center_y=64), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=3392, center_y=64), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=3520, center_y=64), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=3648, center_y=64), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=3776, center_y=64), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=3904, center_y=64), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=4032, center_y=64), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=4160, center_y=64), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=4288, center_y=64), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=4416, center_y=64), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=4544, center_y=64), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=4672, center_y=64), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=4800, center_y=64), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=4928, center_y=64), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=5056, center_y=64), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=5184, center_y=64), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=5312, center_y=64), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=5440, center_y=64), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=5568, center_y=64), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=5696, center_y=64), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=5824, center_y=64), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=5952, center_y=64), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=6080, center_y=64), GridLocation(tile=Tile(gid='2', tilewidth=128, tileheight=128, source='images/grassMid.png', points=None), center_x=6208, center_y=64), GridLocation(tile=Tile(gid='3', tilewidth=128, tileheight=128, source='images/grassRight.png', points=None), center_x=6336, center_y=64)]]}
| 23,324
| 46,647
| 0.790388
| 7,498
| 46,648
| 4.726327
| 0.010403
| 0.367684
| 0.217281
| 0.442406
| 0.996727
| 0.996642
| 0.996642
| 0.995626
| 0.991478
| 0.991478
| 0
| 0.029327
| 0.053378
| 46,648
| 1
| 46,648
| 46,648
| 0.773201
| 0
| 0
| 0
| 0
| 0
| 0.04639
| 0.018307
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 13
|
d4b6c305cf8715035cacf4e897fd3989f5740ae9
| 120
|
py
|
Python
|
discord/guild.py
|
kuzaku-developers/disnake
|
61cc1ad4c2bafd39726a1447c85f7e469e41af10
|
[
"MIT"
] | null | null | null |
discord/guild.py
|
kuzaku-developers/disnake
|
61cc1ad4c2bafd39726a1447c85f7e469e41af10
|
[
"MIT"
] | null | null | null |
discord/guild.py
|
kuzaku-developers/disnake
|
61cc1ad4c2bafd39726a1447c85f7e469e41af10
|
[
"MIT"
] | null | null | null |
from disnake.guild import *
from disnake.guild import __dict__ as __original_dict__
locals().update(__original_dict__)
| 24
| 55
| 0.833333
| 16
| 120
| 5.375
| 0.5625
| 0.255814
| 0.372093
| 0.511628
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.1
| 120
| 4
| 56
| 30
| 0.796296
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.666667
| 0
| 0.666667
| 0
| 1
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 8
|
be16a486fc5c0fb6b351954d3ba5d61ba512b358
| 15
|
py
|
Python
|
setup.py
|
StudentiUniMi/MusicBot
|
b94ed8074dea6cdd790bce10df2cb9ca451519b2
|
[
"MIT"
] | null | null | null |
setup.py
|
StudentiUniMi/MusicBot
|
b94ed8074dea6cdd790bce10df2cb9ca451519b2
|
[
"MIT"
] | null | null | null |
setup.py
|
StudentiUniMi/MusicBot
|
b94ed8074dea6cdd790bce10df2cb9ca451519b2
|
[
"MIT"
] | 1
|
2021-04-18T10:47:52.000Z
|
2021-04-18T10:47:52.000Z
|
print("2.0.0")
| 7.5
| 14
| 0.533333
| 4
| 15
| 2
| 0.75
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.214286
| 0.066667
| 15
| 1
| 15
| 15
| 0.357143
| 0
| 0
| 0
| 0
| 0
| 0.333333
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
|
0
| 7
|
076e04b21f1aa09b52768c3510b5387c67e9ca98
| 33,361
|
py
|
Python
|
rcnn/lib/python3.6/site-packages/tensorflow/contrib/tensor_forest/python/ops/gen_model_ops.py
|
dreamingweaver/making_passportImage
|
68f23411780ff82abe934dfae5fc04acb80f2c49
|
[
"MIT"
] | 1
|
2019-01-12T13:17:32.000Z
|
2019-01-12T13:17:32.000Z
|
rcnn/lib/python3.6/site-packages/tensorflow/contrib/tensor_forest/python/ops/gen_model_ops.py
|
dreamingweaver/making_passportImage
|
68f23411780ff82abe934dfae5fc04acb80f2c49
|
[
"MIT"
] | null | null | null |
rcnn/lib/python3.6/site-packages/tensorflow/contrib/tensor_forest/python/ops/gen_model_ops.py
|
dreamingweaver/making_passportImage
|
68f23411780ff82abe934dfae5fc04acb80f2c49
|
[
"MIT"
] | null | null | null |
"""Python wrappers around TensorFlow ops.
This file is MACHINE GENERATED! Do not edit.
Original C++ source file: gen_model_ops_py.cc
"""
import collections as _collections
import six as _six
from tensorflow.python import pywrap_tensorflow as _pywrap_tensorflow
from tensorflow.python.eager import context as _context
from tensorflow.python.eager import core as _core
from tensorflow.python.eager import execute as _execute
from tensorflow.python.framework import dtypes as _dtypes
from tensorflow.python.framework import errors as _errors
from tensorflow.python.framework import tensor_shape as _tensor_shape
from tensorflow.core.framework import op_def_pb2 as _op_def_pb2
# Needed to trigger the call to _set_call_cpp_shape_fn.
from tensorflow.python.framework import common_shapes as _common_shapes
from tensorflow.python.framework import op_def_registry as _op_def_registry
from tensorflow.python.framework import ops as _ops
from tensorflow.python.framework import op_def_library as _op_def_library
from tensorflow.python.util.tf_export import tf_export
@tf_export('create_tree_variable')
def create_tree_variable(tree_handle, tree_config, params, name=None):
r"""Creates a tree model and returns a handle to it.
Args:
tree_handle: A `Tensor` of type `resource`.
handle to the tree resource to be created.
tree_config: A `Tensor` of type `string`. Serialized proto of the tree.
params: A `string`. A serialized TensorForestParams proto.
name: A name for the operation (optional).
Returns:
The created Operation.
"""
_ctx = _context._context
if _ctx is None or not _ctx._eager_context.is_eager:
params = _execute.make_str(params, "params")
_, _, _op = _op_def_lib._apply_op_helper(
"CreateTreeVariable", tree_handle=tree_handle,
tree_config=tree_config, params=params, name=name)
return _op
_result = None
return _result
else:
try:
_result = _pywrap_tensorflow.TFE_Py_FastPathExecute(
_ctx._context_handle, _ctx._eager_context.device_name,
"CreateTreeVariable", name, _ctx._post_execution_callbacks,
tree_handle, tree_config, "params", params)
return _result
except _core._FallbackException:
return create_tree_variable_eager_fallback(
tree_handle, tree_config, params=params, name=name, ctx=_ctx)
except _core._NotOkStatusException as e:
if name is not None:
message = e.message + " name: " + name
else:
message = e.message
_six.raise_from(_core._status_to_exception(e.code, message), None)
def create_tree_variable_eager_fallback(tree_handle, tree_config, params, name=None, ctx=None):
r"""This is the slowpath function for Eager mode.
This is for function create_tree_variable
"""
_ctx = ctx if ctx else _context.context()
params = _execute.make_str(params, "params")
tree_handle = _ops.convert_to_tensor(tree_handle, _dtypes.resource)
tree_config = _ops.convert_to_tensor(tree_config, _dtypes.string)
_inputs_flat = [tree_handle, tree_config]
_attrs = ("params", params)
_result = _execute.execute(b"CreateTreeVariable", 0, inputs=_inputs_flat,
attrs=_attrs, ctx=_ctx, name=name)
_result = None
return _result
_ops.RegisterShape("CreateTreeVariable")(None)
@tf_export('decision_tree_resource_handle_op')
def decision_tree_resource_handle_op(container="", shared_name="", name=None):
r"""TODO: add doc.
Args:
container: An optional `string`. Defaults to `""`.
shared_name: An optional `string`. Defaults to `""`.
name: A name for the operation (optional).
Returns:
A `Tensor` of type `resource`.
"""
_ctx = _context._context
if _ctx is None or not _ctx._eager_context.is_eager:
if container is None:
container = ""
container = _execute.make_str(container, "container")
if shared_name is None:
shared_name = ""
shared_name = _execute.make_str(shared_name, "shared_name")
_, _, _op = _op_def_lib._apply_op_helper(
"DecisionTreeResourceHandleOp", container=container,
shared_name=shared_name, name=name)
_result = _op.outputs[:]
_inputs_flat = _op.inputs
_attrs = ("container", _op.get_attr("container"), "shared_name",
_op.get_attr("shared_name"))
_execute.record_gradient(
"DecisionTreeResourceHandleOp", _inputs_flat, _attrs, _result, name)
_result, = _result
return _result
else:
try:
_result = _pywrap_tensorflow.TFE_Py_FastPathExecute(
_ctx._context_handle, _ctx._eager_context.device_name,
"DecisionTreeResourceHandleOp", name, _ctx._post_execution_callbacks,
"container", container, "shared_name", shared_name)
return _result
except _core._FallbackException:
return decision_tree_resource_handle_op_eager_fallback(
container=container, shared_name=shared_name, name=name, ctx=_ctx)
except _core._NotOkStatusException as e:
if name is not None:
message = e.message + " name: " + name
else:
message = e.message
_six.raise_from(_core._status_to_exception(e.code, message), None)
def decision_tree_resource_handle_op_eager_fallback(container="", shared_name="", name=None, ctx=None):
r"""This is the slowpath function for Eager mode.
This is for function decision_tree_resource_handle_op
"""
_ctx = ctx if ctx else _context.context()
if container is None:
container = ""
container = _execute.make_str(container, "container")
if shared_name is None:
shared_name = ""
shared_name = _execute.make_str(shared_name, "shared_name")
_inputs_flat = []
_attrs = ("container", container, "shared_name", shared_name)
_result = _execute.execute(b"DecisionTreeResourceHandleOp", 1,
inputs=_inputs_flat, attrs=_attrs, ctx=_ctx,
name=name)
_execute.record_gradient(
"DecisionTreeResourceHandleOp", _inputs_flat, _attrs, _result, name)
_result, = _result
return _result
_ops.RegisterShape("DecisionTreeResourceHandleOp")(None)
@tf_export('feature_usage_counts')
def feature_usage_counts(tree_handle, params, name=None):
r"""Outputs the number of times each feature was used in a split.
Args:
tree_handle: A `Tensor` of type `resource`. The handle to the tree.
params: A `string`. A serialized TensorForestParams proto.
name: A name for the operation (optional).
Returns:
A `Tensor` of type `int32`.
`feature_counts[i]` is the number of times feature i was used
in a split.
"""
_ctx = _context._context
if _ctx is None or not _ctx._eager_context.is_eager:
params = _execute.make_str(params, "params")
_, _, _op = _op_def_lib._apply_op_helper(
"FeatureUsageCounts", tree_handle=tree_handle, params=params,
name=name)
_result = _op.outputs[:]
_inputs_flat = _op.inputs
_attrs = ("params", _op.get_attr("params"))
_execute.record_gradient(
"FeatureUsageCounts", _inputs_flat, _attrs, _result, name)
_result, = _result
return _result
else:
try:
_result = _pywrap_tensorflow.TFE_Py_FastPathExecute(
_ctx._context_handle, _ctx._eager_context.device_name,
"FeatureUsageCounts", name, _ctx._post_execution_callbacks,
tree_handle, "params", params)
return _result
except _core._FallbackException:
return feature_usage_counts_eager_fallback(
tree_handle, params=params, name=name, ctx=_ctx)
except _core._NotOkStatusException as e:
if name is not None:
message = e.message + " name: " + name
else:
message = e.message
_six.raise_from(_core._status_to_exception(e.code, message), None)
def feature_usage_counts_eager_fallback(tree_handle, params, name=None, ctx=None):
r"""This is the slowpath function for Eager mode.
This is for function feature_usage_counts
"""
_ctx = ctx if ctx else _context.context()
params = _execute.make_str(params, "params")
tree_handle = _ops.convert_to_tensor(tree_handle, _dtypes.resource)
_inputs_flat = [tree_handle]
_attrs = ("params", params)
_result = _execute.execute(b"FeatureUsageCounts", 1, inputs=_inputs_flat,
attrs=_attrs, ctx=_ctx, name=name)
_execute.record_gradient(
"FeatureUsageCounts", _inputs_flat, _attrs, _result, name)
_result, = _result
return _result
_ops.RegisterShape("FeatureUsageCounts")(None)
@tf_export('traverse_tree_v4')
def traverse_tree_v4(tree_handle, input_data, sparse_input_indices, sparse_input_values, sparse_input_shape, input_spec, params, name=None):
r"""Outputs the leaf ids for the given input data.
Args:
tree_handle: A `Tensor` of type `resource`. The handle to the tree.
input_data: A `Tensor` of type `float32`.
The training batch's features as a 2-d tensor; `input_data[i][j]`
gives the j-th feature of the i-th input.
sparse_input_indices: A `Tensor` of type `int64`.
The indices tensor from the SparseTensor input.
sparse_input_values: A `Tensor` of type `float32`.
The values tensor from the SparseTensor input.
sparse_input_shape: A `Tensor` of type `int64`.
The shape tensor from the SparseTensor input.
input_spec: A `string`.
params: A `string`. A serialized TensorForestParams proto.
name: A name for the operation (optional).
Returns:
A `Tensor` of type `int32`. `leaf_ids[i]` is the leaf id for input i.
"""
_ctx = _context._context
if _ctx is None or not _ctx._eager_context.is_eager:
input_spec = _execute.make_str(input_spec, "input_spec")
params = _execute.make_str(params, "params")
_, _, _op = _op_def_lib._apply_op_helper(
"TraverseTreeV4", tree_handle=tree_handle, input_data=input_data,
sparse_input_indices=sparse_input_indices,
sparse_input_values=sparse_input_values,
sparse_input_shape=sparse_input_shape, input_spec=input_spec,
params=params, name=name)
_result = _op.outputs[:]
_inputs_flat = _op.inputs
_attrs = ("input_spec", _op.get_attr("input_spec"), "params",
_op.get_attr("params"))
_execute.record_gradient(
"TraverseTreeV4", _inputs_flat, _attrs, _result, name)
_result, = _result
return _result
else:
try:
_result = _pywrap_tensorflow.TFE_Py_FastPathExecute(
_ctx._context_handle, _ctx._eager_context.device_name,
"TraverseTreeV4", name, _ctx._post_execution_callbacks, tree_handle,
input_data, sparse_input_indices, sparse_input_values,
sparse_input_shape, "input_spec", input_spec, "params", params)
return _result
except _core._FallbackException:
return traverse_tree_v4_eager_fallback(
tree_handle, input_data, sparse_input_indices, sparse_input_values,
sparse_input_shape, input_spec=input_spec, params=params, name=name,
ctx=_ctx)
except _core._NotOkStatusException as e:
if name is not None:
message = e.message + " name: " + name
else:
message = e.message
_six.raise_from(_core._status_to_exception(e.code, message), None)
def traverse_tree_v4_eager_fallback(tree_handle, input_data, sparse_input_indices, sparse_input_values, sparse_input_shape, input_spec, params, name=None, ctx=None):
r"""This is the slowpath function for Eager mode.
This is for function traverse_tree_v4
"""
_ctx = ctx if ctx else _context.context()
input_spec = _execute.make_str(input_spec, "input_spec")
params = _execute.make_str(params, "params")
tree_handle = _ops.convert_to_tensor(tree_handle, _dtypes.resource)
input_data = _ops.convert_to_tensor(input_data, _dtypes.float32)
sparse_input_indices = _ops.convert_to_tensor(sparse_input_indices, _dtypes.int64)
sparse_input_values = _ops.convert_to_tensor(sparse_input_values, _dtypes.float32)
sparse_input_shape = _ops.convert_to_tensor(sparse_input_shape, _dtypes.int64)
_inputs_flat = [tree_handle, input_data, sparse_input_indices, sparse_input_values, sparse_input_shape]
_attrs = ("input_spec", input_spec, "params", params)
_result = _execute.execute(b"TraverseTreeV4", 1, inputs=_inputs_flat,
attrs=_attrs, ctx=_ctx, name=name)
_execute.record_gradient(
"TraverseTreeV4", _inputs_flat, _attrs, _result, name)
_result, = _result
return _result
_ops.RegisterShape("TraverseTreeV4")(None)
@tf_export('tree_deserialize')
def tree_deserialize(tree_handle, tree_config, params, name=None):
r"""Deserializes a serialized tree config and replaces current tree.
Args:
tree_handle: A `Tensor` of type `resource`. The handle to the tree .
tree_config: A `Tensor` of type `string`. Serialized proto of the .
params: A `string`. A serialized TensorForestParams proto.
name: A name for the operation (optional).
Returns:
The created Operation.
"""
_ctx = _context._context
if _ctx is None or not _ctx._eager_context.is_eager:
params = _execute.make_str(params, "params")
_, _, _op = _op_def_lib._apply_op_helper(
"TreeDeserialize", tree_handle=tree_handle, tree_config=tree_config,
params=params, name=name)
return _op
_result = None
return _result
else:
try:
_result = _pywrap_tensorflow.TFE_Py_FastPathExecute(
_ctx._context_handle, _ctx._eager_context.device_name,
"TreeDeserialize", name, _ctx._post_execution_callbacks, tree_handle,
tree_config, "params", params)
return _result
except _core._FallbackException:
return tree_deserialize_eager_fallback(
tree_handle, tree_config, params=params, name=name, ctx=_ctx)
except _core._NotOkStatusException as e:
if name is not None:
message = e.message + " name: " + name
else:
message = e.message
_six.raise_from(_core._status_to_exception(e.code, message), None)
def tree_deserialize_eager_fallback(tree_handle, tree_config, params, name=None, ctx=None):
r"""This is the slowpath function for Eager mode.
This is for function tree_deserialize
"""
_ctx = ctx if ctx else _context.context()
params = _execute.make_str(params, "params")
tree_handle = _ops.convert_to_tensor(tree_handle, _dtypes.resource)
tree_config = _ops.convert_to_tensor(tree_config, _dtypes.string)
_inputs_flat = [tree_handle, tree_config]
_attrs = ("params", params)
_result = _execute.execute(b"TreeDeserialize", 0, inputs=_inputs_flat,
attrs=_attrs, ctx=_ctx, name=name)
_result = None
return _result
_ops.RegisterShape("TreeDeserialize")(None)
@tf_export('tree_is_initialized_op')
def tree_is_initialized_op(tree_handle, name=None):
r"""Checks whether a tree has been initialized.
Args:
tree_handle: A `Tensor` of type `resource`.
name: A name for the operation (optional).
Returns:
A `Tensor` of type `bool`.
"""
_ctx = _context._context
if _ctx is None or not _ctx._eager_context.is_eager:
_, _, _op = _op_def_lib._apply_op_helper(
"TreeIsInitializedOp", tree_handle=tree_handle, name=name)
_result = _op.outputs[:]
_inputs_flat = _op.inputs
_attrs = None
_execute.record_gradient(
"TreeIsInitializedOp", _inputs_flat, _attrs, _result, name)
_result, = _result
return _result
else:
try:
_result = _pywrap_tensorflow.TFE_Py_FastPathExecute(
_ctx._context_handle, _ctx._eager_context.device_name,
"TreeIsInitializedOp", name, _ctx._post_execution_callbacks,
tree_handle)
return _result
except _core._FallbackException:
return tree_is_initialized_op_eager_fallback(
tree_handle, name=name, ctx=_ctx)
except _core._NotOkStatusException as e:
if name is not None:
message = e.message + " name: " + name
else:
message = e.message
_six.raise_from(_core._status_to_exception(e.code, message), None)
def tree_is_initialized_op_eager_fallback(tree_handle, name=None, ctx=None):
r"""This is the slowpath function for Eager mode.
This is for function tree_is_initialized_op
"""
_ctx = ctx if ctx else _context.context()
tree_handle = _ops.convert_to_tensor(tree_handle, _dtypes.resource)
_inputs_flat = [tree_handle]
_attrs = None
_result = _execute.execute(b"TreeIsInitializedOp", 1, inputs=_inputs_flat,
attrs=_attrs, ctx=_ctx, name=name)
_execute.record_gradient(
"TreeIsInitializedOp", _inputs_flat, _attrs, _result, name)
_result, = _result
return _result
_ops.RegisterShape("TreeIsInitializedOp")(None)
_tree_predictions_v4_outputs = ["predictions", "tree_paths"]
_TreePredictionsV4Output = _collections.namedtuple(
"TreePredictionsV4", _tree_predictions_v4_outputs)
@tf_export('tree_predictions_v4')
def tree_predictions_v4(tree_handle, input_data, sparse_input_indices, sparse_input_values, sparse_input_shape, input_spec, params, name=None):
r"""Outputs the predictions for the given input data.
Args:
tree_handle: A `Tensor` of type `resource`. The handle to the tree.
input_data: A `Tensor` of type `float32`.
The training batch's features as a 2-d tensor; `input_data[i][j]`
gives the j-th feature of the i-th input.
sparse_input_indices: A `Tensor` of type `int64`.
The indices tensor from the SparseTensor input.
sparse_input_values: A `Tensor` of type `float32`.
The values tensor from the SparseTensor input.
sparse_input_shape: A `Tensor` of type `int64`.
The shape tensor from the SparseTensor input.
input_spec: A `string`.
params: A `string`. A serialized TensorForestParams proto.
name: A name for the operation (optional).
Returns:
A tuple of `Tensor` objects (predictions, tree_paths).
predictions: A `Tensor` of type `float32`. `predictions[i][j]` is the probability that input i is class j.
tree_paths: A `Tensor` of type `string`. `tree_paths[i]` is a serialized TreePath proto for example i.
"""
_ctx = _context._context
if _ctx is None or not _ctx._eager_context.is_eager:
input_spec = _execute.make_str(input_spec, "input_spec")
params = _execute.make_str(params, "params")
_, _, _op = _op_def_lib._apply_op_helper(
"TreePredictionsV4", tree_handle=tree_handle, input_data=input_data,
sparse_input_indices=sparse_input_indices,
sparse_input_values=sparse_input_values,
sparse_input_shape=sparse_input_shape, input_spec=input_spec,
params=params, name=name)
_result = _op.outputs[:]
_inputs_flat = _op.inputs
_attrs = ("input_spec", _op.get_attr("input_spec"), "params",
_op.get_attr("params"))
_execute.record_gradient(
"TreePredictionsV4", _inputs_flat, _attrs, _result, name)
_result = _TreePredictionsV4Output._make(_result)
return _result
else:
try:
_result = _pywrap_tensorflow.TFE_Py_FastPathExecute(
_ctx._context_handle, _ctx._eager_context.device_name,
"TreePredictionsV4", name, _ctx._post_execution_callbacks,
tree_handle, input_data, sparse_input_indices, sparse_input_values,
sparse_input_shape, "input_spec", input_spec, "params", params)
_result = _TreePredictionsV4Output._make(_result)
return _result
except _core._FallbackException:
return tree_predictions_v4_eager_fallback(
tree_handle, input_data, sparse_input_indices, sparse_input_values,
sparse_input_shape, input_spec=input_spec, params=params, name=name,
ctx=_ctx)
except _core._NotOkStatusException as e:
if name is not None:
message = e.message + " name: " + name
else:
message = e.message
_six.raise_from(_core._status_to_exception(e.code, message), None)
def tree_predictions_v4_eager_fallback(tree_handle, input_data, sparse_input_indices, sparse_input_values, sparse_input_shape, input_spec, params, name=None, ctx=None):
r"""This is the slowpath function for Eager mode.
This is for function tree_predictions_v4
"""
_ctx = ctx if ctx else _context.context()
input_spec = _execute.make_str(input_spec, "input_spec")
params = _execute.make_str(params, "params")
tree_handle = _ops.convert_to_tensor(tree_handle, _dtypes.resource)
input_data = _ops.convert_to_tensor(input_data, _dtypes.float32)
sparse_input_indices = _ops.convert_to_tensor(sparse_input_indices, _dtypes.int64)
sparse_input_values = _ops.convert_to_tensor(sparse_input_values, _dtypes.float32)
sparse_input_shape = _ops.convert_to_tensor(sparse_input_shape, _dtypes.int64)
_inputs_flat = [tree_handle, input_data, sparse_input_indices, sparse_input_values, sparse_input_shape]
_attrs = ("input_spec", input_spec, "params", params)
_result = _execute.execute(b"TreePredictionsV4", 2, inputs=_inputs_flat,
attrs=_attrs, ctx=_ctx, name=name)
_execute.record_gradient(
"TreePredictionsV4", _inputs_flat, _attrs, _result, name)
_result = _TreePredictionsV4Output._make(_result)
return _result
_ops.RegisterShape("TreePredictionsV4")(None)
@tf_export('tree_serialize')
def tree_serialize(tree_handle, name=None):
r"""Serializes the tree to a proto.
Args:
tree_handle: A `Tensor` of type `resource`. The handle to the tree.
name: A name for the operation (optional).
Returns:
A `Tensor` of type `string`. Serialized proto of the tree.
"""
_ctx = _context._context
if _ctx is None or not _ctx._eager_context.is_eager:
_, _, _op = _op_def_lib._apply_op_helper(
"TreeSerialize", tree_handle=tree_handle, name=name)
_result = _op.outputs[:]
_inputs_flat = _op.inputs
_attrs = None
_execute.record_gradient(
"TreeSerialize", _inputs_flat, _attrs, _result, name)
_result, = _result
return _result
else:
try:
_result = _pywrap_tensorflow.TFE_Py_FastPathExecute(
_ctx._context_handle, _ctx._eager_context.device_name,
"TreeSerialize", name, _ctx._post_execution_callbacks, tree_handle)
return _result
except _core._FallbackException:
return tree_serialize_eager_fallback(
tree_handle, name=name, ctx=_ctx)
except _core._NotOkStatusException as e:
if name is not None:
message = e.message + " name: " + name
else:
message = e.message
_six.raise_from(_core._status_to_exception(e.code, message), None)
def tree_serialize_eager_fallback(tree_handle, name=None, ctx=None):
r"""This is the slowpath function for Eager mode.
This is for function tree_serialize
"""
_ctx = ctx if ctx else _context.context()
tree_handle = _ops.convert_to_tensor(tree_handle, _dtypes.resource)
_inputs_flat = [tree_handle]
_attrs = None
_result = _execute.execute(b"TreeSerialize", 1, inputs=_inputs_flat,
attrs=_attrs, ctx=_ctx, name=name)
_execute.record_gradient(
"TreeSerialize", _inputs_flat, _attrs, _result, name)
_result, = _result
return _result
_ops.RegisterShape("TreeSerialize")(None)
@tf_export('tree_size')
def tree_size(tree_handle, name=None):
r"""Outputs the size of the tree, including leaves.
Args:
tree_handle: A `Tensor` of type `resource`. The handle to the tree.
name: A name for the operation (optional).
Returns:
A `Tensor` of type `int32`. Size scalar.
"""
_ctx = _context._context
if _ctx is None or not _ctx._eager_context.is_eager:
_, _, _op = _op_def_lib._apply_op_helper(
"TreeSize", tree_handle=tree_handle, name=name)
_result = _op.outputs[:]
_inputs_flat = _op.inputs
_attrs = None
_execute.record_gradient(
"TreeSize", _inputs_flat, _attrs, _result, name)
_result, = _result
return _result
else:
try:
_result = _pywrap_tensorflow.TFE_Py_FastPathExecute(
_ctx._context_handle, _ctx._eager_context.device_name, "TreeSize",
name, _ctx._post_execution_callbacks, tree_handle)
return _result
except _core._FallbackException:
return tree_size_eager_fallback(
tree_handle, name=name, ctx=_ctx)
except _core._NotOkStatusException as e:
if name is not None:
message = e.message + " name: " + name
else:
message = e.message
_six.raise_from(_core._status_to_exception(e.code, message), None)
def tree_size_eager_fallback(tree_handle, name=None, ctx=None):
r"""This is the slowpath function for Eager mode.
This is for function tree_size
"""
_ctx = ctx if ctx else _context.context()
tree_handle = _ops.convert_to_tensor(tree_handle, _dtypes.resource)
_inputs_flat = [tree_handle]
_attrs = None
_result = _execute.execute(b"TreeSize", 1, inputs=_inputs_flat,
attrs=_attrs, ctx=_ctx, name=name)
_execute.record_gradient(
"TreeSize", _inputs_flat, _attrs, _result, name)
_result, = _result
return _result
_ops.RegisterShape("TreeSize")(None)
@tf_export('update_model_v4')
def update_model_v4(tree_handle, leaf_ids, input_labels, input_weights, params, name=None):
r"""Updates the given leaves for each example with the new labels.
Args:
tree_handle: A `Tensor` of type `resource`. The handle to the tree.
leaf_ids: A `Tensor` of type `int32`.
`leaf_ids[i]` is the leaf id for input i.
input_labels: A `Tensor` of type `float32`.
The training batch's labels as a 1 or 2-d tensor.
'input_labels[i][j]' gives the j-th label/target for the i-th input.
input_weights: A `Tensor` of type `float32`.
The training batch's weights as a 1-d tensor.
'input_weights[i]' gives the weight for the i-th input.
params: A `string`. A serialized TensorForestParams proto.
name: A name for the operation (optional).
Returns:
The created Operation.
"""
_ctx = _context._context
if _ctx is None or not _ctx._eager_context.is_eager:
params = _execute.make_str(params, "params")
_, _, _op = _op_def_lib._apply_op_helper(
"UpdateModelV4", tree_handle=tree_handle, leaf_ids=leaf_ids,
input_labels=input_labels, input_weights=input_weights, params=params,
name=name)
return _op
_result = None
return _result
else:
try:
_result = _pywrap_tensorflow.TFE_Py_FastPathExecute(
_ctx._context_handle, _ctx._eager_context.device_name,
"UpdateModelV4", name, _ctx._post_execution_callbacks, tree_handle,
leaf_ids, input_labels, input_weights, "params", params)
return _result
except _core._FallbackException:
return update_model_v4_eager_fallback(
tree_handle, leaf_ids, input_labels, input_weights, params=params,
name=name, ctx=_ctx)
except _core._NotOkStatusException as e:
if name is not None:
message = e.message + " name: " + name
else:
message = e.message
_six.raise_from(_core._status_to_exception(e.code, message), None)
def update_model_v4_eager_fallback(tree_handle, leaf_ids, input_labels, input_weights, params, name=None, ctx=None):
r"""This is the slowpath function for Eager mode.
This is for function update_model_v4
"""
_ctx = ctx if ctx else _context.context()
params = _execute.make_str(params, "params")
tree_handle = _ops.convert_to_tensor(tree_handle, _dtypes.resource)
leaf_ids = _ops.convert_to_tensor(leaf_ids, _dtypes.int32)
input_labels = _ops.convert_to_tensor(input_labels, _dtypes.float32)
input_weights = _ops.convert_to_tensor(input_weights, _dtypes.float32)
_inputs_flat = [tree_handle, leaf_ids, input_labels, input_weights]
_attrs = ("params", params)
_result = _execute.execute(b"UpdateModelV4", 0, inputs=_inputs_flat,
attrs=_attrs, ctx=_ctx, name=name)
_result = None
return _result
_ops.RegisterShape("UpdateModelV4")(None)
def _InitOpDefLibrary(op_list_proto_bytes):
op_list = _op_def_pb2.OpList()
op_list.ParseFromString(op_list_proto_bytes)
_op_def_registry.register_op_list(op_list)
op_def_lib = _op_def_library.OpDefLibrary()
op_def_lib.add_op_list(op_list)
return op_def_lib
# op {
# name: "CreateTreeVariable"
# input_arg {
# name: "tree_handle"
# type: DT_RESOURCE
# }
# input_arg {
# name: "tree_config"
# type: DT_STRING
# }
# attr {
# name: "params"
# type: "string"
# }
# is_stateful: true
# }
# op {
# name: "DecisionTreeResourceHandleOp"
# output_arg {
# name: "resource"
# type: DT_RESOURCE
# }
# attr {
# name: "container"
# type: "string"
# default_value {
# s: ""
# }
# }
# attr {
# name: "shared_name"
# type: "string"
# default_value {
# s: ""
# }
# }
# is_stateful: true
# }
# op {
# name: "FeatureUsageCounts"
# input_arg {
# name: "tree_handle"
# type: DT_RESOURCE
# }
# output_arg {
# name: "feature_counts"
# type: DT_INT32
# }
# attr {
# name: "params"
# type: "string"
# }
# is_stateful: true
# }
# op {
# name: "TraverseTreeV4"
# input_arg {
# name: "tree_handle"
# type: DT_RESOURCE
# }
# input_arg {
# name: "input_data"
# type: DT_FLOAT
# }
# input_arg {
# name: "sparse_input_indices"
# type: DT_INT64
# }
# input_arg {
# name: "sparse_input_values"
# type: DT_FLOAT
# }
# input_arg {
# name: "sparse_input_shape"
# type: DT_INT64
# }
# output_arg {
# name: "leaf_ids"
# type: DT_INT32
# }
# attr {
# name: "input_spec"
# type: "string"
# }
# attr {
# name: "params"
# type: "string"
# }
# is_stateful: true
# }
# op {
# name: "TreeDeserialize"
# input_arg {
# name: "tree_handle"
# type: DT_RESOURCE
# }
# input_arg {
# name: "tree_config"
# type: DT_STRING
# }
# attr {
# name: "params"
# type: "string"
# }
# is_stateful: true
# }
# op {
# name: "TreeIsInitializedOp"
# input_arg {
# name: "tree_handle"
# type: DT_RESOURCE
# }
# output_arg {
# name: "is_initialized"
# type: DT_BOOL
# }
# is_stateful: true
# }
# op {
# name: "TreePredictionsV4"
# input_arg {
# name: "tree_handle"
# type: DT_RESOURCE
# }
# input_arg {
# name: "input_data"
# type: DT_FLOAT
# }
# input_arg {
# name: "sparse_input_indices"
# type: DT_INT64
# }
# input_arg {
# name: "sparse_input_values"
# type: DT_FLOAT
# }
# input_arg {
# name: "sparse_input_shape"
# type: DT_INT64
# }
# output_arg {
# name: "predictions"
# type: DT_FLOAT
# }
# output_arg {
# name: "tree_paths"
# type: DT_STRING
# }
# attr {
# name: "input_spec"
# type: "string"
# }
# attr {
# name: "params"
# type: "string"
# }
# is_stateful: true
# }
# op {
# name: "TreeSerialize"
# input_arg {
# name: "tree_handle"
# type: DT_RESOURCE
# }
# output_arg {
# name: "tree_config"
# type: DT_STRING
# }
# is_stateful: true
# }
# op {
# name: "TreeSize"
# input_arg {
# name: "tree_handle"
# type: DT_RESOURCE
# }
# output_arg {
# name: "tree_size"
# type: DT_INT32
# }
# is_stateful: true
# }
# op {
# name: "UpdateModelV4"
# input_arg {
# name: "tree_handle"
# type: DT_RESOURCE
# }
# input_arg {
# name: "leaf_ids"
# type: DT_INT32
# }
# input_arg {
# name: "input_labels"
# type: DT_FLOAT
# }
# input_arg {
# name: "input_weights"
# type: DT_FLOAT
# }
# attr {
# name: "params"
# type: "string"
# }
# is_stateful: true
# }
_op_def_lib = _InitOpDefLibrary(b"\nK\n\022CreateTreeVariable\022\017\n\013tree_handle\030\024\022\017\n\013tree_config\030\007\"\020\n\006params\022\006string\210\001\001\nc\n\034DecisionTreeResourceHandleOp\032\014\n\010resource\030\024\"\027\n\tcontainer\022\006string\032\002\022\000\"\031\n\013shared_name\022\006string\032\002\022\000\210\001\001\nN\n\022FeatureUsageCounts\022\017\n\013tree_handle\030\024\032\022\n\016feature_counts\030\003\"\020\n\006params\022\006string\210\001\001\n\265\001\n\016TraverseTreeV4\022\017\n\013tree_handle\030\024\022\016\n\ninput_data\030\001\022\030\n\024sparse_input_indices\030\t\022\027\n\023sparse_input_values\030\001\022\026\n\022sparse_input_shape\030\t\032\014\n\010leaf_ids\030\003\"\024\n\ninput_spec\022\006string\"\020\n\006params\022\006string\210\001\001\nH\n\017TreeDeserialize\022\017\n\013tree_handle\030\024\022\017\n\013tree_config\030\007\"\020\n\006params\022\006string\210\001\001\n=\n\023TreeIsInitializedOp\022\017\n\013tree_handle\030\024\032\022\n\016is_initialized\030\n\210\001\001\n\313\001\n\021TreePredictionsV4\022\017\n\013tree_handle\030\024\022\016\n\ninput_data\030\001\022\030\n\024sparse_input_indices\030\t\022\027\n\023sparse_input_values\030\001\022\026\n\022sparse_input_shape\030\t\032\017\n\013predictions\030\001\032\016\n\ntree_paths\030\007\"\024\n\ninput_spec\022\006string\"\020\n\006params\022\006string\210\001\001\n4\n\rTreeSerialize\022\017\n\013tree_handle\030\024\032\017\n\013tree_config\030\007\210\001\001\n-\n\010TreeSize\022\017\n\013tree_handle\030\024\032\r\n\ttree_size\030\003\210\001\001\nh\n\rUpdateModelV4\022\017\n\013tree_handle\030\024\022\014\n\010leaf_ids\030\003\022\020\n\014input_labels\030\001\022\021\n\rinput_weights\030\001\"\020\n\006params\022\006string\210\001\001")
| 36.104978
| 1,792
| 0.706184
| 4,419
| 33,361
| 4.960851
| 0.064268
| 0.04516
| 0.012316
| 0.01779
| 0.829806
| 0.787793
| 0.769592
| 0.752577
| 0.718228
| 0.708831
| 0
| 0.030002
| 0.191721
| 33,361
| 923
| 1,793
| 36.144095
| 0.782978
| 0.256257
| 0
| 0.699203
| 1
| 0.005976
| 0.092098
| 0.035362
| 0
| 0
| 0
| 0.001083
| 0
| 1
| 0.041833
| false
| 0
| 0.02988
| 0
| 0.159363
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
07ace63ac6b8e9992ada76a2bb7f169f8231d2b9
| 293
|
py
|
Python
|
library/lib_study/139_mm_sndhdr.py
|
gottaegbert/penter
|
8cbb6be3c4bf67c7c69fa70e597bfbc3be4f0a2d
|
[
"MIT"
] | 13
|
2020-01-04T07:37:38.000Z
|
2021-08-31T05:19:58.000Z
|
library/lib_study/139_mm_sndhdr.py
|
gottaegbert/penter
|
8cbb6be3c4bf67c7c69fa70e597bfbc3be4f0a2d
|
[
"MIT"
] | 3
|
2020-06-05T22:42:53.000Z
|
2020-08-24T07:18:54.000Z
|
library/lib_study/139_mm_sndhdr.py
|
gottaegbert/penter
|
8cbb6be3c4bf67c7c69fa70e597bfbc3be4f0a2d
|
[
"MIT"
] | 9
|
2020-10-19T04:53:06.000Z
|
2021-08-31T05:20:01.000Z
|
#sndhdr --- 推测声音文件的类型 https://docs.python.org/zh-cn/3/library/sndhdr.html#module-sndhdr
import sndhdr
print(sndhdr.what("E:/linux/emacs-26.3-x86_64/lib/python2.7/test/audiodata/pluck-pcm8.wav"))
print(sndhdr.whathdr("E:/linux/emacs-26.3-x86_64/lib/python2.7/test/audiodata/pluck-pcm8.wav"))
| 48.833333
| 95
| 0.764505
| 52
| 293
| 4.269231
| 0.576923
| 0.099099
| 0.099099
| 0.117117
| 0.495496
| 0.495496
| 0.495496
| 0.495496
| 0.495496
| 0.495496
| 0
| 0.074205
| 0.03413
| 293
| 6
| 95
| 48.833333
| 0.710247
| 0.293515
| 0
| 0
| 0
| 0.666667
| 0.679612
| 0.679612
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.333333
| 0
| 0.333333
| 0.666667
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 1
|
0
| 7
|
07b22cdfa61808005e82620f5e5d89f69a9ddd49
| 143
|
py
|
Python
|
feedhoos/tests/__init__.py
|
38elements/feedhoos
|
c0e29da85079ae6ed154d1ae192e271babd00ced
|
[
"MIT"
] | null | null | null |
feedhoos/tests/__init__.py
|
38elements/feedhoos
|
c0e29da85079ae6ed154d1ae192e271babd00ced
|
[
"MIT"
] | null | null | null |
feedhoos/tests/__init__.py
|
38elements/feedhoos
|
c0e29da85079ae6ed154d1ae192e271babd00ced
|
[
"MIT"
] | null | null | null |
from feedhoos.tests.folder import *
from feedhoos.tests.bookmark import *
from feedhoos.tests.entry import *
from feedhoos.tests.feed import *
| 28.6
| 37
| 0.804196
| 20
| 143
| 5.75
| 0.4
| 0.417391
| 0.591304
| 0.6
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.111888
| 143
| 4
| 38
| 35.75
| 0.905512
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 8
|
07b2316435d7848bb97d776a4f1731a06018081e
| 191
|
py
|
Python
|
tests/test_extract_cves.py
|
sroberts/jager
|
24cbceaee4873a382ad8b415c642ed92ddf81be0
|
[
"RSA-MD"
] | 64
|
2016-02-03T15:14:53.000Z
|
2022-03-04T10:05:54.000Z
|
tests/test_extract_cves.py
|
sroberts/jager
|
24cbceaee4873a382ad8b415c642ed92ddf81be0
|
[
"RSA-MD"
] | 5
|
2016-04-14T15:52:48.000Z
|
2018-11-30T14:35:27.000Z
|
tests/test_extract_cves.py
|
sroberts/jager
|
24cbceaee4873a382ad8b415c642ed92ddf81be0
|
[
"RSA-MD"
] | 18
|
2016-02-12T04:14:01.000Z
|
2022-01-06T02:57:32.000Z
|
# import nose
from jager import extract_cves
def test_cve():
assert(extract_cves('CVE-1976-0903') == ['CVE-1976-0903'])
assert(extract_cves('CVE-1976-10903') != ['CVE-1986-10903'])
| 23.875
| 64
| 0.680628
| 28
| 191
| 4.5
| 0.5
| 0.261905
| 0.269841
| 0.31746
| 0.380952
| 0
| 0
| 0
| 0
| 0
| 0
| 0.204819
| 0.13089
| 191
| 7
| 65
| 27.285714
| 0.554217
| 0.057592
| 0
| 0
| 0
| 0
| 0.303371
| 0
| 0
| 0
| 0
| 0
| 0.5
| 1
| 0.25
| true
| 0
| 0.25
| 0
| 0.5
| 0
| 1
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 9
|
07dbdb0921497746f217ea9d2616f8f15cb021fc
| 6,873
|
py
|
Python
|
BoardGame/prototype/mnkgame/ai/search.py
|
kitman0804/BoardGame
|
be8c08adf10f5d236d3904ca7673f2210f925979
|
[
"MIT"
] | null | null | null |
BoardGame/prototype/mnkgame/ai/search.py
|
kitman0804/BoardGame
|
be8c08adf10f5d236d3904ca7673f2210f925979
|
[
"MIT"
] | null | null | null |
BoardGame/prototype/mnkgame/ai/search.py
|
kitman0804/BoardGame
|
be8c08adf10f5d236d3904ca7673f2210f925979
|
[
"MIT"
] | null | null | null |
import numpy as np
from .GameTree import GameTree
class Minimax(object):
def __init__(self, hfunc, use_symmetry=False):
self.hfunc = hfunc
self.use_symmetry = use_symmetry
def search(self, node, depth):
root_player = node.root_player
# Current game
game = node.game_core
player = node.player
gameboard = node.gameboard
if self.use_symmetry:
available_coords = gameboard.equivalent_coords_dict.keys()
else:
available_coords = gameboard.available_coords
# Search
if depth <= 0 or game.winner is not None:
node.reward = self.hfunc(game=game, player=root_player)
elif player == root_player:
best_value = -np.inf
for coord in available_coords:
game1 = game.copy()
game1.place_stone(*coord, player)
child_node = GameTree(name=coord, game_core=game1, parent=node)
self.search(node=child_node, depth=depth-1)
best_value = max(best_value, child_node.reward)
node.reward = best_value
else:
best_value = np.inf
for coord in available_coords:
game1 = game.copy()
game1.place_stone(*coord, player)
child_node = GameTree(name=coord, game_core=game1, parent=node)
self.search(node=child_node, depth=depth-1)
best_value = min(best_value, child_node.reward)
node.reward = best_value
class AlphaBeta(object):
def __init__(self, hfunc, equal_sign=True, use_symmetry=False):
self.hfunc = hfunc
self.equal_sign = equal_sign
self.use_symmetry = use_symmetry
def search(self, node, depth, alpha=-np.inf, beta=np.inf):
root_player = node.root_player
# Current game
game = node.game_core
player = node.player
gameboard = node.gameboard
if self.use_symmetry:
available_coords = gameboard.equivalent_coords_dict.keys()
else:
available_coords = gameboard.available_coords
# Search
if depth <= 0 or game.winner is not None:
node.reward = self.hfunc(game=game, player=root_player)
elif player == root_player:
best_value = -np.inf
for coord in available_coords:
game1 = game.copy()
game1.place_stone(*coord, player)
child_node = GameTree(name=coord, game_core=game1, parent=node)
self.search(node=child_node, depth=depth-1, alpha=alpha, beta=beta)
best_value = max(best_value, child_node.reward)
alpha = max(alpha, best_value)
if beta < alpha:
break
elif beta == alpha and self.equal_sign:
break
node.reward = best_value
else:
best_value = np.inf
for coord in available_coords:
game1 = game.copy()
game1.place_stone(*coord, player)
child_node = GameTree(name=coord, game_core=game1, parent=node)
self.search(node=child_node, depth=depth-1, alpha=alpha, beta=beta)
best_value = min(best_value, child_node.reward)
beta = min(beta, best_value)
if beta < alpha:
break
elif beta == alpha and self.equal_sign:
break
node.reward = best_value
class ModifiedAlphaBeta(object):
def __init__(self, hfunc, equal_sign=False, use_symmetry=False):
self.hfunc = hfunc
self.equal_sign = equal_sign
self.use_symmetry = use_symmetry
def search(self, node, depth, alpha=-np.inf, beta=np.inf):
root_player = node.root_player
# Current game
game = node.game_core
player = node.player
gameboard = node.gameboard
if self.use_symmetry:
available_coords = gameboard.equivalent_coords_dict.keys()
else:
available_coords = gameboard.available_coords
# Search
if depth <= 0 or game.winner is not None:
node.reward = self.hfunc(game=game, player=root_player)
else:
# Create child nodes and check winner
win_state_found = False
for coord in available_coords:
game1 = game.copy()
game1.place_stone(*coord, player)
child_node = GameTree(name=coord, game_core=game1, parent=node)
if player == child_node.game_core.winner:
win_state_found = True
depth = 1 # No need to search further
if player == root_player:
best_value = -np.inf
for child_node in node.children:
self.search(node=child_node, depth=depth-1, alpha=alpha, beta=beta)
best_value = max(best_value, child_node.reward)
alpha = max(alpha, best_value)
if beta < alpha:
break
elif beta == alpha and self.equal_sign:
break
node.reward = best_value
else:
best_value = np.inf
for child_node in node.children:
self.search(node=child_node, depth=depth-1, alpha=alpha, beta=beta)
best_value = min(best_value, child_node.reward)
beta = min(beta, best_value)
if beta < alpha:
break
elif beta == alpha and self.equal_sign:
break
node.reward = best_value
class Negamax(object):
def __init__(self, hfunc, use_symmetry=False):
self.hfunc = hfunc
self.use_symmetry = use_symmetry
def search(self, node, depth):
root_player = node.root_player
# Current game
game = node.game_core
player = node.player
gameboard = node.gameboard
if self.use_symmetry:
available_coords = gameboard.equivalent_coords_dict.keys()
else:
available_coords = gameboard.available_coords
# Search
if depth <= 0 or game.winner is not None:
node.reward = self.hfunc(game=game, player=root_player)
else:
best_value = -np.inf
for coord in available_coords:
game1 = game.copy()
game1.place_stone(*coord, player)
child_node = GameTree(name=coord, game_core=game1, parent=node)
self.search(node=child_node, depth=depth-1)
best_value = max(best_value, -child_node.reward)
node.reward = best_value
| 39.959302
| 87
| 0.564091
| 787
| 6,873
| 4.724269
| 0.09784
| 0.077461
| 0.032275
| 0.026358
| 0.940828
| 0.939484
| 0.939484
| 0.922808
| 0.917698
| 0.906132
| 0
| 0.006804
| 0.358504
| 6,873
| 171
| 88
| 40.192982
| 0.836471
| 0.020515
| 0
| 0.906667
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.053333
| false
| 0
| 0.013333
| 0
| 0.093333
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
07fe11420127afd35cacac96f7d748593a165715
| 419
|
py
|
Python
|
classifier/beer/forms.py
|
RafaelBernardes/beer-classifier
|
68edb99a231d7090d0d6d384de712b4792b3b7d0
|
[
"MIT"
] | null | null | null |
classifier/beer/forms.py
|
RafaelBernardes/beer-classifier
|
68edb99a231d7090d0d6d384de712b4792b3b7d0
|
[
"MIT"
] | null | null | null |
classifier/beer/forms.py
|
RafaelBernardes/beer-classifier
|
68edb99a231d7090d0d6d384de712b4792b3b7d0
|
[
"MIT"
] | null | null | null |
from django import forms
class BeerForm(forms.Form):
IBU = forms.DecimalField(max_digits=5, decimal_places=3, label='IBU')
SRM = forms.DecimalField(max_digits=5, decimal_places=3, label='SRM')
OG = forms.DecimalField(max_digits=5, decimal_places=3, label='OG')
FG = forms.DecimalField(max_digits=5, decimal_places=3, label='FG')
ABV = forms.DecimalField(max_digits=5, decimal_places=3, label='ABV')
| 52.375
| 73
| 0.73747
| 63
| 419
| 4.746032
| 0.31746
| 0.284281
| 0.334448
| 0.434783
| 0.769231
| 0.769231
| 0.769231
| 0.769231
| 0.769231
| 0
| 0
| 0.027174
| 0.121718
| 419
| 8
| 74
| 52.375
| 0.785326
| 0
| 0
| 0
| 0
| 0
| 0.030952
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.142857
| 0
| 1
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 0
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 9
|
ed0922a6c0a165f7db6402d84a192885f244f832
| 1,887
|
py
|
Python
|
projects/forms.py
|
TheDim0n/ProjectManager
|
50d36e7e3fc71655aa5a82bb19eacc07172ba5e4
|
[
"MIT"
] | null | null | null |
projects/forms.py
|
TheDim0n/ProjectManager
|
50d36e7e3fc71655aa5a82bb19eacc07172ba5e4
|
[
"MIT"
] | 1
|
2020-09-08T11:10:53.000Z
|
2020-09-08T11:10:53.000Z
|
projects/forms.py
|
TheDim0n/ProjectManager
|
50d36e7e3fc71655aa5a82bb19eacc07172ba5e4
|
[
"MIT"
] | null | null | null |
from django import forms
from .models import Project, Level
class ProjectForm(forms.ModelForm):
class Meta:
model = Project
fields = ['name', 'start_date', 'finish_date', 'status', 'description']
widgets = {
'name': forms.TextInput(attrs={
'class': 'form-control',
'placeholder': 'Enter project title',
}),
'start_date': forms.DateInput(attrs={
'class': 'form-control',
'type': 'date',
}),
'finish_date': forms.DateInput(attrs={
'class': 'form-control',
'type': 'date',
}),
'status': forms.Select(attrs={
'class': 'form-control',
}),
'description': forms.Textarea(attrs={
'class': 'form-control no-markdown',
'placeholder': 'Enter what to do in this project',
}),
}
class LevelForm(forms.ModelForm):
class Meta:
model = Level
fields = ['name', 'start_date', 'finish_date', 'status', 'description']
widgets = {
'name': forms.TextInput(attrs={
'class': 'form-control',
'placeholder': 'Enter stage title',
}),
'start_date': forms.DateInput(attrs={
'class': 'form-control',
'type': 'date',
}),
'finish_date': forms.DateInput(attrs={
'class': 'form-control',
'type': 'date',
}),
'status': forms.Select(attrs={
'class': 'form-control',
}),
'description': forms.Textarea(attrs={
'class': 'form-control no-markdown',
'placeholder': 'Enter what to do on this group (stage)',
}),
}
| 31.45
| 79
| 0.45893
| 154
| 1,887
| 5.571429
| 0.272727
| 0.11655
| 0.16317
| 0.244755
| 0.846154
| 0.780886
| 0.780886
| 0.780886
| 0.780886
| 0.780886
| 0
| 0
| 0.394807
| 1,887
| 59
| 80
| 31.983051
| 0.751313
| 0
| 0
| 0.769231
| 0
| 0
| 0.288288
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.038462
| 0
| 0.115385
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
ed188d7d692cdfca1d55663f4277bc1a0539faee
| 222,628
|
py
|
Python
|
source/codegen/metadata/nirfmxnr/functions.py
|
reckenro/grpc-device
|
c05a4a061e6578a22ca1494438f24c437e34edd7
|
[
"MIT"
] | null | null | null |
source/codegen/metadata/nirfmxnr/functions.py
|
reckenro/grpc-device
|
c05a4a061e6578a22ca1494438f24c437e34edd7
|
[
"MIT"
] | null | null | null |
source/codegen/metadata/nirfmxnr/functions.py
|
reckenro/grpc-device
|
c05a4a061e6578a22ca1494438f24c437e34edd7
|
[
"MIT"
] | null | null | null |
functions = {
'ACPCfgAveraging': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'enum': 'AcpAveragingEnabled',
'name': 'averagingEnabled',
'type': 'int32'
},
{
'direction': 'in',
'name': 'averagingCount',
'type': 'int32'
},
{
'direction': 'in',
'enum': 'AcpAveragingType',
'name': 'averagingType',
'type': 'int32'
}
],
'returns': 'int32'
},
'ACPCfgMeasurementMethod': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'enum': 'AcpMeasurementMethod',
'name': 'measurementMethod',
'type': 'int32'
}
],
'returns': 'int32'
},
'ACPCfgNoiseCompensationEnabled': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'enum': 'AcpNoiseCompensationEnabled',
'name': 'noiseCompensationEnabled',
'type': 'int32'
}
],
'returns': 'int32'
},
'ACPCfgNumberOfENDCOffsets': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'numberOfENDCOffsets',
'type': 'int32'
}
],
'returns': 'int32'
},
'ACPCfgNumberOfEUTRAOffsets': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'numberOfEUTRAOffsets',
'type': 'int32'
}
],
'returns': 'int32'
},
'ACPCfgNumberOfNROffsets': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'numberOfNROffsets',
'type': 'int32'
}
],
'returns': 'int32'
},
'ACPCfgNumberOfUTRAOffsets': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'numberOfUTRAOffsets',
'type': 'int32'
}
],
'returns': 'int32'
},
'ACPCfgPowerUnits': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'enum': 'AcpPowerUnits',
'name': 'powerUnits',
'type': 'int32'
}
],
'returns': 'int32'
},
'ACPCfgRBWFilter': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'enum': 'AcpRbwAutoBandwidth',
'name': 'rbwAuto',
'type': 'int32'
},
{
'direction': 'in',
'name': 'rbw',
'type': 'float64'
},
{
'direction': 'in',
'enum': 'AcpRbwFilterType',
'name': 'rbwFilterType',
'type': 'int32'
}
],
'returns': 'int32'
},
'ACPCfgSweepTime': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'enum': 'AcpSweepTimeAuto',
'name': 'sweepTimeAuto',
'type': 'int32'
},
{
'direction': 'in',
'name': 'sweepTimeInterval',
'type': 'float64'
}
],
'returns': 'int32'
},
'ACPFetchAbsolutePowersTrace': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'in',
'name': 'traceIndex',
'type': 'int32'
},
{
'direction': 'out',
'name': 'x0',
'type': 'float64'
},
{
'direction': 'out',
'name': 'dx',
'type': 'float64'
},
{
'direction': 'out',
'name': 'absolutePowersTrace',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float32[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'ACPFetchComponentCarrierMeasurement': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'absolutePower',
'type': 'float64'
},
{
'direction': 'out',
'name': 'relativePower',
'type': 'float64'
}
],
'returns': 'int32'
},
'ACPFetchComponentCarrierMeasurementArray': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'absolutePower',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float64[]'
},
{
'direction': 'out',
'name': 'relativePower',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float64[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'ACPFetchOffsetMeasurement': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'lowerRelativePower',
'type': 'float64'
},
{
'direction': 'out',
'name': 'upperRelativePower',
'type': 'float64'
},
{
'direction': 'out',
'name': 'lowerAbsolutePower',
'type': 'float64'
},
{
'direction': 'out',
'name': 'upperAbsolutePower',
'type': 'float64'
}
],
'returns': 'int32'
},
'ACPFetchOffsetMeasurementArray': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'lowerRelativePower',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float64[]'
},
{
'direction': 'out',
'name': 'upperRelativePower',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float64[]'
},
{
'direction': 'out',
'name': 'lowerAbsolutePower',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float64[]'
},
{
'direction': 'out',
'name': 'upperAbsolutePower',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float64[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'ACPFetchRelativePowersTrace': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'in',
'name': 'traceIndex',
'type': 'int32'
},
{
'direction': 'out',
'name': 'x0',
'type': 'float64'
},
{
'direction': 'out',
'name': 'dx',
'type': 'float64'
},
{
'direction': 'out',
'name': 'relativePowersTrace',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float32[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'ACPFetchSpectrum': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'x0',
'type': 'float64'
},
{
'direction': 'out',
'name': 'dx',
'type': 'float64'
},
{
'direction': 'out',
'name': 'spectrum',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float32[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'ACPFetchSubblockMeasurement': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'subblockPower',
'type': 'float64'
},
{
'direction': 'out',
'name': 'integrationBandwidth',
'type': 'float64'
},
{
'direction': 'out',
'name': 'frequency',
'type': 'float64'
}
],
'returns': 'int32'
},
'ACPFetchTotalAggregatedPower': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'totalAggregatedPower',
'type': 'float64'
}
],
'returns': 'int32'
},
'ACPValidateNoiseCalibrationData': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'out',
'enum': 'AcpNoiseCalibrationDataValid',
'name': 'noiseCalibrationDataValid',
'type': 'int32'
}
],
'returns': 'int32'
},
'AbortMeasurements': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
}
],
'returns': 'int32'
},
'AnalyzeIQ1Waveform': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'resultName',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'x0',
'type': 'float64'
},
{
'direction': 'in',
'name': 'dx',
'type': 'float64'
},
{
'direction': 'in',
'name': 'iq',
'size': {
'mechanism': 'len',
'value': 'arraySize'
},
'type': 'NIComplexSingle[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'in',
'name': 'reset',
'type': 'int32'
},
{
'direction': 'in',
'hardcoded_value': '0',
'include_in_proto': False,
'name': 'reserved',
'type': 'int64'
}
],
'returns': 'int32'
},
'AnalyzeSpectrum1Waveform': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'resultName',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'x0',
'type': 'float64'
},
{
'direction': 'in',
'name': 'dx',
'type': 'float64'
},
{
'direction': 'in',
'name': 'spectrum',
'size': {
'mechanism': 'len',
'value': 'arraySize'
},
'type': 'float32[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'in',
'name': 'reset',
'type': 'int32'
},
{
'direction': 'in',
'hardcoded_value': '0',
'include_in_proto': False,
'name': 'reserved',
'type': 'int64'
}
],
'returns': 'int32'
},
'AutoLevel': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'measurementInterval',
'type': 'float64'
},
{
'direction': 'out',
'name': 'referenceLevel',
'type': 'float64'
}
],
'returns': 'int32'
},
'BuildBandwidthPartString': {
'parameters': [
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'bandwidthPartNumber',
'type': 'int32'
},
{
'direction': 'in',
'name': 'selectorStringOutLength',
'type': 'int32'
},
{
'direction': 'out',
'name': 'selectorStringOut',
'size': {
'mechanism': 'ivi-dance',
'value': 'selectorStringOutLength'
},
'type': 'char[]'
}
],
'returns': 'int32'
},
'BuildCORESETClusterString': {
'parameters': [
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'coresetClusterNumber',
'type': 'int32'
},
{
'direction': 'in',
'name': 'selectorStringOutLength',
'type': 'int32'
},
{
'direction': 'out',
'name': 'selectorStringOut',
'size': {
'mechanism': 'ivi-dance',
'value': 'selectorStringOutLength'
},
'type': 'char[]'
}
],
'returns': 'int32'
},
'BuildCORESETString': {
'parameters': [
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'coresetNumber',
'type': 'int32'
},
{
'direction': 'in',
'name': 'selectorStringOutLength',
'type': 'int32'
},
{
'direction': 'out',
'name': 'selectorStringOut',
'size': {
'mechanism': 'ivi-dance',
'value': 'selectorStringOutLength'
},
'type': 'char[]'
}
],
'returns': 'int32'
},
'BuildCarrierString': {
'parameters': [
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'carrierNumber',
'type': 'int32'
},
{
'direction': 'in',
'name': 'selectorStringOutLength',
'type': 'int32'
},
{
'direction': 'out',
'name': 'selectorStringOut',
'size': {
'mechanism': 'ivi-dance',
'value': 'selectorStringOutLength'
},
'type': 'char[]'
}
],
'returns': 'int32'
},
'BuildListStepString': {
'parameters': [
{
'direction': 'in',
'name': 'listName',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'resultName',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'stepNumber',
'type': 'int32'
},
{
'direction': 'in',
'name': 'selectorStringLength',
'type': 'int32'
},
{
'direction': 'out',
'name': 'selectorString',
'size': {
'mechanism': 'ivi-dance',
'value': 'selectorStringLength'
},
'type': 'char[]'
}
],
'returns': 'int32'
},
'BuildListString': {
'parameters': [
{
'direction': 'in',
'name': 'listName',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'resultName',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'selectorStringLength',
'type': 'int32'
},
{
'direction': 'out',
'name': 'selectorString',
'size': {
'mechanism': 'ivi-dance',
'value': 'selectorStringLength'
},
'type': 'char[]'
}
],
'returns': 'int32'
},
'BuildOffsetString': {
'parameters': [
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'offsetNumber',
'type': 'int32'
},
{
'direction': 'in',
'name': 'selectorStringOutLength',
'type': 'int32'
},
{
'direction': 'out',
'name': 'selectorStringOut',
'size': {
'mechanism': 'ivi-dance',
'value': 'selectorStringOutLength'
},
'type': 'char[]'
}
],
'returns': 'int32'
},
'BuildPDCCHString': {
'parameters': [
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'pdcchNumber',
'type': 'int32'
},
{
'direction': 'in',
'name': 'selectorStringOutLength',
'type': 'int32'
},
{
'direction': 'out',
'name': 'selectorStringOut',
'size': {
'mechanism': 'ivi-dance',
'value': 'selectorStringOutLength'
},
'type': 'char[]'
}
],
'returns': 'int32'
},
'BuildPDSCHClusterString': {
'parameters': [
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'pdschClusterNumber',
'type': 'int32'
},
{
'direction': 'in',
'name': 'selectorStringOutLength',
'type': 'int32'
},
{
'direction': 'out',
'name': 'selectorStringOut',
'size': {
'mechanism': 'ivi-dance',
'value': 'selectorStringOutLength'
},
'type': 'char[]'
}
],
'returns': 'int32'
},
'BuildPDSCHString': {
'parameters': [
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'pdschNumber',
'type': 'int32'
},
{
'direction': 'in',
'name': 'selectorStringOutLength',
'type': 'int32'
},
{
'direction': 'out',
'name': 'selectorStringOut',
'size': {
'mechanism': 'ivi-dance',
'value': 'selectorStringOutLength'
},
'type': 'char[]'
}
],
'returns': 'int32'
},
'BuildPUSCHClusterString': {
'parameters': [
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'puschClusterNumber',
'type': 'int32'
},
{
'direction': 'in',
'name': 'selectorStringOutLength',
'type': 'int32'
},
{
'direction': 'out',
'name': 'selectorStringOut',
'size': {
'mechanism': 'ivi-dance',
'value': 'selectorStringOutLength'
},
'type': 'char[]'
}
],
'returns': 'int32'
},
'BuildPUSCHString': {
'parameters': [
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'puschNumber',
'type': 'int32'
},
{
'direction': 'in',
'name': 'selectorStringOutLength',
'type': 'int32'
},
{
'direction': 'out',
'name': 'selectorStringOut',
'size': {
'mechanism': 'ivi-dance',
'value': 'selectorStringOutLength'
},
'type': 'char[]'
}
],
'returns': 'int32'
},
'BuildSignalString': {
'parameters': [
{
'direction': 'in',
'name': 'signalName',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'resultName',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'selectorStringLength',
'type': 'int32'
},
{
'direction': 'out',
'name': 'selectorString',
'size': {
'mechanism': 'ivi-dance',
'value': 'selectorStringLength'
},
'type': 'char[]'
}
],
'returns': 'int32'
},
'BuildSubblockString': {
'parameters': [
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'subblockNumber',
'type': 'int32'
},
{
'direction': 'in',
'name': 'selectorStringOutLength',
'type': 'int32'
},
{
'direction': 'out',
'name': 'selectorStringOut',
'size': {
'mechanism': 'ivi-dance',
'value': 'selectorStringOutLength'
},
'type': 'char[]'
}
],
'returns': 'int32'
},
'BuildUserString': {
'parameters': [
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'userNumber',
'type': 'int32'
},
{
'direction': 'in',
'name': 'selectorStringOutLength',
'type': 'int32'
},
{
'direction': 'out',
'name': 'selectorStringOut',
'size': {
'mechanism': 'ivi-dance',
'value': 'selectorStringOutLength'
},
'type': 'char[]'
}
],
'returns': 'int32'
},
'CHPCfgAveraging': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'enum': 'ChpAveragingEnabled',
'name': 'averagingEnabled',
'type': 'int32'
},
{
'direction': 'in',
'name': 'averagingCount',
'type': 'int32'
},
{
'direction': 'in',
'enum': 'ChpAveragingType',
'name': 'averagingType',
'type': 'int32'
}
],
'returns': 'int32'
},
'CHPCfgRBWFilter': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'enum': 'ChpRbwAutoBandwidth',
'name': 'rbwAuto',
'type': 'int32'
},
{
'direction': 'in',
'name': 'rbw',
'type': 'float64'
},
{
'direction': 'in',
'enum': 'ChpRbwFilterType',
'name': 'rbwFilterType',
'type': 'int32'
}
],
'returns': 'int32'
},
'CHPCfgSweepTime': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'enum': 'ChpSweepTimeAuto',
'name': 'sweepTimeAuto',
'type': 'int32'
},
{
'direction': 'in',
'name': 'sweepTimeInterval',
'type': 'float64'
}
],
'returns': 'int32'
},
'CHPFetchComponentCarrierMeasurement': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'absolutePower',
'type': 'float64'
},
{
'direction': 'out',
'name': 'relativePower',
'type': 'float64'
}
],
'returns': 'int32'
},
'CHPFetchComponentCarrierMeasurementArray': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'absolutePower',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float64[]'
},
{
'direction': 'out',
'name': 'relativePower',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float64[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'CHPFetchSpectrum': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'x0',
'type': 'float64'
},
{
'direction': 'out',
'name': 'dx',
'type': 'float64'
},
{
'direction': 'out',
'name': 'spectrum',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float32[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'CHPFetchSubblockPower': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'subblockPower',
'type': 'float64'
}
],
'returns': 'int32'
},
'CHPFetchTotalAggregatedPower': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'totalAggregatedPower',
'type': 'float64'
}
],
'returns': 'int32'
},
'CHPValidateNoiseCalibrationData': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'out',
'enum': 'ChpNoiseCalibrationDataValid',
'name': 'noiseCalibrationDataValid',
'type': 'int32'
}
],
'returns': 'int32'
},
'CfgDigitalEdgeTrigger': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'enum': 'DigitalEdgeTriggerSource',
'name': 'digitalEdgeSource',
'type': 'char[]'
},
{
'direction': 'in',
'enum': 'DigitalEdgeTriggerEdge',
'name': 'digitalEdge',
'type': 'int32'
},
{
'direction': 'in',
'name': 'triggerDelay',
'type': 'float64'
},
{
'direction': 'in',
'name': 'enableTrigger',
'type': 'int32'
}
],
'returns': 'int32'
},
'CfgExternalAttenuation': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'externalAttenuation',
'type': 'float64'
}
],
'returns': 'int32'
},
'CfgFrequency': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'centerFrequency',
'type': 'float64'
}
],
'returns': 'int32'
},
'CfgFrequencyReference': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'channelName',
'type': 'char[]'
},
{
'direction': 'in',
'enum': 'FrequencyReferenceSource',
'name': 'frequencyReferenceSource',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'frequencyReferenceFrequency',
'type': 'float64'
}
],
'returns': 'int32'
},
'CfgIQPowerEdgeTrigger': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'iqPowerEdgeSource',
'type': 'char[]'
},
{
'direction': 'in',
'enum': 'IQPowerEdgeTriggerSlope',
'name': 'iqPowerEdgeSlope',
'type': 'int32'
},
{
'direction': 'in',
'name': 'iqPowerEdgeLevel',
'type': 'float64'
},
{
'direction': 'in',
'name': 'triggerDelay',
'type': 'float64'
},
{
'direction': 'in',
'enum': 'TriggerMinimumQuietTimeMode',
'name': 'triggerMinQuietTimeMode',
'type': 'int32'
},
{
'direction': 'in',
'name': 'triggerMinQuietTimeDuration',
'type': 'float64'
},
{
'direction': 'in',
'enum': 'IQPowerEdgeTriggerLevelType',
'name': 'iqPowerEdgeLevelType',
'type': 'int32'
},
{
'direction': 'in',
'name': 'enableTrigger',
'type': 'int32'
}
],
'returns': 'int32'
},
'CfgMechanicalAttenuation': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'channelName',
'type': 'char[]'
},
{
'direction': 'in',
'enum': 'MechanicalAttenuationAuto',
'name': 'mechanicalAttenuationAuto',
'type': 'int32'
},
{
'direction': 'in',
'name': 'mechanicalAttenuationValue',
'type': 'float64'
}
],
'returns': 'int32'
},
'CfgRF': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'centerFrequency',
'type': 'float64'
},
{
'direction': 'in',
'name': 'referenceLevel',
'type': 'float64'
},
{
'direction': 'in',
'name': 'externalAttenuation',
'type': 'float64'
}
],
'returns': 'int32'
},
'CfgRFAttenuation': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'channelName',
'type': 'char[]'
},
{
'direction': 'in',
'enum': 'RFAttenuationAuto',
'name': 'rfAttenuationAuto',
'type': 'int32'
},
{
'direction': 'in',
'name': 'rfAttenuationValue',
'type': 'float64'
}
],
'returns': 'int32'
},
'CfgReferenceLevel': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'referenceLevel',
'type': 'float64'
}
],
'returns': 'int32'
},
'CfgSoftwareEdgeTrigger': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'triggerDelay',
'type': 'float64'
},
{
'direction': 'in',
'name': 'enableTrigger',
'type': 'int32'
}
],
'returns': 'int32'
},
'CfggNodeBCategory': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'enum': 'GNodeBCategory',
'grpc_name': 'gnodeb_category',
'name': 'gNodeBCategory',
'type': 'int32'
}
],
'returns': 'int32'
},
'CheckMeasurementStatus': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'out',
'grpc_type': 'bool',
'name': 'isDone',
'type': 'int32'
}
],
'returns': 'int32'
},
'ClearAllNamedResults': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
}
],
'returns': 'int32'
},
'ClearNamedResult': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
}
],
'returns': 'int32'
},
'ClearNoiseCalibrationDatabase': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
}
],
'returns': 'int32'
},
'CloneSignalConfiguration': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'oldSignalName',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'newSignalName',
'type': 'char[]'
}
],
'returns': 'int32'
},
'Close': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'grpc_type': 'bool',
'name': 'forceDestroy',
'type': 'int32'
}
],
'returns': 'int32'
},
'Commit': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
}
],
'returns': 'int32'
},
'CreateList': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'listName',
'type': 'char[]'
}
],
'returns': 'int32'
},
'CreateListStep': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'out',
'name': 'createdStepIndex',
'type': 'int32'
}
],
'returns': 'int32'
},
'CreateSignalConfiguration': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'signalName',
'type': 'char[]'
}
],
'returns': 'int32'
},
'DeleteList': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'listName',
'type': 'char[]'
}
],
'returns': 'int32'
},
'DeleteSignalConfiguration': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'signalName',
'type': 'char[]'
}
],
'returns': 'int32'
},
'DisableTrigger': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
}
],
'returns': 'int32'
},
'GetAllNamedResultNames': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'out',
'name': 'resultNames',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'resultNamesBufferSize',
'value_twist': 'actualResultNamesSize'
},
'type': 'char[]'
},
{
'direction': 'in',
'name': 'resultNamesBufferSize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualResultNamesSize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'defaultResultExists',
'type': 'int32'
}
],
'returns': 'int32'
},
'GetAttributeF32': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'grpc_type': 'NiRFmxNRAttribute',
'name': 'attributeID',
'type': 'int32'
},
{
'direction': 'out',
'name': 'attrVal',
'type': 'float32'
}
],
'returns': 'int32'
},
'GetAttributeF32Array': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'grpc_type': 'NiRFmxNRAttribute',
'name': 'attributeID',
'type': 'int32'
},
{
'direction': 'out',
'name': 'attrVal',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float32[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'GetAttributeF64': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'grpc_type': 'NiRFmxNRAttribute',
'name': 'attributeID',
'type': 'int32'
},
{
'direction': 'out',
'name': 'attrVal',
'type': 'float64'
}
],
'returns': 'int32'
},
'GetAttributeF64Array': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'grpc_type': 'NiRFmxNRAttribute',
'name': 'attributeID',
'type': 'int32'
},
{
'direction': 'out',
'name': 'attrVal',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float64[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'GetAttributeI16': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'grpc_type': 'NiRFmxNRAttribute',
'name': 'attributeID',
'type': 'int32'
},
{
'direction': 'out',
'name': 'attrVal',
'type': 'int16'
}
],
'returns': 'int32'
},
'GetAttributeI32': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'grpc_type': 'NiRFmxNRAttribute',
'name': 'attributeID',
'type': 'int32'
},
{
'direction': 'out',
'name': 'attrVal',
'type': 'int32'
}
],
'returns': 'int32'
},
'GetAttributeI32Array': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'grpc_type': 'NiRFmxNRAttribute',
'name': 'attributeID',
'type': 'int32'
},
{
'direction': 'out',
'name': 'attrVal',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'int32[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'GetAttributeI64': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'grpc_type': 'NiRFmxNRAttribute',
'name': 'attributeID',
'type': 'int32'
},
{
'direction': 'out',
'name': 'attrVal',
'type': 'int64'
}
],
'returns': 'int32'
},
'GetAttributeI64Array': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'grpc_type': 'NiRFmxNRAttribute',
'name': 'attributeID',
'type': 'int32'
},
{
'direction': 'out',
'name': 'attrVal',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'int64[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'GetAttributeI8': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'grpc_type': 'NiRFmxNRAttribute',
'name': 'attributeID',
'type': 'int32'
},
{
'direction': 'out',
'name': 'attrVal',
'type': 'int8'
}
],
'returns': 'int32'
},
'GetAttributeI8Array': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'grpc_type': 'NiRFmxNRAttribute',
'name': 'attributeID',
'type': 'int32'
},
{
'direction': 'out',
'name': 'attrVal',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'int8[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'GetAttributeNIComplexDoubleArray': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'grpc_type': 'NiRFmxNRAttribute',
'name': 'attributeID',
'type': 'int32'
},
{
'direction': 'out',
'name': 'attrVal',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'NIComplexDouble[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'GetAttributeNIComplexSingleArray': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'grpc_type': 'NiRFmxNRAttribute',
'name': 'attributeID',
'type': 'int32'
},
{
'direction': 'out',
'name': 'attrVal',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'NIComplexSingle[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'GetAttributeString': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'grpc_type': 'NiRFmxNRAttribute',
'name': 'attributeID',
'type': 'int32'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'attrVal',
'size': {
'mechanism': 'ivi-dance',
'value': 'arraySize'
},
'type': 'char[]'
}
],
'returns': 'int32'
},
'GetAttributeU16': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'grpc_type': 'NiRFmxNRAttribute',
'name': 'attributeID',
'type': 'int32'
},
{
'direction': 'out',
'name': 'attrVal',
'type': 'uInt16'
}
],
'returns': 'int32'
},
'GetAttributeU32': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'grpc_type': 'NiRFmxNRAttribute',
'name': 'attributeID',
'type': 'int32'
},
{
'direction': 'out',
'name': 'attrVal',
'type': 'uInt32'
}
],
'returns': 'int32'
},
'GetAttributeU32Array': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'grpc_type': 'NiRFmxNRAttribute',
'name': 'attributeID',
'type': 'int32'
},
{
'direction': 'out',
'name': 'attrVal',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'uInt32[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'GetAttributeU64Array': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'grpc_type': 'NiRFmxNRAttribute',
'name': 'attributeID',
'type': 'int32'
},
{
'direction': 'out',
'name': 'attrVal',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'uInt64[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'GetAttributeU8': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'grpc_type': 'NiRFmxNRAttribute',
'name': 'attributeID',
'type': 'int32'
},
{
'direction': 'out',
'name': 'attrVal',
'type': 'uInt8'
}
],
'returns': 'int32'
},
'GetAttributeU8Array': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'grpc_type': 'NiRFmxNRAttribute',
'name': 'attributeID',
'type': 'int32'
},
{
'direction': 'out',
'name': 'attrVal',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'uInt8[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'GetError': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'out',
'name': 'errorCode',
'type': 'int32'
},
{
'direction': 'in',
'name': 'errorDescriptionBufferSize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'errorDescription',
'size': {
'mechanism': 'ivi-dance',
'value': 'errorDescriptionBufferSize'
},
'type': 'char[]'
}
],
'returns': 'int32'
},
'GetErrorString': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'errorCode',
'type': 'int32'
},
{
'direction': 'in',
'name': 'errorDescriptionBufferSize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'errorDescription',
'size': {
'mechanism': 'ivi-dance',
'value': 'errorDescriptionBufferSize'
},
'type': 'char[]'
}
],
'returns': 'int32'
},
'Initialize': {
'custom_close': 'Close(id, RFMXNR_VAL_FALSE)',
'init_method': True,
'parameters': [
{
'direction': 'in',
'name': 'resourceName',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'optionString',
'type': 'char[]'
},
{
'direction': 'out',
'grpc_name': 'instrument',
'name': 'handleOut',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'out',
'name': 'isNewSession',
'type': 'int32'
},
{
'direction': 'out',
'get_last_error': 'get_last_error_message',
'name': 'errorMessage',
'type': 'char[]'
}
],
'returns': 'int32'
},
'InitializeFromNIRFSASession': {
'custom_close': 'Close(id, RFMXNR_VAL_FALSE)',
'init_method': True,
'parameters': [
{
'cross_driver_session': 'ViSession',
'direction': 'in',
'grpc_type': 'nidevice_grpc.Session',
'name': 'nirfsaSession',
'type': 'uInt32'
},
{
'direction': 'out',
'grpc_name': 'instrument',
'name': 'handleOut',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'out',
'get_last_error': 'get_last_error_message',
'name': 'errorMessage',
'type': 'char[]'
}
],
'returns': 'int32'
},
'Initiate': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'resultName',
'type': 'char[]'
}
],
'returns': 'int32'
},
'ModAccAutoLevel': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
}
],
'returns': 'int32'
},
'ModAccCfgMeasurementMode': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'enum': 'ModAccMeasurementMode',
'name': 'measurementMode',
'type': 'int32'
}
],
'returns': 'int32'
},
'ModAccCfgNoiseCompensationEnabled': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'enum': 'ModAccNoiseCompensationEnabled',
'name': 'noiseCompensationEnabled',
'type': 'int32'
}
],
'returns': 'int32'
},
'ModAccCfgReferenceWaveform': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'x0',
'type': 'float64'
},
{
'direction': 'in',
'name': 'dx',
'type': 'float64'
},
{
'direction': 'in',
'name': 'referenceWaveform',
'size': {
'mechanism': 'len',
'value': 'arraySize'
},
'type': 'NIComplexSingle[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'ModAccClearNoiseCalibrationDatabase': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
}
],
'returns': 'int32'
},
'ModAccFetchCompositeEVM': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'grpc_name': 'composite_rms_evm_mean',
'name': 'compositeRMSEVMMean',
'type': 'float64'
},
{
'direction': 'out',
'name': 'compositePeakEVMMaximum',
'type': 'float64'
}
],
'returns': 'int32'
},
'ModAccFetchFrequencyErrorMean': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'frequencyErrorMean',
'type': 'float64'
}
],
'returns': 'int32'
},
'ModAccFetchIQGainImbalancePerSubcarrierMeanTrace': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'x0',
'type': 'float64'
},
{
'direction': 'out',
'name': 'dx',
'type': 'float64'
},
{
'direction': 'out',
'name': 'iqGainImbalancePerSubcarrierMean',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float32[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'ModAccFetchIQQuadratureErrorPerSubcarrierMeanTrace': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'x0',
'type': 'float64'
},
{
'direction': 'out',
'name': 'dx',
'type': 'float64'
},
{
'direction': 'out',
'name': 'iqQuadratureErrorPerSubcarrierMean',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float32[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'ModAccFetchInBandEmissionTrace': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'x0',
'type': 'float64'
},
{
'direction': 'out',
'name': 'dx',
'type': 'float64'
},
{
'direction': 'out',
'name': 'inBandEmission',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float32[]'
},
{
'direction': 'out',
'name': 'inBandEmissionMask',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float32[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'ModAccFetchPBCHDMRSConstellationTrace': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'grpc_name': 'pbch_dmrs_constellation',
'name': 'pbchdmrsConstellation',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'NIComplexSingle[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'ModAccFetchPBCHDMRSRMSEVMPerSubcarrierMeanTrace': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'x0',
'type': 'float64'
},
{
'direction': 'out',
'name': 'dx',
'type': 'float64'
},
{
'direction': 'out',
'grpc_name': 'pbch_dmrs_rms_evm_per_subcarrier_mean',
'name': 'pbchdmrsrmsevmPerSubcarrierMean',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float32[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'ModAccFetchPBCHDMRSRMSEVMPerSymbolMeanTrace': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'x0',
'type': 'float64'
},
{
'direction': 'out',
'name': 'dx',
'type': 'float64'
},
{
'direction': 'out',
'grpc_name': 'pbch_dmrs_rms_evm_per_symbol_mean',
'name': 'pbchdmrsrmsevmPerSymbolMean',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float32[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'ModAccFetchPBCHDataConstellationTrace': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'pbchDataConstellation',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'NIComplexSingle[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'ModAccFetchPBCHDataRMSEVMPerSubcarrierMeanTrace': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'x0',
'type': 'float64'
},
{
'direction': 'out',
'name': 'dx',
'type': 'float64'
},
{
'direction': 'out',
'grpc_name': 'pbch_data_rms_evm_per_subcarrier_mean',
'name': 'pbchDataRMSEVMPerSubcarrierMean',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float32[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'ModAccFetchPBCHDataRMSEVMPerSymbolMeanTrace': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'x0',
'type': 'float64'
},
{
'direction': 'out',
'name': 'dx',
'type': 'float64'
},
{
'direction': 'out',
'grpc_name': 'pbch_data_rms_evm_per_symbol_mean',
'name': 'pbchDataRMSEVMPerSymbolMean',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float32[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'ModAccFetchPDSCH1024QAMConstellationTrace': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'qam1024Constellation',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'NIComplexSingle[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'ModAccFetchPDSCH16QAMConstellationTrace': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'qam16Constellation',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'NIComplexSingle[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'ModAccFetchPDSCH256QAMConstellationTrace': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'qam256Constellation',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'NIComplexSingle[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'ModAccFetchPDSCH64QAMConstellationTrace': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'qam64Constellation',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'NIComplexSingle[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'ModAccFetchPDSCH8PSKConstellationTrace': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'psk8Constellation',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'NIComplexSingle[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'ModAccFetchPDSCHDMRSConstellationTrace': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'grpc_name': 'pdsch_dmrs_constellation',
'name': 'pdschdmrsConstellation',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'NIComplexSingle[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'ModAccFetchPDSCHDataConstellationTrace': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'pdschDataConstellation',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'NIComplexSingle[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'ModAccFetchPDSCHDemodulatedBits': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'bits',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'int8[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'ModAccFetchPDSCHPTRSConstellationTrace': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'grpc_name': 'pdsch_ptrs_constellation',
'name': 'pdschptrsConstellation',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'NIComplexSingle[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'ModAccFetchPDSCHQPSKConstellationTrace': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'qpskConstellation',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'NIComplexSingle[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'ModAccFetchPSSConstellationTrace': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'pssConstellation',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'NIComplexSingle[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'ModAccFetchPSSRMSEVMPerSubcarrierMeanTrace': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'x0',
'type': 'float64'
},
{
'direction': 'out',
'name': 'dx',
'type': 'float64'
},
{
'direction': 'out',
'grpc_name': 'pss_rms_evm_per_subcarrier_mean',
'name': 'pssrmsevmPerSubcarrierMean',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float32[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'ModAccFetchPSSRMSEVMPerSymbolMeanTrace': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'x0',
'type': 'float64'
},
{
'direction': 'out',
'name': 'dx',
'type': 'float64'
},
{
'direction': 'out',
'grpc_name': 'pss_rms_evm_per_symbol_mean',
'name': 'pssrmsevmPerSymbolMean',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float32[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'ModAccFetchPUSCHDMRSConstellationTrace': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'grpc_name': 'pusch_dmrs_constellation',
'name': 'puschdmrsConstellation',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'NIComplexSingle[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'ModAccFetchPUSCHDataConstellationTrace': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'puschDataConstellation',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'NIComplexSingle[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'ModAccFetchPUSCHDemodulatedBits': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'bits',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'int8[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'ModAccFetchPUSCHPTRSConstellationTrace': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'grpc_name': 'pusch_ptrs_constellation',
'name': 'puschptrsConstellation',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'NIComplexSingle[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'ModAccFetchPeakEVMPerSlotMaximumTrace': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'x0',
'type': 'float64'
},
{
'direction': 'out',
'name': 'dx',
'type': 'float64'
},
{
'direction': 'out',
'name': 'peakEVMPerSlotMaximum',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float32[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'ModAccFetchPeakEVMPerSubcarrierMaximumTrace': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'x0',
'type': 'float64'
},
{
'direction': 'out',
'name': 'dx',
'type': 'float64'
},
{
'direction': 'out',
'name': 'peakEVMPerSubcarrierMaximum',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float32[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'ModAccFetchPeakEVMPerSymbolMaximumTrace': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'x0',
'type': 'float64'
},
{
'direction': 'out',
'name': 'dx',
'type': 'float64'
},
{
'direction': 'out',
'name': 'peakEVMPerSymbolMaximum',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float32[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'ModAccFetchRMSEVMHighPerSymbolMeanTrace': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'x0',
'type': 'float64'
},
{
'direction': 'out',
'name': 'dx',
'type': 'float64'
},
{
'direction': 'out',
'grpc_name': 'rms_evm_high_per_symbol_mean',
'name': 'rmsevmHighPerSymbolMean',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float32[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'ModAccFetchRMSEVMLowPerSymbolMeanTrace': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'x0',
'type': 'float64'
},
{
'direction': 'out',
'name': 'dx',
'type': 'float64'
},
{
'direction': 'out',
'grpc_name': 'rms_evm_low_per_symbol_mean',
'name': 'rmsevmLowPerSymbolMean',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float32[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'ModAccFetchRMSEVMPerSlotMeanTrace': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'x0',
'type': 'float64'
},
{
'direction': 'out',
'name': 'dx',
'type': 'float64'
},
{
'direction': 'out',
'grpc_name': 'rms_evm_per_slot_mean',
'name': 'rmsevmPerSlotMean',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float32[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'ModAccFetchRMSEVMPerSubcarrierMeanTrace': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'x0',
'type': 'float64'
},
{
'direction': 'out',
'name': 'dx',
'type': 'float64'
},
{
'direction': 'out',
'grpc_name': 'rms_evm_per_subcarrier_mean',
'name': 'rmsevmPerSubcarrierMean',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float32[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'ModAccFetchRMSEVMPerSymbolMeanTrace': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'x0',
'type': 'float64'
},
{
'direction': 'out',
'name': 'dx',
'type': 'float64'
},
{
'direction': 'out',
'grpc_name': 'rms_evm_per_symbol_mean',
'name': 'rmsevmPerSymbolMean',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float32[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'ModAccFetchSSSConstellationTrace': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'sssConstellation',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'NIComplexSingle[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'ModAccFetchSSSRMSEVMPerSubcarrierMeanTrace': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'x0',
'type': 'float64'
},
{
'direction': 'out',
'name': 'dx',
'type': 'float64'
},
{
'direction': 'out',
'grpc_name': 'sss_rms_evm_per_subcarrier_mean',
'name': 'sssrmsevmPerSubcarrierMean',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float32[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'ModAccFetchSSSRMSEVMPerSymbolMeanTrace': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'x0',
'type': 'float64'
},
{
'direction': 'out',
'name': 'dx',
'type': 'float64'
},
{
'direction': 'out',
'grpc_name': 'sss_rms_evm_per_symbol_mean',
'name': 'sssrmsevmPerSymbolMean',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float32[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'ModAccFetchSpectralFlatnessTrace': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'x0',
'type': 'float64'
},
{
'direction': 'out',
'name': 'dx',
'type': 'float64'
},
{
'direction': 'out',
'name': 'spectralFlatness',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float32[]'
},
{
'direction': 'out',
'name': 'spectralFlatnessLowerMask',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float32[]'
},
{
'direction': 'out',
'name': 'spectralFlatnessUpperMask',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float32[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'ModAccFetchSubblockInBandEmissionTrace': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'subblockInBandEmission',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float64[]'
},
{
'direction': 'out',
'name': 'subblockInBandEmissionMask',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float64[]'
},
{
'direction': 'out',
'name': 'subblockInBandEmissionRBIndices',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float64[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'ModAccValidateCalibrationData': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'out',
'enum': 'ModAccCalibrationDataValid',
'name': 'calibrationDataValid',
'type': 'int32'
}
],
'returns': 'int32'
},
'OBWCfgAveraging': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'enum': 'ObwAveragingEnabled',
'name': 'averagingEnabled',
'type': 'int32'
},
{
'direction': 'in',
'name': 'averagingCount',
'type': 'int32'
},
{
'direction': 'in',
'enum': 'ObwAveragingType',
'name': 'averagingType',
'type': 'int32'
}
],
'returns': 'int32'
},
'OBWCfgRBWFilter': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'enum': 'ObwRbwAutoBandwidth',
'name': 'rbwAuto',
'type': 'int32'
},
{
'direction': 'in',
'name': 'rbw',
'type': 'float64'
},
{
'direction': 'in',
'enum': 'ObwRbwFilterType',
'name': 'rbwFilterType',
'type': 'int32'
}
],
'returns': 'int32'
},
'OBWCfgSweepTime': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'enum': 'ObwSweepTimeAuto',
'name': 'sweepTimeAuto',
'type': 'int32'
},
{
'direction': 'in',
'name': 'sweepTimeInterval',
'type': 'float64'
}
],
'returns': 'int32'
},
'OBWFetchMeasurement': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'occupiedBandwidth',
'type': 'float64'
},
{
'direction': 'out',
'name': 'absolutePower',
'type': 'float64'
},
{
'direction': 'out',
'name': 'startFrequency',
'type': 'float64'
},
{
'direction': 'out',
'name': 'stopFrequency',
'type': 'float64'
}
],
'returns': 'int32'
},
'OBWFetchSpectrum': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'x0',
'type': 'float64'
},
{
'direction': 'out',
'name': 'dx',
'type': 'float64'
},
{
'direction': 'out',
'name': 'spectrum',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float32[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'PVTCfgAveraging': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'enum': 'PvtAveragingEnabled',
'name': 'averagingEnabled',
'type': 'int32'
},
{
'direction': 'in',
'name': 'averagingCount',
'type': 'int32'
},
{
'direction': 'in',
'enum': 'PvtAveragingType',
'name': 'averagingType',
'type': 'int32'
}
],
'returns': 'int32'
},
'PVTCfgMeasurementMethod': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'enum': 'PvtMeasurementMethod',
'name': 'measurementMethod',
'type': 'int32'
}
],
'returns': 'int32'
},
'PVTCfgOFFPowerExclusionPeriods': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'offPowerExclusionBefore',
'type': 'float64'
},
{
'direction': 'in',
'name': 'offPowerExclusionAfter',
'type': 'float64'
}
],
'returns': 'int32'
},
'PVTFetchMeasurement': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'enum': 'PvtMeasurementStatus',
'name': 'measurementStatus',
'type': 'int32'
},
{
'direction': 'out',
'name': 'absoluteOFFPowerBefore',
'type': 'float64'
},
{
'direction': 'out',
'name': 'absoluteOFFPowerAfter',
'type': 'float64'
},
{
'direction': 'out',
'name': 'absoluteONPower',
'type': 'float64'
},
{
'direction': 'out',
'name': 'burstWidth',
'type': 'float64'
}
],
'returns': 'int32'
},
'PVTFetchMeasurementArray': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'enum': 'PvtMeasurementStatus',
'name': 'measurementStatus',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'int32[]'
},
{
'direction': 'out',
'name': 'absoluteOFFPowerBefore',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float64[]'
},
{
'direction': 'out',
'name': 'absoluteOFFPowerAfter',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float64[]'
},
{
'direction': 'out',
'name': 'absoluteONPower',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float64[]'
},
{
'direction': 'out',
'name': 'burstWidth',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float64[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'PVTFetchSignalPowerTrace': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'x0',
'type': 'float64'
},
{
'direction': 'out',
'name': 'dx',
'type': 'float64'
},
{
'direction': 'out',
'name': 'signalPower',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float32[]'
},
{
'direction': 'out',
'name': 'absoluteLimit',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float32[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'PVTFetchWindowedSignalPowerTrace': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'x0',
'type': 'float64'
},
{
'direction': 'out',
'name': 'dx',
'type': 'float64'
},
{
'direction': 'out',
'name': 'windowedSignalPower',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float32[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'ResetAttribute': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'grpc_type': 'NiRFmxNRAttribute',
'name': 'attributeID',
'type': 'int32'
}
],
'returns': 'int32'
},
'ResetToDefault': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
}
],
'returns': 'int32'
},
'SEMCfgAveraging': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'enum': 'SemAveragingEnabled',
'name': 'averagingEnabled',
'type': 'int32'
},
{
'direction': 'in',
'name': 'averagingCount',
'type': 'int32'
},
{
'direction': 'in',
'enum': 'SemAveragingType',
'name': 'averagingType',
'type': 'int32'
}
],
'returns': 'int32'
},
'SEMCfgComponentCarrierRatedOutputPower': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'componentCarrierRatedOutputPower',
'type': 'float64'
}
],
'returns': 'int32'
},
'SEMCfgComponentCarrierRatedOutputPowerArray': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'componentCarrierRatedOutputPower',
'size': {
'mechanism': 'len',
'value': 'numberOfElements'
},
'type': 'float64[]'
},
{
'direction': 'in',
'name': 'numberOfElements',
'type': 'int32'
}
],
'returns': 'int32'
},
'SEMCfgNumberOfOffsets': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'numberOfOffsets',
'type': 'int32'
}
],
'returns': 'int32'
},
'SEMCfgOffsetAbsoluteLimit': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'absoluteLimitStart',
'type': 'float64'
},
{
'direction': 'in',
'name': 'absoluteLimitStop',
'type': 'float64'
}
],
'returns': 'int32'
},
'SEMCfgOffsetAbsoluteLimitArray': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'absoluteLimitStart',
'size': {
'mechanism': 'len',
'tags': [
'optional'
],
'value': 'numberOfElements'
},
'type': 'float64[]'
},
{
'direction': 'in',
'name': 'absoluteLimitStop',
'size': {
'mechanism': 'len',
'tags': [
'optional'
],
'value': 'numberOfElements'
},
'type': 'float64[]'
},
{
'direction': 'in',
'name': 'numberOfElements',
'type': 'int32'
}
],
'returns': 'int32'
},
'SEMCfgOffsetBandwidthIntegral': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'bandwidthIntegral',
'type': 'int32'
}
],
'returns': 'int32'
},
'SEMCfgOffsetBandwidthIntegralArray': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'bandwidthIntegral',
'size': {
'mechanism': 'len',
'value': 'numberOfElements'
},
'type': 'int32[]'
},
{
'direction': 'in',
'name': 'numberOfElements',
'type': 'int32'
}
],
'returns': 'int32'
},
'SEMCfgOffsetFrequency': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'offsetStartFrequency',
'type': 'float64'
},
{
'direction': 'in',
'name': 'offsetStopFrequency',
'type': 'float64'
},
{
'direction': 'in',
'enum': 'SemOffsetSideband',
'name': 'offsetSideband',
'type': 'int32'
}
],
'returns': 'int32'
},
'SEMCfgOffsetFrequencyArray': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'offsetStartFrequency',
'size': {
'mechanism': 'len',
'tags': [
'optional'
],
'value': 'numberOfElements'
},
'type': 'float64[]'
},
{
'direction': 'in',
'name': 'offsetStopFrequency',
'size': {
'mechanism': 'len',
'tags': [
'optional'
],
'value': 'numberOfElements'
},
'type': 'float64[]'
},
{
'direction': 'in',
'enum': 'SemOffsetSideband',
'name': 'offsetSideband',
'size': {
'mechanism': 'len',
'tags': [
'optional'
],
'value': 'numberOfElements'
},
'type': 'int32[]'
},
{
'direction': 'in',
'name': 'numberOfElements',
'type': 'int32'
}
],
'returns': 'int32'
},
'SEMCfgOffsetLimitFailMask': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'enum': 'SemOffsetLimitFailMask',
'name': 'limitFailMask',
'type': 'int32'
}
],
'returns': 'int32'
},
'SEMCfgOffsetLimitFailMaskArray': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'enum': 'SemOffsetLimitFailMask',
'name': 'limitFailMask',
'size': {
'mechanism': 'len',
'value': 'numberOfElements'
},
'type': 'int32[]'
},
{
'direction': 'in',
'name': 'numberOfElements',
'type': 'int32'
}
],
'returns': 'int32'
},
'SEMCfgOffsetRBWFilter': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'offsetRBW',
'type': 'float64'
},
{
'direction': 'in',
'enum': 'SemOffsetRbwFilterType',
'name': 'offsetRBWFilterType',
'type': 'int32'
}
],
'returns': 'int32'
},
'SEMCfgOffsetRBWFilterArray': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'offsetRBW',
'size': {
'mechanism': 'len',
'tags': [
'optional'
],
'value': 'numberOfElements'
},
'type': 'float64[]'
},
{
'direction': 'in',
'enum': 'SemOffsetRbwFilterType',
'name': 'offsetRBWFilterType',
'size': {
'mechanism': 'len',
'tags': [
'optional'
],
'value': 'numberOfElements'
},
'type': 'int32[]'
},
{
'direction': 'in',
'name': 'numberOfElements',
'type': 'int32'
}
],
'returns': 'int32'
},
'SEMCfgOffsetRelativeLimit': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'relativeLimitStart',
'type': 'float64'
},
{
'direction': 'in',
'name': 'relativeLimitStop',
'type': 'float64'
}
],
'returns': 'int32'
},
'SEMCfgOffsetRelativeLimitArray': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'relativeLimitStart',
'size': {
'mechanism': 'len',
'tags': [
'optional'
],
'value': 'numberOfElements'
},
'type': 'float64[]'
},
{
'direction': 'in',
'name': 'relativeLimitStop',
'size': {
'mechanism': 'len',
'tags': [
'optional'
],
'value': 'numberOfElements'
},
'type': 'float64[]'
},
{
'direction': 'in',
'name': 'numberOfElements',
'type': 'int32'
}
],
'returns': 'int32'
},
'SEMCfgSweepTime': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'enum': 'SemSweepTimeAuto',
'name': 'sweepTimeAuto',
'type': 'int32'
},
{
'direction': 'in',
'name': 'sweepTimeInterval',
'type': 'float64'
}
],
'returns': 'int32'
},
'SEMCfgUplinkMaskType': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'enum': 'SemUplinkMaskType',
'name': 'uplinkMaskType',
'type': 'int32'
}
],
'returns': 'int32'
},
'SEMFetchComponentCarrierMeasurement': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'absolutePower',
'type': 'float64'
},
{
'direction': 'out',
'name': 'peakAbsolutePower',
'type': 'float64'
},
{
'direction': 'out',
'name': 'peakFrequency',
'type': 'float64'
},
{
'direction': 'out',
'name': 'relativePower',
'type': 'float64'
}
],
'returns': 'int32'
},
'SEMFetchComponentCarrierMeasurementArray': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'absolutePower',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float64[]'
},
{
'direction': 'out',
'name': 'peakAbsolutePower',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float64[]'
},
{
'direction': 'out',
'name': 'peakFrequency',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float64[]'
},
{
'direction': 'out',
'name': 'relativePower',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float64[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'SEMFetchLowerOffsetMargin': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'enum': 'SemLowerOffsetMeasurementStatus',
'name': 'measurementStatus',
'type': 'int32'
},
{
'direction': 'out',
'name': 'margin',
'type': 'float64'
},
{
'direction': 'out',
'name': 'marginFrequency',
'type': 'float64'
},
{
'direction': 'out',
'name': 'marginAbsolutePower',
'type': 'float64'
},
{
'direction': 'out',
'name': 'marginRelativePower',
'type': 'float64'
}
],
'returns': 'int32'
},
'SEMFetchLowerOffsetMarginArray': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'enum': 'SemLowerOffsetMeasurementStatus',
'name': 'measurementStatus',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'int32[]'
},
{
'direction': 'out',
'name': 'margin',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float64[]'
},
{
'direction': 'out',
'name': 'marginFrequency',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float64[]'
},
{
'direction': 'out',
'name': 'marginAbsolutePower',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float64[]'
},
{
'direction': 'out',
'name': 'marginRelativePower',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float64[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'SEMFetchLowerOffsetPower': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'totalAbsolutePower',
'type': 'float64'
},
{
'direction': 'out',
'name': 'totalRelativePower',
'type': 'float64'
},
{
'direction': 'out',
'name': 'peakAbsolutePower',
'type': 'float64'
},
{
'direction': 'out',
'name': 'peakFrequency',
'type': 'float64'
},
{
'direction': 'out',
'name': 'peakRelativePower',
'type': 'float64'
}
],
'returns': 'int32'
},
'SEMFetchLowerOffsetPowerArray': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'totalAbsolutePower',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float64[]'
},
{
'direction': 'out',
'name': 'totalRelativePower',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float64[]'
},
{
'direction': 'out',
'name': 'peakAbsolutePower',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float64[]'
},
{
'direction': 'out',
'name': 'peakFrequency',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float64[]'
},
{
'direction': 'out',
'name': 'peakRelativePower',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float64[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'SEMFetchMeasurementStatus': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'enum': 'SemMeasurementStatus',
'name': 'measurementStatus',
'type': 'int32'
}
],
'returns': 'int32'
},
'SEMFetchSpectrum': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'x0',
'type': 'float64'
},
{
'direction': 'out',
'name': 'dx',
'type': 'float64'
},
{
'direction': 'out',
'name': 'spectrum',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float32[]'
},
{
'direction': 'out',
'name': 'compositeMask',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float32[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'SEMFetchSubblockMeasurement': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'subblockPower',
'type': 'float64'
},
{
'direction': 'out',
'name': 'integrationBandwidth',
'type': 'float64'
},
{
'direction': 'out',
'name': 'frequency',
'type': 'float64'
}
],
'returns': 'int32'
},
'SEMFetchTotalAggregatedPower': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'totalAggregatedPower',
'type': 'float64'
}
],
'returns': 'int32'
},
'SEMFetchUpperOffsetMargin': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'enum': 'SemUpperOffsetMeasurementStatus',
'name': 'measurementStatus',
'type': 'int32'
},
{
'direction': 'out',
'name': 'margin',
'type': 'float64'
},
{
'direction': 'out',
'name': 'marginFrequency',
'type': 'float64'
},
{
'direction': 'out',
'name': 'marginAbsolutePower',
'type': 'float64'
},
{
'direction': 'out',
'name': 'marginRelativePower',
'type': 'float64'
}
],
'returns': 'int32'
},
'SEMFetchUpperOffsetMarginArray': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'enum': 'SemUpperOffsetMeasurementStatus',
'name': 'measurementStatus',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'int32[]'
},
{
'direction': 'out',
'name': 'margin',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float64[]'
},
{
'direction': 'out',
'name': 'marginFrequency',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float64[]'
},
{
'direction': 'out',
'name': 'marginAbsolutePower',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float64[]'
},
{
'direction': 'out',
'name': 'marginRelativePower',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float64[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'SEMFetchUpperOffsetPower': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'totalAbsolutePower',
'type': 'float64'
},
{
'direction': 'out',
'name': 'totalRelativePower',
'type': 'float64'
},
{
'direction': 'out',
'name': 'peakAbsolutePower',
'type': 'float64'
},
{
'direction': 'out',
'name': 'peakFrequency',
'type': 'float64'
},
{
'direction': 'out',
'name': 'peakRelativePower',
'type': 'float64'
}
],
'returns': 'int32'
},
'SEMFetchUpperOffsetPowerArray': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'totalAbsolutePower',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float64[]'
},
{
'direction': 'out',
'name': 'totalRelativePower',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float64[]'
},
{
'direction': 'out',
'name': 'peakAbsolutePower',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float64[]'
},
{
'direction': 'out',
'name': 'peakFrequency',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float64[]'
},
{
'direction': 'out',
'name': 'peakRelativePower',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float64[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'SelectMeasurements': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'enum': 'MeasurementTypes',
'name': 'measurements',
'type': 'uInt32'
},
{
'direction': 'in',
'grpc_type': 'bool',
'name': 'enableAllTraces',
'type': 'int32'
}
],
'returns': 'int32'
},
'SendSoftwareEdgeTrigger': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
}
],
'returns': 'int32'
},
'SetAttributeF32': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'grpc_type': 'NiRFmxNRAttribute',
'name': 'attributeID',
'type': 'int32'
},
{
'direction': 'in',
'name': 'attrVal',
'type': 'float32'
}
],
'returns': 'int32'
},
'SetAttributeF32Array': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'grpc_type': 'NiRFmxNRAttribute',
'name': 'attributeID',
'type': 'int32'
},
{
'direction': 'in',
'name': 'attrVal',
'size': {
'mechanism': 'len',
'value': 'arraySize'
},
'type': 'float32[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'SetAttributeF64': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'grpc_type': 'NiRFmxNRAttribute',
'name': 'attributeID',
'type': 'int32'
},
{
'direction': 'in',
'name': 'attrVal',
'type': 'float64'
}
],
'returns': 'int32'
},
'SetAttributeF64Array': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'grpc_type': 'NiRFmxNRAttribute',
'name': 'attributeID',
'type': 'int32'
},
{
'direction': 'in',
'name': 'attrVal',
'size': {
'mechanism': 'len',
'value': 'arraySize'
},
'type': 'float64[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'SetAttributeI16': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'grpc_type': 'NiRFmxNRAttribute',
'name': 'attributeID',
'type': 'int32'
},
{
'direction': 'in',
'name': 'attrVal',
'type': 'int16'
}
],
'returns': 'int32'
},
'SetAttributeI32': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'grpc_type': 'NiRFmxNRAttribute',
'name': 'attributeID',
'type': 'int32'
},
{
'direction': 'in',
'name': 'attrVal',
'type': 'int32'
}
],
'returns': 'int32'
},
'SetAttributeI32Array': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'grpc_type': 'NiRFmxNRAttribute',
'name': 'attributeID',
'type': 'int32'
},
{
'direction': 'in',
'name': 'attrVal',
'size': {
'mechanism': 'len',
'value': 'arraySize'
},
'type': 'int32[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'SetAttributeI64': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'grpc_type': 'NiRFmxNRAttribute',
'name': 'attributeID',
'type': 'int32'
},
{
'direction': 'in',
'name': 'attrVal',
'type': 'int64'
}
],
'returns': 'int32'
},
'SetAttributeI64Array': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'grpc_type': 'NiRFmxNRAttribute',
'name': 'attributeID',
'type': 'int32'
},
{
'direction': 'in',
'name': 'attrVal',
'size': {
'mechanism': 'len',
'value': 'arraySize'
},
'type': 'int64[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'SetAttributeI8': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'grpc_type': 'NiRFmxNRAttribute',
'name': 'attributeID',
'type': 'int32'
},
{
'direction': 'in',
'name': 'attrVal',
'type': 'int8'
}
],
'returns': 'int32'
},
'SetAttributeI8Array': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'grpc_type': 'NiRFmxNRAttribute',
'name': 'attributeID',
'type': 'int32'
},
{
'direction': 'in',
'name': 'attrVal',
'size': {
'mechanism': 'len',
'value': 'arraySize'
},
'type': 'int8[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'SetAttributeNIComplexDoubleArray': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'grpc_type': 'NiRFmxNRAttribute',
'name': 'attributeID',
'type': 'int32'
},
{
'direction': 'in',
'name': 'attrVal',
'size': {
'mechanism': 'len',
'value': 'arraySize'
},
'type': 'NIComplexDouble[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'SetAttributeNIComplexSingleArray': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'grpc_type': 'NiRFmxNRAttribute',
'name': 'attributeID',
'type': 'int32'
},
{
'direction': 'in',
'name': 'attrVal',
'size': {
'mechanism': 'len',
'value': 'arraySize'
},
'type': 'NIComplexSingle[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'SetAttributeString': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'grpc_type': 'NiRFmxNRAttribute',
'name': 'attributeID',
'type': 'int32'
},
{
'direction': 'in',
'name': 'attrVal',
'type': 'char[]'
}
],
'returns': 'int32'
},
'SetAttributeU16': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'grpc_type': 'NiRFmxNRAttribute',
'name': 'attributeID',
'type': 'int32'
},
{
'direction': 'in',
'name': 'attrVal',
'type': 'uInt16'
}
],
'returns': 'int32'
},
'SetAttributeU32': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'grpc_type': 'NiRFmxNRAttribute',
'name': 'attributeID',
'type': 'int32'
},
{
'direction': 'in',
'name': 'attrVal',
'type': 'uInt32'
}
],
'returns': 'int32'
},
'SetAttributeU32Array': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'grpc_type': 'NiRFmxNRAttribute',
'name': 'attributeID',
'type': 'int32'
},
{
'direction': 'in',
'name': 'attrVal',
'size': {
'mechanism': 'len',
'value': 'arraySize'
},
'type': 'uInt32[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'SetAttributeU64Array': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'grpc_type': 'NiRFmxNRAttribute',
'name': 'attributeID',
'type': 'int32'
},
{
'direction': 'in',
'name': 'attrVal',
'size': {
'mechanism': 'len',
'value': 'arraySize'
},
'type': 'uInt64[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'SetAttributeU8': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'grpc_type': 'NiRFmxNRAttribute',
'name': 'attributeID',
'type': 'int32'
},
{
'direction': 'in',
'name': 'attrVal',
'type': 'uInt8'
}
],
'returns': 'int32'
},
'SetAttributeU8Array': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'grpc_type': 'NiRFmxNRAttribute',
'name': 'attributeID',
'type': 'int32'
},
{
'direction': 'in',
'name': 'attrVal',
'size': {
'mechanism': 'len',
'value': 'arraySize'
},
'type': 'uInt8[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'TXPFetchMeasurement': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'averagePowerMean',
'type': 'float64'
},
{
'direction': 'out',
'name': 'peakPowerMaximum',
'type': 'float64'
}
],
'returns': 'int32'
},
'TXPFetchPowerTrace': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
},
{
'direction': 'out',
'name': 'x0',
'type': 'float64'
},
{
'direction': 'out',
'name': 'dx',
'type': 'float64'
},
{
'direction': 'out',
'name': 'power',
'size': {
'mechanism': 'ivi-dance-with-a-twist',
'value': 'arraySize',
'value_twist': 'actualArraySize'
},
'type': 'float32[]'
},
{
'direction': 'in',
'name': 'arraySize',
'type': 'int32'
},
{
'direction': 'out',
'name': 'actualArraySize',
'type': 'int32'
}
],
'returns': 'int32'
},
'WaitForAcquisitionComplete': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
}
],
'returns': 'int32'
},
'WaitForMeasurementComplete': {
'parameters': [
{
'direction': 'in',
'grpc_name': 'instrument',
'name': 'instrumentHandle',
'type': 'niRFmxInstrHandle'
},
{
'direction': 'in',
'name': 'selectorString',
'type': 'char[]'
},
{
'direction': 'in',
'name': 'timeout',
'type': 'float64'
}
],
'returns': 'int32'
}
}
| 28.752163
| 69
| 0.321626
| 10,129
| 222,628
| 7.022016
| 0.052621
| 0.123105
| 0.106923
| 0.062481
| 0.866097
| 0.858983
| 0.832916
| 0.832565
| 0.819278
| 0.819278
| 0
| 0.017854
| 0.533554
| 222,628
| 7,742
| 70
| 28.755877
| 0.667078
| 0
| 0
| 0.611857
| 0
| 0
| 0.326801
| 0.041149
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
ed71969d29af345e2b6150b39b55c7e9843faf09
| 3,628
|
py
|
Python
|
test/test_mixins.py
|
bcdev/xcube
|
9d275ef3baef8fbcea5c1fbbfb84c3d0164aecd3
|
[
"MIT"
] | 97
|
2018-06-26T13:02:55.000Z
|
2022-03-26T21:03:13.000Z
|
test/test_mixins.py
|
bcdev/xcube
|
9d275ef3baef8fbcea5c1fbbfb84c3d0164aecd3
|
[
"MIT"
] | 524
|
2018-11-09T12:00:08.000Z
|
2022-03-31T17:00:13.000Z
|
test/test_mixins.py
|
bcdev/xcube
|
9d275ef3baef8fbcea5c1fbbfb84c3d0164aecd3
|
[
"MIT"
] | 15
|
2019-07-09T08:46:03.000Z
|
2022-02-07T18:47:34.000Z
|
import unittest
from test.mixins import AlmostEqualDeepMixin
class AlmostEqualDeepMixinTest(unittest.TestCase, AlmostEqualDeepMixin):
def test_int_and_float_7_places_default(self):
self.assertAlmostEqualDeep(0, 0.8e-8)
with self.assertRaises(AssertionError):
self.assertAlmostEqualDeep(0, 0.8e-7)
def test_int(self):
self.assertAlmostEqualDeep(45, 45)
with self.assertRaises(AssertionError):
self.assertAlmostEqualDeep(45, 54)
def test_str(self):
self.assertAlmostEqualDeep("abc", "abc")
with self.assertRaises(AssertionError):
self.assertAlmostEqualDeep("abc", "Abc")
def test_bool(self):
self.assertAlmostEqualDeep(True, True)
with self.assertRaises(AssertionError):
self.assertAlmostEqualDeep(True, False)
def test_set(self):
expected = {'a', 1.1256, True}
self.assertAlmostEqualDeep(expected, expected)
self.assertAlmostEqualDeep(expected, {'a', 1.1256, True})
with self.assertRaises(AssertionError):
# We currently don't test sets
self.assertAlmostEqualDeep(expected, {'a', 1.1251, True}, places=2)
with self.assertRaises(AssertionError):
self.assertAlmostEqualDeep(expected, {'a', 1.1256, False})
def test_dict(self):
expected = {'a': 1.1256, 'b': 5}
self.assertAlmostEqualDeep(expected, expected)
self.assertAlmostEqualDeep(expected, {'a': 1.1256, 'b': 5})
self.assertAlmostEqualDeep(expected, {'a': 1.1251, 'b': 5}, places=3)
with self.assertRaises(AssertionError):
self.assertAlmostEqualDeep(expected, {'a': 1.1251, 'b': 5}, places=4)
with self.assertRaises(AssertionError):
self.assertAlmostEqualDeep(expected, {'a': 1.1256, 'b': 6})
with self.assertRaises(AssertionError):
self.assertAlmostEqualDeep(expected, [1, 2, 3])
with self.assertRaises(AssertionError):
self.assertAlmostEqualDeep(expected, 3456)
def test_list(self):
expected = ['a', 1.1256, True]
self.assertAlmostEqualDeep(expected, expected)
self.assertAlmostEqualDeep(expected, ['a', 1.1256, True])
self.assertAlmostEqualDeep(expected, ('a', 1.1256, True))
self.assertAlmostEqualDeep(expected, ['a', 1.1251, True], places=3)
with self.assertRaises(AssertionError):
self.assertAlmostEqualDeep(expected, ['a', 1.1251, True], places=4)
with self.assertRaises(AssertionError):
self.assertAlmostEqualDeep(expected, ['a', 1.1256, False], places=4)
with self.assertRaises(AssertionError):
self.assertAlmostEqualDeep(expected, [1, 2, 3])
with self.assertRaises(AssertionError):
self.assertAlmostEqualDeep(expected, 3456)
def test_list_dict_tuple(self):
expected = [
{'a': True, 'b': (1.1256, 45, True)},
{'a': False, 'b': (2.1256, 46, False)}
]
self.assertAlmostEqualDeep(expected, expected)
self.assertAlmostEqualDeep(expected, [
{'a': True, 'b': (1.1256, 45, True)},
{'a': False, 'b': (2.1256, 46, False)}
])
self.assertAlmostEqualDeep(expected, [
{'a': True, 'b': (1.1251, 45, True)},
{'a': False, 'b': (2.1259, 46, False)}
], places=3)
with self.assertRaises(AssertionError):
self.assertAlmostEqualDeep(expected, [
{'a': True, 'b': (1.1251, 45, True)},
{'a': False, 'b': (2.1259, 46, False)}
], places=4)
| 42.682353
| 81
| 0.61742
| 375
| 3,628
| 5.933333
| 0.144
| 0.348315
| 0.341124
| 0.229213
| 0.834607
| 0.800899
| 0.694831
| 0.694382
| 0.652135
| 0.621573
| 0
| 0.063869
| 0.244763
| 3,628
| 84
| 82
| 43.190476
| 0.748175
| 0.007718
| 0
| 0.465753
| 0
| 0
| 0.013341
| 0
| 0
| 0
| 0
| 0
| 0.630137
| 1
| 0.109589
| false
| 0
| 0.027397
| 0
| 0.150685
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
71f7c2f0652a15773b3fde5c7cfd1d1457df4a8a
| 38,146
|
py
|
Python
|
lte/gateway/python/magma/enodebd/tests/baicells_tests.py
|
nitinneet/test23
|
c44df1a3290195cd3fc59d3483ef640ca8aaeb1e
|
[
"BSD-3-Clause"
] | 1
|
2021-08-08T15:49:05.000Z
|
2021-08-08T15:49:05.000Z
|
lte/gateway/python/magma/enodebd/tests/baicells_tests.py
|
nitinneet/test23
|
c44df1a3290195cd3fc59d3483ef640ca8aaeb1e
|
[
"BSD-3-Clause"
] | 143
|
2020-09-08T06:24:23.000Z
|
2022-03-29T05:56:53.000Z
|
lte/gateway/python/magma/enodebd/tests/baicells_tests.py
|
nitinneet/test23
|
c44df1a3290195cd3fc59d3483ef640ca8aaeb1e
|
[
"BSD-3-Clause"
] | 2
|
2021-05-27T18:15:16.000Z
|
2021-05-27T18:41:39.000Z
|
"""
Copyright 2020 The Magma Authors.
This source code is licensed under the BSD-style license found in the
LICENSE file in the root directory of this source tree.
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.
"""
# pylint: disable=protected-access
from magma.enodebd.data_models.data_model_parameters import ParameterName
from magma.enodebd.devices.device_utils import EnodebDeviceName
from magma.enodebd.tests.test_utils.enb_acs_builder import (
EnodebAcsStateMachineBuilder,
)
from magma.enodebd.tests.test_utils.enodeb_handler import EnodebHandlerTestCase
from magma.enodebd.tests.test_utils.tr069_msg_builder import Tr069MessageBuilder
from magma.enodebd.tr069 import models
class BaicellsHandlerTests(EnodebHandlerTestCase):
def test_initial_enb_bootup(self) -> None:
"""
Baicells does not support configuration during initial bootup of
eNB device. This is because it is in a REM process, and we just need
to wait for this process to finish, ~10 minutes. Attempting to
configure the device during this period will cause undefined
behavior.
As a result of this, end any provisoning sessions, which we can do
by just sending empty HTTP responses, not even using an
InformResponse.
"""
acs_state_machine = \
EnodebAcsStateMachineBuilder \
.build_acs_state_machine(EnodebDeviceName.BAICELLS)
# Send an Inform message
inform_msg = Tr069MessageBuilder.get_inform('48BF74',
'BaiBS_RTS_3.1.6',
'120200002618AGP0003',
['1 BOOT'])
resp = acs_state_machine.handle_tr069_message(inform_msg)
self.assertTrue(isinstance(resp, models.DummyInput),
'Should respond with an InformResponse')
def test_manual_reboot(self) -> None:
"""
Test a scenario where a Magma user goes through the enodebd CLI to
reboot the Baicells eNodeB.
This checks the scenario where the command is not sent in the middle
of a TR-069 provisioning session.
"""
acs_state_machine = \
EnodebAcsStateMachineBuilder \
.build_acs_state_machine(EnodebDeviceName.BAICELLS)
# User uses the CLI tool to get eNodeB to reboot
acs_state_machine.reboot_asap()
# And now the Inform message arrives from the eNodeB
inform_msg = Tr069MessageBuilder.get_inform('48BF74',
'BaiBS_RTS_3.1.6',
'120200002618AGP0003',
['2 PERIODIC'])
resp = acs_state_machine.handle_tr069_message(inform_msg)
self.assertTrue(isinstance(resp, models.InformResponse),
'In reboot sequence, state machine should still '
'respond to an Inform with InformResponse.')
req = models.DummyInput()
resp = acs_state_machine.handle_tr069_message(req)
self.assertTrue(isinstance(resp, models.Reboot),
'In reboot sequence, state machine should send a '
'Reboot message.')
req = Tr069MessageBuilder.get_reboot_response()
resp = acs_state_machine.handle_tr069_message(req)
self.assertTrue(isinstance(resp, models.DummyInput),
'State machine should end TR-069 session after '
'receiving a RebootResponse')
def test_gps_coords(self) -> None:
""" Check GPS coordinates are processed and stored correctly """
acs_state_machine = \
EnodebAcsStateMachineBuilder \
.build_acs_state_machine(EnodebDeviceName.BAICELLS)
# Send an Inform message, wait for an InformResponse
inform_msg = Tr069MessageBuilder.get_inform('48BF74',
'BaiBS_RTS_3.1.6',
'120200002618AGP0003',
['2 PERIODIC'])
resp = acs_state_machine.handle_tr069_message(inform_msg)
self.assertTrue(isinstance(resp, models.InformResponse),
'Should respond with an InformResponse')
# Send an empty http request to kick off the rest of provisioning
req = models.DummyInput()
resp = acs_state_machine.handle_tr069_message(req)
# Expect a request for an optional parameter, three times
self.assertTrue(isinstance(resp, models.GetParameterValues),
'State machine should be requesting param values')
req = models.GetParameterValuesResponse()
param_val_list = [Tr069MessageBuilder.get_parameter_value_struct(
name='Device.X_BAICELLS_COM_GpsSyncEnable',
val_type='boolean',
data='true',
)]
req.ParameterList = models.ParameterValueList()
req.ParameterList.ParameterValueStruct = param_val_list
resp = acs_state_machine.handle_tr069_message(req)
self.assertTrue(isinstance(resp, models.GetParameterValues),
'State machine should be requesting param values')
req = models.GetParameterValuesResponse()
param_val_list = [Tr069MessageBuilder.get_parameter_value_struct(
name='Device.FAP.GPS.LockedLatitude',
val_type='int',
data='37483629',
)]
req.ParameterList = models.ParameterValueList()
req.ParameterList.ParameterValueStruct = param_val_list
resp = acs_state_machine.handle_tr069_message(req)
self.assertTrue(isinstance(resp, models.GetParameterValues),
'State machine should be requesting param values')
req = models.GetParameterValuesResponse()
param_val_list = [Tr069MessageBuilder.get_parameter_value_struct(
name='Device.FAP.GPS.LockedLongitude',
val_type='int',
data='-122150583',
)]
req.ParameterList = models.ParameterValueList()
req.ParameterList.ParameterValueStruct = param_val_list
acs_state_machine.handle_tr069_message(req)
gps_long = acs_state_machine.get_parameter(ParameterName.GPS_LONG)
gps_lat = acs_state_machine.get_parameter(ParameterName.GPS_LAT)
self.assertTrue(gps_long == '-122.150583', 'Should be valid longitude')
self.assertTrue(gps_lat == '37.483629', 'Should be valid latitude')
def test_manual_reboot_during_provisioning(self) -> None:
"""
Test a scenario where a Magma user goes through the enodebd CLI to
reboot the Baicells eNodeB.
This checks the scenario where the command is sent in the middle
of a TR-069 provisioning session.
"""
acs_state_machine = \
EnodebAcsStateMachineBuilder \
.build_acs_state_machine(EnodebDeviceName.BAICELLS)
# Send an Inform message, wait for an InformResponse
inform_msg = Tr069MessageBuilder.get_inform('48BF74',
'BaiBS_RTS_3.1.6',
'120200002618AGP0003',
['2 PERIODIC'])
resp = acs_state_machine.handle_tr069_message(inform_msg)
self.assertTrue(isinstance(resp, models.InformResponse),
'Should respond with an InformResponse')
# Send an empty http request to kick off the rest of provisioning
req = models.DummyInput()
resp = acs_state_machine.handle_tr069_message(req)
# Expect a request for an optional parameter, three times
self.assertTrue(isinstance(resp, models.GetParameterValues),
'State machine should be requesting param values')
req = Tr069MessageBuilder.get_fault()
# User uses the CLI tool to get eNodeB to reboot
acs_state_machine.reboot_asap()
resp = acs_state_machine.handle_tr069_message(req)
self.assertTrue(isinstance(resp, models.Reboot),
'In reboot sequence, state machine should send a '
'Reboot message.')
req = Tr069MessageBuilder.get_reboot_response()
resp = acs_state_machine.handle_tr069_message(req)
self.assertTrue(isinstance(resp, models.DummyInput),
'State machine should end TR-069 session after '
'receiving a RebootResponse')
def test_missing_param_during_provisioning(self) -> None:
"""
Test the scenario where:
- enodebd is configuring the eNodeB
- eNB does not send all parameters due to bug
"""
acs_state_machine = \
EnodebAcsStateMachineBuilder \
.build_acs_state_machine(EnodebDeviceName.BAICELLS)
# Send an Inform message, wait for an InformResponse
inform_msg = Tr069MessageBuilder.get_inform()
resp = acs_state_machine.handle_tr069_message(inform_msg)
self.assertTrue(isinstance(resp, models.InformResponse),
'Should respond with an InformResponse')
# Send an empty http request to kick off the rest of provisioning
req = models.DummyInput()
resp = acs_state_machine.handle_tr069_message(req)
# Expect a request for an optional parameter, three times
self.assertTrue(isinstance(resp, models.GetParameterValues),
'State machine should be requesting param values')
req = Tr069MessageBuilder.get_fault()
resp = acs_state_machine.handle_tr069_message(req)
self.assertTrue(isinstance(resp, models.GetParameterValues),
'State machine should be requesting param values')
req = Tr069MessageBuilder.get_fault()
resp = acs_state_machine.handle_tr069_message(req)
self.assertTrue(isinstance(resp, models.GetParameterValues),
'State machine should be requesting param values')
req = Tr069MessageBuilder.get_fault()
resp = acs_state_machine.handle_tr069_message(req)
# Expect a request for read-only params
self.assertTrue(isinstance(resp, models.GetParameterValues),
'State machine should be requesting param values')
req = Tr069MessageBuilder.get_read_only_param_values_response()
# Send back some typical values
# And then SM should request regular parameter values
resp = acs_state_machine.handle_tr069_message(req)
self.assertTrue(isinstance(resp, models.GetParameterValues),
'State machine should be requesting param values')
# Send back typical values for the regular parameters
# Pretend that here the NumPLMNs was not sent because of a Baicells bug
req = Tr069MessageBuilder.\
get_regular_param_values_response(admin_state=False,
earfcndl=39150,
exclude_num_plmns=True)
resp = acs_state_machine.handle_tr069_message(req)
# The state machine will fail and go into an error state.
# It will send an empty http response to end the session.
# Regularly, the SM should be using info on the number
# of PLMNs to figure out which object parameter values
# to fetch.
self.assertTrue(isinstance(resp, models.DummyInput),
'State machine should be ending session')
def test_provision_multi_without_invasive_changes(self) -> None:
"""
Test the scenario where:
- eNodeB has already been powered for 10 minutes without configuration
- Setting parameters which are 'non-invasive' on the eNodeB
- Using enodebd mconfig which has old style config with addition
of eNodeB config tied to a serial number
'Invasive' parameters are those which require special behavior to apply
the changes for the eNodeB.
"""
acs_state_machine = \
EnodebAcsStateMachineBuilder \
.build_multi_enb_acs_state_machine(EnodebDeviceName.BAICELLS)
# Send an Inform message, wait for an InformResponse
inform_msg = Tr069MessageBuilder.get_inform()
resp = acs_state_machine.handle_tr069_message(inform_msg)
self.assertTrue(isinstance(resp, models.InformResponse),
'Should respond with an InformResponse')
# Send an empty http request to kick off the rest of provisioning
req = models.DummyInput()
resp = acs_state_machine.handle_tr069_message(req)
# Expect a request for an optional parameter, three times
self.assertTrue(isinstance(resp, models.GetParameterValues),
'State machine should be requesting param values')
req = Tr069MessageBuilder.get_fault()
resp = acs_state_machine.handle_tr069_message(req)
self.assertTrue(isinstance(resp, models.GetParameterValues),
'State machine should be requesting param values')
req = Tr069MessageBuilder.get_fault()
resp = acs_state_machine.handle_tr069_message(req)
self.assertTrue(isinstance(resp, models.GetParameterValues),
'State machine should be requesting param values')
req = Tr069MessageBuilder.get_fault()
resp = acs_state_machine.handle_tr069_message(req)
# Expect a request for read-only params
self.assertTrue(isinstance(resp, models.GetParameterValues),
'State machine should be requesting param values')
req = Tr069MessageBuilder.get_read_only_param_values_response()
# Send back some typical values
# And then SM should request regular parameter values
resp = acs_state_machine.handle_tr069_message(req)
self.assertTrue(isinstance(resp, models.GetParameterValues),
'State machine should be requesting param values')
# Send back typical values for the regular parameters
req = Tr069MessageBuilder.\
get_regular_param_values_response(admin_state=False,
earfcndl=39150)
resp = acs_state_machine.handle_tr069_message(req)
# SM will be requesting object parameter values
self.assertTrue(isinstance(resp, models.GetParameterValues),
'State machine should be requesting object param vals')
# Send back some typical values for object parameters
req = Tr069MessageBuilder.get_object_param_values_response()
resp = acs_state_machine.handle_tr069_message(req)
# In this scenario, the ACS and thus state machine will not need
# to delete or add objects to the eNB configuration.
# SM should then just be attempting to set parameter values
self.assertTrue(isinstance(resp, models.SetParameterValues),
'State machine should be setting param values')
isEnablingAdminState = False
param = 'Device.Services.FAPService.1.FAPControl.LTE.AdminState'
for name_value in resp.ParameterList.ParameterValueStruct:
if name_value.Name == param:
isEnablingAdminState = True
self.assertTrue(isEnablingAdminState,
'eNB config is set to enable transmit, '
'while old enodebd config does not '
'enable transmit. Use eNB config.')
def test_provision_without_invasive_changes(self) -> None:
"""
Test the scenario where:
- eNodeB has already been powered for 10 minutes without configuration
- Setting parameters which are 'non-invasive' on the eNodeB
'Invasive' parameters are those which require special behavior to apply
the changes for the eNodeB.
"""
acs_state_machine = \
EnodebAcsStateMachineBuilder \
.build_acs_state_machine(EnodebDeviceName.BAICELLS)
# Send an Inform message, wait for an InformResponse
inform_msg = Tr069MessageBuilder.get_inform()
resp = acs_state_machine.handle_tr069_message(inform_msg)
self.assertTrue(isinstance(resp, models.InformResponse),
'Should respond with an InformResponse')
# Send an empty http request to kick off the rest of provisioning
req = models.DummyInput()
resp = acs_state_machine.handle_tr069_message(req)
# Expect a request for an optional parameter, three times
self.assertTrue(isinstance(resp, models.GetParameterValues),
'State machine should be requesting param values')
req = Tr069MessageBuilder.get_fault()
resp = acs_state_machine.handle_tr069_message(req)
self.assertTrue(isinstance(resp, models.GetParameterValues),
'State machine should be requesting param values')
req = Tr069MessageBuilder.get_fault()
resp = acs_state_machine.handle_tr069_message(req)
self.assertTrue(isinstance(resp, models.GetParameterValues),
'State machine should be requesting param values')
req = Tr069MessageBuilder.get_fault()
resp = acs_state_machine.handle_tr069_message(req)
# Expect a request for read-only params
self.assertTrue(isinstance(resp, models.GetParameterValues),
'State machine should be requesting param values')
req = Tr069MessageBuilder.get_read_only_param_values_response()
# Send back some typical values
# And then SM should request regular parameter values
resp = acs_state_machine.handle_tr069_message(req)
self.assertTrue(isinstance(resp, models.GetParameterValues),
'State machine should be requesting param values')
# Send back typical values for the regular parameters
req = Tr069MessageBuilder.\
get_regular_param_values_response(admin_state=False,
earfcndl=39150)
resp = acs_state_machine.handle_tr069_message(req)
# SM will be requesting object parameter values
self.assertTrue(isinstance(resp, models.GetParameterValues),
'State machine should be requesting object param vals')
# Send back some typical values for object parameters
req = Tr069MessageBuilder.get_object_param_values_response()
resp = acs_state_machine.handle_tr069_message(req)
# In this scenario, the ACS and thus state machine will not need
# to delete or add objects to the eNB configuration.
# SM should then just be attempting to set parameter values
self.assertTrue(isinstance(resp, models.SetParameterValues),
'State machine should be setting param values')
# Send back confirmation that the parameters were successfully set
req = models.SetParameterValuesResponse()
req.Status = 0
resp = acs_state_machine.handle_tr069_message(req)
# Expect a request for read-only params
self.assertTrue(isinstance(resp, models.GetParameterValues),
'State machine should be requesting param values')
req = Tr069MessageBuilder.get_read_only_param_values_response()
# Send back some typical values
# And then SM should continue polling the read-only params
resp = acs_state_machine.handle_tr069_message(req)
self.assertTrue(isinstance(resp, models.DummyInput),
'State machine should be ending session')
# If a different eNB is suddenly plugged in, or the same eNB sends a
# new Inform, enodebd should be able to handle it.
# Send an Inform message, wait for an InformResponse
inform_msg = Tr069MessageBuilder.get_inform()
resp = acs_state_machine.handle_tr069_message(inform_msg)
self.assertTrue(isinstance(resp, models.InformResponse),
'Should respond with an InformResponse')
# Send an empty http request to kick off the rest of provisioning
req = models.DummyInput()
resp = acs_state_machine.handle_tr069_message(req)
# Expect a request for an optional parameter, three times
self.assertTrue(isinstance(resp, models.GetParameterValues),
'State machine should be requesting param values')
def test_reboot_after_invasive_changes(self) -> None:
"""
Test the scenario where:
- eNodeB has already been powered for 10 minutes without configuration
- Setting parameters which are 'invasive' on the eNodeB
- Simulate the scenario up until reboot, and test that enodebd does
not try to complete configuration after reboot, because it is
waiting for REM process to finish running
- This test does not wait the ten minutes to simulate REM process
finishing on the Baicells eNodeB
'Invasive' parameters are those which require special behavior to apply
the changes for the eNodeB.
In the case of the Baicells eNodeB, properly applying changes to
invasive parameters requires rebooting the device.
"""
acs_state_machine = \
EnodebAcsStateMachineBuilder\
.build_acs_state_machine(EnodebDeviceName.BAICELLS)
# Since the test utils pretend the eNB is set to 20MHz, we force this
# to 10 MHz, so the state machine sets this value.
acs_state_machine.mconfig.bandwidth_mhz = 10
# Send an Inform message, wait for an InformResponse
inform_msg = Tr069MessageBuilder.get_inform('48BF74',
'BaiBS_RTS_3.1.6',
'120200002618AGP0003',
['2 PERIODIC'])
resp = acs_state_machine.handle_tr069_message(inform_msg)
self.assertTrue(isinstance(resp, models.InformResponse),
'Should respond with an InformResponse')
# Send an empty http request to kick off the rest of provisioning
req = models.DummyInput()
resp = acs_state_machine.handle_tr069_message(req)
# Expect a request for an optional parameter, three times
self.assertTrue(isinstance(resp, models.GetParameterValues),
'State machine should be requesting param values')
req = Tr069MessageBuilder.get_fault()
resp = acs_state_machine.handle_tr069_message(req)
self.assertTrue(isinstance(resp, models.GetParameterValues),
'State machine should be requesting param values')
req = Tr069MessageBuilder.get_fault()
resp = acs_state_machine.handle_tr069_message(req)
self.assertTrue(isinstance(resp, models.GetParameterValues),
'State machine should be requesting param values')
req = Tr069MessageBuilder.get_fault()
resp = acs_state_machine.handle_tr069_message(req)
# Expect a request for read-only params
self.assertTrue(isinstance(resp, models.GetParameterValues),
'State machine should be requesting param values')
req = Tr069MessageBuilder.get_read_only_param_values_response()
# Send back some typical values
# And then SM should request regular parameter values
resp = acs_state_machine.handle_tr069_message(req)
self.assertTrue(isinstance(resp, models.GetParameterValues),
'State machine should be requesting param values')
# Send back typical values for the regular parameters
req = Tr069MessageBuilder.get_regular_param_values_response()
resp = acs_state_machine.handle_tr069_message(req)
# SM will be requesting object parameter values
self.assertTrue(isinstance(resp, models.GetParameterValues),
'State machine should be requesting object param vals')
# Send back some typical values for object parameters
req = Tr069MessageBuilder.get_object_param_values_response()
resp = acs_state_machine.handle_tr069_message(req)
# In this scenario, the ACS and thus state machine will not need
# to delete or add objects to the eNB configuration.
# SM should then just be attempting to set parameter values
self.assertTrue(isinstance(resp, models.SetParameterValues),
'State machine should be setting param values')
# Send back confirmation that the parameters were successfully set
req = models.SetParameterValuesResponse()
req.Status = 0
resp = acs_state_machine.handle_tr069_message(req)
# Since invasive parameters have been set, then to apply the changes
# to the Baicells eNodeB, we need to reboot the device
self.assertTrue(isinstance(resp, models.Reboot))
req = Tr069MessageBuilder.get_reboot_response()
resp = acs_state_machine.handle_tr069_message(req)
# After the reboot has been received, enodebd should end the
# provisioning session
self.assertTrue(isinstance(resp, models.DummyInput),
'After sending command to reboot the Baicells eNodeB, '
'enodeb should end the TR-069 session.')
# At this point, sometime after the eNodeB reboots, we expect it to
# send an Inform indicating reboot. Since it should be in REM process,
# we hold off on finishing configuration, and end TR-069 sessions.
req = Tr069MessageBuilder.get_inform('48BF74', 'BaiBS_RTS_3.1.6',
'120200002618AGP0003',
['1 BOOT', 'M Reboot'])
resp = acs_state_machine.handle_tr069_message(req)
self.assertTrue(isinstance(resp, models.DummyInput),
'After receiving a post-reboot Inform, enodebd '
'should end TR-069 sessions for 10 minutes to wait '
'for REM process to finish.')
# Pretend that we have waited, and now we are in normal operation again
acs_state_machine.transition('wait_inform_post_reboot')
req = Tr069MessageBuilder.get_inform('48BF74', 'BaiBS_RTS_3.1.6',
'120200002618AGP0003',
['2 PERIODIC'])
resp = acs_state_machine.handle_tr069_message(req)
self.assertTrue(isinstance(resp, models.InformResponse),
'After receiving a post-reboot Inform, enodebd '
'should end TR-069 sessions for 10 minutes to wait '
'for REM process to finish.')
req = models.DummyInput()
resp = acs_state_machine.handle_tr069_message(req)
self.assertTrue(isinstance(resp, models.GetParameterValues),
'enodebd should be requesting params')
self.assertTrue(len(resp.ParameterNames.string) > 1,
'Should be requesting transient params.')
def test_reboot_without_getting_optional(self) -> None:
"""
The state machine should not skip figuring out which optional
parameters are present.
"""
acs_state_machine = \
EnodebAcsStateMachineBuilder \
.build_acs_state_machine(EnodebDeviceName.BAICELLS)
# Send an Inform message, wait for an InformResponse
inform_msg = Tr069MessageBuilder.get_inform('48BF74',
'BaiBS_RTS_3.1.6',
'120200002618AGP0003',
['2 PERIODIC'])
resp = acs_state_machine.handle_tr069_message(inform_msg)
self.assertTrue(isinstance(resp, models.InformResponse),
'Should respond with an InformResponse')
# And now reboot the eNodeB
acs_state_machine.transition('reboot')
req = models.DummyInput()
resp = acs_state_machine.handle_tr069_message(req)
self.assertTrue(isinstance(resp, models.Reboot))
req = Tr069MessageBuilder.get_reboot_response()
resp = acs_state_machine.handle_tr069_message(req)
# After the reboot has been received, enodebd should end the
# provisioning session
self.assertTrue(isinstance(resp, models.DummyInput),
'After sending command to reboot the Baicells eNodeB, '
'enodeb should end the TR-069 session.')
# At this point, sometime after the eNodeB reboots, we expect it to
# send an Inform indicating reboot. Since it should be in REM process,
# we hold off on finishing configuration, and end TR-069 sessions.
req = Tr069MessageBuilder.get_inform('48BF74', 'BaiBS_RTS_3.1.6',
'120200002618AGP0003',
['1 BOOT', 'M Reboot'])
resp = acs_state_machine.handle_tr069_message(req)
self.assertTrue(isinstance(resp, models.DummyInput),
'After receiving a post-reboot Inform, enodebd '
'should end TR-069 sessions for 10 minutes to wait '
'for REM process to finish.')
# Pretend that we have waited, and now we are in normal operation again
acs_state_machine.transition('wait_inform_post_reboot')
req = Tr069MessageBuilder.get_inform('48BF74', 'BaiBS_RTS_3.1.6',
'120200002618AGP0003',
['2 PERIODIC'])
resp = acs_state_machine.handle_tr069_message(req)
self.assertTrue(isinstance(resp, models.InformResponse),
'After receiving a post-reboot Inform, enodebd '
'should end TR-069 sessions for 10 minutes to wait '
'for REM process to finish.')
# Since we haven't figured out the presence of optional parameters, the
# state machine should be requesting them now. There are three for the
# Baicells state machine.
req = models.DummyInput()
resp = acs_state_machine.handle_tr069_message(req)
self.assertTrue(isinstance(resp, models.GetParameterValues),
'enodebd should be requesting params')
self.assertTrue(len(resp.ParameterNames.string) == 1,
'Should be requesting optional params.')
req = Tr069MessageBuilder.get_fault()
resp = acs_state_machine.handle_tr069_message(req)
self.assertTrue(isinstance(resp, models.GetParameterValues),
'State machine should be requesting param')
self.assertTrue(len(resp.ParameterNames.string) == 1,
'Should be requesting optional params.')
req = Tr069MessageBuilder.get_fault()
resp = acs_state_machine.handle_tr069_message(req)
self.assertTrue(isinstance(resp, models.GetParameterValues),
'State machine should be requesting param')
self.assertTrue(len(resp.ParameterNames.string) == 1,
'Should be requesting optional params.')
def test_missing_mme_timeout_handler(self) -> None:
acs_state_machine = \
EnodebAcsStateMachineBuilder \
.build_acs_state_machine(EnodebDeviceName.BAICELLS)
# Send an Inform message, wait for an InformResponse
inform_msg = Tr069MessageBuilder.get_inform('48BF74',
'BaiBS_RTS_3.1.6',
'120200002618AGP0003',
['2 PERIODIC'])
acs_state_machine.handle_tr069_message(inform_msg)
# Send an empty http request to kick off the rest of provisioning
req = models.DummyInput()
acs_state_machine.handle_tr069_message(req)
acs_state_machine.mme_timeout_handler.cancel()
acs_state_machine.mme_timeout_handler = None
# Send an Inform message, wait for an InformResponse
inform_msg = Tr069MessageBuilder.get_inform('48BF74',
'BaiBS_RTS_3.1.6',
'120200002618AGP0003',
['2 PERIODIC'])
acs_state_machine.handle_tr069_message(inform_msg)
def test_fault_after_set_parameters(self) -> None:
acs_state_machine = \
EnodebAcsStateMachineBuilder \
.build_acs_state_machine(EnodebDeviceName.BAICELLS)
# Send an Inform message, wait for an InformResponse
inform_msg = Tr069MessageBuilder.get_inform('48BF74',
'BaiBS_RTS_3.1.6',
'120200002618AGP0003',
['2 PERIODIC'])
resp = acs_state_machine.handle_tr069_message(inform_msg)
self.assertTrue(isinstance(resp, models.InformResponse),
'Should respond with an InformResponse')
# Send an empty http request to kick off the rest of provisioning
req = models.DummyInput()
resp = acs_state_machine.handle_tr069_message(req)
# Expect a request for an optional parameter, three times
self.assertTrue(isinstance(resp, models.GetParameterValues),
'State machine should be requesting param values')
req = Tr069MessageBuilder.get_fault()
resp = acs_state_machine.handle_tr069_message(req)
self.assertTrue(isinstance(resp, models.GetParameterValues),
'State machine should be requesting param values')
req = Tr069MessageBuilder.get_fault()
resp = acs_state_machine.handle_tr069_message(req)
self.assertTrue(isinstance(resp, models.GetParameterValues),
'State machine should be requesting param values')
req = Tr069MessageBuilder.get_fault()
resp = acs_state_machine.handle_tr069_message(req)
# Expect a request for read-only params
self.assertTrue(isinstance(resp, models.GetParameterValues),
'State machine should be requesting param values')
req = Tr069MessageBuilder.get_read_only_param_values_response()
# Send back some typical values
# And then SM should request regular parameter values
resp = acs_state_machine.handle_tr069_message(req)
self.assertTrue(isinstance(resp, models.GetParameterValues),
'State machine should be requesting param values')
# Send back typical values for the regular parameters
req = Tr069MessageBuilder.get_regular_param_values_response()
resp = acs_state_machine.handle_tr069_message(req)
# SM will be requesting object parameter values
self.assertTrue(isinstance(resp, models.GetParameterValues),
'State machine should be requesting object param vals')
# Send back some typical values for object parameters
req = Tr069MessageBuilder.get_object_param_values_response()
resp = acs_state_machine.handle_tr069_message(req)
# In this scenario, the ACS and thus state machine will not need
# to delete or add objects to the eNB configuration.
# SM should then just be attempting to set parameter values
self.assertTrue(isinstance(resp, models.SetParameterValues),
'State machine should be setting param values')
req = models.Fault()
req.FaultCode = 12345
req.FaultString = 'Test FaultString'
acs_state_machine.handle_tr069_message(req)
self.assertTrue('Error' in acs_state_machine.get_state(),
'Should be in error state')
def test_autoremediation_from_fault(self):
"""
Transition the state machine into the unexpected fault state, then
verify that it transitions itself back to WaitInform after an Inform
is received.
"""
sm = EnodebAcsStateMachineBuilder.build_acs_state_machine(
EnodebDeviceName.BAICELLS,
)
# Send an initial inform
inform_msg = Tr069MessageBuilder.get_inform(
'48BF74',
'BaiBS_RTS_3.1.6',
'120200002618AGP0003',
['2 PERIODIC'],
)
resp = sm.handle_tr069_message(inform_msg)
self.assertTrue(isinstance(resp, models.InformResponse),
'Should respond with an InformResponse')
# Now send a fault
req = models.Fault()
req.FaultCode = 12345
req.FaultString = 'Test FaultString'
sm.handle_tr069_message(req)
self.assertTrue('Error' in sm.get_state(), 'Should be in error state')
# Send the Inform again, verify SM transitions out of fault
resp = sm.handle_tr069_message(inform_msg)
self.assertTrue(isinstance(resp, models.DummyInput))
self.assertEqual('Waiting for an Inform', sm.get_state())
| 50.12615
| 80
| 0.637498
| 4,095
| 38,146
| 5.777289
| 0.094261
| 0.083693
| 0.067842
| 0.064798
| 0.848635
| 0.842548
| 0.833418
| 0.824372
| 0.82061
| 0.8152
| 0
| 0.032827
| 0.301237
| 38,146
| 760
| 81
| 50.192105
| 0.854736
| 0.224322
| 0
| 0.858672
| 0
| 0
| 0.168302
| 0.006702
| 0
| 0
| 0
| 0
| 0.171306
| 1
| 0.025696
| false
| 0
| 0.012848
| 0
| 0.040685
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
9c165781f2df87c3aa27dd427c26ba485f19f7d0
| 16,329
|
py
|
Python
|
test/azure/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_skip_url_encoding_operations.py
|
fearthecowboy/autorest.python
|
a251e361218598b55b0621db2275aafcb7158a5c
|
[
"MIT"
] | null | null | null |
test/azure/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_skip_url_encoding_operations.py
|
fearthecowboy/autorest.python
|
a251e361218598b55b0621db2275aafcb7158a5c
|
[
"MIT"
] | null | null | null |
test/azure/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/operations/_skip_url_encoding_operations.py
|
fearthecowboy/autorest.python
|
a251e361218598b55b0621db2275aafcb7158a5c
|
[
"MIT"
] | null | null | null |
# 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.
# --------------------------------------------------------------------------
import uuid
from msrest.pipeline import ClientRawResponse
from .. import models
class SkipUrlEncodingOperations(object):
"""SkipUrlEncodingOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
:param client: Client for service requests.
:param config: Configuration of service client.
:param serializer: An object model serializer.
:param deserializer: An object model deserializer.
:ivar unencoded_path_param: An unencoded path parameter with value 'path1/path2/path3'. Constant value: "path1/path2/path3".
:ivar q1: An unencoded query parameter with value 'value1&q2=value2&q3=value3'. Constant value: "value1&q2=value2&q3=value3".
"""
models = models
def __init__(self, client, config, serializer, deserializer):
self._client = client
self._serialize = serializer
self._deserialize = deserializer
self.unencoded_path_param = "path1/path2/path3"
self.q1 = "value1&q2=value2&q3=value3"
self.config = config
def get_method_path_valid(
self, unencoded_path_param, custom_headers=None, raw=False, **operation_config):
"""Get method with unencoded path parameter with value
'path1/path2/path3'.
:param unencoded_path_param: Unencoded path parameter with value
'path1/path2/path3'
:type unencoded_path_param: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
:param operation_config: :ref:`Operation configuration
overrides<msrest:optionsforoperations>`.
:return: None or ClientRawResponse if raw=true
:rtype: None or ~msrest.pipeline.ClientRawResponse
:raises:
:class:`ErrorException<azurespecialproperties.models.ErrorException>`
"""
# Construct URL
url = self.get_method_path_valid.metadata['url']
path_format_arguments = {
'unencodedPathParam': self._serialize.url("unencoded_path_param", unencoded_path_param, 'str', skip_quote=True)
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {}
# Construct headers
header_parameters = {}
if self.config.generate_client_request_id:
header_parameters['x-ms-client-request-id'] = str(uuid.uuid1())
if custom_headers:
header_parameters.update(custom_headers)
if self.config.accept_language is not None:
header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str')
# Construct and send request
request = self._client.get(url, query_parameters, header_parameters)
response = self._client.send(request, stream=False, **operation_config)
if response.status_code not in [200]:
raise models.ErrorException(self._deserialize, response)
if raw:
client_raw_response = ClientRawResponse(None, response)
return client_raw_response
get_method_path_valid.metadata = {'url': '/azurespecials/skipUrlEncoding/method/path/valid/{unencodedPathParam}'}
def get_path_path_valid(
self, unencoded_path_param, custom_headers=None, raw=False, **operation_config):
"""Get method with unencoded path parameter with value
'path1/path2/path3'.
:param unencoded_path_param: Unencoded path parameter with value
'path1/path2/path3'
:type unencoded_path_param: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
:param operation_config: :ref:`Operation configuration
overrides<msrest:optionsforoperations>`.
:return: None or ClientRawResponse if raw=true
:rtype: None or ~msrest.pipeline.ClientRawResponse
:raises:
:class:`ErrorException<azurespecialproperties.models.ErrorException>`
"""
# Construct URL
url = self.get_path_path_valid.metadata['url']
path_format_arguments = {
'unencodedPathParam': self._serialize.url("unencoded_path_param", unencoded_path_param, 'str', skip_quote=True)
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {}
# Construct headers
header_parameters = {}
if self.config.generate_client_request_id:
header_parameters['x-ms-client-request-id'] = str(uuid.uuid1())
if custom_headers:
header_parameters.update(custom_headers)
if self.config.accept_language is not None:
header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str')
# Construct and send request
request = self._client.get(url, query_parameters, header_parameters)
response = self._client.send(request, stream=False, **operation_config)
if response.status_code not in [200]:
raise models.ErrorException(self._deserialize, response)
if raw:
client_raw_response = ClientRawResponse(None, response)
return client_raw_response
get_path_path_valid.metadata = {'url': '/azurespecials/skipUrlEncoding/path/path/valid/{unencodedPathParam}'}
def get_swagger_path_valid(
self, custom_headers=None, raw=False, **operation_config):
"""Get method with unencoded path parameter with value
'path1/path2/path3'.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
:param operation_config: :ref:`Operation configuration
overrides<msrest:optionsforoperations>`.
:return: None or ClientRawResponse if raw=true
:rtype: None or ~msrest.pipeline.ClientRawResponse
:raises:
:class:`ErrorException<azurespecialproperties.models.ErrorException>`
"""
# Construct URL
url = self.get_swagger_path_valid.metadata['url']
path_format_arguments = {
'unencodedPathParam': self._serialize.url("self.unencoded_path_param", self.unencoded_path_param, 'str', skip_quote=True)
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {}
# Construct headers
header_parameters = {}
if self.config.generate_client_request_id:
header_parameters['x-ms-client-request-id'] = str(uuid.uuid1())
if custom_headers:
header_parameters.update(custom_headers)
if self.config.accept_language is not None:
header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str')
# Construct and send request
request = self._client.get(url, query_parameters, header_parameters)
response = self._client.send(request, stream=False, **operation_config)
if response.status_code not in [200]:
raise models.ErrorException(self._deserialize, response)
if raw:
client_raw_response = ClientRawResponse(None, response)
return client_raw_response
get_swagger_path_valid.metadata = {'url': '/azurespecials/skipUrlEncoding/swagger/path/valid/{unencodedPathParam}'}
def get_method_query_valid(
self, q1, custom_headers=None, raw=False, **operation_config):
"""Get method with unencoded query parameter with value
'value1&q2=value2&q3=value3'.
:param q1: Unencoded query parameter with value
'value1&q2=value2&q3=value3'
:type q1: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
:param operation_config: :ref:`Operation configuration
overrides<msrest:optionsforoperations>`.
:return: None or ClientRawResponse if raw=true
:rtype: None or ~msrest.pipeline.ClientRawResponse
:raises:
:class:`ErrorException<azurespecialproperties.models.ErrorException>`
"""
# Construct URL
url = self.get_method_query_valid.metadata['url']
# Construct parameters
query_parameters = {}
query_parameters['q1'] = self._serialize.query("q1", q1, 'str', skip_quote=True)
# Construct headers
header_parameters = {}
if self.config.generate_client_request_id:
header_parameters['x-ms-client-request-id'] = str(uuid.uuid1())
if custom_headers:
header_parameters.update(custom_headers)
if self.config.accept_language is not None:
header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str')
# Construct and send request
request = self._client.get(url, query_parameters, header_parameters)
response = self._client.send(request, stream=False, **operation_config)
if response.status_code not in [200]:
raise models.ErrorException(self._deserialize, response)
if raw:
client_raw_response = ClientRawResponse(None, response)
return client_raw_response
get_method_query_valid.metadata = {'url': '/azurespecials/skipUrlEncoding/method/query/valid'}
def get_method_query_null(
self, q1=None, custom_headers=None, raw=False, **operation_config):
"""Get method with unencoded query parameter with value null.
:param q1: Unencoded query parameter with value null
:type q1: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
:param operation_config: :ref:`Operation configuration
overrides<msrest:optionsforoperations>`.
:return: None or ClientRawResponse if raw=true
:rtype: None or ~msrest.pipeline.ClientRawResponse
:raises:
:class:`ErrorException<azurespecialproperties.models.ErrorException>`
"""
# Construct URL
url = self.get_method_query_null.metadata['url']
# Construct parameters
query_parameters = {}
if q1 is not None:
query_parameters['q1'] = self._serialize.query("q1", q1, 'str', skip_quote=True)
# Construct headers
header_parameters = {}
if self.config.generate_client_request_id:
header_parameters['x-ms-client-request-id'] = str(uuid.uuid1())
if custom_headers:
header_parameters.update(custom_headers)
if self.config.accept_language is not None:
header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str')
# Construct and send request
request = self._client.get(url, query_parameters, header_parameters)
response = self._client.send(request, stream=False, **operation_config)
if response.status_code not in [200]:
raise models.ErrorException(self._deserialize, response)
if raw:
client_raw_response = ClientRawResponse(None, response)
return client_raw_response
get_method_query_null.metadata = {'url': '/azurespecials/skipUrlEncoding/method/query/null'}
def get_path_query_valid(
self, q1, custom_headers=None, raw=False, **operation_config):
"""Get method with unencoded query parameter with value
'value1&q2=value2&q3=value3'.
:param q1: Unencoded query parameter with value
'value1&q2=value2&q3=value3'
:type q1: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
:param operation_config: :ref:`Operation configuration
overrides<msrest:optionsforoperations>`.
:return: None or ClientRawResponse if raw=true
:rtype: None or ~msrest.pipeline.ClientRawResponse
:raises:
:class:`ErrorException<azurespecialproperties.models.ErrorException>`
"""
# Construct URL
url = self.get_path_query_valid.metadata['url']
# Construct parameters
query_parameters = {}
query_parameters['q1'] = self._serialize.query("q1", q1, 'str', skip_quote=True)
# Construct headers
header_parameters = {}
if self.config.generate_client_request_id:
header_parameters['x-ms-client-request-id'] = str(uuid.uuid1())
if custom_headers:
header_parameters.update(custom_headers)
if self.config.accept_language is not None:
header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str')
# Construct and send request
request = self._client.get(url, query_parameters, header_parameters)
response = self._client.send(request, stream=False, **operation_config)
if response.status_code not in [200]:
raise models.ErrorException(self._deserialize, response)
if raw:
client_raw_response = ClientRawResponse(None, response)
return client_raw_response
get_path_query_valid.metadata = {'url': '/azurespecials/skipUrlEncoding/path/query/valid'}
def get_swagger_query_valid(
self, custom_headers=None, raw=False, **operation_config):
"""Get method with unencoded query parameter with value
'value1&q2=value2&q3=value3'.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
:param operation_config: :ref:`Operation configuration
overrides<msrest:optionsforoperations>`.
:return: None or ClientRawResponse if raw=true
:rtype: None or ~msrest.pipeline.ClientRawResponse
:raises:
:class:`ErrorException<azurespecialproperties.models.ErrorException>`
"""
# Construct URL
url = self.get_swagger_query_valid.metadata['url']
# Construct parameters
query_parameters = {}
query_parameters['q1'] = self._serialize.query("self.q1", self.q1, 'str', skip_quote=True)
# Construct headers
header_parameters = {}
if self.config.generate_client_request_id:
header_parameters['x-ms-client-request-id'] = str(uuid.uuid1())
if custom_headers:
header_parameters.update(custom_headers)
if self.config.accept_language is not None:
header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str')
# Construct and send request
request = self._client.get(url, query_parameters, header_parameters)
response = self._client.send(request, stream=False, **operation_config)
if response.status_code not in [200]:
raise models.ErrorException(self._deserialize, response)
if raw:
client_raw_response = ClientRawResponse(None, response)
return client_raw_response
get_swagger_query_valid.metadata = {'url': '/azurespecials/skipUrlEncoding/swagger/query/valid'}
| 44.614754
| 140
| 0.676036
| 1,809
| 16,329
| 5.915976
| 0.086788
| 0.052327
| 0.031396
| 0.047094
| 0.900392
| 0.889086
| 0.845823
| 0.842179
| 0.837881
| 0.837881
| 0
| 0.009272
| 0.227264
| 16,329
| 365
| 141
| 44.736986
| 0.838881
| 0.345214
| 0
| 0.753086
| 0
| 0
| 0.113152
| 0.080576
| 0
| 0
| 0
| 0
| 0
| 1
| 0.049383
| false
| 0
| 0.018519
| 0
| 0.123457
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
9c284b9b88abbd8145a535317d86cafc48421b89
| 4,473
|
py
|
Python
|
psnr_adobe.py
|
fjcu-ee-islab/Sideoutput_U2
|
dcec844e5fcb428771142d9d78ca85a4e3c4f694
|
[
"MIT"
] | null | null | null |
psnr_adobe.py
|
fjcu-ee-islab/Sideoutput_U2
|
dcec844e5fcb428771142d9d78ca85a4e3c4f694
|
[
"MIT"
] | null | null | null |
psnr_adobe.py
|
fjcu-ee-islab/Sideoutput_U2
|
dcec844e5fcb428771142d9d78ca85a4e3c4f694
|
[
"MIT"
] | null | null | null |
from math import log10, sqrt
import cv2
import numpy as np
import os
def PSNR(original, compressed):
mse = np.mean((original - compressed) ** 2)
if(mse == 0): # MSE is zero means no noise is present in the signal .
return 100
max_pixel = 255.0
psnr = 20 * log10(max_pixel / sqrt(mse))
return psnr
def main():
gt_file = '/home/ubuntu/Downloads/Side-output_U2-main/data/adobe/adobe_test/test_1'
output = '/home/ubuntu/Downloads/Side-output_U2-main/result_folder/test_adobe_result_1'
av_psnr = 0
gt_path = os.listdir(gt_file)
count=0
for i in gt_path:
#print()
#print(i)
gt = []
out =[]
image_path = os.path.join(gt_file, i)
output_path = os.path.join(output, i)
gt_image = os.listdir(image_path)
gt_image.sort()
for k in gt_image:
gt.append(k)
pred = os.listdir(output_path)
pred.sort()
for k in pred:
out.append(k)
#print(gt)
#print(out)
#print(len(pred))
for j in range(1,len(pred)-1):
#print(j)
#print(image_path)
#print(output_path)
#print(gt[j])
#print(out[j])
original = cv2.imread(os.path.join(image_path, gt[j]))
compressed = cv2.imread(os.path.join(output_path, out[j]), 1)
value = PSNR(original, compressed)
#print(value)
count=count+1
av_psnr = av_psnr+value
gt = []
out =[]
#print(len(gt_path))
#print(len(pred))
#print(count)
av_psnr = av_psnr / count
print(f"60fps PSNR value is {av_psnr} dB")
gt_file = '/home/ubuntu/Downloads/Side-output_U2-main/data/adobe/adobe_test/test_3'
output = '/home/ubuntu/Downloads/Side-output_U2-main/result_folder/test_adobe_result_3'
av_psnr = 0
gt_path = os.listdir(gt_file)
count=0
for i in gt_path:
#print()
#print(i)
gt = []
out =[]
image_path = os.path.join(gt_file, i)
output_path = os.path.join(output, i)
gt_image = os.listdir(image_path)
gt_image.sort()
for k in gt_image:
gt.append(k)
pred = os.listdir(output_path)
pred.sort()
for k in pred:
out.append(k)
#print(gt)
#print(out)
#print(len(pred))
for j in range(1,len(pred)-1):
#print(j)
#print(image_path)
#print(output_path)
#print(gt[j])
#print(out[j])
original = cv2.imread(os.path.join(image_path, gt[j]), 1)
compressed = cv2.imread(os.path.join(output_path, out[j]), 1)
value = PSNR(original, compressed)
#print(value)
count=count+1
av_psnr = av_psnr+value
gt = []
out =[]
#print(len(gt_path))
#print(len(pred))
#print(count)
av_psnr = av_psnr / count
print(f"120fps PSNR value is {av_psnr} dB")
gt_file = '/home/ubuntu/Downloads/Side-output_U2-main/data/adobe/adobe_test/test_7'
output = '/home/ubuntu/Downloads/Side-output_U2-main/result_folder/test_adobe_result_7'
av_psnr = 0
gt_path = os.listdir(gt_file)
count=0
for i in gt_path:
#print()
#print(i)
gt = []
out =[]
image_path = os.path.join(gt_file, i)
output_path = os.path.join(output, i)
gt_image = os.listdir(image_path)
gt_image.sort()
for k in gt_image:
gt.append(k)
pred = os.listdir(output_path)
pred.sort()
for k in pred:
out.append(k)
#print(gt)
#print(out)
#print(len(pred))
for j in range(1,len(pred)-1):
#print(j)
#print(image_path)
#print(output_path)
#print(gt[j])
#print(out[j])
original = cv2.imread(os.path.join(image_path, gt[j]), 1)
compressed = cv2.imread(os.path.join(output_path, out[j]), 1)
value = PSNR(original, compressed)
#print(value)
count=count+1
av_psnr = av_psnr+value
gt = []
out =[]
#print(len(gt_path))
#print(len(pred))
#print(count)
av_psnr = av_psnr / count
print(f"240fps PSNR value is {av_psnr} dB")
if __name__ == "__main__":
main()
| 24.712707
| 91
| 0.54013
| 615
| 4,473
| 3.760976
| 0.123577
| 0.046693
| 0.051881
| 0.059663
| 0.889321
| 0.889321
| 0.881107
| 0.881107
| 0.881107
| 0.881107
| 0
| 0.020784
| 0.33311
| 4,473
| 180
| 92
| 24.85
| 0.754609
| 0.135927
| 0
| 0.755102
| 0
| 0
| 0.143156
| 0.115415
| 0
| 0
| 0
| 0
| 0
| 1
| 0.020408
| false
| 0
| 0.040816
| 0
| 0.081633
| 0.030612
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
9c29a55161025326eff21d570e91db0e562718c6
| 3,458
|
py
|
Python
|
sniffersapp/daily_dockets/migrations/0015_auto_20180811_0850.py
|
jamesokane/Oneworksite-Application
|
1749ffa89430be75394ae0d43905f3dd30a24fc6
|
[
"MIT"
] | null | null | null |
sniffersapp/daily_dockets/migrations/0015_auto_20180811_0850.py
|
jamesokane/Oneworksite-Application
|
1749ffa89430be75394ae0d43905f3dd30a24fc6
|
[
"MIT"
] | 7
|
2020-06-05T19:27:52.000Z
|
2022-03-11T23:34:52.000Z
|
sniffersapp/daily_dockets/migrations/0015_auto_20180811_0850.py
|
jamesokane/Oneworksite-Application
|
1749ffa89430be75394ae0d43905f3dd30a24fc6
|
[
"MIT"
] | null | null | null |
# Generated by Django 2.0.6 on 2018-08-10 22:50
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('daily_dockets', '0014_auto_20180811_0834'),
]
operations = [
migrations.AlterField(
model_name='docket',
name='item1',
field=models.CharField(choices=[('No Issues', 'No Issues'), ('Needs Attention', 'Needs Attention'), ('Not Applicable', 'Not Applicable')], max_length=20),
),
migrations.AlterField(
model_name='docket',
name='item10',
field=models.CharField(choices=[('No Issues', 'No Issues'), ('Needs Attention', 'Needs Attention'), ('Not Applicable', 'Not Applicable')], max_length=20),
),
migrations.AlterField(
model_name='docket',
name='item11',
field=models.CharField(choices=[('No Issues', 'No Issues'), ('Needs Attention', 'Needs Attention'), ('Not Applicable', 'Not Applicable')], max_length=20),
),
migrations.AlterField(
model_name='docket',
name='item12',
field=models.CharField(choices=[('No Issues', 'No Issues'), ('Needs Attention', 'Needs Attention'), ('Not Applicable', 'Not Applicable')], max_length=20),
),
migrations.AlterField(
model_name='docket',
name='item2',
field=models.CharField(choices=[('No Issues', 'No Issues'), ('Needs Attention', 'Needs Attention'), ('Not Applicable', 'Not Applicable')], max_length=20),
),
migrations.AlterField(
model_name='docket',
name='item3',
field=models.CharField(choices=[('No Issues', 'No Issues'), ('Needs Attention', 'Needs Attention'), ('Not Applicable', 'Not Applicable')], max_length=20),
),
migrations.AlterField(
model_name='docket',
name='item4',
field=models.CharField(choices=[('No Issues', 'No Issues'), ('Needs Attention', 'Needs Attention'), ('Not Applicable', 'Not Applicable')], max_length=20),
),
migrations.AlterField(
model_name='docket',
name='item5',
field=models.CharField(choices=[('No Issues', 'No Issues'), ('Needs Attention', 'Needs Attention'), ('Not Applicable', 'Not Applicable')], max_length=20),
),
migrations.AlterField(
model_name='docket',
name='item6',
field=models.CharField(choices=[('No Issues', 'No Issues'), ('Needs Attention', 'Needs Attention'), ('Not Applicable', 'Not Applicable')], max_length=20),
),
migrations.AlterField(
model_name='docket',
name='item7',
field=models.CharField(choices=[('No Issues', 'No Issues'), ('Needs Attention', 'Needs Attention'), ('Not Applicable', 'Not Applicable')], max_length=20),
),
migrations.AlterField(
model_name='docket',
name='item8',
field=models.CharField(choices=[('No Issues', 'No Issues'), ('Needs Attention', 'Needs Attention'), ('Not Applicable', 'Not Applicable')], max_length=20),
),
migrations.AlterField(
model_name='docket',
name='item9',
field=models.CharField(choices=[('No Issues', 'No Issues'), ('Needs Attention', 'Needs Attention'), ('Not Applicable', 'Not Applicable')], max_length=20),
),
]
| 46.72973
| 166
| 0.581261
| 342
| 3,458
| 5.795322
| 0.160819
| 0.096872
| 0.151362
| 0.17558
| 0.89001
| 0.89001
| 0.870333
| 0.870333
| 0.870333
| 0.870333
| 0
| 0.027174
| 0.255061
| 3,458
| 73
| 167
| 47.369863
| 0.742236
| 0.013013
| 0
| 0.716418
| 1
| 0
| 0.317502
| 0.006743
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.014925
| 0
| 0.059701
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 9
|
9c519a8489b57c4f51e37864914cc9beb3f9d2e3
| 106
|
py
|
Python
|
chapter11/todo_service/todo_service/__init__.py
|
PacktPublishing/Hands-On-Enterprise-Application-Development-with-Python
|
4802509ff92982a53006b8f327e010cda791f911
|
[
"MIT"
] | 27
|
2018-12-07T14:31:10.000Z
|
2021-11-08T13:12:46.000Z
|
chapter12/todo_service/todo_service/__init__.py
|
MindaugasVaitkus2/Hands-On-Enterprise-Application-Development-with-Python
|
dc51e134ba2fd1d2ad91f8253f40995f161ecbd8
|
[
"MIT"
] | 1
|
2020-07-16T14:28:49.000Z
|
2020-07-21T12:43:43.000Z
|
chapter12/todo_service/todo_service/__init__.py
|
MindaugasVaitkus2/Hands-On-Enterprise-Application-Development-with-Python
|
dc51e134ba2fd1d2ad91f8253f40995f161ecbd8
|
[
"MIT"
] | 23
|
2018-08-22T18:34:47.000Z
|
2021-09-02T09:57:27.000Z
|
from todo_service.todo_service import app, db
from todo_service.models import List, Item
db.create_all()
| 21.2
| 45
| 0.820755
| 18
| 106
| 4.611111
| 0.611111
| 0.39759
| 0.361446
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.113208
| 106
| 4
| 46
| 26.5
| 0.882979
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.666667
| 0
| 0.666667
| 0
| 1
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
9c51d3f18e09feade6a5295292ce40e0792c3de8
| 914
|
py
|
Python
|
flamingo/utils/logo.py
|
zhd785576549/flamingo
|
5e8bf68bf5513862e4ec748490652e5e2c31b226
|
[
"MIT"
] | null | null | null |
flamingo/utils/logo.py
|
zhd785576549/flamingo
|
5e8bf68bf5513862e4ec748490652e5e2c31b226
|
[
"MIT"
] | null | null | null |
flamingo/utils/logo.py
|
zhd785576549/flamingo
|
5e8bf68bf5513862e4ec748490652e5e2c31b226
|
[
"MIT"
] | null | null | null |
import sys
def display_logo():
sys.stdout.write("\n\r")
sys.stdout.write("\n\r##########################################################################################")
sys.stdout.write("\n\r ###### ## ##### ##### #### ###### #### ## #### ####")
sys.stdout.write("\n\r ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##")
sys.stdout.write("\n\r ###### ## ####### ## ## ## ## ## ## ## ## ## ### ## ##")
sys.stdout.write("\n\r ## ## ## ## ## ## ## ## ## ## ## ## ## # ## ##")
sys.stdout.write("\n\r## ###### ## ## ## #### ## ###### ## #### ###### ####")
sys.stdout.write("\n\r##########################################################################################")
sys.stdout.write("\n\r")
| 65.285714
| 118
| 0.183807
| 50
| 914
| 3.34
| 0.18
| 0.48503
| 0.754491
| 0.808383
| 0.862275
| 0.862275
| 0.862275
| 0.862275
| 0.862275
| 0.862275
| 0
| 0
| 0.334792
| 914
| 13
| 119
| 70.307692
| 0.274671
| 0
| 0
| 0.545455
| 0
| 0
| 0.717724
| 0.205689
| 0
| 0
| 0
| 0
| 0
| 1
| 0.090909
| true
| 0
| 0.090909
| 0
| 0.181818
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 12
|
9c51d44ceb58fbe957cbc39aeb2b1f5b7a69fe46
| 34,940
|
py
|
Python
|
gpt/easygdf.py
|
ColwynGulliford/lume-gpt
|
75f76adf72567c1d527d3ed010c6b60869a5c068
|
[
"Apache-2.0"
] | 1
|
2021-04-04T00:09:14.000Z
|
2021-04-04T00:09:14.000Z
|
gpt/easygdf.py
|
ColwynGulliford/lume-gpt
|
75f76adf72567c1d527d3ed010c6b60869a5c068
|
[
"Apache-2.0"
] | 1
|
2021-04-04T12:37:28.000Z
|
2021-04-09T16:55:57.000Z
|
gpt/easygdf.py
|
ColwynGulliford/lume-gpt
|
75f76adf72567c1d527d3ed010c6b60869a5c068
|
[
"Apache-2.0"
] | 3
|
2020-04-13T12:32:45.000Z
|
2021-07-27T04:27:59.000Z
|
################################################################################
# File: easygdf.py
# Description: easygdf provides methods that allow the reading of GDF files
# directly into python/numpy atomic data types.
# Author: Christopher M. Pierce (cmp285@cornell.edu)
################################################################################
################################################################################
# Imports
################################################################################
import io
import numpy
import pickle
import struct
import unittest
################################################################################
# Format Specific Constants
################################################################################
# GDF file specifics
GDF_NAME_LEN = 16
GDF_MAGIC = 94325877
# The GDF data type magic numbers
GDF_ASCII = 1
GDF_CHAR = 30
GDF_DOUBLE = 3
GDF_FLOAT = 90
GDF_INT16 = 50
GDF_INT64 = 80
GDF_LONG = 2
GDF_NULL = 10
GDF_UCHAR = 20
GDF_UINT16 = 40
GDF_UINT32 = 60
GDF_UINT64 = 70
GDF_UNDEFINED = 0
# The bit masks for the types of GDF blocks
GDF_DIRECTORY = 256
GDF_END = 512
GDF_SINGLE = 1024
GDF_ARRAY = 2048
################################################################################
# Function Definitions
################################################################################
def is_GDF_file(file):
'''Returns whether or not the file is a GDF file. Accepts an already open file in read, binary mode.'''
# Rewind the file to the beginning
file.seek(0)
# Get the magic number
magic_number, = struct.unpack('i', file.read(4))
# Check it against the real magic number
return magic_number == GDF_MAGIC
def load(file, tout_filter=lambda x: True, screen_filter=lambda x: True, screen_block_size=None, tout_block_size=None,
extra_tout_keys=[], extra_screen_keys=[]):
'''Reads all screens and touts from the open file object file. These are returned as a the tuple (touts,
screens) where each of touts and screens is a list of numpy arrays of the phase space coordinates. The output
array has the format:
[[x_0, x_1, x_2, ..., x_(n-1) ],
[BGx_0, BGx_1, BGx_2, ..., BGx_(n-1)],
[y_0, y_1, y_2, ..., y_(n-1) ],
[BGy_0, BGy_1, BGy_2, ..., BGy_(n-1)],
[z_0, z_1, z_2, ..., z_(n-1) ],
[BGz_0, BGz_1, BGz_2, ..., BGz_(n-1)],
[t_0, t_1, t_2, ..., t_(n-1) ]]
The spatial coordinates have units of meters and BGx, BGy, BGz refer to the components of the normalized
relativistic momentum Beta*Gamma and are unitless. Here, time has units of seconds and charge has units of
Coulombs.
The touts and screens can be filtered by time and position. The inputs `tout_filter` and `screen_filter` accept
lambdas of one parameter. That parameter is time/position and the lambda should return true or false indicating
whether to read that screen or not. Although this does speed up load times and reduces memory overhead in most
cases, some large files can take a long time to load even a single screen or tout. This is because the way the
GDF file is formatted requires the parser to read every block (including variables in the touts and screens) once
while going through the file. To get around this, you can try specifying `screen_block_size` and
`tout_block_size`. These tell the parser how large a tout or screen is in bytes and causes it to skip over them
instead of reading the header of each variable. This can improve performance by an order of magnitude on some
files. Be careful however, since incorrectly setting the block size will cause the parser to load corrupted
data.
The `extra_tout_keys` and `extra_screen_keys` parameters are used to load addition particle variables such as
scatter variables or field values at the particle locations. It is a list of strings where each string is the
key to be loaded. The key should match up with the name of the variable as written to the GDF file. The
variables will be appended to the numpy array as rows in the order they appear in the list.
Example Usage:
# Load the EasyGDF module
import easygdf
# Open a GDF file
with open('output.gdf', 'rb') as f:
touts, screens = easygdf.load(f)
'''
# Check if the file is a real file object
if (not isinstance(file, io.IOBase)):
raise TypeError('Argument is not a file-like object')
# If the file wasn't opened in binary mode
if not 'b' in file.mode:
# Raise an exception
raise ValueError("File is not in binary mode. "
"Try opening with option 'rb'")
# Check if the file is readable
try:
file.read(1)
except IOError:
raise ValueError('Could not read from file')
# Check it against the real magic number
if (not is_GDF_file(file)):
raise ValueError('File is not GDF formatted')
# Jump to where the data actually begins
file.seek(48)
# Make a variable to keep track of state
state = 'root'
# Make holders for our phase space variables
touts = []
screens = []
block_value = None
# Make storage for the values we will use
screen_tout_arrays = {}
first_tout = True
# Go into an infinite loop
while True:
# Read the block's header
block_header = file.read(16 + 4 + 4)
# If no data came back
if block_header == b'':
# If we were in a tout
if (state == 'tout'):
# Get the array
phase_space_array = numpy.array([
screen_tout_arrays['x'],
screen_tout_arrays['Bx'] * screen_tout_arrays['G'],
screen_tout_arrays['y'],
screen_tout_arrays['By'] * screen_tout_arrays['G'],
screen_tout_arrays['z'],
screen_tout_arrays['Bz'] * screen_tout_arrays['G'],
numpy.ones(screen_tout_arrays['x'].shape[0]) * block_value,
])
# For each extra one
for key in extra_tout_keys:
# Append it
phase_space_array = numpy.append(phase_space_array, [screen_tout_arrays[key]], axis=0)
# Append it to the list
touts.append(phase_space_array)
# Or, if we were in a screen
elif (state == 'screen'):
# Create the phase space array
phase_space_array = numpy.array([
screen_tout_arrays['x'],
screen_tout_arrays['Bx'] * screen_tout_arrays['G'],
screen_tout_arrays['y'],
screen_tout_arrays['By'] * screen_tout_arrays['G'],
screen_tout_arrays['z'],
screen_tout_arrays['Bz'] * screen_tout_arrays['G'],
screen_tout_arrays['t'],
])
# For each extra one
for key in extra_screen_keys:
# Append it
phase_space_array = numpy.append(phase_space_array, [screen_tout_arrays[key]], axis=0)
# Append it to the list
screens.append(phase_space_array)
# End the loop
break
else:
# Clean up the name
block_name = block_header[0:16]
block_name = block_name.split(b'\0', 1)[0]
block_name = block_name.decode('utf8')
# Get the block's type_flag and size
block_type_flag, = struct.unpack('i', block_header[16:20])
block_size, = struct.unpack('i', block_header[20:24])
# Break up the type flag into its parts
directory = bool(block_type_flag & GDF_DIRECTORY)
end = bool(block_type_flag & GDF_END)
single = bool(block_type_flag & GDF_SINGLE)
array = bool(block_type_flag & GDF_ARRAY)
# If we are in the root state
if (state == 'root'):
# If we are the start of a tout block
if (block_name == 'time'):
# Get the value of it
block_value, = struct.unpack('d', file.read(8))
# If the filter says that we will load it
if (tout_filter(block_value)):
# We are now in the tout state
state = 'tout'
# Clean out the array dict
screen_tout_arrays = {}
else:
# If we are given the number of particles and elements in a tout
if ((tout_block_size != None) and (first_tout == False)):
# Try to skip by the correct amount
file.seek(tout_block_size, 1)
# We are no longer the first tout
first_tout = False
# If we are the start of a screen
elif (block_name == 'position'):
# Get the value of it
block_value, = struct.unpack('d', file.read(8))
# If the filter says that we will load it
if (screen_filter(block_value)):
# We are now in the screen state
state = 'screen'
# Clean out the array dict
screen_tout_arrays = {}
else:
# If we are given the number of particles and elements in a tout
if (screen_block_size != None):
# Try to skip by the correct amount
file.seek(screen_block_size, 1)
# If it's just some random block
else:
# Move us to the next block
file.seek(block_size, 1)
# If we are in the tout state
elif ((state == 'tout') or (state == 'screen')):
# If it's an array object
if (array):
# Get the data-type
data_type = get_data_type(block_type_flag & 255)
# If it's a double
if (data_type == 'double'):
# Get the array
screen_tout_arrays[block_name] = numpy.fromfile(file, dtype=numpy.dtype('d'),
count=block_size // 8)
# Otherwise
else:
# Skip ahead
file.seek(block_size, 1)
# If it's time to end the block
elif (end):
if (state == 'tout'):
# Get the array
phase_space_array = numpy.array([
screen_tout_arrays['x'],
screen_tout_arrays['Bx'] * screen_tout_arrays['G'],
screen_tout_arrays['y'],
screen_tout_arrays['By'] * screen_tout_arrays['G'],
screen_tout_arrays['z'],
screen_tout_arrays['Bz'] * screen_tout_arrays['G'],
numpy.ones(screen_tout_arrays['x'].shape[0]) * block_value,
])
# For each extra one
for key in extra_tout_keys:
# Append it
phase_space_array = numpy.append(phase_space_array, [screen_tout_arrays[key]], axis=0)
# Append it to the list
touts.append(phase_space_array)
elif (state == 'screen'):
# Create the phase space array
phase_space_array = numpy.array([
screen_tout_arrays['x'],
screen_tout_arrays['Bx'] * screen_tout_arrays['G'],
screen_tout_arrays['y'],
screen_tout_arrays['By'] * screen_tout_arrays['G'],
screen_tout_arrays['z'],
screen_tout_arrays['Bz'] * screen_tout_arrays['G'],
screen_tout_arrays['t'],
])
# For each extra one
for key in extra_screen_keys:
# Append it
phase_space_array = numpy.append(phase_space_array, [screen_tout_arrays[key]], axis=0)
# Append it to the list
screens.append(phase_space_array)
# Change the state back
state = 'root'
# Otherwise
else:
# Skip ahead
file.seek(block_size, 1)
# Return everything
return (touts, screens)
def load_dict(file, tout_filter=lambda x: True, screen_filter=lambda x: True, screen_block_size=None,
tout_block_size=None):
'''Reads all screens and touts from the open file object file. These are returned as python dictionaries where
the keys to the dict are the keys to the arrays in the GDF file itself. The spatial coordinates have units of
meters and BGx, BGy, BGz refer to the components of the normalized relativistic momentum Beta*Gamma and are
unitless. Here, time has units of seconds and charge has units of Coulombs.
The touts and screens can be filtered by time and position. The inputs `tout_filter` and `screen_filter` accept
lambdas of one parameter. That parameter is time/position and the lambda should return true or false indicating
whether to read that screen or not. Although this does speed up load times and reduces memory overhead in most
cases, some large files can take a long time to load even a single screen or tout. This is because the way the
GDF file is formatted requires the parser to read every block (including variables in the touts and screens) once
while going through the file. To get around this, you can try specifying `screen_block_size` and
`tout_block_size`. These tell the parser how large a tout or screen is in bytes and causes it to skip over them
instead of reading the header of each variable. This can improve performance by an order of magnitude on some
files. Be careful however, since incorrectly setting the block size will cause the parser to load corrupted
data.
The `extra_tout_keys` and `extra_screen_keys` parameters are used to load addition particle variables such as
scatter variables or field values at the particle locations. It is a list of strings where each string is the
key to be loaded. The key should match up with the name of the variable as written to the GDF file. The
variables will be appended to the numpy array as rows in the order they appear in the list.
Example Usage:
# Load the EasyGDF module
import easygdf
# Open a GDF file
with open('output.gdf', 'rb') as f:
touts, screens = easygdf.load(f)
'''
# Check if the file is a real file object
if (not isinstance(file, io.IOBase)):
raise TypeError('Argument is not a file-like object')
# If the file wasn't opened in binary mode
if not 'b' in file.mode:
# Raise an exception
raise ValueError("File is not in binary mode. "
"Try opening with option 'rb'")
# Check if the file is readable
try:
file.read(1)
except IOError:
raise ValueError('Could not read from file')
# Check it against the real magic number
if (not is_GDF_file(file)):
raise ValueError('File is not GDF formatted')
# Jump to where the data actually begins
file.seek(48)
# Make a variable to keep track of state
state = 'root'
# Make holders for our phase space variables
touts = []
screens = []
block_value = None
# Make storage for the values we will use
screen_tout_arrays = {}
first_tout = True
# Go into an infinite loop
while True:
# Read the block's header
block_header = file.read(16 + 4 + 4)
# If no data came back
if block_header == b'':
# If we were in a tout
if (state == 'tout'):
# Append it to the list
touts.append(screen_tout_arrays)
# Or, if we were in a screen
elif (state == 'screen'):
# Append it to the list
screens.append(screen_tout_arrays)
# End the loop
break
else:
# Clean up the name
block_name = block_header[0:16]
block_name = block_name.split(b'\0', 1)[0]
block_name = block_name.decode('utf8')
# Get the block's type_flag and size
block_type_flag, = struct.unpack('i', block_header[16:20])
block_size, = struct.unpack('i', block_header[20:24])
# Break up the type flag into its parts
directory = bool(block_type_flag & GDF_DIRECTORY)
end = bool(block_type_flag & GDF_END)
single = bool(block_type_flag & GDF_SINGLE)
array = bool(block_type_flag & GDF_ARRAY)
# If we are in the root state
if (state == 'root'):
# If we are the start of a tout block
if (block_name == 'time'):
# Get the value of it
block_value, = struct.unpack('d', file.read(8))
# If the filter says that we will load it
if (tout_filter(block_value)):
# We are now in the tout state
state = 'tout'
# Clean out the array dict
screen_tout_arrays = {}
else:
# If we are given the number of particles and elements in a tout
if ((tout_block_size != None) and (first_tout == False)):
# Try to skip by the correct amount
file.seek(tout_block_size, 1)
# We are no longer the first tout
first_tout = False
# If we are the start of a screen
elif (block_name == 'position'):
# Get the value of it
block_value, = struct.unpack('d', file.read(8))
# If the filter says that we will load it
if (screen_filter(block_value)):
# We are now in the screen state
state = 'screen'
# Clean out the array dict
screen_tout_arrays = {}
else:
# If we are given the number of particles and elements in a tout
if (screen_block_size != None):
# Try to skip by the correct amount
file.seek(screen_block_size, 1)
# If it's just some random block
else:
# Move us to the next block
file.seek(block_size, 1)
# If we are in the tout state
elif ((state == 'tout') or (state == 'screen')):
# If it's an array object
if (array):
# Get the data-type
data_type = get_data_type(block_type_flag & 255)
# If it's a double
if (data_type == 'double'):
# Get the array
screen_tout_arrays[block_name] = numpy.fromfile(file, dtype=numpy.dtype('d'),
count=block_size // 8)
# Otherwise
else:
# Skip ahead
file.seek(block_size, 1)
# If it's time to end the block
elif (end):
if (state == 'tout'):
# Append it to the list
touts.append(screen_tout_arrays)
elif (state == 'screen'):
# Append it to the list
screens.append(screen_tout_arrays)
# Change the state back
state = 'root'
# Otherwise
else:
# Skip ahead
file.seek(block_size, 1)
# Return everything
return (touts, screens)
def load_initial_distribution(file, extra_screen_keys=[]):
'''Reads an initial distributions file. The output array has the format:
[[x_0, x_1, x_2, ..., x_(n-1) ],
[BGx_0, BGx_1, BGx_2, ..., BGx_(n-1)],
[y_0, y_1, y_2, ..., y_(n-1) ],
[BGy_0, BGy_1, BGy_2, ..., BGy_(n-1)],
[z_0, z_1, z_2, ..., z_(n-1) ],
[BGz_0, BGz_1, BGz_2, ..., BGz_(n-1)],
[t_0, t_1, t_2, ..., t_(n-1) ]]
The spatial coordinates have units of meters and BGx, BGy, BGz refer to the components of the normalized
relativistic momentum Beta*Gamma and are unitless. Here, time has units of seconds and charge has units of
Coulombs.
The parameter `extra_screen_keys` adds particle parameters to the array as described in the function `load`.
# Load the EasyGDF module
import easygdf
# Open a GDF file
with open('initial_distribution.gdf', 'rb') as f:
initial_screen = easygdf.load_initial_distribution(f)
'''
# Check if the file is a real file object
if(not isinstance(file, io.IOBase)):
raise TypeError('Argument is not a file-like object')
# If the file wasn't opened in binary mode
if not 'b' in file.mode:
# Raise an exception
raise ValueError("File is not in binary mode. "
"Try opening with option 'rb'")
# Check if the file is readable
try:
file.read(1)
except IOError:
raise ValueError('Could not read from file')
# Rewind the file to the beginning
file.seek(0)
# Get the magic number
magic_number, = struct.unpack('i', file.read(4))
# Check it against the real magic number
if(magic_number != GDF_MAGIC):
raise ValueError('File is not GDF formatted')
# Jump to where the data actually begins
file.seek(48)
# Make holders for our phase space variables
values = {}
block_value = None
# Go into an infinite loop
while True:
# Read the block's header
block_name = file.read(16)
# If no data came back
if block_name == b'':
# Exit the loop
break
# Clean up the name
block_name = block_name.split(b'\0',1)[0]
block_name = block_name.decode('utf8')
# Get the block's type_flag and size
block_type_flag, = struct.unpack('i', file.read(4))
block_size, = struct.unpack('i', file.read(4))
# Break up the type flag into its parts
directory = bool(block_type_flag & GDF_DIRECTORY)
end = bool(block_type_flag & GDF_END)
single = bool(block_type_flag & GDF_SINGLE)
array = bool(block_type_flag & GDF_ARRAY)
# Write out the list of parameters we care about
parameter_names = ['x', 'y', 'z', 'GBx', 'GBy', 'GBz', 't', 'q',
'nmacro']
# If we are the start of a tout block
if(block_name in parameter_names):
# Get the value of it
val = numpy.fromfile(file, dtype=numpy.dtype('d'),
count=block_size//8)
# Add it to the dict
values[block_name] = val
# If it's just some random block
else:
# Move us to the next block
file.seek(block_size, 1)
# Generate the screen
screen = numpy.array([
values['x'],
values['GBx'],
values['y'],
values['GBy'],
values['z'],
values['GBz'],
values['t'],
])
# Get the charge per macroparticle
q = values['q'] * values['nmacro']
# Add extra values
for key in extra_screen_keys:
# Add the key
screen = numpy.append(screen, [values[key]], axis=0)
# Return everything
return screen
def load_initial_distribution_dict(file):
'''Reads an initial distributions file. The output of this function is a dict where the keys to the dict are the
keys corresponding to the arrays in the GDF file. The spatial coordinates have units of meters and BGx, BGy,
BGz refer to the components of the normalized relativistic momentum Beta*Gamma and are unitless. Here,
time has units of seconds and charge has units of Coulombs.
The parameter `extra_screen_keys` adds particle parameters to the array as described in the function `load`.
# Load the EasyGDF module
import easygdf
# Open a GDF file
with open('initial_distribution.gdf', 'rb') as f:
initial_screen = easygdf.load_initial_distribution(f)
'''
# Check if the file is a real file object
if(not isinstance(file, io.IOBase)):
raise TypeError('Argument is not a file-like object')
# If the file wasn't opened in binary mode
if not 'b' in file.mode:
# Raise an exception
raise ValueError("File is not in binary mode. "
"Try opening with option 'rb'")
# Check if the file is readable
try:
file.read(1)
except IOError:
raise ValueError('Could not read from file')
# Rewind the file to the beginning
file.seek(0)
# Get the magic number
magic_number, = struct.unpack('i', file.read(4))
# Check it against the real magic number
if(magic_number != GDF_MAGIC):
raise ValueError('File is not GDF formatted')
# Jump to where the data actually begins
file.seek(48)
# Make holders for our phase space variables
values = {}
block_value = None
# Go into an infinite loop
while True:
# Read the block's header
block_name = file.read(16)
# If no data came back
if block_name == b'':
# Exit the loop
break
# Clean up the name
block_name = block_name.split(b'\0',1)[0]
block_name = block_name.decode('utf8')
# Get the block's type_flag and size
block_type_flag, = struct.unpack('i', file.read(4))
block_size, = struct.unpack('i', file.read(4))
# Break up the type flag into its parts
directory = bool(block_type_flag & GDF_DIRECTORY)
end = bool(block_type_flag & GDF_END)
single = bool(block_type_flag & GDF_SINGLE)
array = bool(block_type_flag & GDF_ARRAY)
# Write out the list of parameters we care about
parameter_names = ['x', 'y', 'z', 'GBx', 'GBy', 'GBz', 't', 'q',
'nmacro']
# If we are the start of a tout block
if(block_name in parameter_names):
# Get the value of it
val = numpy.fromfile(file, dtype=numpy.dtype('d'),
count=block_size//8)
# Add it to the dict
values[block_name] = val
# If it's just some random block
else:
# Move us to the next block
file.seek(block_size, 1)
# Return everything
return values
def get_data_type(flag):
'''This method returns a string identifying the datatype of a GDF block
given the last byte of it'''
if(flag == GDF_ASCII):
return 'ascii'
elif(flag == GDF_CHAR):
return 'char'
elif(flag == GDF_DOUBLE):
return 'double'
elif(flag == GDF_FLOAT):
return 'float'
elif(flag == GDF_INT16):
return 'int16'
elif(flag == GDF_INT64):
return 'int64'
elif(flag == GDF_LONG):
return 'long'
elif(flag == GDF_NULL):
return 'null'
elif(flag == GDF_UCHAR):
return 'uchar'
elif(flag == GDF_UINT16):
return 'uint16'
elif(flag == GDF_UINT32):
return 'uint32'
elif(flag == GDF_UINT64):
return 'uint64'
elif(flag == GDF_UNDEFINED):
return 'undefined'
else:
raise ValueError('Unknown data type')
################################################################################
# Unit Tests
################################################################################
class TestEasyGDF(unittest.TestCase):
def test_load(self):
'''Tests if the load method is working correctly by opening up a test
file.'''
# Make a dummy variable to store the data we will use in this test
test_data = None
validation_data = None
# Attempt to open the file with the method under test
with open('test.gdf', 'rb') as f:
test_data = load(f)
# Load the validation data
with open('test.pickle', 'rb') as f:
validation_data = pickle.load(f)
# Compare them
for test_tout, val_tout in zip(test_data[0], validation_data[0]):
self.assertTrue( numpy.isclose(test_tout, val_tout[:-1]).all())
def test_load_with_extra_keys(self):
'''Tests if the load method is working correctly with additional keys by opening up a test
file and looking at the charge variable.'''
# Make a dummy variable to store the data we will use in this test
test_data = None
validation_data = None
# Attempt to open the file with the method under test
with open('test.gdf', 'rb') as f:
test_data = load(f, extra_tout_keys=['q', 'nmacro'])
# Load the validation data
with open('test.pickle', 'rb') as f:
validation_data = pickle.load(f)
# Compare them
for test_tout, val_tout in zip(test_data[0], validation_data[0]):
# Make a new array to compare with
modified_test_data = test_tout[:-1]
modified_test_data[-1] = modified_test_data[-1] * test_tout[-1]
self.assertTrue(numpy.isclose(modified_test_data, val_tout, atol=1e-18).all())
def test_load_wrong_datatype(self):
'''Test a user trying to plug the wrong datatype into the method.'''
# Run it with something weird
with self.assertRaises(TypeError):
load('blah')
def test_load_closed_file(self):
'''Test the load method with a file that isn't open.'''
# Open a file and close it
closed_file = None
with open('test.pickle', 'rb') as f:
closed_file = f
with self.assertRaises(ValueError):
load(closed_file)
def test_load_wrong_format(self):
'''Test someone trying to load something that isn't a GDF file'''
# Do it
with self.assertRaises(ValueError):
with open('test.pickle', 'rb') as f:
load(f)
def test_load_used_file(self):
'''Tests the load method on a file that hasn't been re-wound'''
# Do it
with open('test.gdf', 'rb') as f:
f.seek(1)
load(f)
def test_load_non_binary(self):
'''Tests the load method on a file that is opened, but not in binary
mode'''
# Do it
try:
with open('test.gdf', 'r') as f:
load(f)
except ValueError as e:
self.assertEqual(str(e), "File is not in binary mode. "
"Try opening with option 'rb'")
return
# If we don't hit the exception, fail
self.assertTrue(False)
def test_load_initial_distribution(self):
'''Tests if the load method is working correctly by opening up a test
file.'''
# Make a dummy variable to store the data we will use in this test
test_data = None
validation_data = None
# Attempt to open the file with the method under test
with open('test_cathode.gdf', 'rb') as f:
test_data = load_initial_distribution(f)
# Load the validation data
with open('test_cathode.pickle', 'rb') as f:
validation_data = pickle.load(f)
# Compare them
self.assertTrue(numpy.isclose(test_data, validation_data[:-1]).all())
def test_load_initial_distribution_with_extra(self):
'''Tests if the load method is working correctly by opening up a test
file and loading charge as well.'''
# Make a dummy variable to store the data we will use in this test
test_data = None
validation_data = None
# Attempt to open the file with the method under test
with open('test_cathode.gdf', 'rb') as f:
test_data = load_initial_distribution(f, extra_screen_keys=['q', 'nmacro'])
# Load the validation data
with open('test_cathode.pickle', 'rb') as f:
validation_data = pickle.load(f)
# Make a new array to compare with
modified_test_data = test_data[:-1]
modified_test_data[-1] = modified_test_data[-1] * test_data[-1]
# Compare them
self.assertTrue(numpy.isclose(modified_test_data, validation_data, atol=1e-18).all())
def test_load_curvilinear_screen(self):
'''Some people use a custom GPT element to output screens in a curvilinear coordinates system. These screens report the screen position as z=0, but list the particle z positions inside the GDF file which must be reported by the library.'''
# Write down what we expect
validation_data = numpy.array([[0., 0., 0.],
[0., 0., 0.],
[0., 0., 0.],
[0., 0., 0.],
[1., 2., 3.],
[0., 0., 0.],
[0., 0., 0.]])
# Open up the file
with open('curvilinear_screen.gdf', 'rb') as f:
_, test_data = load(f)
# Compare them
self.assertTrue(numpy.isclose(test_data[0], validation_data).all())
################################################################################
# Script Begins Here
################################################################################
if __name__ == '__main__':
unittest.main()
| 37.48927
| 248
| 0.545535
| 4,483
| 34,940
| 4.118001
| 0.101048
| 0.030334
| 0.048535
| 0.014734
| 0.849954
| 0.841504
| 0.839337
| 0.820866
| 0.818807
| 0.809599
| 0
| 0.012488
| 0.349141
| 34,940
| 931
| 249
| 37.529538
| 0.799305
| 0.367916
| 0
| 0.726619
| 0
| 0
| 0.059744
| 0.001076
| 0
| 0
| 0
| 0
| 0.023981
| 1
| 0.038369
| false
| 0
| 0.01199
| 0
| 0.098321
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
9c78f0749a3ddf641cab7b8a13fadc064ea26a24
| 878
|
py
|
Python
|
applications/ConstitutiveModelsApplication/tests/validation/MainKratos.py
|
lkusch/Kratos
|
e8072d8e24ab6f312765185b19d439f01ab7b27b
|
[
"BSD-4-Clause"
] | 778
|
2017-01-27T16:29:17.000Z
|
2022-03-30T03:01:51.000Z
|
applications/ConstitutiveModelsApplication/tests/validation/MainKratos.py
|
lkusch/Kratos
|
e8072d8e24ab6f312765185b19d439f01ab7b27b
|
[
"BSD-4-Clause"
] | 6,634
|
2017-01-15T22:56:13.000Z
|
2022-03-31T15:03:36.000Z
|
applications/ConstitutiveModelsApplication/tests/validation/MainKratos.py
|
lkusch/Kratos
|
e8072d8e24ab6f312765185b19d439f01ab7b27b
|
[
"BSD-4-Clause"
] | 224
|
2017-02-07T14:12:49.000Z
|
2022-03-06T23:09:34.000Z
|
import KratosMultiphysics
import KratosMultiphysics.ConstitutiveModelsApplication
import MainMaterial
#MainMaterial.Solution("shear_traction_parameters.json","isochoric_ogden_materials.json").Run()
#MainMaterial.Solution("shear_traction_parameters.json","ogden_materials.json").Run()
#MainMaterial.Solution("shear_traction_parameters.json","neohookean_materials.json").Run()
#MainMaterial.Solution("shear_parameters.json","isochoric_ogden_materials.json").Run()
#MainMaterial.Solution("shear_parameters.json","ogden_materials.json").Run()
#MainMaterial.Solution("shear_parameters.json","neohookean_materials.json").Run()
#MainMaterial.Solution("traction_parameters.json","isochoric_ogden_materials.json").Run()
#MainMaterial.Solution("traction_parameters.json","ogden_materials.json").Run()
MainMaterial.Solution("traction_parameters.json","neohookean_materials.json").Run()
| 54.875
| 95
| 0.835991
| 94
| 878
| 7.553191
| 0.148936
| 0.253521
| 0.202817
| 0.315493
| 0.866197
| 0.866197
| 0.830986
| 0.794366
| 0.657746
| 0.433803
| 0
| 0
| 0.020501
| 878
| 15
| 96
| 58.533333
| 0.825581
| 0.766515
| 0
| 0
| 0
| 0
| 0.248731
| 0.248731
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.75
| 0
| 0.75
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 10
|
92cb2b2f982033607fe456c25f3f50a738392e92
| 2,453
|
py
|
Python
|
pynos/versions/ver_7/ver_7_1_0/yang/brocade_terminal.py
|
bdeetz/pynos
|
bd8a34e98f322de3fc06750827d8bbc3a0c00380
|
[
"Apache-2.0"
] | 12
|
2015-09-21T23:56:09.000Z
|
2018-03-30T04:35:32.000Z
|
pynos/versions/ver_7/ver_7_1_0/yang/brocade_terminal.py
|
bdeetz/pynos
|
bd8a34e98f322de3fc06750827d8bbc3a0c00380
|
[
"Apache-2.0"
] | 10
|
2016-09-15T19:03:27.000Z
|
2017-07-17T23:38:01.000Z
|
pynos/versions/ver_7/ver_7_1_0/yang/brocade_terminal.py
|
bdeetz/pynos
|
bd8a34e98f322de3fc06750827d8bbc3a0c00380
|
[
"Apache-2.0"
] | 6
|
2015-08-14T08:05:23.000Z
|
2022-02-03T15:33:54.000Z
|
#!/usr/bin/env python
import xml.etree.ElementTree as ET
class brocade_terminal(object):
"""Auto generated class.
"""
def __init__(self, **kwargs):
self._callback = kwargs.pop('callback')
def terminal_cfg_line_sessionid(self, **kwargs):
"""Auto Generated Code
"""
config = ET.Element("config")
terminal_cfg = ET.SubElement(config, "terminal-cfg", xmlns="urn:brocade.com:mgmt:brocade-terminal")
line = ET.SubElement(terminal_cfg, "line")
sessionid = ET.SubElement(line, "sessionid")
sessionid.text = kwargs.pop('sessionid')
callback = kwargs.pop('callback', self._callback)
return callback(config)
def terminal_cfg_line_exec_timeout(self, **kwargs):
"""Auto Generated Code
"""
config = ET.Element("config")
terminal_cfg = ET.SubElement(config, "terminal-cfg", xmlns="urn:brocade.com:mgmt:brocade-terminal")
line = ET.SubElement(terminal_cfg, "line")
sessionid_key = ET.SubElement(line, "sessionid")
sessionid_key.text = kwargs.pop('sessionid')
exec_timeout = ET.SubElement(line, "exec-timeout")
exec_timeout.text = kwargs.pop('exec_timeout')
callback = kwargs.pop('callback', self._callback)
return callback(config)
def terminal_cfg_line_sessionid(self, **kwargs):
"""Auto Generated Code
"""
config = ET.Element("config")
terminal_cfg = ET.SubElement(config, "terminal-cfg", xmlns="urn:brocade.com:mgmt:brocade-terminal")
line = ET.SubElement(terminal_cfg, "line")
sessionid = ET.SubElement(line, "sessionid")
sessionid.text = kwargs.pop('sessionid')
callback = kwargs.pop('callback', self._callback)
return callback(config)
def terminal_cfg_line_exec_timeout(self, **kwargs):
"""Auto Generated Code
"""
config = ET.Element("config")
terminal_cfg = ET.SubElement(config, "terminal-cfg", xmlns="urn:brocade.com:mgmt:brocade-terminal")
line = ET.SubElement(terminal_cfg, "line")
sessionid_key = ET.SubElement(line, "sessionid")
sessionid_key.text = kwargs.pop('sessionid')
exec_timeout = ET.SubElement(line, "exec-timeout")
exec_timeout.text = kwargs.pop('exec_timeout')
callback = kwargs.pop('callback', self._callback)
return callback(config)
| 38.936508
| 107
| 0.635141
| 272
| 2,453
| 5.573529
| 0.139706
| 0.116095
| 0.079156
| 0.094987
| 0.91161
| 0.91161
| 0.91161
| 0.91161
| 0.91161
| 0.91161
| 0
| 0
| 0.232776
| 2,453
| 63
| 108
| 38.936508
| 0.805526
| 0.066449
| 0
| 0.9
| 1
| 0
| 0.174834
| 0.065342
| 0
| 0
| 0
| 0
| 0
| 1
| 0.125
| false
| 0
| 0.025
| 0
| 0.275
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
130fa433ebcd1b2d3e5a491385f1c8a186ca8462
| 109
|
py
|
Python
|
image_gallery/website/views/__init__.py
|
rqroz/django_image_gallery
|
95ecd154d46e0439997b4ddb9cc440a33cd6563e
|
[
"MIT"
] | null | null | null |
image_gallery/website/views/__init__.py
|
rqroz/django_image_gallery
|
95ecd154d46e0439997b4ddb9cc440a33cd6563e
|
[
"MIT"
] | null | null | null |
image_gallery/website/views/__init__.py
|
rqroz/django_image_gallery
|
95ecd154d46e0439997b4ddb9cc440a33cd6563e
|
[
"MIT"
] | null | null | null |
from .main_views import *
from .user_views import *
from .gallery_views import *
from .access_views import *
| 21.8
| 28
| 0.779817
| 16
| 109
| 5.0625
| 0.4375
| 0.54321
| 0.555556
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.146789
| 109
| 4
| 29
| 27.25
| 0.870968
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
13434eab02305b8c7658f25fba58f44a25a8e821
| 145
|
py
|
Python
|
tests/parser/constants.3.test.py
|
veltri/DLV2
|
944aaef803aa75e7ec51d7e0c2b0d964687fdd0e
|
[
"Apache-2.0"
] | null | null | null |
tests/parser/constants.3.test.py
|
veltri/DLV2
|
944aaef803aa75e7ec51d7e0c2b0d964687fdd0e
|
[
"Apache-2.0"
] | null | null | null |
tests/parser/constants.3.test.py
|
veltri/DLV2
|
944aaef803aa75e7ec51d7e0c2b0d964687fdd0e
|
[
"Apache-2.0"
] | null | null | null |
input = """
%#const a=1.
%#maxint=2.
p(a) :- X=a. %#int(X), X=a.
"""
output = """
%#const a=1.
%#maxint=2.
p(a) :- X=a. %#int(X), X=a.
"""
| 13.181818
| 28
| 0.406897
| 28
| 145
| 2.107143
| 0.357143
| 0.135593
| 0.237288
| 0.440678
| 0.813559
| 0.813559
| 0.813559
| 0.813559
| 0.813559
| 0.813559
| 0
| 0.034783
| 0.206897
| 145
| 10
| 29
| 14.5
| 0.478261
| 0
| 0
| 0.8
| 0
| 0
| 0.776978
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| null | 0
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 12
|
136a6ac6b1797f2da0254267b7af743f221daf6e
| 6,316
|
py
|
Python
|
M101P/week2/homework_2_3/login_logout_signup/login_logout_signup/validate.py
|
lambdaxymox/mongodb-university
|
fbab1dfa61b0c422f0d45209d0047261da3525c9
|
[
"Unlicense"
] | 27
|
2017-09-25T21:04:50.000Z
|
2021-09-10T01:26:42.000Z
|
M101P/week2/homework_2_3/login_logout_signup/login_logout_signup/validate.py
|
lambdaxymox/mongodb-university
|
fbab1dfa61b0c422f0d45209d0047261da3525c9
|
[
"Unlicense"
] | 7
|
2017-09-28T00:19:55.000Z
|
2019-10-16T10:34:38.000Z
|
M101P/week2/homework_2_3/login_logout_signup/login_logout_signup/validate.py
|
lambdaxymox/mongodb-university
|
fbab1dfa61b0c422f0d45209d0047261da3525c9
|
[
"Unlicense"
] | 12
|
2017-09-25T21:04:52.000Z
|
2020-09-26T18:40:28.000Z
|
import base64
code="CmltcG9ydCBweW1vbmdvCmltcG9ydCB1cmxsaWIyCmltcG9ydCB1cmxsaWIKaW1wb3J0IGNvb2tpZWxpYgppbXBvcnQgcmFuZG9tCmltcG9ydCByZQppbXBvcnQgc3RyaW5nCmltcG9ydCBzeXMKaW1wb3J0IGdldG9wdAoKIyB0aGlzIGlzIGEgdmFsaWRhdGlvbiBwcm9ncmFtIHRvIG1ha2Ugc3VyZSB0aGF0IHRoZSBibG9nIHdvcmtzIGNvcnJlY3RseS4KIyBJZiB5b3UgYXJlIHJlYWRpbmcgdGhpcyBpbiBjbGVhciB0ZXh0LCB5b3UgYXJlIHByb2JhYmx5IHZpb2xhdGluZyB0aGUgaG9ub3IgY29kZQoKCiMgZGVjbGFyZSB0aGUgdmFyaWFibGVzIHRvIGNvbm5lY3QgdG8gZGIKY29ubmVjdGlvbiA9IE5vbmUKZGIgPSBOb25lCgp3ZWJob3N0ID0gImxvY2FsaG9zdDo4MDgyIgptb25nb3N0ciA9ICJtb25nb2RiOi8vbG9jYWxob3N0OjI3MDE3IgpkYl9uYW1lID0gImJsb2ciCgoKIyBtYWtlcyBhIGxpdHRsZSBzYWx0CmRlZiBtYWtlX3NhbHQobik6CiAgICBzYWx0ID0gIiIKICAgIGZvciBpIGluIHJhbmdlKG4pOgogICAgICAgIHNhbHQgPSBzYWx0ICsgcmFuZG9tLmNob2ljZShzdHJpbmcuYXNjaWlfbGV0dGVycykKICAgIHJldHVybiBzYWx0CgoKZGVmIGNyZWF0ZV91c2VyKHVzZXJuYW1lLCBwYXNzd29yZCk6CiAgICB0cnk6CiAgICAgICAgcHJpbnQgIlRyeWluZyB0byBjcmVhdGUgYSB0ZXN0IHVzZXIgIiwgdXNlcm5hbWUKICAgICAgICBjaiA9IGNvb2tpZWxpYi5Db29raWVKYXIoKQogICAgICAgIHVybCA9ICJodHRwOi8vezB9L3NpZ251cCIuZm9ybWF0KHdlYmhvc3QpCgogICAgICAgIGRhdGEgPSB1cmxsaWIudXJsZW5jb2RlKFsoImVtYWlsIiwiIiksKCJ1c2VybmFtZSIsdXNlcm5hbWUpLCAoInBhc3N3b3JkIixwYXNzd29yZCksICgidmVyaWZ5IixwYXNzd29yZCldKQogICAgICAgIHJlcXVlc3QgPSB1cmxsaWIyLlJlcXVlc3QodXJsPXVybCwgZGF0YT1kYXRhKQogICAgICAgIG9wZW5lciA9IHVybGxpYjIuYnVpbGRfb3BlbmVyKHVybGxpYjIuSFRUUENvb2tpZVByb2Nlc3NvcihjaikpCiAgICAgICAgZiA9IG9wZW5lci5vcGVuKHJlcXVlc3QpCgogICAgICAgIHVzZXJzID0gZGIudXNlcnMKICAgICAgICB1c2VyID0gdXNlcnMuZmluZF9vbmUoeydfaWQnOnVzZXJuYW1lfSkKICAgICAgICBpZiAodXNlciA9PSBOb25lKToKICAgICAgICAgICAgcHJpbnQgIkNvdWxkIG5vdCBmaW5kIHRoZSB0ZXN0IHVzZXIgIiwgdXNlcm5hbWUsICJpbiB0aGUgdXNlcnMgY29sbGVjdGlvbi4iCiAgICAgICAgICAgIHJldHVybiBGYWxzZQogICAgICAgIHByaW50ICJGb3VuZCB0aGUgdGVzdCB1c2VyICIsIHVzZXJuYW1lLCAiIGluIHRoZSB1c2VycyBjb2xsZWN0aW9uIgoKICAgICAgICAjIGNoZWNrIHRoYXQgdGhlIHVzZXIgaGFzIGJlZW4gYnVpbHQKICAgICAgICByZXN1bHQgPSBmLnJlYWQoKQogICAgICAgIGV4cHIgPSByZS5jb21waWxlKCJXZWxjb21lXHMrIisgdXNlcm5hbWUpCiAgICAgICAgaWYgZXhwci5zZWFyY2gocmVzdWx0KToKICAgICAgICAgICAgcmV0dXJuIFRydWUKICAgICAgICAKICAgICAgICBwcmludCAiV2hlbiB3ZSB0cmllZCB0byBjcmVhdGUgYSB1c2VyLCBoZXJlIGlzIHRoZSBvdXRwdXQgd2UgZ290XG4iCiAgICAgICAgcHJpbnQgcmVzdWx0CiAgICAgICAgCiAgICAgICAgcmV0dXJuIEZhbHNlCiAgICBleGNlcHQ6CiAgICAgICAgcHJpbnQgInRoZSByZXF1ZXN0IHRvICIsIHVybCwgIiBmYWlsZWQsIHNvIHlvdXIgYmxvZyBtYXkgbm90IGJlIHJ1bm5pbmcuIgogICAgICAgIHJldHVybiBGYWxzZQoKCmRlZiB0cnlfdG9fbG9naW4odXNlcm5hbWUsIHBhc3N3b3JkKToKCiAgICB0cnk6CiAgICAgICAgcHJpbnQgIlRyeWluZyB0byBsb2dpbiBmb3IgdGVzdCB1c2VyICIsIHVzZXJuYW1lCiAgICAgICAgY2ogPSBjb29raWVsaWIuQ29va2llSmFyKCkKICAgICAgICB1cmwgPSAiaHR0cDovL3swfS9sb2dpbiIuZm9ybWF0KHdlYmhvc3QpCgogICAgICAgIGRhdGEgPSB1cmxsaWIudXJsZW5jb2RlKFsoInVzZXJuYW1lIix1c2VybmFtZSksICgicGFzc3dvcmQiLHBhc3N3b3JkKV0pCiAgICAgICAgcmVxdWVzdCA9IHVybGxpYjIuUmVxdWVzdCh1cmw9dXJsLCBkYXRhPWRhdGEpCiAgICAgICAgb3BlbmVyID0gdXJsbGliMi5idWlsZF9vcGVuZXIodXJsbGliMi5IVFRQQ29va2llUHJvY2Vzc29yKGNqKSkKICAgICAgICBmID0gb3BlbmVyLm9wZW4ocmVxdWVzdCkKCiAgICAgICAgIyBjaGVjayBmb3Igc3VjY2Vzc2Z1bCBsb2dpbgogICAgICAgIHJlc3VsdCA9IGYucmVhZCgpCiAgICAgICAgZXhwciA9IHJlLmNvbXBpbGUoIldlbGNvbWVccysiKyB1c2VybmFtZSkKICAgICAgICBpZiBleHByLnNlYXJjaChyZXN1bHQpOgogICAgICAgICAgICByZXR1cm4gVHJ1ZQoKICAgICAgICBwcmludCAiV2hlbiB3ZSB0cmllZCB0byBsb2dpbiwgaGVyZSBpcyB0aGUgb3V0cHV0IHdlIGdvdFxuIgogICAgICAgIHByaW50IHJlc3VsdAogICAgICAgIHJldHVybiBGYWxzZQogICAgZXhjZXB0OgogICAgICAgIHByaW50ICJ0aGUgcmVxdWVzdCB0byAiLCB1cmwsICIgZmFpbGVkLCBzbyB5b3VyIGJsb2cgbWF5IG5vdCBiZSBydW5uaW5nLiIKICAgICAgICByYWlzZQogICAgICAgIHJldHVybiBGYWxzZQoKCiMgY29tbWFuZCBsaW5lIGFyZyBwYXJzaW5nIHRvIG1ha2UgZm9sa3MgaGFwcHkgd2hvIHdhbnQgdG8gcnVuIGF0IG1vbmdvbGFicyBvciBtb25nb2hxCiMgdGhpcyBmdW5jdGlvbnMgdXNlcyBnbG9iYWwgdmFycyB0byBjb21tdW5pY2F0ZS4gZm9yZ2l2ZSBtZS4KZGVmIGFyZ19wYXJzaW5nKGFyZ3YpOgoKICAgIGdsb2JhbCB3ZWJob3N0CiAgICBnbG9iYWwgbW9uZ29zdHIKICAgIGdsb2JhbCBkYl9uYW1lCgogICAgdHJ5OgogICAgICAgIG9wdHMsIGFyZ3MgPSBnZXRvcHQuZ2V0b3B0KGFyZ3YsICItcDotbTotZDoiKQogICAgZXhjZXB0IGdldG9wdC5HZXRvcHRFcnJvcjoKICAgICAgICBwcmludCAidXNhZ2UgdmFsaWRhdGUucHkgLXAgd2ViaG9zdCAtbSBtb25nb0Nvbm5lY3RTdHJpbmcgLWQgZGF0YWJhc2VOYW1lIgogICAgICAgIHByaW50ICJcdHdlYmhvc3QgZGVmYXVsdHMgdG8gezB9Ii5mb3JtYXQod2ViaG9zdCkKICAgICAgICBwcmludCAiXHRtb25nb0Nvbm5lY3Rpb25TdHJpbmcgZGVmYXVsdCB0byB7MH0iLmZvcm1hdChtb25nb3N0cikKICAgICAgICBwcmludCAiXHRkYXRhYmFzZU5hbWUgZGVmYXVsdHMgdG8gezB9Ii5mb3JtYXQoZGJfbmFtZSkKICAgICAgICBzeXMuZXhpdCgyKQogICAgZm9yIG9wdCwgYXJnIGluIG9wdHM6CiAgICAgICAgaWYgKG9wdCA9PSAnLWgnKToKICAgICAgICAgICAgcHJpbnQgInVzYWdlIHZhbGlkYXRlLnB5IC1wIHdlYmhvc3QgLW0gbW9uZ29Db25uZWN0U3RyaW5nIC1kIGRhdGFiYXNlTmFtZSIKICAgICAgICAgICAgc3lzLmV4aXQoMikKICAgICAgICBlbGlmIG9wdCBpbiAoIi1wIik6CiAgICAgICAgICAgIHdlYmhvc3QgPSBhcmcKICAgICAgICAgICAgcHJpbnQgIk92ZXJyaWRpbmcgSFRUUCBob3N0IHRvIGJlICIsIHdlYmhvc3QKICAgICAgICBlbGlmIG9wdCBpbiAoIi1tIik6CiAgICAgICAgICAgIG1vbmdvc3RyID0gYXJnCiAgICAgICAgICAgIHByaW50ICJPdmVycmlkaW5nIE1vbmdvREIgY29ubmVjdGlvbiBzdHJpbmcgdG8gYmUgIiwgbW9uZ29zdHIKICAgICAgICBlbGlmIG9wdCBpbiAoIi1kIik6CiAgICAgICAgICAgIGRiX25hbWUgPSBhcmcKICAgICAgICAgICAgcHJpbnQgIk92ZXJyaWRpbmcgTW9uZ29EQiBkYXRhYmFzZSB0byBiZSAiLCBkYl9uYW1lCgoKIyBtYWluIHNlY3Rpb24gb2YgdGhlIGNvZGUKZGVmIG1haW4oYXJndik6CiAgICAgICAgICAgIAogICAgYXJnX3BhcnNpbmcoYXJndikKICAgIGdsb2JhbCBjb25uZWN0aW9uCiAgICBnbG9iYWwgZGIKCiAgICBwcmludCAiV2VsY29tZSB0byB0aGUgSFcgMi4zIHZhbGlkYXRpb24gdGVzdGVyIgoKICAgICMgY29ubmVjdCB0byB0aGUgZGIgKG1vbmdvc3RyIHdhcyBzZXQgaW4gYXJnX3BhcnNpbmcpCiAgICBjb25uZWN0aW9uID0gcHltb25nby5Nb25nb0NsaWVudChtb25nb3N0cikKICAgIGRiID0gY29ubmVjdGlvbltkYl9uYW1lXQogICAgICAgICAgICAKCiAgICB1c2VybmFtZSA9IG1ha2Vfc2FsdCg3KQogICAgcGFzc3dvcmQgPSBtYWtlX3NhbHQoOCkKCiAgICAjIHRyeSB0byBjcmVhdGUgdXNlcgoKICAgIGlmIChjcmVhdGVfdXNlcih1c2VybmFtZSwgcGFzc3dvcmQpKToKICAgICAgICBwcmludCAiVXNlciBjcmVhdGlvbiBzdWNjZXNzZnVsLiAiCiAgICAgICAgIyB0cnkgdG8gbG9naW4KICAgICAgICBpZiAodHJ5X3RvX2xvZ2luKHVzZXJuYW1lLCBwYXNzd29yZCkpOgogICAgICAgICAgICBwcmludCAiVXNlciBsb2dpbiBzdWNjZXNzZnVsLiIKICAgICAgICAgICAgcHJpbnQgIlZhbGlkYXRpb24gQ29kZSBpcyAiLCAiamtmZHM1ODM0ajk4Zm5tMzluamYwOTIwZjAyIgogICAgICAgIGVsc2U6CiAgICAgICAgICAgIHByaW50ICJVc2VyIGxvZ2luIGZhaWxlZCIKICAgICAgICAgICAgcHJpbnQgIlNvcnJ5LCB5b3UgaGF2ZSBub3Qgc29sdmVkIGl0IHlldC4iCgogICAgZWxzZToKICAgICAgICBwcmludCAiU29ycnksIHlvdSBoYXZlIG5vdCBzb2x2ZWQgaXQgeWV0LiIKICAgICAgICBzeXMuZXhpdCgxKQoKCmlmIF9fbmFtZV9fID09ICJfX21haW5fXyI6CiAgICBtYWluKHN5cy5hcmd2WzE6XSkKCgoKCgoKCg=="
eval(compile(base64.b64decode(code), "<string>", 'exec'))
| 1,579
| 6,243
| 0.995883
| 11
| 6,316
| 571.818182
| 0.818182
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.092868
| 0.00095
| 6,316
| 3
| 6,244
| 2,105.333333
| 0.903962
| 0
| 0
| 0
| 0
| 0
| 0.989234
| 0.987334
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.333333
| 0
| 0.333333
| 0
| 1
| 0
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 9
|
1386ea9f5c3c4b3cf6776f105e777a65e6ae61f6
| 89
|
py
|
Python
|
python/test_camera.py
|
karagenit/material-sorter
|
9bd195ab1fcfb72cb41e3ad3d35cf7b8f55bafe3
|
[
"MIT"
] | null | null | null |
python/test_camera.py
|
karagenit/material-sorter
|
9bd195ab1fcfb72cb41e3ad3d35cf7b8f55bafe3
|
[
"MIT"
] | 14
|
2018-05-08T12:00:51.000Z
|
2018-05-22T17:18:24.000Z
|
python/test_camera.py
|
karagenit/material-sorter
|
9bd195ab1fcfb72cb41e3ad3d35cf7b8f55bafe3
|
[
"MIT"
] | null | null | null |
import cv2 as cv
import numpy as np
def read():
return cv.imread("images/bolt.jpg")
| 14.833333
| 39
| 0.696629
| 16
| 89
| 3.875
| 0.8125
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.013889
| 0.191011
| 89
| 5
| 40
| 17.8
| 0.847222
| 0
| 0
| 0
| 0
| 0
| 0.168539
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.25
| true
| 0
| 0.5
| 0.25
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 1
| 1
| 1
| 0
|
0
| 7
|
13cc3ee87b462fbb72a6a8db2dfe98fb9adf4e03
| 80,747
|
py
|
Python
|
model.py
|
HaydenFaulkner/SAAT-edit
|
0b1c519d08e4d7cb4f6b441d00c63730be68f9b3
|
[
"MIT"
] | 2
|
2021-03-01T14:27:20.000Z
|
2021-11-17T21:54:07.000Z
|
model.py
|
HaydenFaulkner/SAAT-edit
|
0b1c519d08e4d7cb4f6b441d00c63730be68f9b3
|
[
"MIT"
] | null | null | null |
model.py
|
HaydenFaulkner/SAAT-edit
|
0b1c519d08e4d7cb4f6b441d00c63730be68f9b3
|
[
"MIT"
] | null | null | null |
import torch
import torch.nn as nn
import torch.nn.functional as F
from torch.autograd import Variable
import numpy as np
import math
def to_contiguous(tensor):
if tensor.is_contiguous():
return tensor
else:
return tensor.contiguous()
class RewardCriterion(nn.Module):
def __init__(self):
super(RewardCriterion, self).__init__()
def forward(self, seq, logprobs, reward):
logprobs = to_contiguous(logprobs).view(-1)
reward = to_contiguous(reward).view(-1)
mask = (seq > 0).float()
# add one to the right to count for the <eos> token
mask = to_contiguous(torch.cat(
[mask.new(mask.size(0), 1).fill_(1), mask[:, :-1]], 1)).view(-1)
output = - logprobs * reward * Variable(mask)
output = torch.sum(output) / torch.sum(mask)
return output
class CrossEntropyCriterion(nn.Module):
def __init__(self):
super(CrossEntropyCriterion, self).__init__()
def forward(self, pred, target, mask, bcmrscores=None):
# truncate to the same size
target = target[:, :pred.size(1)]
mask = mask[:, :pred.size(1)]
seq_len = pred.size(1)
pred = to_contiguous(pred).view(-1, pred.size(2))
target = to_contiguous(target).view(-1, 1)
mask = to_contiguous(mask).view(-1, 1)
output = -pred.gather(1, target) * mask
if bcmrscores is not None:
weights = bcmrscores.view(-1).unsqueeze(1).repeat(1, seq_len).view(-1, 1)
else:
weights = torch.ones(output.shape).cuda()
output = torch.sum(output*weights) / torch.sum(mask)
return output
class FeatPool(nn.Module):
def __init__(self, feat_dims, out_size, dropout, SQUEEZE=True):
super(FeatPool, self).__init__()
self.squeeze = SQUEEZE
module_list = []
for dim in feat_dims:
module = nn.Sequential(
nn.Linear(dim, out_size),
nn.ReLU(),
nn.Dropout(dropout))
module_list += [module]
self.feat_list = nn.ModuleList(module_list)
def forward(self, feats, stack=False):
"""
feats is a list, each element is a tensor that have size (N x C x F)
at the moment assuming that C == 1
"""
if stack:
out = torch.stack([m(feats[i].squeeze(1)) for i, m in enumerate(self.feat_list)], 1)
else:
if self.squeeze:
out = torch.cat([m(feats[i].squeeze(1)) for i, m in enumerate(self.feat_list)], 1)
else:
out = torch.cat([m(feats[i]) for i, m in enumerate(self.feat_list)], 2)
return out
class FeatExpander(nn.Module):
def __init__(self, n=1):
super(FeatExpander, self).__init__()
self.n = n
def forward(self, x):
if self.n == 1:
out = x
else:
if len(x.shape) == 2:
out = Variable(x.data.new(self.n * x.size(0), x.size(1)), volatile=x.volatile)
for i in range(x.size(0)):
out[i * self.n:(i + 1) * self.n] = x[i].expand(self.n, x.size(1))
elif len(x.shape) == 3:
out = Variable(x.data.new(self.n * x.size(0), x.size(1), x.size(2)), volatile=x.volatile)
for i in range(x.size(0)):
out[i * self.n:(i + 1) * self.n] = x[i].expand(self.n, x.size(1), x.size(2))
return out
def set_n(self, x):
self.n = x
class RNNUnit(nn.Module):
def __init__(self, opt):
super(RNNUnit, self).__init__()
self.captioner_type = opt.captioner_type
self.captioner_size = opt.captioner_size
self.captioner_layers = opt.captioner_layers
self.drop_prob_lm = opt.drop_prob_lm
if opt.model_type == 'standard':
self.input_size = opt.input_encoding_size
elif opt.model_type in ['concat', 'manet']:
self.input_size = opt.input_encoding_size + opt.video_encoding_size
self.rnn = getattr(nn, self.captioner_type.upper())(self.input_size, self.captioner_size, self.captioner_layers, bias=False, dropout=self.drop_prob_lm)
def forward(self, xt, state):
output, state = self.rnn(xt.unsqueeze(0), state)
return output.squeeze(0), state
class MANet(nn.Module):
"""
MANet: Modal Attention
"""
def __init__(self, video_encoding_size, captioner_size, num_feats):
super(MANet, self).__init__()
self.video_encoding_size = video_encoding_size
self.captioner_size = captioner_size
self.num_feats = num_feats
self.f_feat_m = nn.Linear(self.video_encoding_size, self.num_feats)
self.f_h_m = nn.Linear(self.captioner_size, self.num_feats)
self.align_m = nn.Linear(self.num_feats, self.num_feats)
def forward(self, x, h):
f_feat = self.f_feat_m(x)
f_h = self.f_h_m(h.squeeze(0)) # assuming now captioner_layers is 1
att_weight = nn.Softmax()(self.align_m(nn.Tanh()(f_feat + f_h)))
att_weight = att_weight.unsqueeze(2).expand(
x.size(0), self.num_feats, int(self.video_encoding_size / self.num_feats))
att_weight = att_weight.contiguous().view(x.size(0), x.size(1))
return x * att_weight
class PositionalEncoding(nn.Module):
def __init__(self, d_model, dropout=0.1, max_len=5000):
super(PositionalEncoding, self).__init__()
self.dropout = nn.Dropout(p=dropout)
pe = torch.zeros(max_len, d_model)
position = torch.arange(0, max_len, dtype=torch.float).unsqueeze(1)
div_term = torch.exp(torch.arange(0, d_model, 2).float() * (-math.log(10000.0) / d_model))
pe[:, 0::2] = torch.sin(position * div_term)
pe[:, 1::2] = torch.cos(position * div_term)
pe = pe.unsqueeze(0).transpose(0, 1)
self.register_buffer('pe', pe)
def forward(self, x):
x = x + self.pe[:x.size(0), :]
return self.dropout(x)
class GeneralModel(nn.Module):
"""
A general model which does it all
"""
def __init__(self, opt):
super(GeneralModel, self).__init__()
self.vocab_size = opt.vocab_size
self.bfeat_dims = opt.bfeat_dims
self.feat_dims = opt.feat_dims
self.num_feats = len(self.feat_dims)
self.input_features = opt.input_features
self.grounder_type = opt.grounder_type
self.captioner_type = opt.captioner_type
self.textual_encoding_size = opt.input_encoding_size
self.visual_encoding_size = opt.input_encoding_size
self.drop_prob_lm = opt.drop_prob_lm
self.caption_length = opt.seq_length
self.seq_per_img = opt.train_seq_per_img
self.model_type = opt.model_type
self.bos_index = 1 # index of the <bos> token
self.ss_prob = 0
self.mixer_from = 0
self.attention_record = list()
self.feat_expander = FeatExpander(self.seq_per_img)
opt.video_encoding_size = self.visual_encoding_size
self.embed = nn.Embedding(self.vocab_size, self.textual_encoding_size) # word embedding layer (1-hot -> enc)
self.logit = nn.Linear(self.textual_encoding_size, self.vocab_size) # logit embedding layer (enc -> vocab enc)
self.dropout = nn.Dropout(self.drop_prob_lm)
## INITIALISE INPUT FEATURE ENCODERS
self.feat_enc = list()
for in_dim in self.feat_dims:
self.feat_enc.append(nn.Sequential(nn.Linear(in_dim, self.visual_encoding_size), nn.ReLU(), nn.Dropout(self.drop_prob_lm)))
self.feat_enc = nn.ModuleList(self.feat_enc)
self.rf_encoder = nn.Sequential(nn.Linear(1024, self.visual_encoding_size-4), nn.ReLU(), nn.Dropout(self.drop_prob_lm))
self.rb_encoder = nn.Sequential(nn.Linear(4, 4), nn.ReLU(), nn.Dropout(self.drop_prob_lm))
## INITIALISE ATTENTION BASED SECONDARY INPUT FEATURES ENCODER MODULE
self.input_encoder_layers = opt.input_encoder_layers
self.input_encoder_heads = opt.input_encoder_heads
self.input_encoder_size = opt.input_encoder_size
self.concept_encoder = None
if self.input_encoder_layers > 0:
concept_encoder_layer = nn.TransformerEncoderLayer(d_model=self.visual_encoding_size,
nhead=self.input_encoder_heads,
dim_feedforward=self.input_encoder_size,
dropout=self.drop_prob_lm)
self.concept_encoder = nn.TransformerEncoder(concept_encoder_layer, num_layers=self.input_encoder_layers)
## INITIALISE GROUNDING MODULE
self.gt_concepts_while_training = opt.gt_concepts_while_training
self.gt_concepts_while_testing = opt.gt_concepts_while_testing
self.num_concepts = opt.num_concepts
self.grounder_layers = opt.grounder_layers
self.grounder_heads = opt.grounder_heads
self.grounder_size = opt.grounder_size
if self.grounder_type in ['niuc']:
# non-iterative
self.feat_pool_q = nn.Sequential(nn.Linear(self.visual_encoding_size, self.visual_encoding_size), nn.ReLU(), nn.Dropout(self.drop_prob_lm))
self.feat_pool_k = nn.Sequential(nn.Linear(self.visual_encoding_size, self.visual_encoding_size), nn.ReLU(), nn.Dropout(self.drop_prob_lm))
self.feat_pool_v = nn.Sequential(nn.Linear(self.visual_encoding_size, self.visual_encoding_size), nn.ReLU(), nn.Dropout(self.drop_prob_lm))
if self.grounder_layers == 1:
self.feed_forward = nn.Sequential(nn.Linear(self.visual_encoding_size, self.textual_encoding_size), nn.ReLU(), nn.Dropout(self.drop_prob_lm))
else:
self.feed_forward = nn.ModuleList()
self.feed_forward.append(nn.Linear(self.visual_encoding_size, self.grounder_size))
self.feed_forward.append(nn.ReLU())
self.feed_forward.append(nn.Dropout(self.drop_prob_lm))
for _ in range(self.grounder_layers-2):
self.feed_forward.append(nn.Linear(self.visual_encoding_size, self.grounder_size))
self.feed_forward.append(nn.ReLU())
self.feed_forward.append(nn.Dropout(self.drop_prob_lm))
self.feed_forward.append(nn.Linear(self.grounder_size, self.textual_encoding_size))
self.feed_forward.append(nn.ReLU())
self.feed_forward.append(nn.Dropout(self.drop_prob_lm))
elif self.grounder_type in ['nioc']:
self.feat_pool_q = nn.Sequential(nn.Linear(self.visual_encoding_size, self.visual_encoding_size), nn.ReLU(), nn.Dropout(self.drop_prob_lm))
self.feat_pool_k = nn.Sequential(nn.Linear(self.visual_encoding_size, self.visual_encoding_size), nn.ReLU(), nn.Dropout(self.drop_prob_lm))
self.feat_pool_v = nn.Sequential(nn.Linear(self.visual_encoding_size, self.visual_encoding_size), nn.ReLU(), nn.Dropout(self.drop_prob_lm))
self.encoders = list()
for _ in range(self.num_concepts):
self.encoders.append(nn.Sequential(nn.Linear(self.visual_encoding_size, self.visual_encoding_size), nn.ReLU(), nn.Dropout(self.drop_prob_lm)))
self.encoders = nn.ModuleList(self.encoders).cuda()
elif self.grounder_type in ['iuc', 'ioc']:
self.concept_pos_encoder = PositionalEncoding(self.textual_encoding_size, dropout=self.drop_prob_lm, max_len=self.num_concepts+1)
# iterative
concept_decoder_layer = nn.TransformerDecoderLayer(d_model=self.visual_encoding_size, nhead=self.grounder_heads,
dim_feedforward=self.grounder_size, dropout=self.drop_prob_lm)
self.concept_decoder = nn.TransformerDecoder(concept_decoder_layer, num_layers=self.grounder_layers)
## INITIALISE CAPTIONER
self.captioner_size = opt.captioner_size
self.captioner_layers = opt.captioner_layers
self.captioner_heads = opt.captioner_heads
if self.captioner_type in ['transformer']: # Transformer Caption Decoder
# encode word positions
self.pos_encoder = PositionalEncoding(self.textual_encoding_size, dropout=self.drop_prob_lm, max_len=self.caption_length)
# The transformer
caption_decoder_layer = nn.TransformerDecoderLayer(d_model=self.visual_encoding_size, nhead=self.captioner_heads,
dim_feedforward=self.captioner_size, dropout=self.drop_prob_lm)
self.caption_decoder = nn.TransformerDecoder(caption_decoder_layer, num_layers=self.captioner_layers)
elif self.captioner_type in ['rnn', 'lstm', 'gru']: # RNN Caption Decoder
# feature attention layers
self.v2a_layer = nn.Linear(self.visual_encoding_size, opt.att_size)
self.h2a_layer = nn.Linear(self.captioner_size, opt.att_size)
self.att_layer = nn.Linear(opt.att_size, 1)
# The RNN
self.core = RNNUnit(opt) # the caption generation rnn LSTM(512) with input size 2048
def set_ss_prob(self, p):
self.ss_prob = p
def set_mixer_from(self, t):
"""Set values of mixer_from
if mixer_from > 0 then start MIXER training
i.e:
from t = 0 -> t = mixer_from -1: use XE training
from t = mixer_from -> end: use RL training
"""
self.mixer_from = t
def set_seq_per_img(self, x):
self.seq_per_img = x
self.feat_expander.set_n(x)
def init_weights(self):
initrange = 0.1
self.embed.weight.data.uniform_(-initrange, initrange)
self.logit.bias.data.fill_(0)
self.logit.weight.data.uniform_(-initrange, initrange)
def init_hidden(self, batch_size):
weight = next(self.parameters()).data
if self.captioner_type == 'lstm':
return (Variable(weight.new(self.captioner_layers, batch_size, self.captioner_size).zero_()),
Variable(weight.new(self.captioner_layers, batch_size, self.captioner_size).zero_()))
else:
return Variable(weight.new(self.captioner_layers, batch_size, self.captioner_size).zero_())
def non_iterative_grounder(self, feats):
# embed the features for grounding attention
q_feats = self.feat_pool_q(feats[:, 0:1]) # use img feat as query
k_feats = self.feat_pool_k(feats)
v_feats = self.feat_pool_v(feats)
# use the query and key encodings to calculate self-attention weights
att = torch.matmul(q_feats, k_feats.transpose(1, 2)) / math.sqrt(q_feats.shape[-1])
att = F.softmax(att, dim=-1)
# # record the attention weights, used for visualisation purposes
# att_rec = att.data.cpu().numpy()
# self.attention_record = [np.mean(att_rec[i], axis=0) for i in range(len(att_rec))]
# apply the attention
feats_ = torch.matmul(att, v_feats)
# encode the features
feats_ = self.feed_forward(feats_)
# encode the features to concept-vocab size and sigmoid
scores = self.logit(feats_).squeeze(1)
concept_probs = F.sigmoid(scores)
top_v, top_i = torch.topk(concept_probs, k=self.num_concepts) # get the top preds
mask = top_v > .5 # mask threshold
top_emb = self.embed(top_i)
concept_idxs = top_i
concept_probs = concept_probs.unsqueeze(1).repeat(1, self.num_concepts, 1) # repeat so it is the right shape
return concept_probs, concept_idxs
def non_iterative_grounder_multistage(self, feats, gt_concepts, self_att=True):
if self_att:
# embed the features for grounding attention
q_feats = self.feat_pool_q(feats)
k_feats = self.feat_pool_k(feats)
v_feats = self.feat_pool_v(feats)
# use the query and key encodings to calculate self-attention weights
att = torch.matmul(q_feats, k_feats.transpose(1, 2)) / math.sqrt(q_feats.shape[-1])
att = F.softmax(att, dim=-1)
# # record the attention weights, used for visualisation purposes
# att_rec = att.data.cpu().numpy()
# self.attention_record = [np.mean(att_rec[i], axis=0) for i in range(len(att_rec))]
# apply the attention
feats = torch.matmul(att, v_feats)
# gt_concepts = torch.reshape(gt_concepts, (feats.shape[0], self.seq_per_img, -1))[:, 0]
pred_outs = list()
pred_its = list()
query = feats[:, 0:1] # initial attention query is image feature
for i in range(self.num_concepts):
att = torch.matmul(query, feats.transpose(1, 2)) / math.sqrt(query.shape[-1])
att = F.softmax(att, -1)
att_feat = torch.matmul(att, feats)
hidden = self.encoders[i](att_feat)
# encode to logits and apply softmax to get word probabilities
out = F.log_softmax(self.logit(hidden), dim=-1)
pred_outs.append(out)
# argmax the subject
it = F.softmax(self.logit(hidden), dim=-1).argmax(-1)
pred_its.append(it)
if self.training and gt_concepts is not None:
query = self.embed(gt_concepts[:, i]).unsqueeze(1)
else:
query = self.embed(it.squeeze(1)).unsqueeze(1)
return torch.cat(pred_outs, dim=1), torch.cat(pred_its, dim=1)
def iterative_grounder(self, feats, gt_concepts):
feats = feats.permute(1, 0, 2)
if self.training and gt_concepts is not None:
gt_concepts = F.pad(gt_concepts, (1, 0, 0, 0), "constant", self.bos_index)
gt_concepts = gt_concepts[:, :-1]
concept_embeddings = self.embed(gt_concepts)
concept_embeddings = concept_embeddings.permute(1, 0, 2) # change to (time, batch, channel)
tgt_mask = nn.Transformer.generate_square_subsequent_mask(None, self.num_concepts).cuda()
tgt_key_padding_mask = (gt_concepts == 0) # create padding mask
if self.concept_pos_encoder is not None:
concept_embeddings = self.concept_pos_encoder(concept_embeddings)
out = self.concept_decoder(concept_embeddings, feats, tgt_mask=tgt_mask, tgt_key_padding_mask=tgt_key_padding_mask) # out is target shp
out = out.permute(1, 0, 2) # change back to (batch, concepts, channels)
concept_idxs = F.softmax(self.logit(out), dim=-1).argmax(-1)
concept_probs = F.log_softmax(self.logit(out), dim=-1)
concept_probs_sigmoid = F.sigmoid(self.logit(out))
else: # auto-regressive prediction at inference
concept_probs = torch.zeros((feats.size(1), self.num_concepts, self.vocab_size)).cuda()
concept_probs_sigmoid = torch.zeros((feats.size(1), self.num_concepts, self.vocab_size)).cuda()
concept_idxs = torch.zeros((feats.size(1), self.num_concepts), dtype=torch.long).cuda()
concept_idxs = F.pad(concept_idxs, (1, 0, 0, 0), "constant", self.bos_index)
for i in range(1, self.num_concepts+1):
decoder_input = self.embed(concept_idxs[:, :i])
tgt_mask = nn.Transformer.generate_square_subsequent_mask(None, i).cuda()
decoder_input = decoder_input.permute(1, 0, 2)
if self.concept_pos_encoder is not None:
decoder_input = self.concept_pos_encoder(decoder_input) # add positional encoding
decoder_output = self.concept_decoder(decoder_input, feats, tgt_mask=tgt_mask)
concept_idxs[:, i] = F.softmax(self.logit(decoder_output[-1]), dim=-1).argmax(-1)
concept_probs[:, i - 1] = F.log_softmax(self.logit(decoder_output[-1]), dim=-1)
concept_probs_sigmoid[:, i - 1] = F.sigmoid(self.logit(decoder_output[-1]))
concept_idxs = concept_idxs[:, 1:] # remove '<bos>'
if self.grounder_type in ['iuc']:
concept_probs = torch.max(concept_probs_sigmoid, dim=1)[0] # use max pred confs
concept_probs = concept_probs.unsqueeze(1).repeat(1, self.num_concepts, 1) # repeat so it is the right shape
return concept_probs, concept_idxs
def captioner_transformer(self, encoded_features, gt_caption):
encoded_features = encoded_features.permute(1, 0, 2) # change to (time, batch, channel)
caption_embeddings = self.embed(gt_caption) # emb indexs -> embeddings
caption_embeddings = caption_embeddings.permute(1, 0, 2) # change to (time, batch, channel)
caption_embeddings = self.pos_encoder(caption_embeddings) # add positional encoding
tgt_mask = nn.Transformer.generate_square_subsequent_mask(None, gt_caption.size(-1)).cuda() # create sequence mask
tgt_key_padding_mask = (gt_caption == 0) # create padding mask
# Run the decoder
out = self.caption_decoder(caption_embeddings,
encoded_features,
tgt_mask=tgt_mask,
tgt_key_padding_mask=tgt_key_padding_mask)
out = out[:-1].permute(1, 0, 2) # remove the last token and change back to (batch, concepts, channels)
caption_probs = F.log_softmax(self.logit(self.dropout(out)), dim=-1) # calc word probs
caption_seq = F.softmax(self.logit(out), dim=-1).argmax(-1) # get best word indexs
caption_seq = gt_caption[:, 1:] # get gt caption (minus the BOS token)
return caption_probs, caption_seq
def captioner_rnn(self, encoded_features, gt_caption):
batch_size = encoded_features.size(0)
self.captioner_type = 'lstm'
state = self.init_hidden(batch_size)
outputs = []
sample_seq = []
sample_logprobs = []
# -- if <image feature> is input at the first step, use index -1
# -- the <eos> token is not used for training
start_i = -1 if self.model_type == 'standard' else 0
end_i = gt_caption.size(1) - 1
for token_idx in range(start_i, end_i):
if token_idx == -1: # initially set xt as global feats
xt = encoded_features
else:
# token_idx = 0 corresponding to the <BOS> token
# (already encoded in seq)
if self.training and token_idx >= 1 and self.ss_prob > 0.0:
sample_prob = encoded_features.data.new(batch_size).uniform_(0, 1)
sample_mask = sample_prob < self.ss_prob
if sample_mask.sum() == 0:
it = gt_caption[:, token_idx].clone()
else:
sample_ind = sample_mask.nonzero().view(-1)
it = gt_caption[:, token_idx].data.clone()
# fetch prev distribution: shape Nx(M+1)
prob_prev = torch.exp(outputs[-1].data)
sample_ind_tokens = torch.multinomial(prob_prev, 1).view(-1).index_select(0, sample_ind)
it.index_copy_(0, sample_ind, sample_ind_tokens)
it = Variable(it, requires_grad=False)
elif self.training and self.mixer_from > 0 and token_idx >= self.mixer_from:
prob_prev = torch.exp(outputs[-1].data)
it = torch.multinomial(prob_prev, 1).view(-1)
it = Variable(it, requires_grad=False)
else:
it = gt_caption[:, token_idx].clone()
if token_idx >= 1:
# store the seq and its logprobs
sample_seq.append(it.data)
logprobs = outputs[-1].gather(1, it.unsqueeze(1))
sample_logprobs.append(logprobs.view(-1))
# break if all the sequences end, which requires EOS token = 0
if it.data.sum() == 0:
break
# set the new input word
xt = self.embed(it)
# calculate attention over visual features based on visual feats
if self.captioner_layers > 1:
hid_cont = state[0][-1].unsqueeze(0).transpose(0, 1).expand(batch_size, encoded_features.shape[1], state[0].shape[2]) # (bs * seq_per_img, 1, 512)
elif self.captioner_type in ['gru']:
hid_cont = state.transpose(0, 1).expand(batch_size, encoded_features.shape[1], state.shape[2]) # (bs * seq_per_img, 1, 512)
else:
hid_cont = state[0].transpose(0, 1).expand(batch_size, encoded_features.shape[1], state[0].shape[2]) # (bs * seq_per_img, 1, 512)
alpha = self.att_layer(torch.tanh(self.v2a_layer(encoded_features) + self.h2a_layer(hid_cont))) # (bs * seq_per_img, 2, 1)
alpha = F.softmax(alpha, dim=1).transpose(1, 2) # (bs * seq_per_img, 1, 2)
att_encoded_features = torch.matmul(alpha, encoded_features).squeeze(1)
# generate next word
if self.model_type == 'standard':
output, state = self.core(xt, state)
else:
if self.model_type == 'manet':
encoded_features = self.manet(att_encoded_features, state[0])
output, state = self.core(torch.cat([xt, att_encoded_features], 1), state)
# generate the word softmax
if token_idx >= 0:
output = F.log_softmax(self.logit(self.dropout(output)), dim=1)
outputs.append(output)
# only returns outputs of seq input
# output size is: B x L x V (where L is truncated lengths
# which are different for different batch)
return torch.cat([_.unsqueeze(1) for _ in outputs], 1), torch.cat([_.unsqueeze(1) for _ in sample_seq], 1)
def feature_filtering(self, feats, bfeats, gt_concepts=None, expand=False):
feats_enc = list()
for i, feat in enumerate(feats):
feats_enc.append(self.feat_enc[i](feat))
rf_enc = self.rf_encoder(bfeats[0])
rb_enc = self.rb_encoder(bfeats[1])
r_enc = torch.cat((rf_enc, rb_enc), dim=-1)
encoded_features = torch.cat(feats_enc + [r_enc], dim=1)
# only use a certain group of features
if not self.input_features == 'imrc':
encoded_features_pass = list()
if 'i' in self.input_features:
encoded_features_pass.append(encoded_features[:, 0:1, :])
if 'm' in self.input_features:
encoded_features_pass.append(encoded_features[:, 1:2, :])
if 'r' in self.input_features:
encoded_features_pass.append(encoded_features[:, -10:, :])
if 'c' in self.input_features and encoded_features.shape[1] == 13:
encoded_features_pass.append(encoded_features[:, 2:3, :])
encoded_features = torch.cat(encoded_features_pass, dim=1)
#### ENCODER ####
if self.concept_encoder is not None:
encoded_features = self.concept_encoder(encoded_features.permute(1, 0, 2)).permute(1, 0, 2)
#### END ENCODER ####
#### GROUNDER ####
concept_probs = None
concept_seq = None
if self.grounder_type in ['niuc', 'nioc', 'iuc', 'ioc']:
if expand:
encoded_features = self.feat_expander(encoded_features)
if self.grounder_type in ['niuc']:
concept_probs, concept_seq = self.non_iterative_grounder(encoded_features)
elif self.grounder_type in ['nioc']:
concept_probs, concept_seq = self.non_iterative_grounder_multistage(encoded_features, gt_concepts)
elif self.grounder_type in ['iuc', 'ioc']:
concept_probs, concept_seq = self.iterative_grounder(encoded_features, gt_concepts)
else:
raise NotImplementedError
try:
if gt_concepts is not None and ((self.gt_concepts_while_training and self.training) or self.gt_concepts_while_testing): # use gt concepts for cap gen
if self.gt_concepts_while_testing:
gt_concepts = torch.reshape(gt_concepts, (feats[0].shape[0], self.seq_per_img, -1))[:, 0]
concept_seq = gt_concepts
encoded_features = torch.cat((encoded_features, self.embed(gt_concepts)), dim=1)
else: # dont use gt for cap gen
encoded_features = torch.cat((encoded_features, self.embed(concept_seq)), dim=1)
except RuntimeError:
print()
#### END GROUNDER ####
return encoded_features, concept_probs, concept_seq
def forward(self, feats, bfeats, gt_caption, gt_concepts):
encoded_features, concept_probs, concept_seq = self.feature_filtering(feats, bfeats, gt_concepts, expand=True)
if self.captioner_type in ['transformer']: # Captioner - Transformer
caption_probs, caption_seq = self.captioner_transformer(encoded_features, gt_caption)
else: # Captioner - RNN
caption_probs, caption_seq = self.captioner_rnn(encoded_features, gt_caption)
# output size is: B x L x V (where L is truncated lengths
# which are different for different batch)
if concept_probs is not None:
return caption_probs, caption_seq, caption_probs.gather(2, caption_seq.unsqueeze(2)).squeeze(2), \
concept_probs, concept_seq, concept_probs.gather(2, concept_seq.unsqueeze(2)).squeeze(2)
else:
return caption_probs, caption_seq, caption_probs.gather(2, caption_seq.unsqueeze(2)).squeeze(2), \
None, None, None
def sample(self, feats, bfeats, gt_concepts, opt={}):
beam_size = opt.get('beam_size', 1)
encoded_features, concept_probs, concept_seq = self.feature_filtering(feats, bfeats, gt_concepts)
if beam_size > 1:
return ((*self.sample_beam(encoded_features, opt)), concept_probs, concept_seq)
else:
return NotImplementedError
def sample_beam(self, encoded_features, opt={}):
"""
modified from https://github.com/ruotianluo/self-critical.pytorch
"""
beam_size = opt.get('beam_size', 5)
batch_size = encoded_features.size(0)
seq = torch.LongTensor(self.caption_length, batch_size).zero_()
seqLogprobs = torch.FloatTensor(self.caption_length, batch_size)
# lets process every image independently for now, for simplicity
self.done_beams = [[] for _ in range(batch_size)]
state = [] # will be empty list for transformer decoder
for k in range(batch_size):
if self.captioner_type in ['rnn', 'lstm', 'gru']:
state = self.init_hidden(beam_size)
encoded_features_k = encoded_features[k].expand(beam_size, encoded_features.size(1), self.visual_encoding_size)
beam_seq = torch.LongTensor(self.caption_length, beam_size).zero_()
beam_seq_logprobs = torch.FloatTensor(self.caption_length, beam_size).zero_()
# running sum of logprobs for each beam
beam_logprobs_sum = torch.zeros(beam_size)
# -- if <image feature> is input at the first step, use index -1
start_i = -1 if self.model_type == 'standard' else 0
end_i = self.caption_length - 1
its = torch.LongTensor(self.caption_length, beam_size).zero_().cuda() #TODO TRAN ONLY
for token_idx in range(start_i, end_i):
if token_idx == 0: # input <bos>
it = encoded_features.data.new(beam_size).long().fill_(self.bos_index) # [1,1,1,1,1]
its[token_idx] = it #TODO TRAN ONLY
# xt = self.embed(Variable(it, requires_grad=False)) # TODO RNN ONLY
else:
"""perform a beam merge. that is,
for every previous beam we now many new possibilities to branch out
we need to resort our beams to maintain the loop invariant of keeping
the top beam_size most likely sequences."""
logprobsf = logprobs.float() # lets go to CPU for more efficiency in indexing operations
# sorted array of logprobs along each previous beam (last
# true = descending)
ys, ix = torch.sort(logprobsf, 1, True)
candidates = []
cols = min(beam_size, ys.size(1))
rows = beam_size
if token_idx == 1: # at first time step only the first beam is active
rows = 1
for c in range(cols):
for q in range(rows):
# compute logprob of expanding beam q with word in
# (sorted) position c
local_logprob = ys[q, c]
candidate_logprob = beam_logprobs_sum[q] + local_logprob
candidates.append(
{'c': ix.data[q, c], 'q': q, 'p': candidate_logprob.item(), 'r': local_logprob.item()})
candidates = sorted(candidates, key=lambda x: -x['p'])
# construct new
new_state = [_.clone() for _ in state] ###########TODO RNN ONLY
if token_idx > 1:
# well need these as reference when we fork beams
# around
beam_seq_prev = beam_seq[:token_idx - 1].clone()
beam_seq_logprobs_prev = beam_seq_logprobs[:token_idx - 1].clone()
for vix in range(beam_size):
v = candidates[vix]
# fork beam index q into index vix
if token_idx > 1:
beam_seq[:token_idx - 1, vix] = beam_seq_prev[:, v['q']]
beam_seq_logprobs[:token_idx - 1, vix] = beam_seq_logprobs_prev[:, v['q']]
# rearrange recurrent states # TODO BLOCK RNN ONLY
for state_ix in range(len(new_state)):
# copy over state in previous beam q to new beam at
# vix
new_state[state_ix][
0, vix] = state[state_ix][
0, v['q']] # dimension one is time step
# append new end terminal at the end of this beam
# c'th word is the continuation
beam_seq[token_idx - 1, vix] = v['c']
beam_seq_logprobs[token_idx - 1, vix] = v['r'] # the raw logprob here
# the new (sum) logprob along this beam
beam_logprobs_sum[vix] = v['p']
if v['c'] == 0 or token_idx == self.caption_length - 2:
# END token special case here, or we reached the end.
# add the beam to a set of done beams
if token_idx > 1:
ppl = np.exp(-beam_logprobs_sum[vix] / (token_idx - 1))
else:
ppl = 10000
self.done_beams[k].append({'seq': beam_seq[:, vix].clone(),
'logps': beam_seq_logprobs[:, vix].clone(),
'p': beam_logprobs_sum[vix],
'ppl': ppl
})
# encode as vectors
it = Variable(beam_seq[token_idx - 1].cuda())
its[token_idx] = it # TODO TRAN ONLY
if self.captioner_type in ['transformer']:
encoded_features_k = encoded_features_k.permute(1, 0, 2) # change to (time, batch, channel)
decoder_input = self.embed(its[:token_idx+1])
tgt_mask = nn.Transformer.generate_square_subsequent_mask(None, token_idx + 1).cuda()
decoder_input = self.pos_encoder(decoder_input) # add positional encoding
decoder_output = self.caption_decoder(decoder_input, encoded_features_k, tgt_mask=tgt_mask)
output = decoder_output[-1]
else:
# set the new input word
xt = self.embed(it)
# calculate attention over visual features based on visual feats
if self.captioner_layers > 1:
hid_cont = state[0][-1].unsqueeze(0).transpose(0, 1).expand(beam_size, encoded_features_k.shape[1], state[0].shape[2])
elif self.captioner_type in ['gru']:
hid_cont = state.transpose(0, 1).expand(beam_size, encoded_features_k.shape[1], state.shape[2])
else:
hid_cont = state[0].transpose(0, 1).expand(beam_size, encoded_features_k.shape[1], state[0].shape[2])
alpha = self.att_layer(torch.tanh(self.v2a_layer(encoded_features_k) + self.h2a_layer(hid_cont)))
alpha = F.softmax(alpha, dim=1).transpose(1, 2)
att_encoded_features = torch.matmul(alpha, encoded_features_k).squeeze(1)
if token_idx >= 1:
state = new_state
if self.captioner_type in ['gru']:
state = new_state[0].unsqueeze(0)
if self.model_type == 'standard':
output, state = self.core(xt, state)
else:
if self.model_type == 'manet':
encoded_features_k = self.manet(att_encoded_features, state[0])
output, state = self.core(torch.cat([xt, att_encoded_features], 1), state)
logprobs = F.log_softmax(self.logit(output), dim=1)
self.done_beams[k] = sorted(self.done_beams[k], key=lambda x: x['ppl'])
# the first beam has highest cumulative score
seq[:, k] = self.done_beams[k][0]['seq']
seqLogprobs[:, k] = self.done_beams[k][0]['logps']
return seq.transpose(0, 1), seqLogprobs.transpose(0, 1)
class GeneralModelDecoupled(nn.Module):
"""
A general model which does it all
"""
def __init__(self, opt):
super(GeneralModelDecoupled, self).__init__()
self.vocab_size = opt.vocab_size
self.bfeat_dims = opt.bfeat_dims
self.feat_dims = opt.feat_dims
self.num_feats = len(self.feat_dims)
self.input_features = opt.input_features
self.decouple = opt.decouple
self.grounder_type = opt.grounder_type
self.captioner_type = opt.captioner_type
self.textual_encoding_size = opt.input_encoding_size
self.visual_encoding_size = opt.input_encoding_size
self.drop_prob_lm = opt.drop_prob_lm
self.caption_length = opt.seq_length
self.seq_per_img = opt.train_seq_per_img
self.model_type = opt.model_type
self.bos_index = 1 # index of the <bos> token
self.ss_prob = 0
self.mixer_from = 0
self.attention_record = list()
self.feat_expander = FeatExpander(self.seq_per_img)
opt.video_encoding_size = self.visual_encoding_size
self.embed = nn.Embedding(self.vocab_size, self.textual_encoding_size) # word embedding layer (1-hot -> enc)
self.logit = nn.Linear(self.textual_encoding_size, self.vocab_size) # logit embedding layer (enc -> vocab enc)
self.dropout = nn.Dropout(self.drop_prob_lm)
## INITIALISE INPUT FEATURE ENCODERS
self.feat_enc = list()
for in_dim in self.feat_dims:
self.feat_enc.append(nn.Sequential(nn.Linear(in_dim, self.visual_encoding_size), nn.ReLU(), nn.Dropout(self.drop_prob_lm)))
self.feat_enc = nn.ModuleList(self.feat_enc)
self.rf_encoder = nn.Sequential(nn.Linear(1024, self.visual_encoding_size-4), nn.ReLU(), nn.Dropout(self.drop_prob_lm))
self.rb_encoder = nn.Sequential(nn.Linear(4, 4), nn.ReLU(), nn.Dropout(self.drop_prob_lm))
## INITIALISE ATTENTION BASED SECONDARY INPUT FEATURES ENCODER MODULE
self.input_encoder_layers = opt.input_encoder_layers
self.input_encoder_heads = opt.input_encoder_heads
self.input_encoder_size = opt.input_encoder_size
self.concept_encoder = None
if self.input_encoder_layers > 0:
concept_encoder_layer = nn.TransformerEncoderLayer(d_model=self.visual_encoding_size,
nhead=self.input_encoder_heads,
dim_feedforward=self.input_encoder_size,
dropout=self.drop_prob_lm)
self.concept_encoder = nn.TransformerEncoder(concept_encoder_layer, num_layers=self.input_encoder_layers)
## INITIALISE GROUNDING MODULE
self.gt_concepts_while_training = opt.gt_concepts_while_training
self.gt_concepts_while_testing = opt.gt_concepts_while_testing
self.num_concepts = opt.num_concepts
self.grounder_layers = opt.grounder_layers
self.grounder_heads = opt.grounder_heads
self.grounder_size = opt.grounder_size
if self.grounder_type in ['niuc']:
# non-iterative
self.feat_pool_q = nn.Sequential(nn.Linear(self.visual_encoding_size, self.visual_encoding_size), nn.ReLU(), nn.Dropout(self.drop_prob_lm))
self.feat_pool_k = nn.Sequential(nn.Linear(self.visual_encoding_size, self.visual_encoding_size), nn.ReLU(), nn.Dropout(self.drop_prob_lm))
self.feat_pool_v = nn.Sequential(nn.Linear(self.visual_encoding_size, self.visual_encoding_size), nn.ReLU(), nn.Dropout(self.drop_prob_lm))
if self.grounder_layers == 1:
self.feed_forward = nn.Sequential(nn.Linear(self.visual_encoding_size, self.textual_encoding_size), nn.ReLU(), nn.Dropout(self.drop_prob_lm))
else:
self.feed_forward = nn.ModuleList()
self.feed_forward.append(nn.Linear(self.visual_encoding_size, self.grounder_size))
self.feed_forward.append(nn.ReLU())
self.feed_forward.append(nn.Dropout(self.drop_prob_lm))
for _ in range(self.grounder_layers-2):
self.feed_forward.append(nn.Linear(self.visual_encoding_size, self.grounder_size))
self.feed_forward.append(nn.ReLU())
self.feed_forward.append(nn.Dropout(self.drop_prob_lm))
self.feed_forward.append(nn.Linear(self.grounder_size, self.textual_encoding_size))
self.feed_forward.append(nn.ReLU())
self.feed_forward.append(nn.Dropout(self.drop_prob_lm))
elif self.grounder_type in ['nioc']:
self.feat_pool_q = nn.Sequential(nn.Linear(self.visual_encoding_size, self.visual_encoding_size), nn.ReLU(), nn.Dropout(self.drop_prob_lm))
self.feat_pool_k = nn.Sequential(nn.Linear(self.visual_encoding_size, self.visual_encoding_size), nn.ReLU(), nn.Dropout(self.drop_prob_lm))
self.feat_pool_v = nn.Sequential(nn.Linear(self.visual_encoding_size, self.visual_encoding_size), nn.ReLU(), nn.Dropout(self.drop_prob_lm))
self.encoders = list()
for _ in range(self.num_concepts):
self.encoders.append(nn.Sequential(nn.Linear(self.visual_encoding_size, self.visual_encoding_size), nn.ReLU(), nn.Dropout(self.drop_prob_lm)))
self.encoders = nn.ModuleList(self.encoders).cuda()
elif self.grounder_type in ['iuc', 'ioc']:
self.concept_pos_encoder = PositionalEncoding(self.textual_encoding_size, dropout=self.drop_prob_lm, max_len=self.num_concepts+1)
# iterative
concept_decoder_layer = nn.TransformerDecoderLayer(d_model=self.visual_encoding_size, nhead=self.grounder_heads,
dim_feedforward=self.grounder_size, dropout=self.drop_prob_lm)
self.concept_decoder = nn.TransformerDecoder(concept_decoder_layer, num_layers=self.grounder_layers)
## INITIALISE CAPTIONER
self.captioner_size = opt.captioner_size
self.captioner_layers = opt.captioner_layers
self.captioner_heads = opt.captioner_heads
if self.captioner_type in ['transformer']: # Transformer Caption Decoder
# encode word positions
self.pos_encoder = PositionalEncoding(self.textual_encoding_size, dropout=self.drop_prob_lm, max_len=self.caption_length)
# The transformer
caption_decoder_layer = nn.TransformerDecoderLayer(d_model=self.visual_encoding_size, nhead=self.captioner_heads,
dim_feedforward=self.captioner_size, dropout=self.drop_prob_lm)
self.caption_decoder = nn.TransformerDecoder(caption_decoder_layer, num_layers=self.captioner_layers)
if self.decouple:
caption_decoder_layer_text = nn.TransformerDecoderLayer(d_model=self.textual_encoding_size, nhead=self.captioner_heads,
dim_feedforward=self.captioner_size, dropout=self.drop_prob_lm)
self.caption_decoder_text = nn.TransformerDecoder(caption_decoder_layer_text, num_layers=self.captioner_layers)
elif self.captioner_type in ['rnn', 'lstm', 'gru']: # RNN Caption Decoder
# feature attention layers
if self.decouple:
self.t2a_layer = nn.Linear(self.textual_encoding_size, opt.att_size)
self.ht2a_layer = nn.Linear(self.captioner_size, opt.att_size)
self.tatt_layer = nn.Linear(opt.att_size, 1)
self.v2a_layer = nn.Linear(self.visual_encoding_size, opt.att_size)
self.hv2a_layer = nn.Linear(self.captioner_size, opt.att_size)
self.vatt_layer = nn.Linear(opt.att_size, 1)
# The RNN
self.core = RNNUnit(opt) # the caption generation rnn LSTM(512) with input size 2048
def set_ss_prob(self, p):
self.ss_prob = p
def set_mixer_from(self, t):
"""Set values of mixer_from
if mixer_from > 0 then start MIXER training
i.e:
from t = 0 -> t = mixer_from -1: use XE training
from t = mixer_from -> end: use RL training
"""
self.mixer_from = t
def set_seq_per_img(self, x):
self.seq_per_img = x
self.feat_expander.set_n(x)
def init_weights(self):
initrange = 0.1
self.embed.weight.data.uniform_(-initrange, initrange)
self.logit.bias.data.fill_(0)
self.logit.weight.data.uniform_(-initrange, initrange)
def init_hidden(self, batch_size):
weight = next(self.parameters()).data
if self.captioner_type == 'lstm':
return (Variable(weight.new(self.captioner_layers, batch_size, self.captioner_size).zero_()),
Variable(weight.new(self.captioner_layers, batch_size, self.captioner_size).zero_()))
else:
return Variable(weight.new(self.captioner_layers, batch_size, self.captioner_size).zero_())
def non_iterative_grounder(self, feats):
# embed the features for grounding attention
q_feats = self.feat_pool_q(feats[:, 0:1]) # use img feat as query
k_feats = self.feat_pool_k(feats)
v_feats = self.feat_pool_v(feats)
# use the query and key encodings to calculate self-attention weights
att = torch.matmul(q_feats, k_feats.transpose(1, 2)) / math.sqrt(q_feats.shape[-1])
att = F.softmax(att, dim=-1)
# # record the attention weights, used for visualisation purposes
# att_rec = att.data.cpu().numpy()
# self.attention_record = [np.mean(att_rec[i], axis=0) for i in range(len(att_rec))]
# apply the attention
feats_ = torch.matmul(att, v_feats)
# encode the features
feats_ = self.feed_forward(feats_)
# encode the features to concept-vocab size and sigmoid
scores = self.logit(feats_).squeeze(1)
concept_probs = F.sigmoid(scores)
top_v, top_i = torch.topk(concept_probs, k=self.num_concepts) # get the top preds
mask = top_v > .5 # mask threshold
top_emb = self.embed(top_i)
concept_idxs = top_i
concept_probs = concept_probs.unsqueeze(1).repeat(1, self.num_concepts, 1) # repeat so it is the right shape
return concept_probs, concept_idxs
def non_iterative_grounder_multistage(self, feats, gt_concepts, self_att=True):
if self_att:
# embed the features for grounding attention
q_feats = self.feat_pool_q(feats)
k_feats = self.feat_pool_k(feats)
v_feats = self.feat_pool_v(feats)
# use the query and key encodings to calculate self-attention weights
att = torch.matmul(q_feats, k_feats.transpose(1, 2)) / math.sqrt(q_feats.shape[-1])
att = F.softmax(att, dim=-1)
# # record the attention weights, used for visualisation purposes
# att_rec = att.data.cpu().numpy()
# self.attention_record = [np.mean(att_rec[i], axis=0) for i in range(len(att_rec))]
# apply the attention
feats = torch.matmul(att, v_feats)
# gt_concepts = torch.reshape(gt_concepts, (feats.shape[0], self.seq_per_img, -1))[:, 0]
pred_outs = list()
pred_its = list()
query = feats[:, 0:1] # initial attention query is image feature
for i in range(self.num_concepts):
att = torch.matmul(query, feats.transpose(1, 2)) / math.sqrt(query.shape[-1])
att = F.softmax(att, -1)
att_feat = torch.matmul(att, feats)
hidden = self.encoders[i](att_feat)
# encode to logits and apply softmax to get word probabilities
out = F.log_softmax(self.logit(hidden), dim=-1)
pred_outs.append(out)
# argmax the subject
it = F.softmax(self.logit(hidden), dim=-1).argmax(-1)
pred_its.append(it)
if self.training and gt_concepts is not None:
query = self.embed(gt_concepts[:, i]).unsqueeze(1)
else:
query = self.embed(it.squeeze(1)).unsqueeze(1)
return torch.cat(pred_outs, dim=1), torch.cat(pred_its, dim=1)
def iterative_grounder(self, feats, gt_concepts):
feats = feats.permute(1, 0, 2)
if self.training and gt_concepts is not None:
gt_concepts = F.pad(gt_concepts, (1, 0, 0, 0), "constant", self.bos_index)
gt_concepts = gt_concepts[:, :-1]
concept_embeddings = self.embed(gt_concepts)
concept_embeddings = concept_embeddings.permute(1, 0, 2) # change to (time, batch, channel)
tgt_mask = nn.Transformer.generate_square_subsequent_mask(None, self.num_concepts).cuda()
tgt_key_padding_mask = (gt_concepts == 0) # create padding mask
if self.concept_pos_encoder is not None:
concept_embeddings = self.concept_pos_encoder(concept_embeddings)
out = self.concept_decoder(concept_embeddings, feats, tgt_mask=tgt_mask, tgt_key_padding_mask=tgt_key_padding_mask) # out is target shp
out = out.permute(1, 0, 2) # change back to (batch, concepts, channels)
concept_idxs = F.softmax(self.logit(out), dim=-1).argmax(-1)
concept_probs = F.log_softmax(self.logit(out), dim=-1)
concept_probs_sigmoid = F.sigmoid(self.logit(out))
else: # auto-regressive prediction at inference
concept_probs = torch.zeros((feats.size(1), self.num_concepts, self.vocab_size)).cuda()
concept_probs_sigmoid = torch.zeros((feats.size(1), self.num_concepts, self.vocab_size)).cuda()
concept_idxs = torch.zeros((feats.size(1), self.num_concepts), dtype=torch.long).cuda()
concept_idxs = F.pad(concept_idxs, (1, 0, 0, 0), "constant", self.bos_index)
for i in range(1, self.num_concepts+1):
decoder_input = self.embed(concept_idxs[:, :i])
tgt_mask = nn.Transformer.generate_square_subsequent_mask(None, i).cuda()
decoder_input = decoder_input.permute(1, 0, 2)
if self.concept_pos_encoder is not None:
decoder_input = self.concept_pos_encoder(decoder_input) # add positional encoding
decoder_output = self.concept_decoder(decoder_input, feats, tgt_mask=tgt_mask)
concept_idxs[:, i] = F.softmax(self.logit(decoder_output[-1]), dim=-1).argmax(-1)
concept_probs[:, i - 1] = F.log_softmax(self.logit(decoder_output[-1]), dim=-1)
concept_probs_sigmoid[:, i - 1] = F.sigmoid(self.logit(decoder_output[-1]))
concept_idxs = concept_idxs[:, 1:] # remove '<bos>'
if self.grounder_type in ['iuc']:
concept_probs = torch.max(concept_probs_sigmoid, dim=1)[0] # use max pred confs
concept_probs = concept_probs.unsqueeze(1).repeat(1, self.num_concepts, 1) # repeat so it is the right shape
return concept_probs, concept_idxs
def captioner_transformer(self, encoded_features, gt_caption):
if self.decouple:
encoded_features = [feat.permute(1, 0, 2) for feat in encoded_features]
else:
encoded_features = encoded_features.permute(1, 0, 2)
caption_embeddings = self.embed(gt_caption) # emb indexs -> embeddings
caption_embeddings = caption_embeddings.permute(1, 0, 2) # change to (time, batch, channel)
caption_embeddings = self.pos_encoder(caption_embeddings) # add positional encoding
tgt_mask = nn.Transformer.generate_square_subsequent_mask(None, gt_caption.size(-1)).cuda() # create sequence mask
tgt_key_padding_mask = (gt_caption == 0) # create padding mask
# Run the decoder
if self.decouple:
caption_embeddings_text = self.caption_decoder_text(caption_embeddings, encoded_features[1],
tgt_mask=tgt_mask,
tgt_key_padding_mask=tgt_key_padding_mask)
caption_embeddings_text = self.pos_encoder(caption_embeddings_text) # add positional encoding
out = self.caption_decoder(caption_embeddings_text, encoded_features[0],
tgt_mask=tgt_mask,
tgt_key_padding_mask=tgt_key_padding_mask)
else:
out = self.caption_decoder(caption_embeddings, encoded_features,
tgt_mask=tgt_mask,
tgt_key_padding_mask=tgt_key_padding_mask)
out = out[:-1].permute(1, 0, 2) # remove the last token and change back to (batch, concepts, channels)
caption_probs = F.log_softmax(self.logit(self.dropout(out)), dim=-1) # calc word probs
caption_seq = F.softmax(self.logit(out), dim=-1).argmax(-1) # get best word indexs
caption_seq = gt_caption[:, 1:] # get gt caption (minus the BOS token)
return caption_probs, caption_seq
def captioner_rnn(self, encoded_features, gt_caption):
if self.decouple:
batch_size = encoded_features[0].size(0)
else:
batch_size = encoded_features.size(0)
self.captioner_type = 'lstm'
state = self.init_hidden(batch_size)
outputs = []
sample_seq = []
sample_logprobs = []
# -- if <image feature> is input at the first step, use index -1
# -- the <eos> token is not used for training
start_i = -1 if self.model_type == 'standard' else 0
end_i = gt_caption.size(1) - 1
for token_idx in range(start_i, end_i):
if token_idx == -1: # initially set xt as global feats
if self.decouple:
xt = encoded_features[0]
else:
xt = encoded_features
else:
# token_idx = 0 corresponding to the <BOS> token
# (already encoded in seq)
if self.training and token_idx >= 1 and self.ss_prob > 0.0:
sample_prob = encoded_features.data.new(batch_size).uniform_(0, 1)
sample_mask = sample_prob < self.ss_prob
if sample_mask.sum() == 0:
it = gt_caption[:, token_idx].clone()
else:
sample_ind = sample_mask.nonzero().view(-1)
it = gt_caption[:, token_idx].data.clone()
# fetch prev distribution: shape Nx(M+1)
prob_prev = torch.exp(outputs[-1].data)
sample_ind_tokens = torch.multinomial(prob_prev, 1).view(-1).index_select(0, sample_ind)
it.index_copy_(0, sample_ind, sample_ind_tokens)
it = Variable(it, requires_grad=False)
elif self.training and self.mixer_from > 0 and token_idx >= self.mixer_from:
prob_prev = torch.exp(outputs[-1].data)
it = torch.multinomial(prob_prev, 1).view(-1)
it = Variable(it, requires_grad=False)
else:
it = gt_caption[:, token_idx].clone()
if token_idx >= 1:
# store the seq and its logprobs
sample_seq.append(it.data)
logprobs = outputs[-1].gather(1, it.unsqueeze(1))
sample_logprobs.append(logprobs.view(-1))
# break if all the sequences end, which requires EOS token = 0
if it.data.sum() == 0:
break
if self.decouple:
xt = torch.cat((encoded_features[1], self.embed(it).unsqueeze(1)), 1) # concat the concepts and prev word
else:
# set the new input word
xt = self.embed(it)
# calculate attention over visual features based on visual feats
if self.decouple:
if self.captioner_layers > 1:
hid_cont_t = state[0][-1].unsqueeze(0).transpose(0, 1).expand(batch_size, self.num_concepts + 1, state[0].shape[2]) # (bs * seq_per_img, 1, 512)
elif self.captioner_type in ['gru']:
hid_cont_t = state.transpose(0, 1).expand(batch_size, self.num_concepts + 1, state.shape[2]) # (bs * seq_per_img, 1, 512)
else:
hid_cont_t = state[0].transpose(0, 1).expand(batch_size, self.num_concepts + 1, state[0].shape[2]) # (bs * seq_per_img, 1, 512)
if self.captioner_layers > 1:
hid_cont_v = state[0][-1].unsqueeze(0).transpose(0, 1).expand(batch_size, encoded_features[0].shape[1], state[0].shape[2]) # (bs * seq_per_img, 1, 512)
elif self.captioner_type in ['gru']:
hid_cont_v = state.transpose(0, 1).expand(batch_size, encoded_features[0].shape[1], state.shape[2]) # (bs * seq_per_img, 1, 512)
else:
hid_cont_v = state[0].transpose(0, 1).expand(batch_size, encoded_features[0].shape[1], state[0].shape[2]) # (bs * seq_per_img, 1, 512)
else:
if self.captioner_layers > 1:
hid_cont_v = state[0][-1].unsqueeze(0).transpose(0, 1).expand(batch_size, encoded_features.shape[1], state[0].shape[2]) # (bs * seq_per_img, 1, 512)
elif self.captioner_type in ['gru']:
hid_cont_v = state.transpose(0, 1).expand(batch_size, encoded_features.shape[1], state.shape[2]) # (bs * seq_per_img, 1, 512)
else:
hid_cont_v = state[0].transpose(0, 1).expand(batch_size, encoded_features.shape[1], state[0].shape[2]) # (bs * seq_per_img, 1, 512)
if self.decouple:
alpha = self.tatt_layer(torch.tanh(self.t2a_layer(xt) + self.ht2a_layer(hid_cont_t))) # (bs * seq_per_img, 2, 1)
alpha = F.softmax(alpha, dim=1).transpose(1, 2) # (bs * seq_per_img, 1, 2)
xt = torch.matmul(alpha, xt).squeeze(1)
alpha = self.vatt_layer(torch.tanh(self.v2a_layer(encoded_features[0]) + self.hv2a_layer(hid_cont_v))) # (bs * seq_per_img, 2, 1)
alpha = F.softmax(alpha, dim=1).transpose(1, 2) # (bs * seq_per_img, 1, 2)
xtv = torch.matmul(alpha, encoded_features[0]).squeeze(1)
else:
alpha = self.vatt_layer(torch.tanh(self.v2a_layer(encoded_features) + self.hv2a_layer(hid_cont_v))) # (bs * seq_per_img, 2, 1)
alpha = F.softmax(alpha, dim=1).transpose(1, 2) # (bs * seq_per_img, 1, 2)
att_encoded_features = torch.matmul(alpha, encoded_features).squeeze(1)
# generate next word
if self.model_type == 'standard':
output, state = self.core(xt, state)
else:
if self.decouple:
if self.model_type == 'manet':
encoded_features[0] = self.manet(encoded_features[0], state[0])
output, state = self.core(torch.cat([xt, xtv], 1), state)
else:
if self.model_type == 'manet':
encoded_features = self.manet(att_encoded_features, state[0])
output, state = self.core(torch.cat([xt, att_encoded_features], 1), state)
# generate the word softmax
if token_idx >= 0:
output = F.log_softmax(self.logit(self.dropout(output)), dim=1)
outputs.append(output)
# only returns outputs of seq input
# output size is: B x L x V (where L is truncated lengths
# which are different for different batch)
return torch.cat([_.unsqueeze(1) for _ in outputs], 1), torch.cat([_.unsqueeze(1) for _ in sample_seq], 1)
def feature_filtering(self, feats, bfeats, gt_concepts=None, expand=False):
feats_enc = list()
for i, feat in enumerate(feats):
feats_enc.append(self.feat_enc[i](feat))
rf_enc = self.rf_encoder(bfeats[0])
rb_enc = self.rb_encoder(bfeats[1])
r_enc = torch.cat((rf_enc, rb_enc), dim=-1)
encoded_features = torch.cat(feats_enc + [r_enc], dim=1)
# only use a certain group of features
if not self.input_features == 'imrc':
encoded_features_pass = list()
if 'i' in self.input_features:
encoded_features_pass.append(encoded_features[:, 0:1, :])
if 'm' in self.input_features:
encoded_features_pass.append(encoded_features[:, 1:2, :])
if 'r' in self.input_features:
encoded_features_pass.append(encoded_features[:, -10:, :])
if 'c' in self.input_features and encoded_features.shape[1] == 13:
encoded_features_pass.append(encoded_features[:, 2:3, :])
encoded_features = torch.cat(encoded_features_pass, dim=1)
#### ENCODER ####
if self.concept_encoder is not None:
encoded_features = self.concept_encoder(encoded_features.permute(1, 0, 2)).permute(1, 0, 2)
#### END ENCODER ####
#### GROUNDER ####
concept_probs = None
concept_seq = None
if self.grounder_type in ['niuc', 'nioc', 'iuc', 'ioc']:
if expand:
encoded_features = self.feat_expander(encoded_features)
if self.grounder_type in ['niuc']:
concept_probs, concept_seq = self.non_iterative_grounder(encoded_features)
elif self.grounder_type in ['nioc']:
concept_probs, concept_seq = self.non_iterative_grounder_multistage(encoded_features, gt_concepts)
elif self.grounder_type in ['iuc', 'ioc']:
concept_probs, concept_seq = self.iterative_grounder(encoded_features, gt_concepts)
else:
raise NotImplementedError
if self.decouple:
if gt_concepts is not None and ((self.gt_concepts_while_training and self.training) or self.gt_concepts_while_testing): # use gt concepts for cap gen
if self.gt_concepts_while_testing:
gt_concepts = torch.reshape(gt_concepts, (feats[0].shape[0], self.seq_per_img, -1))[:, 0]
concept_seq = gt_concepts
encoded_features = [encoded_features, self.embed(gt_concepts)]
else: # dont use gt for cap gen
encoded_features = [encoded_features, self.embed(concept_seq)]
else:
if gt_concepts is not None and ((self.gt_concepts_while_training and self.training) or self.gt_concepts_while_testing): # use gt concepts for cap gen
if self.gt_concepts_while_testing:
gt_concepts = torch.reshape(gt_concepts, (feats[0].shape[0], self.seq_per_img, -1))[:, 0]
concept_seq = gt_concepts
encoded_features = torch.cat((encoded_features, self.embed(gt_concepts)), dim=1)
else: # dont use gt for cap gen
encoded_features = torch.cat((encoded_features, self.embed(concept_seq)), dim=1)
#### END GROUNDER ####
return encoded_features, concept_probs, concept_seq
def forward(self, feats, bfeats, gt_caption, gt_concepts):
encoded_features, concept_probs, concept_seq = self.feature_filtering(feats, bfeats, gt_concepts, expand=True)
if self.captioner_type in ['transformer']: # Captioner - Transformer
caption_probs, caption_seq = self.captioner_transformer(encoded_features, gt_caption)
else: # Captioner - RNN
caption_probs, caption_seq = self.captioner_rnn(encoded_features, gt_caption)
# output size is: B x L x V (where L is truncated lengths
# which are different for different batch)
if concept_probs is not None:
return caption_probs, caption_seq, caption_probs.gather(2, caption_seq.unsqueeze(2)).squeeze(2), \
concept_probs, concept_seq, concept_probs.gather(2, concept_seq.unsqueeze(2)).squeeze(2)
else:
return caption_probs, caption_seq, caption_probs.gather(2, caption_seq.unsqueeze(2)).squeeze(2), \
None, None, None
def sample(self, feats, bfeats, gt_concepts, opt={}):
beam_size = opt.get('beam_size', 1)
encoded_features, concept_probs, concept_seq = self.feature_filtering(feats, bfeats, gt_concepts)
if beam_size > 1:
return ((*self.sample_beam(encoded_features, opt)), concept_probs, concept_seq)
else:
return NotImplementedError
def sample_beam(self, encoded_features, opt={}):
"""
modified from https://github.com/ruotianluo/self-critical.pytorch
"""
beam_size = opt.get('beam_size', 5)
if self.decouple:
batch_size = encoded_features[0].size(0)
else:
batch_size = encoded_features.size(0)
seq = torch.LongTensor(self.caption_length, batch_size).zero_()
seqLogprobs = torch.FloatTensor(self.caption_length, batch_size)
# lets process every image independently for now, for simplicity
self.done_beams = [[] for _ in range(batch_size)]
state = [] # will be empty list for transformer decoder
for k in range(batch_size):
if self.captioner_type in ['rnn', 'lstm', 'gru']:
state = self.init_hidden(beam_size)
if self.decouple:
visual_features_k = encoded_features[0][k].expand(beam_size, encoded_features[0].size(1), self.visual_encoding_size)
concept_features_k = encoded_features[1][k].expand(beam_size, encoded_features[1].size(1), self.textual_encoding_size)
else:
encoded_features_k = encoded_features[k].expand(beam_size, encoded_features.size(1), self.visual_encoding_size)
beam_seq = torch.LongTensor(self.caption_length, beam_size).zero_()
beam_seq_logprobs = torch.FloatTensor(self.caption_length, beam_size).zero_()
# running sum of logprobs for each beam
beam_logprobs_sum = torch.zeros(beam_size)
# -- if <image feature> is input at the first step, use index -1
start_i = -1 if self.model_type == 'standard' else 0
end_i = self.caption_length - 1
its = torch.LongTensor(self.caption_length, beam_size).zero_().cuda() #TODO TRAN ONLY
for token_idx in range(start_i, end_i):
if token_idx == 0: # input <bos>
if self.decouple:
it = encoded_features[0].data.new(beam_size).long().fill_(self.bos_index) # [1,1,1,1,1]
else:
it = encoded_features.data.new(beam_size).long().fill_(self.bos_index) # [1,1,1,1,1]
its[token_idx] = it #TODO TRAN ONLY
# xt = self.embed(Variable(it, requires_grad=False)) # TODO RNN ONLY
else:
"""perform a beam merge. that is,
for every previous beam we now many new possibilities to branch out
we need to resort our beams to maintain the loop invariant of keeping
the top beam_size most likely sequences."""
logprobsf = logprobs.float() # lets go to CPU for more efficiency in indexing operations
# sorted array of logprobs along each previous beam (last
# true = descending)
ys, ix = torch.sort(logprobsf, 1, True)
candidates = []
cols = min(beam_size, ys.size(1))
rows = beam_size
if token_idx == 1: # at first time step only the first beam is active
rows = 1
for c in range(cols):
for q in range(rows):
# compute logprob of expanding beam q with word in
# (sorted) position c
local_logprob = ys[q, c]
candidate_logprob = beam_logprobs_sum[q] + local_logprob
candidates.append(
{'c': ix.data[q, c], 'q': q, 'p': candidate_logprob.item(), 'r': local_logprob.item()})
candidates = sorted(candidates, key=lambda x: -x['p'])
# construct new
new_state = [_.clone() for _ in state] ###########TODO RNN ONLY
if token_idx > 1:
# well need these as reference when we fork beams
# around
beam_seq_prev = beam_seq[:token_idx - 1].clone()
beam_seq_logprobs_prev = beam_seq_logprobs[:token_idx - 1].clone()
for vix in range(beam_size):
v = candidates[vix]
# fork beam index q into index vix
if token_idx > 1:
beam_seq[:token_idx - 1, vix] = beam_seq_prev[:, v['q']]
beam_seq_logprobs[:token_idx - 1, vix] = beam_seq_logprobs_prev[:, v['q']]
# rearrange recurrent states # TODO BLOCK RNN ONLY
for state_ix in range(len(new_state)):
# copy over state in previous beam q to new beam at
# vix
new_state[state_ix][
0, vix] = state[state_ix][
0, v['q']] # dimension one is time step
# append new end terminal at the end of this beam
# c'th word is the continuation
beam_seq[token_idx - 1, vix] = v['c']
beam_seq_logprobs[token_idx - 1, vix] = v['r'] # the raw logprob here
# the new (sum) logprob along this beam
beam_logprobs_sum[vix] = v['p']
if v['c'] == 0 or token_idx == self.caption_length - 2:
# END token special case here, or we reached the end.
# add the beam to a set of done beams
if token_idx > 1:
ppl = np.exp(-beam_logprobs_sum[vix] / (token_idx - 1))
else:
ppl = 10000
self.done_beams[k].append({'seq': beam_seq[:, vix].clone(),
'logps': beam_seq_logprobs[:, vix].clone(),
'p': beam_logprobs_sum[vix],
'ppl': ppl
})
# encode as vectors
it = Variable(beam_seq[token_idx - 1].cuda())
its[token_idx] = it # TODO TRAN ONLY
if self.captioner_type in ['transformer']:
if self.decouple:
visual_features_k = visual_features_k.permute(1, 0, 2) # change to (time, batch, channel)
concept_features_k = concept_features_k.permute(1, 0, 2) # change to (time, batch, channel)
decoder_input = self.embed(its[:token_idx+1])
tgt_mask = nn.Transformer.generate_square_subsequent_mask(None, token_idx + 1).cuda()
decoder_input = self.pos_encoder(decoder_input) # add positional encoding
decoder_output_text = self.caption_decoder_text(decoder_input, concept_features_k, tgt_mask=tgt_mask)
decoder_output_text = self.pos_encoder(decoder_output_text) # add positional encoding
decoder_output = self.caption_decoder(decoder_output_text, visual_features_k, tgt_mask=tgt_mask)
else:
encoded_features_k = encoded_features_k.permute(1, 0, 2) # change to (time, batch, channel)
decoder_input = self.embed(its[:token_idx+1])
tgt_mask = nn.Transformer.generate_square_subsequent_mask(None, token_idx + 1).cuda()
decoder_input = self.pos_encoder(decoder_input) # add positional encoding
decoder_output = self.caption_decoder(decoder_input, encoded_features_k, tgt_mask=tgt_mask)
output = decoder_output[-1]
else:
if self.decouple:
xt = torch.cat((concept_features_k, self.embed(it).unsqueeze(1)), 1) # concat the concepts and prev word
else:
# set the new input word
xt = self.embed(it)
if self.decouple:
if self.captioner_layers > 1:
hid_cont_t = state[0][-1].unsqueeze(0).transpose(0, 1).expand(beam_size, self.num_concepts + 1, state[0].shape[2]) # (bs * seq_per_img, 1, 512)
elif self.captioner_type in ['gru']:
hid_cont_t = state.transpose(0, 1).expand(beam_size, self.num_concepts + 1, state.shape[2]) # (bs * seq_per_img, 1, 512)
else:
hid_cont_t = state[0].transpose(0, 1).expand(beam_size, self.num_concepts + 1, state[0].shape[2]) # (bs * seq_per_img, 1, 512)
if self.captioner_layers > 1:
hid_cont_v = state[0][-1].unsqueeze(0).transpose(0, 1).expand(beam_size, visual_features_k.shape[1], state[0].shape[2]) # (bs * seq_per_img, 1, 512)
elif self.captioner_type in ['gru']:
hid_cont_v = state.transpose(0, 1).expand(beam_size, visual_features_k.shape[1], state.shape[2]) # (bs * seq_per_img, 1, 512)
else:
hid_cont_v = state[0].transpose(0, 1).expand(beam_size, visual_features_k.shape[1], state[0].shape[2]) # (bs * seq_per_img, 1, 512)
else:
if self.captioner_layers > 1:
hid_cont_v = state[0][-1].unsqueeze(0).transpose(0, 1).expand(beam_size, encoded_features_k.shape[1], state[0].shape[2]) # (bs * seq_per_img, 1, 512)
elif self.captioner_type in ['gru']:
hid_cont_v = state.transpose(0, 1).expand(beam_size, encoded_features_k.shape[1], state.shape[2]) # (bs * seq_per_img, 1, 512)
else:
hid_cont_v = state[0].transpose(0, 1).expand(beam_size, encoded_features_k.shape[1], state[0].shape[2]) # (bs * seq_per_img, 1, 512)
if self.decouple:
alpha = self.tatt_layer(torch.tanh(self.t2a_layer(xt) + self.ht2a_layer(hid_cont_t))) # (bs * seq_per_img, 2, 1)
alpha = F.softmax(alpha, dim=1).transpose(1, 2) # (bs * seq_per_img, 1, 2)
xt = torch.matmul(alpha, xt).squeeze(1)
alpha = self.vatt_layer(torch.tanh(self.v2a_layer(visual_features_k) + self.hv2a_layer(hid_cont_v))) # (bs * seq_per_img, 2, 1)
alpha = F.softmax(alpha, dim=1).transpose(1, 2) # (bs * seq_per_img, 1, 2)
xtv = torch.matmul(alpha, visual_features_k).squeeze(1)
else:
alpha = self.vatt_layer(torch.tanh(self.v2a_layer(encoded_features_k) + self.hv2a_layer(hid_cont_v))) # (bs * seq_per_img, 2, 1)
alpha = F.softmax(alpha, dim=1).transpose(1, 2) # (bs * seq_per_img, 1, 2)
att_encoded_features_k = torch.matmul(alpha, encoded_features_k).squeeze(1)
if token_idx >= 1:
state = new_state
if self.captioner_type in ['gru']:
state = new_state[0].unsqueeze(0)
if self.model_type == 'standard':
output, state = self.core(xt, state)
else:
if self.decouple:
if self.model_type == 'manet':
visual_features_k = self.manet(xtv, state[0])
output, state = self.core(torch.cat([xt, xtv], 1), state)
else:
if self.model_type == 'manet':
encoded_features_k = self.manet(att_encoded_features_k, state[0])
output, state = self.core(torch.cat([xt, att_encoded_features_k], 1), state)
logprobs = F.log_softmax(self.logit(output), dim=1)
self.done_beams[k] = sorted(self.done_beams[k], key=lambda x: x['ppl'])
# the first beam has highest cumulative score
seq[:, k] = self.done_beams[k][0]['seq']
seqLogprobs[:, k] = self.done_beams[k][0]['logps']
return seq.transpose(0, 1), seqLogprobs.transpose(0, 1)
| 52.948852
| 178
| 0.588975
| 10,275
| 80,747
| 4.39747
| 0.047299
| 0.051124
| 0.021114
| 0.025806
| 0.930971
| 0.9184
| 0.90625
| 0.901558
| 0.89857
| 0.895428
| 0
| 0.0172
| 0.308061
| 80,747
| 1,524
| 179
| 52.983596
| 0.791506
| 0.117515
| 0
| 0.831481
| 0
| 0
| 0.007358
| 0
| 0
| 0
| 0
| 0.002625
| 0
| 0
| null | null | 0.011111
| 0.005556
| null | null | 0.000926
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
13f224e8d35e3196c72ae716d029671aa09f3a11
| 38
|
py
|
Python
|
mlaut/resampling/__init__.py
|
vishalbelsare/mlaut
|
a3bd4b2591c3144d100f413f6c4c2231392103e5
|
[
"BSD-3-Clause"
] | 23
|
2019-01-14T15:12:32.000Z
|
2022-03-31T12:23:34.000Z
|
mlaut/resampling/__init__.py
|
vishalbelsare/mlaut
|
a3bd4b2591c3144d100f413f6c4c2231392103e5
|
[
"BSD-3-Clause"
] | 11
|
2019-01-23T13:39:20.000Z
|
2020-04-17T13:25:27.000Z
|
mlaut/resampling/__init__.py
|
vishalbelsare/mlaut
|
a3bd4b2591c3144d100f413f6c4c2231392103e5
|
[
"BSD-3-Clause"
] | 4
|
2019-01-07T20:46:40.000Z
|
2022-03-25T00:00:00.000Z
|
from .single_split import Single_Split
| 38
| 38
| 0.894737
| 6
| 38
| 5.333333
| 0.666667
| 0.6875
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.078947
| 38
| 1
| 38
| 38
| 0.914286
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 1
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
13f5c769a9802bde121b78f61c72e2c7488d035d
| 110,078
|
py
|
Python
|
google/appengine/api/memcache/memcache_service_pb.py
|
vladushakov987/appengine_python3
|
0dd481c73e2537a50ee10f1b79cd65938087e555
|
[
"Apache-2.0"
] | null | null | null |
google/appengine/api/memcache/memcache_service_pb.py
|
vladushakov987/appengine_python3
|
0dd481c73e2537a50ee10f1b79cd65938087e555
|
[
"Apache-2.0"
] | null | null | null |
google/appengine/api/memcache/memcache_service_pb.py
|
vladushakov987/appengine_python3
|
0dd481c73e2537a50ee10f1b79cd65938087e555
|
[
"Apache-2.0"
] | null | null | null |
#!/usr/bin/env python
#
# Copyright 2007 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
from future import standard_library
standard_library.install_aliases()
from builtins import zip
from builtins import range
from google.net.proto import ProtocolBuffer
import array
import six.moves._dummy_thread as thread
from six.moves import range
from six.moves import zip
__pychecker__ = """maxreturns=0 maxbranches=0 no-callinit
unusednames=printElemNumber,debug_strs no-special"""
if hasattr(ProtocolBuffer, 'ExtendableProtocolMessage'):
_extension_runtime = True
_ExtendableProtocolMessage = ProtocolBuffer.ExtendableProtocolMessage
else:
_extension_runtime = False
_ExtendableProtocolMessage = ProtocolBuffer.ProtocolMessage
class MemcacheServiceError(ProtocolBuffer.ProtocolMessage):
OK = 0
UNSPECIFIED_ERROR = 1
NAMESPACE_NOT_SET = 2
PERMISSION_DENIED = 3
INVALID_VALUE = 6
UNAVAILABLE = 9
_ErrorCode_NAMES = {
0: "OK",
1: "UNSPECIFIED_ERROR",
2: "NAMESPACE_NOT_SET",
3: "PERMISSION_DENIED",
6: "INVALID_VALUE",
9: "UNAVAILABLE",
}
def ErrorCode_Name(cls, x): return cls._ErrorCode_NAMES.get(x, "")
ErrorCode_Name = classmethod(ErrorCode_Name)
def __init__(self, contents=None):
pass
if contents is not None: self.MergeFromString(contents)
def MergeFrom(self, x):
assert x is not self
def Equals(self, x):
if x is self: return 1
return 1
def IsInitialized(self, debug_strs=None):
initialized = 1
return initialized
def ByteSize(self):
n = 0
return n
def ByteSizePartial(self):
n = 0
return n
def Clear(self):
pass
def OutputUnchecked(self, out):
pass
def OutputPartial(self, out):
pass
def TryMerge(self, d):
while d.avail() > 0:
tt = d.getVarInt32()
if (tt == 0): raise ProtocolBuffer.ProtocolBufferDecodeError
d.skipData(tt)
def __str__(self, prefix="", printElemNumber=0):
res=""
return res
def _BuildTagLookupTable(sparse, maxtag, default=None):
return tuple([sparse.get(i, default) for i in range(0, 1+maxtag)])
_TEXT = _BuildTagLookupTable({
0: "ErrorCode",
}, 0)
_TYPES = _BuildTagLookupTable({
0: ProtocolBuffer.Encoder.NUMERIC,
}, 0, ProtocolBuffer.Encoder.MAX_TYPE)
_STYLE = """"""
_STYLE_CONTENT_TYPE = """"""
_PROTO_DESCRIPTOR_NAME = 'apphosting.MemcacheServiceError'
class AppOverride(ProtocolBuffer.ProtocolMessage):
has_app_id_ = 0
app_id_ = ""
has_num_memcacheg_backends_ = 0
num_memcacheg_backends_ = 0
has_ignore_shardlock_ = 0
ignore_shardlock_ = 0
has_memcache_pool_hint_ = 0
memcache_pool_hint_ = ""
has_memcache_sharding_strategy_ = 0
memcache_sharding_strategy_ = ""
def __init__(self, contents=None):
if contents is not None: self.MergeFromString(contents)
def app_id(self): return self.app_id_
def set_app_id(self, x):
self.has_app_id_ = 1
self.app_id_ = x
def clear_app_id(self):
if self.has_app_id_:
self.has_app_id_ = 0
self.app_id_ = ""
def has_app_id(self): return self.has_app_id_
def num_memcacheg_backends(self): return self.num_memcacheg_backends_
def set_num_memcacheg_backends(self, x):
self.has_num_memcacheg_backends_ = 1
self.num_memcacheg_backends_ = x
def clear_num_memcacheg_backends(self):
if self.has_num_memcacheg_backends_:
self.has_num_memcacheg_backends_ = 0
self.num_memcacheg_backends_ = 0
def has_num_memcacheg_backends(self): return self.has_num_memcacheg_backends_
def ignore_shardlock(self): return self.ignore_shardlock_
def set_ignore_shardlock(self, x):
self.has_ignore_shardlock_ = 1
self.ignore_shardlock_ = x
def clear_ignore_shardlock(self):
if self.has_ignore_shardlock_:
self.has_ignore_shardlock_ = 0
self.ignore_shardlock_ = 0
def has_ignore_shardlock(self): return self.has_ignore_shardlock_
def memcache_pool_hint(self): return self.memcache_pool_hint_
def set_memcache_pool_hint(self, x):
self.has_memcache_pool_hint_ = 1
self.memcache_pool_hint_ = x
def clear_memcache_pool_hint(self):
if self.has_memcache_pool_hint_:
self.has_memcache_pool_hint_ = 0
self.memcache_pool_hint_ = ""
def has_memcache_pool_hint(self): return self.has_memcache_pool_hint_
def memcache_sharding_strategy(self): return self.memcache_sharding_strategy_
def set_memcache_sharding_strategy(self, x):
self.has_memcache_sharding_strategy_ = 1
self.memcache_sharding_strategy_ = x
def clear_memcache_sharding_strategy(self):
if self.has_memcache_sharding_strategy_:
self.has_memcache_sharding_strategy_ = 0
self.memcache_sharding_strategy_ = ""
def has_memcache_sharding_strategy(self): return self.has_memcache_sharding_strategy_
def MergeFrom(self, x):
assert x is not self
if (x.has_app_id()): self.set_app_id(x.app_id())
if (x.has_num_memcacheg_backends()): self.set_num_memcacheg_backends(x.num_memcacheg_backends())
if (x.has_ignore_shardlock()): self.set_ignore_shardlock(x.ignore_shardlock())
if (x.has_memcache_pool_hint()): self.set_memcache_pool_hint(x.memcache_pool_hint())
if (x.has_memcache_sharding_strategy()): self.set_memcache_sharding_strategy(x.memcache_sharding_strategy())
def Equals(self, x):
if x is self: return 1
if self.has_app_id_ != x.has_app_id_: return 0
if self.has_app_id_ and self.app_id_ != x.app_id_: return 0
if self.has_num_memcacheg_backends_ != x.has_num_memcacheg_backends_: return 0
if self.has_num_memcacheg_backends_ and self.num_memcacheg_backends_ != x.num_memcacheg_backends_: return 0
if self.has_ignore_shardlock_ != x.has_ignore_shardlock_: return 0
if self.has_ignore_shardlock_ and self.ignore_shardlock_ != x.ignore_shardlock_: return 0
if self.has_memcache_pool_hint_ != x.has_memcache_pool_hint_: return 0
if self.has_memcache_pool_hint_ and self.memcache_pool_hint_ != x.memcache_pool_hint_: return 0
if self.has_memcache_sharding_strategy_ != x.has_memcache_sharding_strategy_: return 0
if self.has_memcache_sharding_strategy_ and self.memcache_sharding_strategy_ != x.memcache_sharding_strategy_: return 0
return 1
def IsInitialized(self, debug_strs=None):
initialized = 1
if (not self.has_app_id_):
initialized = 0
if debug_strs is not None:
debug_strs.append('Required field: app_id not set.')
return initialized
def ByteSize(self):
n = 0
n += self.lengthString(len(self.app_id_))
if (self.has_num_memcacheg_backends_): n += 1 + self.lengthVarInt64(self.num_memcacheg_backends_)
if (self.has_ignore_shardlock_): n += 2
if (self.has_memcache_pool_hint_): n += 1 + self.lengthString(len(self.memcache_pool_hint_))
if (self.has_memcache_sharding_strategy_): n += 1 + self.lengthString(len(self.memcache_sharding_strategy_))
return n + 1
def ByteSizePartial(self):
n = 0
if (self.has_app_id_):
n += 1
n += self.lengthString(len(self.app_id_))
if (self.has_num_memcacheg_backends_): n += 1 + self.lengthVarInt64(self.num_memcacheg_backends_)
if (self.has_ignore_shardlock_): n += 2
if (self.has_memcache_pool_hint_): n += 1 + self.lengthString(len(self.memcache_pool_hint_))
if (self.has_memcache_sharding_strategy_): n += 1 + self.lengthString(len(self.memcache_sharding_strategy_))
return n
def Clear(self):
self.clear_app_id()
self.clear_num_memcacheg_backends()
self.clear_ignore_shardlock()
self.clear_memcache_pool_hint()
self.clear_memcache_sharding_strategy()
def OutputUnchecked(self, out):
out.putVarInt32(10)
out.putPrefixedString(self.app_id_)
if (self.has_num_memcacheg_backends_):
out.putVarInt32(16)
out.putVarInt32(self.num_memcacheg_backends_)
if (self.has_ignore_shardlock_):
out.putVarInt32(24)
out.putBoolean(self.ignore_shardlock_)
if (self.has_memcache_pool_hint_):
out.putVarInt32(34)
out.putPrefixedString(self.memcache_pool_hint_)
if (self.has_memcache_sharding_strategy_):
out.putVarInt32(42)
out.putPrefixedString(self.memcache_sharding_strategy_)
def OutputPartial(self, out):
if (self.has_app_id_):
out.putVarInt32(10)
out.putPrefixedString(self.app_id_)
if (self.has_num_memcacheg_backends_):
out.putVarInt32(16)
out.putVarInt32(self.num_memcacheg_backends_)
if (self.has_ignore_shardlock_):
out.putVarInt32(24)
out.putBoolean(self.ignore_shardlock_)
if (self.has_memcache_pool_hint_):
out.putVarInt32(34)
out.putPrefixedString(self.memcache_pool_hint_)
if (self.has_memcache_sharding_strategy_):
out.putVarInt32(42)
out.putPrefixedString(self.memcache_sharding_strategy_)
def TryMerge(self, d):
while d.avail() > 0:
tt = d.getVarInt32()
if tt == 10:
self.set_app_id(d.getPrefixedString())
continue
if tt == 16:
self.set_num_memcacheg_backends(d.getVarInt32())
continue
if tt == 24:
self.set_ignore_shardlock(d.getBoolean())
continue
if tt == 34:
self.set_memcache_pool_hint(d.getPrefixedString())
continue
if tt == 42:
self.set_memcache_sharding_strategy(d.getPrefixedString())
continue
if (tt == 0): raise ProtocolBuffer.ProtocolBufferDecodeError
d.skipData(tt)
def __str__(self, prefix="", printElemNumber=0):
res=""
if self.has_app_id_: res+=prefix+("app_id: %s\n" % self.DebugFormatString(self.app_id_))
if self.has_num_memcacheg_backends_: res+=prefix+("num_memcacheg_backends: %s\n" % self.DebugFormatInt32(self.num_memcacheg_backends_))
if self.has_ignore_shardlock_: res+=prefix+("ignore_shardlock: %s\n" % self.DebugFormatBool(self.ignore_shardlock_))
if self.has_memcache_pool_hint_: res+=prefix+("memcache_pool_hint: %s\n" % self.DebugFormatString(self.memcache_pool_hint_))
if self.has_memcache_sharding_strategy_: res+=prefix+("memcache_sharding_strategy: %s\n" % self.DebugFormatString(self.memcache_sharding_strategy_))
return res
def _BuildTagLookupTable(sparse, maxtag, default=None):
return tuple([sparse.get(i, default) for i in range(0, 1+maxtag)])
kapp_id = 1
knum_memcacheg_backends = 2
kignore_shardlock = 3
kmemcache_pool_hint = 4
kmemcache_sharding_strategy = 5
_TEXT = _BuildTagLookupTable({
0: "ErrorCode",
1: "app_id",
2: "num_memcacheg_backends",
3: "ignore_shardlock",
4: "memcache_pool_hint",
5: "memcache_sharding_strategy",
}, 5)
_TYPES = _BuildTagLookupTable({
0: ProtocolBuffer.Encoder.NUMERIC,
1: ProtocolBuffer.Encoder.STRING,
2: ProtocolBuffer.Encoder.NUMERIC,
3: ProtocolBuffer.Encoder.NUMERIC,
4: ProtocolBuffer.Encoder.STRING,
5: ProtocolBuffer.Encoder.STRING,
}, 5, ProtocolBuffer.Encoder.MAX_TYPE)
_STYLE = """"""
_STYLE_CONTENT_TYPE = """"""
_PROTO_DESCRIPTOR_NAME = 'apphosting.AppOverride'
class MemcacheGetRequest(ProtocolBuffer.ProtocolMessage):
has_name_space_ = 0
name_space_ = ""
has_for_cas_ = 0
for_cas_ = 0
has_override_ = 0
override_ = None
def __init__(self, contents=None):
self.key_ = []
self.lazy_init_lock_ = thread.allocate_lock()
if contents is not None: self.MergeFromString(contents)
def key_size(self): return len(self.key_)
def key_list(self): return self.key_
def key(self, i):
return self.key_[i]
def set_key(self, i, x):
self.key_[i] = x
def add_key(self, x):
self.key_.append(x)
def clear_key(self):
self.key_ = []
def name_space(self): return self.name_space_
def set_name_space(self, x):
self.has_name_space_ = 1
self.name_space_ = x
def clear_name_space(self):
if self.has_name_space_:
self.has_name_space_ = 0
self.name_space_ = ""
def has_name_space(self): return self.has_name_space_
def for_cas(self): return self.for_cas_
def set_for_cas(self, x):
self.has_for_cas_ = 1
self.for_cas_ = x
def clear_for_cas(self):
if self.has_for_cas_:
self.has_for_cas_ = 0
self.for_cas_ = 0
def has_for_cas(self): return self.has_for_cas_
def override(self):
if self.override_ is None:
self.lazy_init_lock_.acquire()
try:
if self.override_ is None: self.override_ = AppOverride()
finally:
self.lazy_init_lock_.release()
return self.override_
def mutable_override(self): self.has_override_ = 1; return self.override()
def clear_override(self):
if self.has_override_:
self.has_override_ = 0;
if self.override_ is not None: self.override_.Clear()
def has_override(self): return self.has_override_
def MergeFrom(self, x):
assert x is not self
for i in range(x.key_size()): self.add_key(x.key(i))
if (x.has_name_space()): self.set_name_space(x.name_space())
if (x.has_for_cas()): self.set_for_cas(x.for_cas())
if (x.has_override()): self.mutable_override().MergeFrom(x.override())
def Equals(self, x):
if x is self: return 1
if len(self.key_) != len(x.key_): return 0
for e1, e2 in zip(self.key_, x.key_):
if e1 != e2: return 0
if self.has_name_space_ != x.has_name_space_: return 0
if self.has_name_space_ and self.name_space_ != x.name_space_: return 0
if self.has_for_cas_ != x.has_for_cas_: return 0
if self.has_for_cas_ and self.for_cas_ != x.for_cas_: return 0
if self.has_override_ != x.has_override_: return 0
if self.has_override_ and self.override_ != x.override_: return 0
return 1
def IsInitialized(self, debug_strs=None):
initialized = 1
if (self.has_override_ and not self.override_.IsInitialized(debug_strs)): initialized = 0
return initialized
def ByteSize(self):
n = 0
n += 1 * len(self.key_)
for i in range(len(self.key_)): n += self.lengthString(len(self.key_[i]))
if (self.has_name_space_): n += 1 + self.lengthString(len(self.name_space_))
if (self.has_for_cas_): n += 2
if (self.has_override_): n += 1 + self.lengthString(self.override_.ByteSize())
return n
def ByteSizePartial(self):
n = 0
n += 1 * len(self.key_)
for i in range(len(self.key_)): n += self.lengthString(len(self.key_[i]))
if (self.has_name_space_): n += 1 + self.lengthString(len(self.name_space_))
if (self.has_for_cas_): n += 2
if (self.has_override_): n += 1 + self.lengthString(self.override_.ByteSizePartial())
return n
def Clear(self):
self.clear_key()
self.clear_name_space()
self.clear_for_cas()
self.clear_override()
def OutputUnchecked(self, out):
for i in range(len(self.key_)):
out.putVarInt32(10)
out.putPrefixedString(self.key_[i])
if (self.has_name_space_):
out.putVarInt32(18)
out.putPrefixedString(self.name_space_)
if (self.has_for_cas_):
out.putVarInt32(32)
out.putBoolean(self.for_cas_)
if (self.has_override_):
out.putVarInt32(42)
out.putVarInt32(self.override_.ByteSize())
self.override_.OutputUnchecked(out)
def OutputPartial(self, out):
for i in range(len(self.key_)):
out.putVarInt32(10)
out.putPrefixedString(self.key_[i])
if (self.has_name_space_):
out.putVarInt32(18)
out.putPrefixedString(self.name_space_)
if (self.has_for_cas_):
out.putVarInt32(32)
out.putBoolean(self.for_cas_)
if (self.has_override_):
out.putVarInt32(42)
out.putVarInt32(self.override_.ByteSizePartial())
self.override_.OutputPartial(out)
def TryMerge(self, d):
while d.avail() > 0:
tt = d.getVarInt32()
if tt == 10:
self.add_key(d.getPrefixedString())
continue
if tt == 18:
self.set_name_space(d.getPrefixedString())
continue
if tt == 32:
self.set_for_cas(d.getBoolean())
continue
if tt == 42:
length = d.getVarInt32()
tmp = ProtocolBuffer.Decoder(d.buffer(), d.pos(), d.pos() + length)
d.skip(length)
self.mutable_override().TryMerge(tmp)
continue
if (tt == 0): raise ProtocolBuffer.ProtocolBufferDecodeError
d.skipData(tt)
def __str__(self, prefix="", printElemNumber=0):
res=""
cnt=0
for e in self.key_:
elm=""
if printElemNumber: elm="(%d)" % cnt
res+=prefix+("key%s: %s\n" % (elm, self.DebugFormatString(e)))
cnt+=1
if self.has_name_space_: res+=prefix+("name_space: %s\n" % self.DebugFormatString(self.name_space_))
if self.has_for_cas_: res+=prefix+("for_cas: %s\n" % self.DebugFormatBool(self.for_cas_))
if self.has_override_:
res+=prefix+"override <\n"
res+=self.override_.__str__(prefix + " ", printElemNumber)
res+=prefix+">\n"
return res
def _BuildTagLookupTable(sparse, maxtag, default=None):
return tuple([sparse.get(i, default) for i in range(0, 1+maxtag)])
kkey = 1
kname_space = 2
kfor_cas = 4
koverride = 5
_TEXT = _BuildTagLookupTable({
0: "ErrorCode",
1: "key",
2: "name_space",
4: "for_cas",
5: "override",
}, 5)
_TYPES = _BuildTagLookupTable({
0: ProtocolBuffer.Encoder.NUMERIC,
1: ProtocolBuffer.Encoder.STRING,
2: ProtocolBuffer.Encoder.STRING,
4: ProtocolBuffer.Encoder.NUMERIC,
5: ProtocolBuffer.Encoder.STRING,
}, 5, ProtocolBuffer.Encoder.MAX_TYPE)
_STYLE = """"""
_STYLE_CONTENT_TYPE = """"""
_PROTO_DESCRIPTOR_NAME = 'apphosting.MemcacheGetRequest'
class MemcacheGetResponse_Item(ProtocolBuffer.ProtocolMessage):
has_key_ = 0
key_ = ""
has_value_ = 0
value_ = ""
has_flags_ = 0
flags_ = 0
has_cas_id_ = 0
cas_id_ = 0
has_expires_in_seconds_ = 0
expires_in_seconds_ = 0
def __init__(self, contents=None):
if contents is not None: self.MergeFromString(contents)
def key(self): return self.key_
def set_key(self, x):
self.has_key_ = 1
self.key_ = x
def clear_key(self):
if self.has_key_:
self.has_key_ = 0
self.key_ = ""
def has_key(self): return self.has_key_
def value(self): return self.value_
def set_value(self, x):
self.has_value_ = 1
self.value_ = x
def clear_value(self):
if self.has_value_:
self.has_value_ = 0
self.value_ = ""
def has_value(self): return self.has_value_
def flags(self): return self.flags_
def set_flags(self, x):
self.has_flags_ = 1
self.flags_ = x
def clear_flags(self):
if self.has_flags_:
self.has_flags_ = 0
self.flags_ = 0
def has_flags(self): return self.has_flags_
def cas_id(self): return self.cas_id_
def set_cas_id(self, x):
self.has_cas_id_ = 1
self.cas_id_ = x
def clear_cas_id(self):
if self.has_cas_id_:
self.has_cas_id_ = 0
self.cas_id_ = 0
def has_cas_id(self): return self.has_cas_id_
def expires_in_seconds(self): return self.expires_in_seconds_
def set_expires_in_seconds(self, x):
self.has_expires_in_seconds_ = 1
self.expires_in_seconds_ = x
def clear_expires_in_seconds(self):
if self.has_expires_in_seconds_:
self.has_expires_in_seconds_ = 0
self.expires_in_seconds_ = 0
def has_expires_in_seconds(self): return self.has_expires_in_seconds_
def MergeFrom(self, x):
assert x is not self
if (x.has_key()): self.set_key(x.key())
if (x.has_value()): self.set_value(x.value())
if (x.has_flags()): self.set_flags(x.flags())
if (x.has_cas_id()): self.set_cas_id(x.cas_id())
if (x.has_expires_in_seconds()): self.set_expires_in_seconds(x.expires_in_seconds())
def Equals(self, x):
if x is self: return 1
if self.has_key_ != x.has_key_: return 0
if self.has_key_ and self.key_ != x.key_: return 0
if self.has_value_ != x.has_value_: return 0
if self.has_value_ and self.value_ != x.value_: return 0
if self.has_flags_ != x.has_flags_: return 0
if self.has_flags_ and self.flags_ != x.flags_: return 0
if self.has_cas_id_ != x.has_cas_id_: return 0
if self.has_cas_id_ and self.cas_id_ != x.cas_id_: return 0
if self.has_expires_in_seconds_ != x.has_expires_in_seconds_: return 0
if self.has_expires_in_seconds_ and self.expires_in_seconds_ != x.expires_in_seconds_: return 0
return 1
def IsInitialized(self, debug_strs=None):
initialized = 1
if (not self.has_key_):
initialized = 0
if debug_strs is not None:
debug_strs.append('Required field: key not set.')
if (not self.has_value_):
initialized = 0
if debug_strs is not None:
debug_strs.append('Required field: value not set.')
return initialized
def ByteSize(self):
n = 0
n += self.lengthString(len(self.key_))
n += self.lengthString(len(self.value_))
if (self.has_flags_): n += 5
if (self.has_cas_id_): n += 9
if (self.has_expires_in_seconds_): n += 1 + self.lengthVarInt64(self.expires_in_seconds_)
return n + 2
def ByteSizePartial(self):
n = 0
if (self.has_key_):
n += 1
n += self.lengthString(len(self.key_))
if (self.has_value_):
n += 1
n += self.lengthString(len(self.value_))
if (self.has_flags_): n += 5
if (self.has_cas_id_): n += 9
if (self.has_expires_in_seconds_): n += 1 + self.lengthVarInt64(self.expires_in_seconds_)
return n
def Clear(self):
self.clear_key()
self.clear_value()
self.clear_flags()
self.clear_cas_id()
self.clear_expires_in_seconds()
def OutputUnchecked(self, out):
out.putVarInt32(18)
out.putPrefixedString(self.key_)
out.putVarInt32(26)
out.putPrefixedString(self.value_)
if (self.has_flags_):
out.putVarInt32(37)
out.put32(self.flags_)
if (self.has_cas_id_):
out.putVarInt32(41)
out.put64(self.cas_id_)
if (self.has_expires_in_seconds_):
out.putVarInt32(48)
out.putVarInt32(self.expires_in_seconds_)
def OutputPartial(self, out):
if (self.has_key_):
out.putVarInt32(18)
out.putPrefixedString(self.key_)
if (self.has_value_):
out.putVarInt32(26)
out.putPrefixedString(self.value_)
if (self.has_flags_):
out.putVarInt32(37)
out.put32(self.flags_)
if (self.has_cas_id_):
out.putVarInt32(41)
out.put64(self.cas_id_)
if (self.has_expires_in_seconds_):
out.putVarInt32(48)
out.putVarInt32(self.expires_in_seconds_)
def TryMerge(self, d):
while 1:
tt = d.getVarInt32()
if tt == 12: break
if tt == 18:
self.set_key(d.getPrefixedString())
continue
if tt == 26:
self.set_value(d.getPrefixedString())
continue
if tt == 37:
self.set_flags(d.get32())
continue
if tt == 41:
self.set_cas_id(d.get64())
continue
if tt == 48:
self.set_expires_in_seconds(d.getVarInt32())
continue
if (tt == 0): raise ProtocolBuffer.ProtocolBufferDecodeError
d.skipData(tt)
def __str__(self, prefix="", printElemNumber=0):
res=""
if self.has_key_: res+=prefix+("key: %s\n" % self.DebugFormatString(self.key_))
if self.has_value_: res+=prefix+("value: %s\n" % self.DebugFormatString(self.value_))
if self.has_flags_: res+=prefix+("flags: %s\n" % self.DebugFormatFixed32(self.flags_))
if self.has_cas_id_: res+=prefix+("cas_id: %s\n" % self.DebugFormatFixed64(self.cas_id_))
if self.has_expires_in_seconds_: res+=prefix+("expires_in_seconds: %s\n" % self.DebugFormatInt32(self.expires_in_seconds_))
return res
class MemcacheGetResponse(ProtocolBuffer.ProtocolMessage):
def __init__(self, contents=None):
self.item_ = []
if contents is not None: self.MergeFromString(contents)
def item_size(self): return len(self.item_)
def item_list(self): return self.item_
def item(self, i):
return self.item_[i]
def mutable_item(self, i):
return self.item_[i]
def add_item(self):
x = MemcacheGetResponse_Item()
self.item_.append(x)
return x
def clear_item(self):
self.item_ = []
def MergeFrom(self, x):
assert x is not self
for i in range(x.item_size()): self.add_item().CopyFrom(x.item(i))
def Equals(self, x):
if x is self: return 1
if len(self.item_) != len(x.item_): return 0
for e1, e2 in zip(self.item_, x.item_):
if e1 != e2: return 0
return 1
def IsInitialized(self, debug_strs=None):
initialized = 1
for p in self.item_:
if not p.IsInitialized(debug_strs): initialized=0
return initialized
def ByteSize(self):
n = 0
n += 2 * len(self.item_)
for i in range(len(self.item_)): n += self.item_[i].ByteSize()
return n
def ByteSizePartial(self):
n = 0
n += 2 * len(self.item_)
for i in range(len(self.item_)): n += self.item_[i].ByteSizePartial()
return n
def Clear(self):
self.clear_item()
def OutputUnchecked(self, out):
for i in range(len(self.item_)):
out.putVarInt32(11)
self.item_[i].OutputUnchecked(out)
out.putVarInt32(12)
def OutputPartial(self, out):
for i in range(len(self.item_)):
out.putVarInt32(11)
self.item_[i].OutputPartial(out)
out.putVarInt32(12)
def TryMerge(self, d):
while d.avail() > 0:
tt = d.getVarInt32()
if tt == 11:
self.add_item().TryMerge(d)
continue
if (tt == 0): raise ProtocolBuffer.ProtocolBufferDecodeError
d.skipData(tt)
def __str__(self, prefix="", printElemNumber=0):
res=""
cnt=0
for e in self.item_:
elm=""
if printElemNumber: elm="(%d)" % cnt
res+=prefix+("Item%s {\n" % elm)
res+=e.__str__(prefix + " ", printElemNumber)
res+=prefix+"}\n"
cnt+=1
return res
def _BuildTagLookupTable(sparse, maxtag, default=None):
return tuple([sparse.get(i, default) for i in range(0, 1+maxtag)])
kItemGroup = 1
kItemkey = 2
kItemvalue = 3
kItemflags = 4
kItemcas_id = 5
kItemexpires_in_seconds = 6
_TEXT = _BuildTagLookupTable({
0: "ErrorCode",
1: "Item",
2: "key",
3: "value",
4: "flags",
5: "cas_id",
6: "expires_in_seconds",
}, 6)
_TYPES = _BuildTagLookupTable({
0: ProtocolBuffer.Encoder.NUMERIC,
1: ProtocolBuffer.Encoder.STARTGROUP,
2: ProtocolBuffer.Encoder.STRING,
3: ProtocolBuffer.Encoder.STRING,
4: ProtocolBuffer.Encoder.FLOAT,
5: ProtocolBuffer.Encoder.DOUBLE,
6: ProtocolBuffer.Encoder.NUMERIC,
}, 6, ProtocolBuffer.Encoder.MAX_TYPE)
_STYLE = """"""
_STYLE_CONTENT_TYPE = """"""
_PROTO_DESCRIPTOR_NAME = 'apphosting.MemcacheGetResponse'
class MemcacheSetRequest_Item(ProtocolBuffer.ProtocolMessage):
has_key_ = 0
key_ = ""
has_value_ = 0
value_ = ""
has_flags_ = 0
flags_ = 0
has_set_policy_ = 0
set_policy_ = 1
has_expiration_time_ = 0
expiration_time_ = 0
has_cas_id_ = 0
cas_id_ = 0
has_for_cas_ = 0
for_cas_ = 0
def __init__(self, contents=None):
if contents is not None: self.MergeFromString(contents)
def key(self): return self.key_
def set_key(self, x):
self.has_key_ = 1
self.key_ = x
def clear_key(self):
if self.has_key_:
self.has_key_ = 0
self.key_ = ""
def has_key(self): return self.has_key_
def value(self): return self.value_
def set_value(self, x):
self.has_value_ = 1
self.value_ = x
def clear_value(self):
if self.has_value_:
self.has_value_ = 0
self.value_ = ""
def has_value(self): return self.has_value_
def flags(self): return self.flags_
def set_flags(self, x):
self.has_flags_ = 1
self.flags_ = x
def clear_flags(self):
if self.has_flags_:
self.has_flags_ = 0
self.flags_ = 0
def has_flags(self): return self.has_flags_
def set_policy(self): return self.set_policy_
def set_set_policy(self, x):
self.has_set_policy_ = 1
self.set_policy_ = x
def clear_set_policy(self):
if self.has_set_policy_:
self.has_set_policy_ = 0
self.set_policy_ = 1
def has_set_policy(self): return self.has_set_policy_
def expiration_time(self): return self.expiration_time_
def set_expiration_time(self, x):
self.has_expiration_time_ = 1
self.expiration_time_ = x
def clear_expiration_time(self):
if self.has_expiration_time_:
self.has_expiration_time_ = 0
self.expiration_time_ = 0
def has_expiration_time(self): return self.has_expiration_time_
def cas_id(self): return self.cas_id_
def set_cas_id(self, x):
self.has_cas_id_ = 1
self.cas_id_ = x
def clear_cas_id(self):
if self.has_cas_id_:
self.has_cas_id_ = 0
self.cas_id_ = 0
def has_cas_id(self): return self.has_cas_id_
def for_cas(self): return self.for_cas_
def set_for_cas(self, x):
self.has_for_cas_ = 1
self.for_cas_ = x
def clear_for_cas(self):
if self.has_for_cas_:
self.has_for_cas_ = 0
self.for_cas_ = 0
def has_for_cas(self): return self.has_for_cas_
def MergeFrom(self, x):
assert x is not self
if (x.has_key()): self.set_key(x.key())
if (x.has_value()): self.set_value(x.value())
if (x.has_flags()): self.set_flags(x.flags())
if (x.has_set_policy()): self.set_set_policy(x.set_policy())
if (x.has_expiration_time()): self.set_expiration_time(x.expiration_time())
if (x.has_cas_id()): self.set_cas_id(x.cas_id())
if (x.has_for_cas()): self.set_for_cas(x.for_cas())
def Equals(self, x):
if x is self: return 1
if self.has_key_ != x.has_key_: return 0
if self.has_key_ and self.key_ != x.key_: return 0
if self.has_value_ != x.has_value_: return 0
if self.has_value_ and self.value_ != x.value_: return 0
if self.has_flags_ != x.has_flags_: return 0
if self.has_flags_ and self.flags_ != x.flags_: return 0
if self.has_set_policy_ != x.has_set_policy_: return 0
if self.has_set_policy_ and self.set_policy_ != x.set_policy_: return 0
if self.has_expiration_time_ != x.has_expiration_time_: return 0
if self.has_expiration_time_ and self.expiration_time_ != x.expiration_time_: return 0
if self.has_cas_id_ != x.has_cas_id_: return 0
if self.has_cas_id_ and self.cas_id_ != x.cas_id_: return 0
if self.has_for_cas_ != x.has_for_cas_: return 0
if self.has_for_cas_ and self.for_cas_ != x.for_cas_: return 0
return 1
def IsInitialized(self, debug_strs=None):
initialized = 1
if (not self.has_key_):
initialized = 0
if debug_strs is not None:
debug_strs.append('Required field: key not set.')
if (not self.has_value_):
initialized = 0
if debug_strs is not None:
debug_strs.append('Required field: value not set.')
return initialized
def ByteSize(self):
n = 0
n += self.lengthString(len(self.key_))
n += self.lengthString(len(self.value_))
if (self.has_flags_): n += 5
if (self.has_set_policy_): n += 1 + self.lengthVarInt64(self.set_policy_)
if (self.has_expiration_time_): n += 5
if (self.has_cas_id_): n += 9
if (self.has_for_cas_): n += 2
return n + 2
def ByteSizePartial(self):
n = 0
if (self.has_key_):
n += 1
n += self.lengthString(len(self.key_))
if (self.has_value_):
n += 1
n += self.lengthString(len(self.value_))
if (self.has_flags_): n += 5
if (self.has_set_policy_): n += 1 + self.lengthVarInt64(self.set_policy_)
if (self.has_expiration_time_): n += 5
if (self.has_cas_id_): n += 9
if (self.has_for_cas_): n += 2
return n
def Clear(self):
self.clear_key()
self.clear_value()
self.clear_flags()
self.clear_set_policy()
self.clear_expiration_time()
self.clear_cas_id()
self.clear_for_cas()
def OutputUnchecked(self, out):
out.putVarInt32(18)
out.putPrefixedString(self.key_)
out.putVarInt32(26)
out.putPrefixedString(self.value_)
if (self.has_flags_):
out.putVarInt32(37)
out.put32(self.flags_)
if (self.has_set_policy_):
out.putVarInt32(40)
out.putVarInt32(self.set_policy_)
if (self.has_expiration_time_):
out.putVarInt32(53)
out.put32(self.expiration_time_)
if (self.has_cas_id_):
out.putVarInt32(65)
out.put64(self.cas_id_)
if (self.has_for_cas_):
out.putVarInt32(72)
out.putBoolean(self.for_cas_)
def OutputPartial(self, out):
if (self.has_key_):
out.putVarInt32(18)
out.putPrefixedString(self.key_)
if (self.has_value_):
out.putVarInt32(26)
out.putPrefixedString(self.value_)
if (self.has_flags_):
out.putVarInt32(37)
out.put32(self.flags_)
if (self.has_set_policy_):
out.putVarInt32(40)
out.putVarInt32(self.set_policy_)
if (self.has_expiration_time_):
out.putVarInt32(53)
out.put32(self.expiration_time_)
if (self.has_cas_id_):
out.putVarInt32(65)
out.put64(self.cas_id_)
if (self.has_for_cas_):
out.putVarInt32(72)
out.putBoolean(self.for_cas_)
def TryMerge(self, d):
while 1:
tt = d.getVarInt32()
if tt == 12: break
if tt == 18:
self.set_key(d.getPrefixedString())
continue
if tt == 26:
self.set_value(d.getPrefixedString())
continue
if tt == 37:
self.set_flags(d.get32())
continue
if tt == 40:
self.set_set_policy(d.getVarInt32())
continue
if tt == 53:
self.set_expiration_time(d.get32())
continue
if tt == 65:
self.set_cas_id(d.get64())
continue
if tt == 72:
self.set_for_cas(d.getBoolean())
continue
if (tt == 0): raise ProtocolBuffer.ProtocolBufferDecodeError
d.skipData(tt)
def __str__(self, prefix="", printElemNumber=0):
res=""
if self.has_key_: res+=prefix+("key: %s\n" % self.DebugFormatString(self.key_))
if self.has_value_: res+=prefix+("value: %s\n" % self.DebugFormatString(self.value_))
if self.has_flags_: res+=prefix+("flags: %s\n" % self.DebugFormatFixed32(self.flags_))
if self.has_set_policy_: res+=prefix+("set_policy: %s\n" % self.DebugFormatInt32(self.set_policy_))
if self.has_expiration_time_: res+=prefix+("expiration_time: %s\n" % self.DebugFormatFixed32(self.expiration_time_))
if self.has_cas_id_: res+=prefix+("cas_id: %s\n" % self.DebugFormatFixed64(self.cas_id_))
if self.has_for_cas_: res+=prefix+("for_cas: %s\n" % self.DebugFormatBool(self.for_cas_))
return res
class MemcacheSetRequest(ProtocolBuffer.ProtocolMessage):
SET = 1
ADD = 2
REPLACE = 3
CAS = 4
_SetPolicy_NAMES = {
1: "SET",
2: "ADD",
3: "REPLACE",
4: "CAS",
}
def SetPolicy_Name(cls, x): return cls._SetPolicy_NAMES.get(x, "")
SetPolicy_Name = classmethod(SetPolicy_Name)
has_name_space_ = 0
name_space_ = ""
has_override_ = 0
override_ = None
def __init__(self, contents=None):
self.item_ = []
self.lazy_init_lock_ = thread.allocate_lock()
if contents is not None: self.MergeFromString(contents)
def item_size(self): return len(self.item_)
def item_list(self): return self.item_
def item(self, i):
return self.item_[i]
def mutable_item(self, i):
return self.item_[i]
def add_item(self):
x = MemcacheSetRequest_Item()
self.item_.append(x)
return x
def clear_item(self):
self.item_ = []
def name_space(self): return self.name_space_
def set_name_space(self, x):
self.has_name_space_ = 1
self.name_space_ = x
def clear_name_space(self):
if self.has_name_space_:
self.has_name_space_ = 0
self.name_space_ = ""
def has_name_space(self): return self.has_name_space_
def override(self):
if self.override_ is None:
self.lazy_init_lock_.acquire()
try:
if self.override_ is None: self.override_ = AppOverride()
finally:
self.lazy_init_lock_.release()
return self.override_
def mutable_override(self): self.has_override_ = 1; return self.override()
def clear_override(self):
if self.has_override_:
self.has_override_ = 0;
if self.override_ is not None: self.override_.Clear()
def has_override(self): return self.has_override_
def MergeFrom(self, x):
assert x is not self
for i in range(x.item_size()): self.add_item().CopyFrom(x.item(i))
if (x.has_name_space()): self.set_name_space(x.name_space())
if (x.has_override()): self.mutable_override().MergeFrom(x.override())
def Equals(self, x):
if x is self: return 1
if len(self.item_) != len(x.item_): return 0
for e1, e2 in zip(self.item_, x.item_):
if e1 != e2: return 0
if self.has_name_space_ != x.has_name_space_: return 0
if self.has_name_space_ and self.name_space_ != x.name_space_: return 0
if self.has_override_ != x.has_override_: return 0
if self.has_override_ and self.override_ != x.override_: return 0
return 1
def IsInitialized(self, debug_strs=None):
initialized = 1
for p in self.item_:
if not p.IsInitialized(debug_strs): initialized=0
if (self.has_override_ and not self.override_.IsInitialized(debug_strs)): initialized = 0
return initialized
def ByteSize(self):
n = 0
n += 2 * len(self.item_)
for i in range(len(self.item_)): n += self.item_[i].ByteSize()
if (self.has_name_space_): n += 1 + self.lengthString(len(self.name_space_))
if (self.has_override_): n += 1 + self.lengthString(self.override_.ByteSize())
return n
def ByteSizePartial(self):
n = 0
n += 2 * len(self.item_)
for i in range(len(self.item_)): n += self.item_[i].ByteSizePartial()
if (self.has_name_space_): n += 1 + self.lengthString(len(self.name_space_))
if (self.has_override_): n += 1 + self.lengthString(self.override_.ByteSizePartial())
return n
def Clear(self):
self.clear_item()
self.clear_name_space()
self.clear_override()
def OutputUnchecked(self, out):
for i in range(len(self.item_)):
out.putVarInt32(11)
self.item_[i].OutputUnchecked(out)
out.putVarInt32(12)
if (self.has_name_space_):
out.putVarInt32(58)
out.putPrefixedString(self.name_space_)
if (self.has_override_):
out.putVarInt32(82)
out.putVarInt32(self.override_.ByteSize())
self.override_.OutputUnchecked(out)
def OutputPartial(self, out):
for i in range(len(self.item_)):
out.putVarInt32(11)
self.item_[i].OutputPartial(out)
out.putVarInt32(12)
if (self.has_name_space_):
out.putVarInt32(58)
out.putPrefixedString(self.name_space_)
if (self.has_override_):
out.putVarInt32(82)
out.putVarInt32(self.override_.ByteSizePartial())
self.override_.OutputPartial(out)
def TryMerge(self, d):
while d.avail() > 0:
tt = d.getVarInt32()
if tt == 11:
self.add_item().TryMerge(d)
continue
if tt == 58:
self.set_name_space(d.getPrefixedString())
continue
if tt == 82:
length = d.getVarInt32()
tmp = ProtocolBuffer.Decoder(d.buffer(), d.pos(), d.pos() + length)
d.skip(length)
self.mutable_override().TryMerge(tmp)
continue
if (tt == 0): raise ProtocolBuffer.ProtocolBufferDecodeError
d.skipData(tt)
def __str__(self, prefix="", printElemNumber=0):
res=""
cnt=0
for e in self.item_:
elm=""
if printElemNumber: elm="(%d)" % cnt
res+=prefix+("Item%s {\n" % elm)
res+=e.__str__(prefix + " ", printElemNumber)
res+=prefix+"}\n"
cnt+=1
if self.has_name_space_: res+=prefix+("name_space: %s\n" % self.DebugFormatString(self.name_space_))
if self.has_override_:
res+=prefix+"override <\n"
res+=self.override_.__str__(prefix + " ", printElemNumber)
res+=prefix+">\n"
return res
def _BuildTagLookupTable(sparse, maxtag, default=None):
return tuple([sparse.get(i, default) for i in range(0, 1+maxtag)])
kItemGroup = 1
kItemkey = 2
kItemvalue = 3
kItemflags = 4
kItemset_policy = 5
kItemexpiration_time = 6
kItemcas_id = 8
kItemfor_cas = 9
kname_space = 7
koverride = 10
_TEXT = _BuildTagLookupTable({
0: "ErrorCode",
1: "Item",
2: "key",
3: "value",
4: "flags",
5: "set_policy",
6: "expiration_time",
7: "name_space",
8: "cas_id",
9: "for_cas",
10: "override",
}, 10)
_TYPES = _BuildTagLookupTable({
0: ProtocolBuffer.Encoder.NUMERIC,
1: ProtocolBuffer.Encoder.STARTGROUP,
2: ProtocolBuffer.Encoder.STRING,
3: ProtocolBuffer.Encoder.STRING,
4: ProtocolBuffer.Encoder.FLOAT,
5: ProtocolBuffer.Encoder.NUMERIC,
6: ProtocolBuffer.Encoder.FLOAT,
7: ProtocolBuffer.Encoder.STRING,
8: ProtocolBuffer.Encoder.DOUBLE,
9: ProtocolBuffer.Encoder.NUMERIC,
10: ProtocolBuffer.Encoder.STRING,
}, 10, ProtocolBuffer.Encoder.MAX_TYPE)
_STYLE = """"""
_STYLE_CONTENT_TYPE = """"""
_PROTO_DESCRIPTOR_NAME = 'apphosting.MemcacheSetRequest'
class MemcacheSetResponse(ProtocolBuffer.ProtocolMessage):
STORED = 1
NOT_STORED = 2
ERROR = 3
EXISTS = 4
_SetStatusCode_NAMES = {
1: "STORED",
2: "NOT_STORED",
3: "ERROR",
4: "EXISTS",
}
def SetStatusCode_Name(cls, x): return cls._SetStatusCode_NAMES.get(x, "")
SetStatusCode_Name = classmethod(SetStatusCode_Name)
def __init__(self, contents=None):
self.set_status_ = []
if contents is not None: self.MergeFromString(contents)
def set_status_size(self): return len(self.set_status_)
def set_status_list(self): return self.set_status_
def set_status(self, i):
return self.set_status_[i]
def set_set_status(self, i, x):
self.set_status_[i] = x
def add_set_status(self, x):
self.set_status_.append(x)
def clear_set_status(self):
self.set_status_ = []
def MergeFrom(self, x):
assert x is not self
for i in range(x.set_status_size()): self.add_set_status(x.set_status(i))
def Equals(self, x):
if x is self: return 1
if len(self.set_status_) != len(x.set_status_): return 0
for e1, e2 in zip(self.set_status_, x.set_status_):
if e1 != e2: return 0
return 1
def IsInitialized(self, debug_strs=None):
initialized = 1
return initialized
def ByteSize(self):
n = 0
n += 1 * len(self.set_status_)
for i in range(len(self.set_status_)): n += self.lengthVarInt64(self.set_status_[i])
return n
def ByteSizePartial(self):
n = 0
n += 1 * len(self.set_status_)
for i in range(len(self.set_status_)): n += self.lengthVarInt64(self.set_status_[i])
return n
def Clear(self):
self.clear_set_status()
def OutputUnchecked(self, out):
for i in range(len(self.set_status_)):
out.putVarInt32(8)
out.putVarInt32(self.set_status_[i])
def OutputPartial(self, out):
for i in range(len(self.set_status_)):
out.putVarInt32(8)
out.putVarInt32(self.set_status_[i])
def TryMerge(self, d):
while d.avail() > 0:
tt = d.getVarInt32()
if tt == 8:
self.add_set_status(d.getVarInt32())
continue
if (tt == 0): raise ProtocolBuffer.ProtocolBufferDecodeError
d.skipData(tt)
def __str__(self, prefix="", printElemNumber=0):
res=""
cnt=0
for e in self.set_status_:
elm=""
if printElemNumber: elm="(%d)" % cnt
res+=prefix+("set_status%s: %s\n" % (elm, self.DebugFormatInt32(e)))
cnt+=1
return res
def _BuildTagLookupTable(sparse, maxtag, default=None):
return tuple([sparse.get(i, default) for i in range(0, 1+maxtag)])
kset_status = 1
_TEXT = _BuildTagLookupTable({
0: "ErrorCode",
1: "set_status",
}, 1)
_TYPES = _BuildTagLookupTable({
0: ProtocolBuffer.Encoder.NUMERIC,
1: ProtocolBuffer.Encoder.NUMERIC,
}, 1, ProtocolBuffer.Encoder.MAX_TYPE)
_STYLE = """"""
_STYLE_CONTENT_TYPE = """"""
_PROTO_DESCRIPTOR_NAME = 'apphosting.MemcacheSetResponse'
class MemcacheDeleteRequest_Item(ProtocolBuffer.ProtocolMessage):
has_key_ = 0
key_ = ""
has_delete_time_ = 0
delete_time_ = 0
def __init__(self, contents=None):
if contents is not None: self.MergeFromString(contents)
def key(self): return self.key_
def set_key(self, x):
self.has_key_ = 1
self.key_ = x
def clear_key(self):
if self.has_key_:
self.has_key_ = 0
self.key_ = ""
def has_key(self): return self.has_key_
def delete_time(self): return self.delete_time_
def set_delete_time(self, x):
self.has_delete_time_ = 1
self.delete_time_ = x
def clear_delete_time(self):
if self.has_delete_time_:
self.has_delete_time_ = 0
self.delete_time_ = 0
def has_delete_time(self): return self.has_delete_time_
def MergeFrom(self, x):
assert x is not self
if (x.has_key()): self.set_key(x.key())
if (x.has_delete_time()): self.set_delete_time(x.delete_time())
def Equals(self, x):
if x is self: return 1
if self.has_key_ != x.has_key_: return 0
if self.has_key_ and self.key_ != x.key_: return 0
if self.has_delete_time_ != x.has_delete_time_: return 0
if self.has_delete_time_ and self.delete_time_ != x.delete_time_: return 0
return 1
def IsInitialized(self, debug_strs=None):
initialized = 1
if (not self.has_key_):
initialized = 0
if debug_strs is not None:
debug_strs.append('Required field: key not set.')
return initialized
def ByteSize(self):
n = 0
n += self.lengthString(len(self.key_))
if (self.has_delete_time_): n += 5
return n + 1
def ByteSizePartial(self):
n = 0
if (self.has_key_):
n += 1
n += self.lengthString(len(self.key_))
if (self.has_delete_time_): n += 5
return n
def Clear(self):
self.clear_key()
self.clear_delete_time()
def OutputUnchecked(self, out):
out.putVarInt32(18)
out.putPrefixedString(self.key_)
if (self.has_delete_time_):
out.putVarInt32(29)
out.put32(self.delete_time_)
def OutputPartial(self, out):
if (self.has_key_):
out.putVarInt32(18)
out.putPrefixedString(self.key_)
if (self.has_delete_time_):
out.putVarInt32(29)
out.put32(self.delete_time_)
def TryMerge(self, d):
while 1:
tt = d.getVarInt32()
if tt == 12: break
if tt == 18:
self.set_key(d.getPrefixedString())
continue
if tt == 29:
self.set_delete_time(d.get32())
continue
if (tt == 0): raise ProtocolBuffer.ProtocolBufferDecodeError
d.skipData(tt)
def __str__(self, prefix="", printElemNumber=0):
res=""
if self.has_key_: res+=prefix+("key: %s\n" % self.DebugFormatString(self.key_))
if self.has_delete_time_: res+=prefix+("delete_time: %s\n" % self.DebugFormatFixed32(self.delete_time_))
return res
class MemcacheDeleteRequest(ProtocolBuffer.ProtocolMessage):
has_name_space_ = 0
name_space_ = ""
has_override_ = 0
override_ = None
def __init__(self, contents=None):
self.item_ = []
self.lazy_init_lock_ = thread.allocate_lock()
if contents is not None: self.MergeFromString(contents)
def item_size(self): return len(self.item_)
def item_list(self): return self.item_
def item(self, i):
return self.item_[i]
def mutable_item(self, i):
return self.item_[i]
def add_item(self):
x = MemcacheDeleteRequest_Item()
self.item_.append(x)
return x
def clear_item(self):
self.item_ = []
def name_space(self): return self.name_space_
def set_name_space(self, x):
self.has_name_space_ = 1
self.name_space_ = x
def clear_name_space(self):
if self.has_name_space_:
self.has_name_space_ = 0
self.name_space_ = ""
def has_name_space(self): return self.has_name_space_
def override(self):
if self.override_ is None:
self.lazy_init_lock_.acquire()
try:
if self.override_ is None: self.override_ = AppOverride()
finally:
self.lazy_init_lock_.release()
return self.override_
def mutable_override(self): self.has_override_ = 1; return self.override()
def clear_override(self):
if self.has_override_:
self.has_override_ = 0;
if self.override_ is not None: self.override_.Clear()
def has_override(self): return self.has_override_
def MergeFrom(self, x):
assert x is not self
for i in range(x.item_size()): self.add_item().CopyFrom(x.item(i))
if (x.has_name_space()): self.set_name_space(x.name_space())
if (x.has_override()): self.mutable_override().MergeFrom(x.override())
def Equals(self, x):
if x is self: return 1
if len(self.item_) != len(x.item_): return 0
for e1, e2 in zip(self.item_, x.item_):
if e1 != e2: return 0
if self.has_name_space_ != x.has_name_space_: return 0
if self.has_name_space_ and self.name_space_ != x.name_space_: return 0
if self.has_override_ != x.has_override_: return 0
if self.has_override_ and self.override_ != x.override_: return 0
return 1
def IsInitialized(self, debug_strs=None):
initialized = 1
for p in self.item_:
if not p.IsInitialized(debug_strs): initialized=0
if (self.has_override_ and not self.override_.IsInitialized(debug_strs)): initialized = 0
return initialized
def ByteSize(self):
n = 0
n += 2 * len(self.item_)
for i in range(len(self.item_)): n += self.item_[i].ByteSize()
if (self.has_name_space_): n += 1 + self.lengthString(len(self.name_space_))
if (self.has_override_): n += 1 + self.lengthString(self.override_.ByteSize())
return n
def ByteSizePartial(self):
n = 0
n += 2 * len(self.item_)
for i in range(len(self.item_)): n += self.item_[i].ByteSizePartial()
if (self.has_name_space_): n += 1 + self.lengthString(len(self.name_space_))
if (self.has_override_): n += 1 + self.lengthString(self.override_.ByteSizePartial())
return n
def Clear(self):
self.clear_item()
self.clear_name_space()
self.clear_override()
def OutputUnchecked(self, out):
for i in range(len(self.item_)):
out.putVarInt32(11)
self.item_[i].OutputUnchecked(out)
out.putVarInt32(12)
if (self.has_name_space_):
out.putVarInt32(34)
out.putPrefixedString(self.name_space_)
if (self.has_override_):
out.putVarInt32(42)
out.putVarInt32(self.override_.ByteSize())
self.override_.OutputUnchecked(out)
def OutputPartial(self, out):
for i in range(len(self.item_)):
out.putVarInt32(11)
self.item_[i].OutputPartial(out)
out.putVarInt32(12)
if (self.has_name_space_):
out.putVarInt32(34)
out.putPrefixedString(self.name_space_)
if (self.has_override_):
out.putVarInt32(42)
out.putVarInt32(self.override_.ByteSizePartial())
self.override_.OutputPartial(out)
def TryMerge(self, d):
while d.avail() > 0:
tt = d.getVarInt32()
if tt == 11:
self.add_item().TryMerge(d)
continue
if tt == 34:
self.set_name_space(d.getPrefixedString())
continue
if tt == 42:
length = d.getVarInt32()
tmp = ProtocolBuffer.Decoder(d.buffer(), d.pos(), d.pos() + length)
d.skip(length)
self.mutable_override().TryMerge(tmp)
continue
if (tt == 0): raise ProtocolBuffer.ProtocolBufferDecodeError
d.skipData(tt)
def __str__(self, prefix="", printElemNumber=0):
res=""
cnt=0
for e in self.item_:
elm=""
if printElemNumber: elm="(%d)" % cnt
res+=prefix+("Item%s {\n" % elm)
res+=e.__str__(prefix + " ", printElemNumber)
res+=prefix+"}\n"
cnt+=1
if self.has_name_space_: res+=prefix+("name_space: %s\n" % self.DebugFormatString(self.name_space_))
if self.has_override_:
res+=prefix+"override <\n"
res+=self.override_.__str__(prefix + " ", printElemNumber)
res+=prefix+">\n"
return res
def _BuildTagLookupTable(sparse, maxtag, default=None):
return tuple([sparse.get(i, default) for i in range(0, 1+maxtag)])
kItemGroup = 1
kItemkey = 2
kItemdelete_time = 3
kname_space = 4
koverride = 5
_TEXT = _BuildTagLookupTable({
0: "ErrorCode",
1: "Item",
2: "key",
3: "delete_time",
4: "name_space",
5: "override",
}, 5)
_TYPES = _BuildTagLookupTable({
0: ProtocolBuffer.Encoder.NUMERIC,
1: ProtocolBuffer.Encoder.STARTGROUP,
2: ProtocolBuffer.Encoder.STRING,
3: ProtocolBuffer.Encoder.FLOAT,
4: ProtocolBuffer.Encoder.STRING,
5: ProtocolBuffer.Encoder.STRING,
}, 5, ProtocolBuffer.Encoder.MAX_TYPE)
_STYLE = """"""
_STYLE_CONTENT_TYPE = """"""
_PROTO_DESCRIPTOR_NAME = 'apphosting.MemcacheDeleteRequest'
class MemcacheDeleteResponse(ProtocolBuffer.ProtocolMessage):
DELETED = 1
NOT_FOUND = 2
_DeleteStatusCode_NAMES = {
1: "DELETED",
2: "NOT_FOUND",
}
def DeleteStatusCode_Name(cls, x): return cls._DeleteStatusCode_NAMES.get(x, "")
DeleteStatusCode_Name = classmethod(DeleteStatusCode_Name)
def __init__(self, contents=None):
self.delete_status_ = []
if contents is not None: self.MergeFromString(contents)
def delete_status_size(self): return len(self.delete_status_)
def delete_status_list(self): return self.delete_status_
def delete_status(self, i):
return self.delete_status_[i]
def set_delete_status(self, i, x):
self.delete_status_[i] = x
def add_delete_status(self, x):
self.delete_status_.append(x)
def clear_delete_status(self):
self.delete_status_ = []
def MergeFrom(self, x):
assert x is not self
for i in range(x.delete_status_size()): self.add_delete_status(x.delete_status(i))
def Equals(self, x):
if x is self: return 1
if len(self.delete_status_) != len(x.delete_status_): return 0
for e1, e2 in zip(self.delete_status_, x.delete_status_):
if e1 != e2: return 0
return 1
def IsInitialized(self, debug_strs=None):
initialized = 1
return initialized
def ByteSize(self):
n = 0
n += 1 * len(self.delete_status_)
for i in range(len(self.delete_status_)): n += self.lengthVarInt64(self.delete_status_[i])
return n
def ByteSizePartial(self):
n = 0
n += 1 * len(self.delete_status_)
for i in range(len(self.delete_status_)): n += self.lengthVarInt64(self.delete_status_[i])
return n
def Clear(self):
self.clear_delete_status()
def OutputUnchecked(self, out):
for i in range(len(self.delete_status_)):
out.putVarInt32(8)
out.putVarInt32(self.delete_status_[i])
def OutputPartial(self, out):
for i in range(len(self.delete_status_)):
out.putVarInt32(8)
out.putVarInt32(self.delete_status_[i])
def TryMerge(self, d):
while d.avail() > 0:
tt = d.getVarInt32()
if tt == 8:
self.add_delete_status(d.getVarInt32())
continue
if (tt == 0): raise ProtocolBuffer.ProtocolBufferDecodeError
d.skipData(tt)
def __str__(self, prefix="", printElemNumber=0):
res=""
cnt=0
for e in self.delete_status_:
elm=""
if printElemNumber: elm="(%d)" % cnt
res+=prefix+("delete_status%s: %s\n" % (elm, self.DebugFormatInt32(e)))
cnt+=1
return res
def _BuildTagLookupTable(sparse, maxtag, default=None):
return tuple([sparse.get(i, default) for i in range(0, 1+maxtag)])
kdelete_status = 1
_TEXT = _BuildTagLookupTable({
0: "ErrorCode",
1: "delete_status",
}, 1)
_TYPES = _BuildTagLookupTable({
0: ProtocolBuffer.Encoder.NUMERIC,
1: ProtocolBuffer.Encoder.NUMERIC,
}, 1, ProtocolBuffer.Encoder.MAX_TYPE)
_STYLE = """"""
_STYLE_CONTENT_TYPE = """"""
_PROTO_DESCRIPTOR_NAME = 'apphosting.MemcacheDeleteResponse'
class MemcacheIncrementRequest(ProtocolBuffer.ProtocolMessage):
INCREMENT = 1
DECREMENT = 2
_Direction_NAMES = {
1: "INCREMENT",
2: "DECREMENT",
}
def Direction_Name(cls, x): return cls._Direction_NAMES.get(x, "")
Direction_Name = classmethod(Direction_Name)
has_key_ = 0
key_ = ""
has_name_space_ = 0
name_space_ = ""
has_delta_ = 0
delta_ = 1
has_direction_ = 0
direction_ = 1
has_initial_value_ = 0
initial_value_ = 0
has_initial_flags_ = 0
initial_flags_ = 0
has_override_ = 0
override_ = None
def __init__(self, contents=None):
self.lazy_init_lock_ = thread.allocate_lock()
if contents is not None: self.MergeFromString(contents)
def key(self): return self.key_
def set_key(self, x):
self.has_key_ = 1
self.key_ = x
def clear_key(self):
if self.has_key_:
self.has_key_ = 0
self.key_ = ""
def has_key(self): return self.has_key_
def name_space(self): return self.name_space_
def set_name_space(self, x):
self.has_name_space_ = 1
self.name_space_ = x
def clear_name_space(self):
if self.has_name_space_:
self.has_name_space_ = 0
self.name_space_ = ""
def has_name_space(self): return self.has_name_space_
def delta(self): return self.delta_
def set_delta(self, x):
self.has_delta_ = 1
self.delta_ = x
def clear_delta(self):
if self.has_delta_:
self.has_delta_ = 0
self.delta_ = 1
def has_delta(self): return self.has_delta_
def direction(self): return self.direction_
def set_direction(self, x):
self.has_direction_ = 1
self.direction_ = x
def clear_direction(self):
if self.has_direction_:
self.has_direction_ = 0
self.direction_ = 1
def has_direction(self): return self.has_direction_
def initial_value(self): return self.initial_value_
def set_initial_value(self, x):
self.has_initial_value_ = 1
self.initial_value_ = x
def clear_initial_value(self):
if self.has_initial_value_:
self.has_initial_value_ = 0
self.initial_value_ = 0
def has_initial_value(self): return self.has_initial_value_
def initial_flags(self): return self.initial_flags_
def set_initial_flags(self, x):
self.has_initial_flags_ = 1
self.initial_flags_ = x
def clear_initial_flags(self):
if self.has_initial_flags_:
self.has_initial_flags_ = 0
self.initial_flags_ = 0
def has_initial_flags(self): return self.has_initial_flags_
def override(self):
if self.override_ is None:
self.lazy_init_lock_.acquire()
try:
if self.override_ is None: self.override_ = AppOverride()
finally:
self.lazy_init_lock_.release()
return self.override_
def mutable_override(self): self.has_override_ = 1; return self.override()
def clear_override(self):
if self.has_override_:
self.has_override_ = 0;
if self.override_ is not None: self.override_.Clear()
def has_override(self): return self.has_override_
def MergeFrom(self, x):
assert x is not self
if (x.has_key()): self.set_key(x.key())
if (x.has_name_space()): self.set_name_space(x.name_space())
if (x.has_delta()): self.set_delta(x.delta())
if (x.has_direction()): self.set_direction(x.direction())
if (x.has_initial_value()): self.set_initial_value(x.initial_value())
if (x.has_initial_flags()): self.set_initial_flags(x.initial_flags())
if (x.has_override()): self.mutable_override().MergeFrom(x.override())
def Equals(self, x):
if x is self: return 1
if self.has_key_ != x.has_key_: return 0
if self.has_key_ and self.key_ != x.key_: return 0
if self.has_name_space_ != x.has_name_space_: return 0
if self.has_name_space_ and self.name_space_ != x.name_space_: return 0
if self.has_delta_ != x.has_delta_: return 0
if self.has_delta_ and self.delta_ != x.delta_: return 0
if self.has_direction_ != x.has_direction_: return 0
if self.has_direction_ and self.direction_ != x.direction_: return 0
if self.has_initial_value_ != x.has_initial_value_: return 0
if self.has_initial_value_ and self.initial_value_ != x.initial_value_: return 0
if self.has_initial_flags_ != x.has_initial_flags_: return 0
if self.has_initial_flags_ and self.initial_flags_ != x.initial_flags_: return 0
if self.has_override_ != x.has_override_: return 0
if self.has_override_ and self.override_ != x.override_: return 0
return 1
def IsInitialized(self, debug_strs=None):
initialized = 1
if (not self.has_key_):
initialized = 0
if debug_strs is not None:
debug_strs.append('Required field: key not set.')
if (self.has_override_ and not self.override_.IsInitialized(debug_strs)): initialized = 0
return initialized
def ByteSize(self):
n = 0
n += self.lengthString(len(self.key_))
if (self.has_name_space_): n += 1 + self.lengthString(len(self.name_space_))
if (self.has_delta_): n += 1 + self.lengthVarInt64(self.delta_)
if (self.has_direction_): n += 1 + self.lengthVarInt64(self.direction_)
if (self.has_initial_value_): n += 1 + self.lengthVarInt64(self.initial_value_)
if (self.has_initial_flags_): n += 5
if (self.has_override_): n += 1 + self.lengthString(self.override_.ByteSize())
return n + 1
def ByteSizePartial(self):
n = 0
if (self.has_key_):
n += 1
n += self.lengthString(len(self.key_))
if (self.has_name_space_): n += 1 + self.lengthString(len(self.name_space_))
if (self.has_delta_): n += 1 + self.lengthVarInt64(self.delta_)
if (self.has_direction_): n += 1 + self.lengthVarInt64(self.direction_)
if (self.has_initial_value_): n += 1 + self.lengthVarInt64(self.initial_value_)
if (self.has_initial_flags_): n += 5
if (self.has_override_): n += 1 + self.lengthString(self.override_.ByteSizePartial())
return n
def Clear(self):
self.clear_key()
self.clear_name_space()
self.clear_delta()
self.clear_direction()
self.clear_initial_value()
self.clear_initial_flags()
self.clear_override()
def OutputUnchecked(self, out):
out.putVarInt32(10)
out.putPrefixedString(self.key_)
if (self.has_delta_):
out.putVarInt32(16)
out.putVarUint64(self.delta_)
if (self.has_direction_):
out.putVarInt32(24)
out.putVarInt32(self.direction_)
if (self.has_name_space_):
out.putVarInt32(34)
out.putPrefixedString(self.name_space_)
if (self.has_initial_value_):
out.putVarInt32(40)
out.putVarUint64(self.initial_value_)
if (self.has_initial_flags_):
out.putVarInt32(53)
out.put32(self.initial_flags_)
if (self.has_override_):
out.putVarInt32(58)
out.putVarInt32(self.override_.ByteSize())
self.override_.OutputUnchecked(out)
def OutputPartial(self, out):
if (self.has_key_):
out.putVarInt32(10)
out.putPrefixedString(self.key_)
if (self.has_delta_):
out.putVarInt32(16)
out.putVarUint64(self.delta_)
if (self.has_direction_):
out.putVarInt32(24)
out.putVarInt32(self.direction_)
if (self.has_name_space_):
out.putVarInt32(34)
out.putPrefixedString(self.name_space_)
if (self.has_initial_value_):
out.putVarInt32(40)
out.putVarUint64(self.initial_value_)
if (self.has_initial_flags_):
out.putVarInt32(53)
out.put32(self.initial_flags_)
if (self.has_override_):
out.putVarInt32(58)
out.putVarInt32(self.override_.ByteSizePartial())
self.override_.OutputPartial(out)
def TryMerge(self, d):
while d.avail() > 0:
tt = d.getVarInt32()
if tt == 10:
self.set_key(d.getPrefixedString())
continue
if tt == 16:
self.set_delta(d.getVarUint64())
continue
if tt == 24:
self.set_direction(d.getVarInt32())
continue
if tt == 34:
self.set_name_space(d.getPrefixedString())
continue
if tt == 40:
self.set_initial_value(d.getVarUint64())
continue
if tt == 53:
self.set_initial_flags(d.get32())
continue
if tt == 58:
length = d.getVarInt32()
tmp = ProtocolBuffer.Decoder(d.buffer(), d.pos(), d.pos() + length)
d.skip(length)
self.mutable_override().TryMerge(tmp)
continue
if (tt == 0): raise ProtocolBuffer.ProtocolBufferDecodeError
d.skipData(tt)
def __str__(self, prefix="", printElemNumber=0):
res=""
if self.has_key_: res+=prefix+("key: %s\n" % self.DebugFormatString(self.key_))
if self.has_name_space_: res+=prefix+("name_space: %s\n" % self.DebugFormatString(self.name_space_))
if self.has_delta_: res+=prefix+("delta: %s\n" % self.DebugFormatInt64(self.delta_))
if self.has_direction_: res+=prefix+("direction: %s\n" % self.DebugFormatInt32(self.direction_))
if self.has_initial_value_: res+=prefix+("initial_value: %s\n" % self.DebugFormatInt64(self.initial_value_))
if self.has_initial_flags_: res+=prefix+("initial_flags: %s\n" % self.DebugFormatFixed32(self.initial_flags_))
if self.has_override_:
res+=prefix+"override <\n"
res+=self.override_.__str__(prefix + " ", printElemNumber)
res+=prefix+">\n"
return res
def _BuildTagLookupTable(sparse, maxtag, default=None):
return tuple([sparse.get(i, default) for i in range(0, 1+maxtag)])
kkey = 1
kname_space = 4
kdelta = 2
kdirection = 3
kinitial_value = 5
kinitial_flags = 6
koverride = 7
_TEXT = _BuildTagLookupTable({
0: "ErrorCode",
1: "key",
2: "delta",
3: "direction",
4: "name_space",
5: "initial_value",
6: "initial_flags",
7: "override",
}, 7)
_TYPES = _BuildTagLookupTable({
0: ProtocolBuffer.Encoder.NUMERIC,
1: ProtocolBuffer.Encoder.STRING,
2: ProtocolBuffer.Encoder.NUMERIC,
3: ProtocolBuffer.Encoder.NUMERIC,
4: ProtocolBuffer.Encoder.STRING,
5: ProtocolBuffer.Encoder.NUMERIC,
6: ProtocolBuffer.Encoder.FLOAT,
7: ProtocolBuffer.Encoder.STRING,
}, 7, ProtocolBuffer.Encoder.MAX_TYPE)
_STYLE = """"""
_STYLE_CONTENT_TYPE = """"""
_PROTO_DESCRIPTOR_NAME = 'apphosting.MemcacheIncrementRequest'
class MemcacheIncrementResponse(ProtocolBuffer.ProtocolMessage):
OK = 1
NOT_CHANGED = 2
ERROR = 3
_IncrementStatusCode_NAMES = {
1: "OK",
2: "NOT_CHANGED",
3: "ERROR",
}
def IncrementStatusCode_Name(cls, x): return cls._IncrementStatusCode_NAMES.get(x, "")
IncrementStatusCode_Name = classmethod(IncrementStatusCode_Name)
has_new_value_ = 0
new_value_ = 0
has_increment_status_ = 0
increment_status_ = 0
def __init__(self, contents=None):
if contents is not None: self.MergeFromString(contents)
def new_value(self): return self.new_value_
def set_new_value(self, x):
self.has_new_value_ = 1
self.new_value_ = x
def clear_new_value(self):
if self.has_new_value_:
self.has_new_value_ = 0
self.new_value_ = 0
def has_new_value(self): return self.has_new_value_
def increment_status(self): return self.increment_status_
def set_increment_status(self, x):
self.has_increment_status_ = 1
self.increment_status_ = x
def clear_increment_status(self):
if self.has_increment_status_:
self.has_increment_status_ = 0
self.increment_status_ = 0
def has_increment_status(self): return self.has_increment_status_
def MergeFrom(self, x):
assert x is not self
if (x.has_new_value()): self.set_new_value(x.new_value())
if (x.has_increment_status()): self.set_increment_status(x.increment_status())
def Equals(self, x):
if x is self: return 1
if self.has_new_value_ != x.has_new_value_: return 0
if self.has_new_value_ and self.new_value_ != x.new_value_: return 0
if self.has_increment_status_ != x.has_increment_status_: return 0
if self.has_increment_status_ and self.increment_status_ != x.increment_status_: return 0
return 1
def IsInitialized(self, debug_strs=None):
initialized = 1
return initialized
def ByteSize(self):
n = 0
if (self.has_new_value_): n += 1 + self.lengthVarInt64(self.new_value_)
if (self.has_increment_status_): n += 1 + self.lengthVarInt64(self.increment_status_)
return n
def ByteSizePartial(self):
n = 0
if (self.has_new_value_): n += 1 + self.lengthVarInt64(self.new_value_)
if (self.has_increment_status_): n += 1 + self.lengthVarInt64(self.increment_status_)
return n
def Clear(self):
self.clear_new_value()
self.clear_increment_status()
def OutputUnchecked(self, out):
if (self.has_new_value_):
out.putVarInt32(8)
out.putVarUint64(self.new_value_)
if (self.has_increment_status_):
out.putVarInt32(16)
out.putVarInt32(self.increment_status_)
def OutputPartial(self, out):
if (self.has_new_value_):
out.putVarInt32(8)
out.putVarUint64(self.new_value_)
if (self.has_increment_status_):
out.putVarInt32(16)
out.putVarInt32(self.increment_status_)
def TryMerge(self, d):
while d.avail() > 0:
tt = d.getVarInt32()
if tt == 8:
self.set_new_value(d.getVarUint64())
continue
if tt == 16:
self.set_increment_status(d.getVarInt32())
continue
if (tt == 0): raise ProtocolBuffer.ProtocolBufferDecodeError
d.skipData(tt)
def __str__(self, prefix="", printElemNumber=0):
res=""
if self.has_new_value_: res+=prefix+("new_value: %s\n" % self.DebugFormatInt64(self.new_value_))
if self.has_increment_status_: res+=prefix+("increment_status: %s\n" % self.DebugFormatInt32(self.increment_status_))
return res
def _BuildTagLookupTable(sparse, maxtag, default=None):
return tuple([sparse.get(i, default) for i in range(0, 1+maxtag)])
knew_value = 1
kincrement_status = 2
_TEXT = _BuildTagLookupTable({
0: "ErrorCode",
1: "new_value",
2: "increment_status",
}, 2)
_TYPES = _BuildTagLookupTable({
0: ProtocolBuffer.Encoder.NUMERIC,
1: ProtocolBuffer.Encoder.NUMERIC,
2: ProtocolBuffer.Encoder.NUMERIC,
}, 2, ProtocolBuffer.Encoder.MAX_TYPE)
_STYLE = """"""
_STYLE_CONTENT_TYPE = """"""
_PROTO_DESCRIPTOR_NAME = 'apphosting.MemcacheIncrementResponse'
class MemcacheBatchIncrementRequest(ProtocolBuffer.ProtocolMessage):
has_name_space_ = 0
name_space_ = ""
has_override_ = 0
override_ = None
def __init__(self, contents=None):
self.item_ = []
self.lazy_init_lock_ = thread.allocate_lock()
if contents is not None: self.MergeFromString(contents)
def name_space(self): return self.name_space_
def set_name_space(self, x):
self.has_name_space_ = 1
self.name_space_ = x
def clear_name_space(self):
if self.has_name_space_:
self.has_name_space_ = 0
self.name_space_ = ""
def has_name_space(self): return self.has_name_space_
def item_size(self): return len(self.item_)
def item_list(self): return self.item_
def item(self, i):
return self.item_[i]
def mutable_item(self, i):
return self.item_[i]
def add_item(self):
x = MemcacheIncrementRequest()
self.item_.append(x)
return x
def clear_item(self):
self.item_ = []
def override(self):
if self.override_ is None:
self.lazy_init_lock_.acquire()
try:
if self.override_ is None: self.override_ = AppOverride()
finally:
self.lazy_init_lock_.release()
return self.override_
def mutable_override(self): self.has_override_ = 1; return self.override()
def clear_override(self):
if self.has_override_:
self.has_override_ = 0;
if self.override_ is not None: self.override_.Clear()
def has_override(self): return self.has_override_
def MergeFrom(self, x):
assert x is not self
if (x.has_name_space()): self.set_name_space(x.name_space())
for i in range(x.item_size()): self.add_item().CopyFrom(x.item(i))
if (x.has_override()): self.mutable_override().MergeFrom(x.override())
def Equals(self, x):
if x is self: return 1
if self.has_name_space_ != x.has_name_space_: return 0
if self.has_name_space_ and self.name_space_ != x.name_space_: return 0
if len(self.item_) != len(x.item_): return 0
for e1, e2 in zip(self.item_, x.item_):
if e1 != e2: return 0
if self.has_override_ != x.has_override_: return 0
if self.has_override_ and self.override_ != x.override_: return 0
return 1
def IsInitialized(self, debug_strs=None):
initialized = 1
for p in self.item_:
if not p.IsInitialized(debug_strs): initialized=0
if (self.has_override_ and not self.override_.IsInitialized(debug_strs)): initialized = 0
return initialized
def ByteSize(self):
n = 0
if (self.has_name_space_): n += 1 + self.lengthString(len(self.name_space_))
n += 1 * len(self.item_)
for i in range(len(self.item_)): n += self.lengthString(self.item_[i].ByteSize())
if (self.has_override_): n += 1 + self.lengthString(self.override_.ByteSize())
return n
def ByteSizePartial(self):
n = 0
if (self.has_name_space_): n += 1 + self.lengthString(len(self.name_space_))
n += 1 * len(self.item_)
for i in range(len(self.item_)): n += self.lengthString(self.item_[i].ByteSizePartial())
if (self.has_override_): n += 1 + self.lengthString(self.override_.ByteSizePartial())
return n
def Clear(self):
self.clear_name_space()
self.clear_item()
self.clear_override()
def OutputUnchecked(self, out):
if (self.has_name_space_):
out.putVarInt32(10)
out.putPrefixedString(self.name_space_)
for i in range(len(self.item_)):
out.putVarInt32(18)
out.putVarInt32(self.item_[i].ByteSize())
self.item_[i].OutputUnchecked(out)
if (self.has_override_):
out.putVarInt32(26)
out.putVarInt32(self.override_.ByteSize())
self.override_.OutputUnchecked(out)
def OutputPartial(self, out):
if (self.has_name_space_):
out.putVarInt32(10)
out.putPrefixedString(self.name_space_)
for i in range(len(self.item_)):
out.putVarInt32(18)
out.putVarInt32(self.item_[i].ByteSizePartial())
self.item_[i].OutputPartial(out)
if (self.has_override_):
out.putVarInt32(26)
out.putVarInt32(self.override_.ByteSizePartial())
self.override_.OutputPartial(out)
def TryMerge(self, d):
while d.avail() > 0:
tt = d.getVarInt32()
if tt == 10:
self.set_name_space(d.getPrefixedString())
continue
if tt == 18:
length = d.getVarInt32()
tmp = ProtocolBuffer.Decoder(d.buffer(), d.pos(), d.pos() + length)
d.skip(length)
self.add_item().TryMerge(tmp)
continue
if tt == 26:
length = d.getVarInt32()
tmp = ProtocolBuffer.Decoder(d.buffer(), d.pos(), d.pos() + length)
d.skip(length)
self.mutable_override().TryMerge(tmp)
continue
if (tt == 0): raise ProtocolBuffer.ProtocolBufferDecodeError
d.skipData(tt)
def __str__(self, prefix="", printElemNumber=0):
res=""
if self.has_name_space_: res+=prefix+("name_space: %s\n" % self.DebugFormatString(self.name_space_))
cnt=0
for e in self.item_:
elm=""
if printElemNumber: elm="(%d)" % cnt
res+=prefix+("item%s <\n" % elm)
res+=e.__str__(prefix + " ", printElemNumber)
res+=prefix+">\n"
cnt+=1
if self.has_override_:
res+=prefix+"override <\n"
res+=self.override_.__str__(prefix + " ", printElemNumber)
res+=prefix+">\n"
return res
def _BuildTagLookupTable(sparse, maxtag, default=None):
return tuple([sparse.get(i, default) for i in range(0, 1+maxtag)])
kname_space = 1
kitem = 2
koverride = 3
_TEXT = _BuildTagLookupTable({
0: "ErrorCode",
1: "name_space",
2: "item",
3: "override",
}, 3)
_TYPES = _BuildTagLookupTable({
0: ProtocolBuffer.Encoder.NUMERIC,
1: ProtocolBuffer.Encoder.STRING,
2: ProtocolBuffer.Encoder.STRING,
3: ProtocolBuffer.Encoder.STRING,
}, 3, ProtocolBuffer.Encoder.MAX_TYPE)
_STYLE = """"""
_STYLE_CONTENT_TYPE = """"""
_PROTO_DESCRIPTOR_NAME = 'apphosting.MemcacheBatchIncrementRequest'
class MemcacheBatchIncrementResponse(ProtocolBuffer.ProtocolMessage):
def __init__(self, contents=None):
self.item_ = []
if contents is not None: self.MergeFromString(contents)
def item_size(self): return len(self.item_)
def item_list(self): return self.item_
def item(self, i):
return self.item_[i]
def mutable_item(self, i):
return self.item_[i]
def add_item(self):
x = MemcacheIncrementResponse()
self.item_.append(x)
return x
def clear_item(self):
self.item_ = []
def MergeFrom(self, x):
assert x is not self
for i in range(x.item_size()): self.add_item().CopyFrom(x.item(i))
def Equals(self, x):
if x is self: return 1
if len(self.item_) != len(x.item_): return 0
for e1, e2 in zip(self.item_, x.item_):
if e1 != e2: return 0
return 1
def IsInitialized(self, debug_strs=None):
initialized = 1
for p in self.item_:
if not p.IsInitialized(debug_strs): initialized=0
return initialized
def ByteSize(self):
n = 0
n += 1 * len(self.item_)
for i in range(len(self.item_)): n += self.lengthString(self.item_[i].ByteSize())
return n
def ByteSizePartial(self):
n = 0
n += 1 * len(self.item_)
for i in range(len(self.item_)): n += self.lengthString(self.item_[i].ByteSizePartial())
return n
def Clear(self):
self.clear_item()
def OutputUnchecked(self, out):
for i in range(len(self.item_)):
out.putVarInt32(10)
out.putVarInt32(self.item_[i].ByteSize())
self.item_[i].OutputUnchecked(out)
def OutputPartial(self, out):
for i in range(len(self.item_)):
out.putVarInt32(10)
out.putVarInt32(self.item_[i].ByteSizePartial())
self.item_[i].OutputPartial(out)
def TryMerge(self, d):
while d.avail() > 0:
tt = d.getVarInt32()
if tt == 10:
length = d.getVarInt32()
tmp = ProtocolBuffer.Decoder(d.buffer(), d.pos(), d.pos() + length)
d.skip(length)
self.add_item().TryMerge(tmp)
continue
if (tt == 0): raise ProtocolBuffer.ProtocolBufferDecodeError
d.skipData(tt)
def __str__(self, prefix="", printElemNumber=0):
res=""
cnt=0
for e in self.item_:
elm=""
if printElemNumber: elm="(%d)" % cnt
res+=prefix+("item%s <\n" % elm)
res+=e.__str__(prefix + " ", printElemNumber)
res+=prefix+">\n"
cnt+=1
return res
def _BuildTagLookupTable(sparse, maxtag, default=None):
return tuple([sparse.get(i, default) for i in range(0, 1+maxtag)])
kitem = 1
_TEXT = _BuildTagLookupTable({
0: "ErrorCode",
1: "item",
}, 1)
_TYPES = _BuildTagLookupTable({
0: ProtocolBuffer.Encoder.NUMERIC,
1: ProtocolBuffer.Encoder.STRING,
}, 1, ProtocolBuffer.Encoder.MAX_TYPE)
_STYLE = """"""
_STYLE_CONTENT_TYPE = """"""
_PROTO_DESCRIPTOR_NAME = 'apphosting.MemcacheBatchIncrementResponse'
class MemcacheFlushRequest(ProtocolBuffer.ProtocolMessage):
has_override_ = 0
override_ = None
def __init__(self, contents=None):
self.lazy_init_lock_ = thread.allocate_lock()
if contents is not None: self.MergeFromString(contents)
def override(self):
if self.override_ is None:
self.lazy_init_lock_.acquire()
try:
if self.override_ is None: self.override_ = AppOverride()
finally:
self.lazy_init_lock_.release()
return self.override_
def mutable_override(self): self.has_override_ = 1; return self.override()
def clear_override(self):
if self.has_override_:
self.has_override_ = 0;
if self.override_ is not None: self.override_.Clear()
def has_override(self): return self.has_override_
def MergeFrom(self, x):
assert x is not self
if (x.has_override()): self.mutable_override().MergeFrom(x.override())
def Equals(self, x):
if x is self: return 1
if self.has_override_ != x.has_override_: return 0
if self.has_override_ and self.override_ != x.override_: return 0
return 1
def IsInitialized(self, debug_strs=None):
initialized = 1
if (self.has_override_ and not self.override_.IsInitialized(debug_strs)): initialized = 0
return initialized
def ByteSize(self):
n = 0
if (self.has_override_): n += 1 + self.lengthString(self.override_.ByteSize())
return n
def ByteSizePartial(self):
n = 0
if (self.has_override_): n += 1 + self.lengthString(self.override_.ByteSizePartial())
return n
def Clear(self):
self.clear_override()
def OutputUnchecked(self, out):
if (self.has_override_):
out.putVarInt32(10)
out.putVarInt32(self.override_.ByteSize())
self.override_.OutputUnchecked(out)
def OutputPartial(self, out):
if (self.has_override_):
out.putVarInt32(10)
out.putVarInt32(self.override_.ByteSizePartial())
self.override_.OutputPartial(out)
def TryMerge(self, d):
while d.avail() > 0:
tt = d.getVarInt32()
if tt == 10:
length = d.getVarInt32()
tmp = ProtocolBuffer.Decoder(d.buffer(), d.pos(), d.pos() + length)
d.skip(length)
self.mutable_override().TryMerge(tmp)
continue
if (tt == 0): raise ProtocolBuffer.ProtocolBufferDecodeError
d.skipData(tt)
def __str__(self, prefix="", printElemNumber=0):
res=""
if self.has_override_:
res+=prefix+"override <\n"
res+=self.override_.__str__(prefix + " ", printElemNumber)
res+=prefix+">\n"
return res
def _BuildTagLookupTable(sparse, maxtag, default=None):
return tuple([sparse.get(i, default) for i in range(0, 1+maxtag)])
koverride = 1
_TEXT = _BuildTagLookupTable({
0: "ErrorCode",
1: "override",
}, 1)
_TYPES = _BuildTagLookupTable({
0: ProtocolBuffer.Encoder.NUMERIC,
1: ProtocolBuffer.Encoder.STRING,
}, 1, ProtocolBuffer.Encoder.MAX_TYPE)
_STYLE = """"""
_STYLE_CONTENT_TYPE = """"""
_PROTO_DESCRIPTOR_NAME = 'apphosting.MemcacheFlushRequest'
class MemcacheFlushResponse(ProtocolBuffer.ProtocolMessage):
def __init__(self, contents=None):
pass
if contents is not None: self.MergeFromString(contents)
def MergeFrom(self, x):
assert x is not self
def Equals(self, x):
if x is self: return 1
return 1
def IsInitialized(self, debug_strs=None):
initialized = 1
return initialized
def ByteSize(self):
n = 0
return n
def ByteSizePartial(self):
n = 0
return n
def Clear(self):
pass
def OutputUnchecked(self, out):
pass
def OutputPartial(self, out):
pass
def TryMerge(self, d):
while d.avail() > 0:
tt = d.getVarInt32()
if (tt == 0): raise ProtocolBuffer.ProtocolBufferDecodeError
d.skipData(tt)
def __str__(self, prefix="", printElemNumber=0):
res=""
return res
def _BuildTagLookupTable(sparse, maxtag, default=None):
return tuple([sparse.get(i, default) for i in range(0, 1+maxtag)])
_TEXT = _BuildTagLookupTable({
0: "ErrorCode",
}, 0)
_TYPES = _BuildTagLookupTable({
0: ProtocolBuffer.Encoder.NUMERIC,
}, 0, ProtocolBuffer.Encoder.MAX_TYPE)
_STYLE = """"""
_STYLE_CONTENT_TYPE = """"""
_PROTO_DESCRIPTOR_NAME = 'apphosting.MemcacheFlushResponse'
class MemcacheStatsRequest(ProtocolBuffer.ProtocolMessage):
has_override_ = 0
override_ = None
def __init__(self, contents=None):
self.lazy_init_lock_ = thread.allocate_lock()
if contents is not None: self.MergeFromString(contents)
def override(self):
if self.override_ is None:
self.lazy_init_lock_.acquire()
try:
if self.override_ is None: self.override_ = AppOverride()
finally:
self.lazy_init_lock_.release()
return self.override_
def mutable_override(self): self.has_override_ = 1; return self.override()
def clear_override(self):
if self.has_override_:
self.has_override_ = 0;
if self.override_ is not None: self.override_.Clear()
def has_override(self): return self.has_override_
def MergeFrom(self, x):
assert x is not self
if (x.has_override()): self.mutable_override().MergeFrom(x.override())
def Equals(self, x):
if x is self: return 1
if self.has_override_ != x.has_override_: return 0
if self.has_override_ and self.override_ != x.override_: return 0
return 1
def IsInitialized(self, debug_strs=None):
initialized = 1
if (self.has_override_ and not self.override_.IsInitialized(debug_strs)): initialized = 0
return initialized
def ByteSize(self):
n = 0
if (self.has_override_): n += 1 + self.lengthString(self.override_.ByteSize())
return n
def ByteSizePartial(self):
n = 0
if (self.has_override_): n += 1 + self.lengthString(self.override_.ByteSizePartial())
return n
def Clear(self):
self.clear_override()
def OutputUnchecked(self, out):
if (self.has_override_):
out.putVarInt32(10)
out.putVarInt32(self.override_.ByteSize())
self.override_.OutputUnchecked(out)
def OutputPartial(self, out):
if (self.has_override_):
out.putVarInt32(10)
out.putVarInt32(self.override_.ByteSizePartial())
self.override_.OutputPartial(out)
def TryMerge(self, d):
while d.avail() > 0:
tt = d.getVarInt32()
if tt == 10:
length = d.getVarInt32()
tmp = ProtocolBuffer.Decoder(d.buffer(), d.pos(), d.pos() + length)
d.skip(length)
self.mutable_override().TryMerge(tmp)
continue
if (tt == 0): raise ProtocolBuffer.ProtocolBufferDecodeError
d.skipData(tt)
def __str__(self, prefix="", printElemNumber=0):
res=""
if self.has_override_:
res+=prefix+"override <\n"
res+=self.override_.__str__(prefix + " ", printElemNumber)
res+=prefix+">\n"
return res
def _BuildTagLookupTable(sparse, maxtag, default=None):
return tuple([sparse.get(i, default) for i in range(0, 1+maxtag)])
koverride = 1
_TEXT = _BuildTagLookupTable({
0: "ErrorCode",
1: "override",
}, 1)
_TYPES = _BuildTagLookupTable({
0: ProtocolBuffer.Encoder.NUMERIC,
1: ProtocolBuffer.Encoder.STRING,
}, 1, ProtocolBuffer.Encoder.MAX_TYPE)
_STYLE = """"""
_STYLE_CONTENT_TYPE = """"""
_PROTO_DESCRIPTOR_NAME = 'apphosting.MemcacheStatsRequest'
class MergedNamespaceStats(ProtocolBuffer.ProtocolMessage):
has_hits_ = 0
hits_ = 0
has_misses_ = 0
misses_ = 0
has_byte_hits_ = 0
byte_hits_ = 0
has_items_ = 0
items_ = 0
has_bytes_ = 0
bytes_ = 0
has_oldest_item_age_ = 0
oldest_item_age_ = 0
def __init__(self, contents=None):
if contents is not None: self.MergeFromString(contents)
def hits(self): return self.hits_
def set_hits(self, x):
self.has_hits_ = 1
self.hits_ = x
def clear_hits(self):
if self.has_hits_:
self.has_hits_ = 0
self.hits_ = 0
def has_hits(self): return self.has_hits_
def misses(self): return self.misses_
def set_misses(self, x):
self.has_misses_ = 1
self.misses_ = x
def clear_misses(self):
if self.has_misses_:
self.has_misses_ = 0
self.misses_ = 0
def has_misses(self): return self.has_misses_
def byte_hits(self): return self.byte_hits_
def set_byte_hits(self, x):
self.has_byte_hits_ = 1
self.byte_hits_ = x
def clear_byte_hits(self):
if self.has_byte_hits_:
self.has_byte_hits_ = 0
self.byte_hits_ = 0
def has_byte_hits(self): return self.has_byte_hits_
def items(self): return self.items_
def set_items(self, x):
self.has_items_ = 1
self.items_ = x
def clear_items(self):
if self.has_items_:
self.has_items_ = 0
self.items_ = 0
def has_items(self): return self.has_items_
def bytes(self): return self.bytes_
def set_bytes(self, x):
self.has_bytes_ = 1
self.bytes_ = x
def clear_bytes(self):
if self.has_bytes_:
self.has_bytes_ = 0
self.bytes_ = 0
def has_bytes(self): return self.has_bytes_
def oldest_item_age(self): return self.oldest_item_age_
def set_oldest_item_age(self, x):
self.has_oldest_item_age_ = 1
self.oldest_item_age_ = x
def clear_oldest_item_age(self):
if self.has_oldest_item_age_:
self.has_oldest_item_age_ = 0
self.oldest_item_age_ = 0
def has_oldest_item_age(self): return self.has_oldest_item_age_
def MergeFrom(self, x):
assert x is not self
if (x.has_hits()): self.set_hits(x.hits())
if (x.has_misses()): self.set_misses(x.misses())
if (x.has_byte_hits()): self.set_byte_hits(x.byte_hits())
if (x.has_items()): self.set_items(list(x.items()))
if (x.has_bytes()): self.set_bytes(x.bytes())
if (x.has_oldest_item_age()): self.set_oldest_item_age(x.oldest_item_age())
def Equals(self, x):
if x is self: return 1
if self.has_hits_ != x.has_hits_: return 0
if self.has_hits_ and self.hits_ != x.hits_: return 0
if self.has_misses_ != x.has_misses_: return 0
if self.has_misses_ and self.misses_ != x.misses_: return 0
if self.has_byte_hits_ != x.has_byte_hits_: return 0
if self.has_byte_hits_ and self.byte_hits_ != x.byte_hits_: return 0
if self.has_items_ != x.has_items_: return 0
if self.has_items_ and self.items_ != x.items_: return 0
if self.has_bytes_ != x.has_bytes_: return 0
if self.has_bytes_ and self.bytes_ != x.bytes_: return 0
if self.has_oldest_item_age_ != x.has_oldest_item_age_: return 0
if self.has_oldest_item_age_ and self.oldest_item_age_ != x.oldest_item_age_: return 0
return 1
def IsInitialized(self, debug_strs=None):
initialized = 1
if (not self.has_hits_):
initialized = 0
if debug_strs is not None:
debug_strs.append('Required field: hits not set.')
if (not self.has_misses_):
initialized = 0
if debug_strs is not None:
debug_strs.append('Required field: misses not set.')
if (not self.has_byte_hits_):
initialized = 0
if debug_strs is not None:
debug_strs.append('Required field: byte_hits not set.')
if (not self.has_items_):
initialized = 0
if debug_strs is not None:
debug_strs.append('Required field: items not set.')
if (not self.has_bytes_):
initialized = 0
if debug_strs is not None:
debug_strs.append('Required field: bytes not set.')
if (not self.has_oldest_item_age_):
initialized = 0
if debug_strs is not None:
debug_strs.append('Required field: oldest_item_age not set.')
return initialized
def ByteSize(self):
n = 0
n += self.lengthVarInt64(self.hits_)
n += self.lengthVarInt64(self.misses_)
n += self.lengthVarInt64(self.byte_hits_)
n += self.lengthVarInt64(self.items_)
n += self.lengthVarInt64(self.bytes_)
return n + 10
def ByteSizePartial(self):
n = 0
if (self.has_hits_):
n += 1
n += self.lengthVarInt64(self.hits_)
if (self.has_misses_):
n += 1
n += self.lengthVarInt64(self.misses_)
if (self.has_byte_hits_):
n += 1
n += self.lengthVarInt64(self.byte_hits_)
if (self.has_items_):
n += 1
n += self.lengthVarInt64(self.items_)
if (self.has_bytes_):
n += 1
n += self.lengthVarInt64(self.bytes_)
if (self.has_oldest_item_age_):
n += 5
return n
def Clear(self):
self.clear_hits()
self.clear_misses()
self.clear_byte_hits()
self.clear_items()
self.clear_bytes()
self.clear_oldest_item_age()
def OutputUnchecked(self, out):
out.putVarInt32(8)
out.putVarUint64(self.hits_)
out.putVarInt32(16)
out.putVarUint64(self.misses_)
out.putVarInt32(24)
out.putVarUint64(self.byte_hits_)
out.putVarInt32(32)
out.putVarUint64(self.items_)
out.putVarInt32(40)
out.putVarUint64(self.bytes_)
out.putVarInt32(53)
out.put32(self.oldest_item_age_)
def OutputPartial(self, out):
if (self.has_hits_):
out.putVarInt32(8)
out.putVarUint64(self.hits_)
if (self.has_misses_):
out.putVarInt32(16)
out.putVarUint64(self.misses_)
if (self.has_byte_hits_):
out.putVarInt32(24)
out.putVarUint64(self.byte_hits_)
if (self.has_items_):
out.putVarInt32(32)
out.putVarUint64(self.items_)
if (self.has_bytes_):
out.putVarInt32(40)
out.putVarUint64(self.bytes_)
if (self.has_oldest_item_age_):
out.putVarInt32(53)
out.put32(self.oldest_item_age_)
def TryMerge(self, d):
while d.avail() > 0:
tt = d.getVarInt32()
if tt == 8:
self.set_hits(d.getVarUint64())
continue
if tt == 16:
self.set_misses(d.getVarUint64())
continue
if tt == 24:
self.set_byte_hits(d.getVarUint64())
continue
if tt == 32:
self.set_items(d.getVarUint64())
continue
if tt == 40:
self.set_bytes(d.getVarUint64())
continue
if tt == 53:
self.set_oldest_item_age(d.get32())
continue
if (tt == 0): raise ProtocolBuffer.ProtocolBufferDecodeError
d.skipData(tt)
def __str__(self, prefix="", printElemNumber=0):
res=""
if self.has_hits_: res+=prefix+("hits: %s\n" % self.DebugFormatInt64(self.hits_))
if self.has_misses_: res+=prefix+("misses: %s\n" % self.DebugFormatInt64(self.misses_))
if self.has_byte_hits_: res+=prefix+("byte_hits: %s\n" % self.DebugFormatInt64(self.byte_hits_))
if self.has_items_: res+=prefix+("items: %s\n" % self.DebugFormatInt64(self.items_))
if self.has_bytes_: res+=prefix+("bytes: %s\n" % self.DebugFormatInt64(self.bytes_))
if self.has_oldest_item_age_: res+=prefix+("oldest_item_age: %s\n" % self.DebugFormatFixed32(self.oldest_item_age_))
return res
def _BuildTagLookupTable(sparse, maxtag, default=None):
return tuple([sparse.get(i, default) for i in range(0, 1+maxtag)])
khits = 1
kmisses = 2
kbyte_hits = 3
kitems = 4
kbytes = 5
koldest_item_age = 6
_TEXT = _BuildTagLookupTable({
0: "ErrorCode",
1: "hits",
2: "misses",
3: "byte_hits",
4: "items",
5: "bytes",
6: "oldest_item_age",
}, 6)
_TYPES = _BuildTagLookupTable({
0: ProtocolBuffer.Encoder.NUMERIC,
1: ProtocolBuffer.Encoder.NUMERIC,
2: ProtocolBuffer.Encoder.NUMERIC,
3: ProtocolBuffer.Encoder.NUMERIC,
4: ProtocolBuffer.Encoder.NUMERIC,
5: ProtocolBuffer.Encoder.NUMERIC,
6: ProtocolBuffer.Encoder.FLOAT,
}, 6, ProtocolBuffer.Encoder.MAX_TYPE)
_STYLE = """"""
_STYLE_CONTENT_TYPE = """"""
_PROTO_DESCRIPTOR_NAME = 'apphosting.MergedNamespaceStats'
class MemcacheStatsResponse(ProtocolBuffer.ProtocolMessage):
has_stats_ = 0
stats_ = None
def __init__(self, contents=None):
self.lazy_init_lock_ = thread.allocate_lock()
if contents is not None: self.MergeFromString(contents)
def stats(self):
if self.stats_ is None:
self.lazy_init_lock_.acquire()
try:
if self.stats_ is None: self.stats_ = MergedNamespaceStats()
finally:
self.lazy_init_lock_.release()
return self.stats_
def mutable_stats(self): self.has_stats_ = 1; return self.stats()
def clear_stats(self):
if self.has_stats_:
self.has_stats_ = 0;
if self.stats_ is not None: self.stats_.Clear()
def has_stats(self): return self.has_stats_
def MergeFrom(self, x):
assert x is not self
if (x.has_stats()): self.mutable_stats().MergeFrom(x.stats())
def Equals(self, x):
if x is self: return 1
if self.has_stats_ != x.has_stats_: return 0
if self.has_stats_ and self.stats_ != x.stats_: return 0
return 1
def IsInitialized(self, debug_strs=None):
initialized = 1
if (self.has_stats_ and not self.stats_.IsInitialized(debug_strs)): initialized = 0
return initialized
def ByteSize(self):
n = 0
if (self.has_stats_): n += 1 + self.lengthString(self.stats_.ByteSize())
return n
def ByteSizePartial(self):
n = 0
if (self.has_stats_): n += 1 + self.lengthString(self.stats_.ByteSizePartial())
return n
def Clear(self):
self.clear_stats()
def OutputUnchecked(self, out):
if (self.has_stats_):
out.putVarInt32(10)
out.putVarInt32(self.stats_.ByteSize())
self.stats_.OutputUnchecked(out)
def OutputPartial(self, out):
if (self.has_stats_):
out.putVarInt32(10)
out.putVarInt32(self.stats_.ByteSizePartial())
self.stats_.OutputPartial(out)
def TryMerge(self, d):
while d.avail() > 0:
tt = d.getVarInt32()
if tt == 10:
length = d.getVarInt32()
tmp = ProtocolBuffer.Decoder(d.buffer(), d.pos(), d.pos() + length)
d.skip(length)
self.mutable_stats().TryMerge(tmp)
continue
if (tt == 0): raise ProtocolBuffer.ProtocolBufferDecodeError
d.skipData(tt)
def __str__(self, prefix="", printElemNumber=0):
res=""
if self.has_stats_:
res+=prefix+"stats <\n"
res+=self.stats_.__str__(prefix + " ", printElemNumber)
res+=prefix+">\n"
return res
def _BuildTagLookupTable(sparse, maxtag, default=None):
return tuple([sparse.get(i, default) for i in range(0, 1+maxtag)])
kstats = 1
_TEXT = _BuildTagLookupTable({
0: "ErrorCode",
1: "stats",
}, 1)
_TYPES = _BuildTagLookupTable({
0: ProtocolBuffer.Encoder.NUMERIC,
1: ProtocolBuffer.Encoder.STRING,
}, 1, ProtocolBuffer.Encoder.MAX_TYPE)
_STYLE = """"""
_STYLE_CONTENT_TYPE = """"""
_PROTO_DESCRIPTOR_NAME = 'apphosting.MemcacheStatsResponse'
class MemcacheGrabTailRequest(ProtocolBuffer.ProtocolMessage):
has_item_count_ = 0
item_count_ = 0
has_name_space_ = 0
name_space_ = ""
has_override_ = 0
override_ = None
def __init__(self, contents=None):
self.lazy_init_lock_ = thread.allocate_lock()
if contents is not None: self.MergeFromString(contents)
def item_count(self): return self.item_count_
def set_item_count(self, x):
self.has_item_count_ = 1
self.item_count_ = x
def clear_item_count(self):
if self.has_item_count_:
self.has_item_count_ = 0
self.item_count_ = 0
def has_item_count(self): return self.has_item_count_
def name_space(self): return self.name_space_
def set_name_space(self, x):
self.has_name_space_ = 1
self.name_space_ = x
def clear_name_space(self):
if self.has_name_space_:
self.has_name_space_ = 0
self.name_space_ = ""
def has_name_space(self): return self.has_name_space_
def override(self):
if self.override_ is None:
self.lazy_init_lock_.acquire()
try:
if self.override_ is None: self.override_ = AppOverride()
finally:
self.lazy_init_lock_.release()
return self.override_
def mutable_override(self): self.has_override_ = 1; return self.override()
def clear_override(self):
if self.has_override_:
self.has_override_ = 0;
if self.override_ is not None: self.override_.Clear()
def has_override(self): return self.has_override_
def MergeFrom(self, x):
assert x is not self
if (x.has_item_count()): self.set_item_count(x.item_count())
if (x.has_name_space()): self.set_name_space(x.name_space())
if (x.has_override()): self.mutable_override().MergeFrom(x.override())
def Equals(self, x):
if x is self: return 1
if self.has_item_count_ != x.has_item_count_: return 0
if self.has_item_count_ and self.item_count_ != x.item_count_: return 0
if self.has_name_space_ != x.has_name_space_: return 0
if self.has_name_space_ and self.name_space_ != x.name_space_: return 0
if self.has_override_ != x.has_override_: return 0
if self.has_override_ and self.override_ != x.override_: return 0
return 1
def IsInitialized(self, debug_strs=None):
initialized = 1
if (not self.has_item_count_):
initialized = 0
if debug_strs is not None:
debug_strs.append('Required field: item_count not set.')
if (self.has_override_ and not self.override_.IsInitialized(debug_strs)): initialized = 0
return initialized
def ByteSize(self):
n = 0
n += self.lengthVarInt64(self.item_count_)
if (self.has_name_space_): n += 1 + self.lengthString(len(self.name_space_))
if (self.has_override_): n += 1 + self.lengthString(self.override_.ByteSize())
return n + 1
def ByteSizePartial(self):
n = 0
if (self.has_item_count_):
n += 1
n += self.lengthVarInt64(self.item_count_)
if (self.has_name_space_): n += 1 + self.lengthString(len(self.name_space_))
if (self.has_override_): n += 1 + self.lengthString(self.override_.ByteSizePartial())
return n
def Clear(self):
self.clear_item_count()
self.clear_name_space()
self.clear_override()
def OutputUnchecked(self, out):
out.putVarInt32(8)
out.putVarInt32(self.item_count_)
if (self.has_name_space_):
out.putVarInt32(18)
out.putPrefixedString(self.name_space_)
if (self.has_override_):
out.putVarInt32(26)
out.putVarInt32(self.override_.ByteSize())
self.override_.OutputUnchecked(out)
def OutputPartial(self, out):
if (self.has_item_count_):
out.putVarInt32(8)
out.putVarInt32(self.item_count_)
if (self.has_name_space_):
out.putVarInt32(18)
out.putPrefixedString(self.name_space_)
if (self.has_override_):
out.putVarInt32(26)
out.putVarInt32(self.override_.ByteSizePartial())
self.override_.OutputPartial(out)
def TryMerge(self, d):
while d.avail() > 0:
tt = d.getVarInt32()
if tt == 8:
self.set_item_count(d.getVarInt32())
continue
if tt == 18:
self.set_name_space(d.getPrefixedString())
continue
if tt == 26:
length = d.getVarInt32()
tmp = ProtocolBuffer.Decoder(d.buffer(), d.pos(), d.pos() + length)
d.skip(length)
self.mutable_override().TryMerge(tmp)
continue
if (tt == 0): raise ProtocolBuffer.ProtocolBufferDecodeError
d.skipData(tt)
def __str__(self, prefix="", printElemNumber=0):
res=""
if self.has_item_count_: res+=prefix+("item_count: %s\n" % self.DebugFormatInt32(self.item_count_))
if self.has_name_space_: res+=prefix+("name_space: %s\n" % self.DebugFormatString(self.name_space_))
if self.has_override_:
res+=prefix+"override <\n"
res+=self.override_.__str__(prefix + " ", printElemNumber)
res+=prefix+">\n"
return res
def _BuildTagLookupTable(sparse, maxtag, default=None):
return tuple([sparse.get(i, default) for i in range(0, 1+maxtag)])
kitem_count = 1
kname_space = 2
koverride = 3
_TEXT = _BuildTagLookupTable({
0: "ErrorCode",
1: "item_count",
2: "name_space",
3: "override",
}, 3)
_TYPES = _BuildTagLookupTable({
0: ProtocolBuffer.Encoder.NUMERIC,
1: ProtocolBuffer.Encoder.NUMERIC,
2: ProtocolBuffer.Encoder.STRING,
3: ProtocolBuffer.Encoder.STRING,
}, 3, ProtocolBuffer.Encoder.MAX_TYPE)
_STYLE = """"""
_STYLE_CONTENT_TYPE = """"""
_PROTO_DESCRIPTOR_NAME = 'apphosting.MemcacheGrabTailRequest'
class MemcacheGrabTailResponse_Item(ProtocolBuffer.ProtocolMessage):
has_value_ = 0
value_ = ""
has_flags_ = 0
flags_ = 0
def __init__(self, contents=None):
if contents is not None: self.MergeFromString(contents)
def value(self): return self.value_
def set_value(self, x):
self.has_value_ = 1
self.value_ = x
def clear_value(self):
if self.has_value_:
self.has_value_ = 0
self.value_ = ""
def has_value(self): return self.has_value_
def flags(self): return self.flags_
def set_flags(self, x):
self.has_flags_ = 1
self.flags_ = x
def clear_flags(self):
if self.has_flags_:
self.has_flags_ = 0
self.flags_ = 0
def has_flags(self): return self.has_flags_
def MergeFrom(self, x):
assert x is not self
if (x.has_value()): self.set_value(x.value())
if (x.has_flags()): self.set_flags(x.flags())
def Equals(self, x):
if x is self: return 1
if self.has_value_ != x.has_value_: return 0
if self.has_value_ and self.value_ != x.value_: return 0
if self.has_flags_ != x.has_flags_: return 0
if self.has_flags_ and self.flags_ != x.flags_: return 0
return 1
def IsInitialized(self, debug_strs=None):
initialized = 1
if (not self.has_value_):
initialized = 0
if debug_strs is not None:
debug_strs.append('Required field: value not set.')
return initialized
def ByteSize(self):
n = 0
n += self.lengthString(len(self.value_))
if (self.has_flags_): n += 5
return n + 1
def ByteSizePartial(self):
n = 0
if (self.has_value_):
n += 1
n += self.lengthString(len(self.value_))
if (self.has_flags_): n += 5
return n
def Clear(self):
self.clear_value()
self.clear_flags()
def OutputUnchecked(self, out):
out.putVarInt32(18)
out.putPrefixedString(self.value_)
if (self.has_flags_):
out.putVarInt32(29)
out.put32(self.flags_)
def OutputPartial(self, out):
if (self.has_value_):
out.putVarInt32(18)
out.putPrefixedString(self.value_)
if (self.has_flags_):
out.putVarInt32(29)
out.put32(self.flags_)
def TryMerge(self, d):
while 1:
tt = d.getVarInt32()
if tt == 12: break
if tt == 18:
self.set_value(d.getPrefixedString())
continue
if tt == 29:
self.set_flags(d.get32())
continue
if (tt == 0): raise ProtocolBuffer.ProtocolBufferDecodeError
d.skipData(tt)
def __str__(self, prefix="", printElemNumber=0):
res=""
if self.has_value_: res+=prefix+("value: %s\n" % self.DebugFormatString(self.value_))
if self.has_flags_: res+=prefix+("flags: %s\n" % self.DebugFormatFixed32(self.flags_))
return res
class MemcacheGrabTailResponse(ProtocolBuffer.ProtocolMessage):
def __init__(self, contents=None):
self.item_ = []
if contents is not None: self.MergeFromString(contents)
def item_size(self): return len(self.item_)
def item_list(self): return self.item_
def item(self, i):
return self.item_[i]
def mutable_item(self, i):
return self.item_[i]
def add_item(self):
x = MemcacheGrabTailResponse_Item()
self.item_.append(x)
return x
def clear_item(self):
self.item_ = []
def MergeFrom(self, x):
assert x is not self
for i in range(x.item_size()): self.add_item().CopyFrom(x.item(i))
def Equals(self, x):
if x is self: return 1
if len(self.item_) != len(x.item_): return 0
for e1, e2 in zip(self.item_, x.item_):
if e1 != e2: return 0
return 1
def IsInitialized(self, debug_strs=None):
initialized = 1
for p in self.item_:
if not p.IsInitialized(debug_strs): initialized=0
return initialized
def ByteSize(self):
n = 0
n += 2 * len(self.item_)
for i in range(len(self.item_)): n += self.item_[i].ByteSize()
return n
def ByteSizePartial(self):
n = 0
n += 2 * len(self.item_)
for i in range(len(self.item_)): n += self.item_[i].ByteSizePartial()
return n
def Clear(self):
self.clear_item()
def OutputUnchecked(self, out):
for i in range(len(self.item_)):
out.putVarInt32(11)
self.item_[i].OutputUnchecked(out)
out.putVarInt32(12)
def OutputPartial(self, out):
for i in range(len(self.item_)):
out.putVarInt32(11)
self.item_[i].OutputPartial(out)
out.putVarInt32(12)
def TryMerge(self, d):
while d.avail() > 0:
tt = d.getVarInt32()
if tt == 11:
self.add_item().TryMerge(d)
continue
if (tt == 0): raise ProtocolBuffer.ProtocolBufferDecodeError
d.skipData(tt)
def __str__(self, prefix="", printElemNumber=0):
res=""
cnt=0
for e in self.item_:
elm=""
if printElemNumber: elm="(%d)" % cnt
res+=prefix+("Item%s {\n" % elm)
res+=e.__str__(prefix + " ", printElemNumber)
res+=prefix+"}\n"
cnt+=1
return res
def _BuildTagLookupTable(sparse, maxtag, default=None):
return tuple([sparse.get(i, default) for i in range(0, 1+maxtag)])
kItemGroup = 1
kItemvalue = 2
kItemflags = 3
_TEXT = _BuildTagLookupTable({
0: "ErrorCode",
1: "Item",
2: "value",
3: "flags",
}, 3)
_TYPES = _BuildTagLookupTable({
0: ProtocolBuffer.Encoder.NUMERIC,
1: ProtocolBuffer.Encoder.STARTGROUP,
2: ProtocolBuffer.Encoder.STRING,
3: ProtocolBuffer.Encoder.FLOAT,
}, 3, ProtocolBuffer.Encoder.MAX_TYPE)
_STYLE = """"""
_STYLE_CONTENT_TYPE = """"""
_PROTO_DESCRIPTOR_NAME = 'apphosting.MemcacheGrabTailResponse'
if _extension_runtime:
pass
__all__ = ['MemcacheServiceError','AppOverride','MemcacheGetRequest','MemcacheGetResponse','MemcacheGetResponse_Item','MemcacheSetRequest','MemcacheSetRequest_Item','MemcacheSetResponse','MemcacheDeleteRequest','MemcacheDeleteRequest_Item','MemcacheDeleteResponse','MemcacheIncrementRequest','MemcacheIncrementResponse','MemcacheBatchIncrementRequest','MemcacheBatchIncrementResponse','MemcacheFlushRequest','MemcacheFlushResponse','MemcacheStatsRequest','MergedNamespaceStats','MemcacheStatsResponse','MemcacheGrabTailRequest','MemcacheGrabTailResponse','MemcacheGrabTailResponse_Item']
| 28.414559
| 587
| 0.673722
| 15,254
| 110,078
| 4.569424
| 0.023273
| 0.055737
| 0.04997
| 0.015781
| 0.852156
| 0.797911
| 0.769045
| 0.739993
| 0.718071
| 0.705762
| 0
| 0.023611
| 0.20778
| 110,078
| 3,873
| 588
| 28.421895
| 0.775669
| 0.005169
| 0
| 0.77893
| 0
| 0
| 0.032267
| 0.010202
| 0
| 0
| 0
| 0
| 0.007455
| 1
| 0.173744
| false
| 0.002917
| 0.002593
| 0.048947
| 0.330956
| 0.015559
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
13f8e96d4250f993f368c56538f8f3a79287f74e
| 41,209
|
py
|
Python
|
py/dynesty/dynesty.py
|
segasai/dynesty
|
d7f9266badf43eee8d4d2e444ad7a1be4bd3952c
|
[
"MIT"
] | 253
|
2017-05-04T05:40:36.000Z
|
2022-03-27T07:23:00.000Z
|
py/dynesty/dynesty.py
|
segasai/dynesty
|
d7f9266badf43eee8d4d2e444ad7a1be4bd3952c
|
[
"MIT"
] | 345
|
2017-05-03T05:10:27.000Z
|
2022-03-31T23:50:54.000Z
|
py/dynesty/dynesty.py
|
segasai/dynesty
|
d7f9266badf43eee8d4d2e444ad7a1be4bd3952c
|
[
"MIT"
] | 76
|
2017-05-10T10:23:51.000Z
|
2022-03-24T16:16:35.000Z
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
The top-level interface (defined natively upon initialization) that
provides access to the two main sampler "super-classes" via
:meth:`NestedSampler` and :meth:`DynamicNestedSampler`.
"""
import sys
import warnings
import math
import traceback
import numpy as np
from .nestedsamplers import _SAMPLING
from .dynamicsampler import (DynamicSampler, __get_update_interval_ratio,
_SAMPLERS, sample_init)
from .utils import LogLikelihood, get_random_generator, get_enlarge_bootstrap
__all__ = ["NestedSampler", "DynamicNestedSampler", "_function_wrapper"]
_CITES = {'default': # default set of citations
"Code and Methods:\n================\n"
"Speagle (2020): "
"ui.adsabs.harvard.edu/abs/2019arXiv190402180S\n\n"
"Nested Sampling:\n===============\n"
"Skilling (2004): "
"ui.adsabs.harvard.edu/abs/2004AIPC..735..395S\n"
"Skilling (2006): "
"projecteuclid.org/euclid.ba/1340370944\n",
'dynamic': # dynamic nested sampling
"Dynamic Nested Sampling:\n=======================\n"
"Higson et al. (2019): "
"doi.org/10.1007/s11222-018-9844-0\n",
'none': "Bounding Method:\n===============\n", # no bound
'single': # single ellipsoid
"Bounding Method:\n===============\n"
"Mukherjee, Parkinson & Liddle (2006): "
"ui.adsabs.harvard.edu/abs/2006ApJ...638L..51M\n",
'multi': # multiple ellipsoids
"Bounding Method:\n===============\n"
"Feroz, Hobson & Bridges (2009): "
"ui.adsabs.harvard.edu/abs/2009MNRAS.398.1601F\n",
'balls': # overlapping balls
"Bounding Method:\n===============\n"
"Buchner (2016): "
"ui.adsabs.harvard.edu/abs/2014arXiv1407.5459B\n"
"Buchner (2017): "
"ui.adsabs.harvard.edu/abs/2017arXiv170704476B\n",
'cubes': # overlapping cubes
"Bounding Method:\n===============\n"
"Buchner (2016): "
"ui.adsabs.harvard.edu/abs/2014arXiv1407.5459B\n"
"Buchner (2017): "
"ui.adsabs.harvard.edu/abs/2017arXiv170704476B\n",
'unif': "Sampling Method:\n===============\n", # uniform sampling
'rwalk': # random walk
"Sampling Method:\n===============\n"
"Skilling (2006): "
"projecteuclid.org/euclid.ba/1340370944\n",
'slice': # multivariate slice
"Sampling Method:\n===============\n"
"Neal (2003): "
"projecteuclid.org/euclid.aos/1056562461\n"
"Handley, Hobson & Lasenby (2015a): "
"ui.adsabs.harvard.edu/abs/2015MNRAS.450L..61H\n"
"Handley, Hobson & Lasenby (2015b): "
"ui.adsabs.harvard.edu/abs/2015MNRAS.453.4384H\n",
'rslice': # random slice
"Sampling Method:\n===============\n"
"Neal (2003): "
"projecteuclid.org/euclid.aos/1056562461\n"
"Handley, Hobson & Lasenby (2015a): "
"ui.adsabs.harvard.edu/abs/2015MNRAS.450L..61H\n"
"Handley, Hobson & Lasenby (2015b): "
"ui.adsabs.harvard.edu/abs/2015MNRAS.453.4384H\n",
'hslice': # "hamiltonian" slice
"Sampling Method:\n===============\n"
"Neal (2003): "
"projecteuclid.org/euclid.aos/1056562461\n"
"Skilling (2012): "
"aip.scitation.org/doi/abs/10.1063/1.3703630\n"
"Feroz & Skilling (2013): "
"ui.adsabs.harvard.edu/abs/2013AIPC.1553..106F\n"
"Speagle (2020): "
"ui.adsabs.harvard.edu/abs/2019arXiv190402180S\n"}
SQRTEPS = math.sqrt(float(np.finfo(np.float64).eps))
def __get_auto_sample(ndim, gradient):
""" Decode which sampling method to use
Arguments:
ndim: int (dimensionality)
gradient: (None or function/true)
Returns: sampler string
"""
if ndim < 10:
sample = 'unif'
elif 10 <= ndim <= 20:
sample = 'rwalk'
else:
if gradient is None:
sample = 'rslice'
else:
sample = 'hslice'
return sample
def __get_walks_slices(walks0, slices0, sample, ndim):
"""
Get the best number of steps for random walk/slicing based on
the type of sampler and dimension
Arguments:
walks0: integer (provided by user or none for auto)
slices0: integer (provided by user or none for auto)
sample: string (sampler type)
ndim: int (dimensionality)
Returns the tuple with number of walk steps, number of slice steps
"""
walks, slices = None, None
# see https://github.com/joshspeagle/dynesty/issues/289
if sample in ['hslice', 'rslice']:
slices = 3 + ndim
elif sample == 'slice':
slices = 3
# we don't add dimensions, since we loop over them
elif sample == 'rwalk':
# this is technically incorrect a we need to add ndim **2
walks = 20 + ndim
slices = slices0 or slices
walks = walks0 or walks
return walks, slices
def NestedSampler(loglikelihood,
prior_transform,
ndim,
nlive=500,
bound='multi',
sample='auto',
periodic=None,
reflective=None,
update_interval=None,
first_update=None,
npdim=None,
rstate=None,
queue_size=None,
pool=None,
use_pool=None,
live_points=None,
logl_args=None,
logl_kwargs=None,
ptform_args=None,
ptform_kwargs=None,
gradient=None,
grad_args=None,
grad_kwargs=None,
compute_jac=False,
enlarge=None,
bootstrap=None,
walks=None,
facc=0.5,
slices=None,
fmove=0.9,
max_move=100,
update_func=None,
ncdim=None,
save_history=False,
history_filename=None):
"""
Initializes and returns a sampler object for Static Nested Sampling.
Parameters
----------
loglikelihood : function
Function returning ln(likelihood) given parameters as a 1-d `~numpy`
array of length `ndim`.
prior_transform : function
Function translating a unit cube to the parameter space according to
the prior. The input is a 1-d `~numpy` array with length `ndim`, where
each value is in the range [0, 1). The return value should also be a
1-d `~numpy` array with length `ndim`, where each value is a parameter.
The return value is passed to the loglikelihood function. For example,
for a 2 parameter model with flat priors in the range [0, 2), the
function would be::
def prior_transform(u):
return 2.0 * u
ndim : int
Number of parameters returned by `prior_transform` and accepted by
`loglikelihood`.
nlive : int, optional
Number of "live" points. Larger numbers result in a more finely
sampled posterior (more accurate evidence), but also a larger
number of iterations required to converge. Default is `500`.
bound : {`'none'`, `'single'`, `'multi'`, `'balls'`, `'cubes'`}, optional
Method used to approximately bound the prior using the current
set of live points. Conditions the sampling methods used to
propose new live points. Choices are no bound (`'none'`), a single
bounding ellipsoid (`'single'`), multiple bounding ellipsoids
(`'multi'`), balls centered on each live point (`'balls'`), and
cubes centered on each live point (`'cubes'`). Default is `'multi'`.
sample : {`'auto'`, `'unif'`, `'rwalk'`,
`'slice'`, `'rslice'`, `'hslice'`, callable}, optional
Method used to sample uniformly within the likelihood constraint,
conditioned on the provided bounds. Unique methods available are:
uniform sampling within the bounds(`'unif'`),
random walks with fixed proposals (`'rwalk'`),
multivariate slice sampling along preferred orientations (`'slice'`),
"random" slice sampling along all orientations (`'rslice'`),
"Hamiltonian" slices along random trajectories (`'hslice'`), and
any callable function which follows the pattern of the sample methods
defined in dynesty.sampling.
`'auto'` selects the sampling method based on the dimensionality
of the problem (from `ndim`).
When `ndim < 10`, this defaults to `'unif'`.
When `10 <= ndim <= 20`, this defaults to `'rwalk'`.
When `ndim > 20`, this defaults to `'hslice'` if a `gradient` is
provided and `'rslice'` otherwise. `'slice'`
is provided as alternatives for`'rslice'`.
Default is `'auto'`.
periodic : iterable, optional
A list of indices for parameters with periodic boundary conditions.
These parameters *will not* have their positions constrained to be
within the unit cube, enabling smooth behavior for parameters
that may wrap around the edge. Default is `None` (i.e. no periodic
boundary conditions).
reflective : iterable, optional
A list of indices for parameters with reflective boundary conditions.
These parameters *will not* have their positions constrained to be
within the unit cube, enabling smooth behavior for parameters
that may reflect at the edge. Default is `None` (i.e. no reflective
boundary conditions).
update_interval : int or float, optional
If an integer is passed, only update the proposal distribution every
`update_interval`-th likelihood call. If a float is passed, update the
proposal after every `round(update_interval * nlive)`-th likelihood
call. Larger update intervals larger can be more efficient
when the likelihood function is quick to evaluate. Default behavior
is to target a roughly constant change in prior volume, with
`1.5` for `'unif'`, `0.15 * walks` for `'rwalk'`.
`0.9 * ndim * slices` for `'slice'`, `2.0 * slices` for `'rslice'`,
and `25.0 * slices` for `'hslice'`.
first_update : dict, optional
A dictionary containing parameters governing when the sampler should
first update the bounding distribution from the unit cube (`'none'`)
to the one specified by `sample`. Options are the minimum number of
likelihood calls (`'min_ncall'`) and the minimum allowed overall
efficiency in percent (`'min_eff'`). Defaults are `2 * nlive` and
`10.`, respectively.
npdim : int, optional
Number of parameters accepted by `prior_transform`. This might differ
from `ndim` in the case where a parameter of loglikelihood is dependent
upon multiple independently distributed parameters, some of which may
be nuisance parameters.
rstate : `~numpy.random.Generator`, optional
`~numpy.random.Generator` instance. If not given, the
global random state of the `~numpy.random` module will be used.
queue_size : int, optional
Carry out likelihood evaluations in parallel by queueing up new live
point proposals using (at most) `queue_size` many threads. Each thread
independently proposes new live points until the proposal distribution
is updated. If no value is passed, this defaults to `pool.size` (if
a `pool` has been provided) and `1` otherwise (no parallelism).
pool : user-provided pool, optional
Use this pool of workers to execute operations in parallel.
use_pool : dict, optional
A dictionary containing flags indicating where a pool should be used to
execute operations in parallel. These govern whether `prior_transform`
is executed in parallel during initialization (`'prior_transform'`),
`loglikelihood` is executed in parallel during initialization
(`'loglikelihood'`), live points are proposed in parallel during a run
(`'propose_point'`), and bounding distributions are updated in
parallel during a run (`'update_bound'`). Default is `True` for all
options.
live_points : list of 3 `~numpy.ndarray` each with shape (nlive, ndim)
A set of live points used to initialize the nested sampling run.
Contains `live_u`, the coordinates on the unit cube, `live_v`, the
transformed variables, and `live_logl`, the associated loglikelihoods.
By default, if these are not provided the initial set of live points
will be drawn uniformly from the unit `npdim`-cube.
**WARNING: It is crucial that the initial set of live points have been
sampled from the prior. Failure to provide a set of valid live points
will result in incorrect results.**
logl_args : iterable, optional
Additional arguments that can be passed to `loglikelihood`.
logl_kwargs : dict, optional
Additional keyword arguments that can be passed to `loglikelihood`.
ptform_args : iterable, optional
Additional arguments that can be passed to `prior_transform`.
ptform_kwargs : dict, optional
Additional keyword arguments that can be passed to `prior_transform`.
gradient : function, optional
A function which returns the gradient corresponding to
the provided `loglikelihood` *with respect to the unit cube*.
If provided, this will be used when computing reflections
when sampling with `'hslice'`. If not provided, gradients are
approximated numerically using 2-sided differencing.
grad_args : iterable, optional
Additional arguments that can be passed to `gradient`.
grad_kwargs : dict, optional
Additional keyword arguments that can be passed to `gradient`.
compute_jac : bool, optional
Whether to compute and apply the Jacobian `dv/du`
from the target space `v` to the unit cube `u` when evaluating the
`gradient`. If `False`, the gradient provided is assumed to be
already defined with respect to the unit cube. If `True`, the gradient
provided is assumed to be defined with respect to the target space
so the Jacobian needs to be numerically computed and applied. Default
is `False`.
enlarge : float, optional
Enlarge the volumes of the specified bounding object(s) by this
fraction. The preferred method is to determine this organically
using bootstrapping. If `bootstrap > 0`, this defaults to `1.0`.
If `bootstrap = 0`, this instead defaults to `1.25`.
bootstrap : int, optional
Compute this many bootstrapped realizations of the bounding
objects. Use the maximum distance found to the set of points left
out during each iteration to enlarge the resulting volumes. Can
lead to unstable bounding ellipsoids. Default is `None` (no bootstrap
unless the sampler is uniform).
walks : int, optional
For the `'rwalk'` sampling option, the minimum number of steps
(minimum 2) before proposing a new live point. Default is `25`.
facc : float, optional
The target acceptance fraction for the `'rwalk'` sampling option.
Default is `0.5`. Bounded to be between `[1. / walks, 1.]`.
slices : int, optional
For the `'slice'`, `'rslice'`, and `'hslice'` sampling
options, the number of times to execute a "slice update"
before proposing a new live point. Default is `5`.
Note that `'slice'` cycles through **all dimensions**
when executing a "slice update".
fmove : float, optional
The target fraction of samples that are proposed along a trajectory
(i.e. not reflecting) for the `'hslice'` sampling option.
Default is `0.9`.
max_move : int, optional
The maximum number of timesteps allowed for `'hslice'`
per proposal forwards and backwards in time. Default is `100`.
update_func : function, optional
Any callable function which takes in a `blob` and `scale`
as input and returns a modification to the internal `scale` as output.
Must follow the pattern of the update methods defined
in dynesty.nestedsamplers. If provided, this will supersede the
default functions used to update proposals. In the case where a custom
callable function is passed to `sample` but no similar function is
passed to `update_func`, this will default to no update.
ncdim: int, optional
The number of clustering dimensions. The first ncdim dimensions will
be sampled using the sampling method, the remaining dimensions will
just sample uniformly from the prior distribution.
If this is `None` (default), this will default to npdim.
Returns
-------
sampler : sampler from :mod:`~dynesty.nestedsamplers`
An initialized instance of the chosen sampler specified via `bound`.
"""
# Prior dimensions.
if npdim is None:
npdim = ndim
if ncdim is None:
ncdim = npdim
# Bounding method.
if bound not in _SAMPLERS:
raise ValueError("Unknown bounding method: '{0}'".format(bound))
# Sampling method.
if sample == 'auto':
sample = __get_auto_sample(ndim, gradient)
walks, slices = __get_walks_slices(walks, slices, sample, ndim)
if ncdim != npdim and sample in ['slice', 'hslice', 'rslice']:
raise ValueError('ncdim unsupported for slice sampling')
# Custom sampling function.
if sample not in _SAMPLING and not callable(sample):
raise ValueError("Unknown sampling method: '{0}'".format(sample))
kwargs = {}
# Custom updating function.
if update_func is not None and not callable(update_func):
raise ValueError("Unknown update function: '{0}'".format(update_func))
kwargs['update_func'] = update_func
# Citation generator.
kwargs['cite'] = (_CITES['default'] + "\n" + _CITES[bound] + "\n" +
_CITES[sample])
# Dimensional warning check.
if nlive <= 2 * ndim:
warnings.warn("Beware! Having `nlive <= 2 * ndim` is extremely risky!")
# Gather boundary conditions.
if periodic is not None and reflective is not None:
if np.intersect1d(periodic, reflective) != 0:
raise ValueError("You have specified a parameter as both "
"periodic and reflective.")
if periodic is not None or reflective is not None:
nonbounded = np.ones(npdim, dtype='bool')
if periodic is not None:
nonbounded[periodic] = False
if reflective is not None:
nonbounded[reflective] = False
else:
nonbounded = None
kwargs['nonbounded'] = nonbounded
kwargs['periodic'] = periodic
kwargs['reflective'] = reflective
# Keyword arguments controlling the first update.
if first_update is None:
first_update = dict()
# Random state.
if rstate is None:
rstate = get_random_generator()
# Log-likelihood.
if logl_args is None:
logl_args = []
if logl_kwargs is None:
logl_kwargs = {}
# Prior transform.
if ptform_args is None:
ptform_args = []
if ptform_kwargs is None:
ptform_kwargs = {}
# gradient
if grad_args is None:
grad_args = []
if grad_kwargs is None:
grad_kwargs = {}
# Bounding distribution modifications.
enlarge, bootstrap = get_enlarge_bootstrap(sample, enlarge, bootstrap)
kwargs['enlarge'] = enlarge
kwargs['bootstrap'] = bootstrap
# Sampling.
if walks is not None:
kwargs['walks'] = walks
if facc is not None:
kwargs['facc'] = facc
if slices is not None:
kwargs['slices'] = slices
if fmove is not None:
kwargs['fmove'] = fmove
if max_move is not None:
kwargs['max_move'] = max_move
update_interval_ratio = __get_update_interval_ratio(
update_interval, sample, bound, ndim, nlive, slices, walks)
update_interval = int(
max(min(np.round(update_interval_ratio * nlive), sys.maxsize), 1))
# Set up parallel (or serial) evaluation.
if queue_size is not None and queue_size < 1:
raise ValueError("The queue must contain at least one element!")
elif (queue_size == 1) or (pool is None and queue_size is None):
M = map
queue_size = 1
elif pool is not None:
M = pool.map
if queue_size is None:
try:
queue_size = pool.size
except AttributeError:
raise ValueError("Cannot initialize `queue_size` because "
"`pool.size` has not been provided. Please"
"define `pool.size` or specify `queue_size` "
"explicitly.")
else:
raise ValueError("`queue_size > 1` but no `pool` provided.")
if use_pool is None:
use_pool = dict()
# Wrap functions.
ptform = _function_wrapper(prior_transform,
ptform_args,
ptform_kwargs,
name='prior_transform')
if use_pool.get('loglikelihood', True):
pool_logl = pool
else:
pool_logl = None
loglike = LogLikelihood(_function_wrapper(loglikelihood,
logl_args,
logl_kwargs,
name='loglikelihood'),
ndim,
save=save_history,
history_filename=history_filename
or 'dynesty_logl_history.h5',
pool=pool_logl)
# Add in gradient.
if gradient is not None:
grad = _function_wrapper(gradient,
grad_args,
grad_kwargs,
name='gradient')
kwargs['grad'] = grad
kwargs['compute_jac'] = compute_jac
live_points = sample_init(live_points,
ptform,
loglike,
M,
nlive=nlive,
npdim=npdim,
rstate=rstate,
use_pool_ptform=use_pool.get(
'prior_transform', True))
# Initialize our nested sampler.
sampler = _SAMPLERS[bound](loglike,
ptform,
npdim,
live_points,
sample,
update_interval,
first_update,
rstate,
queue_size,
pool,
use_pool,
kwargs,
ncdim=ncdim)
return sampler
def DynamicNestedSampler(loglikelihood,
prior_transform,
ndim,
nlive=None,
bound='multi',
sample='auto',
periodic=None,
reflective=None,
update_interval=None,
first_update=None,
npdim=None,
rstate=None,
queue_size=None,
pool=None,
use_pool=None,
logl_args=None,
logl_kwargs=None,
ptform_args=None,
ptform_kwargs=None,
gradient=None,
grad_args=None,
grad_kwargs=None,
compute_jac=False,
enlarge=None,
bootstrap=None,
walks=None,
facc=0.5,
slices=None,
fmove=0.9,
max_move=100,
update_func=None,
ncdim=None,
save_history=False,
history_filename=None):
"""
Initializes and returns a sampler object for Dynamic Nested Sampling.
Parameters
----------
loglikelihood : function
Function returning ln(likelihood) given parameters as a 1-d `~numpy`
array of length `ndim`.
prior_transform : function
Function translating a unit cube to the parameter space according to
the prior. The input is a 1-d `~numpy` array with length `ndim`, where
each value is in the range [0, 1). The return value should also be a
1-d `~numpy` array with length `ndim`, where each value is a parameter.
The return value is passed to the loglikelihood function. For example,
for a 2 parameter model with flat priors in the range [0, 2), the
function would be::
def prior_transform(u):
return 2.0 * u
ndim : int
Number of parameters returned by `prior_transform` and accepted by
`loglikelihood`.
bound : {`'none'`, `'single'`, `'multi'`, `'balls'`, `'cubes'`}, optional
Method used to approximately bound the prior using the current
set of live points. Conditions the sampling methods used to
propose new live points. Choices are no bound (`'none'`), a single
bounding ellipsoid (`'single'`), multiple bounding ellipsoids
(`'multi'`), balls centered on each live point (`'balls'`), and
cubes centered on each live point (`'cubes'`). Default is `'multi'`.
sample : {`'auto'`, `'unif'`, `'rwalk'`,
`'slice'`, `'rslice'`, `'hslice'`}, optional
Method used to sample uniformly within the likelihood constraint,
conditioned on the provided bounds. Unique methods available are:
uniform sampling within the bounds(`'unif'`),
random walks with fixed proposals (`'rwalk'`),
multivariate slice sampling along preferred orientations (`'slice'`),
"random" slice sampling along all orientations (`'rslice'`),
"Hamiltonian" slices along random trajectories (`'hslice'`), and
any callable function which follows the pattern of the sample methods
defined in dynesty.sampling.
`'auto'` selects the sampling method based on the dimensionality
of the problem (from `ndim`).
When `ndim < 10`, this defaults to `'unif'`.
When `10 <= ndim <= 20`, this defaults to `'rwalk'`.
When `ndim > 20`, this defaults to `'hslice'` if a `gradient` is
provided and `'rslice'` otherwise. `'slice'`
is provided as alternative for `'rslice'`.
Default is `'auto'`.
periodic : iterable, optional
A list of indices for parameters with periodic boundary conditions.
These parameters *will not* have their positions constrained to be
within the unit cube, enabling smooth behavior for parameters
that may wrap around the edge. Default is `None` (i.e. no periodic
boundary conditions).
reflective : iterable, optional
A list of indices for parameters with reflective boundary conditions.
These parameters *will not* have their positions constrained to be
within the unit cube, enabling smooth behavior for parameters
that may reflect at the edge. Default is `None` (i.e. no reflective
boundary conditions).
update_interval : int or float, optional
If an integer is passed, only update the proposal distribution every
`update_interval`-th likelihood call. If a float is passed, update the
proposal after every `round(update_interval * nlive)`-th likelihood
call. Larger update intervals larger can be more efficient
when the likelihood function is quick to evaluate. Default behavior
is to target a roughly constant change in prior volume, with
`1.5` for `'unif'`, `0.15 * walks` for `'rwalk'`.
`0.9 * ndim * slices` for `'slice'`, `2.0 * slices` for `'rslice'`,
and `25.0 * slices` for `'hslice'`.
first_update : dict, optional
A dictionary containing parameters governing when the sampler should
first update the bounding distribution from the unit cube (`'none'`)
to the one specified by `sample`. Options are the minimum number of
likelihood calls (`'min_ncall'`) and the minimum allowed overall
efficiency in percent (`'min_eff'`). Defaults are `2 * nlive` and
`10.`, respectively.
npdim : int, optional
Number of parameters accepted by `prior_transform`. This might differ
from `ndim` in the case where a parameter of loglikelihood is dependent
upon multiple independently distributed parameters, some of which may
be nuisance parameters.
rstate : `~numpy.random.Generator`, optional
`~numpy.random.Generator` instance. If not given, the
global random state of the `~numpy.random` module will be used.
queue_size : int, optional
Carry out likelihood evaluations in parallel by queueing up new live
point proposals using (at most) `queue_size` many threads. Each thread
independently proposes new live points until the proposal distribution
is updated. If no value is passed, this defaults to `pool.size` (if
a `pool` has been provided) and `1` otherwise (no parallelism).
pool : user-provided pool, optional
Use this pool of workers to execute operations in parallel.
use_pool : dict, optional
A dictionary containing flags indicating where a pool should be used to
execute operations in parallel. These govern whether `prior_transform`
is executed in parallel during initialization (`'prior_transform'`),
`loglikelihood` is executed in parallel during initialization
(`'loglikelihood'`), live points are proposed in parallel during a run
(`'propose_point'`), bounding distributions are updated in
parallel during a run (`'update_bound'`), and the stopping criteria
is evaluated in parallel during a run (`'stop_function'`).
Default is `True` for all options.
logl_args : iterable, optional
Additional arguments that can be passed to `loglikelihood`.
logl_kwargs : dict, optional
Additional keyword arguments that can be passed to `loglikelihood`.
ptform_args : iterable, optional
Additional arguments that can be passed to `prior_transform`.
ptform_kwargs : dict, optional
Additional keyword arguments that can be passed to `prior_transform`.
gradient : function, optional
A function which returns the gradient corresponding to
the provided `loglikelihood` *with respect to the unit cube*.
If provided, this will be used when computing reflections
when sampling with `'hslice'`. If not provided, gradients are
approximated numerically using 2-sided differencing.
grad_args : iterable, optional
Additional arguments that can be passed to `gradient`.
grad_kwargs : dict, optional
Additional keyword arguments that can be passed to `gradient`.
compute_jac : bool, optional
Whether to compute and apply the Jacobian `dv/du`
from the target space `v` to the unit cube `u` when evaluating the
`gradient`. If `False`, the gradient provided is assumed to be
already defined with respect to the unit cube. If `True`, the gradient
provided is assumed to be defined with respect to the target space
so the Jacobian needs to be numerically computed and applied. Default
is `False`.
enlarge : float, optional
Enlarge the volumes of the specified bounding object(s) by this
fraction. The preferred method is to determine this organically
using bootstrapping. If `bootstrap > 0`, this defaults to `1.0`.
If `bootstrap = 0`, this instead defaults to `1.25`.
bootstrap : int, optional
Compute this many bootstrapped realizations of the bounding
objects. Use the maximum distance found to the set of points left
out during each iteration to enlarge the resulting volumes. Can lead
to unstable bounding ellipsoids. Default is `None` (no bootstrap unless
the sampler is uniform).
walks : int, optional
For the `'rwalk'` sampling option, the minimum number of steps
(minimum 2) before proposing a new live point. Default is `25`.
facc : float, optional
The target acceptance fraction for the `'rwalk'` sampling option.
Default is `0.5`. Bounded to be between `[1. / walks, 1.]`.
slices : int, optional
For the `'slice'`, `'rslice'`, and `'hslice'` sampling
options, the number of times to execute a "slice update"
before proposing a new live point. Default is `5`.
Note that `'slice'` cycles through **all dimensions**
when executing a "slice update".
fmove : float, optional
The target fraction of samples that are proposed along a trajectory
(i.e. not reflecting) for the `'hslice'` sampling option.
Default is `0.9`.
max_move : int, optional
The maximum number of timesteps allowed for `'hslice'`
per proposal forwards and backwards in time. Default is `100`.
update_func : function, optional
Any callable function which takes in a `blob` and `scale`
as input and returns a modification to the internal `scale` as output.
Must follow the pattern of the update methods defined
in dynesty.nestedsamplers. If provided, this will supersede the
default functions used to update proposals. In the case where a custom
callable function is passed to `sample` but no similar function is
passed to `update_func`, this will default to no update.
ncdim: int, optional
The number of clustering dimensions. The first ncdim dimensions will
be sampled using the sampling method, the remaining dimensions will
just sample uniformly from the prior distribution.
If this is `None` (default), this will default to npdim.
Returns
-------
sampler : a :class:`dynesty.DynamicSampler` instance
An initialized instance of the dynamic nested sampler.
"""
# Prior dimensions.
if npdim is None:
npdim = ndim
if ncdim is None:
ncdim = npdim
nlive = nlive or 500
# Bounding method.
if bound not in _SAMPLERS:
raise ValueError("Unknown bounding method: '{0}'".format(bound))
# Sampling method.
if sample == 'auto':
sample = __get_auto_sample(ndim, gradient)
walks, slices = __get_walks_slices(walks, slices, sample, ndim)
if ncdim != npdim and sample in ['slice', 'hslice', 'rslice']:
raise ValueError('ncdim unsupported for slice sampling')
update_interval_ratio = __get_update_interval_ratio(
update_interval, sample, bound, ndim, 1, slices, walks)
kwargs = {}
# Custom sampling function.
if sample not in _SAMPLING and not callable(sample):
raise ValueError("Unknown sampling method: '{0}'".format(sample))
# Custom updating function.
if update_func is not None and not callable(update_func):
raise ValueError("Unknown update function: '{0}'".format(update_func))
kwargs['update_func'] = update_func
# Citation generator.
kwargs['cite'] = (_CITES['default'] + "\n" + _CITES['dynamic'] + "\n" +
_CITES[bound] + "\n" + _CITES[sample])
# Gather boundary conditions.
if periodic is not None and reflective is not None:
if np.intersect1d(periodic, reflective) != 0:
raise ValueError("You have specified a parameter as both "
"periodic and reflective.")
if periodic is not None or reflective is not None:
nonbounded = np.ones(npdim, dtype='bool')
if periodic is not None:
nonbounded[periodic] = False
if reflective is not None:
nonbounded[reflective] = False
else:
nonbounded = None
kwargs['nonbounded'] = nonbounded
kwargs['periodic'] = periodic
kwargs['reflective'] = reflective
# Keyword arguments controlling the first update.
if first_update is None:
first_update = dict()
# Random state.
if rstate is None:
rstate = get_random_generator()
# Log-likelihood.
if logl_args is None:
logl_args = []
if logl_kwargs is None:
logl_kwargs = {}
# Prior transform.
if ptform_args is None:
ptform_args = []
if ptform_kwargs is None:
ptform_kwargs = dict()
# gradient
if grad_args is None:
grad_args = []
if grad_kwargs is None:
grad_kwargs = {}
# Bounding distribution modifications.
enlarge, bootstrap = get_enlarge_bootstrap(sample, enlarge, bootstrap)
kwargs['enlarge'] = enlarge
kwargs['bootstrap'] = bootstrap
# Sampling.
if walks is not None:
kwargs['walks'] = walks
if facc is not None:
kwargs['facc'] = facc
if slices is not None:
kwargs['slices'] = slices
if fmove is not None:
kwargs['fmove'] = fmove
if max_move is not None:
kwargs['max_move'] = max_move
# Set up parallel (or serial) evaluation.
if queue_size is not None and queue_size < 1:
raise ValueError("The queue must contain at least one element!")
elif (queue_size == 1) or (pool is None and queue_size is None):
queue_size = 1
elif pool is not None:
if queue_size is None:
try:
queue_size = pool.size
except AttributeError:
raise ValueError("Cannot initialize `queue_size` because "
"`pool.size` has not been provided. Please "
"define `pool.size` or specify `queue_size` "
"explicitly.")
else:
raise ValueError("`queue_size > 1` but no `pool` provided.")
if use_pool is None:
use_pool = dict()
# Wrap functions.
ptform = _function_wrapper(prior_transform,
ptform_args,
ptform_kwargs,
name='prior_transform')
if use_pool.get('loglikelihood', True):
pool_logl = pool
else:
pool_logl = None
loglike = LogLikelihood(_function_wrapper(loglikelihood,
logl_args,
logl_kwargs,
name='loglikelihood'),
ndim,
pool=pool_logl,
history_filename=history_filename
or 'dynesty_logl_history.h5',
save=save_history)
# Add in gradient.
if gradient is not None:
grad = _function_wrapper(gradient,
grad_args,
grad_kwargs,
name='gradient')
kwargs['grad'] = grad
kwargs['compute_jac'] = compute_jac
# Initialize our nested sampler.
sampler = DynamicSampler(loglike, ptform, npdim, bound, sample,
update_interval_ratio, first_update, rstate,
queue_size, pool, use_pool, ncdim, nlive, kwargs)
return sampler
class _function_wrapper:
"""
A hack to make functions pickleable when `args` or `kwargs` are
also included. Based on the implementation in
`emcee <http://dan.iel.fm/emcee/>`_.
"""
def __init__(self, func, args, kwargs, name='input'):
self.func = func
self.args = args
self.kwargs = kwargs
self.name = name
def __call__(self, x):
try:
return self.func(x, *self.args, **self.kwargs)
except: # noqa
print("Exception while calling {0} function:".format(self.name))
print(" params:", x)
print(" args:", self.args)
print(" kwargs:", self.kwargs)
print(" exception:")
traceback.print_exc()
raise
| 41.044821
| 79
| 0.602805
| 4,805
| 41,209
| 5.102185
| 0.1282
| 0.009055
| 0.011013
| 0.010279
| 0.851199
| 0.838187
| 0.832395
| 0.832395
| 0.8244
| 0.816242
| 0
| 0.017865
| 0.312674
| 41,209
| 1,003
| 80
| 41.085743
| 0.847691
| 0.533524
| 0
| 0.713953
| 0
| 0
| 0.195571
| 0.07615
| 0
| 0
| 0
| 0
| 0
| 1
| 0.013953
| false
| 0
| 0.018605
| 0
| 0.046512
| 0.013953
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
b92eb4902bf484e473e3f301b713376a1b12d5d1
| 29,379
|
py
|
Python
|
captiveportal/voucher/migrations/0002_default_templates.py
|
grantemsley/captiveportal
|
9669149f79d0be4ceb500477af4d561d03b0190e
|
[
"Apache-2.0"
] | 1
|
2021-11-25T21:22:40.000Z
|
2021-11-25T21:22:40.000Z
|
captiveportal/voucher/migrations/0002_default_templates.py
|
grantemsley/captiveportal
|
9669149f79d0be4ceb500477af4d561d03b0190e
|
[
"Apache-2.0"
] | 1
|
2022-02-10T10:47:56.000Z
|
2022-02-10T10:47:56.000Z
|
captiveportal/voucher/migrations/0002_default_templates.py
|
grantemsley/captiveportal
|
9669149f79d0be4ceb500477af4d561d03b0190e
|
[
"Apache-2.0"
] | 1
|
2021-11-25T21:22:41.000Z
|
2021-11-25T21:22:41.000Z
|
# Generated by Django 3.2.4 on 2021-06-15 00:13
from django.db import migrations
class Migration(migrations.Migration):
def create_default_paper_template(apps, schema_editor):
Template = apps.get_model('voucher', 'PrintTemplate')
Template.objects.create(
name="Default paper template",
type="Paper",
template = """<div class="voucher_block">
<h1>#PORTALNAME#</h1>
<table>
<tr>
<th>Network:</th>
</tr><tr>
<td>#SSID#</td>
</tr><tr>
<th>Password:</th>
</tr><tr>
<td>#PSK#</td>
</tr><tr>
<th>Voucher Code:</th>
</tr><tr>
<td>#CODE#</td>
</tr><tr>
<th>Valid for:</th>
</tr><tr>
<td>#TIMELIMIT#</td>
</tr>
</table>
<div class="rightside">
<div class="qr" id="qr-#CODE#" rowspan="4"></div>
<script type="text/javascript">
new QRCode(document.getElementById("qr-#CODE#"), {text: "WIFI:T:WPA;S:#SSID#;P:#PSK;;", width: 120, height: 120});
</script>
<p class="info">If not prompted for voucher code, open web browser to www.neverssl.com</p>
</div>
</div>
"""
)
def create_default_dymo_template(apps, schema_editor):
Template = apps.get_model('voucher', 'PrintTemplate')
Template.objects.create(
name="Default dymo template",
type="Dymo",
template = """<?xml version="1.0" encoding="utf-8"?>
<DesktopLabel Version="1">
<DYMOLabel Version="3">
<Description>DYMO Label</Description>
<Orientation>Landscape</Orientation>
<LabelName>Address30251</LabelName>
<InitialLength>0</InitialLength>
<BorderStyle>SolidLine</BorderStyle>
<DYMORect>
<DYMOPoint>
<X>0.23</X>
<Y>0.06</Y>
</DYMOPoint>
<Size>
<Width>3.21</Width>
<Height>0.9966667</Height>
</Size>
</DYMORect>
<BorderColor>
<SolidColorBrush>
<Color A="1" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</BorderColor>
<BorderThickness>1</BorderThickness>
<Show_Border>False</Show_Border>
<DynamicLayoutManager>
<RotationBehavior>ClearObjects</RotationBehavior>
<LabelObjects>
<TextObject>
<Name>PortalName</Name>
<Brushes>
<BackgroundBrush>
<SolidColorBrush>
<Color A="0" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</BackgroundBrush>
<BorderBrush>
<SolidColorBrush>
<Color A="1" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</BorderBrush>
<StrokeBrush>
<SolidColorBrush>
<Color A="1" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</StrokeBrush>
<FillBrush>
<SolidColorBrush>
<Color A="0" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</FillBrush>
</Brushes>
<Rotation>Rotation0</Rotation>
<OutlineThickness>1</OutlineThickness>
<IsOutlined>False</IsOutlined>
<BorderStyle>SolidLine</BorderStyle>
<Margin>
<DYMOThickness Left="0" Top="0" Right="0" Bottom="0" />
</Margin>
<HorizontalAlignment>Left</HorizontalAlignment>
<VerticalAlignment>Middle</VerticalAlignment>
<FitMode>AlwaysFit</FitMode>
<IsVertical>False</IsVertical>
<FormattedText>
<FitMode>AlwaysFit</FitMode>
<HorizontalAlignment>Left</HorizontalAlignment>
<VerticalAlignment>Middle</VerticalAlignment>
<IsVertical>False</IsVertical>
<LineTextSpan>
<TextSpan>
<Text>PortalName</Text>
<FontInfo>
<FontName>Calibri</FontName>
<FontSize>9.4</FontSize>
<IsBold>True</IsBold>
<IsItalic>False</IsItalic>
<IsUnderline>False</IsUnderline>
<FontBrush>
<SolidColorBrush>
<Color A="1" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</FontBrush>
</FontInfo>
</TextSpan>
</LineTextSpan>
</FormattedText>
<ObjectLayout>
<DYMOPoint>
<X>0.23</X>
<Y>0.06000001</Y>
</DYMOPoint>
<Size>
<Width>2.376983</Width>
<Height>0.1750735</Height>
</Size>
</ObjectLayout>
</TextObject>
<QRCodeObject>
<Name>QRCode</Name>
<Brushes>
<BackgroundBrush>
<SolidColorBrush>
<Color A="1" R="1" G="1" B="1"> </Color>
</SolidColorBrush>
</BackgroundBrush>
<BorderBrush>
<SolidColorBrush>
<Color A="1" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</BorderBrush>
<StrokeBrush>
<SolidColorBrush>
<Color A="1" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</StrokeBrush>
<FillBrush>
<SolidColorBrush>
<Color A="1" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</FillBrush>
</Brushes>
<Rotation>Rotation0</Rotation>
<OutlineThickness>1</OutlineThickness>
<IsOutlined>False</IsOutlined>
<BorderStyle>SolidLine</BorderStyle>
<Margin>
<DYMOThickness Left="0" Top="0" Right="0" Bottom="0" />
</Margin>
<BarcodeFormat>QRCode</BarcodeFormat>
<Data>
<DataString>WIFI:T:WPA;S:StLeonardsGuest;P:6ddBQbmf;;</DataString>
</Data>
<HorizontalAlignment>Center</HorizontalAlignment>
<VerticalAlignment>Middle</VerticalAlignment>
<Size>AutoFit</Size>
<EQRCodeType>QRCodeText</EQRCodeType>
<TextDataHolder>
<Value>WIFI:T:WPA;S:StLeonardsGuest;P:6ddBQbmf;;</Value>
</TextDataHolder>
<ObjectLayout>
<DYMOPoint>
<X>2.606984</X>
<Y>0.06000001</Y>
</DYMOPoint>
<Size>
<Width>0.8330169</Width>
<Height>0.7408347</Height>
</Size>
</ObjectLayout>
</QRCodeObject>
<TextObject>
<Name>ITextObject03</Name>
<Brushes>
<BackgroundBrush>
<SolidColorBrush>
<Color A="0" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</BackgroundBrush>
<BorderBrush>
<SolidColorBrush>
<Color A="1" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</BorderBrush>
<StrokeBrush>
<SolidColorBrush>
<Color A="1" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</StrokeBrush>
<FillBrush>
<SolidColorBrush>
<Color A="0" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</FillBrush>
</Brushes>
<Rotation>Rotation0</Rotation>
<OutlineThickness>1</OutlineThickness>
<IsOutlined>False</IsOutlined>
<BorderStyle>SolidLine</BorderStyle>
<Margin>
<DYMOThickness Left="0" Top="0" Right="0" Bottom="0" />
</Margin>
<HorizontalAlignment>Center</HorizontalAlignment>
<VerticalAlignment>Middle</VerticalAlignment>
<FitMode>AlwaysFit</FitMode>
<IsVertical>False</IsVertical>
<FormattedText>
<FitMode>AlwaysFit</FitMode>
<HorizontalAlignment>Center</HorizontalAlignment>
<VerticalAlignment>Middle</VerticalAlignment>
<IsVertical>False</IsVertical>
<LineTextSpan>
<TextSpan>
<Text>If you aren't prompted for your voucher, open a web browser to www.neverssl.com</Text>
<FontInfo>
<FontName>Calibri</FontName>
<FontSize>6.2</FontSize>
<IsBold>False</IsBold>
<IsItalic>False</IsItalic>
<IsUnderline>False</IsUnderline>
<FontBrush>
<SolidColorBrush>
<Color A="1" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</FontBrush>
</FontInfo>
</TextSpan>
</LineTextSpan>
</FormattedText>
<ObjectLayout>
<DYMOPoint>
<X>0.23</X>
<Y>0.9297366</Y>
</DYMOPoint>
<Size>
<Width>3.132135</Width>
<Height>0.125</Height>
</Size>
</ObjectLayout>
</TextObject>
<TextObject>
<Name>ITextObject5</Name>
<Brushes>
<BackgroundBrush>
<SolidColorBrush>
<Color A="0" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</BackgroundBrush>
<BorderBrush>
<SolidColorBrush>
<Color A="1" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</BorderBrush>
<StrokeBrush>
<SolidColorBrush>
<Color A="1" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</StrokeBrush>
<FillBrush>
<SolidColorBrush>
<Color A="0" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</FillBrush>
</Brushes>
<Rotation>Rotation0</Rotation>
<OutlineThickness>1</OutlineThickness>
<IsOutlined>False</IsOutlined>
<BorderStyle>SolidLine</BorderStyle>
<Margin>
<DYMOThickness Left="0" Top="0" Right="0" Bottom="0" />
</Margin>
<HorizontalAlignment>Right</HorizontalAlignment>
<VerticalAlignment>Middle</VerticalAlignment>
<FitMode>AlwaysFit</FitMode>
<IsVertical>False</IsVertical>
<FormattedText>
<FitMode>AlwaysFit</FitMode>
<HorizontalAlignment>Right</HorizontalAlignment>
<VerticalAlignment>Middle</VerticalAlignment>
<IsVertical>False</IsVertical>
<LineTextSpan>
<TextSpan>
<Text>Network:</Text>
<FontInfo>
<FontName>Calibri</FontName>
<FontSize>8.6</FontSize>
<IsBold>True</IsBold>
<IsItalic>False</IsItalic>
<IsUnderline>False</IsUnderline>
<FontBrush>
<SolidColorBrush>
<Color A="1" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</FontBrush>
</FontInfo>
</TextSpan>
</LineTextSpan>
</FormattedText>
<ObjectLayout>
<DYMOPoint>
<X>0.23</X>
<Y>0.2308425</Y>
</DYMOPoint>
<Size>
<Width>0.7154332</Width>
<Height>0.1499566</Height>
</Size>
</ObjectLayout>
</TextObject>
<TextObject>
<Name>ITextObject3</Name>
<Brushes>
<BackgroundBrush>
<SolidColorBrush>
<Color A="0" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</BackgroundBrush>
<BorderBrush>
<SolidColorBrush>
<Color A="1" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</BorderBrush>
<StrokeBrush>
<SolidColorBrush>
<Color A="1" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</StrokeBrush>
<FillBrush>
<SolidColorBrush>
<Color A="0" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</FillBrush>
</Brushes>
<Rotation>Rotation0</Rotation>
<OutlineThickness>1</OutlineThickness>
<IsOutlined>False</IsOutlined>
<BorderStyle>SolidLine</BorderStyle>
<Margin>
<DYMOThickness Left="0" Top="0" Right="0" Bottom="0" />
</Margin>
<HorizontalAlignment>Right</HorizontalAlignment>
<VerticalAlignment>Middle</VerticalAlignment>
<FitMode>AlwaysFit</FitMode>
<IsVertical>False</IsVertical>
<FormattedText>
<FitMode>AlwaysFit</FitMode>
<HorizontalAlignment>Right</HorizontalAlignment>
<VerticalAlignment>Middle</VerticalAlignment>
<IsVertical>False</IsVertical>
<LineTextSpan>
<TextSpan>
<Text>Password:</Text>
<FontInfo>
<FontName>Calibri</FontName>
<FontSize>8.6</FontSize>
<IsBold>True</IsBold>
<IsItalic>False</IsItalic>
<IsUnderline>False</IsUnderline>
<FontBrush>
<SolidColorBrush>
<Color A="1" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</FontBrush>
</FontInfo>
</TextSpan>
</LineTextSpan>
</FormattedText>
<ObjectLayout>
<DYMOPoint>
<X>0.23</X>
<Y>0.4304173</Y>
</DYMOPoint>
<Size>
<Width>0.7154332</Width>
<Height>0.1499566</Height>
</Size>
</ObjectLayout>
</TextObject>
<TextObject>
<Name>ITextObject4</Name>
<Brushes>
<BackgroundBrush>
<SolidColorBrush>
<Color A="0" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</BackgroundBrush>
<BorderBrush>
<SolidColorBrush>
<Color A="1" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</BorderBrush>
<StrokeBrush>
<SolidColorBrush>
<Color A="1" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</StrokeBrush>
<FillBrush>
<SolidColorBrush>
<Color A="0" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</FillBrush>
</Brushes>
<Rotation>Rotation0</Rotation>
<OutlineThickness>1</OutlineThickness>
<IsOutlined>False</IsOutlined>
<BorderStyle>SolidLine</BorderStyle>
<Margin>
<DYMOThickness Left="0" Top="0" Right="0" Bottom="0" />
</Margin>
<HorizontalAlignment>Right</HorizontalAlignment>
<VerticalAlignment>Middle</VerticalAlignment>
<FitMode>AlwaysFit</FitMode>
<IsVertical>False</IsVertical>
<FormattedText>
<FitMode>AlwaysFit</FitMode>
<HorizontalAlignment>Right</HorizontalAlignment>
<VerticalAlignment>Middle</VerticalAlignment>
<IsVertical>False</IsVertical>
<LineTextSpan>
<TextSpan>
<Text>Voucher Code:</Text>
<FontInfo>
<FontName>Calibri</FontName>
<FontSize>8.2</FontSize>
<IsBold>True</IsBold>
<IsItalic>False</IsItalic>
<IsUnderline>False</IsUnderline>
<FontBrush>
<SolidColorBrush>
<Color A="1" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</FontBrush>
</FontInfo>
</TextSpan>
</LineTextSpan>
</FormattedText>
<ObjectLayout>
<DYMOPoint>
<X>0.23</X>
<Y>0.6057339</Y>
</DYMOPoint>
<Size>
<Width>0.7154332</Width>
<Height>0.1499566</Height>
</Size>
</ObjectLayout>
</TextObject>
<TextObject>
<Name>ITextObject56</Name>
<Brushes>
<BackgroundBrush>
<SolidColorBrush>
<Color A="0" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</BackgroundBrush>
<BorderBrush>
<SolidColorBrush>
<Color A="1" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</BorderBrush>
<StrokeBrush>
<SolidColorBrush>
<Color A="1" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</StrokeBrush>
<FillBrush>
<SolidColorBrush>
<Color A="0" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</FillBrush>
</Brushes>
<Rotation>Rotation0</Rotation>
<OutlineThickness>1</OutlineThickness>
<IsOutlined>False</IsOutlined>
<BorderStyle>SolidLine</BorderStyle>
<Margin>
<DYMOThickness Left="0" Top="0" Right="0" Bottom="0" />
</Margin>
<HorizontalAlignment>Right</HorizontalAlignment>
<VerticalAlignment>Middle</VerticalAlignment>
<FitMode>AlwaysFit</FitMode>
<IsVertical>False</IsVertical>
<FormattedText>
<FitMode>AlwaysFit</FitMode>
<HorizontalAlignment>Right</HorizontalAlignment>
<VerticalAlignment>Middle</VerticalAlignment>
<IsVertical>False</IsVertical>
<LineTextSpan>
<TextSpan>
<Text>Valid for:</Text>
<FontInfo>
<FontName>Calibri</FontName>
<FontSize>8.2</FontSize>
<IsBold>True</IsBold>
<IsItalic>False</IsItalic>
<IsUnderline>False</IsUnderline>
<FontBrush>
<SolidColorBrush>
<Color A="1" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</FontBrush>
</FontInfo>
</TextSpan>
</LineTextSpan>
</FormattedText>
<ObjectLayout>
<DYMOPoint>
<X>0.23</X>
<Y>0.7817099</Y>
</DYMOPoint>
<Size>
<Width>0.7154332</Width>
<Height>0.1499566</Height>
</Size>
</ObjectLayout>
</TextObject>
<TextObject>
<Name>SSID</Name>
<Brushes>
<BackgroundBrush>
<SolidColorBrush>
<Color A="0" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</BackgroundBrush>
<BorderBrush>
<SolidColorBrush>
<Color A="1" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</BorderBrush>
<StrokeBrush>
<SolidColorBrush>
<Color A="1" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</StrokeBrush>
<FillBrush>
<SolidColorBrush>
<Color A="0" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</FillBrush>
</Brushes>
<Rotation>Rotation0</Rotation>
<OutlineThickness>1</OutlineThickness>
<IsOutlined>False</IsOutlined>
<BorderStyle>SolidLine</BorderStyle>
<Margin>
<DYMOThickness Left="0" Top="0" Right="0" Bottom="0" />
</Margin>
<HorizontalAlignment>Left</HorizontalAlignment>
<VerticalAlignment>Middle</VerticalAlignment>
<FitMode>AlwaysFit</FitMode>
<IsVertical>False</IsVertical>
<FormattedText>
<FitMode>AlwaysFit</FitMode>
<HorizontalAlignment>Left</HorizontalAlignment>
<VerticalAlignment>Middle</VerticalAlignment>
<IsVertical>False</IsVertical>
<LineTextSpan>
<TextSpan>
<Text>SSID</Text>
<FontInfo>
<FontName>Calibri</FontName>
<FontSize>8.6</FontSize>
<IsBold>False</IsBold>
<IsItalic>False</IsItalic>
<IsUnderline>False</IsUnderline>
<FontBrush>
<SolidColorBrush>
<Color A="1" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</FontBrush>
</FontInfo>
</TextSpan>
</LineTextSpan>
</FormattedText>
<ObjectLayout>
<DYMOPoint>
<X>1.054057</X>
<Y>0.2308425</Y>
</DYMOPoint>
<Size>
<Width>1.484022</Width>
<Height>0.1499566</Height>
</Size>
</ObjectLayout>
</TextObject>
<TextObject>
<Name>PSK</Name>
<Brushes>
<BackgroundBrush>
<SolidColorBrush>
<Color A="0" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</BackgroundBrush>
<BorderBrush>
<SolidColorBrush>
<Color A="1" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</BorderBrush>
<StrokeBrush>
<SolidColorBrush>
<Color A="1" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</StrokeBrush>
<FillBrush>
<SolidColorBrush>
<Color A="0" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</FillBrush>
</Brushes>
<Rotation>Rotation0</Rotation>
<OutlineThickness>1</OutlineThickness>
<IsOutlined>False</IsOutlined>
<BorderStyle>SolidLine</BorderStyle>
<Margin>
<DYMOThickness Left="0" Top="0" Right="0" Bottom="0" />
</Margin>
<HorizontalAlignment>Left</HorizontalAlignment>
<VerticalAlignment>Middle</VerticalAlignment>
<FitMode>AlwaysFit</FitMode>
<IsVertical>False</IsVertical>
<FormattedText>
<FitMode>AlwaysFit</FitMode>
<HorizontalAlignment>Left</HorizontalAlignment>
<VerticalAlignment>Middle</VerticalAlignment>
<IsVertical>False</IsVertical>
<LineTextSpan>
<TextSpan>
<Text>PSK</Text>
<FontInfo>
<FontName>Calibri</FontName>
<FontSize>8.6</FontSize>
<IsBold>False</IsBold>
<IsItalic>False</IsItalic>
<IsUnderline>False</IsUnderline>
<FontBrush>
<SolidColorBrush>
<Color A="1" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</FontBrush>
</FontInfo>
</TextSpan>
</LineTextSpan>
</FormattedText>
<ObjectLayout>
<DYMOPoint>
<X>1.054057</X>
<Y>0.4304174</Y>
</DYMOPoint>
<Size>
<Width>1.458459</Width>
<Height>0.1499566</Height>
</Size>
</ObjectLayout>
</TextObject>
<TextObject>
<Name>VoucherCode</Name>
<Brushes>
<BackgroundBrush>
<SolidColorBrush>
<Color A="0" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</BackgroundBrush>
<BorderBrush>
<SolidColorBrush>
<Color A="1" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</BorderBrush>
<StrokeBrush>
<SolidColorBrush>
<Color A="1" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</StrokeBrush>
<FillBrush>
<SolidColorBrush>
<Color A="0" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</FillBrush>
</Brushes>
<Rotation>Rotation0</Rotation>
<OutlineThickness>1</OutlineThickness>
<IsOutlined>False</IsOutlined>
<BorderStyle>SolidLine</BorderStyle>
<Margin>
<DYMOThickness Left="0" Top="0" Right="0" Bottom="0" />
</Margin>
<HorizontalAlignment>Left</HorizontalAlignment>
<VerticalAlignment>Middle</VerticalAlignment>
<FitMode>AlwaysFit</FitMode>
<IsVertical>False</IsVertical>
<FormattedText>
<FitMode>AlwaysFit</FitMode>
<HorizontalAlignment>Left</HorizontalAlignment>
<VerticalAlignment>Middle</VerticalAlignment>
<IsVertical>False</IsVertical>
<LineTextSpan>
<TextSpan>
<Text>VoucherCode</Text>
<FontInfo>
<FontName>Calibri</FontName>
<FontSize>8.6</FontSize>
<IsBold>False</IsBold>
<IsItalic>False</IsItalic>
<IsUnderline>False</IsUnderline>
<FontBrush>
<SolidColorBrush>
<Color A="1" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</FontBrush>
</FontInfo>
</TextSpan>
</LineTextSpan>
</FormattedText>
<ObjectLayout>
<DYMOPoint>
<X>1.054057</X>
<Y>0.6057339</Y>
</DYMOPoint>
<Size>
<Width>1.50576</Width>
<Height>0.1499567</Height>
</Size>
</ObjectLayout>
</TextObject>
<TextObject>
<Name>TimeLimit</Name>
<Brushes>
<BackgroundBrush>
<SolidColorBrush>
<Color A="0" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</BackgroundBrush>
<BorderBrush>
<SolidColorBrush>
<Color A="1" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</BorderBrush>
<StrokeBrush>
<SolidColorBrush>
<Color A="1" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</StrokeBrush>
<FillBrush>
<SolidColorBrush>
<Color A="0" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</FillBrush>
</Brushes>
<Rotation>Rotation0</Rotation>
<OutlineThickness>1</OutlineThickness>
<IsOutlined>False</IsOutlined>
<BorderStyle>SolidLine</BorderStyle>
<Margin>
<DYMOThickness Left="0" Top="0" Right="0" Bottom="0" />
</Margin>
<HorizontalAlignment>Left</HorizontalAlignment>
<VerticalAlignment>Middle</VerticalAlignment>
<FitMode>AlwaysFit</FitMode>
<IsVertical>False</IsVertical>
<FormattedText>
<FitMode>AlwaysFit</FitMode>
<HorizontalAlignment>Left</HorizontalAlignment>
<VerticalAlignment>Middle</VerticalAlignment>
<IsVertical>False</IsVertical>
<LineTextSpan>
<TextSpan>
<Text>TimeLimit</Text>
<FontInfo>
<FontName>Calibri</FontName>
<FontSize>8.6</FontSize>
<IsBold>False</IsBold>
<IsItalic>False</IsItalic>
<IsUnderline>False</IsUnderline>
<FontBrush>
<SolidColorBrush>
<Color A="1" R="0" G="0" B="0"> </Color>
</SolidColorBrush>
</FontBrush>
</FontInfo>
</TextSpan>
</LineTextSpan>
</FormattedText>
<ObjectLayout>
<DYMOPoint>
<X>1.06557</X>
<Y>0.77978</Y>
</DYMOPoint>
<Size>
<Width>1.494245</Width>
<Height>0.1499566</Height>
</Size>
</ObjectLayout>
</TextObject>
</LabelObjects>
</DynamicLayoutManager>
</DYMOLabel>
<LabelApplication>Blank</LabelApplication>
<DataTable>
<Columns></Columns>
<Rows></Rows>
</DataTable>
</DesktopLabel>
"""
)
dependencies = [
('voucher', '0001_initial'),
]
operations = [
migrations.RunPython(create_default_dymo_template),
migrations.RunPython(create_default_paper_template)
]
| 34.891924
| 126
| 0.470166
| 2,174
| 29,379
| 6.344526
| 0.097976
| 0.079751
| 0.083738
| 0.01566
| 0.862974
| 0.856811
| 0.829769
| 0.823824
| 0.811209
| 0.811209
| 0
| 0.038177
| 0.396406
| 29,379
| 841
| 127
| 34.933413
| 0.739638
| 0.001532
| 0
| 0.858173
| 1
| 0.069712
| 0.975999
| 0.254705
| 0
| 0
| 0
| 0
| 0
| 1
| 0.002404
| false
| 0.002404
| 0.001202
| 0
| 0.007212
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 9
|
b947c79d5c3a4d8643807cfe0253c95ca0a07410
| 175
|
py
|
Python
|
ckan/ckanext-dcat/ckanext/dcat/harvesters/__init__.py
|
lorenzoeusepi77/ckan
|
3a620e9c81ba1750d12941c02184092d507f71df
|
[
"Apache-2.0"
] | null | null | null |
ckan/ckanext-dcat/ckanext/dcat/harvesters/__init__.py
|
lorenzoeusepi77/ckan
|
3a620e9c81ba1750d12941c02184092d507f71df
|
[
"Apache-2.0"
] | null | null | null |
ckan/ckanext-dcat/ckanext/dcat/harvesters/__init__.py
|
lorenzoeusepi77/ckan
|
3a620e9c81ba1750d12941c02184092d507f71df
|
[
"Apache-2.0"
] | null | null | null |
from ckanext.dcat.harvesters.rdf import DCATRDFHarvester
from ckanext.dcat.harvesters.xml import DCATXMLHarvester
from ckanext.dcat.harvesters._json import DCATJSONHarvester
| 35
| 59
| 0.874286
| 21
| 175
| 7.238095
| 0.52381
| 0.217105
| 0.296053
| 0.493421
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.074286
| 175
| 4
| 60
| 43.75
| 0.938272
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 8
|
b9848a0ab46dbead66ddccdefb979dd632071ef2
| 25,312
|
py
|
Python
|
src/maintenance/azext_maintenance/vendored_sdks/maintenance/operations/_maintenance_configuration_operations.py
|
Mannan2812/azure-cli-extensions
|
e2b34efe23795f6db9c59100534a40f0813c3d95
|
[
"MIT"
] | 2
|
2021-06-05T17:51:26.000Z
|
2021-11-17T11:17:56.000Z
|
src/maintenance/azext_maintenance/vendored_sdks/maintenance/operations/_maintenance_configuration_operations.py
|
Mannan2812/azure-cli-extensions
|
e2b34efe23795f6db9c59100534a40f0813c3d95
|
[
"MIT"
] | 3
|
2020-05-27T20:16:26.000Z
|
2020-07-23T19:46:49.000Z
|
src/maintenance/azext_maintenance/vendored_sdks/maintenance/operations/_maintenance_configuration_operations.py
|
Mannan2812/azure-cli-extensions
|
e2b34efe23795f6db9c59100534a40f0813c3d95
|
[
"MIT"
] | 5
|
2020-05-09T17:47:09.000Z
|
2020-10-01T19:52:06.000Z
|
# 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 TYPE_CHECKING
import warnings
from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
from azure.core.paging import ItemPaged
from azure.core.pipeline import PipelineResponse
from azure.core.pipeline.transport import HttpRequest, HttpResponse
from azure.mgmt.core.exceptions import ARMErrorFormat
from .. import models
if TYPE_CHECKING:
# pylint: disable=unused-import,ungrouped-imports
from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union
T = TypeVar('T')
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
class MaintenanceConfigurationOperations(object):
"""MaintenanceConfigurationOperations operations.
You should not instantiate this class directly. Instead, you should create a Client instance that
instantiates it for you and attaches it as an attribute.
:ivar models: Alias to model classes used in this operation group.
:type models: ~maintenance_client.models
:param client: Client for service requests.
:param config: Configuration of service client.
:param serializer: An object model serializer.
:param deserializer: An object model deserializer.
"""
models = models
def __init__(self, client, config, serializer, deserializer):
self._client = client
self._serialize = serializer
self._deserialize = deserializer
self._config = config
def get(
self,
resource_group_name, # type: str
resource_name, # type: str
**kwargs # type: Any
):
# type: (...) -> "models.MaintenanceConfiguration"
"""Get Configuration record.
Get Configuration record.
:param resource_group_name: Resource Group Name.
:type resource_group_name: str
:param resource_name: Resource Identifier.
:type resource_name: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: MaintenanceConfiguration, or the result of cls(response)
:rtype: ~maintenance_client.models.MaintenanceConfiguration
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.MaintenanceConfiguration"]
error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2020-07-01-preview"
# Construct URL
url = self.get.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'),
'resourceName': self._serialize.url("resource_name", resource_name, 'str'),
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {} # type: Dict[str, Any]
query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Accept'] = 'application/json'
request = self._client.get(url, query_parameters, header_parameters)
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
if response.status_code not in [200]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
error = self._deserialize(models.MaintenanceError, response)
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
deserialized = self._deserialize('MaintenanceConfiguration', pipeline_response)
if cls:
return cls(pipeline_response, deserialized, {})
return deserialized
get.metadata = {'url': '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Maintenance/maintenanceConfigurations/{resourceName}'} # type: ignore
def create_or_update(
self,
resource_group_name, # type: str
resource_name, # type: str
location=None, # type: Optional[str]
tags=None, # type: Optional[Dict[str, str]]
namespace=None, # type: Optional[str]
extension_properties=None, # type: Optional[Dict[str, str]]
maintenance_scope=None, # type: Optional[Union[str, "models.MaintenanceScope"]]
visibility=None, # type: Optional[Union[str, "models.Visibility"]]
start_date_time=None, # type: Optional[str]
expiration_date_time=None, # type: Optional[str]
duration=None, # type: Optional[str]
time_zone=None, # type: Optional[str]
recur_every=None, # type: Optional[str]
**kwargs # type: Any
):
# type: (...) -> "models.MaintenanceConfiguration"
"""Create or Update configuration record.
Create or Update configuration record.
:param resource_group_name: Resource Group Name.
:type resource_group_name: str
:param resource_name: Resource Identifier.
:type resource_name: str
:param location: Gets or sets location of the resource.
:type location: str
:param tags: Gets or sets tags of the resource.
:type tags: dict[str, str]
:param namespace: Gets or sets namespace of the resource.
:type namespace: str
:param extension_properties: Gets or sets extensionProperties of the maintenanceConfiguration.
:type extension_properties: dict[str, str]
:param maintenance_scope: Gets or sets maintenanceScope of the configuration.
:type maintenance_scope: str or ~maintenance_client.models.MaintenanceScope
:param visibility: Gets or sets the visibility of the configuration.
:type visibility: str or ~maintenance_client.models.Visibility
:param start_date_time: Effective start date of the maintenance window in YYYY-MM-DD hh:mm
format. The start date can be set to either the current date or future date. The window will be
created in the time zone provided and adjusted to daylight savings according to that time zone.
:type start_date_time: str
:param expiration_date_time: Effective expiration date of the maintenance window in YYYY-MM-DD
hh:mm format. The window will be created in the time zone provided and adjusted to daylight
savings according to that time zone. Expiration date must be set to a future date. If not
provided, it will be set to the maximum datetime 9999-12-31 23:59:59.
:type expiration_date_time: str
:param duration: Duration of the maintenance window in HH:mm format. If not provided, default
value will be used based on maintenance scope provided. Example: 05:00.
:type duration: str
:param time_zone: Name of the timezone. List of timezones can be obtained by executing
[System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. Example: Pacific Standard Time, UTC,
W. Europe Standard Time, Korea Standard Time, Cen. Australia Standard Time.
:type time_zone: str
:param recur_every: Rate at which a Maintenance window is expected to recur. The rate can be
expressed as daily, weekly, or monthly schedules. Daily schedule are formatted as recurEvery:
[Frequency as integer]['Day(s)']. If no frequency is provided, the default frequency is 1.
Daily schedule examples are recurEvery: Day, recurEvery: 3Days. Weekly schedule are formatted
as recurEvery: [Frequency as integer]['Week(s)'] [Optional comma separated list of weekdays
Monday-Sunday]. Weekly schedule examples are recurEvery: 3Weeks, recurEvery: Week
Saturday,Sunday. Monthly schedules are formatted as [Frequency as integer]['Month(s)'] [Comma
separated list of month days] or [Frequency as integer]['Month(s)'] [Week of Month (First,
Second, Third, Fourth, Last)] [Weekday Monday-Sunday]. Monthly schedule examples are
recurEvery: Month, recurEvery: 2Months, recurEvery: Month day23,day24, recurEvery: Month Last
Sunday, recurEvery: Month Fourth Monday.
:type recur_every: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: MaintenanceConfiguration, or the result of cls(response)
:rtype: ~maintenance_client.models.MaintenanceConfiguration
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.MaintenanceConfiguration"]
error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
error_map.update(kwargs.pop('error_map', {}))
_configuration = models.MaintenanceConfiguration(location=location, tags=tags, namespace=namespace, extension_properties=extension_properties, maintenance_scope=maintenance_scope, visibility=visibility, start_date_time=start_date_time, expiration_date_time=expiration_date_time, duration=duration, time_zone=time_zone, recur_every=recur_every)
api_version = "2020-07-01-preview"
content_type = kwargs.pop("content_type", "application/json")
# Construct URL
url = self.create_or_update.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'),
'resourceName': self._serialize.url("resource_name", resource_name, 'str'),
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {} # type: Dict[str, Any]
query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str')
header_parameters['Accept'] = 'application/json'
body_content_kwargs = {} # type: Dict[str, Any]
body_content = self._serialize.body(_configuration, 'MaintenanceConfiguration')
body_content_kwargs['content'] = body_content
request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs)
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
if response.status_code not in [200]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
error = self._deserialize(models.MaintenanceError, response)
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
deserialized = self._deserialize('MaintenanceConfiguration', pipeline_response)
if cls:
return cls(pipeline_response, deserialized, {})
return deserialized
create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Maintenance/maintenanceConfigurations/{resourceName}'} # type: ignore
def delete(
self,
resource_group_name, # type: str
resource_name, # type: str
**kwargs # type: Any
):
# type: (...) -> "models.MaintenanceConfiguration"
"""Delete Configuration record.
Delete Configuration record.
:param resource_group_name: Resource Group Name.
:type resource_group_name: str
:param resource_name: Resource Identifier.
:type resource_name: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: MaintenanceConfiguration, or the result of cls(response)
:rtype: ~maintenance_client.models.MaintenanceConfiguration
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.MaintenanceConfiguration"]
error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2020-07-01-preview"
# Construct URL
url = self.delete.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'),
'resourceName': self._serialize.url("resource_name", resource_name, 'str'),
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {} # type: Dict[str, Any]
query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Accept'] = 'application/json'
request = self._client.delete(url, query_parameters, header_parameters)
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
if response.status_code not in [200]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
error = self._deserialize(models.MaintenanceError, response)
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
deserialized = self._deserialize('MaintenanceConfiguration', pipeline_response)
if cls:
return cls(pipeline_response, deserialized, {})
return deserialized
delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Maintenance/maintenanceConfigurations/{resourceName}'} # type: ignore
def update(
self,
resource_group_name, # type: str
resource_name, # type: str
location=None, # type: Optional[str]
tags=None, # type: Optional[Dict[str, str]]
namespace=None, # type: Optional[str]
extension_properties=None, # type: Optional[Dict[str, str]]
maintenance_scope=None, # type: Optional[Union[str, "models.MaintenanceScope"]]
visibility=None, # type: Optional[Union[str, "models.Visibility"]]
start_date_time=None, # type: Optional[str]
expiration_date_time=None, # type: Optional[str]
duration=None, # type: Optional[str]
time_zone=None, # type: Optional[str]
recur_every=None, # type: Optional[str]
**kwargs # type: Any
):
# type: (...) -> "models.MaintenanceConfiguration"
"""Patch configuration record.
Patch configuration record.
:param resource_group_name: Resource Group Name.
:type resource_group_name: str
:param resource_name: Resource Identifier.
:type resource_name: str
:param location: Gets or sets location of the resource.
:type location: str
:param tags: Gets or sets tags of the resource.
:type tags: dict[str, str]
:param namespace: Gets or sets namespace of the resource.
:type namespace: str
:param extension_properties: Gets or sets extensionProperties of the maintenanceConfiguration.
:type extension_properties: dict[str, str]
:param maintenance_scope: Gets or sets maintenanceScope of the configuration.
:type maintenance_scope: str or ~maintenance_client.models.MaintenanceScope
:param visibility: Gets or sets the visibility of the configuration.
:type visibility: str or ~maintenance_client.models.Visibility
:param start_date_time: Effective start date of the maintenance window in YYYY-MM-DD hh:mm
format. The start date can be set to either the current date or future date. The window will be
created in the time zone provided and adjusted to daylight savings according to that time zone.
:type start_date_time: str
:param expiration_date_time: Effective expiration date of the maintenance window in YYYY-MM-DD
hh:mm format. The window will be created in the time zone provided and adjusted to daylight
savings according to that time zone. Expiration date must be set to a future date. If not
provided, it will be set to the maximum datetime 9999-12-31 23:59:59.
:type expiration_date_time: str
:param duration: Duration of the maintenance window in HH:mm format. If not provided, default
value will be used based on maintenance scope provided. Example: 05:00.
:type duration: str
:param time_zone: Name of the timezone. List of timezones can be obtained by executing
[System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. Example: Pacific Standard Time, UTC,
W. Europe Standard Time, Korea Standard Time, Cen. Australia Standard Time.
:type time_zone: str
:param recur_every: Rate at which a Maintenance window is expected to recur. The rate can be
expressed as daily, weekly, or monthly schedules. Daily schedule are formatted as recurEvery:
[Frequency as integer]['Day(s)']. If no frequency is provided, the default frequency is 1.
Daily schedule examples are recurEvery: Day, recurEvery: 3Days. Weekly schedule are formatted
as recurEvery: [Frequency as integer]['Week(s)'] [Optional comma separated list of weekdays
Monday-Sunday]. Weekly schedule examples are recurEvery: 3Weeks, recurEvery: Week
Saturday,Sunday. Monthly schedules are formatted as [Frequency as integer]['Month(s)'] [Comma
separated list of month days] or [Frequency as integer]['Month(s)'] [Week of Month (First,
Second, Third, Fourth, Last)] [Weekday Monday-Sunday]. Monthly schedule examples are
recurEvery: Month, recurEvery: 2Months, recurEvery: Month day23,day24, recurEvery: Month Last
Sunday, recurEvery: Month Fourth Monday.
:type recur_every: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: MaintenanceConfiguration, or the result of cls(response)
:rtype: ~maintenance_client.models.MaintenanceConfiguration
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.MaintenanceConfiguration"]
error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
error_map.update(kwargs.pop('error_map', {}))
_configuration = models.MaintenanceConfiguration(location=location, tags=tags, namespace=namespace, extension_properties=extension_properties, maintenance_scope=maintenance_scope, visibility=visibility, start_date_time=start_date_time, expiration_date_time=expiration_date_time, duration=duration, time_zone=time_zone, recur_every=recur_every)
api_version = "2020-07-01-preview"
content_type = kwargs.pop("content_type", "application/json")
# Construct URL
url = self.update.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'),
'resourceName': self._serialize.url("resource_name", resource_name, 'str'),
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {} # type: Dict[str, Any]
query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str')
header_parameters['Accept'] = 'application/json'
body_content_kwargs = {} # type: Dict[str, Any]
body_content = self._serialize.body(_configuration, 'MaintenanceConfiguration')
body_content_kwargs['content'] = body_content
request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs)
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
if response.status_code not in [200]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
error = self._deserialize(models.MaintenanceError, response)
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
deserialized = self._deserialize('MaintenanceConfiguration', pipeline_response)
if cls:
return cls(pipeline_response, deserialized, {})
return deserialized
update.metadata = {'url': '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Maintenance/maintenanceConfigurations/{resourceName}'} # type: ignore
def list(
self,
**kwargs # type: Any
):
# type: (...) -> Iterable["models.ListMaintenanceConfigurationsResult"]
"""Get Configuration records within a subscription.
Get Configuration records within a subscription.
:keyword callable cls: A custom type or function that will be passed the direct response
:return: An iterator like instance of either ListMaintenanceConfigurationsResult or the result of cls(response)
:rtype: ~azure.core.paging.ItemPaged[~maintenance_client.models.ListMaintenanceConfigurationsResult]
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.ListMaintenanceConfigurationsResult"]
error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2020-07-01-preview"
def prepare_request(next_link=None):
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Accept'] = 'application/json'
if not next_link:
# Construct URL
url = self.list.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'),
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {} # type: Dict[str, Any]
query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
request = self._client.get(url, query_parameters, header_parameters)
else:
url = next_link
query_parameters = {} # type: Dict[str, Any]
request = self._client.get(url, query_parameters, header_parameters)
return request
def extract_data(pipeline_response):
deserialized = self._deserialize('ListMaintenanceConfigurationsResult', pipeline_response)
list_of_elem = deserialized.value
if cls:
list_of_elem = cls(list_of_elem)
return None, iter(list_of_elem)
def get_next(next_link=None):
request = prepare_request(next_link)
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
if response.status_code not in [200]:
error = self._deserialize(models.MaintenanceError, response)
map_error(status_code=response.status_code, response=response, error_map=error_map)
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
return pipeline_response
return ItemPaged(
get_next, extract_data
)
list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Maintenance/maintenanceConfigurations'} # type: ignore
| 54.08547
| 351
| 0.68667
| 2,831
| 25,312
| 5.984811
| 0.110562
| 0.012749
| 0.024081
| 0.0157
| 0.866198
| 0.86248
| 0.85286
| 0.851148
| 0.851148
| 0.840288
| 0
| 0.006973
| 0.218078
| 25,312
| 467
| 352
| 54.201285
| 0.84908
| 0.43027
| 0
| 0.746725
| 0
| 0
| 0.140151
| 0.072755
| 0
| 0
| 0
| 0
| 0
| 1
| 0.039301
| false
| 0
| 0.039301
| 0
| 0.139738
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
b9ad01ea8732043fdab5310232d65cdcd4359d0a
| 3,660
|
py
|
Python
|
test/pyaz/functionapp/deployment/source/__init__.py
|
bigdatamoore/py-az-cli
|
54383a4ee7cc77556f6183e74e992eec95b28e01
|
[
"MIT"
] | null | null | null |
test/pyaz/functionapp/deployment/source/__init__.py
|
bigdatamoore/py-az-cli
|
54383a4ee7cc77556f6183e74e992eec95b28e01
|
[
"MIT"
] | 9
|
2021-09-24T16:37:24.000Z
|
2021-12-24T00:39:19.000Z
|
test/pyaz/functionapp/deployment/source/__init__.py
|
bigdatamoore/py-az-cli
|
54383a4ee7cc77556f6183e74e992eec95b28e01
|
[
"MIT"
] | null | null | null |
import json, subprocess
from .... pyaz_utils import get_cli_name, get_params
def config_local_git(resource_group, name, slot=None):
params = get_params(locals())
command = "az functionapp deployment source config-local-git " + params
print(command)
output = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
stdout = output.stdout.decode("utf-8")
stderr = output.stderr.decode("utf-8")
if stdout:
return json.loads(stdout)
print(stdout)
else:
raise Exception(stderr)
print(stderr)
def config_zip(resource_group, name, src, build_remote=None, timeout=None, slot=None):
params = get_params(locals())
command = "az functionapp deployment source config-zip " + params
print(command)
output = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
stdout = output.stdout.decode("utf-8")
stderr = output.stderr.decode("utf-8")
if stdout:
return json.loads(stdout)
print(stdout)
else:
raise Exception(stderr)
print(stderr)
def config(resource_group, name, repo_url, repository_type=None, branch=None, manual_integration=None, git_token=None, slot=None, github_action=None):
params = get_params(locals())
command = "az functionapp deployment source config " + params
print(command)
output = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
stdout = output.stdout.decode("utf-8")
stderr = output.stderr.decode("utf-8")
if stdout:
return json.loads(stdout)
print(stdout)
else:
raise Exception(stderr)
print(stderr)
def sync(resource_group, name, slot=None):
params = get_params(locals())
command = "az functionapp deployment source sync " + params
print(command)
output = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
stdout = output.stdout.decode("utf-8")
stderr = output.stderr.decode("utf-8")
if stdout:
return json.loads(stdout)
print(stdout)
else:
raise Exception(stderr)
print(stderr)
def show(resource_group, name, slot=None):
params = get_params(locals())
command = "az functionapp deployment source show " + params
print(command)
output = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
stdout = output.stdout.decode("utf-8")
stderr = output.stderr.decode("utf-8")
if stdout:
return json.loads(stdout)
print(stdout)
else:
raise Exception(stderr)
print(stderr)
def delete(resource_group, name, slot=None):
params = get_params(locals())
command = "az functionapp deployment source delete " + params
print(command)
output = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
stdout = output.stdout.decode("utf-8")
stderr = output.stderr.decode("utf-8")
if stdout:
return json.loads(stdout)
print(stdout)
else:
raise Exception(stderr)
print(stderr)
def update_token(git_token=None):
params = get_params(locals())
command = "az functionapp deployment source update-token " + params
print(command)
output = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
stdout = output.stdout.decode("utf-8")
stderr = output.stderr.decode("utf-8")
if stdout:
return json.loads(stdout)
print(stdout)
else:
raise Exception(stderr)
print(stderr)
| 35.882353
| 150
| 0.671311
| 446
| 3,660
| 5.446188
| 0.134529
| 0.080692
| 0.057637
| 0.054755
| 0.877316
| 0.877316
| 0.877316
| 0.877316
| 0.877316
| 0.877316
| 0
| 0.004873
| 0.215027
| 3,660
| 101
| 151
| 36.237624
| 0.840585
| 0
| 0
| 0.827957
| 0
| 0
| 0.1
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.075269
| false
| 0
| 0.021505
| 0
| 0.172043
| 0.225806
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
b9cf4a3ed20c35954967b5b44f7a63558a6028a3
| 195
|
py
|
Python
|
meeting/admin.py
|
SlapBass/nx-portal
|
ee262079db1e5230a24ebbc205e44926f11f8da9
|
[
"Apache-2.0"
] | 5
|
2019-10-04T04:46:44.000Z
|
2019-10-09T10:02:01.000Z
|
meeting/admin.py
|
SlapBass/nx-portal
|
ee262079db1e5230a24ebbc205e44926f11f8da9
|
[
"Apache-2.0"
] | 9
|
2019-10-06T07:15:09.000Z
|
2020-09-24T02:19:40.000Z
|
meeting/admin.py
|
SlapBass/nx-portal
|
ee262079db1e5230a24ebbc205e44926f11f8da9
|
[
"Apache-2.0"
] | 1
|
2020-06-19T13:26:08.000Z
|
2020-06-19T13:26:08.000Z
|
from django.contrib import admin
# from .models import (
# Meeting, MeetingPresenter, MeetingFilesRegistration
# )
# admin.site.register(Meeting, MeetingPresenter, MeetingFilesRegistration)
| 27.857143
| 74
| 0.794872
| 17
| 195
| 9.117647
| 0.647059
| 0.296774
| 0.606452
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.123077
| 195
| 6
| 75
| 32.5
| 0.906433
| 0.779487
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
b9d58cd76c6c50278762b0d9b5ee3813f2cf6844
| 170
|
py
|
Python
|
searches/ulti_on_illusion.py
|
ThePianoDentist/dotaHighlightHelper
|
b5a43d02997e2e3d2b1ad7c33f36fe3d88578388
|
[
"MIT"
] | 1
|
2017-04-24T22:39:49.000Z
|
2017-04-24T22:39:49.000Z
|
searches/ulti_on_illusion.py
|
ThePianoDentist/dotaHighlightHelper
|
b5a43d02997e2e3d2b1ad7c33f36fe3d88578388
|
[
"MIT"
] | null | null | null |
searches/ulti_on_illusion.py
|
ThePianoDentist/dotaHighlightHelper
|
b5a43d02997e2e3d2b1ad7c33f36fe3d88578388
|
[
"MIT"
] | null | null | null |
from search import Search
class UltimateOnIllusionSearch(Search):
#TODO will try and do https://github.com/odota/dotaconstants/issues/16 to make it easier
pass
| 24.285714
| 92
| 0.770588
| 24
| 170
| 5.458333
| 0.916667
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.013986
| 0.158824
| 170
| 6
| 93
| 28.333333
| 0.902098
| 0.511765
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.166667
| 0
| 1
| 0
| true
| 0.333333
| 0.333333
| 0
| 0.666667
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| 1
| 0
|
0
| 7
|
e04ebc3ae7088a5872130649e732f9f0dffff21e
| 4,387
|
py
|
Python
|
tests/integration/notify/v1/service/user/test_segment_memberships.py
|
theDrinkMD/twibbage
|
c0aba60bd2df50f0a5688db4a01048ea1efd1a45
|
[
"MIT"
] | null | null | null |
tests/integration/notify/v1/service/user/test_segment_memberships.py
|
theDrinkMD/twibbage
|
c0aba60bd2df50f0a5688db4a01048ea1efd1a45
|
[
"MIT"
] | null | null | null |
tests/integration/notify/v1/service/user/test_segment_memberships.py
|
theDrinkMD/twibbage
|
c0aba60bd2df50f0a5688db4a01048ea1efd1a45
|
[
"MIT"
] | null | null | null |
# coding=utf-8
"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from tests import IntegrationTestCase
from tests.holodeck import Request
from twilio.base.exceptions import TwilioException
from twilio.http.response import Response
class SegmentMembershipTestCase(IntegrationTestCase):
def test_create_request(self):
self.holodeck.mock(Response(500, ''))
with self.assertRaises(TwilioException):
self.client.notify.v1.services(sid="ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.users(identity="NUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.segment_memberships.create(segment="segment")
values = {
'Segment': "segment",
}
self.holodeck.assert_has_request(Request(
'post',
'https://notify.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Users/NUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/SegmentMemberships',
data=values,
))
def test_create_response(self):
self.holodeck.mock(Response(
201,
'''
{
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"identity": "identity",
"segment": "segment",
"service_sid": "ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"url": "https://notify.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Users/identity/SegmentMemberships/segment"
}
'''
))
actual = self.client.notify.v1.services(sid="ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.users(identity="NUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.segment_memberships.create(segment="segment")
self.assertIsNotNone(actual)
def test_delete_request(self):
self.holodeck.mock(Response(500, ''))
with self.assertRaises(TwilioException):
self.client.notify.v1.services(sid="ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.users(identity="NUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.segment_memberships(segment="segment").delete()
self.holodeck.assert_has_request(Request(
'delete',
'https://notify.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Users/NUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/SegmentMemberships/segment',
))
def test_delete_response(self):
self.holodeck.mock(Response(
204,
None,
))
actual = self.client.notify.v1.services(sid="ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.users(identity="NUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.segment_memberships(segment="segment").delete()
self.assertTrue(actual)
def test_fetch_request(self):
self.holodeck.mock(Response(500, ''))
with self.assertRaises(TwilioException):
self.client.notify.v1.services(sid="ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.users(identity="NUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.segment_memberships(segment="segment").fetch()
self.holodeck.assert_has_request(Request(
'get',
'https://notify.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Users/NUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/SegmentMemberships/segment',
))
def test_fetch_response(self):
self.holodeck.mock(Response(
200,
'''
{
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"identity": "identity",
"segment": "segment",
"service_sid": "ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"url": "https://notify.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Users/identity/SegmentMemberships/segment"
}
'''
))
actual = self.client.notify.v1.services(sid="ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.users(identity="NUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.segment_memberships(segment="segment").fetch()
self.assertIsNotNone(actual)
| 39.169643
| 155
| 0.599043
| 312
| 4,387
| 8.304487
| 0.205128
| 0.042455
| 0.145118
| 0.046314
| 0.84176
| 0.84176
| 0.76264
| 0.76264
| 0.76264
| 0.76264
| 0
| 0.01068
| 0.295646
| 4,387
| 111
| 156
| 39.522523
| 0.827832
| 0.024846
| 0
| 0.625
| 1
| 0.03125
| 0.25664
| 0.117783
| 0
| 0
| 0
| 0
| 0.140625
| 1
| 0.09375
| false
| 0
| 0.0625
| 0
| 0.171875
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
0ebffa06c2b406aa5bc9ce22394dea66e30e7419
| 33,700
|
py
|
Python
|
decentmark/tests/test_selenium.py
|
DecentMark/decentmark
|
52cc80f2b13b13a249326f953615e8386f9d4155
|
[
"MIT"
] | null | null | null |
decentmark/tests/test_selenium.py
|
DecentMark/decentmark
|
52cc80f2b13b13a249326f953615e8386f9d4155
|
[
"MIT"
] | 1
|
2018-09-05T12:07:44.000Z
|
2018-09-05T12:07:44.000Z
|
decentmark/tests/test_selenium.py
|
DecentMark/decentmark
|
52cc80f2b13b13a249326f953615e8386f9d4155
|
[
"MIT"
] | 3
|
2018-08-28T06:02:47.000Z
|
2018-09-03T10:53:07.000Z
|
from django.contrib.auth import get_user_model
from django.test import TestCase, LiveServerTestCase
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from decentmark.models import *
from selenium.common import exceptions
class InitSelenium(LiveServerTestCase):
@classmethod
def setUpClass(cls):
cls.browser = webdriver.Chrome()
super(InitSelenium,cls).setUpClass()
@classmethod
def tearDownClass(cls):
super(InitSelenium,cls).tearDownClass()
cls.browser.quit()
def perform_login(self,user_name,pass_word):
self.browser.get(self.live_server_url + '/accounts/login/')
username = self.browser.find_element_by_name("username")
username.send_keys(user_name)
password = self.browser.find_element_by_name("password")
password.send_keys(pass_word)
self.browser.find_element_by_css_selector(".btn-primary").click()
def perform_logout(self):
self.browser.find_element_by_css_selector(".text-danger").click()
def perform_manual_mark(self,mark,feedback):
manual_mark = self.browser.find_element_by_name("mark")
manual_mark.clear()
manual_mark.send_keys(mark)
manual_feedback = self.browser.find_element_by_name("feedback")
manual_feedback.clear()
manual_feedback.send_keys(feedback)
self.browser.find_element_by_css_selector(".btn-success").click()
class StudentsTests(InitSelenium):
def setUp(self):
User = get_user_model()
self.student1=User.objects.create_user(username='stu',
email='student1@decent.mark',
password='stu')
self.unit1=Unit.objects.create(name='Python', start='2017-10-25 14:30:59', end='2018-10-25 14:30:59', description='111',
deleted='False')
UnitUsers.objects.create(unit=self.unit1, user=self.student1,create=False,mark=False,submit=True)
self.assigngment1=Assignment.objects.create(unit=self.unit1,name='assigngment1',start='2018-10-24 14:30:59',end='2018-10-26 14:30:59',description='assignment1_discription',total=5, test='1',solution='1',template='1',deleted=False)
self.unit2=Unit.objects.create(name='Django', start='2018-10-25 14:30:59', end='2017-10-25 14:30:59', description='222',
deleted='False')
def tearDown(self):
pass
def perform_submission(self,example): #submit a assignment function
self.perform_login('stu','stu')
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/div[1]/table/tbody/tr[1]/td[1]/a").click()
self.browser.find_element_by_css_selector(".btn-primary").click()
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/table/tbody/tr/td[1]/a").click()
self.browser.find_element_by_css_selector(".btn-default").click()
solution = self.browser.find_element_by_name("solution")
solution.send_keys(example)
self.browser.find_element_by_css_selector(".btn-success").click()
def test_student_login_redirects_to_unit_list(self): # student login test & view unit function
self.perform_login('stu','stu')
self.assertEqual(self.live_server_url + "/", self.browser.current_url, "At the Unit List page")
def test_student_login_fail(self): # student login fail test
self.perform_login('stu','stu1')
self.assertEqual(self.live_server_url + '/accounts/login/', self.browser.current_url, "At the Unit List page")
def test_student_login_out_redirects_to_logout_page(self): # student login out test
self.perform_login('stu','stu')
self.perform_logout()
self.assertEqual(self.live_server_url + '/accounts/logout/', self.browser.current_url)
def test_student_login_out_redirects_to_login_page(self): # student login out to login test
self.perform_login('stu','stu')
self.perform_logout()
self.browser.find_element_by_css_selector(".btn-primary").click()
self.assertEqual(self.live_server_url + '/accounts/login/', self.browser.current_url)
def test_student_navigation_home(self): # student navigation to home test
self.perform_login('stu','stu')
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/div[1]/table/tbody/tr[1]/td[1]/a").click()
self.browser.find_element_by_xpath("/html/body/main/div[1]/div/ol/li[1]/a").click()
self.assertEqual(self.live_server_url + '/', self.browser.current_url)
def test_student_redirects_to_create_assignment(self): #permission check with manual navigation
self.perform_login('stu','stu')
self.browser.get(self.live_server_url + '/u/%d/create_assignment/' % self.unit1.id) #
page_heading_text = self.browser.find_element_by_css_selector('h1').text
self.assertEqual(page_heading_text, '403 Forbidden') #TO Do response code
# self.assertNotEqual(response.status_code, 200) #TO Do response code
def test_student_not_enrolled_units_check(self): #check wether units that the student is not enrolled in is displayed
self.perform_login('stu','stu')
def find_not_enrolled_unit():
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/div[1]/table/tbody/tr[2]/td[1]/a").click()
self.assertRaises(exceptions.NoSuchElementException,find_not_enrolled_unit)
def test_student_create_unit_button_check(self): #check create unit button
self.perform_login('stu','stu')
def find_create_unit():
self.browser.find_element_by_css_selector('.btn-success')
self.assertRaises(exceptions.NoSuchElementException,find_create_unit)
def test_student_edit_unit_button_check(self): #check edit unit button
self.perform_login('stu','stu')
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/div[1]/table/tbody/tr[1]/td[1]/a").click()
def find_edit_unit():
self.browser.find_element_by_css_selector('.btn-danger')
self.assertRaises(exceptions.NoSuchElementException,find_edit_unit)
def test_student_invite_user_button_check(self): #invite user buttion check
self.perform_login('stu','stu')
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/div[1]/table/tbody/tr[1]/td[1]/a").click()
def find_invite_user():
self.browser.find_element_by_css_selector('.btn-warning')
self.assertRaises(exceptions.NoSuchElementException,find_invite_user)
def test_student_audit_log_button_check(self): #view audit log button check
self.perform_login('stu','stu')
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/div[1]/table/tbody/tr[1]/td[1]/a").click()
def find_audit_log():
self.browser.find_element_by_css_selector('.btn-secondary')
self.assertRaises(exceptions.NoSuchElementException,find_audit_log)
def test_student_view_a_unit(self): # student login test & view unit function
self.perform_login('stu','stu')
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/div[1]/table/tbody/tr[1]/td[1]/a").click()
self.assertEqual(self.live_server_url + '/u/%d/' % self.unit1.id, self.browser.current_url,"At View a Unit Page")
def test_student_unit_name_test(self): # unit name is well displayed
self.perform_login('stu','stu')
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/div[1]/table/tbody/tr[1]/td[1]/a").click()
unit_name=self.browser.find_element_by_xpath("/html/body/main/div[2]/div/div[1]/p").text
self.assertEqual(unit_name, self.unit1.name,"At View a Unit Page")
def test_student_view_assignments(self): # student view assignment list function
self.perform_login('stu','stu')
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/div[1]/table/tbody/tr[1]/td[1]/a").click()
self.browser.find_element_by_css_selector(".btn-primary").click()
self.assertEqual(self.live_server_url + '/u/%d/assignments/' % self.unit1.id, self.browser.current_url,"At assignment Lists Page")
def test_student_create_a_assignment(self): # create a assignment button check
self.perform_login('stu','stu')
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/div[1]/table/tbody/tr[1]/td[1]/a").click()
self.browser.find_element_by_css_selector(".btn-primary").click()
def find_create_assignment():
self.browser.find_element_by_css_selector('.btn-primary')
self.assertRaises(exceptions.NoSuchElementException,find_create_assignment)
def test_student_view_a_assignment(self): # student view a ssignment function
self.perform_login('stu','stu')
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/div[1]/table/tbody/tr[1]/td[1]/a").click()
self.browser.find_element_by_css_selector(".btn-primary").click()
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/table/tbody/tr/td[1]/a").click()
self.assertEqual(self.live_server_url + '/a/%d/' % self.assigngment1.id,self.browser.current_url,"At View a assignment Page")
def test_student_edit_a_assignment(self): # student edit assignment function permission
self.perform_login('stu','stu')
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/div[1]/table/tbody/tr[1]/td[1]/a").click()
self.browser.find_element_by_css_selector(".btn-primary").click()
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/table/tbody/tr/td[1]/a").click()
def find_edit_assignment():
self.browser.find_element_by_css_selector('.btn-danger')
self.assertRaises(exceptions.NoSuchElementException,find_edit_assignment)
def test_student_view_a_assignment_name(self): # student view a ssignment function
self.perform_login('stu','stu')
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/div[1]/table/tbody/tr[1]/td[1]/a").click()
self.browser.find_element_by_css_selector(".btn-primary").click()
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/table/tbody/tr/td[1]/a").click()
assignment_name=self.browser.find_element_by_xpath("/html/body/main/div[2]/div/div[1]/p").text
self.assertEqual(assignment_name,self.assigngment1.name)
def test_student_make_a_submission(self): #student make a submission
self.perform_submission("sample_solution")
solution_area=self.browser.find_element_by_xpath("/html/body/main/div[2]/div/table/tbody/tr[3]/td").text
self.assertEqual(solution_area,"sample_solution")
def test_student_mark_a_submission(self): #student mark a submission
self.perform_submission("sample_solution")
def find_mark_assignment():
self.browser.find_element_by_css_selector('.btn-warning')
self.assertRaises(exceptions.NoSuchElementException,find_mark_assignment)
def test_student_viwe_a_submission(self): #student view a submission
self.perform_submission("sample_solution1")
self.browser.find_element_by_css_selector(".btn-info").click()
submission_area=self.browser.find_element_by_xpath("/html/body/main/div[2]/table/tbody/tr[1]/td[1]/a").text
self.assertEqual(submission_area,self.student1.username)
#self.assertEqual(self.live_server_url + "/u/4/", self.browser.current_url, "At the Unit List page")
def test_student_edit_profile(self):
pass
def test_student_download_submission(self):
pass
# TO DO:
# respond code & self.assertEqual(response.status_code, 403)
# check content & url
class TeachersTests(InitSelenium):
def setUp(self):
User = get_user_model()
self.student1=User.objects.create_user(username='stu',
email='student1@decent.mark',
password='stu')
self.teacher1=User.objects.create_user(username='teacher',
email='student1@decent.mark',
password='teacher')
self.unit1=Unit.objects.create(name='Python', start='2018-10-25 14:30:59', end='2018-11-25 14:30:59', description='111')
UnitUsers.objects.create(unit=self.unit1, user=self.teacher1,create=True,mark=True,submit=False)
UnitUsers.objects.create(unit=self.unit1, user=self.student1,create=False,mark=False,submit=True)
self.assignment1=Assignment.objects.create(unit=self.unit1,name='assigngment1',start='2018-10-24 14:30:59',end='2018-10-26 14:30:59',description='assignment1_discription',total=5, test='1',solution='1',template='1',deleted=False)
self.submission1=Submission.objects.create(assignment=self.assignment1,user=self.student1,solution="sample_solution")
def tearDown(self):
pass
def test_teacher_login_fail(self): # teacher login with wrong answer
self.perform_login('teacher1','teacher')
self.assertEqual(self.live_server_url + '/accounts/login/', self.browser.current_url, "At the Unit List page")
def test_teacher_login_redirects_to_unit_list(self): # teacher login test & view unit function
self.perform_login('teacher','teacher')
self.assertEqual(self.live_server_url + "/", self.browser.current_url, "At the Unit List page")
def test_teacher_login_out_redirects_to_logout_page(self): # teacher login out test
self.perform_login('teacher','teacher')
self.perform_logout()
self.assertEqual(self.live_server_url + '/accounts/logout/', self.browser.current_url)
def test_teacher_login_out_redirects_to_login_page(self): # teacher login out to login test
self.perform_login('teacher','teacher')
self.perform_logout()
self.browser.find_element_by_css_selector(".btn-primary").click()
self.assertEqual(self.live_server_url + '/accounts/login/', self.browser.current_url)
def test_teacher_view_a_unit(self): # teacher view a unit
self.perform_login('teacher','teacher')
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/div[1]/table/tbody/tr[1]/td[1]/a").click()
page_heading_text = self.browser.find_element_by_css_selector('h4').text
self.assertEqual(page_heading_text, "Unit Name", "At Unit Page")
def test_teacher_view_assignments(self): # teacher view assignments
self.perform_login('teacher','teacher')
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/div[1]/table/tbody/tr[1]/td[1]/a").click()
self.browser.find_element_by_css_selector(".btn-primary").click()
page_heading_text = self.browser.find_element_by_xpath('/html/body/main/div/div/h1').text
self.assertEqual(page_heading_text,"Python Assignments", "At assignments Page")
def test_teacher_view_a_assignment(self): # teacher view a assignment
self.perform_login('teacher','teacher')
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/div[1]/table/tbody/tr[1]/td[1]/a").click()
self.browser.find_element_by_css_selector(".btn-primary").click()
self.browser.find_element_by_xpath("/html/body/main/div/div/table/tbody/tr/td[1]/a").click()
page_heading_text = self.browser.find_element_by_xpath('/html/body/main/div/div/div[1]/p').text
self.assertEqual(page_heading_text,"assigngment1", "At assignment Page")
def test_teacher_make_a_submission(self): #teacher make a submission button check, permission check
self.perform_login('teacher','teacher')
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/div[1]/table/tbody/tr[1]/td[1]/a").click()
self.browser.find_element_by_css_selector(".btn-primary").click()
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/table/tbody/tr/td[1]/a").click()
def find_make_a_submission_teacher():
self.browser.find_element_by_css_selector('.btn-default')
self.assertRaises(exceptions.NoSuchElementException,find_make_a_submission_teacher)
def test_teacher_view_all_submissions(self): #teacher view all submissions
self.perform_login('teacher','teacher')
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/div[1]/table/tbody/tr[1]/td[1]/a").click()
self.browser.find_element_by_css_selector(".btn-primary").click()
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/table/tbody/tr/td[1]/a").click()
self.browser.find_element_by_css_selector(".btn-primary").click()
submission_name=self.browser.find_element_by_xpath("/html/body/main/div[2]/table/tbody/tr[1]/td[1]/a").text
self.assertEqual(submission_name,"stu")
def test_teacher_view_a_submission(self): #teacher view a submission
self.perform_login('teacher','teacher')
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/div[1]/table/tbody/tr[1]/td[1]/a").click()
self.browser.find_element_by_css_selector(".btn-primary").click()
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/table/tbody/tr/td[1]/a").click()
self.browser.find_element_by_css_selector(".btn-primary").click()
self.browser.find_element_by_xpath("/html/body/main/div[2]/table/tbody/tr[1]/td[1]/a").click()
header=self.browser.find_element_by_xpath("/html/body/main/div[2]/div/h1").text
self.assertEqual(header,self.assignment1.name+" by "+self.submission1.user.username)
def test_teacher_manual_feedback(self):
self.perform_login('teacher','teacher')
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/div[1]/table/tbody/tr[1]/td[1]/a").click()
self.browser.find_element_by_css_selector(".btn-primary").click()
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/table/tbody/tr/td[1]/a").click()
self.browser.find_element_by_css_selector(".btn-primary").click()
self.browser.find_element_by_xpath("/html/body/main/div[2]/table/tbody/tr[1]/td[1]/a").click()
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/h1").click()
self.browser.find_element_by_css_selector(".btn-warning").click()
mark=4
feedback="HD"
self.perform_manual_mark(mark,feedback)
feedback_area=self.browser.find_element_by_xpath("/html/body/main/div[2]/div/table/tbody/tr[8]/td").text
self.assertEqual(feedback_area,feedback)
def test_teacher_manual_score(self):
self.perform_login('teacher','teacher')
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/div[1]/table/tbody/tr[1]/td[1]/a").click()
self.browser.find_element_by_css_selector(".btn-primary").click()
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/table/tbody/tr/td[1]/a").click()
self.browser.find_element_by_css_selector(".btn-primary").click()
self.browser.find_element_by_xpath("/html/body/main/div[2]/table/tbody/tr[1]/td[1]/a").click()
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/h1").click()
self.browser.find_element_by_css_selector(".btn-warning").click()
mark=4
feedback="HD"
self.perform_manual_mark(mark,feedback)
score_area=self.browser.find_element_by_xpath("/html/body/main/div[2]/div/table/tbody/tr[7]/td").text
self.assertEqual(score_area,"%d / %d" % (mark,self.assignment1.total))
def perform_edit_unit(self,name,start,end,discription):
ele_name = self.browser.find_element_by_name("name")
ele_name.clear()
ele_name.send_keys(name)
ele_start = self.browser.find_element_by_name("start")
ele_start.click()
ele_start.send_keys(start)
ele_end = self.browser.find_element_by_name("end")
ele_end.click()
ele_end.send_keys(end)
ele_discription = self.browser.find_element_by_name("description")
ele_discription.clear()
ele_discription.send_keys(discription)
self.browser.find_element_by_css_selector(".btn-primary").click()
def test_teacher_edit_unit(self):
self.perform_login('teacher','teacher')
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/div[1]/table/tbody/tr[1]/td[1]/a").click()
self.browser.find_element_by_css_selector(".btn-danger").click()
unitname="unit2"
startdate="01062018"
enddate="09062018"
discription="unit2_discription"
self.perform_edit_unit(unitname,startdate,enddate,discription)
unit_name=self.browser.find_element_by_css_selector(".well-sm").text
self.assertEqual(unit_name,unitname)
def perform_create_assignment(self,name,start,end,discription,total,test,solution,template):
ele_name = self.browser.find_element_by_name("name")
ele_name.clear()
ele_name.send_keys(name)
ele_start = self.browser.find_element_by_name("start")
ele_start.click()
ele_start.send_keys(start)
ele_end = self.browser.find_element_by_name("end")
ele_end.click()
ele_end.send_keys(end)
ele_discription = self.browser.find_element_by_name("description")
ele_discription.clear()
ele_discription.send_keys(discription)
ele_total = self.browser.find_element_by_name("total")
ele_total.clear()
ele_total.send_keys(total)
ele_total = self.browser.find_element_by_name("test")
ele_total.clear()
ele_total.send_keys(test)
ele_total = self.browser.find_element_by_name("solution")
ele_total.clear()
ele_total.send_keys(solution)
ele_total = self.browser.find_element_by_name("template")
ele_total.clear()
ele_total.send_keys(template)
self.browser.find_element_by_css_selector(".btn-primary").click()
def test_teacher_create_assignment(self):
self.perform_login('teacher','teacher')
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/div[1]/table/tbody/tr[1]/td[1]/a").click()
self.browser.find_element_by_css_selector(".btn-primary").click()
self.browser.find_element_by_css_selector(".btn-primary").click()
name="assignemnt2"
start="03072019"
end="19072019"
discription="assignemnt2_discription"
total=10
test="assignment2_test"
solution="assignment2_solution"
template="assignment2_template"
self.perform_create_assignment(name,start,end,discription,total,test,solution,template)
assignment_name=self.browser.find_element_by_xpath("/html/body/main/div[2]/div/div[1]/p").text
self.assertEqual(assignment_name,name)
def perform_edit_assignment(self,name,start,end,discription,total,test,solution,template):
ele_discription = self.browser.find_element_by_name("description")
ele_discription.clear()
ele_discription.send_keys(discription)
self.browser.find_element_by_css_selector(".btn-primary").click()
def test_teacher_edit_assignment(self):
self.perform_login('teacher','teacher')
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/div[1]/table/tbody/tr[1]/td[1]/a").click()
self.browser.find_element_by_css_selector(".btn-primary").click()
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/table/tbody/tr[1]/td[1]/a").click()
self.browser.find_element_by_css_selector(".btn-danger").click()
name="assignemnt2"
start="03072019"
end="19072019"
discription="assignemnt2_discription_new"
total=10
test="assignment2_test"
solution="assignment2_solution"
template="assignment2_template"
self.perform_edit_assignment(name,start,end,discription,total,test,solution,template)
discription_name=self.browser.find_element_by_xpath("/html/body/main/div[2]/div/div[2]/p").text
self.assertEqual(discription_name,discription)
def test_teacher_create_unit(self):
pass
def test_teacher_auto_score_and_feedback(self):
pass
def test_teacher_invite_users(self):
pass
def test_teacher_view_users(self):
pass
def test_teacher_download_all_submissions(self):
pass
def test_teacher_download_a_submission(self):
pass
def test_teacher_edit_profile(self):
pass
def test_teacher_edit_audit_log(self):
pass
class MarkersTests(InitSelenium):
def setUp(self):
User = get_user_model()
self.student1=User.objects.create_user(username='stu',
email='student1@decent.mark',
password='stu')
self.marker1=User.objects.create_user(username='marker',
email='student1@decent.mark',
password='marker')
self.unit1=Unit.objects.create(name='Python', start='2018-10-25 14:30:59', end='2018-11-25 14:30:59', description='111',
deleted=False)
UnitUsers.objects.create(unit=self.unit1, user=self.marker1,create=False,mark=True,submit=False)
UnitUsers.objects.create(unit=self.unit1, user=self.student1,create=False,mark=False,submit=True)
self.assignment1=Assignment.objects.create(id=2,unit=self.unit1,name='assigngment1',start='2018-10-24 14:30:59',end='2018-10-26 14:30:59',description='assignment1_discription',total=5, test='1',solution='1',template='1',deleted=False)
self.submission1=Submission.objects.create(assignment=self.assignment1,user=self.student1,solution="sample_solution")
def tearDown(self):
pass
def test_marker_login_fail(self): # marker login with wrong answer
self.perform_login('marker1','marker')
self.assertEqual(self.live_server_url + '/accounts/login/', self.browser.current_url, "At the Unit List page")
def test_marker_login_redirects_to_unit_list(self): # marker login test & view unit function
self.perform_login('marker','marker')
self.assertEqual(self.live_server_url + "/", self.browser.current_url, "At the Unit List page")
def test_marker_login_out_redirects_to_logout_page(self): # marker login out test
self.perform_login('marker','marker')
self.perform_logout()
self.assertEqual(self.live_server_url + '/accounts/logout/', self.browser.current_url)
def test_marker_login_out_redirects_to_login_page(self): # marker login out to login test
self.perform_login('marker','marker')
self.perform_logout()
self.browser.find_element_by_css_selector(".btn-primary").click()
self.assertEqual(self.live_server_url + '/accounts/login/', self.browser.current_url)
def test_marker_view_a_unit(self): # marker view a unit
self.perform_login('marker','marker')
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/div[1]/table/tbody/tr[1]/td[1]/a").click()
page_heading_text = self.browser.find_element_by_css_selector('h4').text
self.assertEqual(page_heading_text, "Unit Name", "At Unit Page")
def test_marker_view_assignments(self): # marker view assignments
self.perform_login('marker','marker')
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/div[1]/table/tbody/tr[1]/td[1]/a").click()
self.browser.find_element_by_css_selector(".btn-primary").click()
page_heading_text = self.browser.find_element_by_xpath('/html/body/main/div/div/h1').text
self.assertEqual(page_heading_text,"Python Assignments", "At assignments Page")
def test_marker_view_a_assignment(self): # marker view a assignment
self.perform_login('marker','marker')
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/div[1]/table/tbody/tr[1]/td[1]/a").click()
self.browser.find_element_by_css_selector(".btn-primary").click()
self.browser.find_element_by_xpath("/html/body/main/div/div/table/tbody/tr/td[1]/a").click()
page_heading_text = self.browser.find_element_by_xpath('/html/body/main/div/div/div[1]/p').text
self.assertEqual(page_heading_text,"assigngment1", "At assignment Page")
def test_marker_make_a_submission(self): #marker make a submission button check, permission check
self.perform_login('marker','marker')
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/div[1]/table/tbody/tr[1]/td[1]/a").click()
self.browser.find_element_by_css_selector(".btn-primary").click()
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/table/tbody/tr/td[1]/a").click()
def find_make_a_submission_marker():
self.browser.find_element_by_css_selector('.btn-default')
self.assertRaises(exceptions.NoSuchElementException,find_make_a_submission_marker)
def test_marker_view_all_submissions(self): #marker view all submissions
self.perform_login('marker','marker')
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/div[1]/table/tbody/tr[1]/td[1]/a").click()
self.browser.find_element_by_css_selector(".btn-primary").click()
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/table/tbody/tr/td[1]/a").click()
self.browser.find_element_by_css_selector(".btn-primary").click()
submission_name=self.browser.find_element_by_xpath("/html/body/main/div[2]/table/tbody/tr[1]/td[1]/a").text
self.assertEqual(submission_name,"stu")
def test_marker_view_a_submission(self): #marker view a submission
self.perform_login('marker','marker')
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/div[1]/table/tbody/tr[1]/td[1]/a").click()
self.browser.find_element_by_css_selector(".btn-primary").click()
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/table/tbody/tr/td[1]/a").click()
self.browser.find_element_by_css_selector(".btn-primary").click()
self.browser.find_element_by_xpath("/html/body/main/div[2]/table/tbody/tr[1]/td[1]/a").click()
header=self.browser.find_element_by_xpath("/html/body/main/div[2]/div/h1").text
self.assertEqual(header,self.assignment1.name+" by "+self.submission1.user.username)
def test_marker_manual_feedback(self):
self.perform_login('marker','marker')
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/div[1]/table/tbody/tr[1]/td[1]/a").click()
self.browser.find_element_by_css_selector(".btn-primary").click()
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/table/tbody/tr/td[1]/a").click()
self.browser.find_element_by_css_selector(".btn-primary").click()
self.browser.find_element_by_xpath("/html/body/main/div[2]/table/tbody/tr[1]/td[1]/a").click()
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/h1").click()
self.browser.find_element_by_css_selector(".btn-warning").click()
mark=3
feedback="D"
self.perform_manual_mark(mark,feedback)
feedback_area=self.browser.find_element_by_xpath("/html/body/main/div[2]/div/table/tbody/tr[8]/td").text
self.assertEqual(feedback_area,feedback)
def test_marker_manual_score(self):
self.perform_login('marker','marker')
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/div[1]/table/tbody/tr[1]/td[1]/a").click()
self.browser.find_element_by_css_selector(".btn-primary").click()
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/table/tbody/tr/td[1]/a").click()
self.browser.find_element_by_css_selector(".btn-primary").click()
self.browser.find_element_by_xpath("/html/body/main/div[2]/table/tbody/tr[1]/td[1]/a").click()
self.browser.find_element_by_xpath("/html/body/main/div[2]/div/h1").click()
self.browser.find_element_by_css_selector(".btn-warning").click()
mark=3
feedback="D"
self.perform_manual_mark(mark,feedback)
score_area=self.browser.find_element_by_xpath("/html/body/main/div[2]/div/table/tbody/tr[7]/td").text
self.assertEqual(score_area,"%d / %d" % (mark,self.assignment1.total))
def test_marker_auto_score_and_feedback(self):
pass
def test_marker_download_all_submissions(self):
pass
def test_marker_download_a_submission(self):
pass
def test_marker_edit_profile(self):
pass
def test_marker_view_users(self):
pass
def test_marker_more_permission_check(self):
pass
| 55.336617
| 243
| 0.683116
| 4,669
| 33,700
| 4.685586
| 0.046263
| 0.088998
| 0.108333
| 0.158888
| 0.875897
| 0.832975
| 0.79499
| 0.742606
| 0.711843
| 0.699867
| 0
| 0.02122
| 0.179139
| 33,700
| 608
| 244
| 55.427632
| 0.76962
| 0.047122
| 0
| 0.626531
| 0
| 0.128571
| 0.213582
| 0.127011
| 0
| 0
| 0
| 0
| 0.097959
| 1
| 0.181633
| false
| 0.055102
| 0.012245
| 0
| 0.202041
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
|
0
| 7
|
0ec28ad75b6775746b2901e0317c5f04520610ff
| 220
|
py
|
Python
|
frtosdbg/__init__.py
|
mzr/frtosdbg
|
cf56473e61d9ad127c76eb0d40b8d5e3ad5b4037
|
[
"MIT"
] | 2
|
2020-11-10T01:34:08.000Z
|
2021-06-03T02:38:57.000Z
|
frtosdbg/__init__.py
|
mzr/frtosdbg
|
cf56473e61d9ad127c76eb0d40b8d5e3ad5b4037
|
[
"MIT"
] | null | null | null |
frtosdbg/__init__.py
|
mzr/frtosdbg
|
cf56473e61d9ad127c76eb0d40b8d5e3ad5b4037
|
[
"MIT"
] | 2
|
2021-08-23T08:54:13.000Z
|
2021-11-30T15:54:58.000Z
|
import gdb
import frtosdbg.commands
import frtosdbg.commands.freertos
import frtosdbg.commands.tasks
import frtosdbg.commands.queues
import frtosdbg.functions
import frtosdbg.functions.curtask
import frtosdbg.structgen
| 22
| 33
| 0.872727
| 27
| 220
| 7.111111
| 0.37037
| 0.510417
| 0.458333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.077273
| 220
| 9
| 34
| 24.444444
| 0.945813
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
0ed56d66195f2b2985fdfe32ff7596bbb29be8f0
| 54,458
|
py
|
Python
|
polaris/polaris/tests/commands/test_poll_pending_deposits.py
|
nikita-gorodeckij/django-polaris
|
315c855d1a5383b22be3b4b88ed6c1f69cad22c2
|
[
"Apache-2.0"
] | null | null | null |
polaris/polaris/tests/commands/test_poll_pending_deposits.py
|
nikita-gorodeckij/django-polaris
|
315c855d1a5383b22be3b4b88ed6c1f69cad22c2
|
[
"Apache-2.0"
] | null | null | null |
polaris/polaris/tests/commands/test_poll_pending_deposits.py
|
nikita-gorodeckij/django-polaris
|
315c855d1a5383b22be3b4b88ed6c1f69cad22c2
|
[
"Apache-2.0"
] | null | null | null |
import pytest
from decimal import Decimal
from unittest.mock import patch, Mock
from polaris import settings
from polaris.models import Asset, Transaction
from polaris.management.commands.poll_pending_deposits import PendingDeposits, Command
from stellar_sdk import (
Keypair,
Account,
Transaction as SdkTransaction,
TransactionEnvelope,
Asset as SdkAsset,
Claimant,
)
from stellar_sdk.operation import (
CreateAccount,
BumpSequence,
Payment,
CreateClaimableBalance,
)
from stellar_sdk.exceptions import BadRequestError, ConnectionError, NotFoundError
from stellar_sdk.memo import TextMemo
test_module = "polaris.management.commands.poll_pending_deposits"
@pytest.mark.django_db
@patch(f"{test_module}.rri")
def test_get_ready_deposits(mock_rri):
usd = Asset.objects.create(code="USD", issuer=Keypair.random().public_key)
transaction = Transaction.objects.create(
asset=usd,
status=Transaction.STATUS.pending_user_transfer_start,
kind=Transaction.KIND.deposit,
pending_execution_attempt=False,
amount_in=100,
)
mock_rri.poll_pending_deposits = lambda x: list(x.all())
assert PendingDeposits.get_ready_deposits() == [transaction]
transaction.refresh_from_db()
assert transaction.pending_execution_attempt is True
@pytest.mark.django_db
@patch(f"{test_module}.rri")
@patch(f"{test_module}.maybe_make_callback")
def test_get_ready_deposits_bad_amount_in(mock_maybe_make_callback, mock_rri):
usd = Asset.objects.create(code="USD", issuer=Keypair.random().public_key)
transaction = Transaction.objects.create(
asset=usd,
status=Transaction.STATUS.pending_user_transfer_start,
kind=Transaction.KIND.deposit,
pending_execution_attempt=False,
)
mock_rri.poll_pending_deposits = lambda x: list(x.all())
assert PendingDeposits.get_ready_deposits() == []
transaction.refresh_from_db()
assert transaction.status == Transaction.STATUS.error
assert "amount_in" in transaction.status_message
assert transaction.pending_execution_attempt is False
mock_maybe_make_callback.assert_called_once()
@pytest.mark.django_db
@patch(f"{test_module}.rri")
@patch(f"{test_module}.maybe_make_callback")
def test_get_ready_deposits_bad_transaction_type(mock_maybe_make_callback, mock_rri):
usd = Asset.objects.create(code="USD", issuer=Keypair.random().public_key)
withdrawal = Transaction.objects.create(
asset=usd,
status=Transaction.STATUS.pending_user_transfer_start,
kind=Transaction.KIND.withdrawal,
pending_execution_attempt=False,
)
mock_rri.poll_pending_deposits = lambda x: [withdrawal]
assert PendingDeposits.get_ready_deposits() == []
withdrawal.refresh_from_db()
assert withdrawal.status == Transaction.STATUS.error
assert "non-deposit" in withdrawal.status_message
assert withdrawal.pending_execution_attempt is False
mock_maybe_make_callback.assert_called_once()
@pytest.mark.django_db
@patch(f"{test_module}.rri")
def test_get_ready_deposits_empty_when_pending_execution_attempt(mock_rri):
usd = Asset.objects.create(code="USD", issuer=Keypair.random().public_key)
transaction = Transaction.objects.create(
asset=usd,
status=Transaction.STATUS.pending_user_transfer_start,
kind=Transaction.KIND.deposit,
pending_execution_attempt=False,
amount_in=100,
)
mock_rri.poll_pending_deposits = lambda x: list(x.all())
assert PendingDeposits.get_ready_deposits() == [transaction]
assert PendingDeposits.get_ready_deposits() == []
transaction.refresh_from_db()
assert transaction.pending_execution_attempt is True
@pytest.mark.django_db
@patch(f"{test_module}.rri")
def test_get_ready_deposits_invalid_data_assigned_to_transaction_no_error(mock_rri):
usd = Asset.objects.create(code="USD", issuer=Keypair.random().public_key)
transaction = Transaction.objects.create(
asset=usd,
status=Transaction.STATUS.pending_user_transfer_start,
kind=Transaction.KIND.deposit,
pending_execution_attempt=False,
amount_in=100,
amount_fee=None, # ensures .save() will be called
)
class Amount:
def __init__(self, value):
self.value = value
def mock_poll_pending_deposits(transactions_qs):
transactions = list(transactions_qs)
for t in transactions_qs:
# t.save() would raise a TypeError
t.amount_in = Amount(100)
return transactions
mock_rri.poll_pending_deposits = mock_poll_pending_deposits
assert PendingDeposits.get_ready_deposits() == [transaction]
@pytest.mark.django_db
@patch(f"{test_module}.rri")
@patch(f"{test_module}.registered_fee_func", lambda: None)
def test_get_ready_deposits_custom_fee_func_used(mock_rri):
usd = Asset.objects.create(code="USD", issuer=Keypair.random().public_key)
transaction = Transaction.objects.create(
asset=usd,
status=Transaction.STATUS.pending_user_transfer_start,
kind=Transaction.KIND.deposit,
pending_execution_attempt=False,
amount_in=100,
amount_fee=None,
)
mock_rri.poll_pending_deposits = lambda x: list(x.all())
assert PendingDeposits.get_ready_deposits() == [transaction]
transaction.refresh_from_db()
assert transaction.pending_execution_attempt is True
assert transaction.amount_fee == Decimal(0)
@pytest.mark.django_db
@patch(f"{test_module}.get_account_obj")
def test_get_or_create_destination_account_exists(mock_get_account_obj):
usd = Asset.objects.create(code="USD", issuer=Keypair.random().public_key)
transaction = Transaction.objects.create(
asset=usd,
status=Transaction.STATUS.pending_user_transfer_start,
kind=Transaction.KIND.deposit,
stellar_account=Keypair.random().public_key,
)
account_obj = Account(transaction.stellar_account, 1)
mock_get_account_obj.return_value = (
account_obj,
{"balances": [{"asset_code": "USD", "asset_issuer": usd.issuer}]},
)
assert PendingDeposits.get_or_create_destination_account(transaction) == (
account_obj,
False,
)
@pytest.mark.django_db
@patch(f"{test_module}.get_account_obj")
def test_get_or_create_destination_account_exists_pending_trust(mock_get_account_obj):
usd = Asset.objects.create(code="USD", issuer=Keypair.random().public_key)
transaction = Transaction.objects.create(
asset=usd,
status=Transaction.STATUS.pending_user_transfer_start,
kind=Transaction.KIND.deposit,
stellar_account=Keypair.random().public_key,
)
account_obj = Account(transaction.stellar_account, 1)
mock_get_account_obj.return_value = (account_obj, {"balances": []})
assert PendingDeposits.get_or_create_destination_account(transaction) == (
account_obj,
True,
)
@pytest.mark.django_db
@patch(f"{test_module}.PendingDeposits.requires_multisig")
@patch(f"{test_module}.settings.HORIZON_SERVER.fetch_base_fee")
@patch(f"{test_module}.settings.HORIZON_SERVER.submit_transaction")
def test_get_or_create_destination_account_doesnt_exist(
mock_submit_transaction, mock_fetch_base_fee, mock_requires_multisig
):
usd = Asset.objects.create(
code="USD",
issuer=Keypair.random().public_key,
distribution_seed=Keypair.random().secret,
)
transaction = Transaction.objects.create(
asset=usd,
status=Transaction.STATUS.pending_user_transfer_start,
kind=Transaction.KIND.deposit,
stellar_account=Keypair.random().public_key,
)
mock_fetch_base_fee.return_value = 100
mock_requires_multisig.return_value = False
stellar_account_obj = Account(transaction.stellar_account, 1)
distribution_account_obj = Account(usd.distribution_account, 1)
def mock_get_account_obj_func(kp: Keypair):
if kp.public_key == transaction.stellar_account:
if mock_submit_transaction.called:
return stellar_account_obj, {"balances": []}
else:
raise RuntimeError()
elif kp.public_key == usd.distribution_account:
return distribution_account_obj, None
with patch(f"{test_module}.get_account_obj", mock_get_account_obj_func):
assert PendingDeposits.get_or_create_destination_account(transaction) == (
stellar_account_obj,
True,
)
mock_fetch_base_fee.assert_called()
mock_requires_multisig.assert_called()
mock_submit_transaction.assert_called_once()
envelope = mock_submit_transaction.mock_calls[0][1][0]
assert envelope.transaction.source.public_key == usd.distribution_account
assert len(envelope.transaction.operations) == 1
assert isinstance(envelope.transaction.operations[0], CreateAccount)
assert (
envelope.transaction.operations[0].destination
== transaction.stellar_account
)
@pytest.mark.django_db
@patch(f"{test_module}.PendingDeposits.requires_multisig")
@patch(f"{test_module}.settings.HORIZON_SERVER.fetch_base_fee")
@patch(f"{test_module}.settings.HORIZON_SERVER.submit_transaction")
@patch(f"{test_module}.rdi.create_channel_account")
def test_get_or_create_destination_account_doesnt_exist_requires_multisig(
mock_create_channel_account,
mock_submit_transaction,
mock_fetch_base_fee,
mock_requires_multisig,
):
usd = Asset.objects.create(
code="USD",
issuer=Keypair.random().public_key,
distribution_seed=Keypair.random().secret,
)
transaction = Transaction.objects.create(
asset=usd,
status=Transaction.STATUS.pending_user_transfer_start,
kind=Transaction.KIND.deposit,
stellar_account=Keypair.random().public_key,
channel_seed=Keypair.random().secret,
)
mock_fetch_base_fee.return_value = 100
mock_requires_multisig.return_value = True
stellar_account_obj = Account(transaction.stellar_account, 1)
channel_account_obj = Account(transaction.channel_account, 1)
def mock_get_account_obj_func(kp: Keypair):
if kp.public_key == transaction.stellar_account:
if mock_submit_transaction.called:
return stellar_account_obj, {"balances": []}
else:
raise RuntimeError()
elif kp.public_key == transaction.channel_account:
return channel_account_obj, None
with patch(f"{test_module}.get_account_obj", mock_get_account_obj_func):
assert PendingDeposits.get_or_create_destination_account(transaction) == (
stellar_account_obj,
True,
)
mock_fetch_base_fee.assert_called()
mock_requires_multisig.assert_called()
mock_create_channel_account.assert_not_called()
mock_submit_transaction.assert_called_once()
envelope = mock_submit_transaction.mock_calls[0][1][0]
assert envelope.transaction.source.public_key == transaction.channel_account
assert len(envelope.transaction.operations) == 1
assert isinstance(envelope.transaction.operations[0], CreateAccount)
assert (
envelope.transaction.operations[0].destination
== transaction.stellar_account
)
@pytest.mark.django_db
@patch(f"{test_module}.get_account_obj")
@patch(f"{test_module}.maybe_make_callback")
@patch(f"{test_module}.PendingDeposits.create_deposit_envelope")
@patch(f"{test_module}.settings.HORIZON_SERVER.submit_transaction")
def test_submit_sucess(
mock_submit_transaction,
mock_create_deposit_envelope,
mock_maybe_make_callback,
mock_get_account_obj,
):
usd = Asset.objects.create(
code="USD",
issuer=Keypair.random().public_key,
distribution_seed=Keypair.random().secret,
)
transaction = Transaction.objects.create(
asset=usd,
status=Transaction.STATUS.pending_user_transfer_start,
kind=Transaction.KIND.deposit,
pending_execution_attempt=True,
stellar_account=Keypair.random().public_key,
amount_in=100,
amount_fee=1,
)
mock_get_account_obj.return_value = (Account(usd.distribution_account, 1), None)
mock_create_deposit_envelope.return_value = TransactionEnvelope(
SdkTransaction(
source=usd.distribution_account,
sequence=1,
fee=100,
operations=[BumpSequence(2)],
),
network_passphrase=settings.STELLAR_NETWORK_PASSPHRASE,
)
mock_submit_transaction.return_value = {
"envelope_xdr": "envelope_xdr",
"paging_token": "paging_token",
"id": "id",
"successful": True,
}
assert PendingDeposits.submit(transaction) is True
transaction.refresh_from_db()
assert transaction.status == Transaction.STATUS.completed
assert transaction.pending_execution_attempt is False
assert transaction.envelope_xdr == "envelope_xdr"
assert transaction.paging_token == "paging_token"
assert transaction.stellar_transaction_id == "id"
assert transaction.completed_at
assert transaction.amount_out == 99
mock_submit_transaction.assert_called_once_with(
mock_create_deposit_envelope.return_value
)
assert len(mock_create_deposit_envelope.return_value.signatures) == 1
mock_get_account_obj.assert_called_once_with(
Keypair.from_public_key(usd.distribution_account)
)
assert mock_maybe_make_callback.call_count == 3
@pytest.mark.django_db
@patch(f"{test_module}.get_account_obj")
@patch(f"{test_module}.maybe_make_callback")
@patch(f"{test_module}.PendingDeposits.create_deposit_envelope")
@patch(f"{test_module}.settings.HORIZON_SERVER.submit_transaction")
def test_submit_request_failed(
mock_submit_transaction,
mock_create_deposit_envelope,
mock_maybe_make_callback,
mock_get_account_obj,
):
usd = Asset.objects.create(
code="USD",
issuer=Keypair.random().public_key,
distribution_seed=Keypair.random().secret,
)
transaction = Transaction.objects.create(
asset=usd,
status=Transaction.STATUS.pending_user_transfer_start,
kind=Transaction.KIND.deposit,
pending_execution_attempt=True,
stellar_account=Keypair.random().public_key,
amount_in=100,
amount_fee=1,
)
mock_get_account_obj.return_value = (Account(usd.distribution_account, 1), None)
mock_create_deposit_envelope.return_value = TransactionEnvelope(
SdkTransaction(
source=usd.distribution_account,
sequence=1,
fee=100,
operations=[BumpSequence(2)],
),
network_passphrase=settings.STELLAR_NETWORK_PASSPHRASE,
)
mock_submit_transaction.side_effect = BadRequestError(
Mock(status_code=400, text="testing", json=Mock(return_value={}))
)
assert PendingDeposits.submit(transaction) is False
transaction.refresh_from_db()
assert transaction.status == Transaction.STATUS.error
assert transaction.status_message == "BadRequestError: testing"
assert transaction.pending_execution_attempt is False
assert transaction.envelope_xdr is None
assert transaction.paging_token is None
assert transaction.stellar_transaction_id is None
assert transaction.completed_at is None
assert transaction.amount_out is None
mock_submit_transaction.assert_called_once_with(
mock_create_deposit_envelope.return_value
)
assert len(mock_create_deposit_envelope.return_value.signatures) == 1
mock_get_account_obj.assert_called_once_with(
Keypair.from_public_key(usd.distribution_account)
)
assert mock_maybe_make_callback.call_count == 3
@pytest.mark.django_db
@patch(f"{test_module}.get_account_obj")
@patch(f"{test_module}.maybe_make_callback")
@patch(f"{test_module}.PendingDeposits.create_deposit_envelope")
@patch(f"{test_module}.settings.HORIZON_SERVER.submit_transaction")
def test_submit_request_failed(
mock_submit_transaction,
mock_create_deposit_envelope,
mock_maybe_make_callback,
mock_get_account_obj,
):
usd = Asset.objects.create(
code="USD",
issuer=Keypair.random().public_key,
distribution_seed=Keypair.random().secret,
)
transaction = Transaction.objects.create(
asset=usd,
status=Transaction.STATUS.pending_user_transfer_start,
kind=Transaction.KIND.deposit,
pending_execution_attempt=True,
stellar_account=Keypair.random().public_key,
amount_in=100,
amount_fee=1,
)
mock_get_account_obj.return_value = (Account(usd.distribution_account, 1), None)
mock_create_deposit_envelope.return_value = TransactionEnvelope(
SdkTransaction(
source=usd.distribution_account,
sequence=1,
fee=100,
operations=[BumpSequence(2)],
),
network_passphrase=settings.STELLAR_NETWORK_PASSPHRASE,
)
mock_submit_transaction.side_effect = ConnectionError("testing")
assert PendingDeposits.submit(transaction) is False
transaction.refresh_from_db()
assert transaction.status == Transaction.STATUS.error
assert transaction.status_message == "ConnectionError: testing"
assert transaction.pending_execution_attempt is False
assert transaction.envelope_xdr is None
assert transaction.paging_token is None
assert transaction.stellar_transaction_id is None
assert transaction.completed_at is None
assert transaction.amount_out is None
mock_submit_transaction.assert_called_once_with(
mock_create_deposit_envelope.return_value
)
assert len(mock_create_deposit_envelope.return_value.signatures) == 1
mock_get_account_obj.assert_called_once_with(
Keypair.from_public_key(usd.distribution_account)
)
assert mock_maybe_make_callback.call_count == 3
@pytest.mark.django_db
@patch(f"{test_module}.get_account_obj")
@patch(f"{test_module}.maybe_make_callback")
@patch(f"{test_module}.PendingDeposits.create_deposit_envelope")
@patch(f"{test_module}.settings.HORIZON_SERVER.submit_transaction")
def test_submit_request_unsuccessful(
mock_submit_transaction,
mock_create_deposit_envelope,
mock_maybe_make_callback,
mock_get_account_obj,
):
usd = Asset.objects.create(
code="USD",
issuer=Keypair.random().public_key,
distribution_seed=Keypair.random().secret,
)
transaction = Transaction.objects.create(
asset=usd,
status=Transaction.STATUS.pending_user_transfer_start,
kind=Transaction.KIND.deposit,
pending_execution_attempt=True,
stellar_account=Keypair.random().public_key,
amount_in=100,
amount_fee=1,
)
mock_get_account_obj.return_value = (Account(usd.distribution_account, 1), None)
mock_create_deposit_envelope.return_value = TransactionEnvelope(
SdkTransaction(
source=usd.distribution_account,
sequence=1,
fee=100,
operations=[BumpSequence(2)],
),
network_passphrase=settings.STELLAR_NETWORK_PASSPHRASE,
)
mock_submit_transaction.return_value = {
"successful": False,
"result_xdr": "testing",
}
assert PendingDeposits.submit(transaction) is False
transaction.refresh_from_db()
assert transaction.status == Transaction.STATUS.error
assert (
transaction.status_message
== "Stellar transaction failed when submitted to horizon: testing"
)
assert transaction.pending_execution_attempt is False
assert transaction.envelope_xdr is None
assert transaction.paging_token is None
assert transaction.stellar_transaction_id is None
assert transaction.completed_at is None
assert transaction.amount_out is None
mock_submit_transaction.assert_called_once_with(
mock_create_deposit_envelope.return_value
)
assert len(mock_create_deposit_envelope.return_value.signatures) == 1
mock_get_account_obj.assert_called_once_with(
Keypair.from_public_key(usd.distribution_account)
)
assert mock_maybe_make_callback.call_count == 3
@pytest.mark.django_db
@patch(f"{test_module}.get_account_obj")
@patch(f"{test_module}.maybe_make_callback")
@patch(f"{test_module}.PendingDeposits.create_deposit_envelope")
@patch(f"{test_module}.settings.HORIZON_SERVER.submit_transaction")
def test_submit_multisig_success(
mock_submit_transaction,
mock_create_deposit_envelope,
mock_maybe_make_callback,
mock_get_account_obj,
):
usd = Asset.objects.create(
code="USD",
issuer=Keypair.random().public_key,
distribution_seed=Keypair.random().secret,
)
envelope = TransactionEnvelope(
SdkTransaction(
source=usd.distribution_account,
sequence=1,
fee=100,
operations=[BumpSequence(2)],
),
network_passphrase=settings.STELLAR_NETWORK_PASSPHRASE,
)
transaction = Transaction.objects.create(
asset=usd,
status=Transaction.STATUS.pending_user_transfer_start,
kind=Transaction.KIND.deposit,
pending_execution_attempt=True,
stellar_account=Keypair.random().public_key,
amount_in=100,
amount_fee=1,
envelope_xdr=envelope.to_xdr(),
)
mock_submit_transaction.return_value = {
"envelope_xdr": "envelope_xdr",
"paging_token": "paging_token",
"id": "id",
"successful": True,
}
assert PendingDeposits.submit(transaction) is True
transaction.refresh_from_db()
assert transaction.status == Transaction.STATUS.completed
assert transaction.pending_execution_attempt is False
assert transaction.envelope_xdr == "envelope_xdr"
assert transaction.paging_token == "paging_token"
assert transaction.stellar_transaction_id == "id"
assert transaction.completed_at
assert transaction.amount_out == 99
mock_create_deposit_envelope.assert_not_called()
mock_get_account_obj.assert_not_called()
mock_submit_transaction.assert_called_once()
envelope_from_call = mock_submit_transaction.mock_calls[0][1][0]
assert envelope_from_call.to_xdr() == envelope.to_xdr()
assert mock_maybe_make_callback.call_count == 3
@pytest.mark.django_db
@patch(f"{test_module}.PendingDeposits.submit")
@patch(f"{test_module}.rdi")
def test_handle_submit_success(mock_rdi, mock_submit):
usd = Asset.objects.create(code="USD", issuer=Keypair.random().public_key)
transaction = Transaction.objects.create(
asset=usd,
status=Transaction.STATUS.pending_user_transfer_start,
kind=Transaction.KIND.deposit,
stellar_account=Keypair.random().public_key,
amount_in=100,
amount_fee=1,
)
transaction.refresh_from_db = Mock()
mock_submit.return_value = True
PendingDeposits.handle_submit(transaction)
mock_submit.assert_called_once_with(transaction)
transaction.refresh_from_db.assert_called_once()
mock_rdi.after_deposit.assert_called_once_with(transaction)
@pytest.mark.django_db
@patch(f"{test_module}.PendingDeposits.submit")
@patch(f"{test_module}.rdi")
def test_handle_submit_unsuccessful(mock_rdi, mock_submit):
usd = Asset.objects.create(code="USD", issuer=Keypair.random().public_key)
transaction = Transaction.objects.create(
asset=usd,
status=Transaction.STATUS.pending_user_transfer_start,
kind=Transaction.KIND.deposit,
stellar_account=Keypair.random().public_key,
amount_in=100,
amount_fee=1,
)
transaction.refresh_from_db = Mock()
mock_submit.return_value = False
PendingDeposits.handle_submit(transaction)
mock_submit.assert_called_once_with(transaction)
transaction.refresh_from_db.assert_not_called()
mock_rdi.after_deposit.assert_not_called()
@pytest.mark.django_db
@patch(f"{test_module}.PendingDeposits.submit")
@patch(f"{test_module}.rdi")
@patch(f"{test_module}.logger")
def test_handle_submit_success_after_deposit_exception(
mock_logger, mock_rdi, mock_submit
):
usd = Asset.objects.create(code="USD", issuer=Keypair.random().public_key)
transaction = Transaction.objects.create(
asset=usd,
status=Transaction.STATUS.pending_user_transfer_start,
kind=Transaction.KIND.deposit,
stellar_account=Keypair.random().public_key,
amount_in=100,
amount_fee=1,
)
transaction.refresh_from_db = Mock()
mock_submit.return_value = True
mock_rdi.after_deposit.side_effect = KeyError()
PendingDeposits.handle_submit(transaction)
mock_submit.assert_called_once_with(transaction)
transaction.refresh_from_db.assert_called_once()
mock_rdi.after_deposit.assert_called_once_with(transaction)
mock_logger.exception.assert_called_once()
@pytest.mark.django_db
@patch(f"{test_module}.PendingDeposits.submit")
@patch(f"{test_module}.rdi")
@patch(f"{test_module}.logger")
@patch(f"{test_module}.maybe_make_callback")
def test_handle_submit_unexpected_exception(
mock_maybe_make_callback, mock_logger, mock_rdi, mock_submit
):
usd = Asset.objects.create(code="USD", issuer=Keypair.random().public_key)
transaction = Transaction.objects.create(
asset=usd,
status=Transaction.STATUS.pending_user_transfer_start,
kind=Transaction.KIND.deposit,
pending_execution_attempt=True,
stellar_account=Keypair.random().public_key,
amount_in=100,
amount_fee=1,
)
transaction.refresh_from_db = Mock()
mock_submit.side_effect = KeyError()
PendingDeposits.handle_submit(transaction)
mock_submit.assert_called_once_with(transaction)
transaction.refresh_from_db.assert_not_called()
mock_rdi.after_deposit.assert_not_called()
mock_logger.exception.assert_called_once()
transaction = Transaction.objects.get(id=transaction.id)
assert transaction.status == Transaction.STATUS.error
assert transaction.pending_execution_attempt is False
mock_maybe_make_callback.assert_called_once()
@pytest.mark.django_db
@patch(f"{test_module}.get_account_obj")
@patch(f"{test_module}.settings.HORIZON_SERVER.fetch_base_fee")
def test_create_transaction_envelope(mock_fetch_base_fee, mock_get_account_obj):
usd = Asset.objects.create(
code="USD",
issuer=Keypair.random().public_key,
distribution_seed=Keypair.random().secret,
)
transaction = Transaction.objects.create(
asset=usd,
status=Transaction.STATUS.pending_user_transfer_start,
kind=Transaction.KIND.deposit,
stellar_account=Keypair.random().public_key,
amount_in=100,
amount_fee=1,
memo_type=Transaction.MEMO_TYPES.text,
memo="testing",
)
source_account = Account(usd.distribution_account, 1)
envelope = PendingDeposits.create_deposit_envelope(transaction, source_account)
mock_get_account_obj.assert_not_called()
mock_fetch_base_fee.assert_called_once()
assert isinstance(envelope, TransactionEnvelope)
assert envelope.transaction.source.public_key == usd.distribution_account
assert isinstance(envelope.transaction.memo, TextMemo)
assert envelope.transaction.memo.memo_text.decode() == transaction.memo
assert envelope.network_passphrase == settings.STELLAR_NETWORK_PASSPHRASE
assert len(envelope.transaction.operations) == 1
assert isinstance(envelope.transaction.operations[0], Payment)
assert envelope.transaction.operations[0].source == usd.distribution_account
assert Decimal(envelope.transaction.operations[0].amount) == 99
assert envelope.transaction.operations[0].asset, SdkAsset == SdkAsset(
usd.code, usd.issuer
)
assert envelope.transaction.operations[0].destination == transaction.stellar_account
@pytest.mark.django_db
@patch(f"{test_module}.get_account_obj")
@patch(f"{test_module}.settings.HORIZON_SERVER.fetch_base_fee")
def test_create_transaction_envelope_claimable_balance_supported_has_trustline(
mock_fetch_base_fee, mock_get_account_obj
):
usd = Asset.objects.create(
code="USD",
issuer=Keypair.random().public_key,
distribution_seed=Keypair.random().secret,
)
transaction = Transaction.objects.create(
asset=usd,
status=Transaction.STATUS.pending_user_transfer_start,
kind=Transaction.KIND.deposit,
stellar_account=Keypair.random().public_key,
amount_in=100,
amount_fee=1,
memo_type=Transaction.MEMO_TYPES.text,
memo="testing",
claimable_balance_supported=True,
)
source_account = Account(usd.distribution_account, 1)
mock_get_account_obj.return_value = (
source_account,
{"balances": [{"asset_code": usd.code, "asset_issuer": usd.issuer}]},
)
envelope = PendingDeposits.create_deposit_envelope(transaction, source_account)
mock_get_account_obj.assert_called_once_with(
Keypair.from_public_key(transaction.stellar_account)
)
mock_fetch_base_fee.assert_called_once()
assert isinstance(envelope, TransactionEnvelope)
assert envelope.transaction.source.public_key == usd.distribution_account
assert isinstance(envelope.transaction.memo, TextMemo)
assert envelope.transaction.memo.memo_text.decode() == transaction.memo
assert envelope.network_passphrase == settings.STELLAR_NETWORK_PASSPHRASE
assert len(envelope.transaction.operations) == 1
assert isinstance(envelope.transaction.operations[0], Payment)
assert envelope.transaction.operations[0].source == usd.distribution_account
assert Decimal(envelope.transaction.operations[0].amount) == 99
assert envelope.transaction.operations[0].asset, SdkAsset == SdkAsset(
usd.code, usd.issuer
)
assert envelope.transaction.operations[0].destination == transaction.stellar_account
@pytest.mark.django_db
@patch(f"{test_module}.get_account_obj")
@patch(f"{test_module}.settings.HORIZON_SERVER.fetch_base_fee")
def test_create_transaction_envelope_claimable_balance_supported_no_trustline(
mock_fetch_base_fee, mock_get_account_obj
):
usd = Asset.objects.create(
code="USD",
issuer=Keypair.random().public_key,
distribution_seed=Keypair.random().secret,
)
transaction = Transaction.objects.create(
asset=usd,
status=Transaction.STATUS.pending_user_transfer_start,
kind=Transaction.KIND.deposit,
stellar_account=Keypair.random().public_key,
amount_in=100,
amount_fee=1,
memo_type=Transaction.MEMO_TYPES.text,
memo="testing",
claimable_balance_supported=True,
)
source_account = Account(usd.distribution_account, 1)
mock_get_account_obj.return_value = (source_account, {"balances": []})
envelope = PendingDeposits.create_deposit_envelope(transaction, source_account)
mock_get_account_obj.assert_called_once_with(
Keypair.from_public_key(transaction.stellar_account)
)
mock_fetch_base_fee.assert_called_once()
assert isinstance(envelope, TransactionEnvelope)
assert envelope.transaction.source.public_key == usd.distribution_account
assert isinstance(envelope.transaction.memo, TextMemo)
assert envelope.transaction.memo.memo_text.decode() == transaction.memo
assert envelope.network_passphrase == settings.STELLAR_NETWORK_PASSPHRASE
assert len(envelope.transaction.operations) == 1
assert isinstance(envelope.transaction.operations[0], CreateClaimableBalance)
assert envelope.transaction.operations[0].source == usd.distribution_account
assert Decimal(envelope.transaction.operations[0].amount) == 99
assert envelope.transaction.operations[0].asset, SdkAsset == SdkAsset(
usd.code, usd.issuer
)
assert len(envelope.transaction.operations[0].claimants) == 1
assert isinstance(envelope.transaction.operations[0].claimants[0], Claimant)
assert (
envelope.transaction.operations[0].claimants[0].destination
== transaction.stellar_account
)
@pytest.mark.django_db
@patch(f"{test_module}.PendingDeposits.get_or_create_destination_account")
@patch(f"{test_module}.maybe_make_callback")
def test_requires_trustline_has_trustline(
mock_maybe_make_callback, mock_get_or_create_destination_account
):
usd = Asset.objects.create(code="USD", issuer=Keypair.random().public_key,)
transaction = Transaction.objects.create(
asset=usd,
status=Transaction.STATUS.pending_user_transfer_start,
kind=Transaction.KIND.deposit,
stellar_account=Keypair.random().public_key,
pending_execution_attempt=True,
)
mock_get_or_create_destination_account.return_value = None, False
assert PendingDeposits.requires_trustline(transaction) is False
mock_maybe_make_callback.assert_not_called()
transaction.refresh_from_db()
assert transaction.status == transaction.STATUS.pending_user_transfer_start
assert transaction.pending_execution_attempt is True
@pytest.mark.django_db
@patch(f"{test_module}.PendingDeposits.get_or_create_destination_account")
@patch(f"{test_module}.maybe_make_callback")
def test_requires_trustline_no_trustline(
mock_maybe_make_callback, mock_get_or_create_destination_account
):
usd = Asset.objects.create(code="USD", issuer=Keypair.random().public_key,)
transaction = Transaction.objects.create(
asset=usd,
status=Transaction.STATUS.pending_user_transfer_start,
kind=Transaction.KIND.deposit,
stellar_account=Keypair.random().public_key,
pending_execution_attempt=True,
)
mock_get_or_create_destination_account.return_value = None, True
assert PendingDeposits.requires_trustline(transaction) is True
mock_maybe_make_callback.assert_called_once_with(transaction)
transaction.refresh_from_db()
assert transaction.status == transaction.STATUS.pending_trust
assert transaction.pending_execution_attempt is False
@pytest.mark.django_db
@patch(f"{test_module}.PendingDeposits.get_or_create_destination_account")
@patch(f"{test_module}.maybe_make_callback")
def test_requires_trustline_create_fails(
mock_maybe_make_callback, mock_get_or_create_destination_account
):
usd = Asset.objects.create(code="USD", issuer=Keypair.random().public_key,)
transaction = Transaction.objects.create(
asset=usd,
status=Transaction.STATUS.pending_user_transfer_start,
kind=Transaction.KIND.deposit,
stellar_account=Keypair.random().public_key,
pending_execution_attempt=True,
)
mock_get_or_create_destination_account.side_effect = RuntimeError()
assert PendingDeposits.requires_trustline(transaction) is True
mock_maybe_make_callback.assert_called_once_with(transaction)
transaction.refresh_from_db()
assert transaction.status == transaction.STATUS.error
assert transaction.pending_execution_attempt is False
@pytest.mark.django_db
def test_requires_multisig_single_master_signer():
usd = Asset.objects.create(
code="USD",
issuer=Keypair.random().public_key,
distribution_seed=Keypair.random().secret,
)
transaction = Transaction.objects.create(
asset=usd,
status=Transaction.STATUS.pending_user_transfer_start,
kind=Transaction.KIND.deposit,
stellar_account=Keypair.random().public_key,
pending_execution_attempt=True,
)
with patch(
"polaris.models.ASSET_DISTRIBUTION_ACCOUNT_MAP",
{
(usd.code, usd.issuer): {
"signers": [{"key": usd.distribution_account, "weight": 0}],
"thresholds": {
"low_threshold": 0,
"med_threshold": 0,
"high_threshold": 0,
},
}
},
):
assert PendingDeposits.requires_multisig(transaction) is False
@pytest.mark.django_db
def test_requires_multisig_single_master_signer_insufficient_weight():
usd = Asset.objects.create(
code="USD",
issuer=Keypair.random().public_key,
distribution_seed=Keypair.random().secret,
)
transaction = Transaction.objects.create(
asset=usd,
status=Transaction.STATUS.pending_user_transfer_start,
kind=Transaction.KIND.deposit,
stellar_account=Keypair.random().public_key,
pending_execution_attempt=True,
)
with patch(
"polaris.models.ASSET_DISTRIBUTION_ACCOUNT_MAP",
{
(usd.code, usd.issuer): {
"signers": [{"key": usd.distribution_account, "weight": 0}],
"thresholds": {
"low_threshold": 1,
"med_threshold": 1,
"high_threshold": 1,
},
}
},
):
assert PendingDeposits.requires_multisig(transaction) is True
@pytest.mark.django_db
def test_requires_multisig_no_master_signer():
usd = Asset.objects.create(
code="USD",
issuer=Keypair.random().public_key,
distribution_seed=Keypair.random().secret,
)
transaction = Transaction.objects.create(
asset=usd,
status=Transaction.STATUS.pending_user_transfer_start,
kind=Transaction.KIND.deposit,
stellar_account=Keypair.random().public_key,
pending_execution_attempt=True,
)
with patch(
"polaris.models.ASSET_DISTRIBUTION_ACCOUNT_MAP",
{
(usd.code, usd.issuer): {
"signers": [{"key": Keypair.random().public_key, "weight": 1}],
"thresholds": {
"low_threshold": 0,
"med_threshold": 0,
"high_threshold": 0,
},
}
},
):
assert PendingDeposits.requires_multisig(transaction) is True
@pytest.mark.django_db
@patch(f"polaris.settings.HORIZON_SERVER.accounts")
def test_requires_multisig_fetch_account_single_master_signer(mock_accounts_endpoint):
usd = Asset.objects.create(
code="USD",
issuer=Keypair.random().public_key,
distribution_seed=Keypair.random().secret,
)
transaction = Transaction.objects.create(
asset=usd,
status=Transaction.STATUS.pending_user_transfer_start,
kind=Transaction.KIND.deposit,
stellar_account=Keypair.random().public_key,
pending_execution_attempt=True,
)
mock_accounts_endpoint.return_value.account_id.return_value.call.return_value = {
"signers": [{"key": usd.distribution_account, "weight": 0}],
"thresholds": {"low_threshold": 0, "med_threshold": 0, "high_threshold": 0},
}
assert PendingDeposits.requires_multisig(transaction) is False
mock_accounts_endpoint.return_value.account_id.assert_called_once_with(
usd.distribution_account
)
mock_accounts_endpoint.return_value.account_id.return_value.call.assert_called_once()
@pytest.mark.django_db
@patch(f"{test_module}.get_account_obj")
@patch(f"{test_module}.maybe_make_callback")
@patch(f"{test_module}.PendingDeposits.create_deposit_envelope")
def test_save_as_pending_signatures(
mock_create_deposit_envelope, mock_maybe_make_callback, mock_get_account_obj
):
usd = Asset.objects.create(code="USD", issuer=Keypair.random().public_key,)
transaction = Transaction.objects.create(
asset=usd,
status=Transaction.STATUS.pending_user_transfer_start,
kind=Transaction.KIND.deposit,
stellar_account=Keypair.random().public_key,
pending_execution_attempt=True,
channel_seed=Keypair.random().secret,
)
mock_get_account_obj.return_value = Account(Keypair.random().public_key, 1), None
mock_create_deposit_envelope.return_value = TransactionEnvelope(
SdkTransaction(
source=Keypair.from_secret(transaction.channel_seed),
sequence=2,
fee=100,
operations=[BumpSequence(3)],
),
network_passphrase=settings.STELLAR_NETWORK_PASSPHRASE,
)
PendingDeposits.save_as_pending_signatures(transaction)
transaction.refresh_from_db()
assert transaction.pending_execution_attempt is False
assert transaction.status == Transaction.STATUS.pending_anchor
assert transaction.pending_signatures is True
envelope = TransactionEnvelope.from_xdr(
transaction.envelope_xdr, network_passphrase=settings.STELLAR_NETWORK_PASSPHRASE
)
assert len(envelope.signatures) == 1
mock_maybe_make_callback.assert_called_once()
mock_create_deposit_envelope.assert_called_once_with(
transaction, mock_get_account_obj.return_value[0]
)
@pytest.mark.django_db
@patch(f"{test_module}.get_account_obj")
@patch(f"{test_module}.maybe_make_callback")
@patch(f"{test_module}.PendingDeposits.create_deposit_envelope")
def test_save_as_pending_signatures_channel_account_not_found(
mock_create_deposit_envelope, mock_maybe_make_callback, mock_get_account_obj
):
usd = Asset.objects.create(code="USD", issuer=Keypair.random().public_key,)
transaction = Transaction.objects.create(
asset=usd,
status=Transaction.STATUS.pending_user_transfer_start,
kind=Transaction.KIND.deposit,
stellar_account=Keypair.random().public_key,
pending_execution_attempt=True,
channel_seed=Keypair.random().secret,
)
mock_get_account_obj.side_effect = RuntimeError("testing")
PendingDeposits.save_as_pending_signatures(transaction)
transaction.refresh_from_db()
assert transaction.pending_execution_attempt is False
assert transaction.status == Transaction.STATUS.error
assert transaction.status_message == "testing"
assert transaction.pending_signatures is False
assert transaction.envelope_xdr is None
mock_maybe_make_callback.assert_called_once()
mock_create_deposit_envelope.assert_not_called()
@pytest.mark.django_db
@patch(f"{test_module}.get_account_obj")
@patch(f"{test_module}.maybe_make_callback")
@patch(f"{test_module}.PendingDeposits.create_deposit_envelope")
def test_save_as_pending_signatures_connection_failed(
mock_create_deposit_envelope, mock_maybe_make_callback, mock_get_account_obj
):
usd = Asset.objects.create(code="USD", issuer=Keypair.random().public_key,)
transaction = Transaction.objects.create(
asset=usd,
status=Transaction.STATUS.pending_user_transfer_start,
kind=Transaction.KIND.deposit,
stellar_account=Keypair.random().public_key,
pending_execution_attempt=True,
channel_seed=Keypair.random().secret,
)
mock_get_account_obj.side_effect = ConnectionError("testing")
PendingDeposits.save_as_pending_signatures(transaction)
transaction.refresh_from_db()
assert transaction.pending_execution_attempt is False
assert transaction.status == Transaction.STATUS.error
assert transaction.status_message == "testing"
assert transaction.pending_signatures is False
assert transaction.envelope_xdr is None
mock_maybe_make_callback.assert_called_once()
mock_create_deposit_envelope.assert_not_called()
@pytest.mark.django_db
@patch(f"{test_module}.PendingDeposits.submit")
def test_execute_ready_multisig_transactions_query(mock_submit):
usd = Asset.objects.create(code="USD", issuer=Keypair.random().public_key,)
transaction = Transaction.objects.create(
asset=usd,
status=Transaction.STATUS.pending_anchor,
kind=Transaction.KIND.deposit,
stellar_account=Keypair.random().public_key,
envelope_xdr="not null",
)
mock_submit.return_value = True
PendingDeposits.execute_ready_multisig_deposits()
# call again, mock_submit should only be called once
PendingDeposits.execute_ready_multisig_deposits()
transaction.refresh_from_db()
assert transaction.pending_execution_attempt is True
mock_submit.assert_called_once_with(transaction)
@pytest.mark.django_db
@patch(f"{test_module}.PendingDeposits.handle_submit")
@patch(f"{test_module}.TERMINATE", True)
def test_execute_ready_multisig_transactions_cleanup_on_sigint(mock_handle_submit):
usd = Asset.objects.create(code="USD", issuer=Keypair.random().public_key,)
transaction = Transaction.objects.create(
asset=usd,
status=Transaction.STATUS.pending_anchor,
kind=Transaction.KIND.deposit,
stellar_account=Keypair.random().public_key,
envelope_xdr="not null",
)
PendingDeposits.execute_ready_multisig_deposits()
transaction.refresh_from_db()
assert transaction.pending_execution_attempt is False
mock_handle_submit.assert_not_called()
@pytest.mark.django_db
@patch(f"{test_module}.PendingDeposits.get_ready_deposits")
@patch(f"{test_module}.PendingDeposits.requires_trustline")
@patch(f"{test_module}.PendingDeposits.requires_multisig")
@patch(f"{test_module}.PendingDeposits.handle_submit")
@patch(f"{test_module}.PendingDeposits.execute_ready_multisig_deposits")
def test_execute_deposits_success(
mock_execute_ready_multisig_deposits,
mock_handle_submit,
mock_requires_multisig,
mock_requires_trustline,
mock_get_ready_deposits,
):
usd = Asset.objects.create(code="USD", issuer=Keypair.random().public_key,)
transaction = Transaction.objects.create(
asset=usd,
status=Transaction.STATUS.pending_user_transfer_start,
kind=Transaction.KIND.deposit,
stellar_account=Keypair.random().public_key,
pending_execution_attempt=True,
amount_in=100,
amount_fee=1,
)
mock_get_ready_deposits.return_value = [transaction]
mock_requires_trustline.return_value = False
mock_requires_multisig.return_value = False
Command().execute_deposits()
mock_get_ready_deposits.assert_called_once()
mock_requires_trustline.assert_called_once_with(transaction)
mock_requires_multisig.assert_called_once_with(transaction)
mock_handle_submit.assert_called_once_with(transaction)
mock_execute_ready_multisig_deposits.assert_called_once()
@pytest.mark.django_db
@patch(f"{test_module}.PendingDeposits.get_ready_deposits")
@patch(f"{test_module}.PendingDeposits.requires_trustline")
@patch(f"{test_module}.PendingDeposits.requires_multisig")
@patch(f"{test_module}.PendingDeposits.handle_submit")
@patch(f"{test_module}.PendingDeposits.execute_ready_multisig_deposits")
def test_execute_deposits_requires_trustline(
mock_execute_ready_multisig_deposits,
mock_handle_submit,
mock_requires_multisig,
mock_requires_trustline,
mock_get_ready_deposits,
):
usd = Asset.objects.create(code="USD", issuer=Keypair.random().public_key,)
transaction = Transaction.objects.create(
asset=usd,
status=Transaction.STATUS.pending_user_transfer_start,
kind=Transaction.KIND.deposit,
stellar_account=Keypair.random().public_key,
pending_execution_attempt=True,
amount_in=100,
amount_fee=1,
)
mock_get_ready_deposits.return_value = [transaction]
mock_requires_trustline.return_value = True
Command().execute_deposits()
mock_get_ready_deposits.assert_called_once()
mock_requires_trustline.assert_called_once_with(transaction)
mock_requires_multisig.assert_not_called()
mock_handle_submit.assert_not_called()
mock_execute_ready_multisig_deposits.assert_called_once()
@pytest.mark.django_db
@patch(f"{test_module}.PendingDeposits.get_ready_deposits")
@patch(f"{test_module}.PendingDeposits.requires_trustline")
@patch(f"{test_module}.PendingDeposits.requires_multisig")
@patch(f"{test_module}.PendingDeposits.handle_submit")
@patch(f"{test_module}.PendingDeposits.execute_ready_multisig_deposits")
@patch(f"{test_module}.PendingDeposits.save_as_pending_signatures")
def test_execute_deposits_requires_multisig(
mock_save_as_pending_signatures,
mock_execute_ready_multisig_deposits,
mock_handle_submit,
mock_requires_multisig,
mock_requires_trustline,
mock_get_ready_deposits,
):
usd = Asset.objects.create(code="USD", issuer=Keypair.random().public_key,)
transaction = Transaction.objects.create(
asset=usd,
status=Transaction.STATUS.pending_user_transfer_start,
kind=Transaction.KIND.deposit,
stellar_account=Keypair.random().public_key,
pending_execution_attempt=True,
amount_in=100,
amount_fee=1,
)
mock_get_ready_deposits.return_value = [transaction]
mock_requires_trustline.return_value = False
mock_requires_multisig.return_value = True
Command().execute_deposits()
mock_get_ready_deposits.assert_called_once()
mock_requires_trustline.assert_called_once_with(transaction)
mock_requires_multisig.assert_called_once_with(transaction)
mock_save_as_pending_signatures.assert_called_once_with(transaction)
mock_handle_submit.assert_not_called()
mock_execute_ready_multisig_deposits.assert_called_once()
@pytest.mark.django_db
@patch(f"{test_module}.PendingDeposits.get_ready_deposits")
@patch(f"{test_module}.PendingDeposits.requires_trustline")
@patch(f"{test_module}.PendingDeposits.requires_multisig")
@patch(f"{test_module}.PendingDeposits.handle_submit")
@patch(f"{test_module}.PendingDeposits.execute_ready_multisig_deposits")
@patch(f"{test_module}.PendingDeposits.save_as_pending_signatures")
def test_execute_deposits_requires_multisig_raises_not_found(
mock_save_as_pending_signatures,
mock_execute_ready_multisig_deposits,
mock_handle_submit,
mock_requires_multisig,
mock_requires_trustline,
mock_get_ready_deposits,
):
usd = Asset.objects.create(code="USD", issuer=Keypair.random().public_key,)
transaction = Transaction.objects.create(
asset=usd,
status=Transaction.STATUS.pending_user_transfer_start,
kind=Transaction.KIND.deposit,
stellar_account=Keypair.random().public_key,
pending_execution_attempt=True,
amount_in=100,
amount_fee=1,
)
mock_get_ready_deposits.return_value = [transaction]
mock_requires_trustline.return_value = False
mock_requires_multisig.side_effect = NotFoundError(Mock())
Command().execute_deposits()
mock_get_ready_deposits.assert_called_once()
mock_requires_trustline.assert_called_once_with(transaction)
mock_requires_multisig.assert_called_once_with(transaction)
mock_save_as_pending_signatures.assert_not_called()
mock_handle_submit.assert_not_called()
mock_execute_ready_multisig_deposits.assert_called_once()
transaction.refresh_from_db()
assert transaction.status == transaction.STATUS.error
assert transaction.pending_execution_attempt is False
assert (
transaction.status_message
== f"{usd.code} distribution account {usd.distribution_account} does not exist"
)
@pytest.mark.django_db
@patch(f"{test_module}.PendingDeposits.get_ready_deposits")
@patch(f"{test_module}.PendingDeposits.requires_trustline")
@patch(f"{test_module}.PendingDeposits.requires_multisig")
@patch(f"{test_module}.PendingDeposits.handle_submit")
@patch(f"{test_module}.PendingDeposits.execute_ready_multisig_deposits")
@patch(f"{test_module}.PendingDeposits.save_as_pending_signatures")
def test_execute_deposits_requires_multisig_raises_connection_error(
mock_save_as_pending_signatures,
mock_execute_ready_multisig_deposits,
mock_handle_submit,
mock_requires_multisig,
mock_requires_trustline,
mock_get_ready_deposits,
):
usd = Asset.objects.create(code="USD", issuer=Keypair.random().public_key,)
transaction = Transaction.objects.create(
asset=usd,
status=Transaction.STATUS.pending_user_transfer_start,
kind=Transaction.KIND.deposit,
stellar_account=Keypair.random().public_key,
pending_execution_attempt=True,
amount_in=100,
amount_fee=1,
)
mock_get_ready_deposits.return_value = [transaction]
mock_requires_trustline.return_value = False
mock_requires_multisig.side_effect = ConnectionError()
Command().execute_deposits()
mock_get_ready_deposits.assert_called_once()
mock_requires_trustline.assert_called_once_with(transaction)
mock_requires_multisig.assert_called_once_with(transaction)
mock_save_as_pending_signatures.assert_not_called()
mock_handle_submit.assert_not_called()
mock_execute_ready_multisig_deposits.assert_called_once()
transaction.refresh_from_db()
assert transaction.status == transaction.STATUS.error
assert transaction.pending_execution_attempt is False
assert (
transaction.status_message
== f"Unable to connect to horizon to fetch {usd.code} distribution account signers"
)
@pytest.mark.django_db
@patch(f"{test_module}.PendingDeposits.get_ready_deposits")
@patch(f"{test_module}.PendingDeposits.requires_trustline")
@patch(f"{test_module}.PendingDeposits.requires_multisig")
@patch(f"{test_module}.PendingDeposits.handle_submit")
@patch(f"{test_module}.PendingDeposits.execute_ready_multisig_deposits")
@patch(f"{test_module}.TERMINATE", True)
def test_execute_deposits_cleanup_on_sigint(
mock_execute_ready_multisig_deposits,
mock_handle_submit,
mock_requires_multisig,
mock_requires_trustline,
mock_get_ready_deposits,
):
usd = Asset.objects.create(code="USD", issuer=Keypair.random().public_key,)
transaction = Transaction.objects.create(
asset=usd,
status=Transaction.STATUS.pending_user_transfer_start,
kind=Transaction.KIND.deposit,
stellar_account=Keypair.random().public_key,
pending_execution_attempt=True,
amount_in=100,
amount_fee=1,
)
mock_get_ready_deposits.return_value = [transaction]
Command().execute_deposits()
mock_get_ready_deposits.assert_called_once()
mock_requires_trustline.assert_not_called()
mock_requires_multisig.assert_not_called()
mock_handle_submit.assert_not_called()
mock_execute_ready_multisig_deposits.assert_not_called()
transaction.refresh_from_db()
assert transaction.pending_execution_attempt is False
assert transaction.status == Transaction.STATUS.pending_user_transfer_start
| 37.923398
| 91
| 0.74294
| 6,404
| 54,458
| 5.958151
| 0.035759
| 0.028829
| 0.028567
| 0.045707
| 0.933851
| 0.922476
| 0.907695
| 0.901877
| 0.897709
| 0.88817
| 0
| 0.004748
| 0.164622
| 54,458
| 1,435
| 92
| 37.949826
| 0.833974
| 0.002093
| 0
| 0.791994
| 0
| 0
| 0.1053
| 0.082775
| 0
| 0
| 0
| 0
| 0.190738
| 1
| 0.034537
| false
| 0.007849
| 0.007849
| 0
| 0.047096
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
16213a8ad4123d4a7af200b35f7f66ffe37a084b
| 229,909
|
py
|
Python
|
test/augmenters/test_arithmetic.py
|
fchouteau/imgaug
|
b282b97c13a27a32f91c2e2666db1e128e00cfde
|
[
"MIT"
] | 1
|
2020-02-26T01:05:12.000Z
|
2020-02-26T01:05:12.000Z
|
test/augmenters/test_arithmetic.py
|
youbin2014/imgaug
|
b282b97c13a27a32f91c2e2666db1e128e00cfde
|
[
"MIT"
] | null | null | null |
test/augmenters/test_arithmetic.py
|
youbin2014/imgaug
|
b282b97c13a27a32f91c2e2666db1e128e00cfde
|
[
"MIT"
] | null | null | null |
from __future__ import print_function, division, absolute_import
import functools
import sys
import warnings
# unittest only added in 3.4 self.subTest()
if sys.version_info[0] < 3 or sys.version_info[1] < 4:
import unittest2 as unittest
else:
import unittest
# unittest.mock is not available in 2.7 (though unittest2 might contain it?)
try:
import unittest.mock as mock
except ImportError:
import mock
import matplotlib
matplotlib.use('Agg') # fix execution of tests involving matplotlib on travis
import numpy as np
import six.moves as sm
import imgaug as ia
from imgaug import augmenters as iaa
from imgaug import parameters as iap
from imgaug import dtypes as iadt
from imgaug import random as iarandom
from imgaug.testutils import (array_equal_lists, keypoints_equal, reseed,
runtest_pickleable_uint8_img)
import imgaug.augmenters.arithmetic as arithmetic_lib
import imgaug.augmenters.contrast as contrast_lib
class Test_cutout(unittest.TestCase):
@mock.patch("imgaug.augmenters.arithmetic.cutout_")
def test_mocked(self, mock_inplace):
image = np.mod(np.arange(100*100*3), 255).astype(np.uint8).reshape(
(100, 100, 3))
mock_inplace.return_value = "foo"
rng = iarandom.RNG(0)
image_aug = iaa.cutout(image,
x1=10,
y1=20,
x2=30,
y2=40,
fill_mode="gaussian",
cval=1,
fill_per_channel=0.5,
seed=rng)
assert mock_inplace.call_count == 1
assert image_aug == "foo"
args = mock_inplace.call_args_list[0][0]
assert args[0] is not image
assert np.array_equal(args[0], image)
assert np.isclose(args[1], 10)
assert np.isclose(args[2], 20)
assert np.isclose(args[3], 30)
assert np.isclose(args[4], 40)
assert args[5] == "gaussian"
assert args[6] == 1
assert np.isclose(args[7], 0.5)
assert args[8] is rng
class Test_cutout_(unittest.TestCase):
def test_with_simple_image(self):
image = np.mod(np.arange(100*100*3), 255).astype(np.uint8).reshape(
(100, 100, 3))
image = 1 + image
image_aug = iaa.cutout_(image,
x1=10,
y1=20,
x2=30,
y2=40,
fill_mode="constant",
cval=0,
fill_per_channel=False,
seed=None)
mask = np.zeros(image.shape, dtype=bool)
mask[20:40, 10:30, :] = True
overlap_inside = np.sum(image_aug[mask] == 0) / np.sum(mask)
overlap_outside = np.sum(image_aug[~mask] > 0) / np.sum(~mask)
assert image_aug is image
assert overlap_inside >= 1.0 - 1e-4
assert overlap_outside >= 1.0 - 1e-4
@mock.patch("imgaug.augmenters.arithmetic._fill_rectangle_constant_")
def test_fill_mode_constant_mocked(self, mock_fill):
self._test_with_fill_mode_mocked("constant", mock_fill)
@mock.patch("imgaug.augmenters.arithmetic._fill_rectangle_gaussian_")
def test_fill_mode_gaussian_mocked(self, mock_fill):
self._test_with_fill_mode_mocked("gaussian", mock_fill)
@classmethod
def _test_with_fill_mode_mocked(cls, fill_mode, mock_fill):
image = np.mod(np.arange(100*100*3), 256).astype(np.uint8).reshape(
(100, 100, 3))
mock_fill.return_value = image
seed = iarandom.RNG(0)
image_aug = iaa.cutout_(image,
x1=10,
y1=20,
x2=30,
y2=40,
fill_mode=fill_mode,
cval=0,
fill_per_channel=False,
seed=seed)
assert mock_fill.call_count == 1
args = mock_fill.call_args_list[0][0]
kwargs = mock_fill.call_args_list[0][1]
assert image_aug is image
assert args[0] is image
assert kwargs["x1"] == 10
assert kwargs["y1"] == 20
assert kwargs["x2"] == 30
assert kwargs["y2"] == 40
assert kwargs["cval"] == 0
assert kwargs["per_channel"] is False
assert kwargs["random_state"] is seed
def test_zero_height(self):
image = np.mod(np.arange(100*100*3), 255).astype(np.uint8).reshape(
(100, 100, 3))
image = 1 + image
image_cp = np.copy(image)
image_aug = iaa.cutout_(image,
x1=10,
y1=20,
x2=30,
y2=20,
fill_mode="constant",
cval=0,
fill_per_channel=False,
seed=None)
assert np.array_equal(image_aug, image_cp)
def test_zero_height_width(self):
image = np.mod(np.arange(100*100*3), 255).astype(np.uint8).reshape(
(100, 100, 3))
image = 1 + image
image_cp = np.copy(image)
image_aug = iaa.cutout_(image,
x1=10,
y1=20,
x2=10,
y2=40,
fill_mode="constant",
cval=0,
fill_per_channel=False,
seed=None)
assert np.array_equal(image_aug, image_cp)
def test_position_outside_of_image_rect_fully_outside(self):
image = np.mod(np.arange(100*100*3), 255).astype(np.uint8).reshape(
(100, 100, 3))
image = 1 + image
image_cp = np.copy(image)
image_aug = iaa.cutout_(image,
x1=-50,
y1=150,
x2=-1,
y2=200,
fill_mode="constant",
cval=0,
fill_per_channel=False,
seed=None)
assert np.array_equal(image_aug, image_cp)
def test_position_outside_of_image_rect_partially_inside(self):
image = np.mod(np.arange(100*100*3), 255).astype(np.uint8).reshape(
(100, 100, 3))
image = 1 + image
image_aug = iaa.cutout_(image,
x1=-25,
y1=-25,
x2=25,
y2=25,
fill_mode="constant",
cval=0,
fill_per_channel=False,
seed=None)
assert np.all(image_aug[0:25, 0:25] == 0)
assert np.all(image_aug[0:25, 25:] > 0)
assert np.all(image_aug[25:, :] > 0)
def test_zero_sized_axes(self):
shapes = [(0, 0, 0),
(1, 0, 0),
(0, 1, 0),
(0, 1, 1),
(1, 1, 0),
(1, 0, 1),
(1, 0),
(0, 1),
(0, 0)]
for shape in shapes:
with self.subTest(shape=shape):
image = np.zeros(shape, dtype=np.uint8)
image_cp = np.copy(image)
image_aug = iaa.cutout_(image,
x1=-5,
y1=-5,
x2=5,
y2=5,
fill_mode="constant",
cval=0)
assert np.array_equal(image_aug, image_cp)
class Test_fill_rectangle_gaussian_(unittest.TestCase):
def test_simple_image(self):
image = np.mod(np.arange(100*100*3), 256).astype(np.uint8).reshape(
(100, 100, 3))
image_cp = np.copy(image)
rng = iarandom.RNG(0)
image_aug = arithmetic_lib._fill_rectangle_gaussian_(
image,
x1=10,
y1=20,
x2=60,
y2=70,
cval=0,
per_channel=False,
random_state=rng)
assert np.array_equal(image_aug[:20, :],
image_cp[:20, :])
assert not np.array_equal(image_aug[20:70, 10:60],
image_cp[20:70, 10:60])
assert np.isclose(np.average(image_aug[20:70, 10:60]), 127.5,
rtol=0, atol=5.0)
assert np.isclose(np.std(image_aug[20:70, 10:60]), 255.0/2.0/3.0,
rtol=0, atol=2.5)
def test_per_channel(self):
image = np.uint8([0, 1, 2, 3, 4, 5, 6, 7, 8, 9])
image = np.tile(image.reshape((1, 10, 1)), (1, 1, 3))
image_aug = arithmetic_lib._fill_rectangle_gaussian_(
np.copy(image),
x1=0, y1=0, x2=10, y2=1,
cval=0,
per_channel=False,
random_state=iarandom.RNG(0))
image_aug_pc = arithmetic_lib._fill_rectangle_gaussian_(
np.copy(image),
x1=0, y1=0, x2=10, y2=1,
cval=0,
per_channel=True,
random_state=iarandom.RNG(0))
diff11 = (image_aug[..., 0] != image_aug[..., 1])
diff12 = (image_aug[..., 0] != image_aug[..., 2])
diff21 = (image_aug_pc[..., 0] != image_aug_pc[..., 1])
diff22 = (image_aug_pc[..., 0] != image_aug_pc[..., 2])
assert not np.any(diff11)
assert not np.any(diff12)
assert np.any(diff21)
assert np.any(diff22)
def test_deterministic_with_same_seed(self):
image = np.uint8([0, 1, 2, 3, 4, 5, 6, 7, 8, 9])
image = np.tile(image.reshape((1, 10, 1)), (1, 1, 3))
image_aug_pc1 = arithmetic_lib._fill_rectangle_gaussian_(
np.copy(image),
x1=0, y1=0, x2=10, y2=1,
cval=0,
per_channel=True,
random_state=iarandom.RNG(0))
image_aug_pc2 = arithmetic_lib._fill_rectangle_gaussian_(
np.copy(image),
x1=0, y1=0, x2=10, y2=1,
cval=0,
per_channel=True,
random_state=iarandom.RNG(0))
image_aug_pc3 = arithmetic_lib._fill_rectangle_gaussian_(
np.copy(image),
x1=0, y1=0, x2=10, y2=1,
cval=0,
per_channel=True,
random_state=iarandom.RNG(1))
assert np.array_equal(image_aug_pc1, image_aug_pc2)
assert not np.array_equal(image_aug_pc2, image_aug_pc3)
def test_no_channels(self):
for per_channel in [False, True]:
with self.subTest(per_channel=per_channel):
image = np.uint8([0, 1, 2, 3, 4, 5, 6, 7, 8, 9])
image = image.reshape((1, 10))
image_aug = arithmetic_lib._fill_rectangle_gaussian_(
np.copy(image),
x1=0, y1=0, x2=10, y2=1,
cval=0,
per_channel=per_channel,
random_state=iarandom.RNG(0))
assert not np.array_equal(image_aug, image)
def test_unusual_channel_numbers(self):
for nb_channels in [1, 2, 3, 4, 5, 511, 512, 513]:
for per_channel in [False, True]:
with self.subTest(nb_channels=nb_channels,
per_channel=per_channel):
image = np.uint8([0, 1, 2, 3, 4, 5, 6, 7, 8, 9])
image = np.tile(image.reshape((1, 10, 1)),
(1, 1, nb_channels))
image_aug = arithmetic_lib._fill_rectangle_gaussian_(
np.copy(image),
x1=0, y1=0, x2=10, y2=1,
cval=0,
per_channel=True,
random_state=iarandom.RNG(0))
assert not np.array_equal(image_aug, image)
def test_other_dtypes_bool(self):
for per_channel in [False, True]:
with self.subTest(per_channel=per_channel):
image = np.array([0, 1], dtype=bool)
image = np.tile(image, (int(3*300*300/2),))
image = image.reshape((300, 300, 3))
image_cp = np.copy(image)
rng = iarandom.RNG(0)
image_aug = arithmetic_lib._fill_rectangle_gaussian_(
image,
x1=10,
y1=10,
x2=300-10,
y2=300-10,
cval=0,
per_channel=per_channel,
random_state=rng)
rect = image_aug[10:-10, 10:-10]
p_true = np.sum(rect) / rect.size
assert np.array_equal(image_aug[:10, :], image_cp[:10, :])
assert not np.array_equal(rect, image_cp[10:-10, 10:-10])
assert np.isclose(p_true, 0.5, rtol=0, atol=0.1)
if per_channel:
for c in np.arange(1, image.shape[2]):
assert not np.array_equal(image_aug[..., 0],
image_aug[..., c])
def test_other_dtypes_int_uint(self):
dtypes = ["uint8", "uint16", "uint32", "uint64",
"int8", "int16", "int32", "int64"]
for dtype in dtypes:
min_value, center_value, max_value = \
iadt.get_value_range_of_dtype(dtype)
dynamic_range = int(max_value) - int(min_value)
gaussian_min = iarandom.RNG(0).normal(min_value, 0.0001,
size=(1,))
gaussian_max = iarandom.RNG(0).normal(max_value, 0.0001,
size=(1,))
assert min_value - 1.0 <= gaussian_min <= min_value + 1.0
assert max_value - 1.0 <= gaussian_max <= max_value + 1.0
for per_channel in [False, True]:
with self.subTest(dtype=dtype, per_channel=per_channel):
# dont generate image from choice() here, that seems
# to not support uint64 (max value not in result)
image = np.array([min_value, min_value+1,
int(center_value),
max_value-1, max_value], dtype=dtype)
image = np.tile(image, (int(3*300*300/5),))
image = image.reshape((300, 300, 3))
assert min_value in image
assert max_value in image
image_cp = np.copy(image)
rng = iarandom.RNG(0)
image_aug = arithmetic_lib._fill_rectangle_gaussian_(
image, x1=10, y1=10, x2=300-10, y2=300-10,
cval=0, per_channel=per_channel, random_state=rng)
rect = image_aug[10:-10, 10:-10]
mean = np.average(np.float128(rect))
std = np.std(np.float128(rect) - center_value)
assert np.array_equal(image_aug[:10, :], image_cp[:10, :])
assert not np.array_equal(rect,
image_cp[10:-10, 10:-10])
assert np.isclose(mean, center_value, rtol=0,
atol=0.05*dynamic_range)
assert np.isclose(std, dynamic_range/2.0/3.0, rtol=0,
atol=0.05*dynamic_range/2.0/3.0)
assert np.min(rect) < min_value + 0.2 * dynamic_range
assert np.max(rect) > max_value - 0.2 * dynamic_range
if per_channel:
for c in np.arange(1, image.shape[2]):
assert not np.array_equal(image_aug[..., 0],
image_aug[..., c])
def test_other_dtypes_float(self):
dtypes = ["float16", "float32", "float64", "float128"]
for dtype in dtypes:
min_value = 0.0
center_value = 0.5
max_value = 1.0
dynamic_range = np.float128(max_value) - np.float128(min_value)
gaussian_min = iarandom.RNG(0).normal(min_value, 0.0001,
size=(1,))
gaussian_max = iarandom.RNG(0).normal(max_value, 0.0001,
size=(1,))
assert min_value - 1.0 <= gaussian_min <= min_value + 1.0
assert max_value - 1.0 <= gaussian_max <= max_value + 1.0
for per_channel in [False, True]:
with self.subTest(dtype=dtype, per_channel=per_channel):
# dont generate image from choice() here, that seems
# to not support uint64 (max value not in result)
image = np.array([min_value, min_value+1,
int(center_value),
max_value-1, max_value], dtype=dtype)
image = np.tile(image, (int(3*300*300/5),))
image = image.reshape((300, 300, 3))
assert np.any(np.isclose(image, min_value,
rtol=0, atol=1e-4))
assert np.any(np.isclose(image, max_value,
rtol=0, atol=1e-4))
image_cp = np.copy(image)
rng = iarandom.RNG(0)
image_aug = arithmetic_lib._fill_rectangle_gaussian_(
image, x1=10, y1=10, x2=300-10, y2=300-10,
cval=0, per_channel=per_channel, random_state=rng)
rect = image_aug[10:-10, 10:-10]
mean = np.average(np.float128(rect))
std = np.std(np.float128(rect) - center_value)
assert np.allclose(image_aug[:10, :], image_cp[:10, :],
rtol=0, atol=1e-4)
assert not np.allclose(rect, image_cp[10:-10, 10:-10],
rtol=0, atol=1e-4)
assert np.isclose(mean, center_value, rtol=0,
atol=0.05*dynamic_range)
assert np.isclose(std, dynamic_range/2.0/3.0, rtol=0,
atol=0.05*dynamic_range/2.0/3.0)
assert np.min(rect) < min_value + 0.2 * dynamic_range
assert np.max(rect) > max_value - 0.2 * dynamic_range
if per_channel:
for c in np.arange(1, image.shape[2]):
assert not np.allclose(image_aug[..., 0],
image_aug[..., c],
rtol=0, atol=1e-4)
class Test_fill_rectangle_constant_(unittest.TestCase):
def test_simple_image(self):
image = np.mod(np.arange(100*100*3), 256).astype(np.uint8).reshape(
(100, 100, 3))
image_cp = np.copy(image)
image_aug = arithmetic_lib._fill_rectangle_constant_(
image,
x1=10, y1=20, x2=60, y2=70,
cval=17, per_channel=False, random_state=None)
assert np.array_equal(image_aug[:20, :], image_cp[:20, :])
assert np.all(image_aug[20:70, 10:60] == 17)
def test_iterable_cval_but_per_channel_is_false(self):
image = np.mod(np.arange(100*100*3), 256).astype(np.uint8).reshape(
(100, 100, 3))
image_cp = np.copy(image)
image_aug = arithmetic_lib._fill_rectangle_constant_(
image,
x1=10, y1=20, x2=60, y2=70,
cval=[17, 21, 25], per_channel=False, random_state=None)
assert np.array_equal(image_aug[:20, :], image_cp[:20, :])
assert np.all(image_aug[20:70, 10:60] == 17)
def test_iterable_cval_with_per_channel_is_true(self):
image = np.mod(np.arange(100*100*3), 256).astype(np.uint8).reshape(
(100, 100, 3))
image_cp = np.copy(image)
image_aug = arithmetic_lib._fill_rectangle_constant_(
image,
x1=10, y1=20, x2=60, y2=70,
cval=[17, 21, 25], per_channel=True, random_state=None)
assert np.array_equal(image_aug[:20, :], image_cp[:20, :])
assert np.all(image_aug[20:70, 10:60, 0] == 17)
assert np.all(image_aug[20:70, 10:60, 1] == 21)
assert np.all(image_aug[20:70, 10:60, 2] == 25)
def test_iterable_cval_with_per_channel_is_true_channel_mismatch(self):
image = np.mod(np.arange(100*100*5), 256).astype(np.uint8).reshape(
(100, 100, 5))
image_cp = np.copy(image)
image_aug = arithmetic_lib._fill_rectangle_constant_(
image,
x1=10, y1=20, x2=60, y2=70,
cval=[17, 21], per_channel=True, random_state=None)
assert np.array_equal(image_aug[:20, :], image_cp[:20, :])
assert np.all(image_aug[20:70, 10:60, 0] == 17)
assert np.all(image_aug[20:70, 10:60, 1] == 21)
assert np.all(image_aug[20:70, 10:60, 2] == 17)
assert np.all(image_aug[20:70, 10:60, 3] == 21)
assert np.all(image_aug[20:70, 10:60, 4] == 17)
def test_single_cval_with_per_channel_is_true(self):
image = np.mod(np.arange(100*100*3), 256).astype(np.uint8).reshape(
(100, 100, 3))
image_cp = np.copy(image)
image_aug = arithmetic_lib._fill_rectangle_constant_(
image,
x1=10, y1=20, x2=60, y2=70,
cval=17, per_channel=True, random_state=None)
assert np.array_equal(image_aug[:20, :], image_cp[:20, :])
assert np.all(image_aug[20:70, 10:60, 0] == 17)
assert np.all(image_aug[20:70, 10:60, 1] == 17)
assert np.all(image_aug[20:70, 10:60, 2] == 17)
def test_no_channels_single_cval(self):
for per_channel in [False, True]:
with self.subTest(per_channel=per_channel):
image = np.mod(
np.arange(100*100), 256
).astype(np.uint8).reshape((100, 100))
image_cp = np.copy(image)
image_aug = arithmetic_lib._fill_rectangle_constant_(
image,
x1=10, y1=20, x2=60, y2=70,
cval=17, per_channel=per_channel, random_state=None)
assert np.array_equal(image_aug[:20, :], image_cp[:20, :])
assert np.all(image_aug[20:70, 10:60] == 17)
def test_no_channels_iterable_cval(self):
for per_channel in [False, True]:
with self.subTest(per_channel=per_channel):
image = np.mod(
np.arange(100*100), 256
).astype(np.uint8).reshape((100, 100))
image_cp = np.copy(image)
image_aug = arithmetic_lib._fill_rectangle_constant_(
image,
x1=10, y1=20, x2=60, y2=70,
cval=[17, 21, 25], per_channel=per_channel,
random_state=None)
assert np.array_equal(image_aug[:20, :], image_cp[:20, :])
assert np.all(image_aug[20:70, 10:60] == 17)
def test_unusual_channel_numbers(self):
for nb_channels in [1, 2, 4, 5, 511, 512, 513]:
for per_channel in [False, True]:
with self.subTest(per_channel=per_channel):
image = np.mod(
np.arange(100*100*nb_channels), 256
).astype(np.uint8).reshape((100, 100, nb_channels))
image_cp = np.copy(image)
image_aug = arithmetic_lib._fill_rectangle_constant_(
image,
x1=10, y1=20, x2=60, y2=70,
cval=[17, 21], per_channel=per_channel,
random_state=None)
assert np.array_equal(image_aug[:20, :], image_cp[:20, :])
if per_channel:
for c in np.arange(nb_channels):
val = 17 if c % 2 == 0 else 21
assert np.all(image_aug[20:70, 10:60, c] == val)
else:
assert np.all(image_aug[20:70, 10:60, :] == 17)
def test_other_dtypes_bool(self):
for per_channel in [False, True]:
with self.subTest(per_channel=per_channel):
image = np.array([0, 1], dtype=bool)
image = np.tile(image, (int(3*300*300/2),))
image = image.reshape((300, 300, 3))
image_cp = np.copy(image)
image_aug = arithmetic_lib._fill_rectangle_constant_(
image,
x1=10, y1=10, x2=300-10, y2=300-10,
cval=[0, 1], per_channel=per_channel,
random_state=None)
rect = image_aug[10:-10, 10:-10]
assert np.array_equal(image_aug[:10, :], image_cp[:10, :])
if per_channel:
assert np.all(image_aug[10:-10, 10:-10, 0] == 0)
assert np.all(image_aug[10:-10, 10:-10, 1] == 1)
assert np.all(image_aug[10:-10, 10:-10, 2] == 0)
else:
assert np.all(image_aug[20:70, 10:60] == 0)
def test_other_dtypes_uint_int(self):
dtypes = ["uint8", "uint16", "uint32", "uint64",
"int8", "int16", "int32", "int64"]
for dtype in dtypes:
for per_channel in [False, True]:
min_value, center_value, max_value = \
iadt.get_value_range_of_dtype(dtype)
with self.subTest(dtype=dtype, per_channel=per_channel):
image = np.array([min_value, min_value+1,
int(center_value),
max_value-1, max_value], dtype=dtype)
image = np.tile(image, (int(3*300*300/5),))
image = image.reshape((300, 300, 3))
assert min_value in image
assert max_value in image
image_cp = np.copy(image)
image_aug = arithmetic_lib._fill_rectangle_constant_(
image,
x1=10, y1=10, x2=300-10, y2=300-10,
cval=[min_value, 10, max_value],
per_channel=per_channel,
random_state=None)
assert np.array_equal(image_aug[:10, :], image_cp[:10, :])
if per_channel:
assert np.all(image_aug[10:-10, 10:-10, 0]
== min_value)
assert np.all(image_aug[10:-10, 10:-10, 1]
== 10)
assert np.all(image_aug[10:-10, 10:-10, 2]
== max_value)
else:
assert np.all(image_aug[-10:-10, 10:-10] == min_value)
def test_other_dtypes_float(self):
dtypes = ["float16", "float32", "float64", "float128"]
for dtype in dtypes:
for per_channel in [False, True]:
min_value, center_value, max_value = \
iadt.get_value_range_of_dtype(dtype)
with self.subTest(dtype=dtype, per_channel=per_channel):
image = np.array([min_value, min_value+1,
int(center_value),
max_value-1, max_value], dtype=dtype)
image = np.tile(image, (int(3*300*300/5),))
image = image.reshape((300, 300, 3))
# Use this here instead of any(isclose(...)) because
# the latter one leads to overflow warnings.
assert image.flat[0] <= np.float128(min_value) + 1.0
assert image.flat[4] >= np.float128(max_value) - 1.0
image_cp = np.copy(image)
image_aug = arithmetic_lib._fill_rectangle_constant_(
image,
x1=10, y1=10, x2=300-10, y2=300-10,
cval=[min_value, 10, max_value],
per_channel=per_channel,
random_state=None)
assert image_aug.dtype.name == dtype
assert np.allclose(image_aug[:10, :], image_cp[:10, :],
rtol=0, atol=1e-4)
if per_channel:
assert np.allclose(image_aug[10:-10, 10:-10, 0],
np.float128(min_value),
rtol=0, atol=1e-4)
assert np.allclose(image_aug[10:-10, 10:-10, 1],
np.float128(10),
rtol=0, atol=1e-4)
assert np.allclose(image_aug[10:-10, 10:-10, 2],
np.float128(max_value),
rtol=0, atol=1e-4)
else:
assert np.allclose(image_aug[-10:-10, 10:-10],
np.float128(min_value),
rtol=0, atol=1e-4)
class TestAdd(unittest.TestCase):
def setUp(self):
reseed()
def test___init___bad_datatypes(self):
# test exceptions for wrong parameter types
got_exception = False
try:
_ = iaa.Add(value="test")
except Exception:
got_exception = True
assert got_exception
got_exception = False
try:
_ = iaa.Add(value=1, per_channel="test")
except Exception:
got_exception = True
assert got_exception
def test_add_zero(self):
# no add, shouldnt change anything
base_img = np.ones((3, 3, 1), dtype=np.uint8) * 100
images = np.array([base_img])
images_list = [base_img]
aug = iaa.Add(value=0)
aug_det = aug.to_deterministic()
observed = aug.augment_images(images)
expected = images
assert np.array_equal(observed, expected)
assert observed.shape == (1, 3, 3, 1)
observed = aug.augment_images(images_list)
expected = images_list
assert array_equal_lists(observed, expected)
observed = aug_det.augment_images(images)
expected = images
assert np.array_equal(observed, expected)
observed = aug_det.augment_images(images_list)
expected = images_list
assert array_equal_lists(observed, expected)
def test_add_one(self):
# add > 0
base_img = np.ones((3, 3, 1), dtype=np.uint8) * 100
images = np.array([base_img])
images_list = [base_img]
aug = iaa.Add(value=1)
aug_det = aug.to_deterministic()
observed = aug.augment_images(images)
expected = images + 1
assert np.array_equal(observed, expected)
assert observed.shape == (1, 3, 3, 1)
observed = aug.augment_images(images_list)
expected = [images_list[0] + 1]
assert array_equal_lists(observed, expected)
observed = aug_det.augment_images(images)
expected = images + 1
assert np.array_equal(observed, expected)
observed = aug_det.augment_images(images_list)
expected = [images_list[0] + 1]
assert array_equal_lists(observed, expected)
def test_minus_one(self):
# add < 0
base_img = np.ones((3, 3, 1), dtype=np.uint8) * 100
images = np.array([base_img])
images_list = [base_img]
aug = iaa.Add(value=-1)
aug_det = aug.to_deterministic()
observed = aug.augment_images(images)
expected = images - 1
assert np.array_equal(observed, expected)
observed = aug.augment_images(images_list)
expected = [images_list[0] - 1]
assert array_equal_lists(observed, expected)
observed = aug_det.augment_images(images)
expected = images - 1
assert np.array_equal(observed, expected)
observed = aug_det.augment_images(images_list)
expected = [images_list[0] - 1]
assert array_equal_lists(observed, expected)
def test_uint8_every_possible_value(self):
# uint8, every possible addition for base value 127
for value_type in [float, int]:
for per_channel in [False, True]:
for value in np.arange(-255, 255+1):
aug = iaa.Add(value=value_type(value), per_channel=per_channel)
expected = np.clip(127 + value_type(value), 0, 255)
img = np.full((1, 1), 127, dtype=np.uint8)
img_aug = aug.augment_image(img)
assert img_aug.item(0) == expected
img = np.full((1, 1, 3), 127, dtype=np.uint8)
img_aug = aug.augment_image(img)
assert np.all(img_aug == expected)
def test_add_floats(self):
# specific tests with floats
aug = iaa.Add(value=0.75)
img = np.full((1, 1), 1, dtype=np.uint8)
img_aug = aug.augment_image(img)
assert img_aug.item(0) == 2
img = np.full((1, 1), 1, dtype=np.uint16)
img_aug = aug.augment_image(img)
assert img_aug.item(0) == 2
aug = iaa.Add(value=0.45)
img = np.full((1, 1), 1, dtype=np.uint8)
img_aug = aug.augment_image(img)
assert img_aug.item(0) == 1
img = np.full((1, 1), 1, dtype=np.uint16)
img_aug = aug.augment_image(img)
assert img_aug.item(0) == 1
def test_stochastic_parameters_as_value(self):
# test other parameters
base_img = np.ones((3, 3, 1), dtype=np.uint8) * 100
images = np.array([base_img])
aug = iaa.Add(value=iap.DiscreteUniform(1, 10))
observed = aug.augment_images(images)
assert 100 + 1 <= np.average(observed) <= 100 + 10
aug = iaa.Add(value=iap.Uniform(1, 10))
observed = aug.augment_images(images)
assert 100 + 1 <= np.average(observed) <= 100 + 10
aug = iaa.Add(value=iap.Clip(iap.Normal(1, 1), -3, 3))
observed = aug.augment_images(images)
assert 100 - 3 <= np.average(observed) <= 100 + 3
aug = iaa.Add(value=iap.Discretize(iap.Clip(iap.Normal(1, 1), -3, 3)))
observed = aug.augment_images(images)
assert 100 - 3 <= np.average(observed) <= 100 + 3
def test_keypoints_dont_change(self):
# keypoints shouldnt be changed
base_img = np.ones((3, 3, 1), dtype=np.uint8) * 100
keypoints = [ia.KeypointsOnImage([ia.Keypoint(x=0, y=0), ia.Keypoint(x=1, y=1),
ia.Keypoint(x=2, y=2)], shape=base_img.shape)]
aug = iaa.Add(value=1)
aug_det = iaa.Add(value=1).to_deterministic()
observed = aug.augment_keypoints(keypoints)
expected = keypoints
assert keypoints_equal(observed, expected)
observed = aug_det.augment_keypoints(keypoints)
expected = keypoints
assert keypoints_equal(observed, expected)
def test_tuple_as_value(self):
# varying values
base_img = np.ones((3, 3, 1), dtype=np.uint8) * 100
images = np.array([base_img])
aug = iaa.Add(value=(0, 10))
aug_det = aug.to_deterministic()
last_aug = None
last_aug_det = None
nb_changed_aug = 0
nb_changed_aug_det = 0
nb_iterations = 1000
for i in sm.xrange(nb_iterations):
observed_aug = aug.augment_images(images)
observed_aug_det = aug_det.augment_images(images)
if i == 0:
last_aug = observed_aug
last_aug_det = observed_aug_det
else:
if not np.array_equal(observed_aug, last_aug):
nb_changed_aug += 1
if not np.array_equal(observed_aug_det, last_aug_det):
nb_changed_aug_det += 1
last_aug = observed_aug
last_aug_det = observed_aug_det
assert nb_changed_aug >= int(nb_iterations * 0.7)
assert nb_changed_aug_det == 0
def test_per_channel(self):
# test channelwise
aug = iaa.Add(value=iap.Choice([0, 1]), per_channel=True)
observed = aug.augment_image(np.zeros((1, 1, 100), dtype=np.uint8))
uq = np.unique(observed)
assert observed.shape == (1, 1, 100)
assert 0 in uq
assert 1 in uq
assert len(uq) == 2
def test_per_channel_with_probability(self):
# test channelwise with probability
aug = iaa.Add(value=iap.Choice([0, 1]), per_channel=0.5)
seen = [0, 0]
for _ in sm.xrange(400):
observed = aug.augment_image(np.zeros((1, 1, 20), dtype=np.uint8))
assert observed.shape == (1, 1, 20)
uq = np.unique(observed)
per_channel = (len(uq) == 2)
if per_channel:
seen[0] += 1
else:
seen[1] += 1
assert 150 < seen[0] < 250
assert 150 < seen[1] < 250
def test_zero_sized_axes(self):
shapes = [
(0, 0),
(0, 1),
(1, 0),
(0, 1, 0),
(1, 0, 0),
(0, 1, 1),
(1, 0, 1)
]
for shape in shapes:
with self.subTest(shape=shape):
image = np.zeros(shape, dtype=np.uint8)
aug = iaa.Add(1)
image_aug = aug(image=image)
assert np.all(image_aug == 1)
assert image_aug.dtype.name == "uint8"
assert image_aug.shape == image.shape
def test_unusual_channel_numbers(self):
shapes = [
(1, 1, 4),
(1, 1, 5),
(1, 1, 512),
(1, 1, 513)
]
for shape in shapes:
with self.subTest(shape=shape):
image = np.zeros(shape, dtype=np.uint8)
aug = iaa.Add(1)
image_aug = aug(image=image)
assert np.all(image_aug == 1)
assert image_aug.dtype.name == "uint8"
assert image_aug.shape == image.shape
def test_get_parameters(self):
# test get_parameters()
aug = iaa.Add(value=1, per_channel=False)
params = aug.get_parameters()
assert isinstance(params[0], iap.Deterministic)
assert isinstance(params[1], iap.Deterministic)
assert params[0].value == 1
assert params[1].value == 0
def test_heatmaps(self):
# test heatmaps (not affected by augmenter)
base_img = np.ones((3, 3, 1), dtype=np.uint8) * 100
aug = iaa.Add(value=10)
hm = ia.quokka_heatmap()
hm_aug = aug.augment_heatmaps([hm])[0]
assert np.allclose(hm.arr_0to1, hm_aug.arr_0to1)
def test_other_dtypes_bool(self):
image = np.zeros((3, 3), dtype=bool)
aug = iaa.Add(value=1)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == np.bool_
assert np.all(image_aug == 1)
image = np.full((3, 3), True, dtype=bool)
aug = iaa.Add(value=1)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == np.bool_
assert np.all(image_aug == 1)
image = np.full((3, 3), True, dtype=bool)
aug = iaa.Add(value=-1)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == np.bool_
assert np.all(image_aug == 0)
image = np.full((3, 3), True, dtype=bool)
aug = iaa.Add(value=-2)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == np.bool_
assert np.all(image_aug == 0)
def test_other_dtypes_uint_int(self):
for dtype in [np.uint8, np.uint16, np.int8, np.int16]:
min_value, center_value, max_value = iadt.get_value_range_of_dtype(dtype)
image = np.full((3, 3), min_value, dtype=dtype)
aug = iaa.Add(1)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(image_aug == min_value + 1)
image = np.full((3, 3), min_value + 10, dtype=dtype)
aug = iaa.Add(11)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(image_aug == min_value + 21)
image = np.full((3, 3), max_value - 2, dtype=dtype)
aug = iaa.Add(1)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(image_aug == max_value - 1)
image = np.full((3, 3), max_value - 1, dtype=dtype)
aug = iaa.Add(1)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(image_aug == max_value)
image = np.full((3, 3), max_value - 1, dtype=dtype)
aug = iaa.Add(2)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(image_aug == max_value)
image = np.full((3, 3), min_value + 10, dtype=dtype)
aug = iaa.Add(-9)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(image_aug == min_value + 1)
image = np.full((3, 3), min_value + 10, dtype=dtype)
aug = iaa.Add(-10)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(image_aug == min_value)
image = np.full((3, 3), min_value + 10, dtype=dtype)
aug = iaa.Add(-11)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(image_aug == min_value)
for _ in sm.xrange(10):
image = np.full((1, 1, 3), 20, dtype=dtype)
aug = iaa.Add(iap.Uniform(-10, 10))
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(np.logical_and(10 <= image_aug, image_aug <= 30))
assert len(np.unique(image_aug)) == 1
image = np.full((1, 1, 100), 20, dtype=dtype)
aug = iaa.Add(iap.Uniform(-10, 10), per_channel=True)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(np.logical_and(10 <= image_aug, image_aug <= 30))
assert len(np.unique(image_aug)) > 1
image = np.full((1, 1, 3), 20, dtype=dtype)
aug = iaa.Add(iap.DiscreteUniform(-10, 10))
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(np.logical_and(10 <= image_aug, image_aug <= 30))
assert len(np.unique(image_aug)) == 1
image = np.full((1, 1, 100), 20, dtype=dtype)
aug = iaa.Add(iap.DiscreteUniform(-10, 10), per_channel=True)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(np.logical_and(10 <= image_aug, image_aug <= 30))
assert len(np.unique(image_aug)) > 1
def test_other_dtypes_float(self):
# float
for dtype in [np.float16, np.float32]:
min_value, center_value, max_value = iadt.get_value_range_of_dtype(dtype)
if dtype == np.float16:
atol = 1e-3 * max_value
else:
atol = 1e-9 * max_value
_allclose = functools.partial(np.allclose, atol=atol, rtol=0)
image = np.full((3, 3), min_value, dtype=dtype)
aug = iaa.Add(1)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert _allclose(image_aug, min_value + 1)
image = np.full((3, 3), min_value + 10, dtype=dtype)
aug = iaa.Add(11)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert _allclose(image_aug, min_value + 21)
image = np.full((3, 3), max_value - 2, dtype=dtype)
aug = iaa.Add(1)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert _allclose(image_aug, max_value - 1)
image = np.full((3, 3), max_value - 1, dtype=dtype)
aug = iaa.Add(1)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert _allclose(image_aug, max_value)
image = np.full((3, 3), max_value - 1, dtype=dtype)
aug = iaa.Add(2)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert _allclose(image_aug, max_value)
image = np.full((3, 3), min_value + 10, dtype=dtype)
aug = iaa.Add(-9)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert _allclose(image_aug, min_value + 1)
image = np.full((3, 3), min_value + 10, dtype=dtype)
aug = iaa.Add(-10)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert _allclose(image_aug, min_value)
image = np.full((3, 3), min_value + 10, dtype=dtype)
aug = iaa.Add(-11)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert _allclose(image_aug, min_value)
for _ in sm.xrange(10):
image = np.full((50, 1, 3), 0, dtype=dtype)
aug = iaa.Add(iap.Uniform(-10, 10))
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(np.logical_and(-10 - 1e-2 < image_aug, image_aug < 10 + 1e-2))
assert np.allclose(image_aug[1:, :, 0], image_aug[:-1, :, 0])
assert np.allclose(image_aug[..., 0], image_aug[..., 1])
image = np.full((1, 1, 100), 0, dtype=dtype)
aug = iaa.Add(iap.Uniform(-10, 10), per_channel=True)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(np.logical_and(-10 - 1e-2 < image_aug, image_aug < 10 + 1e-2))
assert not np.allclose(image_aug[:, :, 1:], image_aug[:, :, :-1])
image = np.full((50, 1, 3), 0, dtype=dtype)
aug = iaa.Add(iap.DiscreteUniform(-10, 10))
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(np.logical_and(-10 - 1e-2 < image_aug, image_aug < 10 + 1e-2))
assert np.allclose(image_aug[1:, :, 0], image_aug[:-1, :, 0])
assert np.allclose(image_aug[..., 0], image_aug[..., 1])
image = np.full((1, 1, 100), 0, dtype=dtype)
aug = iaa.Add(iap.DiscreteUniform(-10, 10), per_channel=True)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(np.logical_and(-10 - 1e-2 < image_aug, image_aug < 10 + 1e-2))
assert not np.allclose(image_aug[:, :, 1:], image_aug[:, :, :-1])
def test_pickleable(self):
aug = iaa.Add((0, 50), per_channel=True, seed=1)
runtest_pickleable_uint8_img(aug, iterations=10)
class TestAddElementwise(unittest.TestCase):
def setUp(self):
reseed()
def test___init___bad_datatypes(self):
# test exceptions for wrong parameter types
got_exception = False
try:
_aug = iaa.AddElementwise(value="test")
except Exception:
got_exception = True
assert got_exception
got_exception = False
try:
_aug = iaa.AddElementwise(value=1, per_channel="test")
except Exception:
got_exception = True
assert got_exception
def test_add_zero(self):
# no add, shouldnt change anything
base_img = np.ones((3, 3, 1), dtype=np.uint8) * 100
images = np.array([base_img])
images_list = [base_img]
aug = iaa.AddElementwise(value=0)
aug_det = aug.to_deterministic()
observed = aug.augment_images(images)
expected = images
assert np.array_equal(observed, expected)
assert observed.shape == (1, 3, 3, 1)
observed = aug.augment_images(images_list)
expected = images_list
assert array_equal_lists(observed, expected)
observed = aug_det.augment_images(images)
expected = images
assert np.array_equal(observed, expected)
observed = aug_det.augment_images(images_list)
expected = images_list
assert array_equal_lists(observed, expected)
def test_add_one(self):
# add > 0
base_img = np.ones((3, 3, 1), dtype=np.uint8) * 100
images = np.array([base_img])
images_list = [base_img]
aug = iaa.AddElementwise(value=1)
aug_det = aug.to_deterministic()
observed = aug.augment_images(images)
expected = images + 1
assert np.array_equal(observed, expected)
assert observed.shape == (1, 3, 3, 1)
observed = aug.augment_images(images_list)
expected = [images_list[0] + 1]
assert array_equal_lists(observed, expected)
observed = aug_det.augment_images(images)
expected = images + 1
assert np.array_equal(observed, expected)
observed = aug_det.augment_images(images_list)
expected = [images_list[0] + 1]
assert array_equal_lists(observed, expected)
def test_add_minus_one(self):
# add < 0
base_img = np.ones((3, 3, 1), dtype=np.uint8) * 100
images = np.array([base_img])
images_list = [base_img]
aug = iaa.AddElementwise(value=-1)
aug_det = aug.to_deterministic()
observed = aug.augment_images(images)
expected = images - 1
assert np.array_equal(observed, expected)
observed = aug.augment_images(images_list)
expected = [images_list[0] - 1]
assert array_equal_lists(observed, expected)
observed = aug_det.augment_images(images)
expected = images - 1
assert np.array_equal(observed, expected)
observed = aug_det.augment_images(images_list)
expected = [images_list[0] - 1]
assert array_equal_lists(observed, expected)
def test_uint8_every_possible_value(self):
# uint8, every possible addition for base value 127
for value_type in [int]:
for per_channel in [False, True]:
for value in np.arange(-255, 255+1):
aug = iaa.AddElementwise(value=value_type(value), per_channel=per_channel)
expected = np.clip(127 + value_type(value), 0, 255)
img = np.full((1, 1), 127, dtype=np.uint8)
img_aug = aug.augment_image(img)
assert img_aug.item(0) == expected
img = np.full((1, 1, 3), 127, dtype=np.uint8)
img_aug = aug.augment_image(img)
assert np.all(img_aug == expected)
def test_stochastic_parameters_as_value(self):
# test other parameters
base_img = np.ones((3, 3, 1), dtype=np.uint8) * 100
images = np.array([base_img])
aug = iaa.AddElementwise(value=iap.DiscreteUniform(1, 10))
observed = aug.augment_images(images)
assert np.min(observed) >= 100 + 1
assert np.max(observed) <= 100 + 10
aug = iaa.AddElementwise(value=iap.Uniform(1, 10))
observed = aug.augment_images(images)
assert np.min(observed) >= 100 + 1
assert np.max(observed) <= 100 + 10
aug = iaa.AddElementwise(value=iap.Clip(iap.Normal(1, 1), -3, 3))
observed = aug.augment_images(images)
assert np.min(observed) >= 100 - 3
assert np.max(observed) <= 100 + 3
aug = iaa.AddElementwise(value=iap.Discretize(iap.Clip(iap.Normal(1, 1), -3, 3)))
observed = aug.augment_images(images)
assert np.min(observed) >= 100 - 3
assert np.max(observed) <= 100 + 3
def test_keypoints_dont_change(self):
# keypoints shouldnt be changed
base_img = np.ones((3, 3, 1), dtype=np.uint8) * 100
keypoints = [ia.KeypointsOnImage([ia.Keypoint(x=0, y=0), ia.Keypoint(x=1, y=1),
ia.Keypoint(x=2, y=2)], shape=base_img.shape)]
aug = iaa.AddElementwise(value=1)
aug_det = iaa.AddElementwise(value=1).to_deterministic()
observed = aug.augment_keypoints(keypoints)
expected = keypoints
assert keypoints_equal(observed, expected)
observed = aug_det.augment_keypoints(keypoints)
expected = keypoints
assert keypoints_equal(observed, expected)
def test_tuple_as_value(self):
# varying values
base_img = np.ones((3, 3, 1), dtype=np.uint8) * 100
images = np.array([base_img])
aug = iaa.AddElementwise(value=(0, 10))
aug_det = aug.to_deterministic()
last_aug = None
last_aug_det = None
nb_changed_aug = 0
nb_changed_aug_det = 0
nb_iterations = 1000
for i in sm.xrange(nb_iterations):
observed_aug = aug.augment_images(images)
observed_aug_det = aug_det.augment_images(images)
if i == 0:
last_aug = observed_aug
last_aug_det = observed_aug_det
else:
if not np.array_equal(observed_aug, last_aug):
nb_changed_aug += 1
if not np.array_equal(observed_aug_det, last_aug_det):
nb_changed_aug_det += 1
last_aug = observed_aug
last_aug_det = observed_aug_det
assert nb_changed_aug >= int(nb_iterations * 0.7)
assert nb_changed_aug_det == 0
def test_samples_change_by_spatial_location(self):
# values should change between pixels
base_img = np.ones((3, 3, 1), dtype=np.uint8) * 100
images = np.array([base_img])
aug = iaa.AddElementwise(value=(-50, 50))
nb_same = 0
nb_different = 0
nb_iterations = 1000
for i in sm.xrange(nb_iterations):
observed_aug = aug.augment_images(images)
observed_aug_flat = observed_aug.flatten()
last = None
for j in sm.xrange(observed_aug_flat.size):
if last is not None:
v = observed_aug_flat[j]
if v - 0.0001 <= last <= v + 0.0001:
nb_same += 1
else:
nb_different += 1
last = observed_aug_flat[j]
assert nb_different > 0.9 * (nb_different + nb_same)
def test_per_channel(self):
# test channelwise
aug = iaa.AddElementwise(value=iap.Choice([0, 1]), per_channel=True)
observed = aug.augment_image(np.zeros((100, 100, 3), dtype=np.uint8))
sums = np.sum(observed, axis=2)
values = np.unique(sums)
assert all([(value in values) for value in [0, 1, 2, 3]])
def test_per_channel_with_probability(self):
# test channelwise with probability
aug = iaa.AddElementwise(value=iap.Choice([0, 1]), per_channel=0.5)
seen = [0, 0]
for _ in sm.xrange(400):
observed = aug.augment_image(np.zeros((20, 20, 3), dtype=np.uint8))
sums = np.sum(observed, axis=2)
values = np.unique(sums)
all_values_found = all([(value in values) for value in [0, 1, 2, 3]])
if all_values_found:
seen[0] += 1
else:
seen[1] += 1
assert 150 < seen[0] < 250
assert 150 < seen[1] < 250
def test_zero_sized_axes(self):
shapes = [
(0, 0),
(0, 1),
(1, 0),
(0, 1, 0),
(1, 0, 0),
(0, 1, 1),
(1, 0, 1)
]
for shape in shapes:
with self.subTest(shape=shape):
image = np.zeros(shape, dtype=np.uint8)
aug = iaa.AddElementwise(1)
image_aug = aug(image=image)
assert np.all(image_aug == 1)
assert image_aug.dtype.name == "uint8"
assert image_aug.shape == image.shape
def test_unusual_channel_numbers(self):
shapes = [
(1, 1, 4),
(1, 1, 5),
(1, 1, 512),
(1, 1, 513)
]
for shape in shapes:
with self.subTest(shape=shape):
image = np.zeros(shape, dtype=np.uint8)
aug = iaa.AddElementwise(1)
image_aug = aug(image=image)
assert np.all(image_aug == 1)
assert image_aug.dtype.name == "uint8"
assert image_aug.shape == image.shape
def test_get_parameters(self):
# test get_parameters()
aug = iaa.AddElementwise(value=1, per_channel=False)
params = aug.get_parameters()
assert isinstance(params[0], iap.Deterministic)
assert isinstance(params[1], iap.Deterministic)
assert params[0].value == 1
assert params[1].value == 0
def test_heatmaps_dont_change(self):
# test heatmaps (not affected by augmenter)
aug = iaa.AddElementwise(value=10)
hm = ia.quokka_heatmap()
hm_aug = aug.augment_heatmaps([hm])[0]
assert np.allclose(hm.arr_0to1, hm_aug.arr_0to1)
def test_other_dtypes_bool(self):
# bool
image = np.zeros((3, 3), dtype=bool)
aug = iaa.AddElementwise(value=1)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == np.bool_
assert np.all(image_aug == 1)
image = np.full((3, 3), True, dtype=bool)
aug = iaa.AddElementwise(value=1)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == np.bool_
assert np.all(image_aug == 1)
image = np.full((3, 3), True, dtype=bool)
aug = iaa.AddElementwise(value=-1)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == np.bool_
assert np.all(image_aug == 0)
image = np.full((3, 3), True, dtype=bool)
aug = iaa.AddElementwise(value=-2)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == np.bool_
assert np.all(image_aug == 0)
def test_other_dtypes_uint_int(self):
# uint, int
for dtype in [np.uint8, np.uint16, np.int8, np.int16]:
min_value, center_value, max_value = iadt.get_value_range_of_dtype(dtype)
image = np.full((3, 3), min_value, dtype=dtype)
aug = iaa.AddElementwise(1)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(image_aug == min_value + 1)
image = np.full((3, 3), min_value + 10, dtype=dtype)
aug = iaa.AddElementwise(11)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(image_aug == min_value + 21)
image = np.full((3, 3), max_value - 2, dtype=dtype)
aug = iaa.AddElementwise(1)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(image_aug == max_value - 1)
image = np.full((3, 3), max_value - 1, dtype=dtype)
aug = iaa.AddElementwise(1)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(image_aug == max_value)
image = np.full((3, 3), max_value - 1, dtype=dtype)
aug = iaa.AddElementwise(2)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(image_aug == max_value)
image = np.full((3, 3), min_value + 10, dtype=dtype)
aug = iaa.AddElementwise(-9)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(image_aug == min_value + 1)
image = np.full((3, 3), min_value + 10, dtype=dtype)
aug = iaa.AddElementwise(-10)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(image_aug == min_value)
image = np.full((3, 3), min_value + 10, dtype=dtype)
aug = iaa.AddElementwise(-11)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(image_aug == min_value)
for _ in sm.xrange(10):
image = np.full((5, 5, 3), 20, dtype=dtype)
aug = iaa.AddElementwise(iap.Uniform(-10, 10))
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(np.logical_and(10 <= image_aug, image_aug <= 30))
assert len(np.unique(image_aug)) > 1
assert np.all(image_aug[..., 0] == image_aug[..., 1])
image = np.full((1, 1, 100), 20, dtype=dtype)
aug = iaa.AddElementwise(iap.Uniform(-10, 10), per_channel=True)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(np.logical_and(10 <= image_aug, image_aug <= 30))
assert len(np.unique(image_aug)) > 1
image = np.full((5, 5, 3), 20, dtype=dtype)
aug = iaa.AddElementwise(iap.DiscreteUniform(-10, 10))
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(np.logical_and(10 <= image_aug, image_aug <= 30))
assert len(np.unique(image_aug)) > 1
assert np.all(image_aug[..., 0] == image_aug[..., 1])
image = np.full((1, 1, 100), 20, dtype=dtype)
aug = iaa.AddElementwise(iap.DiscreteUniform(-10, 10), per_channel=True)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(np.logical_and(10 <= image_aug, image_aug <= 30))
assert len(np.unique(image_aug)) > 1
def test_other_dtypes_float(self):
# float
for dtype in [np.float16, np.float32]:
min_value, center_value, max_value = iadt.get_value_range_of_dtype(dtype)
if dtype == np.float16:
atol = 1e-3 * max_value
else:
atol = 1e-9 * max_value
_allclose = functools.partial(np.allclose, atol=atol, rtol=0)
image = np.full((3, 3), min_value, dtype=dtype)
aug = iaa.AddElementwise(1)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert _allclose(image_aug, min_value + 1)
image = np.full((3, 3), min_value + 10, dtype=dtype)
aug = iaa.AddElementwise(11)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert _allclose(image_aug, min_value + 21)
image = np.full((3, 3), max_value - 2, dtype=dtype)
aug = iaa.AddElementwise(1)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert _allclose(image_aug, max_value - 1)
image = np.full((3, 3), max_value - 1, dtype=dtype)
aug = iaa.AddElementwise(1)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert _allclose(image_aug, max_value)
image = np.full((3, 3), max_value - 1, dtype=dtype)
aug = iaa.AddElementwise(2)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert _allclose(image_aug, max_value)
image = np.full((3, 3), min_value + 10, dtype=dtype)
aug = iaa.AddElementwise(-9)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert _allclose(image_aug, min_value + 1)
image = np.full((3, 3), min_value + 10, dtype=dtype)
aug = iaa.AddElementwise(-10)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert _allclose(image_aug, min_value)
image = np.full((3, 3), min_value + 10, dtype=dtype)
aug = iaa.AddElementwise(-11)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert _allclose(image_aug, min_value)
for _ in sm.xrange(10):
image = np.full((50, 1, 3), 0, dtype=dtype)
aug = iaa.AddElementwise(iap.Uniform(-10, 10))
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(np.logical_and(-10 - 1e-2 < image_aug, image_aug < 10 + 1e-2))
assert not np.allclose(image_aug[1:, :, 0], image_aug[:-1, :, 0])
assert np.allclose(image_aug[..., 0], image_aug[..., 1])
image = np.full((1, 1, 100), 0, dtype=dtype)
aug = iaa.AddElementwise(iap.Uniform(-10, 10), per_channel=True)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(np.logical_and(-10 - 1e-2 < image_aug, image_aug < 10 + 1e-2))
assert not np.allclose(image_aug[:, :, 1:], image_aug[:, :, :-1])
image = np.full((50, 1, 3), 0, dtype=dtype)
aug = iaa.AddElementwise(iap.DiscreteUniform(-10, 10))
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(np.logical_and(-10 - 1e-2 < image_aug, image_aug < 10 + 1e-2))
assert not np.allclose(image_aug[1:, :, 0], image_aug[:-1, :, 0])
assert np.allclose(image_aug[..., 0], image_aug[..., 1])
image = np.full((1, 1, 100), 0, dtype=dtype)
aug = iaa.AddElementwise(iap.DiscreteUniform(-10, 10), per_channel=True)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(np.logical_and(-10 - 1e-2 < image_aug, image_aug < 10 + 1e-2))
assert not np.allclose(image_aug[:, :, 1:], image_aug[:, :, :-1])
def test_pickleable(self):
aug = iaa.AddElementwise((0, 50), per_channel=True, seed=1)
runtest_pickleable_uint8_img(aug, iterations=2)
class AdditiveGaussianNoise(unittest.TestCase):
def setUp(self):
reseed()
def test_loc_zero_scale_zero(self):
# no noise, shouldnt change anything
base_img = np.ones((16, 16, 1), dtype=np.uint8) * 128
images = np.array([base_img])
aug = iaa.AdditiveGaussianNoise(loc=0, scale=0)
observed = aug.augment_images(images)
expected = images
assert np.array_equal(observed, expected)
def test_loc_zero_scale_nonzero(self):
# zero-centered noise
base_img = np.ones((16, 16, 1), dtype=np.uint8) * 128
images = np.array([base_img])
images_list = [base_img]
keypoints = [ia.KeypointsOnImage([ia.Keypoint(x=0, y=0), ia.Keypoint(x=1, y=1),
ia.Keypoint(x=2, y=2)], shape=base_img.shape)]
aug = iaa.AdditiveGaussianNoise(loc=0, scale=0.2 * 255)
aug_det = aug.to_deterministic()
observed = aug.augment_images(images)
assert not np.array_equal(observed, images)
observed = aug_det.augment_images(images)
assert not np.array_equal(observed, images)
observed = aug.augment_images(images_list)
assert not array_equal_lists(observed, images_list)
observed = aug_det.augment_images(images_list)
assert not array_equal_lists(observed, images_list)
observed = aug.augment_keypoints(keypoints)
assert keypoints_equal(observed, keypoints)
observed = aug_det.augment_keypoints(keypoints)
assert keypoints_equal(observed, keypoints)
def test_std_dev_of_added_noise_matches_scale(self):
# std correct?
base_img = np.ones((16, 16, 1), dtype=np.uint8) * 128
aug = iaa.AdditiveGaussianNoise(loc=0, scale=0.2 * 255)
images = np.ones((1, 1, 1, 1), dtype=np.uint8) * 128
nb_iterations = 1000
values = []
for i in sm.xrange(nb_iterations):
images_aug = aug.augment_images(images)
values.append(images_aug[0, 0, 0, 0])
values = np.array(values)
assert np.min(values) == 0
assert 0.1 < np.std(values) / 255.0 < 0.4
def test_nonzero_loc(self):
# non-zero loc
base_img = np.ones((16, 16, 1), dtype=np.uint8) * 128
aug = iaa.AdditiveGaussianNoise(loc=0.25 * 255, scale=0.01 * 255)
images = np.ones((1, 1, 1, 1), dtype=np.uint8) * 128
nb_iterations = 1000
values = []
for i in sm.xrange(nb_iterations):
images_aug = aug.augment_images(images)
values.append(images_aug[0, 0, 0, 0] - 128)
values = np.array(values)
assert 54 < np.average(values) < 74 # loc=0.25 should be around 255*0.25=64 average
def test_tuple_as_loc(self):
# varying locs
base_img = np.ones((16, 16, 1), dtype=np.uint8) * 128
aug = iaa.AdditiveGaussianNoise(loc=(0, 0.5 * 255), scale=0.0001 * 255)
aug_det = aug.to_deterministic()
images = np.ones((1, 1, 1, 1), dtype=np.uint8) * 128
last_aug = None
last_aug_det = None
nb_changed_aug = 0
nb_changed_aug_det = 0
nb_iterations = 1000
for i in sm.xrange(nb_iterations):
observed_aug = aug.augment_images(images)
observed_aug_det = aug_det.augment_images(images)
if i == 0:
last_aug = observed_aug
last_aug_det = observed_aug_det
else:
if not np.array_equal(observed_aug, last_aug):
nb_changed_aug += 1
if not np.array_equal(observed_aug_det, last_aug_det):
nb_changed_aug_det += 1
last_aug = observed_aug
last_aug_det = observed_aug_det
assert nb_changed_aug >= int(nb_iterations * 0.95)
assert nb_changed_aug_det == 0
def test_stochastic_parameter_as_loc(self):
# varying locs by stochastic param
base_img = np.ones((16, 16, 1), dtype=np.uint8) * 128
aug = iaa.AdditiveGaussianNoise(loc=iap.Choice([-20, 20]), scale=0.0001 * 255)
images = np.ones((1, 1, 1, 1), dtype=np.uint8) * 128
seen = [0, 0]
for i in sm.xrange(200):
observed = aug.augment_images(images)
mean = np.mean(observed)
diff_m20 = abs(mean - (128-20))
diff_p20 = abs(mean - (128+20))
if diff_m20 <= 1:
seen[0] += 1
elif diff_p20 <= 1:
seen[1] += 1
else:
assert False
assert 75 < seen[0] < 125
assert 75 < seen[1] < 125
def test_tuple_as_scale(self):
# varying stds
base_img = np.ones((16, 16, 1), dtype=np.uint8) * 128
aug = iaa.AdditiveGaussianNoise(loc=0, scale=(0.01 * 255, 0.2 * 255))
aug_det = aug.to_deterministic()
images = np.ones((1, 1, 1, 1), dtype=np.uint8) * 128
last_aug = None
last_aug_det = None
nb_changed_aug = 0
nb_changed_aug_det = 0
nb_iterations = 1000
for i in sm.xrange(nb_iterations):
observed_aug = aug.augment_images(images)
observed_aug_det = aug_det.augment_images(images)
if i == 0:
last_aug = observed_aug
last_aug_det = observed_aug_det
else:
if not np.array_equal(observed_aug, last_aug):
nb_changed_aug += 1
if not np.array_equal(observed_aug_det, last_aug_det):
nb_changed_aug_det += 1
last_aug = observed_aug
last_aug_det = observed_aug_det
assert nb_changed_aug >= int(nb_iterations * 0.95)
assert nb_changed_aug_det == 0
def test_stochastic_parameter_as_scale(self):
# varying stds by stochastic param
base_img = np.ones((16, 16, 1), dtype=np.uint8) * 128
aug = iaa.AdditiveGaussianNoise(loc=0, scale=iap.Choice([1, 20]))
images = np.ones((1, 20, 20, 1), dtype=np.uint8) * 128
seen = [0, 0, 0]
for i in sm.xrange(200):
observed = aug.augment_images(images)
std = np.std(observed.astype(np.int32) - 128)
diff_1 = abs(std - 1)
diff_20 = abs(std - 20)
if diff_1 <= 2:
seen[0] += 1
elif diff_20 <= 5:
seen[1] += 1
else:
seen[2] += 1
assert seen[2] <= 5
assert 75 < seen[0] < 125
assert 75 < seen[1] < 125
def test___init___bad_datatypes(self):
# test exceptions for wrong parameter types
got_exception = False
try:
_ = iaa.AdditiveGaussianNoise(loc="test")
except Exception:
got_exception = True
assert got_exception
got_exception = False
try:
_ = iaa.AdditiveGaussianNoise(scale="test")
except Exception:
got_exception = True
assert got_exception
def test_heatmaps_dont_change(self):
# test heatmaps (not affected by augmenter)
base_img = np.ones((16, 16, 1), dtype=np.uint8) * 128
aug = iaa.AdditiveGaussianNoise(loc=0.5, scale=10)
hm = ia.quokka_heatmap()
hm_aug = aug.augment_heatmaps([hm])[0]
assert np.allclose(hm.arr_0to1, hm_aug.arr_0to1)
def test_pickleable(self):
aug = iaa.AdditiveGaussianNoise(scale=(0.1, 10), per_channel=True,
seed=1)
runtest_pickleable_uint8_img(aug, iterations=2)
class TestCutout(unittest.TestCase):
def setUp(self):
reseed()
def test___init___defaults(self):
aug = iaa.Cutout()
assert aug.nb_iterations.value == 1
assert isinstance(aug.position[0], iap.Uniform)
assert isinstance(aug.position[1], iap.Uniform)
assert np.isclose(aug.size.value, 0.2)
assert aug.squared.value == 1
assert aug.fill_mode.value == "constant"
assert aug.cval.value == 128
assert aug.fill_per_channel.value == 0
def test___init___custom(self):
aug = iaa.Cutout(
nb_iterations=1,
position=(0.5, 0.5),
size=0.1,
squared=0.6,
fill_mode=["gaussian", "constant"],
cval=(0, 255),
fill_per_channel=0.5
)
assert aug.nb_iterations.value == 1
assert np.isclose(aug.position[0].value, 0.5)
assert np.isclose(aug.position[1].value, 0.5)
assert np.isclose(aug.size.value, 0.1)
assert np.isclose(aug.squared.p.value, 0.6)
assert aug.fill_mode.a == ["gaussian", "constant"]
assert np.isclose(aug.cval.a.value, 0)
assert np.isclose(aug.cval.b.value, 255)
assert np.isclose(aug.fill_per_channel.p.value, 0.5)
def test___init___fill_mode_is_stochastic_param(self):
param = iap.Deterministic("constant")
aug = iaa.Cutout(fill_mode=param)
assert aug.fill_mode is param
@mock.patch("imgaug.augmenters.arithmetic.cutout_")
def test_mocked__squared_false(self, mock_apply):
aug = iaa.Cutout(nb_iterations=2,
position=(0.5, 0.6),
size=iap.DeterministicList([0.1, 0.2]),
squared=False,
fill_mode="gaussian",
cval=1,
fill_per_channel=True)
image = np.zeros((10, 30, 3), dtype=np.uint8)
# dont return image itself, otherwise the loop below will fail
# at its second iteration as the method is expected to handle
# internally a copy of the image and not the image itself
mock_apply.return_value = np.copy(image)
_ = aug(image=image)
assert mock_apply.call_count == 2
for call_idx in np.arange(2):
args = mock_apply.call_args_list[call_idx][0]
kwargs = mock_apply.call_args_list[call_idx][1]
assert args[0] is not image
assert np.array_equal(args[0], image)
assert np.isclose(kwargs["x1"], 0.5*30 - 0.5 * (0.2*30))
assert np.isclose(kwargs["y1"], 0.6*10 - 0.5 * (0.1*10))
assert np.isclose(kwargs["x2"], 0.5*30 + 0.5 * (0.2*30))
assert np.isclose(kwargs["y2"], 0.6*10 + 0.5 * (0.1*10))
assert kwargs["fill_mode"] == "gaussian"
assert np.array_equal(kwargs["cval"], [1, 1, 1])
assert np.isclose(kwargs["fill_per_channel"], 1.0)
assert isinstance(kwargs["seed"], iarandom.RNG)
@mock.patch("imgaug.augmenters.arithmetic.cutout_")
def test_mocked__squared_true(self, mock_apply):
aug = iaa.Cutout(nb_iterations=2,
position=(0.5, 0.6),
size=iap.DeterministicList([0.1, 0.2]),
squared=True,
fill_mode="gaussian",
cval=1,
fill_per_channel=True)
image = np.zeros((10, 30, 3), dtype=np.uint8)
# dont return image itself, otherwise the loop below will fail
# at its second iteration as the method is expected to handle
# internally a copy of the image and not the image itself
mock_apply.return_value = np.copy(image)
_ = aug(image=image)
assert mock_apply.call_count == 2
for call_idx in np.arange(2):
args = mock_apply.call_args_list[call_idx][0]
kwargs = mock_apply.call_args_list[call_idx][1]
assert args[0] is not image
assert np.array_equal(args[0], image)
assert np.isclose(kwargs["x1"], 0.5*30 - 0.5 * (0.1*10))
assert np.isclose(kwargs["y1"], 0.6*10 - 0.5 * (0.1*10))
assert np.isclose(kwargs["x2"], 0.5*30 + 0.5 * (0.1*10))
assert np.isclose(kwargs["y2"], 0.6*10 + 0.5 * (0.1*10))
assert kwargs["fill_mode"] == "gaussian"
assert np.array_equal(kwargs["cval"], [1, 1, 1])
assert np.isclose(kwargs["fill_per_channel"], 1.0)
assert isinstance(kwargs["seed"], iarandom.RNG)
def test_simple_image(self):
aug = iaa.Cutout(nb_iterations=2,
position=(
iap.DeterministicList([0.2, 0.8]),
iap.DeterministicList([0.2, 0.8])
),
size=0.2,
fill_mode="constant",
cval=iap.DeterministicList([0, 0, 0, 1, 1, 1]))
image = np.full((100, 100, 3), 255, dtype=np.uint8)
for _ in np.arange(3):
images_aug = aug(images=[image, image])
for image_aug in images_aug:
values = np.unique(image_aug)
assert len(values) == 3
assert 0 in values
assert 1 in values
assert 255 in values
def test_batch_contains_only_non_image_data(self):
aug = iaa.Cutout()
segmap_arr = np.ones((3, 3, 1), dtype=np.int32)
segmap = ia.SegmentationMapsOnImage(segmap_arr, shape=(3, 3, 3))
segmap_aug = aug.augment_segmentation_maps(segmap)
assert np.array_equal(segmap.get_arr(), segmap_aug.get_arr())
def test_sampling_when_position_is_stochastic_parameter(self):
# sampling of position works slightly differently when it is a single
# parameter instead of tuple (paramX, paramY), so we have an extra
# test for that situation here
param = iap.DeterministicList([0.5, 0.6])
aug = iaa.Cutout(position=param)
samples = aug._draw_samples([
np.zeros((3, 3, 3), dtype=np.uint8),
np.zeros((3, 3, 3), dtype=np.uint8)
], iarandom.RNG(0))
assert np.allclose(samples.pos_x, [0.5, 0.5])
assert np.allclose(samples.pos_y, [0.6, 0.6])
def test_by_comparison_to_official_implementation(self):
image = np.ones((10, 8, 2), dtype=np.uint8)
aug = iaa.Cutout(1, position="uniform", size=0.2, squared=True,
cval=0)
aug_official = _CutoutOfficial(n_holes=1, length=int(10*0.2))
dropped = np.zeros((10, 8, 2), dtype=np.int32)
dropped_official = np.copy(dropped)
height = np.zeros((10, 8, 2), dtype=np.int32)
width = np.copy(height)
height_official = np.copy(height)
width_official = np.copy(width)
nb_iterations = 3 * 1000
images_aug = aug(images=[image] * nb_iterations)
for image_aug in images_aug:
image_aug_off = aug_official(image)
mask = (image_aug == 0)
mask_off = (image_aug_off == 0)
dropped += mask
dropped_official += mask_off
ydrop = np.max(mask, axis=(2, 1))
xdrop = np.max(mask, axis=(2, 0))
wx = np.where(xdrop)
wy = np.where(ydrop)
x1 = wx[0][0]
x2 = wx[0][-1]
y1 = wy[0][0]
y2 = wy[0][-1]
ydrop_off = np.max(mask_off, axis=(2, 1))
xdrop_off = np.max(mask_off, axis=(2, 0))
wx_off = np.where(xdrop_off)
wy_off = np.where(ydrop_off)
x1_off = wx_off[0][0]
x2_off = wx_off[0][-1]
y1_off = wy_off[0][0]
y2_off = wy_off[0][-1]
height += (
np.full(height.shape, 1 + (y2 - y1), dtype=np.int32)
* mask)
width += (
np.full(width.shape, 1 + (x2 - x1), dtype=np.int32)
* mask)
height_official += (
np.full(height_official.shape, 1 + (y2_off - y1_off),
dtype=np.int32)
* mask_off)
width_official += (
np.full(width_official.shape, 1 + (x2_off - x1_off),
dtype=np.int32)
* mask_off)
dropped_prob = dropped / nb_iterations
dropped_prob_off = dropped_official / nb_iterations
height_avg = height / (dropped + 1e-4)
height_avg_off = height_official / (dropped_official + 1e-4)
width_avg = width / (dropped + 1e-4)
width_avg_off = width_official / (dropped_official + 1e-4)
prob_max_diff = np.max(np.abs(dropped_prob - dropped_prob_off))
height_avg_max_diff = np.max(np.abs(height_avg - height_avg_off))
width_avg_max_diff = np.max(np.abs(width_avg - width_avg_off))
assert prob_max_diff < 0.04
assert height_avg_max_diff < 0.3
assert width_avg_max_diff < 0.3
def test_determinism(self):
aug = iaa.Cutout(nb_iterations=(1, 3),
size=(0.1, 0.2),
fill_mode=["gaussian", "constant"],
cval=(0, 255))
image = np.mod(
np.arange(100*100*3), 256
).reshape((100, 100, 3)).astype(np.uint8)
sums = []
for _ in np.arange(10):
aug_det = aug.to_deterministic()
image_aug1 = aug_det(image=image)
image_aug2 = aug_det(image=image)
assert np.array_equal(image_aug1, image_aug2)
sums.append(np.sum(image_aug1))
assert len(np.unique(sums)) > 1
def test_get_parameters(self):
aug = iaa.Cutout(
nb_iterations=1,
position=(0.5, 0.5),
size=0.1,
squared=0.6,
fill_mode=["gaussian", "constant"],
cval=(0, 255),
fill_per_channel=0.5
)
params = aug.get_parameters()
assert params[0] is aug.nb_iterations
assert params[1] is aug.position
assert params[2] is aug.size
assert params[3] is aug.squared
assert params[4] is aug.fill_mode
assert params[5] is aug.cval
assert params[6] is aug.fill_per_channel
def test_pickleable(self):
aug = iaa.Cutout(
nb_iterations=1,
position=(0.5, 0.5),
size=0.1,
squared=0.6,
fill_mode=["gaussian", "constant"],
cval=(0, 255),
fill_per_channel=0.5
)
runtest_pickleable_uint8_img(aug)
# this is mostly copy-pasted cutout code from
# https://github.com/uoguelph-mlrg/Cutout/blob/master/util/cutout.py
# we use this to compare our implementation against
# we changed some pytorch to numpy stuff
class _CutoutOfficial(object):
"""Randomly mask out one or more patches from an image.
Args:
n_holes (int): Number of patches to cut out of each image.
length (int): The length (in pixels) of each square patch.
"""
def __init__(self, n_holes, length):
self.n_holes = n_holes
self.length = length
def __call__(self, img):
"""
Args:
img (Tensor): Tensor image of size (C, H, W).
Returns:
Tensor: Image with n_holes of dimension length x length cut out of
it.
"""
# h = img.size(1)
# w = img.size(2)
h = img.shape[0]
w = img.shape[1]
mask = np.ones((h, w), np.float32)
for n in range(self.n_holes):
y = np.random.randint(h)
x = np.random.randint(w)
y1 = np.clip(y - self.length // 2, 0, h)
y2 = np.clip(y + self.length // 2, 0, h)
x1 = np.clip(x - self.length // 2, 0, w)
x2 = np.clip(x + self.length // 2, 0, w)
# note that in the paper they normalize to 0-mean,
# i.e. 0 here is actually not black but grayish pixels
mask[y1: y2, x1: x2] = 0
# mask = torch.from_numpy(mask)
# mask = mask.expand_as(img)
if img.ndim != 2:
mask = np.tile(mask[:, :, np.newaxis], (1, 1, img.shape[-1]))
img = img * mask
return img
class TestDropout(unittest.TestCase):
def setUp(self):
reseed()
def test_p_is_zero(self):
# no dropout, shouldnt change anything
base_img = np.ones((512, 512, 1), dtype=np.uint8) * 255
images = np.array([base_img])
images_list = [base_img]
aug = iaa.Dropout(p=0)
observed = aug.augment_images(images)
expected = images
assert np.array_equal(observed, expected)
observed = aug.augment_images(images_list)
expected = images_list
assert array_equal_lists(observed, expected)
# 100% dropout, should drop everything
aug = iaa.Dropout(p=1.0)
observed = aug.augment_images(images)
expected = np.zeros((1, 512, 512, 1), dtype=np.uint8)
assert np.array_equal(observed, expected)
observed = aug.augment_images(images_list)
expected = [np.zeros((512, 512, 1), dtype=np.uint8)]
assert array_equal_lists(observed, expected)
def test_p_is_50_percent(self):
# 50% dropout
base_img = np.ones((512, 512, 1), dtype=np.uint8) * 255
images = np.array([base_img])
images_list = [base_img]
keypoints = [ia.KeypointsOnImage([ia.Keypoint(x=0, y=0), ia.Keypoint(x=1, y=1),
ia.Keypoint(x=2, y=2)], shape=base_img.shape)]
aug = iaa.Dropout(p=0.5)
aug_det = aug.to_deterministic()
observed = aug.augment_images(images)
assert not np.array_equal(observed, images)
percent_nonzero = len(observed.flatten().nonzero()[0]) \
/ (base_img.shape[0] * base_img.shape[1] * base_img.shape[2])
assert 0.35 <= (1 - percent_nonzero) <= 0.65
observed = aug_det.augment_images(images)
assert not np.array_equal(observed, images)
percent_nonzero = len(observed.flatten().nonzero()[0]) \
/ (base_img.shape[0] * base_img.shape[1] * base_img.shape[2])
assert 0.35 <= (1 - percent_nonzero) <= 0.65
observed = aug.augment_images(images_list)
assert not array_equal_lists(observed, images_list)
percent_nonzero = len(observed[0].flatten().nonzero()[0]) \
/ (base_img.shape[0] * base_img.shape[1] * base_img.shape[2])
assert 0.35 <= (1 - percent_nonzero) <= 0.65
observed = aug_det.augment_images(images_list)
assert not array_equal_lists(observed, images_list)
percent_nonzero = len(observed[0].flatten().nonzero()[0]) \
/ (base_img.shape[0] * base_img.shape[1] * base_img.shape[2])
assert 0.35 <= (1 - percent_nonzero) <= 0.65
observed = aug.augment_keypoints(keypoints)
assert keypoints_equal(observed, keypoints)
observed = aug_det.augment_keypoints(keypoints)
assert keypoints_equal(observed, keypoints)
def test_tuple_as_p(self):
# varying p
aug = iaa.Dropout(p=(0.0, 1.0))
aug_det = aug.to_deterministic()
images = np.ones((1, 8, 8, 1), dtype=np.uint8) * 255
last_aug = None
last_aug_det = None
nb_changed_aug = 0
nb_changed_aug_det = 0
nb_iterations = 1000
for i in sm.xrange(nb_iterations):
observed_aug = aug.augment_images(images)
observed_aug_det = aug_det.augment_images(images)
if i == 0:
last_aug = observed_aug
last_aug_det = observed_aug_det
else:
if not np.array_equal(observed_aug, last_aug):
nb_changed_aug += 1
if not np.array_equal(observed_aug_det, last_aug_det):
nb_changed_aug_det += 1
last_aug = observed_aug
last_aug_det = observed_aug_det
assert nb_changed_aug >= int(nb_iterations * 0.95)
assert nb_changed_aug_det == 0
def test_list_as_p(self):
aug = iaa.Dropout(p=[0.0, 0.5, 1.0])
images = np.ones((1, 20, 20, 1), dtype=np.uint8) * 255
nb_seen = [0, 0, 0, 0]
nb_iterations = 1000
for i in sm.xrange(nb_iterations):
observed_aug = aug.augment_images(images)
n_dropped = np.sum(observed_aug == 0)
p_observed = n_dropped / observed_aug.size
if 0 <= p_observed <= 0.01:
nb_seen[0] += 1
elif 0.5 - 0.05 <= p_observed <= 0.5 + 0.05:
nb_seen[1] += 1
elif 1.0-0.01 <= p_observed <= 1.0:
nb_seen[2] += 1
else:
nb_seen[3] += 1
assert np.allclose(nb_seen[0:3], nb_iterations*0.33, rtol=0, atol=75)
assert nb_seen[3] < 30
def test_stochastic_parameter_as_p(self):
# varying p by stochastic parameter
aug = iaa.Dropout(p=iap.Binomial(1-iap.Choice([0.0, 0.5])))
images = np.ones((1, 20, 20, 1), dtype=np.uint8) * 255
seen = [0, 0, 0]
for i in sm.xrange(400):
observed = aug.augment_images(images)
p = np.mean(observed == 0)
if 0.4 < p < 0.6:
seen[0] += 1
elif p < 0.1:
seen[1] += 1
else:
seen[2] += 1
assert seen[2] <= 10
assert 150 < seen[0] < 250
assert 150 < seen[1] < 250
def test___init___bad_datatypes(self):
# test exception for wrong parameter datatype
got_exception = False
try:
_aug = iaa.Dropout(p="test")
except Exception:
got_exception = True
assert got_exception
def test_heatmaps_dont_change(self):
# test heatmaps (not affected by augmenter)
aug = iaa.Dropout(p=1.0)
hm = ia.quokka_heatmap()
hm_aug = aug.augment_heatmaps([hm])[0]
assert np.allclose(hm.arr_0to1, hm_aug.arr_0to1)
def test_pickleable(self):
aug = iaa.Dropout(p=0.5, per_channel=True, seed=1)
runtest_pickleable_uint8_img(aug, iterations=3)
class TestCoarseDropout(unittest.TestCase):
def setUp(self):
reseed()
def test_p_is_zero(self):
base_img = np.ones((16, 16, 1), dtype=np.uint8) * 100
aug = iaa.CoarseDropout(p=0, size_px=4, size_percent=None, per_channel=False, min_size=4)
observed = aug.augment_image(base_img)
expected = base_img
assert np.array_equal(observed, expected)
def test_p_is_one(self):
base_img = np.ones((16, 16, 1), dtype=np.uint8) * 100
aug = iaa.CoarseDropout(p=1.0, size_px=4, size_percent=None, per_channel=False, min_size=4)
observed = aug.augment_image(base_img)
expected = np.zeros_like(base_img)
assert np.array_equal(observed, expected)
def test_p_is_50_percent(self):
base_img = np.ones((16, 16, 1), dtype=np.uint8) * 100
aug = iaa.CoarseDropout(p=0.5, size_px=1, size_percent=None, per_channel=False, min_size=1)
averages = []
for _ in sm.xrange(50):
observed = aug.augment_image(base_img)
averages.append(np.average(observed))
assert all([v in [0, 100] for v in averages])
assert 50 - 20 < np.average(averages) < 50 + 20
def test_size_percent(self):
base_img = np.ones((16, 16, 1), dtype=np.uint8) * 100
aug = iaa.CoarseDropout(p=0.5, size_px=None, size_percent=0.001, per_channel=False, min_size=1)
averages = []
for _ in sm.xrange(50):
observed = aug.augment_image(base_img)
averages.append(np.average(observed))
assert all([v in [0, 100] for v in averages])
assert 50 - 20 < np.average(averages) < 50 + 20
def test_per_channel(self):
aug = iaa.CoarseDropout(p=0.5, size_px=1, size_percent=None, per_channel=True, min_size=1)
base_img = np.ones((4, 4, 3), dtype=np.uint8) * 100
found = False
for _ in sm.xrange(100):
observed = aug.augment_image(base_img)
avgs = np.average(observed, axis=(0, 1))
if len(set(avgs)) >= 2:
found = True
break
assert found
def test_stochastic_parameter_as_p(self):
# varying p by stochastic parameter
aug = iaa.CoarseDropout(p=iap.Binomial(1-iap.Choice([0.0, 0.5])), size_px=50)
images = np.ones((1, 100, 100, 1), dtype=np.uint8) * 255
seen = [0, 0, 0]
for i in sm.xrange(400):
observed = aug.augment_images(images)
p = np.mean(observed == 0)
if 0.4 < p < 0.6:
seen[0] += 1
elif p < 0.1:
seen[1] += 1
else:
seen[2] += 1
assert seen[2] <= 10
assert 150 < seen[0] < 250
assert 150 < seen[1] < 250
def test___init___bad_datatypes(self):
# test exception for bad parameters
got_exception = False
try:
_ = iaa.CoarseDropout(p="test")
except Exception:
got_exception = True
assert got_exception
def test___init___size_px_and_size_percent_both_none(self):
got_exception = False
try:
_ = iaa.CoarseDropout(p=0.5, size_px=None, size_percent=None)
except Exception:
got_exception = True
assert got_exception
def test_heatmaps_dont_change(self):
# test heatmaps (not affected by augmenter)
aug = iaa.CoarseDropout(p=1.0, size_px=2)
hm = ia.quokka_heatmap()
hm_aug = aug.augment_heatmaps([hm])[0]
assert np.allclose(hm.arr_0to1, hm_aug.arr_0to1)
def test_pickleable(self):
aug = iaa.CoarseDropout(p=0.5, size_px=10, per_channel=True,
seed=1)
runtest_pickleable_uint8_img(aug, iterations=10, shape=(40, 40, 3))
class TestDropout2d(unittest.TestCase):
def setUp(self):
reseed()
def test___init___defaults(self):
aug = iaa.Dropout2d(p=0)
assert isinstance(aug.p, iap.Binomial)
assert np.isclose(aug.p.p.value, 1.0)
assert aug.nb_keep_channels == 1
def test___init___p_is_float(self):
aug = iaa.Dropout2d(p=0.7)
assert isinstance(aug.p, iap.Binomial)
assert np.isclose(aug.p.p.value, 0.3)
assert aug.nb_keep_channels == 1
def test___init___nb_keep_channels_is_int(self):
aug = iaa.Dropout2d(p=0, nb_keep_channels=2)
assert isinstance(aug.p, iap.Binomial)
assert np.isclose(aug.p.p.value, 1.0)
assert aug.nb_keep_channels == 2
def test_no_images_in_batch(self):
aug = iaa.Dropout2d(p=0.0, nb_keep_channels=0)
heatmaps = np.float32([
[0.0, 1.0],
[0.0, 1.0]
])
heatmaps = ia.HeatmapsOnImage(heatmaps, shape=(2, 2, 3))
heatmaps_aug = aug(heatmaps=heatmaps)
assert np.allclose(heatmaps_aug.arr_0to1, heatmaps.arr_0to1)
def test_p_is_1(self):
image = np.full((1, 2, 3), 255, dtype=np.uint8)
aug = iaa.Dropout2d(p=1.0, nb_keep_channels=0)
image_aug = aug(image=image)
assert image_aug.shape == image.shape
assert image_aug.dtype.name == image.dtype.name
assert np.sum(image_aug) == 0
def test_p_is_1_heatmaps(self):
aug = iaa.Dropout2d(p=1.0, nb_keep_channels=0)
arr = np.float32([
[0.0, 1.0],
[0.0, 1.0]
])
hm = ia.HeatmapsOnImage(arr, shape=(2, 2, 3))
heatmaps_aug = aug(heatmaps=hm)
assert np.allclose(heatmaps_aug.arr_0to1, 0.0)
def test_p_is_1_segmentation_maps(self):
aug = iaa.Dropout2d(p=1.0, nb_keep_channels=0)
arr = np.int32([
[0, 1],
[0, 1]
])
segmaps = ia.SegmentationMapsOnImage(arr, shape=(2, 2, 3))
segmaps_aug = aug(segmentation_maps=segmaps)
assert np.allclose(segmaps_aug.arr, 0.0)
def test_p_is_1_cbaois(self):
cbaois = [
ia.KeypointsOnImage([ia.Keypoint(x=0, y=1)], shape=(2, 2, 3)),
ia.BoundingBoxesOnImage([ia.BoundingBox(x1=0, y1=1, x2=2, y2=3)],
shape=(2, 2, 3)),
ia.PolygonsOnImage([ia.Polygon([(0, 0), (1, 0), (1, 1)])],
shape=(2, 2, 3)),
ia.LineStringsOnImage([ia.LineString([(0, 0), (1, 0)])],
shape=(2, 2, 3))
]
cbaoi_names = ["keypoints", "bounding_boxes", "polygons",
"line_strings"]
aug = iaa.Dropout2d(p=1.0, nb_keep_channels=0)
for name, cbaoi in zip(cbaoi_names, cbaois):
with self.subTest(datatype=name):
cbaoi_aug = aug(**{name: cbaoi})
assert cbaoi_aug.shape == (2, 2, 3)
assert cbaoi_aug.items == []
def test_p_is_1_heatmaps__keep_one_channel(self):
aug = iaa.Dropout2d(p=1.0, nb_keep_channels=1)
arr = np.float32([
[0.0, 1.0],
[0.0, 1.0]
])
hm = ia.HeatmapsOnImage(arr, shape=(2, 2, 3))
heatmaps_aug = aug(heatmaps=hm)
assert np.allclose(heatmaps_aug.arr_0to1, hm.arr_0to1)
def test_p_is_1_segmentation_maps__keep_one_channel(self):
aug = iaa.Dropout2d(p=1.0, nb_keep_channels=1)
arr = np.int32([
[0, 1],
[0, 1]
])
segmaps = ia.SegmentationMapsOnImage(arr, shape=(2, 2, 3))
segmaps_aug = aug(segmentation_maps=segmaps)
assert np.allclose(segmaps_aug.arr, segmaps.arr)
def test_p_is_1_cbaois__keep_one_channel(self):
cbaois = [
ia.KeypointsOnImage([ia.Keypoint(x=0, y=1)], shape=(2, 2, 3)),
ia.BoundingBoxesOnImage([ia.BoundingBox(x1=0, y1=1, x2=2, y2=3)],
shape=(2, 2, 3)),
ia.PolygonsOnImage([ia.Polygon([(0, 0), (1, 0), (1, 1)])],
shape=(2, 2, 3)),
ia.LineStringsOnImage([ia.LineString([(0, 0), (1, 0)])],
shape=(2, 2, 3))
]
cbaoi_names = ["keypoints", "bounding_boxes", "polygons",
"line_strings"]
aug = iaa.Dropout2d(p=1.0, nb_keep_channels=1)
for name, cbaoi in zip(cbaoi_names, cbaois):
with self.subTest(datatype=name):
cbaoi_aug = aug(**{name: cbaoi})
assert cbaoi_aug.shape == (2, 2, 3)
assert np.allclose(
cbaoi_aug.items[0].coords,
cbaoi.items[0].coords
)
def test_p_is_0(self):
image = np.full((1, 2, 3), 255, dtype=np.uint8)
aug = iaa.Dropout2d(p=0.0, nb_keep_channels=0)
image_aug = aug(image=image)
assert image_aug.shape == image.shape
assert image_aug.dtype.name == image.dtype.name
assert np.array_equal(image_aug, image)
def test_p_is_0_heatmaps(self):
aug = iaa.Dropout2d(p=0.0, nb_keep_channels=0)
arr = np.float32([
[0.0, 1.0],
[0.0, 1.0]
])
hm = ia.HeatmapsOnImage(arr, shape=(2, 2, 3))
heatmaps_aug = aug(heatmaps=hm)
assert np.allclose(heatmaps_aug.arr_0to1, hm.arr_0to1)
def test_p_is_0_segmentation_maps(self):
aug = iaa.Dropout2d(p=0.0, nb_keep_channels=0)
arr = np.int32([
[0, 1],
[0, 1]
])
segmaps = ia.SegmentationMapsOnImage(arr, shape=(2, 2, 3))
segmaps_aug = aug(segmentation_maps=segmaps)
assert np.allclose(segmaps_aug.arr, segmaps.arr)
def test_p_is_0_cbaois(self):
cbaois = [
ia.KeypointsOnImage([ia.Keypoint(x=0, y=1)], shape=(2, 2, 3)),
ia.BoundingBoxesOnImage([ia.BoundingBox(x1=0, y1=1, x2=2, y2=3)],
shape=(2, 2, 3)),
ia.PolygonsOnImage([ia.Polygon([(0, 0), (1, 0), (1, 1)])],
shape=(2, 2, 3)),
ia.LineStringsOnImage([ia.LineString([(0, 0), (1, 0)])],
shape=(2, 2, 3))
]
cbaoi_names = ["keypoints", "bounding_boxes", "polygons",
"line_strings"]
aug = iaa.Dropout2d(p=0.0, nb_keep_channels=0)
for name, cbaoi in zip(cbaoi_names, cbaois):
with self.subTest(datatype=name):
cbaoi_aug = aug(**{name: cbaoi})
assert cbaoi_aug.shape == (2, 2, 3)
assert np.allclose(
cbaoi_aug.items[0].coords,
cbaoi.items[0].coords
)
def test_p_is_075(self):
image = np.full((1, 1, 3000), 255, dtype=np.uint8)
aug = iaa.Dropout2d(p=0.75, nb_keep_channels=0)
image_aug = aug(image=image)
nb_kept = np.sum(image_aug == 255)
nb_dropped = image.shape[2] - nb_kept
assert image_aug.shape == image.shape
assert image_aug.dtype.name == image.dtype.name
assert np.isclose(nb_dropped, image.shape[2]*0.75, atol=75)
def test_force_nb_keep_channels(self):
image = np.full((1, 1, 3), 255, dtype=np.uint8)
images = np.array([image] * 1000)
aug = iaa.Dropout2d(p=1.0, nb_keep_channels=1)
images_aug = aug(images=images)
ids_kept = [np.nonzero(image[0, 0, :]) for image in images_aug]
ids_kept_uq = np.unique(ids_kept)
nb_kept = np.sum(images_aug == 255)
nb_dropped = (len(images) * images.shape[3]) - nb_kept
assert images_aug.shape == images.shape
assert images_aug.dtype.name == images.dtype.name
# on average, keep 1 of 3 channels
# due to p=1.0 we expect to get exactly 2/3 dropped
assert np.isclose(nb_dropped,
(len(images)*images.shape[3])*(2/3), atol=1)
# every channel dropped at least once, i.e. which one is kept is random
assert sorted(ids_kept_uq.tolist()) == [0, 1, 2]
def test_some_images_below_nb_keep_channels(self):
image_2c = np.full((1, 1, 2), 255, dtype=np.uint8)
image_3c = np.full((1, 1, 3), 255, dtype=np.uint8)
images = [image_2c if i % 2 == 0 else image_3c
for i in sm.xrange(100)]
aug = iaa.Dropout2d(p=1.0, nb_keep_channels=2)
images_aug = aug(images=images)
for i, image_aug in enumerate(images_aug):
assert np.sum(image_aug == 255) == 2
if i % 2 == 0:
assert np.sum(image_aug == 0) == 0
else:
assert np.sum(image_aug == 0) == 1
def test_all_images_below_nb_keep_channels(self):
image = np.full((1, 1, 2), 255, dtype=np.uint8)
images = np.array([image] * 100)
aug = iaa.Dropout2d(p=1.0, nb_keep_channels=3)
images_aug = aug(images=images)
nb_kept = np.sum(images_aug == 255)
nb_dropped = (len(images) * images.shape[3]) - nb_kept
assert nb_dropped == 0
def test_get_parameters(self):
aug = iaa.Dropout2d(p=0.7, nb_keep_channels=2)
params = aug.get_parameters()
assert isinstance(params[0], iap.Binomial)
assert np.isclose(params[0].p.value, 0.3)
assert params[1] == 2
def test_zero_sized_axes(self):
shapes = [
(0, 0),
(0, 1),
(1, 0),
(0, 1, 0),
(1, 0, 0),
(0, 1, 1),
(1, 0, 1)
]
for shape in shapes:
with self.subTest(shape=shape):
image = np.full(shape, 255, dtype=np.uint8)
aug = iaa.Dropout2d(1.0, nb_keep_channels=0)
image_aug = aug(image=image)
assert image_aug.dtype.name == "uint8"
assert image_aug.shape == image.shape
def test_other_dtypes_bool(self):
image = np.full((1, 1, 10), 1, dtype=bool)
aug = iaa.Dropout2d(p=1.0, nb_keep_channels=3)
image_aug = aug(image=image)
assert image_aug.shape == image.shape
assert image_aug.dtype.name == "bool"
assert np.sum(image_aug == 1) == 3
assert np.sum(image_aug == 0) == 7
def test_other_dtypes_uint_int(self):
dts = ["uint8", "uint16", "uint32", "uint64",
"int8", "int16", "int32", "int64"]
for dt in dts:
min_value, center_value, max_value = \
iadt.get_value_range_of_dtype(dt)
values = [min_value, int(center_value), max_value]
for value in values:
with self.subTest(dtype=dt, value=value):
image = np.full((1, 1, 10), value, dtype=dt)
aug = iaa.Dropout2d(p=1.0, nb_keep_channels=3)
image_aug = aug(image=image)
assert image_aug.shape == image.shape
assert image_aug.dtype.name == dt
if value == 0:
assert np.sum(image_aug == value) == 10
else:
assert np.sum(image_aug == value) == 3
assert np.sum(image_aug == 0) == 7
def test_other_dtypes_float(self):
dts = ["float16", "float32", "float64", "float128"]
for dt in dts:
min_value, center_value, max_value = \
iadt.get_value_range_of_dtype(dt)
values = [min_value, -10.0, center_value, 10.0, max_value]
atol = 1e-3*max_value if dt == "float16" else 1e-9 * max_value
_isclose = functools.partial(np.isclose, atol=atol, rtol=0)
for value in values:
with self.subTest(dtype=dt, value=value):
image = np.full((1, 1, 10), value, dtype=dt)
aug = iaa.Dropout2d(p=1.0, nb_keep_channels=3)
image_aug = aug(image=image)
assert image_aug.shape == image.shape
assert image_aug.dtype.name == dt
if _isclose(value, 0.0):
assert np.sum(_isclose(image_aug, value)) == 10
else:
assert (
np.sum(_isclose(image_aug, np.float128(value)))
== 3)
assert np.sum(image_aug == 0) == 7
def test_pickleable(self):
aug = iaa.Dropout2d(p=0.5, seed=1)
runtest_pickleable_uint8_img(aug, iterations=3, shape=(1, 1, 50))
class TestTotalDropout(unittest.TestCase):
def setUp(self):
reseed()
def test___init___p(self):
aug = iaa.TotalDropout(p=0)
assert isinstance(aug.p, iap.Binomial)
assert np.isclose(aug.p.p.value, 1.0)
def test_p_is_1(self):
image = np.full((1, 2, 3), 255, dtype=np.uint8)
aug = iaa.TotalDropout(p=1.0)
image_aug = aug(image=image)
assert image_aug.shape == image.shape
assert image_aug.dtype.name == image.dtype.name
assert np.sum(image_aug) == 0
def test_p_is_1_multiple_images_list(self):
image = np.full((1, 2, 3), 255, dtype=np.uint8)
images = [image, image, image]
aug = iaa.TotalDropout(p=1.0)
images_aug = aug(images=images)
for image_aug, image_ in zip(images_aug, images):
assert image_aug.shape == image_.shape
assert image_aug.dtype.name == image_.dtype.name
assert np.sum(image_aug) == 0
def test_p_is_1_multiple_images_array(self):
image = np.full((1, 2, 3), 255, dtype=np.uint8)
images = np.array([image, image, image], dtype=np.uint8)
aug = iaa.TotalDropout(p=1.0)
images_aug = aug(images=images)
assert images_aug.shape == images.shape
assert images_aug.dtype.name == images.dtype.name
assert np.sum(images_aug) == 0
def test_p_is_1_heatmaps(self):
aug = iaa.TotalDropout(p=1.0)
arr = np.float32([
[0.0, 1.0],
[0.0, 1.0]
])
hm = ia.HeatmapsOnImage(arr, shape=(2, 2, 3))
heatmaps_aug = aug(heatmaps=hm)
assert np.allclose(heatmaps_aug.arr_0to1, 0.0)
def test_p_is_1_segmentation_maps(self):
aug = iaa.TotalDropout(p=1.0)
arr = np.int32([
[0, 1],
[0, 1]
])
segmaps = ia.SegmentationMapsOnImage(arr, shape=(2, 2, 3))
segmaps_aug = aug(segmentation_maps=segmaps)
assert np.allclose(segmaps_aug.arr, 0.0)
def test_p_is_1_cbaois(self):
cbaois = [
ia.KeypointsOnImage([ia.Keypoint(x=0, y=1)], shape=(2, 2, 3)),
ia.BoundingBoxesOnImage([ia.BoundingBox(x1=0, y1=1, x2=2, y2=3)],
shape=(2, 2, 3)),
ia.PolygonsOnImage([ia.Polygon([(0, 0), (1, 0), (1, 1)])],
shape=(2, 2, 3)),
ia.LineStringsOnImage([ia.LineString([(0, 0), (1, 0)])],
shape=(2, 2, 3))
]
cbaoi_names = ["keypoints", "bounding_boxes", "polygons",
"line_strings"]
aug = iaa.TotalDropout(p=1.0)
for name, cbaoi in zip(cbaoi_names, cbaois):
with self.subTest(datatype=name):
cbaoi_aug = aug(**{name: cbaoi})
assert cbaoi_aug.shape == (2, 2, 3)
assert cbaoi_aug.items == []
def test_p_is_0(self):
image = np.full((1, 2, 3), 255, dtype=np.uint8)
aug = iaa.TotalDropout(p=0.0)
image_aug = aug(image=image)
assert image_aug.shape == image.shape
assert image_aug.dtype.name == image.dtype.name
assert np.array_equal(image_aug, image)
def test_p_is_0_multiple_images_list(self):
image = np.full((1, 2, 3), 255, dtype=np.uint8)
images = [image, image, image]
aug = iaa.TotalDropout(p=0.0)
images_aug = aug(images=images)
for image_aug, image_ in zip(images_aug, images):
assert image_aug.shape == image_.shape
assert image_aug.dtype.name == image_.dtype.name
assert np.array_equal(image_aug, image_)
def test_p_is_0_multiple_images_array(self):
image = np.full((1, 2, 3), 255, dtype=np.uint8)
images = np.array([image, image, image], dtype=np.uint8)
aug = iaa.TotalDropout(p=0.0)
images_aug = aug(images=images)
for image_aug, image_ in zip(images_aug, images):
assert image_aug.shape == image_.shape
assert image_aug.dtype.name == image_.dtype.name
assert np.array_equal(image_aug, image_)
def test_p_is_0_heatmaps(self):
aug = iaa.TotalDropout(p=0.0)
arr = np.float32([
[0.0, 1.0],
[0.0, 1.0]
])
hm = ia.HeatmapsOnImage(arr, shape=(2, 2, 3))
heatmaps_aug = aug(heatmaps=hm)
assert np.allclose(heatmaps_aug.arr_0to1, hm.arr_0to1)
def test_p_is_0_segmentation_maps(self):
aug = iaa.TotalDropout(p=0.0)
arr = np.int32([
[0, 1],
[0, 1]
])
segmaps = ia.SegmentationMapsOnImage(arr, shape=(2, 2, 3))
segmaps_aug = aug(segmentation_maps=segmaps)
assert np.allclose(segmaps_aug.arr, segmaps.arr)
def test_p_is_0_cbaois(self):
cbaois = [
ia.KeypointsOnImage([ia.Keypoint(x=0, y=1)], shape=(2, 2, 3)),
ia.BoundingBoxesOnImage([ia.BoundingBox(x1=0, y1=1, x2=2, y2=3)],
shape=(2, 2, 3)),
ia.PolygonsOnImage([ia.Polygon([(0, 0), (1, 0), (1, 1)])],
shape=(2, 2, 3)),
ia.LineStringsOnImage([ia.LineString([(0, 0), (1, 0)])],
shape=(2, 2, 3))
]
cbaoi_names = ["keypoints", "bounding_boxes", "polygons",
"line_strings"]
aug = iaa.TotalDropout(p=0.0)
for name, cbaoi in zip(cbaoi_names, cbaois):
with self.subTest(datatype=name):
cbaoi_aug = aug(**{name: cbaoi})
assert cbaoi_aug.shape == (2, 2, 3)
assert np.allclose(
cbaoi_aug.items[0].coords,
cbaoi.items[0].coords
)
def test_p_is_075_multiple_images_list(self):
images = [np.full((1, 1, 1), 255, dtype=np.uint8)] * 3000
aug = iaa.TotalDropout(p=0.75)
images_aug = aug(images=images)
nb_kept = np.sum([np.sum(image_aug == 255) for image_aug in images_aug])
nb_dropped = len(images) - nb_kept
for image_aug in images_aug:
assert image_aug.shape == images[0].shape
assert image_aug.dtype.name == images[0].dtype.name
assert np.isclose(nb_dropped, len(images)*0.75, atol=75)
def test_p_is_075_multiple_images_array(self):
images = np.full((3000, 1, 1, 1), 255, dtype=np.uint8)
aug = iaa.TotalDropout(p=0.75)
images_aug = aug(images=images)
nb_kept = np.sum(images_aug == 255)
nb_dropped = len(images) - nb_kept
assert images_aug.shape == images.shape
assert images_aug.dtype.name == images.dtype.name
assert np.isclose(nb_dropped, len(images)*0.75, atol=75)
def test_get_parameters(self):
aug = iaa.TotalDropout(p=0.0)
params = aug.get_parameters()
assert params[0] is aug.p
def test_unusual_channel_numbers(self):
shapes = [
(5, 1, 1, 4),
(5, 1, 1, 5),
(5, 1, 1, 512),
(5, 1, 1, 513)
]
for shape in shapes:
with self.subTest(shape=shape):
images = np.zeros(shape, dtype=np.uint8)
aug = iaa.TotalDropout(1.0)
images_aug = aug(images=images)
assert np.all(images_aug == 0)
assert images_aug.dtype.name == "uint8"
assert images_aug.shape == shape
def test_zero_sized_axes(self):
shapes = [
(5, 0, 0),
(5, 0, 1),
(5, 1, 0),
(5, 0, 1, 0),
(5, 1, 0, 0),
(5, 0, 1, 1),
(5, 1, 0, 1)
]
for shape in shapes:
with self.subTest(shape=shape):
images = np.full(shape, 255, dtype=np.uint8)
aug = iaa.TotalDropout(1.0)
images_aug = aug(images=images)
assert images_aug.dtype.name == "uint8"
assert images_aug.shape == images.shape
def test_other_dtypes_bool(self):
image = np.full((1, 1, 10), 1, dtype=bool)
aug = iaa.TotalDropout(p=1.0)
image_aug = aug(image=image)
assert image_aug.shape == image.shape
assert image_aug.dtype.name == "bool"
assert np.sum(image_aug == 1) == 0
def test_other_dtypes_uint_int(self):
dts = ["uint8", "uint16", "uint32", "uint64",
"int8", "int16", "int32", "int64"]
for dt in dts:
min_value, center_value, max_value = \
iadt.get_value_range_of_dtype(dt)
values = [min_value, int(center_value), max_value]
for value in values:
for p in [1.0, 0.0]:
with self.subTest(dtype=dt, value=value, p=p):
images = np.full((5, 1, 1, 3), value, dtype=dt)
aug = iaa.TotalDropout(p=p)
images_aug = aug(images=images)
assert images_aug.shape == images.shape
assert images_aug.dtype.name == dt
if np.isclose(p, 1.0) or value == 0:
assert np.sum(images_aug == 0) == 5*3
else:
assert np.sum(images_aug == value) == 5*3
def test_other_dtypes_float(self):
dts = ["float16", "float32", "float64", "float128"]
for dt in dts:
min_value, center_value, max_value = \
iadt.get_value_range_of_dtype(dt)
values = [min_value, -10.0, center_value, 10.0, max_value]
atol = 1e-3*max_value if dt == "float16" else 1e-9 * max_value
_isclose = functools.partial(np.isclose, atol=atol, rtol=0)
for value in values:
for p in [1.0, 0.0]:
with self.subTest(dtype=dt, value=value, p=p):
images = np.full((5, 1, 1, 3), value, dtype=dt)
aug = iaa.TotalDropout(p=p)
images_aug = aug(images=images)
assert images_aug.shape == images.shape
assert images_aug.dtype.name == dt
if np.isclose(p, 1.0):
assert np.sum(_isclose(images_aug, 0.0)) == 5*3
else:
assert (
np.sum(_isclose(images_aug, np.float128(value)))
== 5*3)
def test_pickleable(self):
aug = iaa.TotalDropout(p=0.5, seed=1)
runtest_pickleable_uint8_img(aug, iterations=30, shape=(4, 4, 2))
class TestMultiply(unittest.TestCase):
def setUp(self):
reseed()
def test_mul_is_one(self):
# no multiply, shouldnt change anything
base_img = np.ones((3, 3, 1), dtype=np.uint8) * 100
images = np.array([base_img])
images_list = [base_img]
aug = iaa.Multiply(mul=1.0)
aug_det = aug.to_deterministic()
observed = aug.augment_images(images)
expected = images
assert np.array_equal(observed, expected)
assert observed.shape == (1, 3, 3, 1)
observed = aug.augment_images(images_list)
expected = images_list
assert array_equal_lists(observed, expected)
observed = aug_det.augment_images(images)
expected = images
assert np.array_equal(observed, expected)
observed = aug_det.augment_images(images_list)
expected = images_list
assert array_equal_lists(observed, expected)
def test_mul_is_above_one(self):
# multiply >1.0
base_img = np.ones((3, 3, 1), dtype=np.uint8) * 100
images = np.array([base_img])
images_list = [base_img]
aug = iaa.Multiply(mul=1.2)
aug_det = aug.to_deterministic()
observed = aug.augment_images(images)
expected = np.ones((1, 3, 3, 1), dtype=np.uint8) * 120
assert np.array_equal(observed, expected)
assert observed.shape == (1, 3, 3, 1)
observed = aug.augment_images(images_list)
expected = [np.ones((3, 3, 1), dtype=np.uint8) * 120]
assert array_equal_lists(observed, expected)
observed = aug_det.augment_images(images)
expected = np.ones((1, 3, 3, 1), dtype=np.uint8) * 120
assert np.array_equal(observed, expected)
observed = aug_det.augment_images(images_list)
expected = [np.ones((3, 3, 1), dtype=np.uint8) * 120]
assert array_equal_lists(observed, expected)
def test_mul_is_below_one(self):
# multiply <1.0
base_img = np.ones((3, 3, 1), dtype=np.uint8) * 100
images = np.array([base_img])
images_list = [base_img]
aug = iaa.Multiply(mul=0.8)
aug_det = aug.to_deterministic()
observed = aug.augment_images(images)
expected = np.ones((1, 3, 3, 1), dtype=np.uint8) * 80
assert np.array_equal(observed, expected)
assert observed.shape == (1, 3, 3, 1)
observed = aug.augment_images(images_list)
expected = [np.ones((3, 3, 1), dtype=np.uint8) * 80]
assert array_equal_lists(observed, expected)
observed = aug_det.augment_images(images)
expected = np.ones((1, 3, 3, 1), dtype=np.uint8) * 80
assert np.array_equal(observed, expected)
observed = aug_det.augment_images(images_list)
expected = [np.ones((3, 3, 1), dtype=np.uint8) * 80]
assert array_equal_lists(observed, expected)
def test_keypoints_dont_change(self):
# keypoints shouldnt be changed
base_img = np.ones((3, 3, 1), dtype=np.uint8) * 100
keypoints = [ia.KeypointsOnImage([ia.Keypoint(x=0, y=0), ia.Keypoint(x=1, y=1),
ia.Keypoint(x=2, y=2)], shape=base_img.shape)]
aug = iaa.Multiply(mul=1.2)
aug_det = iaa.Multiply(mul=1.2).to_deterministic()
observed = aug.augment_keypoints(keypoints)
expected = keypoints
assert keypoints_equal(observed, expected)
observed = aug_det.augment_keypoints(keypoints)
expected = keypoints
assert keypoints_equal(observed, expected)
def test_tuple_as_mul(self):
# varying multiply factors
base_img = np.ones((3, 3, 1), dtype=np.uint8) * 100
images = np.array([base_img])
aug = iaa.Multiply(mul=(0, 2.0))
aug_det = aug.to_deterministic()
last_aug = None
last_aug_det = None
nb_changed_aug = 0
nb_changed_aug_det = 0
nb_iterations = 1000
for i in sm.xrange(nb_iterations):
observed_aug = aug.augment_images(images)
observed_aug_det = aug_det.augment_images(images)
if i == 0:
last_aug = observed_aug
last_aug_det = observed_aug_det
else:
if not np.array_equal(observed_aug, last_aug):
nb_changed_aug += 1
if not np.array_equal(observed_aug_det, last_aug_det):
nb_changed_aug_det += 1
last_aug = observed_aug
last_aug_det = observed_aug_det
assert nb_changed_aug >= int(nb_iterations * 0.95)
assert nb_changed_aug_det == 0
def test_per_channel(self):
aug = iaa.Multiply(mul=iap.Choice([0, 2]), per_channel=True)
observed = aug.augment_image(np.ones((1, 1, 100), dtype=np.uint8))
uq = np.unique(observed)
assert observed.shape == (1, 1, 100)
assert 0 in uq
assert 2 in uq
assert len(uq) == 2
def test_per_channel_with_probability(self):
# test channelwise with probability
aug = iaa.Multiply(mul=iap.Choice([0, 2]), per_channel=0.5)
seen = [0, 0]
for _ in sm.xrange(400):
observed = aug.augment_image(np.ones((1, 1, 20), dtype=np.uint8))
assert observed.shape == (1, 1, 20)
uq = np.unique(observed)
per_channel = (len(uq) == 2)
if per_channel:
seen[0] += 1
else:
seen[1] += 1
assert 150 < seen[0] < 250
assert 150 < seen[1] < 250
def test___init___bad_datatypes(self):
# test exceptions for wrong parameter types
got_exception = False
try:
_ = iaa.Multiply(mul="test")
except Exception:
got_exception = True
assert got_exception
got_exception = False
try:
_ = iaa.Multiply(mul=1, per_channel="test")
except Exception:
got_exception = True
assert got_exception
def test_zero_sized_axes(self):
shapes = [
(0, 0),
(0, 1),
(1, 0),
(0, 1, 0),
(1, 0, 0),
(0, 1, 1),
(1, 0, 1)
]
for shape in shapes:
with self.subTest(shape=shape):
image = np.ones(shape, dtype=np.uint8)
aug = iaa.Multiply(1)
image_aug = aug(image=image)
assert np.all(image_aug == 2)
assert image_aug.dtype.name == "uint8"
assert image_aug.shape == image.shape
def test_unusual_channel_numbers(self):
shapes = [
(1, 1, 4),
(1, 1, 5),
(1, 1, 512),
(1, 1, 513)
]
for shape in shapes:
with self.subTest(shape=shape):
image = np.ones(shape, dtype=np.uint8)
aug = iaa.Multiply(2)
image_aug = aug(image=image)
assert np.all(image_aug == 2)
assert image_aug.dtype.name == "uint8"
assert image_aug.shape == image.shape
def test_get_parameters(self):
# test get_parameters()
aug = iaa.Multiply(mul=1, per_channel=False)
params = aug.get_parameters()
assert isinstance(params[0], iap.Deterministic)
assert isinstance(params[1], iap.Deterministic)
assert params[0].value == 1
assert params[1].value == 0
def test_heatmaps_dont_change(self):
# test heatmaps (not affected by augmenter)
aug = iaa.Multiply(mul=2)
hm = ia.quokka_heatmap()
hm_aug = aug.augment_heatmaps([hm])[0]
assert np.allclose(hm.arr_0to1, hm_aug.arr_0to1)
def test_other_dtypes_bool(self):
# bool
image = np.zeros((3, 3), dtype=bool)
aug = iaa.Multiply(1.0)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == np.bool_
assert np.all(image_aug == 0)
image = np.full((3, 3), True, dtype=bool)
aug = iaa.Multiply(1.0)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == np.bool_
assert np.all(image_aug == 1)
image = np.full((3, 3), True, dtype=bool)
aug = iaa.Multiply(2.0)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == np.bool_
assert np.all(image_aug == 1)
image = np.full((3, 3), True, dtype=bool)
aug = iaa.Multiply(0.0)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == np.bool_
assert np.all(image_aug == 0)
image = np.full((3, 3), True, dtype=bool)
aug = iaa.Multiply(-1.0)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == np.bool_
assert np.all(image_aug == 0)
def test_other_dtypes_uint_int(self):
# uint, int
for dtype in [np.uint8, np.uint16, np.int8, np.int16]:
dtype = np.dtype(dtype)
min_value, center_value, max_value = iadt.get_value_range_of_dtype(dtype)
image = np.full((3, 3), 10, dtype=dtype)
aug = iaa.Multiply(1)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(image_aug == 10)
image = np.full((3, 3), 10, dtype=dtype)
aug = iaa.Multiply(10)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(image_aug == 100)
image = np.full((3, 3), 10, dtype=dtype)
aug = iaa.Multiply(0.5)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(image_aug == 5)
image = np.full((3, 3), 0, dtype=dtype)
aug = iaa.Multiply(0)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(image_aug == 0)
if np.dtype(dtype).kind == "u":
image = np.full((3, 3), 10, dtype=dtype)
aug = iaa.Multiply(-1)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(image_aug == 0)
else:
image = np.full((3, 3), 10, dtype=dtype)
aug = iaa.Multiply(-1)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(image_aug == -10)
image = np.full((3, 3), int(center_value), dtype=dtype)
aug = iaa.Multiply(1)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(image_aug == int(center_value))
image = np.full((3, 3), int(center_value), dtype=dtype)
aug = iaa.Multiply(1.2)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(image_aug == int(1.2 * int(center_value)))
if np.dtype(dtype).kind == "u":
image = np.full((3, 3), int(center_value), dtype=dtype)
aug = iaa.Multiply(100)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(image_aug == max_value)
image = np.full((3, 3), max_value, dtype=dtype)
aug = iaa.Multiply(1)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(image_aug == max_value)
# non-uint8 currently don't increase the itemsize
if dtype.name == "uint8":
image = np.full((3, 3), max_value, dtype=dtype)
aug = iaa.Multiply(10)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(image_aug == max_value)
image = np.full((3, 3), max_value, dtype=dtype)
aug = iaa.Multiply(0)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(image_aug == 0)
# non-uint8 currently don't increase the itemsize
if dtype.name == "uint8":
image = np.full((3, 3), max_value, dtype=dtype)
aug = iaa.Multiply(-2)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(image_aug == min_value)
# non-uint8 currently don't increase the itemsize
if dtype.name == "uint8":
for _ in sm.xrange(10):
image = np.full((1, 1, 3), 10, dtype=dtype)
aug = iaa.Multiply(iap.Uniform(0.5, 1.5))
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(np.logical_and(5 <= image_aug, image_aug <= 15))
assert len(np.unique(image_aug)) == 1
image = np.full((1, 1, 100), 10, dtype=dtype)
aug = iaa.Multiply(iap.Uniform(0.5, 1.5), per_channel=True)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(np.logical_and(5 <= image_aug, image_aug <= 15))
assert len(np.unique(image_aug)) > 1
image = np.full((1, 1, 3), 10, dtype=dtype)
aug = iaa.Multiply(iap.DiscreteUniform(1, 3))
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(np.logical_and(10 <= image_aug, image_aug <= 30))
assert len(np.unique(image_aug)) == 1
image = np.full((1, 1, 100), 10, dtype=dtype)
aug = iaa.Multiply(iap.DiscreteUniform(1, 3), per_channel=True)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(np.logical_and(10 <= image_aug, image_aug <= 30))
assert len(np.unique(image_aug)) > 1
def test_other_dtypes_float(self):
# float
for dtype in [np.float16, np.float32]:
min_value, center_value, max_value = iadt.get_value_range_of_dtype(dtype)
if dtype == np.float16:
atol = 1e-3 * max_value
else:
atol = 1e-9 * max_value
_allclose = functools.partial(np.allclose, atol=atol, rtol=0)
image = np.full((3, 3), 10.0, dtype=dtype)
aug = iaa.Multiply(1.0)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert _allclose(image_aug, 10.0)
image = np.full((3, 3), 10.0, dtype=dtype)
aug = iaa.Multiply(2.0)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert _allclose(image_aug, 20.0)
# deactivated, because itemsize increase was deactivated
# image = np.full((3, 3), max_value, dtype=dtype)
# aug = iaa.Multiply(-10)
# image_aug = aug.augment_image(image)
# assert image_aug.dtype.type == dtype
# assert _allclose(image_aug, min_value)
image = np.full((3, 3), max_value, dtype=dtype)
aug = iaa.Multiply(0.0)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert _allclose(image_aug, 0.0)
image = np.full((3, 3), max_value, dtype=dtype)
aug = iaa.Multiply(0.5)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert _allclose(image_aug, 0.5*max_value)
# deactivated, because itemsize increase was deactivated
# image = np.full((3, 3), min_value, dtype=dtype)
# aug = iaa.Multiply(-2.0)
# image_aug = aug.augment_image(image)
# assert image_aug.dtype.type == dtype
# assert _allclose(image_aug, max_value)
image = np.full((3, 3), min_value, dtype=dtype)
aug = iaa.Multiply(0.0)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert _allclose(image_aug, 0.0)
# using tolerances of -100 - 1e-2 and 100 + 1e-2 is not enough for float16, had to be increased to -/+ 1e-1
# deactivated, because itemsize increase was deactivated
"""
for _ in sm.xrange(10):
image = np.full((1, 1, 3), 10.0, dtype=dtype)
aug = iaa.Multiply(iap.Uniform(-10, 10))
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(np.logical_and(-100 - 1e-1 < image_aug, image_aug < 100 + 1e-1))
assert np.allclose(image_aug[1:, :, 0], image_aug[:-1, :, 0])
assert np.allclose(image_aug[..., 0], image_aug[..., 1])
image = np.full((1, 1, 100), 10.0, dtype=dtype)
aug = iaa.Multiply(iap.Uniform(-10, 10), per_channel=True)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(np.logical_and(-100 - 1e-1 < image_aug, image_aug < 100 + 1e-1))
assert not np.allclose(image_aug[:, :, 1:], image_aug[:, :, :-1])
image = np.full((1, 1, 3), 10.0, dtype=dtype)
aug = iaa.Multiply(iap.DiscreteUniform(-10, 10))
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(np.logical_and(-100 - 1e-1 < image_aug, image_aug < 100 + 1e-1))
assert np.allclose(image_aug[1:, :, 0], image_aug[:-1, :, 0])
assert np.allclose(image_aug[..., 0], image_aug[..., 1])
image = np.full((1, 1, 100), 10.0, dtype=dtype)
aug = iaa.Multiply(iap.DiscreteUniform(-10, 10), per_channel=True)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(np.logical_and(-100 - 1e-1 < image_aug, image_aug < 100 + 1e-1))
assert not np.allclose(image_aug[:, :, 1:], image_aug[:, :, :-1])
"""
def test_pickleable(self):
aug = iaa.Multiply((0.5, 1.5), per_channel=True, seed=1)
runtest_pickleable_uint8_img(aug, iterations=20)
class TestMultiplyElementwise(unittest.TestCase):
def setUp(self):
reseed()
def test_mul_is_one(self):
# no multiply, shouldnt change anything
base_img = np.ones((3, 3, 1), dtype=np.uint8) * 100
images = np.array([base_img])
images_list = [base_img]
aug = iaa.MultiplyElementwise(mul=1.0)
aug_det = aug.to_deterministic()
observed = aug.augment_images(images)
expected = images
assert np.array_equal(observed, expected)
assert observed.shape == (1, 3, 3, 1)
observed = aug.augment_images(images_list)
expected = images_list
assert array_equal_lists(observed, expected)
observed = aug_det.augment_images(images)
expected = images
assert np.array_equal(observed, expected)
observed = aug_det.augment_images(images_list)
expected = images_list
assert array_equal_lists(observed, expected)
def test_mul_is_above_one(self):
# multiply >1.0
base_img = np.ones((3, 3, 1), dtype=np.uint8) * 100
images = np.array([base_img])
images_list = [base_img]
aug = iaa.MultiplyElementwise(mul=1.2)
aug_det = aug.to_deterministic()
observed = aug.augment_images(images)
expected = np.ones((1, 3, 3, 1), dtype=np.uint8) * 120
assert np.array_equal(observed, expected)
assert observed.shape == (1, 3, 3, 1)
observed = aug.augment_images(images_list)
expected = [np.ones((3, 3, 1), dtype=np.uint8) * 120]
assert array_equal_lists(observed, expected)
observed = aug_det.augment_images(images)
expected = np.ones((1, 3, 3, 1), dtype=np.uint8) * 120
assert np.array_equal(observed, expected)
observed = aug_det.augment_images(images_list)
expected = [np.ones((3, 3, 1), dtype=np.uint8) * 120]
assert array_equal_lists(observed, expected)
def test_mul_is_below_one(self):
# multiply <1.0
base_img = np.ones((3, 3, 1), dtype=np.uint8) * 100
images = np.array([base_img])
images_list = [base_img]
aug = iaa.MultiplyElementwise(mul=0.8)
aug_det = aug.to_deterministic()
observed = aug.augment_images(images)
expected = np.ones((1, 3, 3, 1), dtype=np.uint8) * 80
assert np.array_equal(observed, expected)
assert observed.shape == (1, 3, 3, 1)
observed = aug.augment_images(images_list)
expected = [np.ones((3, 3, 1), dtype=np.uint8) * 80]
assert array_equal_lists(observed, expected)
observed = aug_det.augment_images(images)
expected = np.ones((1, 3, 3, 1), dtype=np.uint8) * 80
assert np.array_equal(observed, expected)
observed = aug_det.augment_images(images_list)
expected = [np.ones((3, 3, 1), dtype=np.uint8) * 80]
assert array_equal_lists(observed, expected)
def test_keypoints_dont_change(self):
# keypoints shouldnt be changed
base_img = np.ones((3, 3, 1), dtype=np.uint8) * 100
keypoints = [ia.KeypointsOnImage([ia.Keypoint(x=0, y=0), ia.Keypoint(x=1, y=1),
ia.Keypoint(x=2, y=2)], shape=base_img.shape)]
aug = iaa.MultiplyElementwise(mul=1.2)
aug_det = iaa.Multiply(mul=1.2).to_deterministic()
observed = aug.augment_keypoints(keypoints)
expected = keypoints
assert keypoints_equal(observed, expected)
observed = aug_det.augment_keypoints(keypoints)
expected = keypoints
assert keypoints_equal(observed, expected)
def test_tuple_as_mul(self):
# varying multiply factors
base_img = np.ones((3, 3, 1), dtype=np.uint8) * 100
images = np.array([base_img])
aug = iaa.MultiplyElementwise(mul=(0, 2.0))
aug_det = aug.to_deterministic()
last_aug = None
last_aug_det = None
nb_changed_aug = 0
nb_changed_aug_det = 0
nb_iterations = 1000
for i in sm.xrange(nb_iterations):
observed_aug = aug.augment_images(images)
observed_aug_det = aug_det.augment_images(images)
if i == 0:
last_aug = observed_aug
last_aug_det = observed_aug_det
else:
if not np.array_equal(observed_aug, last_aug):
nb_changed_aug += 1
if not np.array_equal(observed_aug_det, last_aug_det):
nb_changed_aug_det += 1
last_aug = observed_aug
last_aug_det = observed_aug_det
assert nb_changed_aug >= int(nb_iterations * 0.95)
assert nb_changed_aug_det == 0
def test_samples_change_by_spatial_location(self):
# values should change between pixels
base_img = np.ones((3, 3, 1), dtype=np.uint8) * 100
images = np.array([base_img])
aug = iaa.MultiplyElementwise(mul=(0.5, 1.5))
nb_same = 0
nb_different = 0
nb_iterations = 1000
for i in sm.xrange(nb_iterations):
observed_aug = aug.augment_images(images)
observed_aug_flat = observed_aug.flatten()
last = None
for j in sm.xrange(observed_aug_flat.size):
if last is not None:
v = observed_aug_flat[j]
if v - 0.0001 <= last <= v + 0.0001:
nb_same += 1
else:
nb_different += 1
last = observed_aug_flat[j]
assert nb_different > 0.95 * (nb_different + nb_same)
def test_per_channel(self):
# test channelwise
aug = iaa.MultiplyElementwise(mul=iap.Choice([0, 1]), per_channel=True)
observed = aug.augment_image(np.ones((100, 100, 3), dtype=np.uint8))
sums = np.sum(observed, axis=2)
values = np.unique(sums)
assert all([(value in values) for value in [0, 1, 2, 3]])
assert observed.shape == (100, 100, 3)
def test_per_channel_with_probability(self):
# test channelwise with probability
aug = iaa.MultiplyElementwise(mul=iap.Choice([0, 1]), per_channel=0.5)
seen = [0, 0]
for _ in sm.xrange(400):
observed = aug.augment_image(np.ones((20, 20, 3), dtype=np.uint8))
assert observed.shape == (20, 20, 3)
sums = np.sum(observed, axis=2)
values = np.unique(sums)
all_values_found = all([(value in values) for value in [0, 1, 2, 3]])
if all_values_found:
seen[0] += 1
else:
seen[1] += 1
assert 150 < seen[0] < 250
assert 150 < seen[1] < 250
def test___init___bad_datatypes(self):
# test exceptions for wrong parameter types
got_exception = False
try:
_aug = iaa.MultiplyElementwise(mul="test")
except Exception:
got_exception = True
assert got_exception
got_exception = False
try:
_aug = iaa.MultiplyElementwise(mul=1, per_channel="test")
except Exception:
got_exception = True
assert got_exception
def test_zero_sized_axes(self):
shapes = [
(0, 0),
(0, 1),
(1, 0),
(0, 1, 0),
(1, 0, 0),
(0, 1, 1),
(1, 0, 1)
]
for shape in shapes:
with self.subTest(shape=shape):
image = np.ones(shape, dtype=np.uint8)
aug = iaa.MultiplyElementwise(2)
image_aug = aug(image=image)
assert np.all(image_aug == 2)
assert image_aug.dtype.name == "uint8"
assert image_aug.shape == image.shape
def test_unusual_channel_numbers(self):
shapes = [
(1, 1, 4),
(1, 1, 5),
(1, 1, 512),
(1, 1, 513)
]
for shape in shapes:
with self.subTest(shape=shape):
image = np.ones(shape, dtype=np.uint8)
aug = iaa.MultiplyElementwise(2)
image_aug = aug(image=image)
assert np.all(image_aug == 2)
assert image_aug.dtype.name == "uint8"
assert image_aug.shape == image.shape
def test_get_parameters(self):
# test get_parameters()
aug = iaa.MultiplyElementwise(mul=1, per_channel=False)
params = aug.get_parameters()
assert isinstance(params[0], iap.Deterministic)
assert isinstance(params[1], iap.Deterministic)
assert params[0].value == 1
assert params[1].value == 0
def test_heatmaps_dont_change(self):
# test heatmaps (not affected by augmenter)
aug = iaa.MultiplyElementwise(mul=2)
hm = ia.quokka_heatmap()
hm_aug = aug.augment_heatmaps([hm])[0]
assert np.allclose(hm.arr_0to1, hm_aug.arr_0to1)
def test_other_dtypes_bool(self):
# bool
image = np.zeros((3, 3), dtype=bool)
aug = iaa.MultiplyElementwise(1.0)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == np.bool_
assert np.all(image_aug == 0)
image = np.full((3, 3), True, dtype=bool)
aug = iaa.MultiplyElementwise(1.0)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == np.bool_
assert np.all(image_aug == 1)
image = np.full((3, 3), True, dtype=bool)
aug = iaa.MultiplyElementwise(2.0)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == np.bool_
assert np.all(image_aug == 1)
image = np.full((3, 3), True, dtype=bool)
aug = iaa.MultiplyElementwise(0.0)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == np.bool_
assert np.all(image_aug == 0)
image = np.full((3, 3), True, dtype=bool)
aug = iaa.MultiplyElementwise(-1.0)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == np.bool_
assert np.all(image_aug == 0)
def test_other_dtypes_uint_int(self):
# uint, int
for dtype in [np.uint8, np.uint16, np.int8, np.int16]:
dtype = np.dtype(dtype)
min_value, center_value, max_value = iadt.get_value_range_of_dtype(dtype)
image = np.full((3, 3), 10, dtype=dtype)
aug = iaa.MultiplyElementwise(1)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(image_aug == 10)
# deactivated, because itemsize increase was deactivated
# image = np.full((3, 3), 10, dtype=dtype)
# aug = iaa.MultiplyElementwise(10)
# image_aug = aug.augment_image(image)
# assert image_aug.dtype.type == dtype
# assert np.all(image_aug == 100)
image = np.full((3, 3), 10, dtype=dtype)
aug = iaa.MultiplyElementwise(0.5)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(image_aug == 5)
image = np.full((3, 3), 0, dtype=dtype)
aug = iaa.MultiplyElementwise(0)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(image_aug == 0)
# partially deactivated, because itemsize increase was deactivated
if dtype.name == "uint8":
if dtype.kind == "u":
image = np.full((3, 3), 10, dtype=dtype)
aug = iaa.MultiplyElementwise(-1)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(image_aug == 0)
else:
image = np.full((3, 3), 10, dtype=dtype)
aug = iaa.MultiplyElementwise(-1)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(image_aug == -10)
image = np.full((3, 3), int(center_value), dtype=dtype)
aug = iaa.MultiplyElementwise(1)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(image_aug == int(center_value))
# deactivated, because itemsize increase was deactivated
# image = np.full((3, 3), int(center_value), dtype=dtype)
# aug = iaa.MultiplyElementwise(1.2)
# image_aug = aug.augment_image(image)
# assert image_aug.dtype.type == dtype
# assert np.all(image_aug == int(1.2 * int(center_value)))
# deactivated, because itemsize increase was deactivated
if dtype.name == "uint8":
if dtype.kind == "u":
image = np.full((3, 3), int(center_value), dtype=dtype)
aug = iaa.MultiplyElementwise(100)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(image_aug == max_value)
image = np.full((3, 3), max_value, dtype=dtype)
aug = iaa.MultiplyElementwise(1)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(image_aug == max_value)
# deactivated, because itemsize increase was deactivated
# image = np.full((3, 3), max_value, dtype=dtype)
# aug = iaa.MultiplyElementwise(10)
# image_aug = aug.augment_image(image)
# assert image_aug.dtype.type == dtype
# assert np.all(image_aug == max_value)
image = np.full((3, 3), max_value, dtype=dtype)
aug = iaa.MultiplyElementwise(0)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(image_aug == 0)
# deactivated, because itemsize increase was deactivated
# image = np.full((3, 3), max_value, dtype=dtype)
# aug = iaa.MultiplyElementwise(-2)
# image_aug = aug.augment_image(image)
# assert image_aug.dtype.type == dtype
# assert np.all(image_aug == min_value)
# partially deactivated, because itemsize increase was deactivated
if dtype.name == "uint8":
for _ in sm.xrange(10):
image = np.full((5, 5, 3), 10, dtype=dtype)
aug = iaa.MultiplyElementwise(iap.Uniform(0.5, 1.5))
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(np.logical_and(5 <= image_aug, image_aug <= 15))
assert len(np.unique(image_aug)) > 1
assert np.all(image_aug[..., 0] == image_aug[..., 1])
image = np.full((1, 1, 100), 10, dtype=dtype)
aug = iaa.MultiplyElementwise(iap.Uniform(0.5, 1.5), per_channel=True)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(np.logical_and(5 <= image_aug, image_aug <= 15))
assert len(np.unique(image_aug)) > 1
image = np.full((5, 5, 3), 10, dtype=dtype)
aug = iaa.MultiplyElementwise(iap.DiscreteUniform(1, 3))
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(np.logical_and(10 <= image_aug, image_aug <= 30))
assert len(np.unique(image_aug)) > 1
assert np.all(image_aug[..., 0] == image_aug[..., 1])
image = np.full((1, 1, 100), 10, dtype=dtype)
aug = iaa.MultiplyElementwise(iap.DiscreteUniform(1, 3), per_channel=True)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(np.logical_and(10 <= image_aug, image_aug <= 30))
assert len(np.unique(image_aug)) > 1
def test_other_dtypes_float(self):
# float
for dtype in [np.float16, np.float32]:
dtype = np.dtype(dtype)
min_value, center_value, max_value = iadt.get_value_range_of_dtype(dtype)
if dtype == np.float16:
atol = 1e-3 * max_value
else:
atol = 1e-9 * max_value
_allclose = functools.partial(np.allclose, atol=atol, rtol=0)
image = np.full((3, 3), 10.0, dtype=dtype)
aug = iaa.MultiplyElementwise(1.0)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert _allclose(image_aug, 10.0)
# deactivated, because itemsize increase was deactivated
# image = np.full((3, 3), 10.0, dtype=dtype)
# aug = iaa.MultiplyElementwise(2.0)
# image_aug = aug.augment_image(image)
# assert image_aug.dtype.type == dtype
# assert _allclose(image_aug, 20.0)
# deactivated, because itemsize increase was deactivated
# image = np.full((3, 3), max_value, dtype=dtype)
# aug = iaa.MultiplyElementwise(-10)
# image_aug = aug.augment_image(image)
# assert image_aug.dtype.type == dtype
# assert _allclose(image_aug, min_value)
image = np.full((3, 3), max_value, dtype=dtype)
aug = iaa.MultiplyElementwise(0.0)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert _allclose(image_aug, 0.0)
image = np.full((3, 3), max_value, dtype=dtype)
aug = iaa.MultiplyElementwise(0.5)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert _allclose(image_aug, 0.5*max_value)
# deactivated, because itemsize increase was deactivated
# image = np.full((3, 3), min_value, dtype=dtype)
# aug = iaa.MultiplyElementwise(-2.0)
# image_aug = aug.augment_image(image)
# assert image_aug.dtype.type == dtype
# assert _allclose(image_aug, max_value)
image = np.full((3, 3), min_value, dtype=dtype)
aug = iaa.MultiplyElementwise(0.0)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert _allclose(image_aug, 0.0)
# using tolerances of -100 - 1e-2 and 100 + 1e-2 is not enough for float16, had to be increased to -/+ 1e-1
# deactivated, because itemsize increase was deactivated
"""
for _ in sm.xrange(10):
image = np.full((50, 1, 3), 10.0, dtype=dtype)
aug = iaa.MultiplyElementwise(iap.Uniform(-10, 10))
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(np.logical_and(-100 - 1e-1 < image_aug, image_aug < 100 + 1e-1))
assert not np.allclose(image_aug[1:, :, 0], image_aug[:-1, :, 0])
assert np.allclose(image_aug[..., 0], image_aug[..., 1])
image = np.full((1, 1, 100), 10.0, dtype=dtype)
aug = iaa.MultiplyElementwise(iap.Uniform(-10, 10), per_channel=True)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(np.logical_and(-100 - 1e-1 < image_aug, image_aug < 100 + 1e-1))
assert not np.allclose(image_aug[:, :, 1:], image_aug[:, :, :-1])
image = np.full((50, 1, 3), 10.0, dtype=dtype)
aug = iaa.MultiplyElementwise(iap.DiscreteUniform(-10, 10))
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(np.logical_and(-100 - 1e-1 < image_aug, image_aug < 100 + 1e-1))
assert not np.allclose(image_aug[1:, :, 0], image_aug[:-1, :, 0])
assert np.allclose(image_aug[..., 0], image_aug[..., 1])
image = np.full((1, 1, 100), 10, dtype=dtype)
aug = iaa.MultiplyElementwise(iap.DiscreteUniform(-10, 10), per_channel=True)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(np.logical_and(-100 - 1e-1 < image_aug, image_aug < 100 + 1e-1))
assert not np.allclose(image_aug[:, :, 1:], image_aug[:, :, :-1])
"""
def test_pickleable(self):
aug = iaa.MultiplyElementwise((0.5, 1.5), per_channel=True,
seed=1)
runtest_pickleable_uint8_img(aug, iterations=3)
class TestReplaceElementwise(unittest.TestCase):
def setUp(self):
reseed()
def test_mask_is_always_zero(self):
# no replace, shouldnt change anything
base_img = np.ones((3, 3, 1), dtype=np.uint8) + 99
images = np.array([base_img])
images_list = [base_img]
aug = iaa.ReplaceElementwise(mask=0, replacement=0)
aug_det = aug.to_deterministic()
observed = aug.augment_images(images)
expected = images
assert np.array_equal(observed, expected)
assert observed.shape == (1, 3, 3, 1)
observed = aug.augment_images(images_list)
expected = images_list
assert array_equal_lists(observed, expected)
observed = aug_det.augment_images(images)
expected = images
assert np.array_equal(observed, expected)
observed = aug_det.augment_images(images_list)
expected = images_list
assert array_equal_lists(observed, expected)
def test_mask_is_always_one(self):
# replace at 100 percent prob., should change everything
base_img = np.ones((3, 3, 1), dtype=np.uint8) + 99
images = np.array([base_img])
images_list = [base_img]
aug = iaa.ReplaceElementwise(mask=1, replacement=0)
aug_det = aug.to_deterministic()
observed = aug.augment_images(images)
expected = np.zeros((1, 3, 3, 1), dtype=np.uint8)
assert np.array_equal(observed, expected)
assert observed.shape == (1, 3, 3, 1)
observed = aug.augment_images(images_list)
expected = [np.zeros((3, 3, 1), dtype=np.uint8)]
assert array_equal_lists(observed, expected)
observed = aug_det.augment_images(images)
expected = np.zeros((1, 3, 3, 1), dtype=np.uint8)
assert np.array_equal(observed, expected)
observed = aug_det.augment_images(images_list)
expected = [np.zeros((3, 3, 1), dtype=np.uint8)]
assert array_equal_lists(observed, expected)
def test_mask_is_stochastic_parameter(self):
# replace half
aug = iaa.ReplaceElementwise(mask=iap.Binomial(p=0.5), replacement=0)
img = np.ones((100, 100, 1), dtype=np.uint8)
nb_iterations = 100
nb_diff_all = 0
for i in sm.xrange(nb_iterations):
observed = aug.augment_image(img)
nb_diff = np.sum(img != observed)
nb_diff_all += nb_diff
p = nb_diff_all / (nb_iterations * 100 * 100)
assert 0.45 <= p <= 0.55
def test_mask_is_list(self):
# mask is list
aug = iaa.ReplaceElementwise(mask=[0.2, 0.7], replacement=1)
img = np.zeros((20, 20, 1), dtype=np.uint8)
seen = [0, 0, 0]
for i in sm.xrange(400):
observed = aug.augment_image(img)
p = np.mean(observed)
if 0.1 < p < 0.3:
seen[0] += 1
elif 0.6 < p < 0.8:
seen[1] += 1
else:
seen[2] += 1
assert seen[2] <= 10
assert 150 < seen[0] < 250
assert 150 < seen[1] < 250
def test_keypoints_dont_change(self):
# keypoints shouldnt be changed
base_img = np.ones((3, 3, 1), dtype=np.uint8) + 99
keypoints = [ia.KeypointsOnImage([ia.Keypoint(x=0, y=0), ia.Keypoint(x=1, y=1),
ia.Keypoint(x=2, y=2)], shape=base_img.shape)]
aug = iaa.ReplaceElementwise(mask=iap.Binomial(p=0.5), replacement=0)
aug_det = iaa.ReplaceElementwise(mask=iap.Binomial(p=0.5), replacement=0).to_deterministic()
observed = aug.augment_keypoints(keypoints)
expected = keypoints
assert keypoints_equal(observed, expected)
observed = aug_det.augment_keypoints(keypoints)
expected = keypoints
assert keypoints_equal(observed, expected)
def test_replacement_is_stochastic_parameter(self):
# different replacements
aug = iaa.ReplaceElementwise(mask=1, replacement=iap.Choice([100, 200]))
img = np.zeros((1000, 1000, 1), dtype=np.uint8)
img100 = img + 100
img200 = img + 200
observed = aug.augment_image(img)
nb_diff_100 = np.sum(img100 != observed)
nb_diff_200 = np.sum(img200 != observed)
p100 = nb_diff_100 / (1000 * 1000)
p200 = nb_diff_200 / (1000 * 1000)
assert 0.45 <= p100 <= 0.55
assert 0.45 <= p200 <= 0.55
# test channelwise
aug = iaa.MultiplyElementwise(mul=iap.Choice([0, 1]), per_channel=True)
observed = aug.augment_image(np.ones((100, 100, 3), dtype=np.uint8))
sums = np.sum(observed, axis=2)
values = np.unique(sums)
assert all([(value in values) for value in [0, 1, 2, 3]])
def test_per_channel_with_probability(self):
# test channelwise with probability
aug = iaa.ReplaceElementwise(mask=iap.Choice([0, 1]), replacement=1, per_channel=0.5)
seen = [0, 0]
for _ in sm.xrange(400):
observed = aug.augment_image(np.zeros((20, 20, 3), dtype=np.uint8))
assert observed.shape == (20, 20, 3)
sums = np.sum(observed, axis=2)
values = np.unique(sums)
all_values_found = all([(value in values) for value in [0, 1, 2, 3]])
if all_values_found:
seen[0] += 1
else:
seen[1] += 1
assert 150 < seen[0] < 250
assert 150 < seen[1] < 250
def test___init___bad_datatypes(self):
# test exceptions for wrong parameter types
got_exception = False
try:
_aug = iaa.ReplaceElementwise(mask="test", replacement=1)
except Exception:
got_exception = True
assert got_exception
got_exception = False
try:
_aug = iaa.ReplaceElementwise(mask=1, replacement=1, per_channel="test")
except Exception:
got_exception = True
assert got_exception
def test_zero_sized_axes(self):
shapes = [
(0, 0),
(0, 1),
(1, 0),
(0, 1, 0),
(1, 0, 0),
(0, 1, 1),
(1, 0, 1)
]
for shape in shapes:
with self.subTest(shape=shape):
image = np.zeros(shape, dtype=np.uint8)
aug = iaa.ReplaceElementwise(1.0, 1)
image_aug = aug(image=image)
assert np.all(image_aug == 1)
assert image_aug.dtype.name == "uint8"
assert image_aug.shape == image.shape
def test_unusual_channel_numbers(self):
shapes = [
(1, 1, 4),
(1, 1, 5),
(1, 1, 512),
(1, 1, 513)
]
for shape in shapes:
with self.subTest(shape=shape):
image = np.zeros(shape, dtype=np.uint8)
aug = iaa.ReplaceElementwise(1.0, 1)
image_aug = aug(image=image)
assert np.all(image_aug == 1)
assert image_aug.dtype.name == "uint8"
assert image_aug.shape == image.shape
def test_get_parameters(self):
# test get_parameters()
aug = iaa.ReplaceElementwise(mask=0.5, replacement=2, per_channel=False)
params = aug.get_parameters()
assert isinstance(params[0], iap.Binomial)
assert isinstance(params[0].p, iap.Deterministic)
assert isinstance(params[1], iap.Deterministic)
assert isinstance(params[2], iap.Deterministic)
assert 0.5 - 1e-6 < params[0].p.value < 0.5 + 1e-6
assert params[1].value == 2
assert params[2].value == 0
def test_heatmaps_dont_change(self):
# test heatmaps (not affected by augmenter)
aug = iaa.ReplaceElementwise(mask=1, replacement=0.5)
hm = ia.quokka_heatmap()
hm_aug = aug.augment_heatmaps([hm])[0]
assert np.allclose(hm.arr_0to1, hm_aug.arr_0to1)
def test_other_dtypes_bool(self):
# bool
aug = iaa.ReplaceElementwise(mask=1, replacement=0)
image = np.full((3, 3), False, dtype=bool)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == np.bool_
assert np.all(image_aug == 0)
aug = iaa.ReplaceElementwise(mask=1, replacement=1)
image = np.full((3, 3), False, dtype=bool)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == np.bool_
assert np.all(image_aug == 1)
aug = iaa.ReplaceElementwise(mask=1, replacement=0)
image = np.full((3, 3), True, dtype=bool)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == np.bool_
assert np.all(image_aug == 0)
aug = iaa.ReplaceElementwise(mask=1, replacement=1)
image = np.full((3, 3), True, dtype=bool)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == np.bool_
assert np.all(image_aug == 1)
aug = iaa.ReplaceElementwise(mask=1, replacement=0.7)
image = np.full((3, 3), False, dtype=bool)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == np.bool_
assert np.all(image_aug == 1)
aug = iaa.ReplaceElementwise(mask=1, replacement=0.2)
image = np.full((3, 3), False, dtype=bool)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == np.bool_
assert np.all(image_aug == 0)
def test_other_dtypes_uint_int(self):
# uint, int
for dtype in [np.uint8, np.uint16, np.uint32, np.int8, np.int16, np.int32]:
dtype = np.dtype(dtype)
min_value, center_value, max_value = iadt.get_value_range_of_dtype(dtype)
aug = iaa.ReplaceElementwise(mask=1, replacement=1)
image = np.full((3, 3), 0, dtype=dtype)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(image_aug == 1)
aug = iaa.ReplaceElementwise(mask=1, replacement=2)
image = np.full((3, 3), 1, dtype=dtype)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(image_aug == 2)
# deterministic stochastic parameters are by default int32 for
# any integer value and hence cannot cover the full uint32 value
# range
if dtype.name != "uint32":
aug = iaa.ReplaceElementwise(mask=1, replacement=max_value)
image = np.full((3, 3), min_value, dtype=dtype)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(image_aug == max_value)
aug = iaa.ReplaceElementwise(mask=1, replacement=min_value)
image = np.full((3, 3), max_value, dtype=dtype)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(image_aug == min_value)
aug = iaa.ReplaceElementwise(mask=1, replacement=iap.Uniform(1.0, 10.0))
image = np.full((100, 1), 0, dtype=dtype)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(np.logical_and(1 <= image_aug, image_aug <= 10))
assert len(np.unique(image_aug)) > 1
aug = iaa.ReplaceElementwise(mask=1, replacement=iap.DiscreteUniform(1, 10))
image = np.full((100, 1), 0, dtype=dtype)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(np.logical_and(1 <= image_aug, image_aug <= 10))
assert len(np.unique(image_aug)) > 1
aug = iaa.ReplaceElementwise(mask=0.5, replacement=iap.DiscreteUniform(1, 10), per_channel=True)
image = np.full((1, 1, 100), 0, dtype=dtype)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(np.logical_and(0 <= image_aug, image_aug <= 10))
assert len(np.unique(image_aug)) > 2
def test_other_dtypes_float(self):
# float
for dtype in [np.float16, np.float32, np.float64]:
dtype = np.dtype(dtype)
min_value, center_value, max_value = iadt.get_value_range_of_dtype(dtype)
atol = 1e-3*max_value if dtype == np.float16 else 1e-9 * max_value
_allclose = functools.partial(np.allclose, atol=atol, rtol=0)
aug = iaa.ReplaceElementwise(mask=1, replacement=1.0)
image = np.full((3, 3), 0.0, dtype=dtype)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.allclose(image_aug, 1.0)
aug = iaa.ReplaceElementwise(mask=1, replacement=2.0)
image = np.full((3, 3), 1.0, dtype=dtype)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.allclose(image_aug, 2.0)
# deterministic stochastic parameters are by default float32 for
# any float value and hence cannot cover the full float64 value
# range
if dtype.name != "float64":
aug = iaa.ReplaceElementwise(mask=1, replacement=max_value)
image = np.full((3, 3), min_value, dtype=dtype)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert _allclose(image_aug, max_value)
aug = iaa.ReplaceElementwise(mask=1, replacement=min_value)
image = np.full((3, 3), max_value, dtype=dtype)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert _allclose(image_aug, min_value)
aug = iaa.ReplaceElementwise(mask=1, replacement=iap.Uniform(1.0, 10.0))
image = np.full((100, 1), 0, dtype=dtype)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(np.logical_and(1 <= image_aug, image_aug <= 10))
assert not np.allclose(image_aug[1:, :], image_aug[:-1, :], atol=0.01)
aug = iaa.ReplaceElementwise(mask=1, replacement=iap.DiscreteUniform(1, 10))
image = np.full((100, 1), 0, dtype=dtype)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(np.logical_and(1 <= image_aug, image_aug <= 10))
assert not np.allclose(image_aug[1:, :], image_aug[:-1, :], atol=0.01)
aug = iaa.ReplaceElementwise(mask=0.5, replacement=iap.DiscreteUniform(1, 10), per_channel=True)
image = np.full((1, 1, 100), 0, dtype=dtype)
image_aug = aug.augment_image(image)
assert image_aug.dtype.type == dtype
assert np.all(np.logical_and(0 <= image_aug, image_aug <= 10))
assert not np.allclose(image_aug[:, :, 1:], image_aug[:, :, :-1], atol=0.01)
def test_pickleable(self):
aug = iaa.ReplaceElementwise(mask=0.5, replacement=(0, 255),
per_channel=True, seed=1)
runtest_pickleable_uint8_img(aug, iterations=3)
# not more tests necessary here as SaltAndPepper is just a tiny wrapper around
# ReplaceElementwise
class TestSaltAndPepper(unittest.TestCase):
def setUp(self):
reseed()
def test_p_is_fifty_percent(self):
base_img = np.zeros((100, 100, 1), dtype=np.uint8) + 128
aug = iaa.SaltAndPepper(p=0.5)
observed = aug.augment_image(base_img)
p = np.mean(observed != 128)
assert 0.4 < p < 0.6
def test_p_is_one(self):
base_img = np.zeros((100, 100, 1), dtype=np.uint8) + 128
aug = iaa.SaltAndPepper(p=1.0)
observed = aug.augment_image(base_img)
nb_pepper = np.sum(observed < 40)
nb_salt = np.sum(observed > 255 - 40)
assert nb_pepper > 200
assert nb_salt > 200
def test_pickleable(self):
aug = iaa.SaltAndPepper(p=0.5, per_channel=True, seed=1)
runtest_pickleable_uint8_img(aug, iterations=3)
class TestCoarseSaltAndPepper(unittest.TestCase):
def setUp(self):
reseed()
def test_p_is_fifty_percent(self):
base_img = np.zeros((100, 100, 1), dtype=np.uint8) + 128
aug = iaa.CoarseSaltAndPepper(p=0.5, size_px=100)
observed = aug.augment_image(base_img)
p = np.mean(observed != 128)
assert 0.4 < p < 0.6
def test_size_px(self):
aug1 = iaa.CoarseSaltAndPepper(p=0.5, size_px=100)
aug2 = iaa.CoarseSaltAndPepper(p=0.5, size_px=10)
base_img = np.zeros((100, 100, 1), dtype=np.uint8) + 128
ps1 = []
ps2 = []
for _ in sm.xrange(100):
observed1 = aug1.augment_image(base_img)
observed2 = aug2.augment_image(base_img)
p1 = np.mean(observed1 != 128)
p2 = np.mean(observed2 != 128)
ps1.append(p1)
ps2.append(p2)
assert 0.4 < np.mean(ps2) < 0.6
assert np.std(ps1)*1.5 < np.std(ps2)
def test_p_is_list(self):
aug = iaa.CoarseSaltAndPepper(p=[0.2, 0.5], size_px=100)
base_img = np.zeros((100, 100, 1), dtype=np.uint8) + 128
seen = [0, 0, 0]
for _ in sm.xrange(200):
observed = aug.augment_image(base_img)
p = np.mean(observed != 128)
diff_020 = abs(0.2 - p)
diff_050 = abs(0.5 - p)
if diff_020 < 0.025:
seen[0] += 1
elif diff_050 < 0.025:
seen[1] += 1
else:
seen[2] += 1
assert seen[2] < 10
assert 75 < seen[0] < 125
assert 75 < seen[1] < 125
def test_p_is_tuple(self):
aug = iaa.CoarseSaltAndPepper(p=(0.0, 1.0), size_px=50)
base_img = np.zeros((50, 50, 1), dtype=np.uint8) + 128
ps = []
for _ in sm.xrange(200):
observed = aug.augment_image(base_img)
p = np.mean(observed != 128)
ps.append(p)
nb_bins = 5
hist, _ = np.histogram(ps, bins=nb_bins, range=(0.0, 1.0), density=False)
tolerance = 0.05
for nb_seen in hist:
density = nb_seen / len(ps)
assert density - tolerance < density < density + tolerance
def test___init___bad_datatypes(self):
# test exceptions for wrong parameter types
got_exception = False
try:
_ = iaa.CoarseSaltAndPepper(p="test", size_px=100)
except Exception:
got_exception = True
assert got_exception
got_exception = False
try:
_ = iaa.CoarseSaltAndPepper(p=0.5, size_px=None, size_percent=None)
except Exception:
got_exception = True
assert got_exception
def test_heatmaps_dont_change(self):
# test heatmaps (not affected by augmenter)
aug = iaa.CoarseSaltAndPepper(p=1.0, size_px=2)
hm = ia.quokka_heatmap()
hm_aug = aug.augment_heatmaps([hm])[0]
assert np.allclose(hm.arr_0to1, hm_aug.arr_0to1)
def test_pickleable(self):
aug = iaa.CoarseSaltAndPepper(p=0.5, size_px=(4, 15),
per_channel=True, seed=1)
runtest_pickleable_uint8_img(aug, iterations=20)
# not more tests necessary here as Salt is just a tiny wrapper around
# ReplaceElementwise
class TestSalt(unittest.TestCase):
def setUp(self):
reseed()
def test_p_is_fifty_percent(self):
base_img = np.zeros((100, 100, 1), dtype=np.uint8) + 128
aug = iaa.Salt(p=0.5)
observed = aug.augment_image(base_img)
p = np.mean(observed != 128)
assert 0.4 < p < 0.6
# Salt() occasionally replaces with 127, which probably should be the center-point here anyways
assert np.all(observed >= 127)
def test_p_is_one(self):
base_img = np.zeros((100, 100, 1), dtype=np.uint8) + 128
aug = iaa.Salt(p=1.0)
observed = aug.augment_image(base_img)
nb_pepper = np.sum(observed < 40)
nb_salt = np.sum(observed > 255 - 40)
assert nb_pepper == 0
assert nb_salt > 200
def test_pickleable(self):
aug = iaa.Salt(p=0.5, per_channel=True, seed=1)
runtest_pickleable_uint8_img(aug, iterations=3)
class TestCoarseSalt(unittest.TestCase):
def setUp(self):
reseed()
def test_p_is_fifty_percent(self):
base_img = np.zeros((100, 100, 1), dtype=np.uint8) + 128
aug = iaa.CoarseSalt(p=0.5, size_px=100)
observed = aug.augment_image(base_img)
p = np.mean(observed != 128)
assert 0.4 < p < 0.6
def test_size_px(self):
aug1 = iaa.CoarseSalt(p=0.5, size_px=100)
aug2 = iaa.CoarseSalt(p=0.5, size_px=10)
base_img = np.zeros((100, 100, 1), dtype=np.uint8) + 128
ps1 = []
ps2 = []
for _ in sm.xrange(100):
observed1 = aug1.augment_image(base_img)
observed2 = aug2.augment_image(base_img)
p1 = np.mean(observed1 != 128)
p2 = np.mean(observed2 != 128)
ps1.append(p1)
ps2.append(p2)
assert 0.4 < np.mean(ps2) < 0.6
assert np.std(ps1)*1.5 < np.std(ps2)
def test_p_is_list(self):
aug = iaa.CoarseSalt(p=[0.2, 0.5], size_px=100)
base_img = np.zeros((100, 100, 1), dtype=np.uint8) + 128
seen = [0, 0, 0]
for _ in sm.xrange(200):
observed = aug.augment_image(base_img)
p = np.mean(observed != 128)
diff_020 = abs(0.2 - p)
diff_050 = abs(0.5 - p)
if diff_020 < 0.025:
seen[0] += 1
elif diff_050 < 0.025:
seen[1] += 1
else:
seen[2] += 1
assert seen[2] < 10
assert 75 < seen[0] < 125
assert 75 < seen[1] < 125
def test_p_is_tuple(self):
aug = iaa.CoarseSalt(p=(0.0, 1.0), size_px=50)
base_img = np.zeros((50, 50, 1), dtype=np.uint8) + 128
ps = []
for _ in sm.xrange(200):
observed = aug.augment_image(base_img)
p = np.mean(observed != 128)
ps.append(p)
nb_bins = 5
hist, _ = np.histogram(ps, bins=nb_bins, range=(0.0, 1.0), density=False)
tolerance = 0.05
for nb_seen in hist:
density = nb_seen / len(ps)
assert density - tolerance < density < density + tolerance
def test___init___bad_datatypes(self):
# test exceptions for wrong parameter types
got_exception = False
try:
_ = iaa.CoarseSalt(p="test", size_px=100)
except Exception:
got_exception = True
assert got_exception
def test_size_px_or_size_percent_not_none(self):
got_exception = False
try:
_ = iaa.CoarseSalt(p=0.5, size_px=None, size_percent=None)
except Exception:
got_exception = True
assert got_exception
def test_heatmaps_dont_change(self):
# test heatmaps (not affected by augmenter)
aug = iaa.CoarseSalt(p=1.0, size_px=2)
hm = ia.quokka_heatmap()
hm_aug = aug.augment_heatmaps([hm])[0]
assert np.allclose(hm.arr_0to1, hm_aug.arr_0to1)
def test_pickleable(self):
aug = iaa.CoarseSalt(p=0.5, size_px=(4, 15),
per_channel=True, seed=1)
runtest_pickleable_uint8_img(aug, iterations=20)
# not more tests necessary here as Salt is just a tiny wrapper around
# ReplaceElementwise
class TestPepper(unittest.TestCase):
def setUp(self):
reseed()
def test_probability_is_fifty_percent(self):
base_img = np.zeros((100, 100, 1), dtype=np.uint8) + 128
aug = iaa.Pepper(p=0.5)
observed = aug.augment_image(base_img)
p = np.mean(observed != 128)
assert 0.4 < p < 0.6
assert np.all(observed <= 128)
def test_probability_is_one(self):
base_img = np.zeros((100, 100, 1), dtype=np.uint8) + 128
aug = iaa.Pepper(p=1.0)
observed = aug.augment_image(base_img)
nb_pepper = np.sum(observed < 40)
nb_salt = np.sum(observed > 255 - 40)
assert nb_pepper > 200
assert nb_salt == 0
def test_pickleable(self):
aug = iaa.Pepper(p=0.5, per_channel=True, seed=1)
runtest_pickleable_uint8_img(aug, iterations=3)
class TestCoarsePepper(unittest.TestCase):
def setUp(self):
reseed()
def test_p_is_fifty_percent(self):
base_img = np.zeros((100, 100, 1), dtype=np.uint8) + 128
aug = iaa.CoarsePepper(p=0.5, size_px=100)
observed = aug.augment_image(base_img)
p = np.mean(observed != 128)
assert 0.4 < p < 0.6
def test_size_px(self):
aug1 = iaa.CoarsePepper(p=0.5, size_px=100)
aug2 = iaa.CoarsePepper(p=0.5, size_px=10)
base_img = np.zeros((100, 100, 1), dtype=np.uint8) + 128
ps1 = []
ps2 = []
for _ in sm.xrange(100):
observed1 = aug1.augment_image(base_img)
observed2 = aug2.augment_image(base_img)
p1 = np.mean(observed1 != 128)
p2 = np.mean(observed2 != 128)
ps1.append(p1)
ps2.append(p2)
assert 0.4 < np.mean(ps2) < 0.6
assert np.std(ps1)*1.5 < np.std(ps2)
def test_p_is_list(self):
aug = iaa.CoarsePepper(p=[0.2, 0.5], size_px=100)
base_img = np.zeros((100, 100, 1), dtype=np.uint8) + 128
seen = [0, 0, 0]
for _ in sm.xrange(200):
observed = aug.augment_image(base_img)
p = np.mean(observed != 128)
diff_020 = abs(0.2 - p)
diff_050 = abs(0.5 - p)
if diff_020 < 0.025:
seen[0] += 1
elif diff_050 < 0.025:
seen[1] += 1
else:
seen[2] += 1
assert seen[2] < 10
assert 75 < seen[0] < 125
assert 75 < seen[1] < 125
def test_p_is_tuple(self):
aug = iaa.CoarsePepper(p=(0.0, 1.0), size_px=50)
base_img = np.zeros((50, 50, 1), dtype=np.uint8) + 128
ps = []
for _ in sm.xrange(200):
observed = aug.augment_image(base_img)
p = np.mean(observed != 128)
ps.append(p)
nb_bins = 5
hist, _ = np.histogram(ps, bins=nb_bins, range=(0.0, 1.0), density=False)
tolerance = 0.05
for nb_seen in hist:
density = nb_seen / len(ps)
assert density - tolerance < density < density + tolerance
def test___init___bad_datatypes(self):
# test exceptions for wrong parameter types
got_exception = False
try:
_ = iaa.CoarsePepper(p="test", size_px=100)
except Exception:
got_exception = True
assert got_exception
def test_size_px_or_size_percent_not_none(self):
got_exception = False
try:
_ = iaa.CoarsePepper(p=0.5, size_px=None, size_percent=None)
except Exception:
got_exception = True
assert got_exception
def test_heatmaps_dont_change(self):
# test heatmaps (not affected by augmenter)
aug = iaa.CoarsePepper(p=1.0, size_px=2)
hm = ia.quokka_heatmap()
hm_aug = aug.augment_heatmaps([hm])[0]
assert np.allclose(hm.arr_0to1, hm_aug.arr_0to1)
def test_pickleable(self):
aug = iaa.CoarsePepper(p=0.5, size_px=(4, 15),
per_channel=True, seed=1)
runtest_pickleable_uint8_img(aug, iterations=20)
class Test_invert(unittest.TestCase):
@mock.patch("imgaug.augmenters.arithmetic.invert_")
def test_mocked_defaults(self, mock_invert):
mock_invert.return_value = "foo"
arr = np.zeros((1,), dtype=np.uint8)
observed = iaa.invert(arr)
assert observed == "foo"
args = mock_invert.call_args_list[0]
assert np.array_equal(mock_invert.call_args_list[0][0][0], arr)
assert args[1]["min_value"] is None
assert args[1]["max_value"] is None
assert args[1]["threshold"] is None
assert args[1]["invert_above_threshold"] is True
@mock.patch("imgaug.augmenters.arithmetic.invert_")
def test_mocked(self, mock_invert):
mock_invert.return_value = "foo"
arr = np.zeros((1,), dtype=np.uint8)
observed = iaa.invert(arr, min_value=1, max_value=10, threshold=5,
invert_above_threshold=False)
assert observed == "foo"
args = mock_invert.call_args_list[0]
assert np.array_equal(mock_invert.call_args_list[0][0][0], arr)
assert args[1]["min_value"] == 1
assert args[1]["max_value"] == 10
assert args[1]["threshold"] == 5
assert args[1]["invert_above_threshold"] is False
def test_uint8(self):
values = np.array([0, 20, 45, 60, 128, 255], dtype=np.uint8)
expected = np.array([
255,
255-20,
255-45,
255-60,
255-128,
255-255
], dtype=np.uint8)
observed = iaa.invert(values)
assert np.array_equal(observed, expected)
assert observed is not values
# most parts of this function are tested via Invert
class Test_invert_(unittest.TestCase):
def test_arr_is_noncontiguous_uint8(self):
zeros = np.zeros((4, 4, 3), dtype=np.uint8)
max_vr_flipped = np.fliplr(np.copy(zeros + 255))
observed = iaa.invert_(max_vr_flipped)
expected = zeros
assert observed.dtype.name == "uint8"
assert np.array_equal(observed, expected)
def test_arr_is_view_uint8(self):
zeros = np.zeros((4, 4, 3), dtype=np.uint8)
max_vr_view = np.copy(zeros + 255)[:, :, [0, 2]]
observed = iaa.invert_(max_vr_view)
expected = zeros[:, :, [0, 2]]
assert observed.dtype.name == "uint8"
assert np.array_equal(observed, expected)
def test_uint(self):
dtypes = ["uint8", "uint16", "uint32", "uint64"]
for dt in dtypes:
with self.subTest(dtype=dt):
min_value, center_value, max_value = \
iadt.get_value_range_of_dtype(dt)
center_value = int(center_value)
values = np.array([0, 20, 45, 60, center_value, max_value],
dtype=dt)
expected = np.array([
max_value - 0,
max_value - 20,
max_value - 45,
max_value - 60,
max_value - center_value,
min_value
], dtype=dt)
observed = iaa.invert_(np.copy(values))
assert np.array_equal(observed, expected)
def test_uint_with_threshold_50_inv_above(self):
threshold = 50
dtypes = ["uint8", "uint16", "uint32", "uint64"]
for dt in dtypes:
with self.subTest(dtype=dt):
min_value, center_value, max_value = \
iadt.get_value_range_of_dtype(dt)
center_value = int(center_value)
values = np.array([0, 20, 45, 60, center_value, max_value],
dtype=dt)
expected = np.array([
0,
20,
45,
max_value - 60,
max_value - center_value,
min_value
], dtype=dt)
observed = iaa.invert_(np.copy(values),
threshold=threshold,
invert_above_threshold=True)
assert np.array_equal(observed, expected)
def test_uint_with_threshold_0_inv_above(self):
threshold = 0
dtypes = ["uint8", "uint16", "uint32", "uint64"]
for dt in dtypes:
with self.subTest(dtype=dt):
min_value, center_value, max_value = \
iadt.get_value_range_of_dtype(dt)
center_value = int(center_value)
values = np.array([0, 20, 45, 60, center_value, max_value],
dtype=dt)
expected = np.array([
max_value - 0,
max_value - 20,
max_value - 45,
max_value - 60,
max_value - center_value,
min_value
], dtype=dt)
observed = iaa.invert_(np.copy(values),
threshold=threshold,
invert_above_threshold=True)
assert np.array_equal(observed, expected)
def test_uint8_with_threshold_255_inv_above(self):
threshold = 255
dtypes = ["uint8"]
for dt in dtypes:
with self.subTest(dtype=dt):
min_value, center_value, max_value = \
iadt.get_value_range_of_dtype(dt)
center_value = int(center_value)
values = np.array([0, 20, 45, 60, center_value, max_value],
dtype=dt)
expected = np.array([
0,
20,
45,
60,
center_value,
min_value
], dtype=dt)
observed = iaa.invert_(np.copy(values),
threshold=threshold,
invert_above_threshold=True)
assert np.array_equal(observed, expected)
def test_uint8_with_threshold_256_inv_above(self):
threshold = 256
dtypes = ["uint8"]
for dt in dtypes:
with self.subTest(dtype=dt):
min_value, center_value, max_value = \
iadt.get_value_range_of_dtype(dt)
center_value = int(center_value)
values = np.array([0, 20, 45, 60, center_value, max_value],
dtype=dt)
expected = np.array([
0,
20,
45,
60,
center_value,
max_value
], dtype=dt)
observed = iaa.invert_(np.copy(values),
threshold=threshold,
invert_above_threshold=True)
assert np.array_equal(observed, expected)
def test_uint_with_threshold_50_inv_below(self):
threshold = 50
dtypes = ["uint8", "uint16", "uint32", "uint64"]
for dt in dtypes:
with self.subTest(dtype=dt):
min_value, center_value, max_value = \
iadt.get_value_range_of_dtype(dt)
center_value = int(center_value)
values = np.array([0, 20, 45, 60, center_value, max_value],
dtype=dt)
expected = np.array([
max_value - 0,
max_value - 20,
max_value - 45,
60,
center_value,
max_value
], dtype=dt)
observed = iaa.invert_(np.copy(values),
threshold=threshold,
invert_above_threshold=False)
assert np.array_equal(observed, expected)
def test_uint_with_threshold_50_inv_above_with_min_max(self):
threshold = 50
# uint64 does not support custom min/max, hence removed it here
dtypes = ["uint8", "uint16", "uint32"]
for dt in dtypes:
with self.subTest(dtype=dt):
min_value, center_value, max_value = \
iadt.get_value_range_of_dtype(dt)
center_value = int(center_value)
values = np.array([0, 20, 45, 60, center_value, max_value],
dtype=dt)
expected = np.array([
0, # not clipped to 10 as only >thresh affected
20,
45,
100 - 50,
100 - 90,
100 - 90
], dtype=dt)
observed = iaa.invert_(np.copy(values),
min_value=10,
max_value=100,
threshold=threshold,
invert_above_threshold=True)
assert np.array_equal(observed, expected)
def test_int_with_threshold_50_inv_above(self):
threshold = 50
dtypes = ["int8", "int16", "int32", "int64"]
for dt in dtypes:
with self.subTest(dtype=dt):
min_value, center_value, max_value = \
iadt.get_value_range_of_dtype(dt)
center_value = int(center_value)
values = np.array([-45, -20, center_value, 20, 45, max_value],
dtype=dt)
expected = np.array([
-45,
-20,
center_value,
20,
45,
min_value
], dtype=dt)
observed = iaa.invert_(np.copy(values),
threshold=threshold,
invert_above_threshold=True)
assert np.array_equal(observed, expected)
def test_int_with_threshold_50_inv_below(self):
threshold = 50
dtypes = ["int8", "int16", "int32", "int64"]
for dt in dtypes:
with self.subTest(dtype=dt):
min_value, center_value, max_value = \
iadt.get_value_range_of_dtype(dt)
center_value = int(center_value)
values = np.array([-45, -20, center_value, 20, 45, max_value],
dtype=dt)
expected = np.array([
(-1) * (-45) - 1,
(-1) * (-20) - 1,
(-1) * center_value - 1,
(-1) * 20 - 1,
(-1) * 45 - 1,
max_value
], dtype=dt)
observed = iaa.invert_(np.copy(values),
threshold=threshold,
invert_above_threshold=False)
assert np.array_equal(observed, expected)
def test_float_with_threshold_50_inv_above(self):
threshold = 50
dtypes = ["float16", "float32", "float64", "float128"]
for dt in dtypes:
with self.subTest(dtype=dt):
min_value, center_value, max_value = \
iadt.get_value_range_of_dtype(dt)
center_value = center_value
values = np.array([-45.5, -20.5, center_value, 20.5, 45.5,
max_value],
dtype=dt)
expected = np.array([
-45.5,
-20.5,
center_value,
20.5,
45.5,
min_value
], dtype=dt)
observed = iaa.invert_(np.copy(values),
threshold=threshold,
invert_above_threshold=True)
assert np.allclose(observed, expected, rtol=0, atol=1e-4)
def test_float_with_threshold_50_inv_below(self):
threshold = 50
dtypes = ["float16", "float32", "float64", "float128"]
for dt in dtypes:
with self.subTest(dtype=dt):
min_value, center_value, max_value = \
iadt.get_value_range_of_dtype(dt)
center_value = center_value
values = np.array([-45.5, -20.5, center_value, 20.5, 45.5,
max_value],
dtype=dt)
expected = np.array([
(-1) * (-45.5),
(-1) * (-20.5),
(-1) * center_value,
(-1) * 20.5,
(-1) * 45.5,
max_value
], dtype=dt)
observed = iaa.invert_(np.copy(values),
threshold=threshold,
invert_above_threshold=False)
assert np.allclose(observed, expected, rtol=0, atol=1e-4)
class Test_solarize(unittest.TestCase):
@mock.patch("imgaug.augmenters.arithmetic.solarize_")
def test_mocked_defaults(self, mock_sol):
arr = np.zeros((1,), dtype=np.uint8)
mock_sol.return_value = "foo"
observed = iaa.solarize(arr)
args = mock_sol.call_args_list[0][0]
kwargs = mock_sol.call_args_list[0][1]
assert args[0] is not arr
assert np.array_equal(args[0], arr)
assert kwargs["threshold"] == 128
assert observed == "foo"
@mock.patch("imgaug.augmenters.arithmetic.solarize_")
def test_mocked(self, mock_sol):
arr = np.zeros((1,), dtype=np.uint8)
mock_sol.return_value = "foo"
observed = iaa.solarize(arr, threshold=5)
args = mock_sol.call_args_list[0][0]
kwargs = mock_sol.call_args_list[0][1]
assert args[0] is not arr
assert np.array_equal(args[0], arr)
assert kwargs["threshold"] == 5
assert observed == "foo"
def test_uint8(self):
arr = np.array([0, 10, 50, 150, 200, 255], dtype=np.uint8)
arr = arr.reshape((2, 3, 1))
observed = iaa.solarize(arr)
expected = np.array([0, 10, 50, 255-150, 255-200, 255-255],
dtype=np.uint8).reshape((2, 3, 1))
assert observed.dtype.name == "uint8"
assert np.array_equal(observed, expected)
class Test_solarize_(unittest.TestCase):
@mock.patch("imgaug.augmenters.arithmetic.invert_")
def test_mocked_defaults(self, mock_sol):
arr = np.zeros((1,), dtype=np.uint8)
mock_sol.return_value = "foo"
observed = iaa.solarize_(arr)
args = mock_sol.call_args_list[0][0]
kwargs = mock_sol.call_args_list[0][1]
assert args[0] is arr
assert kwargs["threshold"] == 128
assert observed == "foo"
@mock.patch("imgaug.augmenters.arithmetic.invert_")
def test_mocked(self, mock_sol):
arr = np.zeros((1,), dtype=np.uint8)
mock_sol.return_value = "foo"
observed = iaa.solarize_(arr, threshold=5)
args = mock_sol.call_args_list[0][0]
kwargs = mock_sol.call_args_list[0][1]
assert args[0] is arr
assert kwargs["threshold"] == 5
assert observed == "foo"
class TestInvert(unittest.TestCase):
def setUp(self):
reseed()
def test_p_is_one(self):
zeros = np.zeros((4, 4, 3), dtype=np.uint8)
observed = iaa.Invert(p=1.0).augment_image(zeros + 255)
expected = zeros
assert observed.dtype.name == "uint8"
assert np.array_equal(observed, expected)
def test_p_is_zero(self):
zeros = np.zeros((4, 4, 3), dtype=np.uint8)
observed = iaa.Invert(p=0.0).augment_image(zeros + 255)
expected = zeros + 255
assert observed.dtype.name == "uint8"
assert np.array_equal(observed, expected)
def test_max_value_set(self):
zeros = np.zeros((4, 4, 3), dtype=np.uint8)
observed = iaa.Invert(p=1.0, max_value=200).augment_image(zeros + 200)
expected = zeros
assert observed.dtype.name == "uint8"
assert np.array_equal(observed, expected)
def test_min_value_and_max_value_set(self):
zeros = np.zeros((4, 4, 3), dtype=np.uint8)
observed = iaa.Invert(p=1.0, max_value=200, min_value=100).augment_image(zeros + 200)
expected = zeros + 100
assert observed.dtype.name == "uint8"
assert np.array_equal(observed, expected)
observed = iaa.Invert(p=1.0, max_value=200, min_value=100).augment_image(zeros + 100)
expected = zeros + 200
assert observed.dtype.name == "uint8"
assert np.array_equal(observed, expected)
def test_min_value_and_max_value_set_with_float_image(self):
# with min/max and float inputs
zeros = np.zeros((4, 4, 3), dtype=np.uint8)
zeros_f32 = zeros.astype(np.float32)
observed = iaa.Invert(p=1.0, max_value=200, min_value=100).augment_image(zeros_f32 + 200)
expected = zeros_f32 + 100
assert observed.dtype.name == "float32"
assert np.array_equal(observed, expected)
observed = iaa.Invert(p=1.0, max_value=200, min_value=100).augment_image(zeros_f32 + 100)
expected = zeros_f32 + 200
assert observed.dtype.name == "float32"
assert np.array_equal(observed, expected)
def test_p_is_80_percent(self):
nb_iterations = 1000
nb_inverted = 0
aug = iaa.Invert(p=0.8)
img = np.zeros((1, 1, 1), dtype=np.uint8) + 255
expected = np.zeros((1, 1, 1), dtype=np.uint8)
for i in sm.xrange(nb_iterations):
observed = aug.augment_image(img)
if np.array_equal(observed, expected):
nb_inverted += 1
pinv = nb_inverted / nb_iterations
assert 0.75 <= pinv <= 0.85
nb_iterations = 1000
nb_inverted = 0
aug = iaa.Invert(p=iap.Binomial(0.8))
img = np.zeros((1, 1, 1), dtype=np.uint8) + 255
expected = np.zeros((1, 1, 1), dtype=np.uint8)
for i in sm.xrange(nb_iterations):
observed = aug.augment_image(img)
if np.array_equal(observed, expected):
nb_inverted += 1
pinv = nb_inverted / nb_iterations
assert 0.75 <= pinv <= 0.85
def test_per_channel(self):
aug = iaa.Invert(p=0.5, per_channel=True)
img = np.zeros((1, 1, 100), dtype=np.uint8) + 255
observed = aug.augment_image(img)
assert len(np.unique(observed)) == 2
# TODO split into two tests
def test_p_is_stochastic_parameter_per_channel_is_probability(self):
nb_iterations = 1000
aug = iaa.Invert(p=iap.Binomial(0.8), per_channel=0.7)
img = np.zeros((1, 1, 20), dtype=np.uint8) + 255
seen = [0, 0]
for i in sm.xrange(nb_iterations):
observed = aug.augment_image(img)
uq = np.unique(observed)
if len(uq) == 1:
seen[0] += 1
elif len(uq) == 2:
seen[1] += 1
else:
assert False
assert 300 - 75 < seen[0] < 300 + 75
assert 700 - 75 < seen[1] < 700 + 75
def test_threshold(self):
arr = np.array([0, 10, 50, 150, 200, 255], dtype=np.uint8)
arr = arr.reshape((2, 3, 1))
aug = iaa.Invert(p=1.0, threshold=128, invert_above_threshold=True)
observed = aug.augment_image(arr)
expected = np.array([0, 10, 50, 255-150, 255-200, 255-255],
dtype=np.uint8).reshape((2, 3, 1))
assert observed.dtype.name == "uint8"
assert np.array_equal(observed, expected)
def test_threshold_inv_below(self):
arr = np.array([0, 10, 50, 150, 200, 255], dtype=np.uint8)
arr = arr.reshape((2, 3, 1))
aug = iaa.Invert(p=1.0, threshold=128, invert_above_threshold=False)
observed = aug.augment_image(arr)
expected = np.array([255-0, 255-10, 255-50, 150, 200, 255],
dtype=np.uint8).reshape((2, 3, 1))
assert observed.dtype.name == "uint8"
assert np.array_equal(observed, expected)
def test_keypoints_dont_change(self):
# keypoints shouldnt be changed
zeros = np.zeros((4, 4, 3), dtype=np.uint8)
keypoints = [ia.KeypointsOnImage([ia.Keypoint(x=0, y=0), ia.Keypoint(x=1, y=1),
ia.Keypoint(x=2, y=2)], shape=zeros.shape)]
aug = iaa.Invert(p=1.0)
aug_det = iaa.Invert(p=1.0).to_deterministic()
observed = aug.augment_keypoints(keypoints)
expected = keypoints
assert keypoints_equal(observed, expected)
observed = aug_det.augment_keypoints(keypoints)
expected = keypoints
assert keypoints_equal(observed, expected)
def test___init___bad_datatypes(self):
# test exceptions for wrong parameter types
got_exception = False
try:
_ = iaa.Invert(p="test")
except Exception:
got_exception = True
assert got_exception
got_exception = False
try:
_ = iaa.Invert(p=0.5, per_channel="test")
except Exception:
got_exception = True
assert got_exception
def test_zero_sized_axes(self):
shapes = [
(0, 0),
(0, 1),
(1, 0),
(0, 1, 0),
(1, 0, 0),
(0, 1, 1),
(1, 0, 1)
]
for shape in shapes:
with self.subTest(shape=shape):
image = np.zeros(shape, dtype=np.uint8)
aug = iaa.Invert(1.0)
image_aug = aug(image=image)
assert np.all(image_aug == 255)
assert image_aug.dtype.name == "uint8"
assert image_aug.shape == image.shape
def test_unusual_channel_numbers(self):
shapes = [
(1, 1, 4),
(1, 1, 5),
(1, 1, 512),
(1, 1, 513)
]
for shape in shapes:
with self.subTest(shape=shape):
image = np.zeros(shape, dtype=np.uint8)
aug = iaa.Invert(1.0)
image_aug = aug(image=image)
assert np.all(image_aug == 255)
assert image_aug.dtype.name == "uint8"
assert image_aug.shape == image.shape
def test_get_parameters(self):
# test get_parameters()
aug = iaa.Invert(p=0.5, per_channel=False, min_value=10, max_value=20)
params = aug.get_parameters()
assert params[0] is aug.p
assert params[1] is aug.per_channel
assert params[2] == 10
assert params[3] == 20
assert params[4] is aug.threshold
assert params[5] is aug.invert_above_threshold
def test_heatmaps_dont_change(self):
# test heatmaps (not affected by augmenter)
aug = iaa.Invert(p=1.0)
hm = ia.quokka_heatmap()
hm_aug = aug.augment_heatmaps([hm])[0]
assert np.allclose(hm.arr_0to1, hm_aug.arr_0to1)
def test_other_dtypes_p_is_zero(self):
# with p=0.0
aug = iaa.Invert(p=0.0)
dtypes = [bool,
np.uint8, np.uint16, np.uint32, np.uint64,
np.int8, np.int16, np.int32, np.int64,
np.float16, np.float32, np.float64, np.float128]
for dtype in dtypes:
min_value, center_value, max_value = iadt.get_value_range_of_dtype(dtype)
kind = np.dtype(dtype).kind
image_min = np.full((3, 3), min_value, dtype=dtype)
if dtype is not bool:
image_center = np.full((3, 3), center_value if kind == "f" else int(center_value), dtype=dtype)
image_max = np.full((3, 3), max_value, dtype=dtype)
image_min_aug = aug.augment_image(image_min)
image_center_aug = None
if dtype is not bool:
image_center_aug = aug.augment_image(image_center)
image_max_aug = aug.augment_image(image_max)
assert image_min_aug.dtype == np.dtype(dtype)
if image_center_aug is not None:
assert image_center_aug.dtype == np.dtype(dtype)
assert image_max_aug.dtype == np.dtype(dtype)
if dtype is bool:
assert np.all(image_min_aug == image_min)
assert np.all(image_max_aug == image_max)
elif np.dtype(dtype).kind in ["i", "u"]:
assert np.array_equal(image_min_aug, image_min)
assert np.array_equal(image_center_aug, image_center)
assert np.array_equal(image_max_aug, image_max)
else:
assert np.allclose(image_min_aug, image_min)
assert np.allclose(image_center_aug, image_center)
assert np.allclose(image_max_aug, image_max)
def test_other_dtypes_p_is_one(self):
# with p=1.0
aug = iaa.Invert(p=1.0)
dtypes = [np.uint8, np.uint16, np.uint32, np.uint64,
np.int8, np.int16, np.int32, np.int64,
np.float16, np.float32, np.float64, np.float128]
for dtype in dtypes:
min_value, center_value, max_value = iadt.get_value_range_of_dtype(dtype)
kind = np.dtype(dtype).kind
image_min = np.full((3, 3), min_value, dtype=dtype)
if dtype is not bool:
image_center = np.full((3, 3), center_value if kind == "f" else int(center_value), dtype=dtype)
image_max = np.full((3, 3), max_value, dtype=dtype)
image_min_aug = aug.augment_image(image_min)
image_center_aug = None
if dtype is not bool:
image_center_aug = aug.augment_image(image_center)
image_max_aug = aug.augment_image(image_max)
assert image_min_aug.dtype == np.dtype(dtype)
if image_center_aug is not None:
assert image_center_aug.dtype == np.dtype(dtype)
assert image_max_aug.dtype == np.dtype(dtype)
if dtype is bool:
assert np.all(image_min_aug == image_max)
assert np.all(image_max_aug == image_min)
elif np.dtype(dtype).kind in ["i", "u"]:
assert np.array_equal(image_min_aug, image_max)
assert np.allclose(image_center_aug, image_center, atol=1.0+1e-4, rtol=0)
assert np.array_equal(image_max_aug, image_min)
else:
assert np.allclose(image_min_aug, image_max)
assert np.allclose(image_center_aug, image_center)
assert np.allclose(image_max_aug, image_min)
def test_other_dtypes_p_is_one_with_min_value(self):
# with p=1.0 and min_value
aug = iaa.Invert(p=1.0, min_value=1)
dtypes = [np.uint8, np.uint16, np.uint32,
np.int8, np.int16, np.int32,
np.float16, np.float32]
for dtype in dtypes:
_min_value, _center_value, max_value = iadt.get_value_range_of_dtype(dtype)
min_value = 1
kind = np.dtype(dtype).kind
center_value = min_value + 0.5 * (max_value - min_value)
image_min = np.full((3, 3), min_value, dtype=dtype)
if dtype is not bool:
image_center = np.full((3, 3), center_value if kind == "f" else int(center_value), dtype=dtype)
image_max = np.full((3, 3), max_value, dtype=dtype)
image_min_aug = aug.augment_image(image_min)
image_center_aug = None
if dtype is not bool:
image_center_aug = aug.augment_image(image_center)
image_max_aug = aug.augment_image(image_max)
assert image_min_aug.dtype == np.dtype(dtype)
if image_center_aug is not None:
assert image_center_aug.dtype == np.dtype(dtype)
assert image_max_aug.dtype == np.dtype(dtype)
if dtype is bool:
assert np.all(image_min_aug == 1)
assert np.all(image_max_aug == 1)
elif np.dtype(dtype).kind in ["i", "u"]:
assert np.array_equal(image_min_aug, image_max)
assert np.allclose(image_center_aug, image_center, atol=1.0+1e-4, rtol=0)
assert np.array_equal(image_max_aug, image_min)
else:
assert np.allclose(image_min_aug, image_max)
assert np.allclose(image_center_aug, image_center)
assert np.allclose(image_max_aug, image_min)
def test_other_dtypes_p_is_one_with_max_value(self):
# with p=1.0 and max_value
aug = iaa.Invert(p=1.0, max_value=16)
dtypes = [np.uint8, np.uint16, np.uint32,
np.int8, np.int16, np.int32,
np.float16, np.float32]
for dtype in dtypes:
min_value, _center_value, _max_value = iadt.get_value_range_of_dtype(dtype)
max_value = 16
kind = np.dtype(dtype).kind
center_value = min_value + 0.5 * (max_value - min_value)
image_min = np.full((3, 3), min_value, dtype=dtype)
if dtype is not bool:
image_center = np.full((3, 3), center_value if kind == "f" else int(center_value), dtype=dtype)
image_max = np.full((3, 3), max_value, dtype=dtype)
image_min_aug = aug.augment_image(image_min)
image_center_aug = None
if dtype is not bool:
image_center_aug = aug.augment_image(image_center)
image_max_aug = aug.augment_image(image_max)
assert image_min_aug.dtype == np.dtype(dtype)
if image_center_aug is not None:
assert image_center_aug.dtype == np.dtype(dtype)
assert image_max_aug.dtype == np.dtype(dtype)
if dtype is bool:
assert not np.any(image_min_aug == 1)
assert not np.any(image_max_aug == 1)
elif np.dtype(dtype).kind in ["i", "u"]:
assert np.array_equal(image_min_aug, image_max)
assert np.allclose(image_center_aug, image_center, atol=1.0+1e-4, rtol=0)
assert np.array_equal(image_max_aug, image_min)
else:
assert np.allclose(image_min_aug, image_max)
if dtype is np.float16:
# for float16, this is off by about 10
assert np.allclose(image_center_aug, image_center, atol=0.001*np.finfo(dtype).max)
else:
assert np.allclose(image_center_aug, image_center)
assert np.allclose(image_max_aug, image_min)
def test_pickleable(self):
aug = iaa.Invert(p=0.5, per_channel=True, seed=1)
runtest_pickleable_uint8_img(aug, iterations=20, shape=(2, 2, 5))
class TestSolarize(unittest.TestCase):
def test_p_is_one(self):
zeros = np.zeros((4, 4, 3), dtype=np.uint8)
observed = iaa.Solarize(p=1.0).augment_image(zeros)
expected = zeros
assert observed.dtype.name == "uint8"
assert np.array_equal(observed, expected)
def test_p_is_one_some_values_above_threshold(self):
arr = np.array([0, 99, 111, 200]).astype(np.uint8).reshape((2, 2, 1))
observed = iaa.Solarize(p=1.0, threshold=(100, 110))(image=arr)
expected = np.array([0, 99, 255-111, 255-200])\
.astype(np.uint8).reshape((2, 2, 1))
assert observed.dtype.name == "uint8"
assert np.array_equal(observed, expected)
def test_pickleable(self):
aug = iaa.pillike.Solarize(p=1.0, threshold=(100, 110))
runtest_pickleable_uint8_img(aug)
class TestContrastNormalization(unittest.TestCase):
@unittest.skipIf(sys.version_info[0] <= 2,
"Warning is not generated in 2.7 on travis, but locally "
"in 2.7 it is?!")
def test_deprecation_warning(self):
with warnings.catch_warnings(record=True) as caught_warnings:
warnings.simplefilter("always")
aug = arithmetic_lib.ContrastNormalization((0.9, 1.1))
assert isinstance(aug, contrast_lib._ContrastFuncWrapper)
assert len(caught_warnings) == 1
assert (
"deprecated"
in str(caught_warnings[-1].message)
)
# TODO use this in test_contrast.py or remove it?
"""
def deactivated_test_ContrastNormalization():
reseed()
zeros = np.zeros((4, 4, 3), dtype=np.uint8)
keypoints = [ia.KeypointsOnImage([ia.Keypoint(x=0, y=0), ia.Keypoint(x=1, y=1),
ia.Keypoint(x=2, y=2)], shape=zeros.shape)]
# contrast stays the same
observed = iaa.ContrastNormalization(alpha=1.0).augment_image(zeros + 50)
expected = zeros + 50
assert np.array_equal(observed, expected)
# image with mean intensity (ie 128), contrast cannot be changed
observed = iaa.ContrastNormalization(alpha=2.0).augment_image(zeros + 128)
expected = zeros + 128
assert np.array_equal(observed, expected)
# increase contrast
observed = iaa.ContrastNormalization(alpha=2.0).augment_image(zeros + 128 + 10)
expected = zeros + 128 + 20
assert np.array_equal(observed, expected)
observed = iaa.ContrastNormalization(alpha=2.0).augment_image(zeros + 128 - 10)
expected = zeros + 128 - 20
assert np.array_equal(observed, expected)
# decrease contrast
observed = iaa.ContrastNormalization(alpha=0.5).augment_image(zeros + 128 + 10)
expected = zeros + 128 + 5
assert np.array_equal(observed, expected)
observed = iaa.ContrastNormalization(alpha=0.5).augment_image(zeros + 128 - 10)
expected = zeros + 128 - 5
assert np.array_equal(observed, expected)
# increase contrast by stochastic parameter
observed = iaa.ContrastNormalization(alpha=iap.Choice([2.0, 3.0])).augment_image(zeros + 128 + 10)
expected1 = zeros + 128 + 20
expected2 = zeros + 128 + 30
assert np.array_equal(observed, expected1) or np.array_equal(observed, expected2)
# change contrast by tuple
nb_iterations = 1000
nb_changed = 0
last = None
for i in sm.xrange(nb_iterations):
observed = iaa.ContrastNormalization(alpha=(0.5, 2.0)).augment_image(zeros + 128 + 40)
if last is None:
last = observed
else:
if not np.array_equal(observed, last):
nb_changed += 1
p_changed = nb_changed / (nb_iterations-1)
assert p_changed > 0.5
# per_channel=True
aug = iaa.ContrastNormalization(alpha=(1.0, 6.0), per_channel=True)
img = np.zeros((1, 1, 100), dtype=np.uint8) + 128 + 10
observed = aug.augment_image(img)
uq = np.unique(observed)
assert len(uq) > 5
# per_channel with probability
aug = iaa.ContrastNormalization(alpha=(1.0, 4.0), per_channel=0.7)
img = np.zeros((1, 1, 100), dtype=np.uint8) + 128 + 10
seen = [0, 0]
for _ in sm.xrange(1000):
observed = aug.augment_image(img)
uq = np.unique(observed)
if len(uq) == 1:
seen[0] += 1
elif len(uq) >= 2:
seen[1] += 1
assert 300 - 75 < seen[0] < 300 + 75
assert 700 - 75 < seen[1] < 700 + 75
# keypoints shouldnt be changed
aug = iaa.ContrastNormalization(alpha=2.0)
aug_det = iaa.ContrastNormalization(alpha=2.0).to_deterministic()
observed = aug.augment_keypoints(keypoints)
expected = keypoints
assert keypoints_equal(observed, expected)
observed = aug_det.augment_keypoints(keypoints)
expected = keypoints
assert keypoints_equal(observed, expected)
# test exceptions for wrong parameter types
got_exception = False
try:
_ = iaa.ContrastNormalization(alpha="test")
except Exception:
got_exception = True
assert got_exception
got_exception = False
try:
_ = iaa.ContrastNormalization(alpha=1.5, per_channel="test")
except Exception:
got_exception = True
assert got_exception
# test get_parameters()
aug = iaa.ContrastNormalization(alpha=1, per_channel=False)
params = aug.get_parameters()
assert isinstance(params[0], iap.Deterministic)
assert isinstance(params[1], iap.Deterministic)
assert params[0].value == 1
assert params[1].value == 0
# test heatmaps (not affected by augmenter)
aug = iaa.ContrastNormalization(alpha=2)
hm = ia.quokka_heatmap()
hm_aug = aug.augment_heatmaps([hm])[0]
assert np.allclose(hm.arr_0to1, hm_aug.arr_0to1)
"""
class TestJpegCompression(unittest.TestCase):
def setUp(self):
reseed()
def test_compression_is_zero(self):
# basic test at 0 compression
img = ia.quokka(extract="square", size=(64, 64))
aug = iaa.JpegCompression(0)
img_aug = aug.augment_image(img)
diff = np.average(np.abs(img.astype(np.float32) - img_aug.astype(np.float32)))
assert diff < 1.0
def test_compression_is_90(self):
# basic test at 90 compression
img = ia.quokka(extract="square", size=(64, 64))
aug = iaa.JpegCompression(90)
img_aug = aug.augment_image(img)
diff = np.average(np.abs(img.astype(np.float32) - img_aug.astype(np.float32)))
assert 1.0 < diff < 50.0
def test___init__(self):
aug = iaa.JpegCompression([0, 100])
assert isinstance(aug.compression, iap.Choice)
assert len(aug.compression.a) == 2
assert aug.compression.a[0] == 0
assert aug.compression.a[1] == 100
def test_get_parameters(self):
aug = iaa.JpegCompression([0, 100])
assert len(aug.get_parameters()) == 1
assert aug.get_parameters()[0] == aug.compression
def test_compression_is_stochastic_parameter(self):
# test if stochastic parameters are used by augmentation
img = ia.quokka(extract="square", size=(64, 64))
class _TwoValueParam(iap.StochasticParameter):
def __init__(self, v1, v2):
super(_TwoValueParam, self).__init__()
self.v1 = v1
self.v2 = v2
def _draw_samples(self, size, random_state):
arr = np.full(size, self.v1, dtype=np.float32)
arr[1::2] = self.v2
return arr
param = _TwoValueParam(0, 100)
aug = iaa.JpegCompression(param)
img_aug_c0 = iaa.JpegCompression(0).augment_image(img)
img_aug_c100 = iaa.JpegCompression(100).augment_image(img)
imgs_aug = aug.augment_images([img] * 4)
assert np.array_equal(imgs_aug[0], img_aug_c0)
assert np.array_equal(imgs_aug[1], img_aug_c100)
assert np.array_equal(imgs_aug[2], img_aug_c0)
assert np.array_equal(imgs_aug[3], img_aug_c100)
def test_keypoints_dont_change(self):
# test keypoints (not affected by augmenter)
aug = iaa.JpegCompression(50)
kps = ia.quokka_keypoints()
kps_aug = aug.augment_keypoints([kps])[0]
for kp, kp_aug in zip(kps.keypoints, kps_aug.keypoints):
assert np.allclose([kp.x, kp.y], [kp_aug.x, kp_aug.y])
def test_heatmaps_dont_change(self):
# test heatmaps (not affected by augmenter)
aug = iaa.JpegCompression(50)
hm = ia.quokka_heatmap()
hm_aug = aug.augment_heatmaps([hm])[0]
assert np.allclose(hm.arr_0to1, hm_aug.arr_0to1)
def test_zero_sized_axes(self):
shapes = [
(0, 0, 3),
(0, 1, 3),
(1, 0, 3)
]
for shape in shapes:
with self.subTest(shape=shape):
image = np.zeros(shape, dtype=np.uint8)
aug = iaa.JpegCompression(100)
image_aug = aug(image=image)
assert image_aug.dtype.name == "uint8"
assert image_aug.shape == image.shape
def test_pickleable(self):
aug = iaa.JpegCompression((0, 100), seed=1)
runtest_pickleable_uint8_img(aug, iterations=20)
| 38.888532
| 119
| 0.549122
| 29,779
| 229,909
| 4.054031
| 0.023271
| 0.052019
| 0.025471
| 0.026755
| 0.904046
| 0.88642
| 0.869265
| 0.845376
| 0.831236
| 0.819358
| 0
| 0.060386
| 0.336616
| 229,909
| 5,911
| 120
| 38.895111
| 0.73116
| 0.037615
| 0
| 0.78584
| 0
| 0
| 0.009778
| 0.002253
| 0
| 0
| 0
| 0.000169
| 0.227133
| 1
| 0.069041
| false
| 0
| 0.004398
| 0
| 0.080695
| 0.00022
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
162ed3844064ab89c8fcee4aa122a22ead50f1d8
| 6,619
|
py
|
Python
|
speech_enhance/audio_zen/model/module/causal_conv.py
|
hit-thusz-RookieCJ/FullSubNet-plus
|
a6c89083cd083e729ca3def9a291743e8c3b516b
|
[
"Apache-2.0"
] | 41
|
2022-01-23T12:45:13.000Z
|
2022-03-31T03:04:26.000Z
|
speech_enhance/audio_zen/model/module/causal_conv.py
|
hit-thusz-RookieCJ/FullSubNet-plus
|
a6c89083cd083e729ca3def9a291743e8c3b516b
|
[
"Apache-2.0"
] | 5
|
2022-01-24T07:05:01.000Z
|
2022-03-29T12:58:07.000Z
|
speech_enhance/audio_zen/model/module/causal_conv.py
|
hit-thusz-RookieCJ/FullSubNet-plus
|
a6c89083cd083e729ca3def9a291743e8c3b516b
|
[
"Apache-2.0"
] | 10
|
2022-01-23T01:40:18.000Z
|
2022-03-29T12:11:11.000Z
|
import torch
import torch.nn as nn
class CausalConvBlock(nn.Module):
def __init__(self, in_channels, out_channels, encoder_activate_function, **kwargs):
super().__init__()
self.conv = nn.Conv2d(
in_channels=in_channels,
out_channels=out_channels,
kernel_size=(3, 2),
stride=(2, 1),
padding=(0, 1),
**kwargs # 这里不是左右 pad,而是上下 pad 为 0,左右分别 pad 1...
)
self.norm = nn.BatchNorm2d(out_channels)
self.activation = getattr(nn, encoder_activate_function)()
def forward(self, x):
"""
2D Causal convolution.
Args:
x: [B, C, F, T]
Returns:
[B, C, F, T]
"""
x = self.conv(x)
x = x[:, :, :, :-1] # chomp size
x = self.norm(x)
x = self.activation(x)
return x
class CausalTransConvBlock(nn.Module):
def __init__(self, in_channels, out_channels, is_last=False, output_padding=(0, 0)):
super().__init__()
self.conv = nn.ConvTranspose2d(
in_channels=in_channels,
out_channels=out_channels,
kernel_size=(3, 2),
stride=(2, 1),
output_padding=output_padding
)
self.norm = nn.BatchNorm2d(out_channels)
if is_last:
self.activation = nn.ReLU()
else:
self.activation = nn.ELU()
def forward(self, x):
"""
2D Causal convolution.
Args:
x: [B, C, F, T]
Returns:
[B, C, F, T]
"""
x = self.conv(x)
x = x[:, :, :, :-1] # chomp size
x = self.norm(x)
x = self.activation(x)
return x
class TCNBlock(nn.Module):
def __init__(self, in_channels=257, hidden_channel=512, out_channels=257, kernel_size=3, dilation=1,
use_skip_connection=True, causal=False):
super().__init__()
self.conv1x1 = nn.Conv1d(in_channels, hidden_channel, 1)
self.prelu1 = nn.PReLU()
self.norm1 = nn.GroupNorm(1, hidden_channel, eps=1e-8)
padding = (dilation * (kernel_size - 1)) // 2 if not causal else (
dilation * (kernel_size - 1))
self.depthwise_conv = nn.Conv1d(hidden_channel, hidden_channel, kernel_size=kernel_size, stride=1,
groups=hidden_channel, padding=padding, dilation=dilation)
self.prelu2 = nn.PReLU()
self.norm2 = nn.GroupNorm(1, hidden_channel, eps=1e-8)
self.sconv = nn.Conv1d(hidden_channel, out_channels, 1)
# self.tcn_block = nn.Sequential(
# nn.Conv1d(in_channels, hidden_channel, 1),
# nn.PReLU(),
# nn.GroupNorm(1, hidden_channel, eps=1e-8),
# nn.Conv1d(hidden_channel, hidden_channel, kernel_size=kernel_size, stride=1,
# groups=hidden_channel, padding=padding, dilation=dilation, bias=True),
# nn.PReLU(),
# nn.GroupNorm(1, hidden_channel, eps=1e-8),
# nn.Conv1d(hidden_channel, out_channels, 1)
# )
self.causal = causal
self.padding = padding
self.use_skip_connection = use_skip_connection
def forward(self, x):
"""
x: [channels, T]
"""
if self.use_skip_connection:
y = self.conv1x1(x)
y = self.norm1(self.prelu1(y))
y = self.depthwise_conv(y)
if self.causal:
y = y[:, :, :-self.padding]
y = self.norm2(self.prelu2(y))
output = self.sconv(y)
return x + output
else:
y = self.conv1x1(x)
y = self.norm1(self.prelu1(y))
y = self.depthwise_conv(y)
if self.causal:
y = y[:, :, :-self.padding]
y = self.norm2(self.prelu2(y))
output = self.sconv(y)
return output
class STCNBlock(nn.Module):
def __init__(self, in_channels=257, hidden_channel=512, out_channels=257, kernel_size=3, dilation=1,
use_skip_connection=True, causal=False):
super().__init__()
self.conv1x1 = nn.Conv1d(in_channels, hidden_channel, 1)
self.prelu1 = nn.PReLU()
self.norm1 = nn.GroupNorm(1, hidden_channel, eps=1e-8)
padding = (dilation * (kernel_size - 1)) // 2 if not causal else (
dilation * (kernel_size - 1))
self.depthwise_conv = nn.Conv1d(hidden_channel, hidden_channel, kernel_size=kernel_size, stride=1,
groups=hidden_channel, padding=padding, dilation=dilation)
self.prelu2 = nn.PReLU()
self.norm2 = nn.GroupNorm(1, hidden_channel, eps=1e-8)
self.sconv = nn.Conv1d(hidden_channel, out_channels, 1)
# self.tcn_block = nn.Sequential(
# nn.Conv1d(in_channels, hidden_channel, 1),
# nn.PReLU(),
# nn.GroupNorm(1, hidden_channel, eps=1e-8),
# nn.Conv1d(hidden_channel, hidden_channel, kernel_size=kernel_size, stride=1,
# groups=hidden_channel, padding=padding, dilation=dilation, bias=True),
# nn.PReLU(),
# nn.GroupNorm(1, hidden_channel, eps=1e-8),
# nn.Conv1d(hidden_channel, out_channels, 1)
# )
self.causal = causal
self.padding = padding
self.use_skip_connection = use_skip_connection
def forward(self, x):
"""
x: [channels, T]
"""
if self.use_skip_connection:
y = self.conv1x1(x)
y = self.norm1(self.prelu1(y))
y = self.depthwise_conv(y)
if self.causal:
y = y[:, :, :-self.padding]
y = self.norm2(self.prelu2(y))
output = self.sconv(y)
return x + output
else:
y = self.conv1x1(x)
y = self.norm1(self.prelu1(y))
y = self.depthwise_conv(y)
if self.causal:
y = y[:, :, :-self.padding]
y = self.norm2(self.prelu2(y))
output = self.sconv(y)
return output
if __name__ == '__main__':
a = torch.rand(2, 1, 19, 200)
l1 = CausalConvBlock(1, 20, kernel_size=(3, 2), stride=(2, 1), padding=(0, 1), )
l2 = CausalConvBlock(20, 40, kernel_size=(3, 2), stride=(1, 1), padding=1, )
l3 = CausalConvBlock(40, 40, kernel_size=(3, 2), stride=(2, 1), padding=(0, 1), )
l4 = CausalConvBlock(40, 40, kernel_size=(3, 2), stride=(1, 1), padding=1, )
print(l1(a).shape)
print(l4(l3(l2(l1(a)))).shape)
| 36.569061
| 106
| 0.545853
| 811
| 6,619
| 4.27127
| 0.12947
| 0.112587
| 0.025404
| 0.04157
| 0.877887
| 0.866917
| 0.848441
| 0.848441
| 0.838049
| 0.814954
| 0
| 0.041891
| 0.325578
| 6,619
| 180
| 107
| 36.772222
| 0.734095
| 0.164073
| 0
| 0.778689
| 0
| 0
| 0.001496
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.065574
| false
| 0
| 0.016393
| 0
| 0.163934
| 0.016393
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
16772e48f4cdf403e4d3607a540dacf0a5b8d241
| 165
|
py
|
Python
|
eagerx_interbotix/xseries/__init__.py
|
eager-dev/eagerx_interbotix
|
963ded1f69f6caae2d8f27a9fa53e734e683dd31
|
[
"Apache-2.0"
] | null | null | null |
eagerx_interbotix/xseries/__init__.py
|
eager-dev/eagerx_interbotix
|
963ded1f69f6caae2d8f27a9fa53e734e683dd31
|
[
"Apache-2.0"
] | 1
|
2022-03-29T14:40:56.000Z
|
2022-03-29T14:40:56.000Z
|
eagerx_interbotix/xseries/__init__.py
|
eager-dev/eagerx_interbotix
|
963ded1f69f6caae2d8f27a9fa53e734e683dd31
|
[
"Apache-2.0"
] | null | null | null |
import eagerx_interbotix.xseries.objects # noqa # pylint: disable=unused-import
import eagerx_interbotix.xseries.converters # noqa # pylint: disable=unused-import
| 55
| 83
| 0.818182
| 20
| 165
| 6.65
| 0.5
| 0.180451
| 0.330827
| 0.43609
| 0.43609
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.09697
| 165
| 2
| 84
| 82.5
| 0.892617
| 0.430303
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
168f6742deb9b5f4b5b7187f2fd2cb27bb58f71f
| 3,272
|
py
|
Python
|
easyPass-WS/misha/misha_command_line_interface.py
|
CiganOliviu/esential
|
9cb40e89e9c119c5ac4e6e54ab4b5fd657c91462
|
[
"MIT"
] | 4
|
2019-08-20T18:57:39.000Z
|
2020-02-26T20:54:35.000Z
|
easyPass-WS/misha/misha_command_line_interface.py
|
CiganOliviu/esential
|
9cb40e89e9c119c5ac4e6e54ab4b5fd657c91462
|
[
"MIT"
] | null | null | null |
easyPass-WS/misha/misha_command_line_interface.py
|
CiganOliviu/esential
|
9cb40e89e9c119c5ac4e6e54ab4b5fd657c91462
|
[
"MIT"
] | null | null | null |
import click
from datasets_cli import misha_datasets_system
from servers_workflow_cli import misha_servers_system
from compilers_cli import misha_compilers_system
from templates_cli import misha_templates_system
class misha_command_line_interface_system():
def __init__(self):
super(misha_command_line_interface_system, self).__init__()
@click.group()
def misha_command_line_interface():
pass
def set_datasets_cli(self):
datasets_commands = misha_datasets_system()
self.misha_command_line_interface.add_command(datasets_commands.auto_create_float_list_dataset)
self.misha_command_line_interface.add_command(datasets_commands.auto_create_integer_list_dataset)
self.misha_command_line_interface.add_command(datasets_commands.auto_create_float_matrix_dataset)
self.misha_command_line_interface.add_command(datasets_commands.auto_create_integer_matrix_dataset)
self.misha_command_line_interface.add_command(datasets_commands.auto_create_string_dataset)
self.misha_command_line_interface.add_command(datasets_commands.create_linear_dataset)
self.misha_command_line_interface.add_command(datasets_commands.create_matrix_dataset)
def set_servers_cli(self):
servers_commands = misha_servers_system()
self.misha_command_line_interface.add_command(servers_commands.start_apache_server)
self.misha_command_line_interface.add_command(servers_commands.start_mysql_server)
self.misha_command_line_interface.add_command(servers_commands.xampp_start_server)
self.misha_command_line_interface.add_command(servers_commands.xampp_stop_server)
self.misha_command_line_interface.add_command(servers_commands.xampp_shell_server)
self.misha_command_line_interface.add_command(servers_commands.xampp_control_server)
def set_compilers_cli(self):
compilers_commands = misha_compilers_system()
self.misha_command_line_interface.add_command(compilers_commands.run_gcc)
self.misha_command_line_interface.add_command(compilers_commands.run_jit)
self.misha_command_line_interface.add_command(compilers_commands.run_python2)
self.misha_command_line_interface.add_command(compilers_commands.run_python3)
self.misha_command_line_interface.add_command(compilers_commands.go_run)
self.misha_command_line_interface.add_command(compilers_commands.go_build)
self.misha_command_line_interface.add_command(compilers_commands.run_exe_python2)
self.misha_command_line_interface.add_command(compilers_commands.run_exe_python3)
def set_templates_cli(self):
templates_commands = misha_templates_system()
self.misha_command_line_interface.add_command(templates_commands.standard_cpp_algo_data_structures_implementation)
self.misha_command_line_interface.add_command(templates_commands.standard_c_algo_data_structures_implementation)
self.misha_command_line_interface.add_command(templates_commands.standard_easyPass_implementation)
self.misha_command_line_interface.add_command(templates_commands.standard_esential_implementation)
self.misha_command_line_interface.add_command(templates_commands.standard_misha_implementation)
| 60.592593
| 122
| 0.835269
| 417
| 3,272
| 5.971223
| 0.139089
| 0.139759
| 0.186345
| 0.291165
| 0.76506
| 0.740161
| 0.740161
| 0.740161
| 0.730522
| 0.730522
| 0
| 0.001376
| 0.111858
| 3,272
| 53
| 123
| 61.735849
| 0.855471
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.133333
| false
| 0.044444
| 0.111111
| 0
| 0.266667
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
16dcc3e8ceca51a2750d4a598b57cf17da220c20
| 5,878
|
py
|
Python
|
tetiny/__init__.py
|
misli/tetiny
|
8cad88c18c99b9a0966cf7d52587bc9609b56f56
|
[
"BSD-3-Clause"
] | null | null | null |
tetiny/__init__.py
|
misli/tetiny
|
8cad88c18c99b9a0966cf7d52587bc9609b56f56
|
[
"BSD-3-Clause"
] | null | null | null |
tetiny/__init__.py
|
misli/tetiny
|
8cad88c18c99b9a0966cf7d52587bc9609b56f56
|
[
"BSD-3-Clause"
] | null | null | null |
staticfiles_urls = {
'blueimp/css/blueimp-gallery-indicator.css': 'https://raw.githubusercontent.com/blueimp/Gallery/v2.27.0/css/blueimp-gallery-indicator.css', # NOQA
'blueimp/css/blueimp-gallery-video.css': 'https://raw.githubusercontent.com/blueimp/Gallery/v2.27.0/css/blueimp-gallery-video.css', # NOQA
'blueimp/css/blueimp-gallery.css': 'https://raw.githubusercontent.com/blueimp/Gallery/v2.27.0/css/blueimp-gallery.css', # NOQA
'blueimp/css/blueimp-gallery.min.css': 'https://raw.githubusercontent.com/blueimp/Gallery/v2.27.0/css/blueimp-gallery.min.css', # NOQA
'blueimp/css/blueimp-gallery.min.css.map': 'https://raw.githubusercontent.com/blueimp/Gallery/v2.27.0/css/blueimp-gallery.min.css.map', # NOQA
'blueimp/img/error.png': 'https://raw.githubusercontent.com/blueimp/Gallery/v2.27.0/img/error.png', # NOQA
'blueimp/img/error.svg': 'https://raw.githubusercontent.com/blueimp/Gallery/v2.27.0/img/error.svg', # NOQA
'blueimp/img/loading.gif': 'https://raw.githubusercontent.com/blueimp/Gallery/v2.27.0/img/loading.gif', # NOQA
'blueimp/img/play-pause.png': 'https://raw.githubusercontent.com/blueimp/Gallery/v2.27.0/img/play-pause.png', # NOQA
'blueimp/img/play-pause.svg': 'https://raw.githubusercontent.com/blueimp/Gallery/v2.27.0/img/play-pause.svg', # NOQA
'blueimp/img/video-play.png': 'https://raw.githubusercontent.com/blueimp/Gallery/v2.27.0/img/video-play.png', # NOQA
'blueimp/img/video-play.svg': 'https://raw.githubusercontent.com/blueimp/Gallery/v2.27.0/img/video-play.svg', # NOQA
'blueimp/js/blueimp-gallery-fullscreen.js': 'https://raw.githubusercontent.com/blueimp/Gallery/v2.27.0/js/blueimp-gallery-fullscreen.js', # NOQA
'blueimp/js/blueimp-gallery-indicator.js': 'https://raw.githubusercontent.com/blueimp/Gallery/v2.27.0/js/blueimp-gallery-indicator.js', # NOQA
'blueimp/js/blueimp-gallery-video.js': 'https://raw.githubusercontent.com/blueimp/Gallery/v2.27.0/js/blueimp-gallery-video.js', # NOQA
'blueimp/js/blueimp-gallery-vimeo.js': 'https://raw.githubusercontent.com/blueimp/Gallery/v2.27.0/js/blueimp-gallery-vimeo.js', # NOQA
'blueimp/js/blueimp-gallery-youtube.js': 'https://raw.githubusercontent.com/blueimp/Gallery/v2.27.0/js/blueimp-gallery-youtube.js', # NOQA
'blueimp/js/blueimp-gallery.js': 'https://raw.githubusercontent.com/blueimp/Gallery/v2.27.0/js/blueimp-gallery.js', # NOQA
'blueimp/js/blueimp-gallery.min.js': 'https://raw.githubusercontent.com/blueimp/Gallery/v2.27.0/js/blueimp-gallery.min.js', # NOQA
'blueimp/js/blueimp-gallery.min.js.map': 'https://raw.githubusercontent.com/blueimp/Gallery/v2.27.0/js/blueimp-gallery.min.js.map', # NOQA
'blueimp/js/blueimp-helper.js': 'https://raw.githubusercontent.com/blueimp/Gallery/v2.27.0/js/blueimp-helper.js', # NOQA
'blueimp/js/jquery.blueimp-gallery.js': 'https://raw.githubusercontent.com/blueimp/Gallery/v2.27.0/js/jquery.blueimp-gallery.js', # NOQA
'blueimp/js/jquery.blueimp-gallery.min.js': 'https://raw.githubusercontent.com/blueimp/Gallery/v2.27.0/js/jquery.blueimp-gallery.min.js', # NOQA
'blueimp/js/jquery.blueimp-gallery.min.js.map': 'https://raw.githubusercontent.com/blueimp/Gallery/v2.27.0/js/jquery.blueimp-gallery.min.js.map', # NOQA
'bootstrap/css/bootstrap-theme.css': 'https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap-theme.css', # NOQA
'bootstrap/css/bootstrap.min.css': 'https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css', # NOQA
'bootstrap/css/bootstrap-theme.css.map': 'https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap-theme.css.map', # NOQA
'bootstrap/css/bootstrap.min.css.map': 'https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css.map', # NOQA
'bootstrap/css/bootstrap-theme.min.css': 'https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap-theme.min.css', # NOQA
'bootstrap/css/bootstrap.css': 'https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.css', # NOQA
'bootstrap/css/bootstrap-theme.min.css.map': 'https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap-theme.min.css.map', # NOQA
'bootstrap/css/bootstrap.css.map': 'https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.css.map', # NOQA
'bootstrap/fonts/glyphicons-halflings-regular.svg': 'https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/fonts/glyphicons-halflings-regular.svg', # NOQA
'bootstrap/fonts/glyphicons-halflings-regular.ttf': 'https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/fonts/glyphicons-halflings-regular.ttf', # NOQA
'bootstrap/fonts/glyphicons-halflings-regular.eot': 'https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/fonts/glyphicons-halflings-regular.eot', # NOQA
'bootstrap/fonts/glyphicons-halflings-regular.woff': 'https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/fonts/glyphicons-halflings-regular.woff', # NOQA
'bootstrap/fonts/glyphicons-halflings-regular.woff2': 'https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/fonts/glyphicons-halflings-regular.woff2', # NOQA
'bootstrap/js/bootstrap.min.js': 'https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js', # NOQA
'bootstrap/js/npm.js': 'https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/npm.js', # NOQA
'bootstrap/js/bootstrap.js': 'https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.js', # NOQA
'jquery/jquery-3.2.1.js': 'https://code.jquery.com/jquery-3.2.1.js', # NOQA
'jquery/jquery-3.2.1.min.js': 'https://code.jquery.com/jquery-3.2.1.min.js', # NOQA
'jquery/jquery-3.2.1.min.map': 'https://code.jquery.com/jquery-3.2.1.min.map', # NOQA
}
| 127.782609
| 172
| 0.737666
| 892
| 5,878
| 4.859865
| 0.058296
| 0.180854
| 0.138408
| 0.155017
| 0.947866
| 0.885121
| 0.754325
| 0.722953
| 0.689735
| 0.659516
| 0
| 0.029889
| 0.066519
| 5,878
| 45
| 173
| 130.622222
| 0.76016
| 0.036407
| 0
| 0
| 0
| 0.888889
| 0.88879
| 0.25427
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
bc58edaaaec12e1db64f8931eb9413ecbcc79774
| 102,439
|
py
|
Python
|
packages/qdarkstyle/pyside_style_rc.py
|
John-Tonny/Electrum-vircle
|
c1eff12c706308d7dafa60bbe364b04efbcef5c5
|
[
"MIT"
] | null | null | null |
packages/qdarkstyle/pyside_style_rc.py
|
John-Tonny/Electrum-vircle
|
c1eff12c706308d7dafa60bbe364b04efbcef5c5
|
[
"MIT"
] | 1
|
2021-06-02T00:43:25.000Z
|
2021-06-02T00:43:25.000Z
|
packages/qdarkstyle/pyside_style_rc.py
|
John-Tonny/Electrum-vircle
|
c1eff12c706308d7dafa60bbe364b04efbcef5c5
|
[
"MIT"
] | null | null | null |
# -*- coding: utf-8 -*-
# Resource object code
#
# Created: qua mai 1 18:37:33 2019
# by: The Resource Compiler for PySide (Qt v4.8.7)
#
# WARNING! All changes made in this file will be lost!
from PySide import QtCore
qt_resource_data = b"\x00\x00\xa6\xa5/* QDarkStyleSheet --------------------------------------------------------\x0a\x0aThis is the main style sheet, the palette has nine main colors.\x0aIt is based on three selecting colors, three greyish (background) colors\x0aplus three whitish (foreground) colors. Each set of widgets of the same\x0atype have a header like this:\x0a\x0a ------------------\x0a GroupName --------\x0a ------------------\x0a\x0aAnd each widget is separated with a header like this:\x0a\x0a QWidgetName ------\x0a\x0aThis makes more easy to find and change some css field. The basic\x0aconfiguration is described bellow.\x0a\x0a SELECTION ------------\x0a\x0a sel_light #179AE0 #148CD2 (selection/hover/active)\x0a sel_normal #3375A3 #1464A0 (selected)\x0a sel_dark #18465D #14506E (selected disabled)\x0a\x0a FOREGROUND -----------\x0a\x0a for_light #EFF0F1 #F0F0F0 (texts/labels)\x0a for_normal #AAAAAA (not used yet)\x0a for_dark #505F69 #787878 (disabled texts)\x0a\x0a BACKGROUND -----------\x0a\x0a bac_light #4D545B #505F69 (unpressed)\x0a bac_normal #31363B #32414B (border, disabled, pressed, checked, toolbars, menus)\x0a bac_dark #232629 #19232D (background)\x0a\x0aIf a stranger configuration is required because of a bugfix or anything\x0aelse, keep the comment on that line to nobodys changed it, including the\x0aissue number.\x0a--------------------------------------------------------------------------- */\x0a\x0a\x0a\x0a/* QWidget ---------------------------------------------------------------- */\x0a\x0aQWidget {\x0a background-color: #19232D;\x0a border: 0px solid #32414B;\x0a padding: 0px;\x0a color: #F0F0F0;\x0a selection-background-color: #1464A0;\x0a selection-color: #F0F0F0;\x0a}\x0a\x0aQWidget:disabled {\x0a background-color: #19232D;\x0a color: #787878;\x0a selection-background-color: #14506E;\x0a selection-color: #787878;\x0a}\x0a\x0aQWidget:item:selected {\x0a background-color: #1464A0;\x0a}\x0a\x0aQWidget:item:hover {\x0a background-color: #148CD2;\x0a color: #32414B;\x0a}\x0a\x0a/* QMainWindow ------------------------------------------------------------ */\x0a/* This adjusts the splitter in the dock widget, not qsplitter */\x0a\x0a\x0aQMainWindow::separator {\x0a background-color: #32414B;\x0a border: 0 solid #19232D;\x0a spacing: 0;\x0a padding: 2px;\x0a}\x0a\x0aQMainWindow::separator:hover {\x0a background-color: #505F69;\x0a border: 0px solid #148CD2;\x0a}\x0a\x0aQMainWindow::separator:horizontal {\x0a width: 5px;\x0a margin-top: 2px;\x0a margin-bottom: 2px;\x0a image: url(:/qss_icons/rc/Vsepartoolbar.png);\x0a}\x0a\x0aQMainWindow::separator:vertical {\x0a height: 5px;\x0a margin-left: 2px;\x0a margin-right: 2px;\x0a image: url(:/qss_icons/rc/Hsepartoolbar.png);\x0a}\x0a\x0a/* QToolTip --------------------------------------------------------------- */\x0a\x0aQToolTip {\x0a background-color: #148CD2;\x0a border: 1px solid #19232D;\x0a color: #19232D;\x0a padding: 0; /*remove padding, for fix combo box tooltip*/\x0a opacity: 230; /*reducing transparency to read better*/\x0a}\x0a\x0a/* QStatusBar ------------------------------------------------------------- */\x0a\x0aQStatusBar {\x0a border: 1px solid #32414B;\x0a background: #32414B; /*fixes spyder #9120,#9121*/\x0a}\x0a\x0aQStatusBar QToolTip {\x0a background-color: #148CD2;\x0a border: 1px solid #19232D;\x0a color: #19232D;\x0a padding: 0; /*remove padding, for fix combo box tooltip*/\x0a opacity: 230; /*reducing transparency to read better*/\x0a}\x0a\x0aQStatusBar QLabel {\x0a background-color: transparent; /*fixes spyder #9120,#9121*/\x0a}\x0a\x0a/* QCheckBox -------------------------------------------------------------- */\x0a\x0aQCheckBox {\x0a background-color: #19232D;\x0a color: #F0F0F0;\x0a spacing: 4px;\x0a outline: none;\x0a padding-top: 4px;\x0a padding-bottom: 4px;\x0a}\x0a\x0aQCheckBox:focus {\x0a border: none;\x0a}\x0a\x0aQCheckBox QWidget:disabled {\x0a background-color: #19232D;\x0a color: #787878;\x0a}\x0a\x0aQCheckBox::indicator {\x0a margin-left: 4px;\x0a width: 16px;\x0a height: 16px;\x0a}\x0a\x0aQCheckBox::indicator:unchecked {\x0a image: url(:/qss_icons/rc/checkbox_unchecked.png);\x0a}\x0a\x0aQCheckBox::indicator:unchecked:hover,\x0aQCheckBox::indicator:unchecked:focus,\x0aQCheckBox::indicator:unchecked:pressed {\x0a border: none;\x0a image: url(:/qss_icons/rc/checkbox_unchecked_focus.png);\x0a}\x0a\x0aQCheckBox::indicator:unchecked:disabled {\x0a image: url(:/qss_icons/rc/checkbox_unchecked_disabled.png);\x0a}\x0a\x0aQCheckBox::indicator:checked {\x0a image: url(:/qss_icons/rc/checkbox_checked.png);\x0a}\x0a\x0aQCheckBox::indicator:checked:hover,\x0aQCheckBox::indicator:checked:focus,\x0aQCheckBox::indicator:checked:pressed {\x0a border: none;\x0a image: url(:/qss_icons/rc/checkbox_checked_focus.png);\x0a}\x0a\x0aQCheckBox::indicator:checked:disabled{\x0a image: url(:/qss_icons/rc/checkbox_checked_disabled.png);\x0a}\x0a\x0aQCheckBox::indicator:indeterminate {\x0a image: url(:/qss_icons/rc/checkbox_indeterminate.png);\x0a}\x0a\x0aQCheckBox::indicator:indeterminate:disabled {\x0a image: url(:/qss_icons/rc/checkbox_indeterminate_disabled.png);\x0a}\x0a\x0aQCheckBox::indicator:indeterminate:focus,\x0aQCheckBox::indicator:indeterminate:hover,\x0aQCheckBox::indicator:indeterminate:pressed {\x0a image: url(:/qss_icons/rc/checkbox_indeterminate_focus.png);\x0a}\x0a\x0a/* QGroupBox -------------------------------------------------------------- */\x0a\x0aQGroupBox {\x0a font-weight: bold;\x0a border: 1px solid #32414B;\x0a border-radius: 4px;\x0a padding: 4px;\x0a margin-top: 16px;\x0a}\x0a\x0a\x0a\x0aQGroupBox::title {\x0a subcontrol-origin: margin;\x0a subcontrol-position: top left;\x0a left: 3px;\x0a padding-left: 3px;\x0a padding-right: 5px;\x0a padding-top: 8px;\x0a padding-bottom: 16px;\x0a}\x0a\x0aQGroupBox::indicator {\x0a margin-left: 4px;\x0a width: 16px;\x0a height: 16px;\x0a}\x0a\x0aQGroupBox::indicator {\x0a margin-left: 2px;\x0a}\x0a\x0aQGroupBox::indicator:unchecked:hover,\x0aQGroupBox::indicator:unchecked:focus,\x0aQGroupBox::indicator:unchecked:pressed {\x0a border: none;\x0a image: url(:/qss_icons/rc/checkbox_unchecked_focus.png);\x0a}\x0a\x0aQGroupBox::indicator:checked:hover,\x0aQGroupBox::indicator:checked:focus,\x0aQGroupBox::indicator:checked:pressed {\x0a border: none;\x0a image: url(:/qss_icons/rc/checkbox_checked_focus.png);\x0a}\x0a\x0aQGroupBox::indicator:checked:disabled {\x0a image: url(:/qss_icons/rc/checkbox_checked_disabled.png);\x0a}\x0a\x0aQGroupBox::indicator:unchecked:disabled {\x0a image: url(:/qss_icons/rc/checkbox_unchecked_disabled.png);\x0a}\x0a\x0a/* QRadioButton ----------------------------------------------------------- */\x0a\x0aQRadioButton {\x0a background-color: #19232D;\x0a color: #F0F0F0;\x0a spacing: 0;\x0a padding: 0;\x0a border: none;\x0a outline: none;\x0a}\x0a\x0aQRadioButton:focus {\x0a border: none;\x0a}\x0a\x0aQRadioButton:disabled {\x0a background-color: #19232D;\x0a color: #787878;\x0a border: none;\x0a outline: none;\x0a}\x0a\x0aQRadioButton QWidget {\x0a background-color: #19232D;\x0a color: #F0F0F0;\x0a spacing: 0px;\x0a padding: 0px;\x0a outline: none;\x0a border: none;\x0a}\x0a\x0aQRadioButton::indicator {\x0a border: none;\x0a outline: none;\x0a margin-bottom: 2px;\x0a width: 25px;\x0a height: 25px;\x0a}\x0a\x0aQRadioButton::indicator:unchecked {\x0a image: url(:/qss_icons/rc/radio_unchecked.png);\x0a}\x0a\x0aQRadioButton::indicator:unchecked:hover,\x0aQRadioButton::indicator:unchecked:focus,\x0aQRadioButton::indicator:unchecked:pressed {\x0a border: none;\x0a outline: none;\x0a image: url(:/qss_icons/rc/radio_unchecked_focus.png);\x0a}\x0a\x0aQRadioButton::indicator:checked {\x0a border: none;\x0a outline: none;\x0a image: url(:/qss_icons/rc/radio_checked.png);\x0a}\x0a\x0aQRadioButton::indicator:checked:hover,\x0aQRadioButton::indicator:checked:focus,\x0aQRadioButton::indicator:checked:pressed {\x0a border: none;\x0a outline: none;\x0a image: url(:/qss_icons/rc/radio_checked_focus.png);\x0a}\x0a\x0aQRadioButton::indicator:checked:disabled {\x0a outline: none;\x0a image: url(:/qss_icons/rc/radio_checked_disabled.png);\x0a}\x0a\x0aQRadioButton::indicator:unchecked:disabled {\x0a image: url(:/qss_icons/rc/radio_unchecked_disabled.png);\x0a}\x0a\x0a/* QMenuBar --------------------------------------------------------------- */\x0a\x0aQMenuBar {\x0a background-color: #32414B;\x0a padding: 2px;\x0a border: 1px solid #19232D;\x0a color: #F0F0F0;\x0a}\x0a\x0aQMenuBar:focus {\x0a border: 1px solid #148CD2;\x0a}\x0a\x0aQMenuBar::item {\x0a background: transparent;\x0a padding: 4px;\x0a}\x0a\x0aQMenuBar::item:selected {\x0a padding: 4px;\x0a background: transparent;\x0a border: 0px solid #32414B;\x0a}\x0a\x0aQMenuBar::item:pressed {\x0a padding: 4px;\x0a border: 0px solid #32414B;\x0a background-color: #148CD2;\x0a color: #F0F0F0;\x0a margin-bottom: 0px;\x0a padding-bottom: 0px;\x0a}\x0a\x0a/* QMenu ------------------------------------------------------------------ */\x0a\x0aQMenu {\x0a border: 0px solid #32414B;\x0a color: #F0F0F0;\x0a margin: 0px;\x0a}\x0a\x0aQMenu::separator {\x0a height: 2px;\x0a background-color: #505F69;\x0a color: #F0F0F0;\x0a padding-left: 4px;\x0a margin-left: 2px;\x0a margin-right: 2px;\x0a}\x0a\x0aQMenu::icon {\x0a margin: 0px;\x0a padding-left:4px;\x0a}\x0a\x0aQMenu::item {\x0a padding: 4px 24px 4px 24px;\x0a border: 1px transparent #32414B; /* reserve space for selection border */\x0a}\x0a\x0aQMenu::item:selected {\x0a color: #F0F0F0;\x0a}\x0a\x0a\x0a\x0aQMenu::indicator {\x0a width: 12px;\x0a height: 12px;\x0a padding-left:6px;\x0a}\x0a\x0a/* non-exclusive indicator = check box style indicator (see QActionGroup::setExclusive) */\x0a\x0aQMenu::indicator:non-exclusive:unchecked {\x0a image: url(:/qss_icons/rc/checkbox_unchecked.png);\x0a}\x0a\x0aQMenu::indicator:non-exclusive:unchecked:selected {\x0a image: url(:/qss_icons/rc/checkbox_unchecked_disabled.png);\x0a}\x0a\x0aQMenu::indicator:non-exclusive:checked {\x0a image: url(:/qss_icons/rc/checkbox_checked.png);\x0a}\x0a\x0aQMenu::indicator:non-exclusive:checked:selected {\x0a image: url(:/qss_icons/rc/checkbox_checked_disabled.png);\x0a}\x0a\x0a/* exclusive indicator = radio button style indicator (see QActionGroup::setExclusive) */\x0a\x0aQMenu::indicator:exclusive:unchecked {\x0a image: url(:/qss_icons/rc/radio_unchecked.png);\x0a}\x0a\x0aQMenu::indicator:exclusive:unchecked:selected {\x0a image: url(:/qss_icons/rc/radio_unchecked_disabled.png);\x0a}\x0a\x0aQMenu::indicator:exclusive:checked {\x0a image: url(:/qss_icons/rc/radio_checked.png);\x0a}\x0a\x0aQMenu::indicator:exclusive:checked:selected {\x0a image: url(:/qss_icons/rc/radio_checked_disabled.png);\x0a}\x0a\x0aQMenu::right-arrow {\x0a margin: 5px;\x0a image: url(:/qss_icons/rc/right_arrow.png)\x0a}\x0a\x0a/* QAbstractItemView ------------------------------------------------------ */\x0a\x0aQAbstractItemView {\x0a alternate-background-color: #19232D;\x0a color: #F0F0F0;\x0a border: 1px solid #32414B;\x0a border-radius: 4px;\x0a}\x0a\x0aQAbstractItemView QLineEdit {\x0a padding: 2px;\x0a}\x0a\x0a/* QAbstractScrollArea ---------------------------------------------------- */\x0a\x0aQAbstractScrollArea {\x0a background-color: #19232D;\x0a border: 1px solid #32414B;\x0a border-radius: 4px;\x0a padding: 4px;\x0a color: #F0F0F0;\x0a}\x0a\x0aQAbstractScrollArea:disabled {\x0a color: #787878;\x0a}\x0a\x0a/* QScrollArea ------------------------------------------------------------ */\x0a\x0aQScrollArea QWidget QWidget:disabled {\x0a background-color: #19232D;\x0a}\x0a\x0a/* QScrollBar ------------------------------------------------------------- */\x0a\x0aQScrollBar:horizontal {\x0a height: 16px;\x0a margin: 2px 16px 2px 16px;\x0a border: 1px solid #32414B;\x0a border-radius: 4px;\x0a background-color: #19232D;\x0a}\x0a\x0aQScrollBar::handle:horizontal {\x0a background-color: #787878;\x0a border: 1px solid #32414B;\x0a border-radius: 4px;\x0a min-width: 8px;\x0a\x0a}\x0a\x0aQScrollBar::handle:horizontal:hover {\x0a background-color: #148CD2;\x0a border: 1px solid #148CD2;\x0a border-radius: 4px;\x0a min-width: 8px;\x0a}\x0a\x0aQScrollBar::add-line:horizontal {\x0a margin: 0px 0px 0px 0px;\x0a border-image: url(:/qss_icons/rc/right_arrow_disabled.png);\x0a width: 10px;\x0a height: 10px;\x0a subcontrol-position: right;\x0a subcontrol-origin: margin;\x0a}\x0a\x0aQScrollBar::sub-line:horizontal {\x0a margin: 0px 3px 0px 3px;\x0a border-image: url(:/qss_icons/rc/left_arrow_disabled.png);\x0a height: 10px;\x0a width: 10px;\x0a subcontrol-position: left;\x0a subcontrol-origin: margin;\x0a}\x0a\x0aQScrollBar::add-line:horizontal:hover,\x0aQScrollBar::add-line:horizontal:on {\x0a border-image: url(:/qss_icons/rc/right_arrow.png);\x0a height: 10px;\x0a width: 10px;\x0a subcontrol-position: right;\x0a subcontrol-origin: margin;\x0a}\x0a\x0aQScrollBar::sub-line:horizontal:hover,\x0aQScrollBar::sub-line:horizontal:on {\x0a border-image: url(:/qss_icons/rc/left_arrow.png);\x0a height: 10px;\x0a width: 10px;\x0a subcontrol-position: left;\x0a subcontrol-origin: margin;\x0a}\x0a\x0aQScrollBar::up-arrow:horizontal,\x0aQScrollBar::down-arrow:horizontal {\x0a background: none;\x0a}\x0a\x0aQScrollBar::add-page:horizontal,\x0aQScrollBar::sub-page:horizontal {\x0a background: none;\x0a}\x0a\x0aQScrollBar:vertical {\x0a background-color: #19232D;\x0a width: 16px;\x0a margin: 16px 2px 16px 2px;\x0a border: 1px solid #32414B;\x0a border-radius: 4px;\x0a}\x0a\x0aQScrollBar::handle:vertical {\x0a background-color: #787878;\x0a border: 1px solid #32414B;\x0a min-height: 8px;\x0a border-radius: 4px;\x0a}\x0a\x0aQScrollBar::handle:vertical:hover {\x0a background-color: #148CD2;\x0a border: 1px solid #148CD2;\x0a border-radius: 4px;\x0a min-height: 8px;\x0a\x0a}\x0a\x0aQScrollBar::sub-line:vertical {\x0a margin: 3px 0px 3px 0px;\x0a border-image: url(:/qss_icons/rc/up_arrow_disabled.png);\x0a height: 10px;\x0a width: 10px;\x0a subcontrol-position: top;\x0a subcontrol-origin: margin;\x0a}\x0a\x0aQScrollBar::add-line:vertical {\x0a margin: 3px 0px 3px 0px;\x0a border-image: url(:/qss_icons/rc/down_arrow_disabled.png);\x0a height: 10px;\x0a width: 10px;\x0a subcontrol-position: bottom;\x0a subcontrol-origin: margin;\x0a}\x0a\x0aQScrollBar::sub-line:vertical:hover,\x0aQScrollBar::sub-line:vertical:on {\x0a border-image: url(:/qss_icons/rc/up_arrow.png);\x0a height: 10px;\x0a width: 10px;\x0a subcontrol-position: top;\x0a subcontrol-origin: margin;\x0a}\x0a\x0aQScrollBar::add-line:vertical:hover,\x0aQScrollBar::add-line:vertical:on {\x0a border-image: url(:/qss_icons/rc/down_arrow.png);\x0a height: 10px;\x0a width: 10px;\x0a subcontrol-position: bottom;\x0a subcontrol-origin: margin;\x0a}\x0a\x0aQScrollBar::up-arrow:vertical,\x0aQScrollBar::down-arrow:vertical {\x0a background: none;\x0a}\x0a\x0aQScrollBar::add-page:vertical,\x0aQScrollBar::sub-page:vertical {\x0a background: none;\x0a}\x0a\x0a/* QTextEdit--------------------------------------------------------------- */\x0a\x0aQTextEdit {\x0a background-color: #19232D;\x0a color: #F0F0F0;\x0a border: 1px solid #32414B;\x0a}\x0a\x0aQTextEdit:hover {\x0a border: 1px solid #148CD2;\x0a color: #F0F0F0;\x0a}\x0a\x0aQTextEdit:selected {\x0a background: #1464A0;\x0a color: #32414B;\x0a}\x0a\x0a/* QPlainTextEdit --------------------------------------------------------- */\x0a\x0aQPlainTextEdit {\x0a background-color: #19232D;\x0a color: #F0F0F0;\x0a border-radius: 4px;\x0a border: 1px solid #32414B;\x0a}\x0a\x0aQPlainTextEdit:hover {\x0a border: 1px solid #148CD2;\x0a color: #F0F0F0;\x0a}\x0a\x0aQPlainTextEdit:selected {\x0a background: #1464A0;\x0a color: #32414B;\x0a}\x0a\x0a/* QSizeGrip --------------------------------------------------------------- */\x0a\x0aQSizeGrip {\x0a image: url(:/qss_icons/rc/sizegrip.png);\x0a width: 12px;\x0a height: 12px;\x0a}\x0a\x0a/* QStackedWidget --------------------------------------------------------- */\x0a\x0aQStackedWidget {\x0a padding: 4px;\x0a border: 1px solid #32414B;\x0a border: 1px solid #19232D;\x0a}\x0a\x0a/* QToolBar --------------------------------------------------------------- */\x0a\x0aQToolBar {\x0a background-color: #32414B;\x0a border-bottom: 1px solid #19232D;\x0a padding: 2px;\x0a font-weight: bold;\x0a}\x0a\x0aQToolBar QToolButton{\x0a background-color: #32414B;\x0a}\x0a\x0aQToolBar::handle:horizontal {\x0a width: 6px;\x0a image: url(:/qss_icons/rc/Hmovetoolbar.png);\x0a}\x0a\x0aQToolBar::handle:vertical {\x0a height: 6px;\x0a image: url(:/qss_icons/rc/Vmovetoolbar.png);\x0a}\x0a\x0aQToolBar::separator:horizontal {\x0a width: 3px;\x0a image: url(:/qss_icons/rc/Hsepartoolbar.png);\x0a}\x0a\x0aQToolBar::separator:vertical {\x0a height: 3px;\x0a image: url(:/qss_icons/rc/Vsepartoolbar.png);\x0a}\x0a\x0aQToolButton#qt_toolbar_ext_button {\x0a background: #32414B;\x0a border: 0px;\x0a color: #F0F0F0;\x0a image: url(:/qss_icons/rc/right_arrow.png);\x0a}\x0a\x0a/* QAbstractSpinBox ------------------------------------------------------- */\x0a\x0aQAbstractSpinBox {\x0a background-color: #19232D;\x0a border: 1px solid #32414B;\x0a color: #F0F0F0;\x0a padding-top: 2px; /* This fix 103, 111*/\x0a padding-bottom: 2px; /* This fix 103, 111*/\x0a padding-left: 4px;\x0a padding-right: 4px;\x0a border-radius: 4px;\x0a /* min-width: 5px; removed to fix 109 */\x0a}\x0a\x0aQAbstractSpinBox:up-button {\x0a background-color: transparent #19232D;\x0a subcontrol-origin: border;\x0a subcontrol-position: top right;\x0a border-left: 1px solid #32414B;\x0a margin: 1px;\x0a}\x0a\x0aQAbstractSpinBox::up-arrow,\x0aQAbstractSpinBox::up-arrow:disabled,\x0aQAbstractSpinBox::up-arrow:off {\x0a image: url(:/qss_icons/rc/up_arrow_disabled.png);\x0a width: 9px;\x0a height: 9px;\x0a}\x0a\x0aQAbstractSpinBox::up-arrow:hover {\x0a image: url(:/qss_icons/rc/up_arrow.png);\x0a}\x0a\x0aQAbstractSpinBox:down-button {\x0a background-color: transparent #19232D;\x0a subcontrol-origin: border;\x0a subcontrol-position: bottom right;\x0a border-left: 1px solid #32414B;\x0a margin: 1px;\x0a}\x0a\x0aQAbstractSpinBox::down-arrow,\x0aQAbstractSpinBox::down-arrow:disabled,\x0aQAbstractSpinBox::down-arrow:off {\x0a image: url(:/qss_icons/rc/down_arrow_disabled.png);\x0a width: 9px;\x0a height: 9px;\x0a}\x0a\x0aQAbstractSpinBox::down-arrow:hover {\x0a image: url(:/qss_icons/rc/down_arrow.png);\x0a}\x0a\x0aQAbstractSpinBox:hover{\x0a border: 1px solid #148CD2;\x0a color: #F0F0F0;\x0a}\x0a\x0aQAbstractSpinBox:selected {\x0a background: #1464A0;\x0a color: #32414B;\x0a}\x0a\x0a/* ------------------------------------------------------------------------ */\x0a/* DISPLAYS --------------------------------------------------------------- */\x0a/* ------------------------------------------------------------------------ */\x0a\x0a/* QLabel ----------------------------------------------------------------- */\x0a\x0aQLabel {\x0a background-color: #19232D;\x0a border: 0px solid #32414B;\x0a padding: 2px;\x0a margin: 0px;\x0a color: #F0F0F0\x0a}\x0a\x0aQLabel::disabled {\x0a background-color: #19232D;\x0a border: 0px solid #32414B;\x0a color: #787878;\x0a}\x0a\x0a/* QTextBrowser ----------------------------------------------------------- */\x0a\x0aQTextBrowser {\x0a background-color: #19232D;\x0a border: 1px solid #32414B;\x0a color: #F0F0F0;\x0a border-radius: 4px;\x0a}\x0a\x0aQTextBrowser:disabled {\x0a background-color: #19232D;\x0a border: 1px solid #32414B;\x0a color: #787878;\x0a border-radius: 4px;\x0a}\x0a\x0aQTextBrowser:hover,\x0aQTextBrowser:!hover,\x0aQTextBrowser::selected,\x0aQTextBrowser::pressed {\x0a border: 1px solid #32414B;\x0a}\x0a\x0a/* QGraphicsView --------------------------------------------------------- */\x0a\x0aQGraphicsView {\x0a background-color: #19232D;\x0a border: 1px solid #32414B;\x0a color: #F0F0F0;\x0a border-radius: 4px;\x0a}\x0a\x0aQGraphicsView:disabled {\x0a background-color: #19232D;\x0a border: 1px solid #32414B;\x0a color: #787878;\x0a border-radius: 4px;\x0a}\x0a\x0aQGraphicsView:hover,\x0aQGraphicsView:!hover,\x0aQGraphicsView::selected,\x0aQGraphicsView::pressed {\x0a border: 1px solid #32414B;\x0a}\x0a\x0a/* QCalendarWidget -------------------------------------------------------- */\x0a\x0aQCalendarWidget {\x0a border: 1px solid #32414B;\x0a border-radius: 4px;\x0a}\x0a\x0aQCalendarWidget:disabled {\x0a background-color: #19232D;\x0a color: #787878;\x0a}\x0a\x0a/* QLCDNumber ------------------------------------------------------------- */\x0a\x0aQLCDNumber {\x0a background-color: #19232D;\x0a color: #F0F0F0;\x0a}\x0a\x0aQLCDNumber:disabled {\x0a background-color: #19232D;\x0a color: #787878;\x0a}\x0a\x0a/* QProgressBar ----------------------------------------------------------- */\x0a\x0aQProgressBar {\x0a background-color: #19232D;\x0a border: 1px solid #32414B;\x0a color: #F0F0F0;\x0a border-radius: 4px;\x0a text-align: center;\x0a}\x0a\x0aQProgressBar:disabled {\x0a background-color: #19232D;\x0a border: 1px solid #32414B;\x0a color: #787878;\x0a border-radius: 4px;\x0a text-align: center;\x0a}\x0a\x0aQProgressBar::chunk {\x0a background-color: #1464A0;\x0a color: #19232D;\x0a border-radius: 4px;\x0a}\x0a\x0aQProgressBar::chunk:disabled {\x0a background-color: #14506E;\x0a color: #787878;\x0a border-radius: 4px;\x0a}\x0a\x0a\x0a/* ------------------------------------------------------------------------ */\x0a/* BUTTONS ---------------------------------------------------------------- */\x0a/* ------------------------------------------------------------------------ */\x0a\x0a/* QPushButton ------------------------------------------------------------ */\x0a\x0aQPushButton {\x0a background-color: #505F69 ;\x0a border: 1px solid #32414B;\x0a color: #F0F0F0;\x0a border-radius: 4px;\x0a padding: 3px;\x0a outline: none;\x0a}\x0a\x0aQPushButton:disabled {\x0a background-color: #32414B;\x0a border: 1px solid #32414B;\x0a color: #787878;\x0a border-radius: 4px;\x0a padding: 3px;\x0a}\x0a\x0a\x0aQPushButton:checked {\x0a background-color: #32414B;\x0a border: 1px solid #32414B;\x0a border-radius: 4px;\x0a padding: 3px;\x0a outline: none;\x0a}\x0a\x0aQPushButton:checked:disabled {\x0a background-color: #19232D;\x0a border: 1px solid #32414B;\x0a color: #787878;\x0a border-radius: 4px;\x0a padding: 3px;\x0a outline: none;\x0a}\x0a\x0aQPushButton::menu-indicator {\x0a subcontrol-origin: padding;\x0a subcontrol-position: bottom right;\x0a bottom: 4px;\x0a}\x0a\x0aQPushButton:pressed {\x0a background-color: #19232D;\x0a border: 1px solid #19232D;\x0a}\x0a\x0aQPushButton:hover,\x0aQPushButton:checked:hover{\x0a border: 1px solid #148CD2;\x0a color: #F0F0F0;\x0a}\x0a\x0aQPushButton:pressed:hover{\x0a border: 1px solid #1464A0;\x0a}\x0a\x0aQPushButton:selected,\x0aQPushButton:checked:selected{\x0a background: #1464A0;\x0a color: #32414B;\x0a}\x0a\x0a/* QToolButton ------------------------------------------------------------ */\x0a\x0aQToolButton {\x0a background-color: transparent;\x0a border: 1px solid #32414B;\x0a border-radius: 4px;\x0a margin: 0px;\x0a padding: 2px;\x0a}\x0a\x0aQToolButton:checked {\x0a background-color: #19232D;\x0a border: 1px solid #19232D;\x0a}\x0a\x0aQToolButton:pressed {\x0a background-color: #19232D;\x0a border: 1px solid #19232D;\x0a\x0a}\x0a\x0aQToolButton:disabled {\x0a border: 1px solid #32414B;\x0a}\x0a\x0aQToolButton:hover,\x0aQToolButton:checked:hover{\x0a border: 1px solid #148CD2;\x0a}\x0aQToolButton:pressed:hover{\x0a border: 1px solid #1464A0;\x0a}\x0a\x0a/* the subcontrols below are used only in the MenuButtonPopup mode */\x0a\x0aQToolButton[popupMode=\x221\x22] {\x0a padding: 2px;\x0a padding-right: 12px; /* only for MenuButtonPopup */\x0a border: 1px solid #32414B; /* make way for the popup button */\x0a border-radius: 4px;\x0a}\x0a\x0a/* The subcontrol below is used only in the InstantPopup or DelayedPopup mode */\x0a\x0aQToolButton[popupMode=\x222\x22] {\x0a padding: 2px;\x0a padding-right: 12px; /* only for InstantPopup */\x0a border: 1px solid #32414B; /* make way for the popup button */\x0a}\x0a\x0aQToolButton::menu-button {\x0a padding: 2px;\x0a border-radius: 4px;\x0a border: 1px solid #32414B;\x0a border-top-right-radius: 4px;\x0a border-bottom-right-radius: 4px;\x0a /* 16px width + 4px for border = 20px allocated above */\x0a width: 16px;\x0a outline: none;\x0a}\x0a\x0aQToolButton::menu-button:hover,\x0aQToolButton::menu-button:checked:hover {\x0a border: 1px solid #148CD2;\x0a}\x0a\x0aQToolButton::menu-indicator {\x0a image: url(:/qss_icons/rc/down_arrow.png);\x0a top: -8px; /* shift it a bit */\x0a left: -4px; /* shift it a bit */\x0a}\x0a\x0aQToolButton::menu-arrow {\x0a image: url(:/qss_icons/rc/down_arrow.png);\x0a}\x0a\x0aQToolButton::menu-arrow:open {\x0a border: 1px solid #32414B;\x0a}\x0a\x0a/* QCommandLinkButton ----------------------------------------------------- */\x0a\x0aQCommandLinkButton {\x0a background-color: transparent;\x0a border: 1px solid #32414B;\x0a color: #F0F0F0;\x0a border-radius: 4px;\x0a padding: 0px;\x0a margin: 0px;\x0a}\x0a\x0aQCommandLinkButton:disabled {\x0a background-color: transparent;\x0a color: #787878;\x0a}\x0a\x0a/* ------------------------------------------------------------------------ */\x0a/* INPUTS - NO FIELDS ----------------------------------------------------- */\x0a/* ------------------------------------------------------------------------ */\x0a\x0a/* QCombobox -------------------------------------------------------------- */\x0aQComboBox {\x0a border: 1px solid #32414B;\x0a border-radius: 4px;\x0a selection-background-color: #1464A0;\x0a padding-left: 4px;\x0a padding-right: 4px;\x0a min-height: 1.5em; /* fix #103, #111 */\x0a /* padding-top: 2px; removed to fix #132 */\x0a /* padding-bottom: 2px; removed to fix #132 */\x0a /* min-width: 75px; removed to fix #109 */\x0a}\x0a\x0aQComboBox QAbstractItemView {\x0a background-color: #19232d;\x0a border-radius: 4px;\x0a border: 1px solid #32414B;\x0a selection-color: #148CD2;\x0a selection-background-color: #32414B;\x0a}\x0a\x0aQComboBox:disabled {\x0a background-color: #19232D;\x0a color: #787878;\x0a}\x0a\x0aQComboBox:hover{\x0a border: 1px solid #148CD2;\x0a}\x0a\x0aQComboBox:on {\x0a selection-background-color: #19232D;\x0a}\x0a\x0a/* Needed to remove indicator - fix #132 */\x0aQComboBox::indicator {\x0a background-color:transparent;\x0a selection-background-color:transparent;\x0a color:transparent;\x0a selection-color:transparent;\x0a}\x0a\x0a/* Needed to remove indicator - fix #132 */\x0aQComboBox::item:alternate {\x0a background: #19232D;\x0a}\x0a\x0aQComboBox::item:checked {\x0a font-weight: bold;\x0a}\x0a\x0aQComboBox::item:selected {\x0a border: 0px solid transparent;\x0a}\x0a\x0aQComboBox::drop-down {\x0a subcontrol-origin: padding;\x0a subcontrol-position: top right;\x0a width: 20px;\x0a border-left-width: 0px;\x0a border-left-color: #32414B;\x0a border-left-style: solid;\x0a border-top-right-radius: 3px;\x0a border-bottom-right-radius: 3px;\x0a}\x0a\x0aQComboBox::down-arrow {\x0a image: url(:/qss_icons/rc/down_arrow_disabled.png);\x0a}\x0a\x0aQComboBox::down-arrow:on,\x0aQComboBox::down-arrow:hover,\x0aQComboBox::down-arrow:focus {\x0a image: url(:/qss_icons/rc/down_arrow.png);\x0a}\x0a\x0a/* QSlider ---------------------------------------------------------------- */\x0a\x0aQSlider:disabled {\x0a background: #19232D;\x0a}\x0a\x0aQSlider:focus {\x0a border: none;\x0a}\x0a\x0aQSlider::groove:horizontal {\x0a background: #32414B;\x0a border: 1px solid #32414B;\x0a height: 4px;\x0a margin: 0px;\x0a border-radius: 4px;\x0a}\x0a\x0aQSlider::sub-page:horizontal {\x0a background: #1464A0;\x0a border: 1px solid #32414B;\x0a height: 4px;\x0a margin: 0px;\x0a border-radius: 4px;\x0a}\x0a\x0aQSlider::sub-page:horizontal:disabled {\x0a background: #14506E;\x0a}\x0a\x0aQSlider::handle:horizontal {\x0a background: #787878;\x0a border: 1px solid #32414B;\x0a width: 8px;\x0a height: 8px;\x0a margin: -8px 0;\x0a border-radius: 4px;\x0a}\x0a\x0aQSlider::handle:horizontal:hover {\x0a background: #148CD2;\x0a border: 1px solid #148CD2;\x0a}\x0a\x0aQSlider::groove:vertical {\x0a background: #32414B;\x0a border: 1px solid #32414B;\x0a width: 4px;\x0a margin: 0px;\x0a border-radius: 4px;\x0a}\x0a\x0aQSlider::sub-page:vertical {\x0a background: #1464A0;\x0a border: 1px solid #32414B;\x0a width: 4px;\x0a margin: 0px;\x0a border-radius: 4px;\x0a}\x0a\x0aQSlider::sub-page:vertical:disabled {\x0a background: #14506E;\x0a}\x0a\x0aQSlider::handle:vertical {\x0a background: #787878;\x0a border: 1px solid #32414B;\x0a width: 8px;\x0a height: 8px;\x0a margin: 0 -8px;\x0a border-radius: 4px;\x0a}\x0a\x0aQSlider::handle:vertical:hover {\x0a background: #148CD2;\x0a border: 1px solid #148CD2;\x0a}\x0a\x0a/* QLine ------------------------------------------------------------------ */\x0a\x0aQLineEdit {\x0a background-color: #19232D;\x0a padding-top: 2px; /* This QLineEdit fix 103, 111 */\x0a padding-bottom: 2px; /* This QLineEdit fix 103, 111 */\x0a padding-left: 4px;\x0a padding-right: 4px;\x0a border-style: solid;\x0a border: 1px solid #32414B;\x0a border-radius: 4px;\x0a color: #F0F0F0;\x0a}\x0a\x0aQLineEdit:disabled {\x0a background-color: #19232D;\x0a color: #787878;\x0a}\x0a\x0aQLineEdit:hover{\x0a border: 1px solid #148CD2;\x0a color: #F0F0F0;\x0a}\x0a\x0aQLineEdit:selected{\x0a background: #1464A0;\x0a color: #32414B;\x0a}\x0a\x0a/* QTabWiget -------------------------------------------------------------- */\x0a\x0aQTabWidget {\x0a padding: 2px;\x0a selection-background-color: #32414B;\x0a}\x0a\x0a\x0aQTabWidget QWidget QWidget /* add wanted borders fix #141, #126, #123 */\x0aQTabWidget QFrame {\x0a border: 1px solid #32414B;\x0a}\x0a\x0aQTabWidget QLabel {\x0a border: 0px solid #32414B; /* label derived from frame, remove border #141 */\x0a}\x0a\x0aQTabWidget::pane {\x0a border: 1px solid #32414B;\x0a border-radius: 4px;\x0a padding: 0px; /* fixes double border inside pane wit pyqt5 */\x0a margin: 0px;\x0a}\x0a\x0aQTabWidget::pane:selected {\x0a background-color: #32414B;\x0a border: 1px solid #1464A0;\x0a}\x0a\x0a/* QTabBar ---------------------------------------------------------------- */\x0a\x0aQTabBar {\x0a qproperty-drawBase: 0;\x0a border-radius: 4px;\x0a margin: 0px;\x0a padding: 2px;\x0a border: 0;\x0a\x0a /* left: 5px; move to the right by 5px - removed for fix */\x0a }\x0a\x0aQTabBar::close-button {\x0a border: 0;\x0a margin: 2px;\x0a padding: 0;\x0a image: url(:/qss_icons/rc/close.png);\x0a}\x0a\x0aQTabBar::close-button:hover {\x0a image: url(:/qss_icons/rc/close-hover.png);\x0a}\x0a\x0aQTabBar::close-button:pressed {\x0a image: url(:/qss_icons/rc/close-pressed.png);\x0a}\x0a\x0a/* QTabBar::tab - selected ----------------------------------------------- */\x0a\x0aQTabBar::tab:top:selected:disabled {\x0a border-bottom: 3px solid #14506E;\x0a color: #787878;\x0a background-color: #32414B;\x0a}\x0a\x0aQTabBar::tab:bottom:selected:disabled {\x0a border-top: 3px solid #14506E;\x0a color: #787878;\x0a background-color: #32414B;\x0a}\x0a\x0aQTabBar::tab:left:selected:disabled {\x0a border-left: 3px solid #14506E;\x0a color: #787878;\x0a background-color: #32414B;\x0a}\x0a\x0aQTabBar::tab:right:selected:disabled {\x0a border-right: 3px solid #14506E;\x0a color: #787878;\x0a background-color: #32414B;\x0a}\x0a\x0a/* QTabBar::tab - !selected and disabled ---------------------------------- */\x0a\x0aQTabBar::tab:top:!selected:disabled {\x0a border-bottom: 3px solid #19232D;\x0a color: #787878;\x0a background-color: #19232D;\x0a}\x0a\x0aQTabBar::tab:bottom:!selected:disabled {\x0a border-top: 3px solid #19232D;\x0a color: #787878;\x0a background-color: #19232D;\x0a}\x0a\x0aQTabBar::tab:left:!selected:disabled {\x0a border-right: 3px solid #19232D;\x0a color: #787878;\x0a background-color: #19232D;\x0a}\x0a\x0aQTabBar::tab:right:!selected:disabled {\x0a border-left: 3px solid #19232D;\x0a color: #787878;\x0a background-color: #19232D;\x0a}\x0a\x0a/* QTabBar::tab - selected ----------------------------------------------- */\x0a\x0aQTabBar::tab:top:!selected {\x0a border-bottom: 2px solid #19232D;\x0a margin-top: 2px;\x0a}\x0a\x0aQTabBar::tab:bottom:!selected {\x0a border-top: 2px solid #19232D;\x0a margin-bottom: 3px;\x0a}\x0a\x0aQTabBar::tab:left:!selected {\x0a border-left: 2px solid #19232D;\x0a margin-right: 2px;\x0a}\x0a\x0aQTabBar::tab:right:!selected {\x0a border-right: 2px solid #19232D;\x0a margin-left: 2px;\x0a}\x0a\x0a\x0aQTabBar::tab:top {\x0a background-color: #32414B;\x0a color: #F0F0F0;\x0a margin-left: 2px;\x0a padding-left: 4px;\x0a padding-right: 4px;\x0a padding-top: 2px;\x0a padding-bottom: 2px;\x0a min-width: 5px;\x0a border-bottom: 3px solid #32414B;\x0a border-top-left-radius: 3px;\x0a border-top-right-radius: 3px;\x0a}\x0a\x0aQTabBar::tab:top:selected {\x0a background-color: #505F69;\x0a color: #F0F0F0;\x0a border-bottom: 3px solid #1464A0;\x0a border-top-left-radius: 3px;\x0a border-top-right-radius: 3px;\x0a}\x0a\x0aQTabBar::tab:top:!selected:hover {\x0a border: 1px solid #148CD2;\x0a border-bottom: 3px solid #148CD2;\x0a padding: 0px;\x0a}\x0a\x0aQTabBar::tab:bottom {\x0a color: #F0F0F0;\x0a border-top: 3px solid #32414B;\x0a background-color: #32414B;\x0a margin-left: 2px;\x0a padding-left: 4px;\x0a padding-right: 4px;\x0a padding-top: 2px;\x0a padding-bottom: 2px;\x0a border-bottom-left-radius: 3px;\x0a border-bottom-right-radius: 3px;\x0a min-width: 5px;\x0a}\x0a\x0aQTabBar::tab:bottom:selected {\x0a color: #F0F0F0;\x0a background-color: #505F69;\x0a border-top: 3px solid #1464A0;\x0a border-bottom-left-radius: 3px;\x0a border-bottom-right-radius: 3px;\x0a}\x0a\x0aQTabBar::tab:bottom:!selected:hover {\x0a border: 1px solid #148CD2;\x0a border-top: 3px solid #148CD2;\x0a padding: 0px;\x0a}\x0a\x0aQTabBar::tab:left {\x0a color: #F0F0F0;\x0a background-color: #32414B;\x0a margin-top: 2px;\x0a padding-left: 2px;\x0a padding-right: 2px;\x0a padding-top: 4px;\x0a padding-bottom: 4px;\x0a border-top-right-radius: 3px;\x0a border-bottom-right-radius: 3px;\x0a min-height: 5px;\x0a}\x0a\x0aQTabBar::tab:left:selected {\x0a color: #F0F0F0;\x0a background-color: #505F69;\x0a border-left: 3px solid #1464A0;\x0a border-top-right-radius: 3px;\x0a border-bottom-right-radius: 3px;\x0a}\x0a\x0aQTabBar::tab:left:!selected:hover {\x0a border: 1px solid #148CD2;\x0a border-left: 3px solid #148CD2;\x0a padding: 0px;\x0a}\x0a\x0aQTabBar::tab:right {\x0a color: #F0F0F0;\x0a background-color: #32414B;\x0a margin-top: 2px;\x0a padding-left: 2px;\x0a padding-right: 2px;\x0a padding-top: 4px;\x0a padding-bottom: 4px;\x0a border-top-left-radius: 3px;\x0a border-bottom-left-radius: 3px;\x0a min-height: 5px;\x0a}\x0a\x0aQTabBar::tab:right:selected {\x0a color: #F0F0F0;\x0a background-color: #505F69;\x0a border-right: 3px solid #1464A0;\x0a border-top-left-radius: 3px;\x0a border-bottom-left-radius: 3px;\x0a}\x0a\x0aQTabBar::tab:right:!selected:hover {\x0a border: 1px solid #148CD2;\x0a border-right: 3px solid #148CD2;\x0a padding: 0px;\x0a}\x0a\x0aQTabBar QToolButton::right-arrow:enabled {\x0a image: url(:/qss_icons/rc/right_arrow.png);\x0a}\x0a\x0aQTabBar QToolButton::left-arrow:enabled {\x0a image: url(:/qss_icons/rc/left_arrow.png);\x0a}\x0a\x0aQTabBar QToolButton::right-arrow:disabled {\x0a image: url(:/qss_icons/rc/right_arrow_disabled.png);\x0a}\x0a\x0aQTabBar QToolButton::left-arrow:disabled {\x0a image: url(:/qss_icons/rc/left_arrow_disabled.png);\x0a}\x0a\x0aQTabBar QToolButton{\x0a background-color: #32414B; /* fixes #136 */\x0a width: 16px;\x0a height: 16px;\x0a}\x0a\x0a/* QDockWiget ------------------------------------------------------------- */\x0a\x0aQDockWidget {\x0a outline: 1px solid #32414B;\x0a background-color: #19232D;\x0a border: 1px solid #32414B;\x0a border-radius: 4px;\x0a titlebar-close-icon: url(:/qss_icons/rc/close.png);\x0a titlebar-normal-icon: url(:/qss_icons/rc/undock.png);\x0a}\x0a\x0aQDockWidget::title {\x0a padding: 6px; /* better size for title bar */\x0a border: none;\x0a background-color: #32414B;\x0a}\x0a\x0aQDockWidget::close-button {\x0a background-color: #32414B;\x0a border-radius: 4px;\x0a border: none;\x0a}\x0a\x0aQDockWidget::close-button:hover {\x0a border: 1px solid #32414B;\x0a}\x0a\x0aQDockWidget::close-button:pressed {\x0a border: 1px solid #32414B;\x0a}\x0a\x0aQDockWidget::float-button {\x0a background-color: #32414B;\x0a border-radius: 4px;\x0a border: none;\x0a}\x0a\x0aQDockWidget::float-button:hover {\x0a border: 1px solid #32414B;\x0a}\x0a\x0aQDockWidget::float-button:pressed {\x0a border: 1px solid #32414B;\x0a}\x0a\x0a\x0a/* QTreeView QTableView QListView ----------------------------------------- */\x0a\x0aQTreeView:branch:selected,\x0aQTreeView:branch:hover {\x0a background: url(:/qss_icons/rc/transparent.png);\x0a}\x0a\x0aQTreeView::branch:has-siblings:!adjoins-item {\x0a border-image: url(:/qss_icons/rc/transparent.png);\x0a}\x0a\x0aQTreeView::branch:has-siblings:adjoins-item {\x0a border-image: url(:/qss_icons/rc/transparent.png);\x0a}\x0a\x0aQTreeView::branch:!has-children:!has-siblings:adjoins-item {\x0a border-image: url(:/qss_icons/rc/transparent.png);\x0a}\x0a\x0aQTreeView::branch:has-children:!has-siblings:closed,\x0aQTreeView::branch:closed:has-children:has-siblings {\x0a image: url(:/qss_icons/rc/branch_closed.png);\x0a}\x0a\x0aQTreeView::branch:open:has-children:!has-siblings,\x0aQTreeView::branch:open:has-children:has-siblings {\x0a image: url(:/qss_icons/rc/branch_open.png);\x0a}\x0a\x0aQTreeView::branch:has-children:!has-siblings:closed:hover,\x0aQTreeView::branch:closed:has-children:has-siblings:hover {\x0a image: url(:/qss_icons/rc/branch_closed-on.png);\x0a}\x0a\x0aQTreeView::branch:open:has-children:!has-siblings:hover,\x0aQTreeView::branch:open:has-children:has-siblings:hover {\x0a image: url(:/qss_icons/rc/branch_open-on.png);\x0a}\x0a\x0aQListView::item:!selected:hover,\x0aQTreeView::item:!selected:hover,\x0aQTableView::item:!selected:hover,\x0aQColumnView::item:!selected:hover {\x0a outline: 0;\x0a color: #148CD2;\x0a background-color: #32414B;\x0a}\x0a\x0aQListView::item:selected:hover,\x0aQTreeView::item:selected:hover,\x0aQTableView::item:selected:hover,\x0aQColumnView::item:selected:hover {\x0a background: #1464A0;\x0a color: #19232D;\x0a}\x0a\x0aQTreeView::indicator:checked,\x0aQListView::indicator:checked {\x0a image: url(:/qss_icons/rc/checkbox_checked.png);\x0a}\x0a\x0aQTreeView::indicator:unchecked,\x0aQListView::indicator:unchecked {\x0a image: url(:/qss_icons/rc/checkbox_unchecked.png);\x0a}\x0a\x0aQTreeView::indicator:checked:hover,\x0aQTreeView::indicator:checked:focus,\x0aQTreeView::indicator:checked:pressed,\x0aQListView::indicator:checked:hover,\x0aQListView::indicator:checked:focus,\x0aQListView::indicator:checked:pressed {\x0a image: url(:/qss_icons/rc/checkbox_checked_focus.png);\x0a}\x0a\x0aQTreeView::indicator:unchecked:hover,\x0aQTreeView::indicator:unchecked:focus,\x0aQTreeView::indicator:unchecked:pressed,\x0aQListView::indicator:unchecked:hover,\x0aQListView::indicator:unchecked:focus,\x0aQListView::indicator:unchecked:pressed {\x0a image: url(:/qss_icons/rc/checkbox_unchecked_focus.png);\x0a}\x0a\x0aQTreeView::indicator:indeterminate:hover,\x0aQTreeView::indicator:indeterminate:focus,\x0aQTreeView::indicator:indeterminate:pressed,\x0aQListView::indicator:indeterminate:hover,\x0aQListView::indicator:indeterminate:focus,\x0aQListView::indicator:indeterminate:pressed {\x0a image: url(:/qss_icons/rc/checkbox_indeterminate_focus.png);\x0a}\x0a\x0aQTreeView::indicator:indeterminate,\x0aQListView::indicator:indeterminate {\x0a image: url(:/qss_icons/rc/checkbox_indeterminate.png);\x0a}\x0a\x0aQListView,\x0aQTreeView,\x0aQTableView,\x0aQColumnView {\x0a background-color: #19232D;\x0a border: 1px solid #32414B;\x0a color: #F0F0F0;\x0a gridline-color: #32414B;\x0a border-radius: 4px;\x0a}\x0a\x0aQListView:disabled,\x0aQTreeView:disabled,\x0aQTableView:disabled,\x0aQColumnView:disabled {\x0a background-color: #19232D;\x0a color: #787878;\x0a}\x0a\x0aQListView:selected,\x0aQTreeView:selected,\x0aQTableView:selected,\x0aQColumnView:selected {\x0a background: #1464A0;\x0a color: #32414B;\x0a}\x0a\x0aQListView:hover,\x0aQTreeView::hover,\x0aQTableView::hover,\x0aQColumnView::hover {\x0a background-color: #19232D;\x0a border: 1px solid #148CD2;\x0a}\x0a\x0aQListView::item:pressed,\x0aQTreeView::item:pressed,\x0aQTableView::item:pressed,\x0aQColumnView::item:pressed {\x0a background-color: #1464A0;\x0a}\x0a\x0aQListView::item:selected:active,\x0aQTreeView::item:selected:active,\x0aQTableView::item:selected:active,\x0aQColumnView::item:selected:active {\x0a background-color: #1464A0;\x0a}\x0a\x0aQTableCornerButton::section {\x0a background-color: #19232D;\x0a border: 1px transparent #32414B;\x0a border-radius: 0px;\x0a}\x0a\x0a/* QHeaderView ------------------------------------------------------------ */\x0a\x0aQHeaderView {\x0a background-color: #32414B;\x0a border: 0px transparent #32414B;\x0a padding: 0px;\x0a margin: 0px;\x0a border-radius: 0px;\x0a}\x0a\x0aQHeaderView:disabled {\x0a background-color: #32414B;\x0a border: 1px transparent #32414B;\x0a padding: 2px;\x0a}\x0a\x0aQHeaderView::section {\x0a background-color: #32414B;\x0a color: #F0F0F0;\x0a padding: 2px;\x0a border-radius: 0px;\x0a text-align: left;\x0a}\x0a\x0aQHeaderView::section:checked {\x0a color: #F0F0F0;\x0a background-color: #1464A0;\x0a}\x0a\x0aQHeaderView::section:checked:disabled {\x0a color: #787878;\x0a background-color: #14506E;\x0a}\x0a\x0aQHeaderView::section::horizontal:disabled,\x0aQHeaderView::section::vertical:disabled {\x0a color: #787878;\x0a}\x0a\x0aQHeaderView::section::vertical::first,\x0aQHeaderView::section::vertical::only-one {\x0a border-top: 1px solid #32414B;\x0a}\x0a\x0aQHeaderView::section::vertical {\x0a border-top: 1px solid #19232D;\x0a}\x0a\x0aQHeaderView::section::horizontal::first,\x0aQHeaderView::section::horizontal::only-one {\x0a border-left: 1px solid #32414B;\x0a}\x0a\x0aQHeaderView::section::horizontal {\x0a border-left: 1px solid #19232D;\x0a}\x0a\x0a/* Those settings (border/width/height/background-color) solve bug */\x0a/* transparent arrow background and size */\x0a\x0aQHeaderView::down-arrow {\x0a background-color: #32414B;\x0a width: 16px;\x0a height: 16px;\x0a border-right: 1px solid #19232D;\x0a image: url(:/qss_icons/rc/down_arrow.png);\x0a}\x0a\x0aQHeaderView::up-arrow {\x0a background-color: #32414B;\x0a width: 16px;\x0a height: 16px;\x0a border-right: 1px solid #19232D;\x0a image: url(:/qss_icons/rc/up_arrow.png);\x0a}\x0a\x0a/* QToolBox -------------------------------------------------------------- */\x0a\x0aQToolBox {\x0a padding: 0px;\x0a border: 1px solid #32414B;\x0a}\x0a\x0aQToolBox::selected {\x0a padding: 0px;\x0a border: 2px solid #1464A0;\x0a}\x0a\x0aQToolBox::tab {\x0a background-color: #19232D;\x0a border: 1px solid #32414B;\x0a color: #F0F0F0;\x0a border-top-left-radius: 4px;\x0a border-top-right-radius: 4px;\x0a}\x0a\x0aQToolBox::tab:disabled {\x0a color: #787878;\x0a}\x0a\x0aQToolBox::tab:selected {\x0a background-color: #505F69;\x0a border-bottom: 2px solid #1464A0;\x0a}\x0a\x0aQToolBox::tab:!selected {\x0a background-color: #32414B;\x0a border-bottom: 2px solid #32414B;\x0a}\x0a\x0aQToolBox::tab:selected:disabled {\x0a background-color: #32414B;\x0a border-bottom: 2px solid #14506E;\x0a}\x0a\x0aQToolBox::tab:!selected:disabled {\x0a background-color: #19232D;\x0a}\x0a\x0aQToolBox::tab:hover {\x0a border-color: #148CD2;\x0a border-bottom: 2px solid #148CD2;\x0a}\x0a\x0aQToolBox QScrollArea QWidget QWidget {\x0a padding: 0px;\x0a background-color: #19232D;\x0a}\x0a\x0a/* QFrame ----------------------------------------------------------------- */\x0a\x0aQFrame {\x0a border-radius: 4px;\x0a border: 1px solid #32414B;\x0a}\x0a\x0aQFrame[frameShape=\x220\x22] {\x0a border-radius: 4px;\x0a border: 1px transparent #32414B;\x0a}\x0a\x0aQFrame[height=\x223\x22],\x0aQFrame[width=\x223\x22] {\x0a background-color: #19232D;\x0a}\x0a\x0a/* QSplitter -------------------------------------------------------------- */\x0a\x0aQSplitter {\x0a background-color: #32414B;\x0a spacing: 0;\x0a padding: 0;\x0a margin: 0;\x0a}\x0a\x0aQSplitter::separator {\x0a background-color: #32414B;\x0a border: 0 solid #19232D;\x0a spacing: 0;\x0a padding: 1px;\x0a margin: 0;\x0a}\x0a\x0aQSplitter::separator:hover {\x0a background-color: #787878;\x0a}\x0a\x0aQSplitter::separator:horizontal {\x0a width: 5px;\x0a image: url(:/qss_icons/rc/Vsepartoolbar.png);\x0a}\x0a\x0aQSplitter::separator:vertical {\x0a height: 5px;\x0a image: url(:/qss_icons/rc/Hsepartoolbar.png);\x0a}\x0a\x0a\x0a/* QDateEdit-------------------------------------------------------------- */\x0a\x0aQDateEdit {\x0a selection-background-color: #1464A0;\x0a border-style: solid;\x0a border: 1px solid #32414B;\x0a border-radius: 4px;\x0a padding-top: 2px; /* This fix #103, #111*/\x0a padding-bottom: 2px; /* This fix #103, #111*/\x0a padding-left: 4px;\x0a padding-right: 4px;\x0a min-width: 10px;\x0a}\x0a\x0aQDateEdit:on {\x0a selection-background-color: #1464A0;\x0a}\x0a\x0aQDateEdit::drop-down {\x0a subcontrol-origin: padding;\x0a subcontrol-position: top right;\x0a width: 20px;\x0a border-top-right-radius: 3px;\x0a border-bottom-right-radius: 3px;\x0a}\x0a\x0aQDateEdit::down-arrow {\x0a image: url(:/qss_icons/rc/down_arrow_disabled.png);\x0a}\x0a\x0aQDateEdit::down-arrow:on,\x0aQDateEdit::down-arrow:hover,\x0aQDateEdit::down-arrow:focus {\x0a image: url(:/qss_icons/rc/down_arrow.png);\x0a}\x0a\x0aQDateEdit QAbstractItemView {\x0a background-color: #19232D;\x0a border-radius: 4px;\x0a border: 1px solid #32414B;\x0a selection-background-color: #1464A0;\x0a}\x0a\x0aQAbstractView:hover{\x0a border: 1px solid #148CD2;\x0a color: #F0F0F0;\x0a}\x0a\x0aQAbstractView:selected {\x0a background: #1464A0;\x0a color: #32414B;\x0a}\x0a\x0a\x0aPlotWidget {\x0a padding: 0px; /* to fix cut labels in plots #134 */\x0a}\x0a\x00\x00\x02\xe1\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00 \x00\x00\x00 \x08\x06\x00\x00\x00szz\xf4\x00\x00\x00\x09pHYs\x00\x00\x0b\x13\x00\x00\x0b\x13\x01\x00\x9a\x9c\x18\x00\x00\x02\x93IDATX\x85\xed\x96?O\x14Q\x14\xc5\x7fgB\x18\xb6\xb5R>\x80\xc56J%\x95vR\x80b\xe8\xb4\xd3D\x8a\xad\xa4\x9a\x19 fL\xc4\x99\xa5\xa1\x92hL\xb4\xd3\x0e\xff\x00\x85Zi\xa5\x95n!\x89_\x00\xadl\x97\xd9\x98w-\xf6\x0d\xac\x09\xbb\xb8\x806\xee\xe9\xde\xbc\xfb\xde=\xf7\xce}\xe7^\x18`\x80\xff\x1d\xea\xc78M\xd3\xa1\xa2(\xa6\xccl\x068\x07\x8c\xfa\xadm\xe0\xa3\xa4\xb50\x0c7\xd24\xfdy\xec\x04\xe28\xbe\x08\xac\x00U\xe0\x13\xf0\x1e\xf8\xe6\xb7O\x01\xe7\x811`\xcb9wkyy\xf9\xedq\x11P\x14E\x89\xa4%\xe0\xb9\xa4\xc5,\xcb\xb6\xf63L\x92\xa4jfw\x81+\xc0B\x9e\xe79`G\x22\x10E\xd1\xbc\xa4;\x92jY\x96=\xfa\x03\xc2$Ir\xd3\xccV\x81\xdby\x9eg\x87&\xe0\xd3\xfeZ\xd2l\x87s\xc5q|\x0d\xa8\x01g\xfc\xb7\x06\xb0\x9a\xe7\xf9S|\xc4q\x1c\xcf\x02\x0f\x81\x89<\xcf\xdf\xf4M M\xd3\xa1\x9d\x9d\x9d\x06\xf05\xcf\xf3\x19\x80\xb9\xb9\xb9\x13a\x18>\x01.\x03\x0e\x08\xbc\xb9\x03\x023{\xd9j\xb5n\xac\xac\xac\xfc\x00\x88\xa2\xe8\xb9\xa4\xd3###g\xba\x15f\xb0\xdfG\x80\xa2(\xa6\x80\xaa\xa4\xc5\x92\xacw>\xb5\xcf\xd9\x00@\xd2\xa5\xe1\xe1\xe1\xc7e`A\x10,\x00\xd5f\xb39\xd9\xcdOW\x02\xfe\xa9}*\x0b\xce\xa7\xfdr\xaf3@ i:\x8a\xa2\xab\x00Y\x96m\x99\xd9gI3}\x13\xa0\xfd\xce\xdfw\xack\xb4S}\x10\x9c\xa4Z\xb9\x90\xf4\x0e\x18?\x0c\x81Q\xf6\xde9\xb4\x0b\xae\x97\xfd\xee\x9d\x92\xca\xe2\xc4\xcc\xbe\xb3'X}\x11\xf8'\xe8E`\x9b\xb6\xc2\x95h\xf0\x87\xbf\xc0\xcc\x1a\xe5B\xd2I\x7fW\xdf\x04>\xd2\x96\xd7\x12\xab\x07\xd8\xef\xde\xe9E\x08\x003\xbb\x00|\xe8\x9b\x80\xa45`,I\x92*\x80\x17\x99W\xf4\xce\x823\xb3\x97\xf5z\xfd\x19\xb4\xa5Y\xd2Y3[\xeb\x9b@\x18\x86\x1b\xc0\x96\xd7v\x00+\x8a\xe2\xba\x99\xad\x97\xce:\x1d\x03\x98\xd9z\xab\xd5\xba\x81WC\xe7\xdc\x12\xf0\xa5R\xa9lv\x0d\xb4G4]\xa58\x8a\xa2\xab\x92je\xb5\x9bY\xc3\xccV}\xe4\x9dR\xfc\xc097\xd1\xab3\xfe\x95f\xe4\x9d\xdf\xe7\xa8\xcd\xa8\xb4\x89\xe38\x06\xee\x99\xd9\x8b \x08\x16z\xb5c\xe7\xdc\x92\xa4i3\x9b\xaf\xd7\xebu\x8e\xda\x8eKt\x0e$^^\xdfy\x91A\xd2I3\xbb \xe9,\xf0\xc597w\x9c\x03\xc9.\xd24\x1dj6\x9b\x93^\xdb\xc7\xf9}$\xfb`fk\x95Je\xb3\x9f\x91l\x80\x01\x06\xf8\x05h\xaf$(\x9ck\x07\xff\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00\x02+\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00@\x00\x00\x00@\x08\x06\x00\x00\x00\xaaiq\xde\x00\x00\x00\x04sBIT\x08\x08\x08\x08|\x08d\x88\x00\x00\x01\xe2IDATx\x9c\xed\x9bK\x0e\xc3 \x10CiO\x9d#p\xebv\x85\x84\x10\x81\x81\xb1\x0dQ\xf0:5\xf1\xe3\x93\x0c%!\x1c\x1d\x1d\xbdY\x1fec\xd7u\xfd,\xd7\xc5\x18e\xf7Em\xc8\x1a\xb8'&\x10\xb81*\xf4\x9d\xd00`f\xec\xe0\xa5P &\xea\xf0I\x08\x08.\x83U\xc1Ky@L\xffp\x97\xf0I\xb3\x10\x86\x7f\xb4[\xf0R\xa3 \x86.\xde=|\xd2\x08\x04\xf3\x85O\x09\x9fd\x85\xf0e\xdf\xc8\xee2QzZ\xef'YFA\xf7\x82^\xf8\xbc\x11\x15\xa82X\xab\xdd\x1e\x04\xe8\x14\x881~\xd8\x85\x0c\xda\xbf\x09`\xb6GY\x10f|{\x19n\x01x\x873\x1a\x82\xc7\xaf\x95\xc5=\x05<\xf3\xcf\xaa\x96\x8f\xb7\xa3\xaa\xc63\xa6\xac\x9bD\xfa\xd6\xbc`\x8b c$0{>\x09\xfa\x14@BP\x84\x0f\xa12\x05\x10\xe6\xde\x9bg\x86/\xbd)\xaf\xc2\x9e\x91\xa0\xea\xf9$Z-0\x03A\x1d>\x04r14\x02aE\xf8\x10\x8a5\x80\xd5P/\x9c:|\xde\x9e\xa4\x1c\x9e]\x13\x14\xc5\x95l?`4\x8c\xaa\xb2\x94n\x88XC)\xf7\x1f\xe4;B\xbdp\xea\xcd\x179\x00\xcf{\x00CR\x00\xd6pJ\x082\x00\xc8Z\x00)\x09\x80\xd9G\x9d\x02\x02\x1d\x80%\xfcJ\x08\x94j0i\xb4\xe7\x15/E\x92j\xb0\xd6P\xae\xbb0+F\x02\x05\x80\xa7'\xd5\x10\xe0\x00\x10\xc3X\x09\x01\xb6)\x1a\x02~\x0e+\xfc`#\x80\xb1\x80)F\x02\x04\x00s\xf5fCp\xdf\xb8\xaa\x9egm\xb4.\xd9\x13\xdc\xc1/\xe9\x16\x00\xeb\xbf8\x8f\x18\x8b3|\x04\xb0\xeby\xb4\xbf\xfb\x80\xc4\xee\xea\x8d\xe4sD\xc6j\xf64\x08\xe7\x94\x98Q\xe7\xa0\xe4\xa8\xf9\xee\x10\xa8Ges\xed\x06BvX:\xd7.\x10\x96\x1c\x97OZ\x0d\xc1[\x10\x9dOf\x10&\xb9^\xfb\xd1TM\xaf\xfcl\xae\xa5\x1d?\x9c<z\xbb\xfe_XZ\xcd\xa5\xce{\xda\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00\x00\xac\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00\x07\x00\x00\x00?\x08\x06\x00\x00\x00,{\xd2\x13\x00\x00\x00\x06bKGD\x00\xb3\x00y\x00y\xdc\xddS\xfc\x00\x00\x00\x09pHYs\x00\x00\x0b\x13\x00\x00\x0b\x13\x01\x00\x9a\x9c\x18\x00\x00\x00\x07tIME\x07\xdf\x04\x19\x10.\x14\xfa\xd6\xc4\xae\x00\x00\x009IDAT8\xcbc` \x06\xc4\xc7\xc73\xc4\xc7\xc7\xa3\x881aS\x84S\x12\xaf\xce\x91(\xc9\x82\xc4\xfe\x8f\xc4f\x1c\x0d\xa1Q\xc9Q\xc9QI|\x05\x06\xe3h\x08\x91*I>\x00\x00\x88K\x04\xd39.\x90?\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00\x00\xb6\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00\x18\x00\x00\x00\x11\x08\x06\x00\x00\x00\xc7xl0\x00\x00\x00\x01sRGB\x00\xae\xce\x1c\xe9\x00\x00\x00\x06bKGD\x00\xff\x00\xff\x00\xff\xa0\xbd\xa7\x93\x00\x00\x00\x09pHYs\x00\x00\x0b\x13\x00\x00\x0b\x13\x01\x00\x9a\x9c\x18\x00\x00\x00\x07tIME\x07\xdc\x08\x17\x0b,\x0d\x1fC\xaa\xe1\x00\x00\x006IDAT8\xcbc` \x01,Z\xb4\xe8\xff\xa2E\x8b\xfe\x93\xa2\x87\x89\x81\xc6`\xd4\x82\x11`\x01#\xa9\xc9t\xd0\xf9\x80\x85\x1cMqqq\x8c\xa3\xa9h\xd4\x82ad\x01\x001\xb5\x09\xec\x1fK\xb4\x15\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00\x02)\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00@\x00\x00\x00@\x08\x06\x00\x00\x00\xaaiq\xde\x00\x00\x00\x04sBIT\x08\x08\x08\x08|\x08d\x88\x00\x00\x01\xe0IDATx\x9c\xed[Ir\xc0 \x0cs;}t\x9e\x90_\xb7'fh\x86\x04\x03\x92\xec6\xe8L\xbc(b7f\x1b\x1b\x1bo\xc6\x87\xd2\xd9q\x1c\xdf\x9ev\xe7y\xca\xe2\xa2:\xf2&\xdc\x03\x93\x10\xb8aT\xd2w@\x93\x013\xc6N\xfc\x0a\x14\x11\x10#\xea\xe4\x0b\x10$,\x19\x88J\xfc\x8a\x15\x22\xa6?\xcc\x92|\xc1,\x09\xc3\x1feK\xfc\x8aQ\x22\x86\x1agO\xbe`\x84\x04w\xc3\xbf\x92|\x81\x97\x84/v O\xa8\x83\x8c\x22\xd8\xc5\x12#\xb8\xd6\x1fB\xfb\xf1\xa8\xa0\xdb@\x95<\xcb_\x8f\x84O\xa43\x0fz\x01)7Bf\x1d\x05DH\x92\xe1\xfb\xc9o\x1a)\xb2c\xb8\xf3/\xe9\x02\xb3}^\xd1\x1d\x9a\x0eT\xf2\xab\xfd(\x06\xc6\x96\x0f\xaa\x02F\x92\x8aR\x02\x8d\x80\x99?\x1aA\x02e1\xb2*gfw\xb8\xda\x86+\x00\x11\xbcR\x09P\x02\x90\x7fNE\x02\x8c\x00\x86l\x15$\xfc22\x1b({\x0aC\xdb\xaf\xed-+@1\x7f3\x95\xb0D\x80rW\xc7\x22a\x9a\x00e\xf2\x1e\xbb\xb3$\xc0\xa7A\xf6\xc9\x0e\xda\xbet\x1d\x90\xd1\xfe4\x01\x11\xcbVF\xb7[R\x80\x92\x04\xd6\x98\xb3\xdc\x05\x14$0\x07\x5c\xc8\x18\xc0$\x81=\xdb@w\x83\xcc\x15\x1b\xc2^\xcb&t\x16@*A\xb5\xce\x90\xae\x03\xbc$(\x17Y\x94\x13\xa1\x15\x12\xd4+L\xea\xa1\xe8h2\x11\xbbJ\xea\xa1\xe8\x88\x12\x22\xf6\x16f\x82{\x01\x0f\x09Q\xc9\x9b\xed\x9b!\xdd\xe5(\xf2L\x10\x09\xe9\xe5\xa8\x99O\x09J\xf5\xc9\xaf\xc7{\xc9\xa9+EB\x0a$\xcc4\x15\x22w~j\x84\x95\xc8\x98\xf1k\x84 %2\x05\xff\xb5JL>\x06d\xc3.\x94\x1c5\x9e\x9d\x04j\xa9l\x8dlD\xc8\x8a\xa5kd!!\xa4\x5c\xbe \x9a\x84\xd53\xc7\xfdd\x06a\xa4\xc6k\x1fM\xb5\xf0\xcagsO\xc8\xf8pr\xe3\xed\xf8\x01\xedrr\xcc\x11N\x0c\xe5\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00\x02\x84\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00 \x00\x00\x00 \x08\x06\x00\x00\x00szz\xf4\x00\x00\x00\x09pHYs\x00\x00\x0b\x13\x00\x00\x0b\x13\x01\x00\x9a\x9c\x18\x00\x00\x026IDATX\x85\xed\x96\xb1N\x14Q\x14\x86\xbf3\x92,\xfb\x06\xc8\x03Xl#T\x920+\x1d\x0d$\x1aj[\x89\xb1\xd2\xc4d\xee\x054c\xe283\xc4D\x1bm,\x8c/\xb0X@e\xb3\x90I\x84\x06\xb4`\x13\x13h\x11\x9f`\xd9h\xee\xb1`\x10L\x9c\xcd\xce.\xb1q\xbf\xf6\xfc3\xe7\xcf\xcd=\xff=0d\xc8\xff\x8e\x94\x11\x87a8\xd2\xe9t\xe6Uu\x01\xb8\x01\x8c\xe7\xa5#`GD\x1a\x95Je=\x0c\xc3\x9f\x97n\xc0\x183\x0b\xbc\x04j\xc0\x1e\xb0\x05|\xcb\xcbW\x81\x9b\xc0$\xd0r\xce=X]]\xfdxY\x06$\x08\x02+\x22\x11\xb0&\x22+q\x1c\xb7\xfe&\xb4\xd6\xd6T\xf5\x19p\x1bXN\x92$\x01t \x03A\x10,\x89\xc8S\x11\xb9\x1f\xc7\xf1\xdb\x1e\x0cc\xad\xbd\xab\xaao\x80'I\x92\xc4\xdd\xb4W\xba\x15\x8d1\xb3\x22\xf2ND\xee\xf5\xda\x1c \xcb\xb2]\xdf\xf7\xbf\x03\xaf|\xdf\xff\x94e\xd9a\x91\xb6\xf0\x04\xc20\x1c999\xf9\x02|M\x92d\xa1\xd7\xe6\x17\x09\x82`MD\xae\x8d\x8e\x8e^/\xba\x98^\xd1\xc7\x9dNg\x1e\xa8\x89\xc8J?\xcd\x01<\xcf[\x06j\xedv{\xaePST\xc8Gm\xaf\xe8\xc2\xf5B\x1c\xc7-U\xfd,\x22\x85'Xh\x80\xd39\xdf\xea\xb7\xf9\x19\x22\xb2\x09L\xf5c`\x9c\xf39\xef\x1bU=\xe6<\xb0J\x19\xf8't3p\xc4i\xc2\x0d\x84\x88\x8c\xe5\xff*m`\x87\xd3x\x1d\x08U\x9d\x01\xb6K\x1b\x10\x91\x060i\xad\xad\xf5\xdb\xdcZ[\x13\x91\x09Um\x946P\xa9T\xd6\x81V\x9e\xed}\xe1\x9c\x8b\x80\xfdj\xb5\xbaQ\xa4)\x8c\xe2f\xb3\xe9|\xdf?\x00\xa2z\xbd~\x94e\xd9n\x99\xe6\xc6\x98E\x11y\xe4\x9c\xbb\x13E\xd1Ai\x03\x00Y\x96\x1dNOO\xff\x00^\xd4\xeb\xf5\xe3^M\x18c\x16\x81\xd7\xc0\xe34M\xdfw\xd3\xf6\xf4\x1c\x1bc\x0c\xf0\x5cU?x\x9e\xb7\xdc\xed9v\xceE\x22rKU\x97\xd24M\x19\xf49>\xe3\xe2B\x92\xc7\xebf\x1e2\x88\xc8\x98\xaa\xce\x88\xc8\x04\xb0\xef\x9c{x\x99\x0b\xc9o\xc20\x1ci\xb7\xdbsy\xb6O\xf1\xe7J\xb6\xad\xaa\x8dj\xb5\xbaQf%\x1b2d\xc8/\xffB\xe0?O\xfa\x9f\x03\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00\x00\x9f\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00\x09\x00\x00\x00\x06\x08\x04\x00\x00\x00\xbb\xce|N\x00\x00\x00\x01sRGB\x00\xae\xce\x1c\xe9\x00\x00\x00\x02bKGD\x00\xff\x87\x8f\xcc\xbf\x00\x00\x00\x09pHYs\x00\x00\x0b\x13\x00\x00\x0b\x13\x01\x00\x9a\x9c\x18\x00\x00\x00\x07tIME\x07\xdc\x08\x17\x08\x14\x1f\xf9#\xd9\x0b\x00\x00\x00#IDAT\x08\xd7c`\xc0\x0d\xe6|\x80\xb1\x18\x91\x05R\x04\xe0B\x08\x15)\x02\x0c\x0c\x8c\xc8\x02\x08\x95h\x00\x00\xac\xac\x07\x90Ne4\xac\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00\x01\x82\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00 \x00\x00\x00 \x08\x06\x00\x00\x00szz\xf4\x00\x00\x00\x09pHYs\x00\x00\x0b\x13\x00\x00\x0b\x13\x01\x00\x9a\x9c\x18\x00\x00\x014IDATX\x85\xed\xd7\xb1N\xc2P\x18\x86\xe1\xf77\x14F\xca\x82\xd7\xd0\x85DH\xea\x0a\xd1T\x22\xc6\x1b\xe0*\xea,\x0e\xb2\xc3Up\x09\xc4\xd8\x98\xb0w\xd0\x84\xa5\xf7\xc0B\x1d\xb1$\xc7\xa1-6\xb58\x986\x0e\x9eo<m\xfa=\xe7t\xf9\x0f\xfc\xf7H~\xa1;\x18]\x81\xba\x03\xb1\x01\xb3\xa4\x9e\x10\x94\x0f2{]-\x9f\x8f\x02z\xfd\x9b\xa9\x12u\x0f\xec\x04\x02\x85z/\xa3]\x90\xa6\x02\x0bh(\x98\xbe\xad\x96\x0f\xdf\x00\xdd\xfe\xf5\x10\x91'\xe0eoD\xe3\xb5\xe7m\xca(O\xd3q\x9cv-2\x16\xc0%0LO\xe2$\xc3t\x81]\x15\xe5\x00k\xcf\xdb\xec\x8dh\x0c|\x00n\xba\xfe\x05@l\x81\xa0\x8a\xf2,\x02\x08\x00\xbb\x00\x80Y\xd6?\xff9*\x04ZE\x80?\x89\x06h\x80\x06h\x80\x06h\x80\x06h@\x16\x10\x0a\xd2\xac\xbeRL`[\x00P\xbe\x02\xab\xe38\xed\xaa\xaa\x93o[\x80_\x00\x90\x19\xd0\xa8E\xc6\xa2\x0a\xc4\xf9\xc5\xedi2\x96\xd7\x81\xf9\xa15\xfb\xd2\xd9`\xf4(0!\x1e\x9d\x83d\x80,!b\x12\xef\xbc~\xf4b\x92&\xbe\x9a\xe1\x12\x8f\xce\xad\xfc\xf3_fK|\xec\xf3\xfc\xd5L\xe7\x13\xc4\xb0_D\xcf\x0c[\xaa\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00\x00\xc3\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00@\x00\x00\x00@\x08\x06\x00\x00\x00\xaaiq\xde\x00\x00\x00\x06bKGD\x00\xff\x00\xff\x00\xff\xa0\xbd\xa7\x93\x00\x00\x00\x09pHYs\x00\x00\x0b\x13\x00\x00\x0b\x13\x01\x00\x9a\x9c\x18\x00\x00\x00\x07tIME\x07\xdc\x0b\x07\x09.7\xffD\xe8\xf0\x00\x00\x00\x1diTXtComment\x00\x00\x00\x00\x00Created with GIMPd.e\x07\x00\x00\x00'IDATx\xda\xed\xc1\x01\x0d\x00\x00\x00\xc2\xa0\xf7Om\x0e7\xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80w\x03@@\x00\x01\xafz\x0e\xe8\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00\x01\x8d\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00 \x00\x00\x00 \x08\x06\x00\x00\x00szz\xf4\x00\x00\x00\x09pHYs\x00\x00\x0b\x13\x00\x00\x0b\x13\x01\x00\x9a\x9c\x18\x00\x00\x01?IDATX\x85\xed\x97Aj\xc2@\x14\x86\xbf\x17\x82.\x8d\x1b{\x86\x5c\xc0\x13\x14\xf4\x0e\x9e\xc2\x12H\x94\xb6\x8b\xbaQ\x08z\x0a\xcfP\x0a=A.\x90;\xb8\xd1.\x95\x90\xbf\x8b\x9ab\x15)\x94\xa4]t\xbe\xd5\xe4\xcd\x90\xffcf\xf3\x1e\xfcw\xec\xbc\x10\xc7\xf1\xc0\xcc\xee$\xf5\xcd,\xa8#D\xd2\xce\xcc2I\xcb\xc5b\xf1rU`2\x99\xcc$\xdd\x03{I\xb9\x99\xbd\xd5$\xd01\xb3\x10h\x03\xb3\xf9|\xfex!\x90$\xc9\x10x\x06^\x8b\xa2\x18\xa5i\xba\xa9#\xbc\x22\x8a\xa2\x9e\xef\xfbk\xe0V\xd2\xb0\xba\x09\xef\xe4\xcc\x18\xd87\x11\x0e\x90\xa6\xe9\xa6(\x8a\x11p\xf0<o\x5c\xd5?\x05$\xf5%\xe5M\x84\x9fJ\x00\xb9\xa4\xfe\x85\x80\x99\x05u\xbd\xf97\xec\x80\xee\x85\xc0_\xe1\x04\x9c\x80\x13p\x02N\xc0\x098\x01'\xe0W\x0bI;\xa0\xf3\x0b\x99\x01\xb0\xad>N[\xb2\xcc\xcc\xc2(\x8azM%\x1f\xff\x1d\x9aYv! i\x09\xb4}\xdf_7!1\x9dNo\x8emy\xab,\xcbUU\xff2\x98$I\xf2\x04<\x00\x07 \xe7\xa3\x81\xac\x83\x00\x08\x81\x16\xd7\x06\x93\x8a8\x8e\x07\x9e\xe7\x8d\x8f\xads\xf7|\xff\x87l\xcd,+\xcbru>\x9a9\xde\x01#\x94}H\x8c\x1a5\x0f\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00\x00\xef\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00Q\x00\x00\x00:\x08\x06\x00\x00\x00\xc8\xbc\xb5\xaf\x00\x00\x00\x01sRGB\x00\xae\xce\x1c\xe9\x00\x00\x00\x06bKGD\x00\xff\x00\xff\x00\xff\xa0\xbd\xa7\x93\x00\x00\x00\x09pHYs\x00\x00\x0b\x13\x00\x00\x0b\x13\x01\x00\x9a\x9c\x18\x00\x00\x00\x07tIME\x07\xdc\x08\x17\x0b*2\xff\x7f Z\x00\x00\x00oIDATx\xda\xed\xd0\xb1\x0d\x000\x08\x03A\xc8\xa0\x0c\xc7\xa2I\xcf\x04(\xba/]Y\x97\xb1\xb4\xee\xbes\xab\xaa\xdc\xf8\xf5\x84 B\x84(\x88\x10!B\x14D\x88\x10!\x0a\x22D\x88\x10\x05\x11\x22D\x88\x82\x08\x11\x22DA\x84\x08Q\x10!B\x84(\x88\x10!B\x14D\x88\x10!\x0a\x22D\x88\x10\x05\x11\x22D\x88\x82\x08\x11\x22DA\x84\x08Q\x10!B\xfc\xaa\x07\x12U\x04tV\x9e\x9eT\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00\x025\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00@\x00\x00\x00@\x08\x06\x00\x00\x00\xaaiq\xde\x00\x00\x00\x04sBIT\x08\x08\x08\x08|\x08d\x88\x00\x00\x01\xecIDATx\x9c\xed\x9bK\x92\xc3 \x10C\xc9\x9ca\x0e\x98\xc5\x1c+\x8b9`\xee\x90\xac\xa8\xa2(\x1b\x1aZ\x12\xed2Z;\xc2z|\xec&8\xa5\xad\xad\xad;\xeb\xa1l\xec\xf7\xef\xffc\xb9\xee\xfdz\xca\xee\x8b\xda\x905pOL pcT\xe83\xa1a\xc0\xcc\xd8\xc1k\xa1@@L\xd4\xe1\xb3\x10\x10\x5c\x06\xab\x82\xd7\xf2\x80\x98\xfea\x94\xf0Y\xb3\x10\x86\x7f\x14-x\xadQ\x10C\x17G\x0f\x9f5\x02\xc1|\xe1U\xc2gY!\xfc\xb0o$\xbaL\x94\xae\xd6\xfbY\x96Q\xd0\xbd\xa0\x17\xbelD\x05\xaa\x0e\xd6j\xb7\x07\x01:\x05\xde\xaf\xe7\x83]\xc8\xa0\xfd\x9b\x00f{\x94\x05a\xc6\xb7\x97\xe1\x14\x80w8\xa3!x\xfcZY\xdcS\xc03\xff\xacj\xf9x;\xea\xd0x\xc6\x94u\x93H\xdf#/\xd8\x22\xc8\x18\x09\xcc\x9e\xcf\x82>\x05\x90\x10\x14\xe1S:\x98\x02\x08s\xef\xcd3\xc3\xd7\xde\x94Wa\xcfHP\xf5|\x16\xad\x16\x98\x81\xa0\x0e\x9f\x12\xb9\x18\x1a\x81\xb0\x22|J\xd5\x1a\xc0j\xa8\x17N\x1d\xbelOR\x0e\xcf\xae\x09\x8a\xe2J\xb6\x1f0\x1aFUYJ7D\xac\xa1\x94\xfb\x0f\xf2\x1d\xa1^8\xf5\xe6\x8b\x1c\x80\xe7=\x80!)\x00k8%\x04\x19\x00d-\x80\x94\x04\xc0\xec\xa3N\x01\x81\x0e\xc0\x12~%\x04J5\x985\xda\xf3\x8a\x97\x22I5x\xd4P\xa9\xb30+F\x02\x05\x80\xa7'\xd5\x10\xe0\x00\x10\xc3X\x09\x01\xb6)\x9a\x12~\x0e+\xfc`#\x80\xb1\x80)F\x02\x04\x00s\xf5fCp\xdf\xb8\xaa\x9egm\xb4.\xd9\x13\x8c\xe0\x97u\x0a\x80\xf5_\x9cG\x8c\xc5\x19>\x02\xd8\xf5<\xda\xdf}@\x22\xbaz#y\x1f\x91\xb1\x9a]\x0d\xc2>%f\xd4>(9j\x1e\x1d\x02\xf5\xa8l\xa9h d\x87\xa5KE\x81\xb0\xe4\xb8|\xd6j\x08\xde\x82h\x7f2\x830)u\xdb\x8f\xa6\x8et\xcb\xcf\xe6Z\x8a\xf8\xe1\xe4\xd6\xdd\xf5\x05\x90\xc2Z}\xfa\xa7\x95\xa2\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00\x01\xa2\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00 \x00\x00\x00 \x08\x06\x00\x00\x00szz\xf4\x00\x00\x00\x09pHYs\x00\x00\x0b\x13\x00\x00\x0b\x13\x01\x00\x9a\x9c\x18\x00\x00\x01TIDATX\x85\xed\x97Aj\xc2@\x14\x86\xbf\x17\x82.\x8d\x1b{\x06/\xe0\x09\x0az\x07Oa\x09d\x94\xb6\x8b\xba\x89\x10\xf4\x14\x9e\xa1\x14z\x02/\xe0\x1d\xdch\x97J\xc8\xdfEMI\x15+\xb4I7\xcd\xb7\x9b7\xc3\xfc\x1f\x19\xc2\xbc\x81\xff\x8e\x9d\x16\xa2(\xea\x9b\xd9\x9d\xa4\x9e\x99\x05e\x84H\xda\x99\xd9J\xd2|6\x9b\xbd\x5c\x14\x18\x8f\xc7SI\xf7\xc0^\xd2\xda\xcc\xdeJ\x12h\x99Y\x17h\x02\xd38\x8e\x1f\xcf\x04\x9cs\x03\xe0\x19xM\xd3t\x98$\xc9\xa6\x8c\xf0\x9c0\x0c;\xbe\xef/\x81[I\x83\xfcKx\x855#`_E8@\x92$\x9b4M\x87\xc0\xc1\xf3\xbcQ^\xff\x14\x90\xd4\x93\xb4\xae\x22\xbc(\x01\xac%\xf5\xce\x04\xcc,(\xeb\xcc\xaf\xb0\x03\xda\xf9\xc0\xbf\xb6\xda9\xa7\xdf\xa4\xc5q|\xf6\xa7\x15\xf1\xbe\x9b\xfc\x0bj\x81Z\xa0\x16\xa8\x05j\x81Z\xa0\x16\xb8\xda\x0f\x5c\xbb\xcfK\x13\x90\xb4\x03ZU\x86\x1d\x09\x80m>(\xb6d+3\xeb\x86a\xd8\xa9*\xf9\xb8w\xd7\xccVg\x02\x92\xe6@\xd3\xf7\xfde\x15\x12\x93\xc9\xe4\xe6\xd8\x967\xb2,[\xe4\xf5/\xe7\xeb\x9c{\x02\x1e\x80\x03\xb0\xe6\xa3\x81,\x83\x00\xe8\x02\x0d.=Lr\xa2(\xea{\x9e7:\xb6\xce\xed\xd3\xf9\x1f\xb25\xb3U\x96e\x8b\xd3\xa7Y\xcd;\xf1#\x82\xe5\xfbO\xe3\xdb\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00\x00\xa6\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00\x06\x00\x00\x00\x09\x08\x04\x00\x00\x00\xbb\x93\x95\x16\x00\x00\x00\x01sRGB\x00\xae\xce\x1c\xe9\x00\x00\x00\x02bKGD\x00\xff\x87\x8f\xcc\xbf\x00\x00\x00\x09pHYs\x00\x00\x0b\x13\x00\x00\x0b\x13\x01\x00\x9a\x9c\x18\x00\x00\x00\x07tIME\x07\xdc\x08\x17\x14\x1d\x00\xb0\xd55\xa3\x00\x00\x00*IDAT\x08\xd7c`\xc0\x06\xfe\x9fg``B0\xa1\x1c\x08\x93\x81\x81\x09\xc1d``b``4D\xe2 s\x19\x90\x8d@\x02\x00d@\x09u\x86\xb3\xad\x9c\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00\x00\x96\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00\x09\x00\x00\x00\x06\x08\x04\x00\x00\x00\xbb\xce|N\x00\x00\x00\x02bKGD\x00\xd3\xb5W\xa0\x5c\x00\x00\x00\x09pHYs\x00\x00\x0b\x13\x00\x00\x0b\x13\x01\x00\x9a\x9c\x18\x00\x00\x00\x07tIME\x07\xdc\x0b\x07\x0c\x0d\x1bu\xfe1\x99\x00\x00\x00'IDAT\x08\xd7e\x8c\xb1\x0d\x00\x00\x08\x83\xe0\xff\xa3up\xb1\xca\xd4\x90Px\x08U!\x14\xb6Tp\xe6H\x8d\x87\xcc\x0f\x0d\xe0\xf0\x08\x024\xe2+\xa7\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00\x00\xa0\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00\x06\x00\x00\x00\x09\x08\x04\x00\x00\x00\xbb\x93\x95\x16\x00\x00\x00\x01sRGB\x00\xae\xce\x1c\xe9\x00\x00\x00\x02bKGD\x00\xff\x87\x8f\xcc\xbf\x00\x00\x00\x09pHYs\x00\x00\x0b\x13\x00\x00\x0b\x13\x01\x00\x9a\x9c\x18\x00\x00\x00\x07tIME\x07\xdc\x08\x17\x14\x1c\x1f$\xc6\x09\x17\x00\x00\x00$IDAT\x08\xd7c`@\x05\xff\xcf\xc3XL\xc8\x5c&dY&d\xc5p\x0e\xa3!\x9c\xc3h\x88a\x1a\x0a\x00\x00m\x84\x09u7\x9e\xd9#\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00\x00\xa5\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00\x09\x00\x00\x00\x06\x08\x04\x00\x00\x00\xbb\xce|N\x00\x00\x00\x01sRGB\x00\xae\xce\x1c\xe9\x00\x00\x00\x02bKGD\x00\x9cS4\xfc]\x00\x00\x00\x09pHYs\x00\x00\x0b\x13\x00\x00\x0b\x13\x01\x00\x9a\x9c\x18\x00\x00\x00\x07tIME\x07\xdc\x08\x17\x0b\x02\x04m\x98\x1bi\x00\x00\x00)IDAT\x08\xd7c`\xc0\x00\x8c\x0c\x0c\xff\xcf\xa3\x08\x18220 \x0b2\x1a200B\x98\x10AFC\x14\x13P\xb5\xa3\x01\x00\xd6\x10\x07\xd2/H\xdfJ\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00\x0b\x17\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00?\x00\x00\x00\x07\x08\x06\x00\x00\x00\xbfv\x95\x1f\x00\x00\x00\x87zTXtRaw profile type exif\x00\x00x\xdaU\x8e\xd1\x0d\xc40\x08C\xff\x99\xe2F @L\x18\xa7\xaa\x1a\xe96\xb8\xf1\x0f\x94Vm\xdf\x87\xb1,d\xa0\xe3\xf7\x9d\xf4)\x1a\x0bY\xf7\x81\x008\xb1\xb0\x90-\xcd\xe0\x8527\xe1V3uqNm\xe9\xe4\x8eIe\x19\xc4p\xb6{\xd1\xce\xfc\xa2+\x06\xa6\x9b;:v\xec\x92\xedr\xa8\xa8\xa4VQ\xb5r\xbd\x11\x8fk\xf3\xfa\xe8\x9d\xb3\xbf\xcb\xe9\x0fH!,K\xed~\xc6\xe4\x00\x00\x0a\x00iTXtXML:com.adobe.xmp\x00\x00\x00\x00\x00<?xpacket begin=\x22\xef\xbb\xbf\x22 id=\x22W5M0MpCehiHzreSzNTczkc9d\x22?>\x0a<x:xmpmeta xmlns:x=\x22adobe:ns:meta/\x22 x:xmptk=\x22XMP Core 4.4.0-Exiv2\x22>\x0a <rdf:RDF xmlns:rdf=\x22http://www.w3.org/1999/02/22-rdf-syntax-ns#\x22>\x0a <rdf:Description rdf:about=\x22\x22\x0a xmlns:exif=\x22http://ns.adobe.com/exif/1.0/\x22\x0a xmlns:tiff=\x22http://ns.adobe.com/tiff/1.0/\x22\x0a exif:PixelXDimension=\x2263\x22\x0a exif:PixelYDimension=\x227\x22\x0a tiff:ImageWidth=\x2263\x22\x0a tiff:ImageHeight=\x227\x22\x0a tiff:Orientation=\x221\x22/>\x0a </rdf:RDF>\x0a</x:xmpmeta>\x0a \x0a \x0a \x0a \x0a \x0a \x0a \x0a \x0a \x0a \x0a \x0a \x0a \x0a \x0a \x0a \x0a \x0a \x0a \x0a \x0a \x0a<?xpacket end=\x22w\x22?>@\x00Zq\x00\x00\x00\x04sBIT\x08\x08\x08\x08|\x08d\x88\x00\x00\x00/IDAT8\xcbc`\x18\x05#\x130\xc2\x18\xf1\xf1\xf1\xa4\xe8\xfb?\x98\xfdB\x0cX\xb8p!\x03\xd3H\x8e\xf9\x11\xe9\xf9\x85\x0b\x17\x8e\xe6\xf9\x11\x0d\x00\x8bl\x05\xe9)K\xfc\x15\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00\x0b\x1f\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00@\x00\x00\x00\x10\x08\x06\x00\x00\x00\xa6\xe7y)\x00\x00\x00\x87zTXtRaw profile type exif\x00\x00x\xdaU\x8e\xcb\x0d\xc3@\x08D\xefT\x91\x12\xf8\xed\xb0\x94\x13Y\xb6\x94\x0eR~@k\xcb\xf1;\xc0h\xb4\xfb\x04\xed\xdf\xcfA\xafFX\xc9GL$\xc0\x85\xa7\xa7\xbe+L^\x18\xb3(K\xef\x9a\x8bs\x9bT\xd2\xbb&\xd3\x15\x903\xd8\xef\x87~\xf6\x17\xc30q\x84G``\xc3\xa6e\xd7\xdd\xd4\xb4f\x8b\xda\xca}F\xfeI\xae\xdf\xf6\xec\xe5\xe9f\xfa\x01?{,\x10\xd82\x95\xc4\x00\x00\x0a\x02iTXtXML:com.adobe.xmp\x00\x00\x00\x00\x00<?xpacket begin=\x22\xef\xbb\xbf\x22 id=\x22W5M0MpCehiHzreSzNTczkc9d\x22?>\x0a<x:xmpmeta xmlns:x=\x22adobe:ns:meta/\x22 x:xmptk=\x22XMP Core 4.4.0-Exiv2\x22>\x0a <rdf:RDF xmlns:rdf=\x22http://www.w3.org/1999/02/22-rdf-syntax-ns#\x22>\x0a <rdf:Description rdf:about=\x22\x22\x0a xmlns:exif=\x22http://ns.adobe.com/exif/1.0/\x22\x0a xmlns:tiff=\x22http://ns.adobe.com/tiff/1.0/\x22\x0a exif:PixelXDimension=\x2264\x22\x0a exif:PixelYDimension=\x2216\x22\x0a tiff:ImageWidth=\x2264\x22\x0a tiff:ImageHeight=\x2216\x22\x0a tiff:Orientation=\x221\x22/>\x0a </rdf:RDF>\x0a</x:xmpmeta>\x0a \x0a \x0a \x0a \x0a \x0a \x0a \x0a \x0a \x0a \x0a \x0a \x0a \x0a \x0a \x0a \x0a \x0a \x0a \x0a \x0a \x0a<?xpacket end=\x22w\x22?>'q\xef\x0e\x00\x00\x00\x04sBIT\x08\x08\x08\x08|\x08d\x88\x00\x00\x005IDATX\xc3\xed\xd5\xb1\x0d\x000\x08\x041\xc8\xa2\xcc\xc6\xa4I\x9b\x1d\xde\xee(\x91@WE\xb6\xfe\x87\x99\xb9I\xcb\xefn\x9f\xf4\x0b8\x9e\x00\x90A\x19\x94A\x80H\x0f\xc6\x9d\x08\x0b\xaacu(\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00\x00\xe0\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00Q\x00\x00\x00:\x08\x06\x00\x00\x00\xc8\xbc\xb5\xaf\x00\x00\x00\x01sRGB\x00\xae\xce\x1c\xe9\x00\x00\x00\x06bKGD\x00\xff\x00\xff\x00\xff\xa0\xbd\xa7\x93\x00\x00\x00\x09pHYs\x00\x00\x0b\x13\x00\x00\x0b\x13\x01\x00\x9a\x9c\x18\x00\x00\x00\x07tIME\x07\xdc\x08\x17\x0b)\x1c\x08\x84~V\x00\x00\x00`IDATx\xda\xed\xd9\xb1\x0d\x00 \x08\x00AqP\x86cQ\xed\x8d\x85%\x89w\xa5\x15\xf9HE\x8c\xa6\xaaj\x9do\x99\x19\x1dg\x9d\x03\x11E\x14\x11\x11E\x14QDD\x14QD\x11\x11QD\x11EDD\x11E\x14\x11\x11E\x14\xf1[\xd1u\xb0\xdb\xdd\xd9O\xb4\xce\x88(\x22\x00\x00\x00\x00\x00\x00\x00\x00\x00\xcf6\xcei\x07\x1e\xe99U@\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00\x02\xa1\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00 \x00\x00\x00 \x08\x06\x00\x00\x00szz\xf4\x00\x00\x00\x09pHYs\x00\x00\x0b\x13\x00\x00\x0b\x13\x01\x00\x9a\x9c\x18\x00\x00\x02SIDATX\x85\xed\x96\xbfO\x13a\x18\xc7?\xcf\xb5\x13\xa6\x86\xd1v\xa3\x03\x90.\xd2\xeb\x00\x13\x5cKB\x82W\xa2av\xc58j\xe2 ?\xdc\xa8\xd1\xc4D\x17'\x06\xe3?P\x1cZ\x18\x08P\x18\x14\x12iq\xa0\x89\x0d\xa4L-n\xc4F\x16\xec=\x0e\x80a\xe0\xe0\xae\x10\x17\xfbY\xdf\xef{\xdf\xef\xdd\xbd\xef\xf3<\xd0\xa6\xcd\xff\x8e\xf8\x11[\x96\x15l\x10J\xab\xe8\xb8\xa0\xfd\x0a\x91\xd3\x87\xd4\x14\xd9\x14\x95l\x88F\xaeP(\xfc\xbe\xf1\x00\x89\xd4\xd8\x88\xaa\xf3\x16\x88!R\x02g]\x1d\xa9\x03\x88\xa1a0\x06Q\x8d\x03e\xc3\xd0'_\x97\x17\x96n*\x80\x98I{\x12\xc8\xa0\xcck\xc0\x99)-/\x96/\x12\xc6\x87Gc\xd24f\x11\x1e\x082\xbd\xb5\x9a{\x05\xa8\xc7w\xbc\x183iO\x99I\xfb\xd8L\xa5'<\xefI\xa5'\xcc\xa4}\x9cH\xa6'\xaf\xd2\x06.[L\xa4\xc6F@? \xf2\xb8\xb8\x92\x9b\xf3\x1a\xa0^\xad\x14\xc3]\xdd?\x80w\x91h\xef\x97z\xb5\xb2\xe7\xa6u\xfd\x05\x96e\x05\x7f\xca\xado(\xdf\x8b\x85\xfc\xb8W\xf3\xf3\x98\xa9{\xf3\xa8t\xdf\xd6_w\xdd\x0e\xa6\xe1\xb6\xb9A(\x0d\xc44\xe0\xcc\xb4b\x0e\xa0\xa2\xd3@\xecP:l7\x8dk\x00\x15\x1dG\xa4\xe4v\xe0\xbcPZ^,\x0bl\x07\xc0\xf5\x0b\xba\x06\x10\xb4\x1f\x9c\xf5V\xcd\xcfP\xd15\x90\x01\xdf\x01\x14\x22g\xf7\xfc:\x08\x1c\x9c\x15,_\x01\xfe\x15A\xb7\x05\x81\x1a\x86\x86\xafk\xa0pG\xa0\xe6;\x80\x22\x9b \x83\xd7\x0d *C\xa0\x1bn\xeb\xee\x87P%\x8bj<><\x1ak\xd5<><\x1aS\xe8kB\xd6w\x80\x10\x8d\x1cP\x96\xa61\xdbj\x00Q\xc9\x08\xect\xeaQ\xdeM\xe3Z\x8a\xf7\xf7\xf7\x9dH\xb4w\x174\x13\x8e\xf6\xd4\xea\xd5J\xd1\x8f\xb9\x99\xb4\x1f\x81<3\x0c}\xf8yui\xd7w\x00\x80z\xb5\xb2\x17\xee\xea>\x06\xde\x84\xa3=\x07^C\x9c\x98\xf3^\x90\x17[+\xf9\x8f\x97i=\xb5\xe3D2\xfd\x5c\xd1\x97\x88~R\xd1\xe9K\xdb\xb1J\x06\x95\xfb\x22:\xb5\xb5\xb2\xf0\x9a+\xdaqK\x03\x89\xc0\xb6\x8a\xae\x09\x1c\xc0\xe9US\x19R\xe8\x13\xd8\x11C\x9f\xde\xe4@\xf2\x17\xcb\xb2\x82\x87\xd2a\x9f\xd4v\x198?\x92\x81n4!\xdb\xa9Gy?#Y\x9b6m\xfe\x00\x0aI\xe7\x8d\x0aU\xe0c\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00\x00\x93\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00\x06\x00\x00\x00\x09\x08\x04\x00\x00\x00\xbb\x93\x95\x16\x00\x00\x00\x02bKGD\x00\xd3\xb5W\xa0\x5c\x00\x00\x00\x09pHYs\x00\x00\x0b\x13\x00\x00\x0b\x13\x01\x00\x9a\x9c\x18\x00\x00\x00\x07tIME\x07\xdc\x0b\x07\x0c\x0c+J<0t\x00\x00\x00$IDAT\x08\xd7c`@\x05\xff\xff\xc3XL\xc8\x5c&dY&d\xc5p\x0e##\x9c\xc3\xc8\x88a\x1a\x0a\x00\x00\x9e\x14\x0a\x05+\xca\xe5u\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00\x00\xa6\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00\x09\x00\x00\x00\x06\x08\x04\x00\x00\x00\xbb\xce|N\x00\x00\x00\x01sRGB\x00\xae\xce\x1c\xe9\x00\x00\x00\x02bKGD\x00\x9cS4\xfc]\x00\x00\x00\x09pHYs\x00\x00\x0b\x13\x00\x00\x0b\x13\x01\x00\x9a\x9c\x18\x00\x00\x00\x07tIME\x07\xdc\x08\x17\x0b\x1b\x0e\x16M[o\x00\x00\x00*IDAT\x08\xd7c`\xc0\x00\x8c\x0c\x0cs> \x0b\xa4\x08020 \x0b\xa6\x08000B\x98\x10\xc1\x14\x01\x14\x13P\xb5\xa3\x01\x00\xc6\xb9\x07\x90]f\x1f\x83\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00\x00\x81\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00\x10\x00\x00\x00\x10\x01\x03\x00\x00\x00%=m\x22\x00\x00\x00\x06PLTE\x00\x00\x00\xae\xae\xaewk\xd6-\x00\x00\x00\x01tRNS\x00@\xe6\xd8f\x00\x00\x00)IDATx^\x05\xc0\xb1\x0d\x00 \x08\x04\xc0\xc3X\xd8\xfe\x0a\xcc\xc2p\x8cm(\x0e\x97Gh\x86Uq\xda\x1do%\xba\xcd\xd8\xfd5\x0a\x04\x1b\xd6\xd9\x1a\x92\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00\x00\xdc\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00\x10\x00\x00\x00@\x08\x06\x00\x00\x00\x13}\xf7\x96\x00\x00\x00\x06bKGD\x00\xb3\x00y\x00y\xdc\xddS\xfc\x00\x00\x00\x09pHYs\x00\x00\x0b\x13\x00\x00\x0b\x13\x01\x00\x9a\x9c\x18\x00\x00\x00\x07tIME\x07\xdf\x04\x19\x10-\x19\xafJ\xeb\xd0\x00\x00\x00\x1diTXtComment\x00\x00\x00\x00\x00Created with GIMPd.e\x07\x00\x00\x00@IDATX\xc3\xed\xce1\x0a\x00 \x0c\x03@\xf5\xa3}[_\xaaS\xc1\xc9\xc5E\xe42\x05\x1a\x8e\xb6v\x99^%\x22f\xf5\xcc\xec\xfb\xe8t\x1b\xb7\x1f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf06\xf0A\x16\x0bB\x08x\x15WD\xa2\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00\x01\x8a\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00 \x00\x00\x00 \x08\x06\x00\x00\x00szz\xf4\x00\x00\x00\x09pHYs\x00\x00\x0b\x13\x00\x00\x0b\x13\x01\x00\x9a\x9c\x18\x00\x00\x01<IDATX\x85\xed\xd71N\xc2P\x1c\xc7\xf1\xef\x9f&0Z\xa2\x963t\x11'N`\x02w\xe0\x14\x18\xbb\xa9\x83\x8c4\xe0%8\x831\xf1\x04\x9d\x00\x87\x9e\x01bB\x1d!i\xff\x0e\x94\x86\xb4\xe0\xa0m\x1c|\xbf\xf1\xf5\xa5\xbfO\xde[\xfe\x0f\xfe{$\xbf\xe0\xf8\xb3\xaeJ\xedV\x95\x0e`\x97\xd4\x13\x89\x10\x88&\xe3\xd5\xdd\xf5\xebI\xc0\xb9\xbf\x18\x0a\xdc\x03\x1b\xd0\x10\x95\xcfR\xeaE\xcf@\x5c\xa0\x812\xfc\xf0\xae\x1e\x0b\x80\xcb\xf1\xbc\xa7\x89\xbc\x00o\x96j\x7f\xe9\xb5W\xa5\x94\xa7i\x8d\xe6N,2\x05nj$\xbd\xfdI\xd4\xb2\x1d*\x03`SE9\xc0\xd2k\xaf,\xd5>\xb0\x8d\xb1\x06\xfb\xf5\x0c\xb0\xbbs\x0d\xab(?D\x00\xa1\xa0\x9d\x02\x00\xb0K\xbb\xf3\xef\xa2D@\xf3\x18\xe0Ob\x00\x06`\x00\x06`\x00\x06`\x00\x06p\x08\x88v\xd3k\xc5\x11l`]\x00\x88\x10\x80\xb8\xad\xd1\xdc\xa9\xaa;\xfd\xb7\xabHP\x04h2\x06\x1a\xb1\xc8\xb4\x0a\x84\xf3\xfc\xdeJ\xc7\xf2\xbaE<\xc9z\x0f7]\x8c\x16O\x08\x0f\xc0\x16\x08\xd3\x01\xf2\xf7\xd9\x1d\xbb\x0b\xd4O>L2\xa9?\xeb\xc6X\x83ttn\xe6\xbf\xff0kE\x02\x8bx\x92\x7f\x9a\x99|\x01\x0b\xfao8\x11\xee\x15\x0b\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00\x025\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00@\x00\x00\x00@\x08\x06\x00\x00\x00\xaaiq\xde\x00\x00\x00\x04sBIT\x08\x08\x08\x08|\x08d\x88\x00\x00\x01\xecIDATx\x9c\xed\x9b\xdd\x91\xc3 \x10\x837W\xc3\xd5\x91\xeaR\xc6Uwu\xa4\x87\xe4\x89\x19\x86\xb1aa%\x81\xc7\xe8\xd9\x11\xd6\xc7\x8f\xbd\x04\x9bmmm\xddY\x0fec\xbf\x7f\xff\x1f\xcfu\xef\xd7Sv_\xd4\x86\xbc\x81[b\x02\x81\x1b\xa3B\x9f\x09\x0d\x03f\xc6\x0e^\x0a\x05\x02b\xa2\x0e\x9f\x84\x80\x102\x98\x15\xbcT\x04\xc4\xf0\x0fW\x09\x9f4\x0a\xa1\xfbG\xab\x05/\xd5\x0b\xa2\xeb\xe2\xd5\xc3'\xf5@p_x\x95\xf0I^\x08?\xec\x1bY].JW\xeb\xfd$\xcf(h^\xd0\x0a\x9f7\xa2\x02U\x06\xab\xb5\xdb\x82\x00\x9d\x02\xef\xd7\xf3\xc1.d\xd0\xfeU\x00\xa3=\xca\x820\xe2\xdb\xcap\x0a :\x9c\xd1\x10\x22~\xb5,\xe1)\x10\x99\x7f^\xd5|\xa2\x1duh<b\xca\xbaI\xa4\xef\x91\x17l\x11d\x8c\x04f\xcf'A\x9f\x02H\x08\x8a\xf0f\x07S\x00a\x1e\xbdyf\xf8\xd2\x9b\xf2*\x1c\x19\x09\xaa\x9eO\xa2\xd5\x02#\x10\xd4\xe1\xcd\xc8\xc5P\x0f\x84\x19\xe1\xcd\x8a5\x80\xd5P+\x9c:|\xde\x9e\xa4\x1c\x1e]\x13\x14\xc5\x95l?\xa07\x8c\xaa\xb2\x94n\x88xC)\xf7\x1f\xe4;B\xadp\xea\xcd\x179\x80\xc8{\x00CR\x00\xdepJ\x082\x00\xc8Z\x00)\x09\x80\xd1G\x9d\x02\x02\x1d\x80'\xfcL\x08\x94j0\xa9\xb7\xe7\x15/E\x92j\xf0\xa8\xa1\x5cgaf\x8c\x04\x0a\x80HO\xaa!\xc0\x01 \x86\xb1\x12\x02lS\xd4\x0c?\x87\x15~\xb0\x11\xc0X\xc0\x14#\x01\x02\x80\xb9z\xb3!\x84o\x5cU\xcf\xb36Z\xa7\xec\x09\xae\xe0\x97t\x0a\x80\xf5_\x5cD\x8c\xc5\x19>\x02\xd8\xf5<\xda?|@bu\xb5F\xf2>\x22\xe35\xbb\x1a\x84}J\xcc\xa9}P\xb2\xd7|u\x08\xd4\xa3\xb2\xb9V\x03!;,\x9dk\x15\x08S\x8e\xcb'\xcd\x86\x10-\x88\xf6'3\x08\x93\x5c\xb7\xfdh\xeaH\xb7\xfcl\xae\xa6\x15?\x9c\xdc\xba\xbb\xbe\x18_Z\xd7\x14T\xdf\xfe\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00\x00\xa0\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00\x06\x00\x00\x00\x09\x08\x04\x00\x00\x00\xbb\x93\x95\x16\x00\x00\x00\x01sRGB\x00\xae\xce\x1c\xe9\x00\x00\x00\x02bKGD\x00\xff\x87\x8f\xcc\xbf\x00\x00\x00\x09pHYs\x00\x00\x0b\x13\x00\x00\x0b\x13\x01\x00\x9a\x9c\x18\x00\x00\x00\x07tIME\x07\xdc\x08\x17\x14\x1f\x0d\xfcR+\x9c\x00\x00\x00$IDAT\x08\xd7c`@\x05s>\xc0XL\xc8\x5c&dY&d\xc5pN\x8a\x00\x9c\x93\x22\x80a\x1a\x0a\x00\x00)\x95\x08\xaf\x88\xac\xba4\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00\x03\x18\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00 \x00\x00\x00 \x08\x06\x00\x00\x00szz\xf4\x00\x00\x00\x09pHYs\x00\x00\x0b\x13\x00\x00\x0b\x13\x01\x00\x9a\x9c\x18\x00\x00\x02\xcaIDATX\x85\xed\x96\xb1o\x14W\x10\xc6\x7f\xdf\xf3\xc9AD\x8eP\xaa\x84? \xc55\xc6w\x05\xa4\x81]#\xc5\xc2\xb7@\xe4\x0e\xba \xe1\xc2U\xd2\x05L\x89\xa3\xa4Jg%\x8a\x94t\xa13\x10\x9f\x8d\x0c\xb29h\x02Rls\x05\x96\xf2\x0f8T\x11\x8a\x15\x94\x00\xb7_\x8a\xdb=_$\xaf\xedCN\x95\xfb\xaa\xb7\xb33o\xbe\x99\xf7\xde\xcc@\x1f}\xfc\xdf\xa1^\x94\xa3(*m1\x94X\x9e\x10>n8\x9am\xb2i\xf4X\xd6\xdc\x10[\xf5F\xa3\xf1\xfa\xc0\x09TG\xcf~d\xa7_\x03e\xa4uH\x1f:\xd5o\x00\x0a~\x1f\xc2I\xec\x11`#\x04\x7f\xfa\xcb\xf2\xe2\xbd\x83\x22\xa0J\x5c\xbb\x02\xcc`nz \xbd\xb6\xbe|gc'\xc5\x91\xd3g\xcaj\x85\xeb\x88\x8f\x85\xa6W\xef\xd7\xbf\x04\xbc\xcf\x18wF%\xae]\xad\xc4\xb5W\x95\xd1\xe4\xf2\xbemF\x93\xcb\x95\xb8\xf6\xaa\x1a'W\xf6\xd2\xdd5\x03Y\xda\x97\x90&\xd7V\xea\xdf\xe56\x95(\xb9\x88<\x05\x1e\xceDM\xac\xd9\xb5F\xfdG\xb2\x88+qm\x12\xf8V\x0ac\xab+\xf3w{&\x10EQ\xe9\x0f\xbd\xdd\xc4\xfc\xba\xd6X\x98\x00\xf8pl\xec\xdd\xbf_\x96~\x00\xce!\xa5\xd8\xa1\xbdK{m|\xfb\xd0`\xeb\xd2\xcfKK\xbf\xb731~\x13\xeb\x83w\xfc\xe7p\xd1\xc5\x0cE\x04\xb6\x18J\x80\xb2\x07\xd2k9\xd9\xb6s%\x00\x1d\xe7]k\x11\xce\xfe\xf5r\xe0\xfb<0\xcb\xd3@\xf9\xb9\x0e\xd7\x8a\xfc\x14\x12\xb0<\x81\xb4\x9e_\xb8J\x94\x5c\x04\xce\x81\x0bm\xc0A\xe8|5\x1e\xbf\x00\xb0\xbe|gC\xf0d\x00&z& |\x1c\xd2\x87\xdb\x02O!\xa5\xc5\xce;\x86i\x8a\xa6\xba\x02y\x00:Q\xa4^*\xfaa8\x9a\xbf\xf3L2\x8c\x8b\x09w\x19\x06`x\x9b\x0f\xcf\xf2\x82\xb5\x13\xf6\xde\xf0?\xc6.G\xc0f\xbb\xc2u$\xcd\xfd\x1e\x01\xd0\xcc?\x0d\xef\x096{&`\xf4\x18\xc2\xc9m\x81f\xffu\xf3\x8b\x0dC\xc0\xb3\x1d>\xd6)\xf0\xa3\x9e\x09\xc8\x9a\xc3\x1e\x199}\xa6\x0c\x90\x15\x99\x9f`\xb7,(5\xbe\xbdz\x7f\xf1\x06\xb4K\xb3\xe1X\x0b\xe6z&0\xc4V\x1d\xd8P+\x5c\xcfD~k\xf0\xf5'&\x9do\xfbb\x9bH\xb66\xe9\xfc\xa1\xc1\xd6%\xb2j(kF\xf0\xf4\x88_,\x14R.\x8e\xa6\xb8\x14W\xe3\xf1\x0b\xd9S\xcbo{3\xe0\xd9,\xf2\xeeR\xfcM\x08\x1e\xdbog\xdc\x11o\xd4\x8c\xe2\xda\xe4\x814\xa3\x5c\xa7\x1a'\x9f\x1b\x7f\x81|\xcb\xf2\xf4\xae\xed\xd8\x9a\xc1:/\xf9\xea\xea\xca\xe2W\xec\xd1\x8e\xdfh \x11<\xb1\xfc@\xf0\x0c\xb2\xa7f\x9d2\x1c\x13<U\xf0g\x079\x90t\x10EQ\xe9\xb9\x0e\xd7\xda\xb5]'\xbaG2\xf0\xa3\x16\xcc\x1d\xf1\x8b\x85^F\xb2>\xfa\xe8\xe3\x1frx6\x82c\xad\x95\xaf\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00\x00\xa6\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00\x09\x00\x00\x00\x06\x08\x04\x00\x00\x00\xbb\xce|N\x00\x00\x00\x01sRGB\x00\xae\xce\x1c\xe9\x00\x00\x00\x02bKGD\x00\xff\x87\x8f\xcc\xbf\x00\x00\x00\x09pHYs\x00\x00\x0b\x13\x00\x00\x0b\x13\x01\x00\x9a\x9c\x18\x00\x00\x00\x07tIME\x07\xdc\x08\x17\x08\x15;\xdc;\x0c\x9b\x00\x00\x00*IDAT\x08\xd7c`\xc0\x00\x8c\x0c\x0cs> \x0b\xa4\x08020 \x0b\xa6\x08000B\x98\x10\xc1\x14\x01\x14\x13P\xb5\xa3\x01\x00\xc6\xb9\x07\x90]f\x1f\x83\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00\x00\xa0\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00\x06\x00\x00\x00\x09\x08\x04\x00\x00\x00\xbb\x93\x95\x16\x00\x00\x00\x01sRGB\x00\xae\xce\x1c\xe9\x00\x00\x00\x02bKGD\x00\x9cS4\xfc]\x00\x00\x00\x09pHYs\x00\x00\x0b\x13\x00\x00\x0b\x13\x01\x00\x9a\x9c\x18\x00\x00\x00\x07tIME\x07\xdc\x08\x17\x0b\x1b)\xb3G\xee\x04\x00\x00\x00$IDAT\x08\xd7c`@\x05s>\xc0XL\xc8\x5c&dY&d\xc5pN\x8a\x00\x9c\x93\x22\x80a\x1a\x0a\x00\x00)\x95\x08\xaf\x88\xac\xba4\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00\x01\xa8\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00 \x00\x00\x00 \x08\x06\x00\x00\x00szz\xf4\x00\x00\x00\x09pHYs\x00\x00\x0b\x13\x00\x00\x0b\x13\x01\x00\x9a\x9c\x18\x00\x00\x01ZIDATX\x85\xed\x97Mj\xc2P\x14\x85\xbf\x1b\x82\x0e\xab\x13\xbb\x067\xe0\x0a\x0a\xba\x07Wa\x09\xe4)m\x07u\x12!\xe8*\x5cC)t\x05\xd9\x80{p\xa2\x1d*!\xa7\x83\x1a\xb1\x86P(\xb1\x16\x9a3{\xf7>\xde\xf9\xb8\xef\x87\xfb\xe0\xbf\xcb\xce\x03a\x18\xf6\xcd\xec^R\xcf\xccZU\x98H\xda\x9aY\x22i>\x9b\xcd^K\x01\xc6\xe3\xf1T\xd2\x03\xb0\x93\xb42\xb3\xf7\x8a\x00n\xcc\xac\x0b4\x81i\x14EO\x05\x00\xe7\xdc\x00x\x01\xde\xd24\x1d\xc6q\xbc\xae\xc2<W\x10\x04\x1d\xdf\xf7\x97\xc0\x9d\xa4A^\x09\xefd\xce\x08\xd8]\xc2\x1c \x8e\xe3u\x9a\xa6C`\xefy\xde(\x8f\x1f\x01$\xf5$\xad.a~\x0a\x01\xac$\xf5\x0a\x00f\xd6\xaaj\xcf\xbf\xd1\x16h\x17\x00\xae\xa5\x1a\xe0\xea\x00~Y\xc29\xa7*\x8d\xa2(*\xbc\xba\xf0\x07*P\x03\xd4\x005@\xe9;Pvo\xab\xd6\xd5+P\x03\x5c\x1d\xe0x\x08%m\x81\x9b_\xf0l\x01\x9b|p\xda\x92%f\xd6\x0d\x82\xa0s)\xe7\xc3\xda]3K\x0a\x00\x92\xe6@\xd3\xf7\xfd\xe5% &\x93\xc9\xed\xa1-odY\xb6\xc8\xe3_\xee\xbas\xee\x19x\x04\xf6\xc0\x8a\xcf\x06\xb2\x0a\xb5\x80.\xd0\xa0\xecc\x92+\x0c\xc3\xbe\xe7y\xa3C\xeb\xdc>\xcf\xffP\x1b3K\xb2,[\x9c\x7f\xcdj}\x00,\x83\x82\xe5\xf9\x1d\x9c\xb3\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00\x00\xa6\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00\x06\x00\x00\x00\x09\x08\x04\x00\x00\x00\xbb\x93\x95\x16\x00\x00\x00\x01sRGB\x00\xae\xce\x1c\xe9\x00\x00\x00\x02bKGD\x00\xff\x87\x8f\xcc\xbf\x00\x00\x00\x09pHYs\x00\x00\x0b\x13\x00\x00\x0b\x13\x01\x00\x9a\x9c\x18\x00\x00\x00\x07tIME\x07\xdc\x08\x17\x14\x1f \xb9\x8dw\xe9\x00\x00\x00*IDAT\x08\xd7c`\xc0\x06\xe6|```B0\xa1\x1c\x08\x93\x81\x81\x09\xc1d``b`H\x11@\xe2 s\x19\x90\x8d@\x02\x00#\xed\x08\xafd\x9f\x0f\x15\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00\x02k\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00 \x00\x00\x00 \x08\x06\x00\x00\x00szz\xf4\x00\x00\x00\x09pHYs\x00\x00\x0b\x13\x00\x00\x0b\x13\x01\x00\x9a\x9c\x18\x00\x00\x02\x1dIDATX\x85\xed\x961O\x13a\x18\xc7\x7f\xcf]7:q%\x01>\x80C\xb5\x08\x13N\x12\x16\x1d A\xfb\x1d`\xb6\xa1\x12\xa1\x0c\x1d\xc0\xa8=\xe3\xa4\x89\xe1;\x14\x07\x18\xc4\xa1\x81\x09&\xa0\xd8&~\x81j\x22\xd7\xa9L\xd0\xf7q\xe8\x81\x0c\x5c\xdb\xbb6.\xf6\xbf\xde\xfb\xdc\xffwO\xee}\xfe\x0f\x0c4\xd0\xff.\x09u:_\x8a9qg^\xd04\xc840\xee?\xa9\x81\x1e)R\xf4\x1a\xde\x0e\xf9\xd9\xab\xbe\x03\x0c\xbf;{bY\xfa\x01H\x02\xc7\x8a\x1c\xa0\xfa\xb3\xf5\x16\x19\x13\xf410\x05T\x0d\xf2\xa2\x9eM}\xeb\x0f\x80\xaa\x8c\xbc/\xaf*\xb2)\xc2vS\xed\xf5z\xf6~\xf5NH\xb7\x92\xb4\xa5\xb9\xa1\xca3U\xc9y\xd9\x07o\x10\xd1n?\xf2N\x8d\xb8\xa7k\x09\xb7|\x99(\x94\x17\xbb\xadI\x14\xca\x8b\x09\xb7|\xe9\x14\xceV;\x9dm\xdb\x01\xbf\xed_Q\x96\xce_Nlu\x0b\x00\x90p\xcbK\xc0gc\xe4i}%\xb5\x17\x1e _\x8a%\xe2\xce\xa9\x08?~/O\xa4\xc3\x98\xdf\x82\xd8\x06\xee\x9d7\xbc\x87A?\xa6\x15T\xec\xc4\x9dy \xd9T{=\x8a9\x80\xc1\xce\x01Ig\xc8\x99\x0b:\x13\x08\xd0\xbaj\x1c\x07\xfdp\xdd\xa8U\xab'\x16\x12\xd8\xc1@\x00\x90iE\x0e\xa2\x9a_K\xb1\xf6U\xf4Q\x04\x00\xc6o\xeeyo\x08\xbf\xf8;\xb0B\x01\xfc\x13\xb5\x03\xa8!2\xd6\xbb\x85\x8c\x02\xb5\x08\x00z\xe4\x8f\xd7\xde\xec13\xa2r\x18\x1a@\x91\x2205\xecV\x92Q\xcd[\xb52i\xd0bh\x00\xaf\xe1\xed\x00U[\x9a\x1bQ\x01,\x9a\x9b@\xc5\xbb\xf0vC\x03\x90\x9f\xbd2F2\xaa<\x0f\x93\x03\xd7\xf2G\xf1\x82A2\xed\xe2\xb9\xed-\xa8\xaf\xa4\xf6\x04\xcd!|\x0a\x15F-\xf3\x8f\xaa\x92\xeb\x14\xcb]\xc5\xb1\xe3~\x7f%\xa2\xaf\x81/\x06;\xd7.\x8e\xfd\xb6/(\xacy\xcb\xa9\xb7\x9d\xe28\xe2B\xa2'\x8a\xb5\xef\x0f\x19@F\x053\x032\x09T\x0c\x92\xe9\xdfBr[\xf9R\xcc\x19r\xe6,$\xed\x8f\xd7\x9b\x95LT\x0e\x0dZ\xf4.\xbc\xdd0+\xd9@\x03\x0d\xf4\x071\xe2\xd8\x82\x22J\xad\xa7\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00\x01\xa2\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00 \x00\x00\x00 \x08\x06\x00\x00\x00szz\xf4\x00\x00\x00\x09pHYs\x00\x00\x0b\x13\x00\x00\x0b\x13\x01\x00\x9a\x9c\x18\x00\x00\x01TIDATX\x85\xed\x97Aj\xc2P\x10\x86\xbfI\x8a]V\xa9\x8dg\xc8F\xbb\xf2\x04\x05\xbd\x83\xa7\xb0\xe8\xae\xed\xa2.\x0d\xdaKx\x86R\xe8\x09\xb2R\xbb\xc8\x19\x14A\xbbTH\xa6\x0bc\x10\x83\x0a5\xe9\xa6\xef\xdb\xe5\xbd!\xff\xc7<B\xe6\xc1\x7fG\x0e\x17\x1co\xdcP\xb1\x1eU\xa9\x03\xc5\x8crV\x22\xf8\xa2\xd1`\xde\xb9\xff8*p\xebM{\x02O\xc0\x1a4@\xe5;\x93x\xd1\x1b\x10\x17\xb8F\xe9-\xba\xd5\x97\x94\xc0\xdd`\xd2\xd4H\xde\x81O[\xb55\xeb\xd6\xe6\x99\x84\xc7T\xfa\x13'\x14\x19\x01\x0f\x16Qs\xd7\x09+\xa9Pi\x03\xeb<\xc2\x01f\xdd\xda\xdcVm\x01\x9b\x10\xbb\xbd[O\x04\xb6g\xaeA\x1e\xe1\xfb\x12@ h=%\x00\x143;\xf3S(+\xa0\xb4{\xbc:W_\xf6\xa6zI\xde\xa2SM}i\xfbX\xa76\xff\x02#`\x04\x8c\x80\x110\x02F\xc0\x08\x9c\x9d\x07\xce\xfd\xcf/e\xbf\x03\xab\xed\xf4\x9a3B\x11X\xa6\x04D\xf0A\xdcJ\x7f\xe2\xe4\x95\x1d\xbf\xdbU\xc4O\x0bh4\x00\xaeC\x91Q\x1e\x12\xce\xdbW%\x1e\xcb\x0b6\xe10\xc9\xdd/*\xf7\xa7\xaf\x08\xcf\xc0\x06\x08\xe2\x01\xf2r\xb6mw\x81\xc2\xd1\x8bIb\xea\x8d\x1b!v;\x1e\x9dK\x87\xfb\xbfd\xa9\x88o\x13\x0e\x0f\xaff\x86\x1f\xb5\xcbt\xcbLX\x91c\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00\x03\x0a\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00 \x00\x00\x00 \x08\x06\x00\x00\x00szz\xf4\x00\x00\x00\x09pHYs\x00\x00\x0b\x13\x00\x00\x0b\x13\x01\x00\x9a\x9c\x18\x00\x00\x02\xbcIDATX\x85\xed\x96\xbdO\x14Q\x14\xc5\x7fg\x86\xd0H,\x981Q\xff\x00\x8b\xd5\x15\xad\xb4\xd2\xd8h!~\x84N:M\xa4\xa0RY\x8d\x82\x05\x85\x1a\x95A;\xa21\xd1N;\x14\xc1B-\x08TZ\xe9\xee\xba$\xfe\x03h\xe2\x0e\x85\xc1\x06\xdcw-vF\x88\xb2\xcb.\xc1\xca=\xd5{3\xf7\xe3\xbc\xfb\xde;\xf7A\x0b-\xfc\xefPS\xd6\xc3\xd3mAG\xd0-\xac\x07t\x00\xd8\x99\xfc\x99\x07{oh<^\x8c\xa7\x18>\xf2s\xd3\x09t\xde-\x1e\xf5<\xbb\x0fd\x80\x0f\x86f1\xfbR\x8d\xa2\x1d\xc2\x0e\x01\xfb\x819\x87.,\xe4\xb2o7\x87\x80\x99\xb6\x8d\x16\xae\x19\xba)\xf1\xbcb\xfe\xf5\x85\xdc\xee\xb95IF\xa5\x8c\xaf\xca\x0d3N\x9bi(\xce\xed\xb9\x8dd\x8d.rMl\x8b\xf2\x83aTX\x0eG\x0a\xe7\x1b\xf5\x09G\x0a\xe7\xc3\xa8\xb0\x1c\x8c\x14\xaf\xadg[\xb7\x02I\xd9_c\xf4\x95/\xef}\x04\x80\x99\xc2\xd1b\xafA\xbf\xa0\x0b\xc0 /\x18+\x0fd\x9f\xa6+\x0e\xa3B\x1f\xf0\xd09\x1d[\xb8\x92}\xd3<\x81\xe1\xe9\xb6\xb0#\xc8K|\xfe6\xb0\xb7\x07`\xeb\xbdRg\xbbU\x9e`\x9c4\xc3IxUN\xc9XL,\xc9?\xf7\xfd\xd2\xee\x85\x84\xc4s`Wy1\xee\xaau0\xbdZ\xf9\x83\x8e\xa0\x1b\xc8T\xcc\xbf\x9e\xae\xbc\xdd*O\xcc\xe8\x06H\x93\xaf\x1e\x9bq\xa2\xdd*\x8f1\x13\x80\xc3\x1f\x022\xc1\x96\xe0x\xad<5\x09T\xaf\x1a\x1f\xd2\x03\x17\x8e\x16{1N\xaa\xae\x0f\x1e\xc6\xa90*\x9e\x01\xa8\xfa\xdaG\x0f\xf54M\x00t\xc0\xd0l:3\xe87\xc3\xd5\xb6O\xec\x0c\x87g\xfd+~\xde\x8c\xc9\x0e\xd6\xb2o\xab\x13k\xe7\xef{\x0e\x08\xbaP=\xc2\x89\x9d\xf0@]\xab(}eE\xb0\xfe\xc2\xba\x01\xff5\xea\x11\x98G\xda\x91N\x0c\xf2\x0do\x01\x96_\xf9\xa2\xed\xc0\xfc\x06\x08\xd8\xfbD^\xaba`L\x8dn\x81\xd3\xd8\x8a\x9f;,\xd3\xbb\xa6\x09\x18\x1a\x07\xf6wF\xa5\x0c@Udxi\xd4\xae\x82\x81CL\x94s\xd9gP\x95f\xd0>\x87\x8d7M ^\x8c\xa7\x809_\x95\x1b\xc9\xd2lI\xfeY\x89IHK\x9d$N\xc6\x12\x93K\xf2\xcf\xa5j\xe8Q\xb9\x09\x94\xe2\x1f\xf1\xabZy6&\xc5Q\xf1L\xf5\xaa\xa5\xa7\xdd\xf28\x8d\x95s\xd9g\x7fH\xf1\x03\x87\x8e5\xda\x19\xd7\xc4\x86\x9aQT\xe8\xdb\x94f\x04\x80\x99\x82\xe8\xd3U\xc9n\x01/\x1c\xfeP\xbdv\x9c\x94\xfd\x94\xc1`<\x90\xbd\xb3^;\xde\xe0\x83\xc4>\x1a\xdeL\x222\x80\xb6\x0bw\x18\xb4\x0f(9tq\xf3\x1e$\xab1<\xdd\x16l\x09\x8e{\xa8'\x91\xd7\xdfO2\x99\xde9l<\xfe\x11\xbfj\xe6I\xd6B\x0b-\xfc\x02\x9d\x07<\xe4\x1f\x0b_\x15\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00\x01\xa4\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00 \x00\x00\x00 \x08\x06\x00\x00\x00szz\xf4\x00\x00\x00\x09pHYs\x00\x00\x0b\x13\x00\x00\x0b\x13\x01\x00\x9a\x9c\x18\x00\x00\x01VIDATX\x85\xed\x97Aj\xc2@\x14\x86\xbfg\x8a.\xab\xd4\xc63d\xa3]y\x82\x82\xde\xc1SXt\xd7v\xa1K\x83\xf6\x12\x9e\xa1\x14z\x82\xac\xd4.r\x06E\xd0.\x15\x92\xd7\x851H\xd2t\xd1&(4\xdfrf\x98\xff\xe3\x0d3\xbc\x81\xff\x8eD\x07L{\xd6R)<\xa8\xd2\x04\xca)\xe5lEpD\xfd\xf1\xaaw\xf7\x96(pc/\x86\x02\x8f\xc0\x0e\xd4E\xe53\x95x\xd1k\x10\x0b(\xa1\x0c\xd7\xfd\xfasL\xe0v<o\xab/\xaf\xc0\xbb\xa1\xdaY\xf6\x1b\xabT\xc2\x03j\xa3\xb9\xe9\x89L\x81\xfb\x02~\xfbX\x89B\xb8B\xa5\x0b\xec\xb2\x08\x07X\xf6\x1b+C\xb5\x03\xec=\x8c\xeeq<\x148\x9c\xb9\xbaY\x84\x9fJ\x00\xae\xa0\xcd\x98\x00PN\xed\xcc\x7fB\xd9\x02\x95\xef\x04\xceB.pv\x81\xab\xa4\x89\xaa\xbd\xd04\x83\xd6\xbdz\xec\xd5\x85\x0b\xa8@.\x90\x0b\xe4\x02\x89\xef@\xd2\xbdM\x9b\xb3W \x17\xb8(\x81\xed\xa1{\xcd\x18\xa1\x0clb\x02\x228 Vm47\xb3\xca\x0e\xf6\xb6\x14q\xe2\x02\xea\x8f\x81\x92'2\xcdB\xc2|\xf9\xa8\x05my\xd1\xc0\x9b\x84\xb9\xa7\x8b\xaa\xa3\xc5\x00\xe1\x09\xd8\x03n\xd0@\xfe\x9dC\xd9-\xa0\x98\xf81\x09M\xedY\xcb\xc3\xe8\x06\xads%:\xffK6\x8a8\x06\xde$\xfa5\xcb\xf9\x02\xddDt\xcbi%\xf5\xbc\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00\x00\x9e\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00\x09\x00\x00\x00\x06\x08\x04\x00\x00\x00\xbb\xce|N\x00\x00\x00\x01sRGB\x00\xae\xce\x1c\xe9\x00\x00\x00\x02bKGD\x00\xff\x87\x8f\xcc\xbf\x00\x00\x00\x09pHYs\x00\x00\x0b\x13\x00\x00\x0b\x13\x01\x00\x9a\x9c\x18\x00\x00\x00\x07tIME\x07\xdc\x08\x17\x08\x15\x0f\xfd\x8f\xf8.\x00\x00\x00\x22IDAT\x08\xd7c`\xc0\x0d\xfe\x9f\x87\xb1\x18\x91\x05\x18\x0d\xe1BH*\x0c\x19\x18\x18\x91\x05\x10*\xd1\x00\x00\xca\xb5\x07\xd2v\xbb\xb2\xc5\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00\x01\x9d\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00 \x00\x00\x00 \x08\x06\x00\x00\x00szz\xf4\x00\x00\x00\x09pHYs\x00\x00\x0b\x13\x00\x00\x0b\x13\x01\x00\x9a\x9c\x18\x00\x00\x01OIDATX\x85\xed\x97\xbfN\xc2P\x14\x87\xbfC(\x8c\x94\x05\x9f\x81\x85DLp\x85h*\x11\xe3\x0b\xf0\x14uV\x07\xd9\xe1)x\x04blL\xbaw\xc0\x84\xa5\xef\xc0\x02\x8eX\x92\xebP\x8aM\xf9\xd3DZ\x17\xef\xb7\xf5\xde\x9b\xfe\xbe\x9e\xa6\xe99\xf0\xdf\x91\xe4B\xb3\xd3\xbb\x01\xf5\x00\xd2\x02\xcc\x8cr\x96\xa0<\x90\xe1\xd4\x9d\xbc\x1d\x14\xb8h\xdf\x0d\x94\xa8G`%\xe0+\xd4g\x16\xe9\x82T\x14\xd4\x81\xb2\x82\xc1\x87;y\xde\x11h\xb6o\xbb\x88\xbc\x02\xefk#\xe8\xcf\x1cg\x9eExD\xc3\xb2j\xc5\xc0\x18\x03\xd7@7\xaaD!\xa6i\x03\xab<\xc2\x01f\x8e3_\x1bA\x1f\xf8\x02\xech\xfdG\x00i\x09\xf8y\x84\xc7%\x00\x1fh\xed\x11\xc0\xcc\xea\x9d\x1fG-\x81jtUL;\xde\xec\xf4\xd4)qSw\xb2\xf3\xa5\xc5)\x1c\xdb\xfc\x0b\xb4\x80\x16\xd0\x02Z@\x0bh\x01-\x90\xda\x0f\xa4\xfd\xcfO%^\x81\xa5 \x95<\xc3B\xc4\x04\x16{\x04\x94\xa7\xa0\xde\xb0\xacZ^\xd1\x9b{\xd7\x01o\x8f\x80\x0c\x81r10\xc6yH\x5c^\xdd\x9fm\xda\xf2\x120\xda\xa6\xc6\x0f\x9dwz/\x02O\x84\xad\xb3\xbfi 3@L\xc2'/\x1d\x1cL\x22\xc2\xd1\x0c\x9b\xb0u\xae&\xf7\x7f\xc9\x82\xb0\xec\xa3\xe4h\xa6\xf9\x06\xfe\xc1e\x8b\x9b\xf2\xc3\xc8\x00\x00\x00\x00IEND\xaeB`\x82"
qt_resource_name = b"\x00\x09\x09_\x97\x13\x00q\x00s\x00s\x00_\x00i\x00c\x00o\x00n\x00s\x00\x0a\x09$M%\x00q\x00d\x00a\x00r\x00k\x00s\x00t\x00y\x00l\x00e\x00\x09\x00(\xad#\x00s\x00t\x00y\x00l\x00e\x00.\x00q\x00s\x00s\x00\x02\x00\x00\x07\x83\x00r\x00c\x00\x11\x0a\xe5l\x07\x00r\x00a\x00d\x00i\x00o\x00_\x00c\x00h\x00e\x00c\x00k\x00e\x00d\x00.\x00p\x00n\x00g\x00\x09\x06\x98\x83'\x00c\x00l\x00o\x00s\x00e\x00.\x00p\x00n\x00g\x00\x11\x08\x8cj\xa7\x00H\x00s\x00e\x00p\x00a\x00r\x00t\x00o\x00o\x00l\x00b\x00a\x00r\x00.\x00p\x00n\x00g\x00\x1a\x01!\xebG\x00s\x00t\x00y\x00l\x00e\x00s\x00h\x00e\x00e\x00t\x00-\x00b\x00r\x00a\x00n\x00c\x00h\x00-\x00m\x00o\x00r\x00e\x00.\x00p\x00n\x00g\x00\x0a\x05\x95\xde'\x00u\x00n\x00d\x00o\x00c\x00k\x00.\x00p\x00n\x00g\x00\x13\x08\xc8\x96\xe7\x00r\x00a\x00d\x00i\x00o\x00_\x00u\x00n\x00c\x00h\x00e\x00c\x00k\x00e\x00d\x00.\x00p\x00n\x00g\x00\x15\x0f\xf3\xc0\x07\x00u\x00p\x00_\x00a\x00r\x00r\x00o\x00w\x00_\x00d\x00i\x00s\x00a\x00b\x00l\x00e\x00d\x00.\x00p\x00n\x00g\x00\x1f\x0a\xae'G\x00c\x00h\x00e\x00c\x00k\x00b\x00o\x00x\x00_\x00u\x00n\x00c\x00h\x00e\x00c\x00k\x00e\x00d\x00_\x00d\x00i\x00s\x00a\x00b\x00l\x00e\x00d\x00.\x00p\x00n\x00g\x00\x0f\x0c\xe2hg\x00t\x00r\x00a\x00n\x00s\x00p\x00a\x00r\x00e\x00n\x00t\x00.\x00p\x00n\x00g\x00\x16\x01u\xcc\x87\x00c\x00h\x00e\x00c\x00k\x00b\x00o\x00x\x00_\x00u\x00n\x00c\x00h\x00e\x00c\x00k\x00e\x00d\x00.\x00p\x00n\x00g\x00\x14\x0b\xc5\xd7\xc7\x00s\x00t\x00y\x00l\x00e\x00s\x00h\x00e\x00e\x00t\x00-\x00v\x00l\x00i\x00n\x00e\x00.\x00p\x00n\x00g\x00\x11\x08\x90\x94g\x00c\x00l\x00o\x00s\x00e\x00-\x00p\x00r\x00e\x00s\x00s\x00e\x00d\x00.\x00p\x00n\x00g\x00\x14\x07\xec\xd1\xc7\x00c\x00h\x00e\x00c\x00k\x00b\x00o\x00x\x00_\x00c\x00h\x00e\x00c\x00k\x00e\x00d\x00.\x00p\x00n\x00g\x00\x0e\x0e\xde\xfa\xc7\x00l\x00e\x00f\x00t\x00_\x00a\x00r\x00r\x00o\x00w\x00.\x00p\x00n\x00g\x00\x12\x07\x8f\x9d'\x00b\x00r\x00a\x00n\x00c\x00h\x00_\x00o\x00p\x00e\x00n\x00-\x00o\x00n\x00.\x00p\x00n\x00g\x00\x0f\x02\x9f\x05\x87\x00r\x00i\x00g\x00h\x00t\x00_\x00a\x00r\x00r\x00o\x00w\x00.\x00p\x00n\x00g\x00\x0e\x04\xa2\xfc\xa7\x00d\x00o\x00w\x00n\x00_\x00a\x00r\x00r\x00o\x00w\x00.\x00p\x00n\x00g\x00\x11\x08\xc4j\xa7\x00V\x00s\x00e\x00p\x00a\x00r\x00t\x00o\x00o\x00l\x00b\x00a\x00r\x00.\x00p\x00n\x00g\x00\x10\x01\x07J\xa7\x00V\x00m\x00o\x00v\x00e\x00t\x00o\x00o\x00l\x00b\x00a\x00r\x00.\x00p\x00n\x00g\x00\x19\x08>\xcc\x07\x00s\x00t\x00y\x00l\x00e\x00s\x00h\x00e\x00e\x00t\x00-\x00b\x00r\x00a\x00n\x00c\x00h\x00-\x00e\x00n\x00d\x00.\x00p\x00n\x00g\x00\x1c\x01\xe0J\x07\x00r\x00a\x00d\x00i\x00o\x00_\x00u\x00n\x00c\x00h\x00e\x00c\x00k\x00e\x00d\x00_\x00d\x00i\x00s\x00a\x00b\x00l\x00e\x00d\x00.\x00p\x00n\x00g\x00\x14\x06^,\x07\x00b\x00r\x00a\x00n\x00c\x00h\x00_\x00c\x00l\x00o\x00s\x00e\x00d\x00-\x00o\x00n\x00.\x00p\x00n\x00g\x00\x0f\x06S%\xa7\x00b\x00r\x00a\x00n\x00c\x00h\x00_\x00o\x00p\x00e\x00n\x00.\x00p\x00n\x00g\x00\x0c\x06A@\x87\x00s\x00i\x00z\x00e\x00g\x00r\x00i\x00p\x00.\x00p\x00n\x00g\x00\x10\x01\x00\xca\xa7\x00H\x00m\x00o\x00v\x00e\x00t\x00o\x00o\x00l\x00b\x00a\x00r\x00.\x00p\x00n\x00g\x00\x1c\x08?\xdag\x00c\x00h\x00e\x00c\x00k\x00b\x00o\x00x\x00_\x00u\x00n\x00c\x00h\x00e\x00c\x00k\x00e\x00d\x00_\x00f\x00o\x00c\x00u\x00s\x00.\x00p\x00n\x00g\x00\x0f\x01\xf4\x81G\x00c\x00l\x00o\x00s\x00e\x00-\x00h\x00o\x00v\x00e\x00r\x00.\x00p\x00n\x00g\x00\x18\x03\x8e\xdeg\x00r\x00i\x00g\x00h\x00t\x00_\x00a\x00r\x00r\x00o\x00w\x00_\x00d\x00i\x00s\x00a\x00b\x00l\x00e\x00d\x00.\x00p\x00n\x00g\x00\x1a\x0e\xbc\xc3g\x00r\x00a\x00d\x00i\x00o\x00_\x00c\x00h\x00e\x00c\x00k\x00e\x00d\x00_\x00d\x00i\x00s\x00a\x00b\x00l\x00e\x00d\x00.\x00p\x00n\x00g\x00\x17\x0c\xabQ\x07\x00d\x00o\x00w\x00n\x00_\x00a\x00r\x00r\x00o\x00w\x00_\x00d\x00i\x00s\x00a\x00b\x00l\x00e\x00d\x00.\x00p\x00n\x00g\x00\x11\x0b\xda0\xa7\x00b\x00r\x00a\x00n\x00c\x00h\x00_\x00c\x00l\x00o\x00s\x00e\x00d\x00.\x00p\x00n\x00g\x00\x1a\x01\x87\xaeg\x00c\x00h\x00e\x00c\x00k\x00b\x00o\x00x\x00_\x00i\x00n\x00d\x00e\x00t\x00e\x00r\x00m\x00i\x00n\x00a\x00t\x00e\x00.\x00p\x00n\x00g\x00\x17\x0ce\xce\x07\x00l\x00e\x00f\x00t\x00_\x00a\x00r\x00r\x00o\x00w\x00_\x00d\x00i\x00s\x00a\x00b\x00l\x00e\x00d\x00.\x00p\x00n\x00g\x00\x19\x0bYn\x87\x00r\x00a\x00d\x00i\x00o\x00_\x00u\x00n\x00c\x00h\x00e\x00c\x00k\x00e\x00d\x00_\x00f\x00o\x00c\x00u\x00s\x00.\x00p\x00n\x00g\x00\x1a\x05\x11\xe0\xe7\x00c\x00h\x00e\x00c\x00k\x00b\x00o\x00x\x00_\x00c\x00h\x00e\x00c\x00k\x00e\x00d\x00_\x00f\x00o\x00c\x00u\x00s\x00.\x00p\x00n\x00g\x00\x17\x0f\x1e\x9bG\x00r\x00a\x00d\x00i\x00o\x00_\x00c\x00h\x00e\x00c\x00k\x00e\x00d\x00_\x00f\x00o\x00c\x00u\x00s\x00.\x00p\x00n\x00g\x00 \x09\xd7\x1f\xa7\x00c\x00h\x00e\x00c\x00k\x00b\x00o\x00x\x00_\x00i\x00n\x00d\x00e\x00t\x00e\x00r\x00m\x00i\x00n\x00a\x00t\x00e\x00_\x00f\x00o\x00c\x00u\x00s\x00.\x00p\x00n\x00g\x00\x0c\x06\xe6\xe6g\x00u\x00p\x00_\x00a\x00r\x00r\x00o\x00w\x00.\x00p\x00n\x00g\x00\x1d\x09\x07\x81\x07\x00c\x00h\x00e\x00c\x00k\x00b\x00o\x00x\x00_\x00c\x00h\x00e\x00c\x00k\x00e\x00d\x00_\x00d\x00i\x00s\x00a\x00b\x00l\x00e\x00d\x00.\x00p\x00n\x00g"
qt_resource_struct = b"\x00\x00\x00\x00\x00\x02\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x18\x00\x02\x00\x00\x00\x01\x00\x00\x00+\x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x03\x00\x00\x00J\x00\x02\x00\x00\x00'\x00\x00\x00\x04\x00\x00\x04P\x00\x00\x00\x00\x00\x01\x00\x00\xd9M\x00\x00\x03D\x00\x00\x00\x00\x00\x01\x00\x00\xc8\xdb\x00\x00\x00\xbc\x00\x00\x00\x00\x00\x01\x00\x00\xacm\x00\x00\x01\xd4\x00\x00\x00\x00\x00\x01\x00\x00\xb4\xcc\x00\x00\x05\xa4\x00\x00\x00\x00\x00\x01\x00\x00\xe3\x02\x00\x00\x03\xa2\x00\x00\x00\x00\x00\x01\x00\x00\xd4\xe2\x00\x00\x04\xb4\x00\x00\x00\x00\x00\x01\x00\x00\xdb\xbb\x00\x00\x02\xd6\x00\x00\x00\x00\x00\x01\x00\x00\xbcs\x00\x00\x04\xd8\x00\x00\x00\x00\x00\x01\x00\x00\xdd\xf4\x00\x00\x02\xfa\x00\x00\x00\x00\x00\x01\x00\x00\xbd\x17\x00\x00\x06J\x00\x00\x00\x00\x00\x01\x00\x00\xe7\xc7\x00\x00\x00\xf6\x00\x00\x00\x00\x00\x01\x00\x00\xad'\x00\x00\x042\x00\x00\x00\x00\x00\x01\x00\x00\xd8\xc8\x00\x00\x04\x0e\x00\x00\x00\x00\x00\x01\x00\x00\xd8\x1e\x00\x00\x03\xe0\x00\x00\x00\x00\x00\x01\x00\x00\xd7\x87\x00\x00\x00|\x00\x00\x00\x00\x00\x01\x00\x00\xa9\x8e\x00\x00\x06\xfe\x00\x00\x00\x00\x00\x01\x00\x00\xee#\x00\x00\x02\xac\x00\x00\x00\x00\x00\x01\x00\x00\xbb\xd9\x00\x00\x02\x5c\x00\x00\x00\x00\x00\x01\x00\x00\xb9\x89\x00\x00\x03j\x00\x00\x00\x00\x00\x01\x00\x00\xd3\xfe\x00\x00\x04v\x00\x00\x00\x00\x00\x01\x00\x00\xda-\x00\x00\x00\x94\x00\x00\x00\x00\x00\x01\x00\x00\xab\xbd\x00\x00\x024\x00\x00\x00\x00\x00\x01\x00\x00\xb7P\x00\x00\x03\x1c\x00\x00\x00\x00\x00\x01\x00\x00\xbd\xc0\x00\x00\x01\x10\x00\x00\x00\x00\x00\x01\x00\x00\xafT\x00\x00\x07\x1c\x00\x00\x00\x00\x00\x01\x00\x00\xee\xc5\x00\x00\x06\xb8\x00\x00\x00\x00\x00\x01\x00\x00\xec{\x00\x00\x01l\x00\x00\x00\x00\x00\x01\x00\x00\xb2\x7f\x00\x00\x00T\x00\x00\x00\x00\x00\x01\x00\x00\xa6\xa9\x00\x00\x06\x12\x00\x00\x00\x00\x00\x01\x00\x00\xe5X\x00\x00\x02\x06\x00\x00\x00\x00\x00\x01\x00\x00\xb6]\x00\x00\x05|\x00\x00\x00\x00\x00\x01\x00\x00\xe2^\x00\x00\x05\xde\x00\x00\x00\x00\x00\x01\x00\x00\xe4\xae\x00\x00\x05H\x00\x00\x00\x00\x00\x01\x00\x00\xe1\xb4\x00\x00\x01\xb0\x00\x00\x00\x00\x00\x01\x00\x00\xb4\x05\x00\x00\x05\x0e\x00\x00\x00\x00\x00\x01\x00\x00\xde\x98\x00\x00\x02\x8a\x00\x00\x00\x00\x00\x01\x00\x00\xbb/\x00\x00\x06\x84\x00\x00\x00\x00\x00\x01\x00\x00\xe9m\x00\x00\x01<\x00\x00\x00\x00\x00\x01\x00\x00\xb1\xdc\x00\x00\x002\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00"
def qInitResources():
QtCore.qRegisterResourceData(0x01, qt_resource_struct, qt_resource_name, qt_resource_data)
def qCleanupResources():
QtCore.qUnregisterResourceData(0x01, qt_resource_struct, qt_resource_name, qt_resource_data)
qInitResources()
| 4,656.318182
| 94,567
| 0.682143
| 17,268
| 102,439
| 4.030229
| 0.122423
| 0.094577
| 0.069704
| 0.032761
| 0.567707
| 0.532043
| 0.494224
| 0.460399
| 0.424088
| 0.382662
| 0
| 0.209899
| 0.095657
| 102,439
| 21
| 94,568
| 4,878.047619
| 0.541332
| 0.001777
| 0
| 0
| 0
| 0.333333
| 0.99643
| 0.702618
| 0
| 0
| 0.000078
| 0
| 0
| 1
| 0.222222
| false
| 0
| 0.111111
| 0
| 0.333333
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
bc5b93e7b0ff5e41df692541911fa52435cf0c06
| 139
|
py
|
Python
|
conversions/price_formatters.py
|
jpfranci/StockChecker
|
cf56dfb7716f3e9944a5f70d8decbc28778c8e4e
|
[
"MIT"
] | 1
|
2021-01-11T10:40:58.000Z
|
2021-01-11T10:40:58.000Z
|
conversions/price_formatters.py
|
jpfranci/StockChecker
|
cf56dfb7716f3e9944a5f70d8decbc28778c8e4e
|
[
"MIT"
] | null | null | null |
conversions/price_formatters.py
|
jpfranci/StockChecker
|
cf56dfb7716f3e9944a5f70d8decbc28778c8e4e
|
[
"MIT"
] | null | null | null |
import re
def extract_price(price_str) -> float:
return float(re.search(r"\d+([,]\d+)*([.]\d+)?", price_str).group().replace(",", ""))
| 34.75
| 89
| 0.589928
| 20
| 139
| 3.95
| 0.65
| 0.202532
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.100719
| 139
| 4
| 89
| 34.75
| 0.632
| 0
| 0
| 0
| 0
| 0
| 0.157143
| 0.15
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| false
| 0
| 0.333333
| 0.333333
| 1
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 1
| 1
| 0
|
0
| 7
|
bc8a505ff18d52835c43e776db571e8aa405f68d
| 47,766
|
py
|
Python
|
tests/integration/stateless_job_test/test_update.py
|
linsicai/peloton
|
4706ce094432f8fcdacdf7d8045a4aaa7f5259af
|
[
"Apache-2.0"
] | null | null | null |
tests/integration/stateless_job_test/test_update.py
|
linsicai/peloton
|
4706ce094432f8fcdacdf7d8045a4aaa7f5259af
|
[
"Apache-2.0"
] | null | null | null |
tests/integration/stateless_job_test/test_update.py
|
linsicai/peloton
|
4706ce094432f8fcdacdf7d8045a4aaa7f5259af
|
[
"Apache-2.0"
] | null | null | null |
import pytest
import grpc
import logging
import operator
import time
import random
from peloton_client.pbgen.peloton.api.v0.task import task_pb2
from peloton_client.pbgen.peloton.api.v1alpha.job.stateless import (
stateless_pb2,
)
from peloton_client.pbgen.peloton.api.v1alpha.job.stateless.stateless_pb2 import (
JobSpec,
)
from peloton_client.pbgen.peloton.api.v1alpha.pod import pod_pb2
from peloton_client.pbgen.peloton.api.v0.host import host_pb2
from google.protobuf import json_format
from tests.integration.conftest import get_container
from tests.integration.stateless_job_test.util import (
assert_pod_id_changed,
assert_pod_spec_changed,
assert_pod_spec_equal,
assert_pod_id_equal,
get_host_to_task_count,
)
from tests.integration.stateless_update import StatelessUpdate
from tests.integration.util import load_test_config
from tests.integration.stateless_job import StatelessJob
from tests.integration.common import IntegrationTestConfig
from tests.integration.stateless_job import INVALID_ENTITY_VERSION_ERR_MESSAGE
from tests.integration.host import (
get_host_in_state,
wait_for_host_state,
is_host_in_state,
query_hosts,
)
pytestmark = [
pytest.mark.default,
pytest.mark.stateless,
pytest.mark.update,
pytest.mark.random_order(disabled=True),
]
log = logging.getLogger(__name__)
UPDATE_STATELESS_JOB_SPEC = "test_update_stateless_job_spec.yaml"
UPDATE_STATELESS_JOB_ADD_INSTANCES_SPEC = (
"test_update_stateless_job_add_instances_spec.yaml"
)
UPDATE_STATELESS_JOB_UPDATE_AND_ADD_INSTANCES_SPEC = (
"test_update_stateless_job_update_and_add_instances_spec.yaml"
)
UPDATE_STATELESS_JOB_UPDATE_REDUCE_INSTANCES_SPEC = (
"test_stateless_job_spec.yaml"
)
UPDATE_STATELESS_JOB_BAD_SPEC = "test_stateless_job_with_bad_spec.yaml"
UPDATE_STATELESS_JOB_BAD_HEALTH_CHECK_SPEC = (
"test_stateless_job_failed_health_check_spec.yaml"
)
UPDATE_STATELESS_JOB_WITH_HEALTH_CHECK_SPEC = (
"test_stateless_job_successful_health_check_spec.yaml"
)
UPDATE_STATELESS_JOB_INVALID_SPEC = "test_stateless_job_spec_invalid.yaml"
UPDATE_STATELESS_JOB_NO_ERR = "test_stateless_job_exit_without_err_spec.yaml"
UPDATE_STATELESS_JOB_LABEL_UPDATE_SPEC = (
"test_stateless_job_label_update_spec.yaml"
)
def test__create_update(stateless_job, in_place):
stateless_job.create()
stateless_job.wait_for_state(goal_state="RUNNING")
old_pod_infos = stateless_job.query_pods()
old_instance_zero_spec = stateless_job.get_pod(0).get_pod_spec()
update = StatelessUpdate(
stateless_job, updated_job_file=UPDATE_STATELESS_JOB_SPEC
)
update.create(in_place=in_place)
update.wait_for_state(goal_state="SUCCEEDED")
new_pod_infos = stateless_job.query_pods()
new_instance_zero_spec = stateless_job.get_pod(0).get_pod_spec()
assert_pod_id_changed(old_pod_infos, new_pod_infos)
assert_pod_spec_changed(old_instance_zero_spec, new_instance_zero_spec)
def test__create_update_add_instances(stateless_job, in_place):
stateless_job.create()
stateless_job.wait_for_state(goal_state="RUNNING")
old_pod_infos = stateless_job.query_pods()
update = StatelessUpdate(
stateless_job, updated_job_file=UPDATE_STATELESS_JOB_ADD_INSTANCES_SPEC
)
update.create(in_place=in_place)
update.wait_for_state(goal_state="SUCCEEDED")
new_pod_infos = stateless_job.query_pods()
assert len(old_pod_infos) == 3
assert len(new_pod_infos) == 5
def test__create_update_update_and_add_instances(stateless_job, in_place):
stateless_job.create()
stateless_job.wait_for_state(goal_state="RUNNING")
old_pod_infos = stateless_job.query_pods()
old_instance_zero_spec = stateless_job.get_pod(0).get_pod_spec()
update = StatelessUpdate(
stateless_job,
updated_job_file=UPDATE_STATELESS_JOB_UPDATE_AND_ADD_INSTANCES_SPEC,
)
update.create(in_place=in_place)
update.wait_for_state(goal_state="SUCCEEDED")
new_pod_infos = stateless_job.query_pods()
new_instance_zero_spec = stateless_job.get_pod(0).get_pod_spec()
assert len(old_pod_infos) == 3
assert len(new_pod_infos) == 5
assert_pod_id_changed(old_pod_infos, new_pod_infos)
assert_pod_spec_changed(old_instance_zero_spec, new_instance_zero_spec)
def test__create_update_update_start_paused(stateless_job, in_place):
stateless_job.create()
stateless_job.wait_for_state(goal_state="RUNNING")
old_pod_infos = stateless_job.query_pods()
old_instance_zero_spec = stateless_job.get_pod(0).get_pod_spec()
update = StatelessUpdate(
stateless_job,
updated_job_file=UPDATE_STATELESS_JOB_UPDATE_AND_ADD_INSTANCES_SPEC,
start_paused=True,
)
update.create(in_place=in_place)
update.wait_for_state(goal_state="PAUSED")
update.resume()
update.wait_for_state(goal_state="SUCCEEDED")
new_pod_infos = stateless_job.query_pods()
new_instance_zero_spec = stateless_job.get_pod(0).get_pod_spec()
assert len(old_pod_infos) == 3
assert len(new_pod_infos) == 5
assert_pod_id_changed(old_pod_infos, new_pod_infos)
assert_pod_spec_changed(old_instance_zero_spec, new_instance_zero_spec)
def test__create_update_with_batch_size(stateless_job, in_place):
stateless_job.create()
stateless_job.wait_for_state(goal_state="RUNNING")
old_pod_infos = stateless_job.query_pods()
old_instance_zero_spec = stateless_job.get_pod(0).get_pod_spec()
update = StatelessUpdate(
stateless_job, updated_job_file=UPDATE_STATELESS_JOB_SPEC, batch_size=1
)
update.create(in_place=in_place)
update.wait_for_state(goal_state="SUCCEEDED")
new_pod_infos = stateless_job.query_pods()
new_instance_zero_spec = stateless_job.get_pod(0).get_pod_spec()
assert_pod_id_changed(old_pod_infos, new_pod_infos)
assert_pod_spec_changed(old_instance_zero_spec, new_instance_zero_spec)
def test__create_update_add_instances_with_batch_size(stateless_job, in_place):
stateless_job.create()
stateless_job.wait_for_state(goal_state="RUNNING")
old_pod_infos = stateless_job.query_pods()
update = StatelessUpdate(
stateless_job,
updated_job_file=UPDATE_STATELESS_JOB_ADD_INSTANCES_SPEC,
batch_size=1,
)
update.create(in_place=in_place)
update.wait_for_state(goal_state="SUCCEEDED")
new_pod_infos = stateless_job.query_pods()
assert len(old_pod_infos) == 3
assert len(new_pod_infos) == 5
def test__create_update_update_and_add_instances_with_batch(stateless_job, in_place):
stateless_job.create()
stateless_job.wait_for_state(goal_state="RUNNING")
old_pod_infos = stateless_job.query_pods()
old_instance_zero_spec = stateless_job.get_pod(0).get_pod_spec()
update = StatelessUpdate(
stateless_job,
updated_job_file=UPDATE_STATELESS_JOB_UPDATE_AND_ADD_INSTANCES_SPEC,
batch_size=1,
)
update.create(in_place=in_place)
update.wait_for_state(goal_state="SUCCEEDED")
new_pod_infos = stateless_job.query_pods()
new_instance_zero_spec = stateless_job.get_pod(0).get_pod_spec()
assert len(old_pod_infos) == 3
assert len(new_pod_infos) == 5
assert_pod_id_changed(old_pod_infos, new_pod_infos)
assert_pod_spec_changed(old_instance_zero_spec, new_instance_zero_spec)
def test__create_update_bad_version(stateless_job, in_place):
stateless_job.create()
stateless_job.wait_for_state(goal_state="RUNNING")
update = StatelessUpdate(
stateless_job,
updated_job_file=UPDATE_STATELESS_JOB_UPDATE_AND_ADD_INSTANCES_SPEC,
batch_size=1,
)
try:
update.create(entity_version="1-2-3", in_place=in_place)
except grpc.RpcError as e:
assert e.code() == grpc.StatusCode.ABORTED
assert INVALID_ENTITY_VERSION_ERR_MESSAGE in e.details()
return
raise Exception("entity version mismatch error not received")
def test__pause_update_bad_version(stateless_job, in_place):
stateless_job.create()
stateless_job.wait_for_state(goal_state="RUNNING")
update = StatelessUpdate(
stateless_job,
updated_job_file=UPDATE_STATELESS_JOB_UPDATE_AND_ADD_INSTANCES_SPEC,
batch_size=1,
)
update.create(in_place=in_place)
try:
update.pause(entity_version="1-2-3")
except grpc.RpcError as e:
assert e.code() == grpc.StatusCode.ABORTED
assert INVALID_ENTITY_VERSION_ERR_MESSAGE in e.details()
return
raise Exception("entity version mismatch error not received")
def test__resume_update_bad_version(stateless_job, in_place):
stateless_job.create()
stateless_job.wait_for_state(goal_state="RUNNING")
update = StatelessUpdate(
stateless_job,
updated_job_file=UPDATE_STATELESS_JOB_UPDATE_AND_ADD_INSTANCES_SPEC,
start_paused=True,
batch_size=1,
)
update.create(in_place=in_place)
try:
update.resume(entity_version="1-2-3")
except grpc.RpcError as e:
assert e.code() == grpc.StatusCode.ABORTED
assert INVALID_ENTITY_VERSION_ERR_MESSAGE in e.details()
return
raise Exception("entity version mismatch error not received")
def test__abort_update_bad_version(stateless_job, in_place):
stateless_job.create()
stateless_job.wait_for_state(goal_state="RUNNING")
update = StatelessUpdate(
stateless_job,
updated_job_file=UPDATE_STATELESS_JOB_UPDATE_AND_ADD_INSTANCES_SPEC,
batch_size=1,
)
update.create(in_place=in_place)
try:
update.abort(entity_version="1-2-3")
except grpc.RpcError as e:
assert e.code() == grpc.StatusCode.ABORTED
assert INVALID_ENTITY_VERSION_ERR_MESSAGE in e.details()
return
raise Exception("entity version mismatch error not received")
def test__create_update_stopped_job(stateless_job, in_place):
stateless_job.create()
stateless_job.wait_for_state(goal_state="RUNNING")
old_pod_infos = stateless_job.query_pods()
old_instance_zero_spec = stateless_job.get_pod(0).get_pod_spec()
old_pod_states = set()
for pod_info in old_pod_infos:
old_pod_states.add(pod_info.spec.pod_name.value)
stateless_job.stop()
stateless_job.wait_for_state(goal_state="KILLED")
update = StatelessUpdate(
stateless_job,
updated_job_file=UPDATE_STATELESS_JOB_UPDATE_AND_ADD_INSTANCES_SPEC,
batch_size=1,
)
update.create(in_place=in_place)
stateless_job.start()
update.wait_for_state(goal_state="SUCCEEDED")
stateless_job.wait_for_state(goal_state="RUNNING")
new_pod_infos = stateless_job.query_pods()
new_instance_zero_spec = stateless_job.get_pod(0).get_pod_spec()
assert len(old_pod_infos) == 3
assert len(new_pod_infos) == 5
assert_pod_id_changed(old_pod_infos, new_pod_infos)
assert_pod_spec_changed(old_instance_zero_spec, new_instance_zero_spec)
# Only new instances should be RUNNING
for pod_info in new_pod_infos:
if pod_info.spec.pod_name.value in new_pod_infos:
assert pod_info.status.state == pod_pb2.POD_STATE_KILLED
else:
assert pod_info.status.state == pod_pb2.POD_STATE_RUNNING
def test__create_update_stopped_tasks(stateless_job, in_place):
stateless_job.create()
stateless_job.wait_for_state(goal_state="RUNNING")
old_pod_infos = stateless_job.query_pods()
old_instance_zero_spec = stateless_job.get_pod(0).get_pod_spec()
stateless_job.stop()
update = StatelessUpdate(
stateless_job,
updated_job_file=UPDATE_STATELESS_JOB_UPDATE_AND_ADD_INSTANCES_SPEC,
batch_size=1,
)
update.create(in_place=in_place)
update.wait_for_state(goal_state="SUCCEEDED")
stateless_job.wait_for_state(goal_state="KILLED")
stateless_job.start()
stateless_job.wait_for_state(goal_state="RUNNING")
new_pod_infos = stateless_job.query_pods()
new_instance_zero_spec = stateless_job.get_pod(0).get_pod_spec()
assert len(old_pod_infos) == 3
assert len(new_pod_infos) == 5
assert_pod_id_changed(old_pod_infos, new_pod_infos)
assert_pod_spec_changed(old_instance_zero_spec, new_instance_zero_spec)
def test__create_multiple_consecutive_updates(stateless_job, in_place):
stateless_job.create()
stateless_job.wait_for_state(goal_state="RUNNING")
old_pod_infos = stateless_job.query_pods()
old_instance_zero_spec = stateless_job.get_pod(0).get_pod_spec()
update1 = StatelessUpdate(
stateless_job, updated_job_file=UPDATE_STATELESS_JOB_ADD_INSTANCES_SPEC
)
update1.create(in_place=in_place)
update2 = StatelessUpdate(
stateless_job,
updated_job_file=UPDATE_STATELESS_JOB_UPDATE_AND_ADD_INSTANCES_SPEC,
batch_size=1,
)
update2.create(in_place=in_place)
update2.wait_for_state(goal_state="SUCCEEDED")
new_pod_infos = stateless_job.query_pods()
new_instance_zero_spec = stateless_job.get_pod(0).get_pod_spec()
assert len(old_pod_infos) == 3
assert len(new_pod_infos) == 5
assert_pod_id_changed(old_pod_infos, new_pod_infos)
assert_pod_spec_changed(old_instance_zero_spec, new_instance_zero_spec)
def test__abort_update(stateless_job, in_place):
stateless_job.create()
stateless_job.wait_for_state(goal_state="RUNNING")
update = StatelessUpdate(
stateless_job,
updated_job_file=UPDATE_STATELESS_JOB_UPDATE_AND_ADD_INSTANCES_SPEC,
batch_size=1,
)
update.create(in_place=in_place)
update.wait_for_state(goal_state="ROLLING_FORWARD")
update.abort()
update.wait_for_state(goal_state="ABORTED")
def test__update_reduce_instances(stateless_job, in_place):
stateless_job.create()
stateless_job.wait_for_state(goal_state="RUNNING")
old_pod_infos = stateless_job.query_pods()
assert len(old_pod_infos) == 3
# first increase instances
update = StatelessUpdate(
stateless_job, updated_job_file=UPDATE_STATELESS_JOB_ADD_INSTANCES_SPEC
)
update.create()
update.wait_for_state(goal_state="SUCCEEDED")
new_pod_infos = stateless_job.query_pods()
assert len(new_pod_infos) == 5
# now reduce instances
update = StatelessUpdate(
stateless_job,
updated_job_file=UPDATE_STATELESS_JOB_UPDATE_REDUCE_INSTANCES_SPEC,
)
update.create(in_place=in_place)
update.wait_for_state(goal_state="SUCCEEDED")
new_pod_infos = stateless_job.query_pods()
assert len(new_pod_infos) == 3
# now increase back again
update = StatelessUpdate(
stateless_job, updated_job_file=UPDATE_STATELESS_JOB_ADD_INSTANCES_SPEC
)
update.create()
update.wait_for_state(goal_state="SUCCEEDED")
new_pod_infos = stateless_job.query_pods()
assert len(new_pod_infos) == 5
def test__update_reduce_instances_stopped_tasks(stateless_job, in_place):
stateless_job.create()
stateless_job.wait_for_state(goal_state="RUNNING")
old_pod_infos = stateless_job.query_pods()
assert len(old_pod_infos) == 3
# first increase instances
update = StatelessUpdate(
stateless_job, updated_job_file=UPDATE_STATELESS_JOB_ADD_INSTANCES_SPEC
)
update.create(in_place=in_place)
update.wait_for_state(goal_state="SUCCEEDED")
new_pod_infos = stateless_job.query_pods()
assert len(new_pod_infos) == 5
# now stop last 2 tasks
ranges = task_pb2.InstanceRange(to=5)
setattr(ranges, "from", 3)
stateless_job.stop(ranges=[ranges])
# now reduce instance count
update = StatelessUpdate(
stateless_job,
updated_job_file=UPDATE_STATELESS_JOB_UPDATE_REDUCE_INSTANCES_SPEC,
)
update.create(in_place=in_place)
update.wait_for_state(goal_state="SUCCEEDED")
new_pod_infos = stateless_job.query_pods()
assert len(new_pod_infos) == 3
# test__create_update_bad_config tests creating an update with bad config
# without rollback
def test__create_update_with_bad_config(stateless_job, in_place):
stateless_job.create()
stateless_job.wait_for_state(goal_state="RUNNING")
old_instance_zero_spec = stateless_job.get_pod(0).get_pod_spec()
update = StatelessUpdate(
stateless_job,
updated_job_file=UPDATE_STATELESS_JOB_BAD_SPEC,
max_failure_instances=3,
max_instance_attempts=1,
)
update.create(in_place=in_place)
update.wait_for_state(goal_state="FAILED", failed_state="SUCCEEDED")
new_instance_zero_spec = stateless_job.get_pod(0).get_pod_spec()
assert_pod_spec_changed(old_instance_zero_spec, new_instance_zero_spec)
for pod_info in stateless_job.query_pods():
assert pod_info.status.state == pod_pb2.POD_STATE_FAILED
# test__create_update_add_instances_with_bad_config
# tests creating an update with bad config and more instances
# without rollback
def test__create_update_add_instances_with_bad_config(stateless_job, in_place):
stateless_job.create()
stateless_job.wait_for_state(goal_state="RUNNING")
job_spec_dump = load_test_config(UPDATE_STATELESS_JOB_BAD_SPEC)
updated_job_spec = JobSpec()
json_format.ParseDict(job_spec_dump, updated_job_spec)
updated_job_spec.instance_count = stateless_job.job_spec.instance_count + 3
update = StatelessUpdate(
stateless_job,
batch_size=1,
updated_job_spec=updated_job_spec,
max_failure_instances=1,
max_instance_attempts=1,
)
update.create(in_place=in_place)
update.wait_for_state(goal_state="FAILED", failed_state="SUCCEEDED")
# only one instance should be added
assert (
len(stateless_job.query_pods())
== stateless_job.job_spec.instance_count + 1
)
# test__create_update_reduce_instances_with_bad_config
# tests creating an update with bad config and fewer instances
# without rollback
def test__create_update_reduce_instances_with_bad_config(stateless_job, in_place):
stateless_job.create()
stateless_job.wait_for_state(goal_state="RUNNING")
old_pod_infos = stateless_job.query_pods()
job_spec_dump = load_test_config(UPDATE_STATELESS_JOB_BAD_SPEC)
updated_job_spec = JobSpec()
json_format.ParseDict(job_spec_dump, updated_job_spec)
updated_job_spec.instance_count = stateless_job.job_spec.instance_count - 1
update = StatelessUpdate(
stateless_job,
updated_job_spec=updated_job_spec,
batch_size=1,
max_failure_instances=1,
max_instance_attempts=1,
)
update.create(in_place=in_place)
update.wait_for_state(goal_state="FAILED", failed_state="SUCCEEDED")
new_pod_infos = stateless_job.query_pods()
assert len(old_pod_infos) == len(new_pod_infos)
# test__create_update_with_failed_health_check
# tests an update fails even if the new task state is RUNNING,
# as long as the health check fails
def test__create_update_with_failed_health_check(stateless_job, in_place):
stateless_job.create()
stateless_job.wait_for_state(goal_state="RUNNING")
update = StatelessUpdate(
stateless_job,
updated_job_file=UPDATE_STATELESS_JOB_BAD_HEALTH_CHECK_SPEC,
max_failure_instances=1,
max_instance_attempts=1,
)
update.create(in_place=in_place)
update.wait_for_state(goal_state="FAILED", failed_state="SUCCEEDED")
# test__create_update_to_disable_health_check tests an update which
# disables healthCheck
def test__create_update_to_disable_health_check(in_place):
job = StatelessJob(
job_file=UPDATE_STATELESS_JOB_WITH_HEALTH_CHECK_SPEC,
config=IntegrationTestConfig(
max_retry_attempts=100,
pool_file='test_stateless_respool.yaml',
),
)
job.create()
job.wait_for_state(goal_state="RUNNING")
job.job_spec.default_spec.containers[0].liveness_check.enabled = False
update = StatelessUpdate(
job,
updated_job_spec=job.job_spec,
max_failure_instances=1,
max_instance_attempts=1,
)
update.create(in_place=in_place)
update.wait_for_state(goal_state="SUCCEEDED")
# test__create_update_to_enable_health_check tests an update which
# enables healthCheck
def test__create_update_to_enable_health_check(in_place):
job = StatelessJob(
job_file=UPDATE_STATELESS_JOB_WITH_HEALTH_CHECK_SPEC,
config=IntegrationTestConfig(
max_retry_attempts=100,
pool_file='test_stateless_respool.yaml',
),
)
job.job_spec.default_spec.containers[0].liveness_check.enabled = False
job.create()
job.wait_for_state(goal_state="RUNNING")
job.job_spec.default_spec.containers[0].liveness_check.enabled = True
update = StatelessUpdate(
job,
updated_job_spec=job.job_spec,
max_failure_instances=1,
max_instance_attempts=1,
)
update.create(in_place=in_place)
update.wait_for_state(goal_state="SUCCEEDED")
# test__create_update_to_unset_health_check tests an update to unset
# health check config
def test__create_update_to_unset_health_check(in_place):
job = StatelessJob(
job_file=UPDATE_STATELESS_JOB_WITH_HEALTH_CHECK_SPEC,
config=IntegrationTestConfig(
max_retry_attempts=100,
pool_file='test_stateless_respool.yaml',
),
)
job.create()
job.wait_for_state(goal_state="RUNNING")
update = StatelessUpdate(
job,
updated_job_file=UPDATE_STATELESS_JOB_SPEC,
max_failure_instances=1,
max_instance_attempts=1,
)
update.create(in_place=in_place)
update.wait_for_state(goal_state="SUCCEEDED")
# test__create_update_to_unset_health_check tests an update to set
# health check config for a job without health check set
def test__create_update_to_set_health_check(in_place):
job = StatelessJob(
job_file=UPDATE_STATELESS_JOB_SPEC,
config=IntegrationTestConfig(
max_retry_attempts=100,
pool_file='test_stateless_respool.yaml',
),
)
job.create()
job.wait_for_state(goal_state="RUNNING")
update = StatelessUpdate(
job,
updated_job_file=UPDATE_STATELESS_JOB_WITH_HEALTH_CHECK_SPEC,
max_failure_instances=1,
max_instance_attempts=1,
)
update.create(in_place=in_place)
update.wait_for_state(goal_state="SUCCEEDED")
# test__create_update_to_change_health_check_config tests an update which
# changes healthCheck
def test__create_update_to_change_health_check_config(in_place):
job = StatelessJob(
job_file=UPDATE_STATELESS_JOB_WITH_HEALTH_CHECK_SPEC,
config=IntegrationTestConfig(
max_retry_attempts=100,
pool_file='test_stateless_respool.yaml',
),
)
job.job_spec.default_spec.containers[0].liveness_check.enabled = False
job.create()
job.wait_for_state(goal_state="RUNNING")
job.job_spec.default_spec.containers[
0
].liveness_check.initial_interval_secs = 2
update = StatelessUpdate(
job,
updated_job_spec=job.job_spec,
max_failure_instances=1,
max_instance_attempts=1,
)
update.create(in_place=in_place)
update.wait_for_state(goal_state="SUCCEEDED")
# test__auto_rollback_update_with_bad_config tests creating an update with bad config
# with rollback
def test__auto_rollback_update_with_bad_config(stateless_job, in_place):
stateless_job.create()
stateless_job.wait_for_state(goal_state="RUNNING")
old_instance_zero_spec = stateless_job.get_pod(0).get_pod_spec()
update = StatelessUpdate(
stateless_job,
updated_job_file=UPDATE_STATELESS_JOB_BAD_SPEC,
roll_back_on_failure=True,
max_failure_instances=1,
max_instance_attempts=1,
)
update.create(in_place=in_place)
update.wait_for_state(goal_state="ROLLED_BACK")
new_instance_zero_spec = stateless_job.get_pod(0).get_pod_spec()
assert_pod_spec_equal(old_instance_zero_spec, new_instance_zero_spec)
# test__auto_rollback_update_add_instances_with_bad_config
# tests creating an update with bad config and more instances
# with rollback
def test__auto_rollback_update_add_instances_with_bad_config(stateless_job, in_place):
stateless_job.create()
stateless_job.wait_for_state(goal_state="RUNNING")
old_instance_zero_spec = stateless_job.get_pod(0).get_pod_spec()
job_spec_dump = load_test_config(UPDATE_STATELESS_JOB_BAD_SPEC)
updated_job_spec = JobSpec()
json_format.ParseDict(job_spec_dump, updated_job_spec)
updated_job_spec.instance_count = stateless_job.job_spec.instance_count + 3
update = StatelessUpdate(
stateless_job,
updated_job_spec=updated_job_spec,
roll_back_on_failure=True,
max_failure_instances=1,
max_instance_attempts=1,
)
update.create(in_place=in_place)
update.wait_for_state(goal_state="ROLLED_BACK")
new_instance_zero_spec = stateless_job.get_pod(0).get_pod_spec()
# no instance should be added
assert (
len(stateless_job.query_pods())
== stateless_job.job_spec.instance_count
)
assert_pod_spec_equal(old_instance_zero_spec, new_instance_zero_spec)
# test__auto_rollback_update_reduce_instances_with_bad_config
# tests creating an update with bad config and fewer instances
# with rollback
def test__auto_rollback_update_reduce_instances_with_bad_config(stateless_job, in_place):
stateless_job.create()
stateless_job.wait_for_state(goal_state="RUNNING")
old_instance_zero_spec = stateless_job.get_pod(0).get_pod_spec()
job_spec_dump = load_test_config(UPDATE_STATELESS_JOB_BAD_SPEC)
updated_job_spec = JobSpec()
json_format.ParseDict(job_spec_dump, updated_job_spec)
updated_job_spec.instance_count = stateless_job.job_spec.instance_count - 1
update = StatelessUpdate(
stateless_job,
updated_job_spec=updated_job_spec,
roll_back_on_failure=True,
max_failure_instances=1,
max_instance_attempts=1,
)
update.create(in_place=in_place)
update.wait_for_state(goal_state="ROLLED_BACK")
new_instance_zero_spec = stateless_job.get_pod(0).get_pod_spec()
# no instance should be removed
assert (
len(stateless_job.query_pods())
== stateless_job.job_spec.instance_count
)
assert_pod_spec_equal(old_instance_zero_spec, new_instance_zero_spec)
# test__auto_rollback_update_with_failed_health_check
# tests an update fails even if the new task state is RUNNING,
# as long as the health check fails
def test__auto_rollback_update_with_failed_health_check(stateless_job, in_place):
stateless_job.create()
stateless_job.wait_for_state(goal_state="RUNNING")
old_instance_zero_spec = stateless_job.get_pod(0).get_pod_spec()
update = StatelessUpdate(
stateless_job,
updated_job_file=UPDATE_STATELESS_JOB_BAD_HEALTH_CHECK_SPEC,
roll_back_on_failure=True,
max_failure_instances=1,
max_instance_attempts=1,
)
update.create(in_place=in_place)
update.wait_for_state(goal_state="ROLLED_BACK")
new_instance_zero_spec = stateless_job.get_pod(0).get_pod_spec()
assert_pod_spec_equal(old_instance_zero_spec, new_instance_zero_spec)
# test__pause_resume_initialized_update test pause and resume
# an update in initialized state
def test__pause_resume_initialized_update(stateless_job, in_place):
stateless_job.create()
stateless_job.wait_for_state(goal_state="RUNNING")
old_pod_infos = stateless_job.query_pods()
old_instance_zero_spec = stateless_job.get_pod(0).get_pod_spec()
update = StatelessUpdate(
stateless_job, batch_size=1, updated_job_file=UPDATE_STATELESS_JOB_SPEC
)
update.create(in_place=in_place)
# immediately pause the update, so the update may still be INITIALIZED
update.pause()
update.wait_for_state(goal_state="PAUSED")
update.resume()
update.wait_for_state(goal_state="SUCCEEDED")
new_pod_infos = stateless_job.query_pods()
new_instance_zero_spec = stateless_job.get_pod(0).get_pod_spec()
assert_pod_id_changed(old_pod_infos, new_pod_infos)
assert_pod_spec_changed(old_instance_zero_spec, new_instance_zero_spec)
# test__pause_resume_initialized_update test pause and resume an update
def test__pause_resume__update(stateless_job, in_place):
stateless_job.create()
stateless_job.wait_for_state(goal_state="RUNNING")
old_pod_infos = stateless_job.query_pods()
old_instance_zero_spec = stateless_job.get_pod(0).get_pod_spec()
update = StatelessUpdate(
stateless_job, batch_size=1, updated_job_file=UPDATE_STATELESS_JOB_SPEC
)
update.create(in_place=in_place)
# sleep for 1 sec so update can begin to roll forward
time.sleep(1)
update.pause()
update.wait_for_state(goal_state="PAUSED")
update.resume()
update.wait_for_state(goal_state="SUCCEEDED")
new_pod_infos = stateless_job.query_pods()
new_instance_zero_spec = stateless_job.get_pod(0).get_pod_spec()
assert_pod_id_changed(old_pod_infos, new_pod_infos)
assert_pod_spec_changed(old_instance_zero_spec, new_instance_zero_spec)
# test_manual_rollback manually rolls back a running update when
# the instance count is reduced in the rollback.
# Note that manual rollback in peloton is just updating to the
# previous job configuration
def test_manual_rollback_reduce_instances(stateless_job, in_place):
stateless_job.create()
stateless_job.wait_for_state(goal_state="RUNNING")
old_pod_infos = stateless_job.query_pods()
old_instance_zero_spec = stateless_job.get_pod(0).get_pod_spec()
update = StatelessUpdate(
stateless_job, updated_job_file=UPDATE_STATELESS_JOB_ADD_INSTANCES_SPEC
)
update.create(in_place=in_place)
# manually rollback the update
update2 = StatelessUpdate(
stateless_job,
updated_job_file=UPDATE_STATELESS_JOB_UPDATE_REDUCE_INSTANCES_SPEC,
)
update2.create(in_place=in_place)
update2.wait_for_state(goal_state="SUCCEEDED")
new_pod_infos = stateless_job.query_pods()
assert len(old_pod_infos) == len(new_pod_infos)
new_instance_zero_spec = stateless_job.get_pod(0).get_pod_spec()
assert_pod_spec_equal(old_instance_zero_spec, new_instance_zero_spec)
# test_manual_rollback manually rolls back a running update when
# the instance count is increased in the rollback
def test_manual_rollback_increase_instances(stateless_job, in_place):
stateless_job.create()
stateless_job.wait_for_state(goal_state="RUNNING")
update = StatelessUpdate(
stateless_job, updated_job_file=UPDATE_STATELESS_JOB_ADD_INSTANCES_SPEC
)
update.create(in_place=in_place)
update.wait_for_state(goal_state="SUCCEEDED")
old_pod_infos = stateless_job.query_pods()
old_instance_zero_spec = stateless_job.get_pod(0).get_pod_spec()
# reduce instance count and then roll it back
update2 = StatelessUpdate(
stateless_job,
updated_job_file=UPDATE_STATELESS_JOB_UPDATE_REDUCE_INSTANCES_SPEC,
)
update2.create(in_place=in_place)
update3 = StatelessUpdate(
stateless_job, updated_job_file=UPDATE_STATELESS_JOB_ADD_INSTANCES_SPEC
)
update3.create(in_place=in_place)
update3.wait_for_state(goal_state="SUCCEEDED")
new_pod_infos = stateless_job.query_pods()
assert len(old_pod_infos) == len(new_pod_infos)
new_instance_zero_spec = stateless_job.get_pod(0).get_pod_spec()
assert_pod_spec_equal(old_instance_zero_spec, new_instance_zero_spec)
# test_auto_rollback_reduce_instances
# rolls back a failed update when
# the instance count is reduced in the rollback.
def test_auto_rollback_reduce_instances(stateless_job, in_place):
stateless_job.create()
stateless_job.wait_for_state(goal_state="RUNNING")
job_spec_dump = load_test_config(
UPDATE_STATELESS_JOB_BAD_HEALTH_CHECK_SPEC
)
updated_job_spec = JobSpec()
json_format.ParseDict(job_spec_dump, updated_job_spec)
# increase the instance count
updated_job_spec.instance_count = stateless_job.job_spec.instance_count + 3
update = StatelessUpdate(
stateless_job,
updated_job_spec=updated_job_spec,
roll_back_on_failure=True,
max_instance_attempts=1,
max_failure_instances=1,
batch_size=1,
)
update.create(in_place=in_place)
update.wait_for_state(goal_state="ROLLED_BACK")
assert (
len(stateless_job.query_pods())
== stateless_job.job_spec.instance_count
)
# test_update_create_failure_invalid_spec tests the
# update create failure due to invalid spec in request
def test_update_create_failure_invalid_spec(stateless_job, in_place):
stateless_job.create()
stateless_job.wait_for_state(goal_state="RUNNING")
update = StatelessUpdate(
stateless_job, updated_job_file=UPDATE_STATELESS_JOB_INVALID_SPEC
)
try:
update.create(in_place=in_place)
except grpc.RpcError as e:
assert e.code() == grpc.StatusCode.INVALID_ARGUMENT
return
raise Exception("job spec validation error not received")
# test_update_killed_job tests updating a killed job.
# The job should be updated but still remain in killed state
def test_update_killed_job(in_place):
job = StatelessJob(job_file=UPDATE_STATELESS_JOB_ADD_INSTANCES_SPEC)
job.create()
job.wait_for_state(goal_state="RUNNING")
job.stop()
job.wait_for_state(goal_state="KILLED")
update = StatelessUpdate(
job, updated_job_file=UPDATE_STATELESS_JOB_UPDATE_REDUCE_INSTANCES_SPEC
)
update.create(in_place=in_place)
update.wait_for_state(goal_state="SUCCEEDED")
assert job.get_spec().instance_count == 3
assert job.get_status().state == stateless_pb2.JOB_STATE_KILLED
# test_start_job_with_active_update tests
# starting a job with an active update
def test_start_job_with_active_update(stateless_job, in_place):
stateless_job.create()
stateless_job.wait_for_state(goal_state="RUNNING")
assert len(stateless_job.query_pods()) == 3
stateless_job.stop()
update = StatelessUpdate(
stateless_job,
updated_job_file=UPDATE_STATELESS_JOB_UPDATE_AND_ADD_INSTANCES_SPEC,
batch_size=1,
)
update.create(in_place=in_place)
stateless_job.start()
update.wait_for_state(goal_state="SUCCEEDED")
stateless_job.wait_for_all_pods_running()
assert len(stateless_job.query_pods()) == 5
# test_stop_running_job_with_active_update_add_instances tests
# stopping a running job with an active update(add instances)
def test_stop_running_job_with_active_update_add_instances(stateless_job, in_place):
stateless_job.create()
stateless_job.wait_for_state(goal_state="RUNNING")
assert len(stateless_job.query_pods()) == 3
update = StatelessUpdate(
stateless_job,
updated_job_file=UPDATE_STATELESS_JOB_UPDATE_AND_ADD_INSTANCES_SPEC,
batch_size=1,
)
update.create(in_place=in_place)
update.wait_for_state(goal_state="ROLLING_FORWARD")
stateless_job.stop()
update.wait_for_state(goal_state="SUCCEEDED")
assert stateless_job.get_spec().instance_count == 5
# test_stop_running_job_with_active_update_remove_instances tests
# stopping a running job with an active update(remove instances)
def test_stop_running_job_with_active_update_remove_instances(in_place):
stateless_job = StatelessJob(
job_file=UPDATE_STATELESS_JOB_ADD_INSTANCES_SPEC
)
stateless_job.create()
stateless_job.wait_for_state(goal_state="RUNNING")
assert len(stateless_job.query_pods()) == 5
update = StatelessUpdate(
stateless_job,
updated_job_file=UPDATE_STATELESS_JOB_UPDATE_REDUCE_INSTANCES_SPEC,
batch_size=1,
)
update.create(in_place=in_place)
update.wait_for_state(goal_state="ROLLING_FORWARD")
stateless_job.stop()
update.wait_for_state(goal_state="SUCCEEDED")
assert stateless_job.get_spec().instance_count == 3
# test_stop_running_job_with_active_update_same_instance_count tests stopping
# a running job with an active update that doesn't change instance count
def test_stop_running_job_with_active_update_same_instance_count(
stateless_job,
in_place
):
stateless_job.create()
stateless_job.wait_for_state(goal_state="RUNNING")
stateless_job.job_spec.default_spec.containers[
0
].command.value = "sleep 100"
update = StatelessUpdate(
stateless_job,
updated_job_spec=stateless_job.job_spec,
max_failure_instances=1,
max_instance_attempts=1,
)
update.create(in_place=in_place)
stateless_job.stop()
update.wait_for_state(goal_state="SUCCEEDED")
assert stateless_job.get_spec().instance_count == 3
assert (
stateless_job.get_spec().default_spec.containers[0].command.value
== "sleep 100"
)
# test__create_update_before_job_fully_created creates an update
# right after a job is created. It tests the case that job can be
# updated before it is fully created
def test__create_update_before_job_fully_created(stateless_job, in_place):
stateless_job.create()
update = StatelessUpdate(
stateless_job, updated_job_file=UPDATE_STATELESS_JOB_SPEC
)
update.create(in_place=in_place)
update.wait_for_state(goal_state="SUCCEEDED")
assert (
stateless_job.get_spec().default_spec.containers[0].command.value
== "while :; do echo updated; sleep 10; done"
)
# test__in_place_update_success_rate tests that in-place update
# should succeed when every daemon is in healthy state.
# It starts a job with 30 instances, and start the in-place update
# without batch size, then it tests if any pod is running on unexpected
# host.
def test__in_place_update_success_rate(stateless_job):
stateless_job.job_spec.instance_count = 30
stateless_job.create()
stateless_job.wait_for_all_pods_running()
old_pod_infos = stateless_job.query_pods()
job_spec_dump = load_test_config(UPDATE_STATELESS_JOB_SPEC)
updated_job_spec = JobSpec()
json_format.ParseDict(job_spec_dump, updated_job_spec)
updated_job_spec.instance_count = 30
update = StatelessUpdate(stateless_job,
updated_job_spec=updated_job_spec,
batch_size=0)
update.create(in_place=True)
update.wait_for_state(goal_state='SUCCEEDED')
new_pod_infos = stateless_job.query_pods()
old_pod_dict = {}
new_pod_dict = {}
for old_pod_info in old_pod_infos:
split_index = old_pod_info.status.pod_id.value.rfind('-')
pod_name = old_pod_info.status.pod_id.value[:split_index]
old_pod_dict[pod_name] = old_pod_info.status.host
for new_pod_info in new_pod_infos:
split_index = new_pod_info.status.pod_id.value.rfind('-')
pod_name = new_pod_info.status.pod_id.value[:split_index]
new_pod_dict[pod_name] = new_pod_info.status.host
count = 0
for pod_name, pod_id in old_pod_dict.items():
if new_pod_dict[pod_name] != old_pod_dict[pod_name]:
log.info("%s, prev:%s, cur:%s", pod_name,
old_pod_dict[pod_name], new_pod_dict[pod_name])
count = count + 1
log.info("total mismatch: %d", count)
assert count == 0
# test__in_place_kill_job_release_host tests the case of killing
# an ongoing in-place update would release hosts, so the second
# update can get completed
def test__in_place_kill_job_release_host():
job1 = StatelessJob(
job_file="test_stateless_job_spec.yaml",
)
job1.create()
job1.wait_for_state(goal_state="RUNNING")
job2 = StatelessJob(
job_file="test_stateless_job_spec.yaml",
)
job2.create()
job2.wait_for_state(goal_state="RUNNING")
update1 = StatelessUpdate(job1,
updated_job_file=UPDATE_STATELESS_JOB_SPEC,
batch_size=0)
update1.create(in_place=True)
# stop the update
job1.stop()
update2 = StatelessUpdate(job2,
updated_job_file=UPDATE_STATELESS_JOB_SPEC,
batch_size=0)
update2.create()
# both updates should complete
update1.wait_for_state(goal_state="SUCCEEDED")
update2.wait_for_state(goal_state="SUCCEEDED")
@pytest.mark.skip(reason="flaky test")
def test__in_place_update_host_maintenance(stateless_job, maintenance):
# add enough instances so each host should have some tasks running
stateless_job.job_spec.instance_count = 9
# need extra retry attempts, since in-place update would need more time
# to process given agent is put in maintenance mode
stateless_job.config = IntegrationTestConfig(
max_retry_attempts=300,
pool_file='test_stateless_respool.yaml',
),
stateless_job.create()
stateless_job.wait_for_all_pods_running()
job_spec_dump = load_test_config(UPDATE_STATELESS_JOB_SPEC)
updated_job_spec = JobSpec()
json_format.ParseDict(job_spec_dump, updated_job_spec)
updated_job_spec.instance_count = 9
update = StatelessUpdate(stateless_job,
updated_job_spec=updated_job_spec,
batch_size=0)
update.create(in_place=True)
# Pick a host that is UP and start maintenance on it
test_host = get_host_in_state(host_pb2.HOST_STATE_UP)
resp = maintenance["start"]([test_host])
assert resp
wait_for_host_state(test_host, host_pb2.HOST_STATE_DOWN)
update.wait_for_state(goal_state="SUCCEEDED")
def test__update_with_sla_aware_host_maintenance(stateless_job, maintenance):
"""
1. Create a stateless job with 3 instances.
2. Create a job update to update the instance job with instance count 2,
add host-limit-1 constraint and define sla with maximum_unavailable_instances=1
3. Start host maintenance on one of the hosts
4. The host should transition to DOWN and the update workflow should SUCCEED
"""
stateless_job.create()
stateless_job.wait_for_all_pods_running()
job_spec_dump = load_test_config('test_stateless_job_spec_sla.yaml')
updated_job_spec = JobSpec()
json_format.ParseDict(job_spec_dump, updated_job_spec)
updated_job_spec.instance_count = 2
update = StatelessUpdate(stateless_job,
updated_job_spec=updated_job_spec,
batch_size=1)
update.create()
# Pick a host that is UP and start maintenance on it
test_host = get_host_in_state(host_pb2.HOST_STATE_UP)
resp = maintenance["start"]([test_host])
assert resp
update.wait_for_state(goal_state="SUCCEEDED")
wait_for_host_state(test_host, host_pb2.HOST_STATE_DOWN)
def test__update_with_host_maintenance_and_agent_down(stateless_job, maintenance):
"""
1. Create a large stateless job (that take up more than two-thirds of
the cluster resources) with MaximumUnavailableInstances=2.
2. Start host maintenance on one of the hosts (say A) having pods of the job.
MaximumUnavailableInstances=2 ensures that not more than 2 pods are
unavailable due to host maintenance at a time.
3. Take down another host which has pods running on it. This will TASK_LOST
to be sent for all pods on the host after 75 seconds.
4. Start an update to modify the instance spec of one of the pods.
5. Since TASK_LOST would cause the job SLA to be violated, instances on the
host A should not be killed once LOST event is received. Verify that
host A does not transition to DOWN.
"""
stateless_job.job_spec.instance_count = 30
stateless_job.job_spec.default_spec.containers[0].resource.cpu_limit = 0.3
stateless_job.job_spec.sla.maximum_unavailable_instances = 2
stateless_job.create()
stateless_job.wait_for_all_pods_running()
hosts = [h.hostname for h in query_hosts([]).host_infos]
host_to_task_count = get_host_to_task_count(hosts, stateless_job)
sorted_hosts = [t[0] for t in sorted(
host_to_task_count.items(), key=operator.itemgetter(1), reverse=True)]
# Pick a host that has pods running on it to start maintenance on it.
test_host = sorted_hosts[0]
# pick another host which has pods of the job to take down
host_container = get_container([sorted_hosts[1]])
try:
host_container.stop()
maintenance["start"]([test_host])
stateless_job.job_spec.instance_spec[10].containers.extend(
[pod_pb2.ContainerSpec(resource=pod_pb2.ResourceSpec(disk_limit_mb=20))])
update = StatelessUpdate(stateless_job,
updated_job_spec=stateless_job.job_spec,
batch_size=0)
update.create()
update.wait_for_state(goal_state="SUCCEEDED")
stateless_job.stop()
wait_for_host_state(test_host, host_pb2.HOST_STATE_DOWN)
assert False, 'Host should not transition to DOWN'
except:
assert is_host_in_state(test_host, host_pb2.HOST_STATE_DRAINING)
pass
finally:
host_container.start()
def test__update_with_host_maintenance__bad_config(stateless_job, maintenance):
"""
1. Create a stateless job with 6 instances. Wait for all instances to reach
RUNNING state. This means that there is at least one host with 2 or more
instances on it
2. Start a bad job update with max failure tolerance of 1 and auto-rollback
disabled.
3. Start host maintenance on one of the hosts (say host A).
4. Wait for the update to fail. There should be 2 instances unavailable.
5. Since 2 instances are already unavailable and
maximum_unavailable_instances=1, host maintenance should not proceed.
Verify that the host A doesn't transition to DOWN.
"""
stateless_job.job_spec.sla.maximum_unavailable_instances = 1
stateless_job.job_spec.instance_count = 6
stateless_job.create()
stateless_job.wait_for_all_pods_running()
hosts = [h.hostname for h in query_hosts([]).host_infos]
host_to_task_count = get_host_to_task_count(hosts, stateless_job)
sorted_hosts = [t[0] for t in sorted(
host_to_task_count.items(), key=operator.itemgetter(1), reverse=True)]
job_spec_dump = load_test_config(UPDATE_STATELESS_JOB_BAD_SPEC)
updated_job_spec = JobSpec()
json_format.ParseDict(job_spec_dump, updated_job_spec)
updated_job_spec.instance_count = 6
updated_job_spec.sla.maximum_unavailable_instances = 1
update = StatelessUpdate(
stateless_job,
updated_job_spec=updated_job_spec,
max_failure_instances=1,
max_instance_attempts=1,
batch_size=2,
)
update.create()
# Pick a host that has pods running on it to start maintenance on it.
test_host = sorted_hosts[0]
maintenance["start"]([test_host])
update.wait_for_state(goal_state="FAILED", failed_state="SUCCEEDED")
try:
wait_for_host_state(test_host, host_pb2.HOST_STATE_DOWN)
assert False, 'Host should not transition to DOWN'
except:
assert is_host_in_state(test_host, host_pb2.HOST_STATE_DRAINING)
# test__create_update_update_job_label tests update job label
# would not trigger task restart
def test__create_update_update_job_label(stateless_job):
stateless_job.create()
stateless_job.wait_for_all_pods_running()
old_pod_infos = stateless_job.query_pods()
update = StatelessUpdate(
stateless_job, updated_job_file=UPDATE_STATELESS_JOB_LABEL_UPDATE_SPEC
)
update.create()
update.wait_for_state(goal_state="SUCCEEDED")
new_pod_infos = stateless_job.query_pods()
assert_pod_id_equal(old_pod_infos, new_pod_infos)
| 37.114219
| 89
| 0.753528
| 6,764
| 47,766
| 4.868273
| 0.054554
| 0.14176
| 0.037535
| 0.050047
| 0.863221
| 0.842145
| 0.807829
| 0.77491
| 0.755504
| 0.725683
| 0
| 0.007485
| 0.17211
| 47,766
| 1,286
| 90
| 37.143079
| 0.825212
| 0.126199
| 0
| 0.703666
| 0
| 0
| 0.047727
| 0.016407
| 0
| 0
| 0
| 0
| 0.093686
| 1
| 0.049898
| false
| 0.001018
| 0.020367
| 0
| 0.075356
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
bcbd9af8cfbedfbdec3bde38e0ff2974c7f91b2d
| 20,908
|
py
|
Python
|
serial_scripts/vrouter/test_slo.py
|
hkgopal/tf-test
|
dfb00ce26fb159ab5a91726f9647b68d905cfbad
|
[
"Apache-2.0"
] | 5
|
2020-09-29T00:36:57.000Z
|
2022-02-16T06:51:32.000Z
|
serial_scripts/vrouter/test_slo.py
|
hkgopal/tf-test
|
dfb00ce26fb159ab5a91726f9647b68d905cfbad
|
[
"Apache-2.0"
] | 27
|
2019-11-02T02:18:34.000Z
|
2022-02-24T18:49:08.000Z
|
serial_scripts/vrouter/test_slo.py
|
hkgopal/tf-test
|
dfb00ce26fb159ab5a91726f9647b68d905cfbad
|
[
"Apache-2.0"
] | 20
|
2019-11-28T16:02:25.000Z
|
2022-01-06T05:56:58.000Z
|
from common.slo.base import *
from tcutils.wrappers import preposttest_wrapper
import test
from tcutils.util import get_random_name, is_almost_same, skip_because
from security_group import get_secgrp_id_from_name, list_sg_rules
import random
AF_TEST = 'v6'
class SecurityLogging(SloBase):
@classmethod
def setUpClass(cls):
super(SecurityLogging, cls).setUpClass()
@classmethod
def tearDownClass(cls):
super(SecurityLogging, cls).tearDownClass()
@preposttest_wrapper
def test_slo_intra_node(self):
"""
Description: Verify security logging for inter-VN intra-Node traffic
Steps:
1. create 2 VNs and connect them using policy
2. launch 1 VM in each VN on same compute node
3. set session export rate to 0
4. start icmp/tcp/udp traffic and verify the session logs in agent log
as well as in syslog
Pass criteria:
step 4 should pass
"""
self._create_resources(test_type='intra-node', session_export_rate=0)
policy_obj = self.policy_fixture.policy_obj
project_name = self.project.project_name
sg_fq_name = '%s:%s:default' % (self.connections.domain_name,
project_name)
sg_id = get_secgrp_id_from_name(self.connections, sg_fq_name)
sg_obj = self.vnc_h._vnc.security_group_read(id=sg_id)
parent_obj = self.vnc_h.project_read(
fq_name=[self.connections.domain_name, project_name])
slo_rate = 1
slo_fixture = self.create_slo(parent_obj, rate=slo_rate, sg_obj=sg_obj,
vn_policy_obj=policy_obj)
for vn in self.vn_fixtures:
self.add_slo_to_vn(slo_fixture, vn)
#For intra node traffic there is no tunnel so underlay_proto would be zero
underlay_proto = 0
proto_list = [17, 1, 6]
self.enable_logging_on_compute(self.client_fixture.vm_node_ip,
log_type=AGENT_LOG, session_type='slo')
#Clear local ips after agent restart
self.client_fixture.clear_local_ips()
self.server_fixture.clear_local_ips()
#Verify Session logs in agent logs for SLO
for proto in proto_list:
self.start_traffic_validate_slo(self.client_fixture,
self.server_fixture, self.policy_fixture, proto=proto,
underlay_proto=underlay_proto, slo_rate=slo_rate)
self.logger.info("SLO: Expected Session logs found in agent log for "
"protocol %s" % (self.proto))
#
#SLO logged session verification in syslog
self.enable_logging_on_compute(self.client_fixture.vm_node_ip,
log_type=SYS_LOG, session_type='slo')
#Clear local ips after agent restart
self.client_fixture.clear_local_ips()
self.server_fixture.clear_local_ips()
#Verify Session logs in syslog
for proto in proto_list:
self.start_traffic_validate_slo_in_syslog(self.client_fixture,
self.server_fixture, self.policy_fixture, proto=proto,
underlay_proto=underlay_proto)
self.logger.info("Expected Session logs found in syslog for "
"protocol %s" % (self.proto))
@preposttest_wrapper
def test_slo_inter_node(self):
"""
Description: Verify security logging for inter-VN inter-Node traffic
Steps:
1. create 2 VNs and connect them using policy
2. launch 1 VM in each VN on diff compute node
3. set session export rate to 0
4. start icmp/tcp/udp traffic and verify the session logs in agent log
Pass criteria:
step 4 should pass
"""
self._create_resources(test_type='inter-node', session_export_rate=0)
policy_obj = self.policy_fixture.policy_obj
project_name = self.project.project_name
sg_fq_name = '%s:%s:default' % (self.connections.domain_name,
project_name)
sg_id = get_secgrp_id_from_name(self.connections, sg_fq_name)
sg_obj = self.vnc_h._vnc.security_group_read(id=sg_id)
parent_obj = self.vnc_h.project_read(
fq_name=[self.connections.domain_name, project_name])
slo_rate = 1
slo_fixture = self.create_slo(parent_obj, rate=slo_rate, sg_obj=sg_obj,
vn_policy_obj=policy_obj)
for vn in self.vn_fixtures:
self.add_slo_to_vn(slo_fixture, vn)
encap = self.connections.read_vrouter_config_encap()
if encap[0] == 'VXLAN':
underlay_proto = UNDERLAY_PROTO[encap[1]]
else:
underlay_proto = UNDERLAY_PROTO[encap[0]]
proto_list = [17, 1, 6]
self.enable_logging_on_compute(self.client_fixture.vm_node_ip,
log_type=AGENT_LOG, session_type='slo')
self.enable_logging_on_compute(self.server_fixture.vm_node_ip,
log_type=AGENT_LOG, session_type='slo')
#Clear local ips after agent restart
self.client_fixture.clear_local_ips()
self.server_fixture.clear_local_ips()
#Verify Session logs in agent logs for SLO
for proto in proto_list:
self.start_traffic_validate_slo(self.client_fixture,
self.server_fixture, self.policy_fixture, proto=proto,
underlay_proto=underlay_proto, slo_rate=slo_rate, sg_uuid=sg_id)
self.logger.info("SLO: Expected Session logs found in agent log for "
"protocol %s" % (self.proto))
@preposttest_wrapper
def test_slo_rate(self):
"""
Description: Verify security logging rate for inter/intra node traffic
Steps:
1. create 2 VNs and connect them using policy
2. launch 1 VM in each VN on diff compute node
3. set session export rate to 0 and SLO rate to 5
4. send 10 ping packets and verify the no. of session logs in agent log
Pass criteria:
No. of session logs should be 1 for session creation and 1 for teardown
"""
self._create_resources(test_type='intra-node', session_export_rate=0)
policy_obj = self.policy_fixture.policy_obj
project_name = self.project.project_name
sg_fq_name = '%s:%s:default' % (self.connections.domain_name,
project_name)
sg_id = get_secgrp_id_from_name(self.connections, sg_fq_name)
sg_obj = self.vnc_h._vnc.security_group_read(id=sg_id)
parent_obj = self.vnc_h.project_read(
fq_name=[self.connections.domain_name, project_name])
slo_rate = 5
slo_fixture = self.create_slo(parent_obj, rate=slo_rate,
vn_policy_obj=policy_obj)
for vn in self.vn_fixtures:
self.add_slo_to_vn(slo_fixture, vn)
underlay_proto = 0
proto = 1
self.enable_logging_on_compute(self.client_fixture.vm_node_ip,
log_type=AGENT_LOG, session_type='slo')
#Clear local ips after agent restart
self.client_fixture.clear_local_ips()
self.server_fixture.clear_local_ips()
#Verify Session logs in agent logs for SLO
self.start_traffic_validate_slo(self.client_fixture,
self.server_fixture, self.policy_fixture, proto=proto,
underlay_proto=underlay_proto, slo_rate=slo_rate,
exp_session_count=2)
self.logger.info("SLO: Expected Session logs found in agent log for "
"protocol %s" % (self.proto))
##
#Verify SLO rate for inter node icmp traffic
compute_hosts = self.orch.get_hosts()
if not (len(compute_hosts) < 2):
client_node_ip = self.client_fixture.vm_node_ip
server2_node_name = compute_hosts[1] if self.inputs.compute_info[
compute_hosts[1]] != client_node_ip else compute_hosts[0]
server2_fixture = self.create_vms(vn_fixture=self.vn2_fixture,
count=1, node_name=server2_node_name, image_name='ubuntu-traffic')[0]
self.verify_vms([server2_fixture])
self.enable_logging_on_compute(server2_fixture.vm_node_ip,
log_type=AGENT_LOG, session_type='slo')
#Clear local ips after agent restart
server2_fixture.clear_local_ips()
encap = self.connections.read_vrouter_config_encap()
if encap[0] == 'VXLAN':
underlay_proto = UNDERLAY_PROTO[encap[1]]
else:
underlay_proto = UNDERLAY_PROTO[encap[0]]
#Verify Session logs in agent logs for SLO
self.start_traffic_validate_slo(self.client_fixture,
server2_fixture, self.policy_fixture, proto=proto,
underlay_proto=underlay_proto, slo_rate=slo_rate, sg_uuid=sg_id,
exp_session_count=2)
self.logger.info("SLO: Expected Session logs found in agent log for "
"protocol %s" % (self.proto))
class SecurityLoggingFw(SloBase, SessionLoggingFwBase):
@classmethod
def setUpClass(cls):
super(SecurityLoggingFw, cls).setUpClass()
@classmethod
def tearDownClass(cls):
super(SecurityLoggingFw, cls).tearDownClass()
def _test_slo_with_fw(self, exp_srv_session_count=None,
exp_clnt_session_count=None, create_resources=True, slo_fixture=None,
fw_objs_dict=None):
if create_resources:
self._create_resources(test_type='inter-node', session_export_rate=0)
policy_obj = self.policy_fixture.policy_obj
project_name = self.project.project_name
sg_fq_name = '%s:%s:default' % (self.connections.domain_name,
project_name)
sg_id = get_secgrp_id_from_name(self.connections, sg_fq_name)
sg_obj = self.vnc_h._vnc.security_group_read(id=sg_id)
parent_obj = self.vnc_h.project_read(
fq_name=[self.connections.domain_name, project_name])
slo_rate = 1
if slo_fixture is None:
slo_fixture = self.create_slo(parent_obj, rate=slo_rate)
for vn in self.vn_fixtures:
self.add_slo_to_vn(slo_fixture, vn)
if fw_objs_dict is None:
#create firewall rule and policy
slo_rate_obj = SloRateType(rate=slo_rate)
slo_dict = {'slo_obj': slo_fixture.obj, 'rate_obj':slo_rate_obj}
fw_objs_dict = self.config_tag_firewall_policy(self.vn_fixtures, slo=slo_dict)
encap = self.connections.read_vrouter_config_encap()
if encap[0] == 'VXLAN':
underlay_proto = UNDERLAY_PROTO[encap[1]]
else:
underlay_proto = UNDERLAY_PROTO[encap[0]]
proto_list = [17]
self.enable_logging_on_compute(self.client_fixture.vm_node_ip,
log_type=AGENT_LOG, session_type='slo')
self.enable_logging_on_compute(self.server_fixture.vm_node_ip,
log_type=AGENT_LOG, session_type='slo')
#Clear local ips after agent restart
self.client_fixture.clear_local_ips()
self.server_fixture.clear_local_ips()
#Verify Session logs in agent logs for SLO
for proto in proto_list:
self.start_traffic_validate_slo_fw(self.client_fixture,
self.server_fixture, self.policy_fixture, proto=proto,
underlay_proto=underlay_proto, slo_rate=slo_rate, sg_uuid=sg_id,
fw_objs_dict=fw_objs_dict,
exp_srv_session_count=exp_srv_session_count,
exp_clnt_session_count=exp_clnt_session_count)
self.logger.info("SLO: Expected Session logs found in agent log for "
"protocol %s" % (self.proto))
return {'sg_obj':sg_obj, 'slo_fix':slo_fixture, 'fw_objs':fw_objs_dict}
@preposttest_wrapper
def test_slo_on_vmi(self):
"""
Description: Verify SLO on vmi
Steps:
1. create 2 VNs and connect them using network and firewall policy
2. launch 1 VM in each VN on diff compute node
3. set session export rate to 0 and attach SLO to dest vmi only
4. start udp traffic and verify the session logs in agent log on dest node
and no logs in src node
Pass criteria:
step 4 should pass
"""
self._create_resources(test_type='inter-node', session_export_rate=0)
policy_obj = self.policy_fixture.policy_obj
project_name = self.project.project_name
sg_fq_name = '%s:%s:default' % (self.connections.domain_name,
project_name)
sg_id = get_secgrp_id_from_name(self.connections, sg_fq_name)
sg_obj = self.vnc_h._vnc.security_group_read(id=sg_id)
parent_obj = self.vnc_h.project_read(
fq_name=[self.connections.domain_name, project_name])
slo_rate = 1
slo_fixture = self.create_slo(parent_obj, rate=slo_rate, sg_obj=sg_obj,
vn_policy_obj=policy_obj)
server_vmi_id = list(self.server_fixture.get_vmi_ids().values())[0]
self.add_slo_to_vmi(slo_fixture, server_vmi_id)
#create firewall rule and policy
slo_rate_obj = SloRateType(rate=slo_rate)
slo_dict = {'slo_obj': slo_fixture.obj, 'rate_obj':slo_rate_obj}
fw_objs_dict = self.config_tag_firewall_policy(self.vn_fixtures, slo=slo_dict)
encap = self.connections.read_vrouter_config_encap()
if encap[0] == 'VXLAN':
underlay_proto = UNDERLAY_PROTO[encap[1]]
else:
underlay_proto = UNDERLAY_PROTO[encap[0]]
proto_list = [17]
self.enable_logging_on_compute(self.client_fixture.vm_node_ip,
log_type=AGENT_LOG, session_type='slo')
self.enable_logging_on_compute(self.server_fixture.vm_node_ip,
log_type=AGENT_LOG, session_type='slo')
#Clear local ips after agent restart
self.client_fixture.clear_local_ips()
self.server_fixture.clear_local_ips()
#Verify Session logs in agent logs for SLO
for proto in proto_list:
self.start_traffic_validate_slo_fw(self.client_fixture,
self.server_fixture, self.policy_fixture, proto=proto,
underlay_proto=underlay_proto, slo_rate=slo_rate, sg_uuid=sg_id,
fw_objs_dict=fw_objs_dict, exp_clnt_session_count=0)
self.logger.info("SLO: Expected Session logs found in agent log for "
"protocol %s" % (self.proto))
@preposttest_wrapper
def test_slo_global(self):
"""
Description: Verify global security logging for inter-VN inter-Node traffic
with firewall policy and rules
Steps:
1. disable/enable global SLO flag and verify logging
2. Create global and tenant level SLO and verify logging
3. Delete global SLO and verify session get logged only matching tenant level SLO
Pass criteria:
All logging verifications should pass
"""
self.set_global_slo_flag(enable=False)
#Logged session should be 0 when global slo is disabled
created_objs = self._test_slo_with_fw(exp_srv_session_count=0,exp_clnt_session_count=0)
self.set_global_slo_flag(enable=True)
#Logged session should be seen when global slo is enabled
self._test_slo_with_fw(create_resources=False,
slo_fixture=created_objs['slo_fix'],
fw_objs_dict=created_objs['fw_objs'])
eth_type = 'IPv4' if (self.inputs.get_af() == 'v4') else 'IPv6'
proto_str = 'any'
sg_rule_id_ingress = list_sg_rules(self.connections,
created_objs['sg_obj'].uuid,
eth_type=eth_type, proto=proto_str, direction='ingress')[0]['id']
sg_rule_id_egress = list_sg_rules(self.connections,
created_objs['sg_obj'].uuid,
eth_type=eth_type, proto=proto_str, direction='egress')[0]['id']
#Create global SLO using sg_rule_id_ingress
slo_rate = 10
rules_list = [{'uuid':sg_rule_id_ingress, 'rate':100}]
g_slo_fixture = self.create_slo(rate=slo_rate, rules_list=rules_list)
#Remove old slo from VNs
for vn in self.vn_fixtures:
vn.set_slo_list([])
#Create tenant level SLO with sg_rule_id_egress and add to VNs
project_name = self.project.project_name
parent_obj = self.vnc_h.project_read(
fq_name=[self.connections.domain_name, project_name])
rules_list = [{'uuid':sg_rule_id_egress, 'rate':1}]
slo_fixture = self.create_slo(parent_obj, rate=slo_rate, rules_list=rules_list)
for vn in self.vn_fixtures:
self.add_slo_to_vn(slo_fixture, vn)
#With tenant level SLO created above, Client session will match and logged
#With global SLO, server session will match and logged
self._test_slo_with_fw(create_resources=False,
slo_fixture=slo_fixture, fw_objs_dict=created_objs['fw_objs'])
#Disable global slo again
self.set_global_slo_flag(enable=False)
#Now no logging should happen
self._test_slo_with_fw(create_resources=False,
slo_fixture=slo_fixture, fw_objs_dict=created_objs['fw_objs'],
exp_srv_session_count=0, exp_clnt_session_count=0)
#Enable global slo again
self.set_global_slo_flag(enable=True)
#Delete global SLO
g_slo_fixture.cleanUp()
self._remove_fixture_from_cleanup(g_slo_fixture)
#Now only Client session should get logged matching tenant level SLO
#Server session should be 0 as it will match ingress rule
self._test_slo_with_fw(create_resources=False,
exp_srv_session_count=0,
slo_fixture=slo_fixture, fw_objs_dict=created_objs['fw_objs'])
@preposttest_wrapper
def test_slo_fw_update(self):
"""
Description: Verify security logging for inter-VN inter-Node traffic
with firewall policy and rules and verify SLO update
Steps:
1. create 2 VNs and connect them using network and firewall policy
2. launch 1 VM in each VN on diff compute node
3. set session export rate to 0
4. start udp traffic and verify the session logs in agent log
Pass criteria:
step 4 should pass
"""
created_objs = self._test_slo_with_fw()
eth_type = 'IPv4' if (self.inputs.get_af() == 'v4') else 'IPv6'
proto_str = 'any'
sg_rule_id_ingress = list_sg_rules(self.connections,
created_objs['sg_obj'].uuid,
eth_type=eth_type, proto=proto_str, direction='ingress')[0]['id']
sg_rule_id_egress = list_sg_rules(self.connections,
created_objs['sg_obj'].uuid,
eth_type=eth_type, proto=proto_str, direction='egress')[0]['id']
#Remove old slo from VNs
for vn in self.vn_fixtures:
vn.set_slo_list([])
#Create tenant level SLO with sg_rule_id_egress and add to VNs
project_name = self.project.project_name
parent_obj = self.vnc_h.project_read(
fq_name=[self.connections.domain_name, project_name])
rules_list = [{'uuid':sg_rule_id_egress, 'rate':1}]
slo_fixture = self.create_slo(parent_obj, rate=10, rules_list=rules_list)
for vn in self.vn_fixtures:
self.add_slo_to_vn(slo_fixture, vn)
#With tenant level SLO created above, Client session will match and logged
self._test_slo_with_fw(create_resources=False,
slo_fixture=slo_fixture, fw_objs_dict=created_objs['fw_objs'],
exp_srv_session_count=0)
#Update SLO with both rules
rules_list.append({'uuid':sg_rule_id_ingress, 'rate':1})
self.update_slo(slo_fixture.obj, rules_list)
#Now both client and server sessions should get logged
self._test_slo_with_fw(create_resources=False,
slo_fixture=slo_fixture, fw_objs_dict=created_objs['fw_objs'])
class SecurityLoggingIpv6(SecurityLogging):
@classmethod
def setUpClass(cls):
super(SecurityLoggingIpv6, cls).setUpClass()
cls.inputs.set_af(AF_TEST)
def is_test_applicable(self):
if (self.inputs.orchestrator == 'vcenter') and (
not self.orch.is_feature_supported('ipv6')):
return(False, 'Skipping IPv6 Test on vcenter setup')
return (True, None)
class SecurityLoggingFwIpv6(SecurityLoggingFw):
@classmethod
def setUpClass(cls):
super(SecurityLoggingFwIpv6, cls).setUpClass()
cls.inputs.set_af(AF_TEST)
def is_test_applicable(self):
if (self.inputs.orchestrator == 'vcenter') and (
not self.orch.is_feature_supported('ipv6')):
return(False, 'Skipping IPv6 Test on vcenter setup')
return (True, None)
| 44.109705
| 95
| 0.659556
| 2,871
| 20,908
| 4.494949
| 0.080808
| 0.018985
| 0.030686
| 0.030221
| 0.821542
| 0.791941
| 0.78055
| 0.756451
| 0.753584
| 0.7432
| 0
| 0.009006
| 0.261814
| 20,908
| 473
| 96
| 44.20296
| 0.827135
| 0.180983
| 0
| 0.762821
| 0
| 0
| 0.054685
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.048077
| false
| 0
| 0.019231
| 0
| 0.089744
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
bcef7dcf817d7c25a74ca434c23730ed70d03f4f
| 1,560
|
py
|
Python
|
jax_influence/memory_utils.py
|
google-research/jax-influence
|
74bd321156b5445bb35b9594568e4eaaec1a76a3
|
[
"Apache-2.0"
] | 8
|
2022-02-17T10:19:27.000Z
|
2022-03-28T12:33:57.000Z
|
jax_influence/memory_utils.py
|
google-research/jax-influence
|
74bd321156b5445bb35b9594568e4eaaec1a76a3
|
[
"Apache-2.0"
] | null | null | null |
jax_influence/memory_utils.py
|
google-research/jax-influence
|
74bd321156b5445bb35b9594568e4eaaec1a76a3
|
[
"Apache-2.0"
] | 1
|
2022-03-02T14:32:56.000Z
|
2022-03-02T14:32:56.000Z
|
# Copyright 2021 The Jax Influence Authors.
#
# 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.
# Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Utilities for memory management."""
import jax
from jax_influence.types import PyTree
import numpy as np
def tohost_as_numpy(pytree: PyTree):
"""Moves pytree to host RAM as numpy.
Args:
pytree: PyTree to move to host RAM.
Returns:
A PyTree with the same structure but the leaves are numpy arrays
stored on the host RAM.
"""
return jax.tree_map(np.array, pytree)
| 32.5
| 74
| 0.750641
| 244
| 1,560
| 4.782787
| 0.385246
| 0.102828
| 0.044559
| 0.054841
| 0.712939
| 0.712939
| 0.712939
| 0.712939
| 0.712939
| 0.712939
| 0
| 0.012549
| 0.182692
| 1,560
| 47
| 75
| 33.191489
| 0.902745
| 0.851923
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.2
| false
| 0
| 0.6
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 8
|
4c797989b545fe1705e4dfa3b493a9f9307d4fd7
| 919,658
|
py
|
Python
|
venv/Lib/site-packages/phonenumbers/geodata/data21.py
|
lasithadilshan/pythonPhoneNumberLocation
|
31afcbe4b792d642e50418eb29e5a36ac27bd7a8
|
[
"MIT"
] | null | null | null |
venv/Lib/site-packages/phonenumbers/geodata/data21.py
|
lasithadilshan/pythonPhoneNumberLocation
|
31afcbe4b792d642e50418eb29e5a36ac27bd7a8
|
[
"MIT"
] | null | null | null |
venv/Lib/site-packages/phonenumbers/geodata/data21.py
|
lasithadilshan/pythonPhoneNumberLocation
|
31afcbe4b792d642e50418eb29e5a36ac27bd7a8
|
[
"MIT"
] | null | null | null |
"""Per-prefix data, mapping each prefix to a dict of locale:name.
Auto-generated file, do not edit by hand.
"""
from ..util import u
# Copyright (C) 2011-2021 The Libphonenumber Authors
#
# 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.
data = {
'86153387':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'86153388':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'86153389':{'en': 'Haikou, Hainan', 'zh': u('\u6d77\u5357\u7701\u6d77\u53e3\u5e02')},
'86153390':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'86153391':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'86153392':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861533930':{'en': 'Linxia, Gansu', 'zh': u('\u7518\u8083\u7701\u4e34\u590f\u56de\u65cf\u81ea\u6cbb\u5dde')},
'861533931':{'en': 'Lanzhou, Gansu', 'zh': u('\u7518\u8083\u7701\u5170\u5dde\u5e02')},
'861533932':{'en': 'Dingxi, Gansu', 'zh': u('\u7518\u8083\u7701\u5b9a\u897f\u5e02')},
'861533933':{'en': 'Pingliang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e73\u51c9\u5e02')},
'861533934':{'en': 'Qingyang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e86\u9633\u5e02')},
'861533935':{'en': 'Wuwei, Gansu', 'zh': u('\u7518\u8083\u7701\u6b66\u5a01\u5e02')},
'861533936':{'en': 'Zhangye, Gansu', 'zh': u('\u7518\u8083\u7701\u5f20\u6396\u5e02')},
'861533937':{'en': 'Jiuquan, Gansu', 'zh': u('\u7518\u8083\u7701\u9152\u6cc9\u5e02')},
'861533938':{'en': 'Tianshui, Gansu', 'zh': u('\u7518\u8083\u7701\u5929\u6c34\u5e02')},
'861533939':{'en': 'Longnan, Gansu', 'zh': u('\u7518\u8083\u7701\u9647\u5357\u5e02')},
'861533940':{'en': 'Wuwei, Gansu', 'zh': u('\u7518\u8083\u7701\u6b66\u5a01\u5e02')},
'861533941':{'en': 'Pingliang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e73\u51c9\u5e02')},
'861533942':{'en': 'Jiuquan, Gansu', 'zh': u('\u7518\u8083\u7701\u9152\u6cc9\u5e02')},
'861533943':{'en': 'Baiyin, Gansu', 'zh': u('\u7518\u8083\u7701\u767d\u94f6\u5e02')},
'861533944':{'en': 'Lanzhou, Gansu', 'zh': u('\u7518\u8083\u7701\u5170\u5dde\u5e02')},
'861533945':{'en': 'Jinchang, Gansu', 'zh': u('\u7518\u8083\u7701\u91d1\u660c\u5e02')},
'861533946':{'en': 'Qingyang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e86\u9633\u5e02')},
'861533947':{'en': 'Jiayuguan, Gansu', 'zh': u('\u7518\u8083\u7701\u5609\u5cea\u5173\u5e02')},
'861533948':{'en': 'Jiuquan, Gansu', 'zh': u('\u7518\u8083\u7701\u9152\u6cc9\u5e02')},
'861533949':{'en': 'Jiuquan, Gansu', 'zh': u('\u7518\u8083\u7701\u9152\u6cc9\u5e02')},
'861533950':{'en': 'Guiyang, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u8d35\u9633\u5e02')},
'861533951':{'en': 'Guiyang, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u8d35\u9633\u5e02')},
'861533952':{'en': 'Zunyi, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9075\u4e49\u5e02')},
'861533953':{'en': 'Anshun, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u5b89\u987a\u5e02')},
'861533954':{'en': 'Qianxinan, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9ed4\u897f\u5357\u5e03\u4f9d\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861533955':{'en': 'Qiandongnan, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9ed4\u4e1c\u5357\u82d7\u65cf\u4f97\u65cf\u81ea\u6cbb\u5dde')},
'861533956':{'en': 'Tongren, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u94dc\u4ec1\u5730\u533a')},
'861533957':{'en': 'Bijie, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u6bd5\u8282\u5730\u533a')},
'861533958':{'en': 'Liupanshui, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u516d\u76d8\u6c34\u5e02')},
'861533959':{'en': 'Qiannan, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9ed4\u5357\u5e03\u4f9d\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'86153396':{'en': 'LuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861533966':{'en': 'Chizhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6c60\u5dde\u5e02')},
'861533967':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861533969':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861533970':{'en': 'Linxia, Gansu', 'zh': u('\u7518\u8083\u7701\u4e34\u590f\u56de\u65cf\u81ea\u6cbb\u5dde')},
'861533971':{'en': 'Jinchang, Gansu', 'zh': u('\u7518\u8083\u7701\u91d1\u660c\u5e02')},
'861533972':{'en': 'Dingxi, Gansu', 'zh': u('\u7518\u8083\u7701\u5b9a\u897f\u5e02')},
'861533973':{'en': 'Pingliang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e73\u51c9\u5e02')},
'861533974':{'en': 'Qingyang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e86\u9633\u5e02')},
'861533975':{'en': 'Wuwei, Gansu', 'zh': u('\u7518\u8083\u7701\u6b66\u5a01\u5e02')},
'861533976':{'en': 'Zhangye, Gansu', 'zh': u('\u7518\u8083\u7701\u5f20\u6396\u5e02')},
'861533977':{'en': 'Jiuquan, Gansu', 'zh': u('\u7518\u8083\u7701\u9152\u6cc9\u5e02')},
'861533978':{'en': 'Tianshui, Gansu', 'zh': u('\u7518\u8083\u7701\u5929\u6c34\u5e02')},
'861533979':{'en': 'Longnan, Gansu', 'zh': u('\u7518\u8083\u7701\u9647\u5357\u5e02')},
'86153398':{'en': 'Lanzhou, Gansu', 'zh': u('\u7518\u8083\u7701\u5170\u5dde\u5e02')},
'861533987':{'en': 'Jiayuguan, Gansu', 'zh': u('\u7518\u8083\u7701\u5609\u5cea\u5173\u5e02')},
'861533988':{'en': 'Jiuquan, Gansu', 'zh': u('\u7518\u8083\u7701\u9152\u6cc9\u5e02')},
'861533989':{'en': 'Baiyin, Gansu', 'zh': u('\u7518\u8083\u7701\u767d\u94f6\u5e02')},
'861533990':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861533991':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861533992':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861533993':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861533994':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861533995':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861533996':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861533997':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861533998':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861533999':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'86153400':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86153401':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86153402':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'86153403':{'en': 'Chongqing', 'zh': u('\u91cd\u5e86\u5e02')},
'86153404':{'en': 'Chongqing', 'zh': u('\u91cd\u5e86\u5e02')},
'86153405':{'en': 'Chongqing', 'zh': u('\u91cd\u5e86\u5e02')},
'861534060':{'en': 'Shuozhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u6714\u5dde\u5e02')},
'861534061':{'en': 'Shuozhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u6714\u5dde\u5e02')},
'861534062':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861534063':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861534064':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861534065':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861534066':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861534067':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861534068':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861534069':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861534070':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861534071':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861534072':{'en': 'Datong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5927\u540c\u5e02')},
'861534073':{'en': 'Datong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5927\u540c\u5e02')},
'861534074':{'en': 'Datong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5927\u540c\u5e02')},
'861534075':{'en': 'Datong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5927\u540c\u5e02')},
'861534076':{'en': 'Yangquan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u9633\u6cc9\u5e02')},
'861534077':{'en': 'Yangquan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u9633\u6cc9\u5e02')},
'861534078':{'en': 'Yangquan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u9633\u6cc9\u5e02')},
'861534079':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861534080':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861534081':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861534082':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861534083':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861534084':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861534085':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861534086':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861534087':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861534088':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861534089':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861534090':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861534091':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861534092':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861534093':{'en': u('L\u00fcliang, Shanxi'), 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861534094':{'en': u('L\u00fcliang, Shanxi'), 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861534095':{'en': u('L\u00fcliang, Shanxi'), 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861534096':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861534097':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861534098':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861534099':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'86153420':{'en': 'Tianjin', 'zh': u('\u5929\u6d25\u5e02')},
'86153421':{'en': 'Tianjin', 'zh': u('\u5929\u6d25\u5e02')},
'86153422':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861534230':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'861534231':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'861534232':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'861534233':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861534234':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861534235':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861534236':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861534237':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861534238':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861534239':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'86153424':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861534240':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861534241':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861534242':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861534243':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'86153425':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861534258':{'en': 'Ezhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u9102\u5dde\u5e02')},
'861534259':{'en': 'Ezhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u9102\u5dde\u5e02')},
'86153426':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861534260':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861534267':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861534268':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861534269':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861534270':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861534271':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861534272':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861534273':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861534274':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861534275':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861534276':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'861534277':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861534278':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861534279':{'en': 'Suizhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u968f\u5dde\u5e02')},
'86153428':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861534280':{'en': 'Suizhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u968f\u5dde\u5e02')},
'861534281':{'en': 'Suizhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u968f\u5dde\u5e02')},
'861534289':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'86153429':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861534295':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861534296':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861534298':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861534299':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861534300':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861534301':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861534302':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'861534303':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861534304':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861534305':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861534306':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861534307':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861534308':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861534309':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861534310':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861534311':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861534312':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861534313':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861534314':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861534315':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861534316':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861534317':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861534318':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861534319':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861534320':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861534321':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861534322':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'861534323':{'en': 'Xiangxi, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u897f\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861534324':{'en': 'Zhangjiajie, Hunan', 'zh': u('\u6e56\u5357\u7701\u5f20\u5bb6\u754c\u5e02')},
'861534325':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861534326':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861534327':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861534328':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861534329':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861534330':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861534331':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861534332':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'861534333':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861534334':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861534335':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861534336':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861534337':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861534338':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861534339':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861534340':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861534341':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861534342':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861534343':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861534344':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861534346':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861534348':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861534350':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861534351':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861534352':{'en': 'Datong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5927\u540c\u5e02')},
'861534353':{'en': 'Shuozhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u6714\u5dde\u5e02')},
'861534354':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861534355':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861534356':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861534357':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861534358':{'en': u('L\u00fcliang, Shanxi'), 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861534359':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861534360':{'en': 'Lanzhou, Gansu', 'zh': u('\u7518\u8083\u7701\u5170\u5dde\u5e02')},
'861534361':{'en': 'Lanzhou, Gansu', 'zh': u('\u7518\u8083\u7701\u5170\u5dde\u5e02')},
'861534362':{'en': 'Lanzhou, Gansu', 'zh': u('\u7518\u8083\u7701\u5170\u5dde\u5e02')},
'861534363':{'en': 'Pingliang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e73\u51c9\u5e02')},
'861534364':{'en': 'Linxia, Gansu', 'zh': u('\u7518\u8083\u7701\u4e34\u590f\u56de\u65cf\u81ea\u6cbb\u5dde')},
'861534365':{'en': 'Wuwei, Gansu', 'zh': u('\u7518\u8083\u7701\u6b66\u5a01\u5e02')},
'861534366':{'en': 'Zhangye, Gansu', 'zh': u('\u7518\u8083\u7701\u5f20\u6396\u5e02')},
'861534367':{'en': 'Baiyin, Gansu', 'zh': u('\u7518\u8083\u7701\u767d\u94f6\u5e02')},
'861534368':{'en': 'Tianshui, Gansu', 'zh': u('\u7518\u8083\u7701\u5929\u6c34\u5e02')},
'861534369':{'en': 'Dingxi, Gansu', 'zh': u('\u7518\u8083\u7701\u5b9a\u897f\u5e02')},
'861534370':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861534371':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861534372':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861534373':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861534374':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'861534375':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861534376':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861534377':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861534378':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'861534379':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861534380':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861534381':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861534382':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861534383':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861534384':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861534385':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861534386':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861534387':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861534388':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861534389':{'en': 'Luohe, Henan', 'zh': u('\u6cb3\u5357\u7701\u6f2f\u6cb3\u5e02')},
'861534390':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861534391':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'861534392':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'861534393':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'861534394':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'861534395':{'en': 'Luohe, Henan', 'zh': u('\u6cb3\u5357\u7701\u6f2f\u6cb3\u5e02')},
'861534396':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861534397':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861534398':{'en': 'Sanmenxia, Henan', 'zh': u('\u6cb3\u5357\u7701\u4e09\u95e8\u5ce1\u5e02')},
'861534399':{'en': 'Sanmenxia, Henan', 'zh': u('\u6cb3\u5357\u7701\u4e09\u95e8\u5ce1\u5e02')},
'861534400':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861534401':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861534402':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861534403':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861534404':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861534405':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'861534406':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'861534407':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'861534408':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'861534409':{'en': 'Alxa, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u963f\u62c9\u5584\u76df')},
'86153441':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861534410':{'en': 'Wuhai, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u6d77\u5e02')},
'861534411':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861534418':{'en': 'Xilin, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9521\u6797\u90ed\u52d2\u76df')},
'861534419':{'en': 'Xilin, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9521\u6797\u90ed\u52d2\u76df')},
'861534420':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861534421':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861534422':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861534423':{'en': 'Hinggan, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5174\u5b89\u76df')},
'861534424':{'en': 'Hinggan, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5174\u5b89\u76df')},
'861534425':{'en': 'Hinggan, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5174\u5b89\u76df')},
'861534426':{'en': 'Bayannur, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861534427':{'en': 'Bayannur, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861534428':{'en': 'Bayannur, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861534429':{'en': 'Bayannur, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861534430':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'861534431':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'861534432':{'en': 'Yanbian, Jilin', 'zh': u('\u5409\u6797\u7701\u5ef6\u8fb9\u671d\u9c9c\u65cf\u81ea\u6cbb\u5dde')},
'861534433':{'en': 'Yanbian, Jilin', 'zh': u('\u5409\u6797\u7701\u5ef6\u8fb9\u671d\u9c9c\u65cf\u81ea\u6cbb\u5dde')},
'861534434':{'en': 'Tonghua, Jilin', 'zh': u('\u5409\u6797\u7701\u901a\u5316\u5e02')},
'861534435':{'en': 'Tonghua, Jilin', 'zh': u('\u5409\u6797\u7701\u901a\u5316\u5e02')},
'861534436':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'861534437':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'861534438':{'en': 'Yanbian, Jilin', 'zh': u('\u5409\u6797\u7701\u5ef6\u8fb9\u671d\u9c9c\u65cf\u81ea\u6cbb\u5dde')},
'861534439':{'en': 'Tonghua, Jilin', 'zh': u('\u5409\u6797\u7701\u901a\u5316\u5e02')},
'861534440':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861534441':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861534442':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861534443':{'en': 'Xiangxi, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u897f\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861534444':{'en': 'Zhangjiajie, Hunan', 'zh': u('\u6e56\u5357\u7701\u5f20\u5bb6\u754c\u5e02')},
'861534445':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861534446':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861534447':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861534448':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861534449':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861534450':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861534451':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861534452':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861534453':{'en': 'Mudanjiang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7261\u4e39\u6c5f\u5e02')},
'861534454':{'en': 'Jiamusi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f73\u6728\u65af\u5e02')},
'861534455':{'en': 'Suihua, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7ee5\u5316\u5e02')},
'861534456':{'en': 'Heihe, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9ed1\u6cb3\u5e02')},
'861534457':{'en': 'Shuangyashan, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u53cc\u9e2d\u5c71\u5e02')},
'861534458':{'en': 'Jixi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e21\u897f\u5e02')},
'861534459':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861534460':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861534461':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861534462':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861534463':{'en': 'Mudanjiang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7261\u4e39\u6c5f\u5e02')},
'861534464':{'en': 'Qitaihe, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4e03\u53f0\u6cb3\u5e02')},
'861534465':{'en': 'Suihua, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7ee5\u5316\u5e02')},
'861534470':{'en': 'Haikou, Hainan', 'zh': u('\u6d77\u5357\u7701\u6d77\u53e3\u5e02')},
'861534471':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861534472':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86153448':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861534490':{'en': 'Jiuquan, Gansu', 'zh': u('\u7518\u8083\u7701\u9152\u6cc9\u5e02')},
'861534498':{'en': 'Lanzhou, Gansu', 'zh': u('\u7518\u8083\u7701\u5170\u5dde\u5e02')},
'861534499':{'en': 'Lanzhou, Gansu', 'zh': u('\u7518\u8083\u7701\u5170\u5dde\u5e02')},
'861534500':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861534501':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861534502':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861534503':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861534504':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861534505':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861534506':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861534507':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861534508':{'en': 'Longyan, Fujian', 'zh': u('\u798f\u5efa\u7701\u9f99\u5ca9\u5e02')},
'861534509':{'en': 'Longyan, Fujian', 'zh': u('\u798f\u5efa\u7701\u9f99\u5ca9\u5e02')},
'861534510':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861534511':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861534512':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861534513':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861534514':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861534515':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861534516':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861534517':{'en': 'HuaiAn, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861534518':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861534519':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861534520':{'en': 'HuaiAn, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861534521':{'en': 'HuaiAn, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861534522':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861534523':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861534524':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861534525':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861534526':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861534527':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861534528':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861534529':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861534530':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861534531':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861534532':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861534533':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861534534':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861534535':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861534536':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861534537':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861534538':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861534539':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861534540':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861534541':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861534542':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861534543':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861534544':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861534545':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861534546':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861534547':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861534548':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861534549':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861534550':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'861534551':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861534552':{'en': 'Bengbu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u868c\u57e0\u5e02')},
'861534553':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861534554':{'en': 'Huainan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5357\u5e02')},
'861534555':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861534556':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861534557':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861534558':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861534559':{'en': 'Huangshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9ec4\u5c71\u5e02')},
'861534560':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861534561':{'en': 'Huaibei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5317\u5e02')},
'861534562':{'en': 'Tongling, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u94dc\u9675\u5e02')},
'861534563':{'en': 'Xuancheng, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5ba3\u57ce\u5e02')},
'861534564':{'en': 'LuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861534565':{'en': 'Chaohu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5de2\u6e56\u5e02')},
'861534566':{'en': 'Chizhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6c60\u5dde\u5e02')},
'861534567':{'en': 'Bozhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u4eb3\u5dde\u5e02')},
'861534568':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861534569':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861534570':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'861534571':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861534572':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861534573':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861534574':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861534575':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861534576':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861534577':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861534578':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861534579':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861534580':{'en': 'Zhoushan, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u821f\u5c71\u5e02')},
'861534581':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861534582':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861534583':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861534584':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861534585':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861534586':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861534587':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861534588':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861534589':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861534590':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'861534591':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861534592':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861534593':{'en': 'Putian, Fujian', 'zh': u('\u798f\u5efa\u7701\u8386\u7530\u5e02')},
'861534594':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861534595':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861534596':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'861534597':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861534598':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861534599':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'86153460':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'861534600':{'en': 'Luohe, Henan', 'zh': u('\u6cb3\u5357\u7701\u6f2f\u6cb3\u5e02')},
'861534601':{'en': 'Luohe, Henan', 'zh': u('\u6cb3\u5357\u7701\u6f2f\u6cb3\u5e02')},
'861534602':{'en': 'Luohe, Henan', 'zh': u('\u6cb3\u5357\u7701\u6f2f\u6cb3\u5e02')},
'861534603':{'en': 'Luohe, Henan', 'zh': u('\u6cb3\u5357\u7701\u6f2f\u6cb3\u5e02')},
'86153461':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'861534610':{'en': 'Sanmenxia, Henan', 'zh': u('\u6cb3\u5357\u7701\u4e09\u95e8\u5ce1\u5e02')},
'861534611':{'en': 'Sanmenxia, Henan', 'zh': u('\u6cb3\u5357\u7701\u4e09\u95e8\u5ce1\u5e02')},
'861534612':{'en': 'Sanmenxia, Henan', 'zh': u('\u6cb3\u5357\u7701\u4e09\u95e8\u5ce1\u5e02')},
'861534620':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861534621':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861534622':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861534623':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861534624':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861534625':{'en': 'Hebi, Henan', 'zh': u('\u6cb3\u5357\u7701\u9e64\u58c1\u5e02')},
'861534626':{'en': 'Hebi, Henan', 'zh': u('\u6cb3\u5357\u7701\u9e64\u58c1\u5e02')},
'861534627':{'en': 'Hebi, Henan', 'zh': u('\u6cb3\u5357\u7701\u9e64\u58c1\u5e02')},
'861534628':{'en': 'Hebi, Henan', 'zh': u('\u6cb3\u5357\u7701\u9e64\u58c1\u5e02')},
'861534629':{'en': 'Hebi, Henan', 'zh': u('\u6cb3\u5357\u7701\u9e64\u58c1\u5e02')},
'86153463':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861534630':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'861534631':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'861534632':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'861534633':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'86153464':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861534647':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861534648':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861534649':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861534650':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861534651':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861534652':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861534653':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861534654':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861534655':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'861534656':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861534657':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861534658':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861534659':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861534660':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861534661':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861534662':{'en': 'Ezhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u9102\u5dde\u5e02')},
'861534664':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861534666':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861534670':{'en': 'Linxia, Gansu', 'zh': u('\u7518\u8083\u7701\u4e34\u590f\u56de\u65cf\u81ea\u6cbb\u5dde')},
'861534671':{'en': 'Lanzhou, Gansu', 'zh': u('\u7518\u8083\u7701\u5170\u5dde\u5e02')},
'861534672':{'en': 'Dingxi, Gansu', 'zh': u('\u7518\u8083\u7701\u5b9a\u897f\u5e02')},
'861534673':{'en': 'Pingliang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e73\u51c9\u5e02')},
'861534674':{'en': 'Qingyang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e86\u9633\u5e02')},
'861534675':{'en': 'Wuwei, Gansu', 'zh': u('\u7518\u8083\u7701\u6b66\u5a01\u5e02')},
'861534676':{'en': 'Zhangye, Gansu', 'zh': u('\u7518\u8083\u7701\u5f20\u6396\u5e02')},
'861534677':{'en': 'Gannan, Gansu', 'zh': u('\u7518\u8083\u7701\u7518\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861534678':{'en': 'Tianshui, Gansu', 'zh': u('\u7518\u8083\u7701\u5929\u6c34\u5e02')},
'861534679':{'en': 'Longnan, Gansu', 'zh': u('\u7518\u8083\u7701\u9647\u5357\u5e02')},
'861534680':{'en': 'Linxia, Gansu', 'zh': u('\u7518\u8083\u7701\u4e34\u590f\u56de\u65cf\u81ea\u6cbb\u5dde')},
'861534681':{'en': 'Lanzhou, Gansu', 'zh': u('\u7518\u8083\u7701\u5170\u5dde\u5e02')},
'861534682':{'en': 'Dingxi, Gansu', 'zh': u('\u7518\u8083\u7701\u5b9a\u897f\u5e02')},
'861534683':{'en': 'Pingliang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e73\u51c9\u5e02')},
'861534684':{'en': 'Qingyang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e86\u9633\u5e02')},
'861534685':{'en': 'Wuwei, Gansu', 'zh': u('\u7518\u8083\u7701\u6b66\u5a01\u5e02')},
'861534686':{'en': 'Zhangye, Gansu', 'zh': u('\u7518\u8083\u7701\u5f20\u6396\u5e02')},
'861534687':{'en': 'Zhangye, Gansu', 'zh': u('\u7518\u8083\u7701\u5f20\u6396\u5e02')},
'861534688':{'en': 'Gannan, Gansu', 'zh': u('\u7518\u8083\u7701\u7518\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861534689':{'en': 'Longnan, Gansu', 'zh': u('\u7518\u8083\u7701\u9647\u5357\u5e02')},
'861534690':{'en': 'Linxia, Gansu', 'zh': u('\u7518\u8083\u7701\u4e34\u590f\u56de\u65cf\u81ea\u6cbb\u5dde')},
'861534691':{'en': 'Gannan, Gansu', 'zh': u('\u7518\u8083\u7701\u7518\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861534692':{'en': 'Dingxi, Gansu', 'zh': u('\u7518\u8083\u7701\u5b9a\u897f\u5e02')},
'861534693':{'en': 'Pingliang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e73\u51c9\u5e02')},
'861534694':{'en': 'Qingyang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e86\u9633\u5e02')},
'861534695':{'en': 'Wuwei, Gansu', 'zh': u('\u7518\u8083\u7701\u6b66\u5a01\u5e02')},
'861534696':{'en': 'Zhangye, Gansu', 'zh': u('\u7518\u8083\u7701\u5f20\u6396\u5e02')},
'861534697':{'en': 'Jiuquan, Gansu', 'zh': u('\u7518\u8083\u7701\u9152\u6cc9\u5e02')},
'861534698':{'en': 'Tianshui, Gansu', 'zh': u('\u7518\u8083\u7701\u5929\u6c34\u5e02')},
'861534699':{'en': 'Baiyin, Gansu', 'zh': u('\u7518\u8083\u7701\u767d\u94f6\u5e02')},
'861534700':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861534701':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861534702':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861534703':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861534704':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861534705':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861534706':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861534707':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861534708':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861534709':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861534710':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861534711':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861534712':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861534713':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861534714':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861534715':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861534716':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861534717':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861534718':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'861534719':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'861534720':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861534721':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861534722':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861534723':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861534724':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861534725':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861534726':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861534727':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861534728':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'861534729':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'861534730':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861534731':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861534732':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'861534733':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861534734':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861534735':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861534736':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861534737':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861534738':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861534739':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861534740':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861534741':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861534742':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861534743':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861534744':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861534745':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861534746':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861534747':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861534748':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861534749':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861534750':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861534751':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861534752':{'en': 'Shaoguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u97f6\u5173\u5e02')},
'861534753':{'en': 'Shaoguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u97f6\u5173\u5e02')},
'861534754':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861534755':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861534756':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861534757':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861534758':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861534759':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861534760':{'en': 'Heyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6cb3\u6e90\u5e02')},
'861534761':{'en': 'Heyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6cb3\u6e90\u5e02')},
'861534762':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861534763':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861534764':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'861534765':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'861534766':{'en': 'Meizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6885\u5dde\u5e02')},
'861534767':{'en': 'Meizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6885\u5dde\u5e02')},
'861534768':{'en': 'Yangjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u9633\u6c5f\u5e02')},
'861534769':{'en': 'Yangjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u9633\u6c5f\u5e02')},
'86153477':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'861534770':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861534771':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861534773':{'en': 'Guilin, Guangxi', 'zh': u('\u5e7f\u897f\u6842\u6797\u5e02')},
'86153478':{'en': 'Yulin, Guangxi', 'zh': u('\u5e7f\u897f\u7389\u6797\u5e02')},
'861534790':{'en': 'Xinyu, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u65b0\u4f59\u5e02')},
'861534791':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861534792':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861534793':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861534794':{'en': 'Fuzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u629a\u5dde\u5e02')},
'861534795':{'en': 'Yichun, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5b9c\u6625\u5e02')},
'861534796':{'en': 'JiAn, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5409\u5b89\u5e02')},
'861534797':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861534798':{'en': 'Jingdezhen, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u666f\u5fb7\u9547\u5e02')},
'861534799':{'en': 'Pingxiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u840d\u4e61\u5e02')},
'861534800':{'en': 'Lanzhou, Gansu', 'zh': u('\u7518\u8083\u7701\u5170\u5dde\u5e02')},
'861534801':{'en': 'Lanzhou, Gansu', 'zh': u('\u7518\u8083\u7701\u5170\u5dde\u5e02')},
'861534802':{'en': 'Dingxi, Gansu', 'zh': u('\u7518\u8083\u7701\u5b9a\u897f\u5e02')},
'861534803':{'en': 'Pingliang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e73\u51c9\u5e02')},
'861534804':{'en': 'Linxia, Gansu', 'zh': u('\u7518\u8083\u7701\u4e34\u590f\u56de\u65cf\u81ea\u6cbb\u5dde')},
'861534805':{'en': 'Wuwei, Gansu', 'zh': u('\u7518\u8083\u7701\u6b66\u5a01\u5e02')},
'861534806':{'en': 'Zhangye, Gansu', 'zh': u('\u7518\u8083\u7701\u5f20\u6396\u5e02')},
'861534807':{'en': 'Jiayuguan, Gansu', 'zh': u('\u7518\u8083\u7701\u5609\u5cea\u5173\u5e02')},
'861534808':{'en': 'Tianshui, Gansu', 'zh': u('\u7518\u8083\u7701\u5929\u6c34\u5e02')},
'861534809':{'en': 'Longnan, Gansu', 'zh': u('\u7518\u8083\u7701\u9647\u5357\u5e02')},
'861534810':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'861534811':{'en': 'Zigong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u81ea\u8d21\u5e02')},
'861534812':{'en': 'Zigong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u81ea\u8d21\u5e02')},
'861534813':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861534814':{'en': 'GuangAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5b89\u5e02')},
'861534815':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861534816':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861534817':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861534818':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861534819':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861534820':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'861534821':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'861534822':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'861534823':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861534824':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861534825':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861534826':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861534827':{'en': 'Bazhong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5df4\u4e2d\u5e02')},
'861534828':{'en': 'GuangAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5b89\u5e02')},
'861534829':{'en': 'Bazhong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5df4\u4e2d\u5e02')},
'861534830':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861534831':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861534832':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'861534833':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861534834':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861534835':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861534836':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861534837':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861534838':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861534839':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861534840':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861534841':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861534842':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861534843':{'en': 'Xiangxi, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u897f\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861534844':{'en': 'Zhangjiajie, Hunan', 'zh': u('\u6e56\u5357\u7701\u5f20\u5bb6\u754c\u5e02')},
'861534845':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861534846':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861534847':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861534848':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861534849':{'en': 'Zhangjiajie, Hunan', 'zh': u('\u6e56\u5357\u7701\u5f20\u5bb6\u754c\u5e02')},
'861534850':{'en': 'Zunyi, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9075\u4e49\u5e02')},
'861534851':{'en': 'Guiyang, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u8d35\u9633\u5e02')},
'861534852':{'en': 'Zunyi, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9075\u4e49\u5e02')},
'861534853':{'en': 'Anshun, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u5b89\u987a\u5e02')},
'861534854':{'en': 'Liupanshui, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u516d\u76d8\u6c34\u5e02')},
'861534855':{'en': 'Qiandongnan, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9ed4\u4e1c\u5357\u82d7\u65cf\u4f97\u65cf\u81ea\u6cbb\u5dde')},
'861534856':{'en': 'Tongren, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u94dc\u4ec1\u5730\u533a')},
'861534857':{'en': 'Bijie, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u6bd5\u8282\u5730\u533a')},
'861534858':{'en': 'Qiannan, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9ed4\u5357\u5e03\u4f9d\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861534859':{'en': 'Qianxinan, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9ed4\u897f\u5357\u5e03\u4f9d\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'86153486':{'en': 'Zunyi, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9075\u4e49\u5e02')},
'861534870':{'en': 'Zhaotong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u662d\u901a\u5e02')},
'861534871':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861534872':{'en': 'Dali, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5927\u7406\u767d\u65cf\u81ea\u6cbb\u5dde')},
'861534873':{'en': 'Honghe, Yunnan', 'zh': u('\u4e91\u5357\u7701\u7ea2\u6cb3\u54c8\u5c3c\u65cf\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861534874':{'en': 'Qujing, Yunnan', 'zh': u('\u4e91\u5357\u7701\u66f2\u9756\u5e02')},
'861534875':{'en': 'Baoshan, Yunnan', 'zh': u('\u4e91\u5357\u7701\u4fdd\u5c71\u5e02')},
'861534876':{'en': 'Wenshan, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6587\u5c71\u58ee\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861534877':{'en': 'Yuxi, Yunnan', 'zh': u('\u4e91\u5357\u7701\u7389\u6eaa\u5e02')},
'861534878':{'en': 'Chuxiong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u695a\u96c4\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861534879':{'en': 'Puer, Yunnan', 'zh': u('\u4e91\u5357\u7701\u666e\u6d31\u5e02')},
'86153488':{'en': 'Haikou, Hainan', 'zh': u('\u6d77\u5357\u7701\u6d77\u53e3\u5e02')},
'861534890':{'en': 'Lhasa, Tibet', 'zh': u('\u897f\u85cf\u62c9\u8428\u5e02')},
'861534891':{'en': 'Lhasa, Tibet', 'zh': u('\u897f\u85cf\u62c9\u8428\u5e02')},
'861534892':{'en': 'Xigaze, Tibet', 'zh': u('\u897f\u85cf\u65e5\u5580\u5219\u5730\u533a')},
'861534893':{'en': 'Shannan, Tibet', 'zh': u('\u897f\u85cf\u5c71\u5357\u5730\u533a')},
'861534894':{'en': 'Nyingchi, Tibet', 'zh': u('\u897f\u85cf\u6797\u829d\u5730\u533a')},
'861534895':{'en': 'Qamdo, Tibet', 'zh': u('\u897f\u85cf\u660c\u90fd\u5730\u533a')},
'861534896':{'en': 'Nagqu, Tibet', 'zh': u('\u897f\u85cf\u90a3\u66f2\u5730\u533a')},
'861534897':{'en': 'Ngari, Tibet', 'zh': u('\u897f\u85cf\u963f\u91cc\u5730\u533a')},
'861534898':{'en': 'Lhasa, Tibet', 'zh': u('\u897f\u85cf\u62c9\u8428\u5e02')},
'861534899':{'en': 'Lhasa, Tibet', 'zh': u('\u897f\u85cf\u62c9\u8428\u5e02')},
'861534900':{'en': 'Jiayuguan, Gansu', 'zh': u('\u7518\u8083\u7701\u5609\u5cea\u5173\u5e02')},
'861534901':{'en': 'Gannan, Gansu', 'zh': u('\u7518\u8083\u7701\u7518\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861534902':{'en': 'Gannan, Gansu', 'zh': u('\u7518\u8083\u7701\u7518\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861534903':{'en': 'Baiyin, Gansu', 'zh': u('\u7518\u8083\u7701\u767d\u94f6\u5e02')},
'861534904':{'en': 'Longnan, Gansu', 'zh': u('\u7518\u8083\u7701\u9647\u5357\u5e02')},
'861534905':{'en': 'Wuwei, Gansu', 'zh': u('\u7518\u8083\u7701\u6b66\u5a01\u5e02')},
'861534906':{'en': 'Jiuquan, Gansu', 'zh': u('\u7518\u8083\u7701\u9152\u6cc9\u5e02')},
'861534907':{'en': 'Jiuquan, Gansu', 'zh': u('\u7518\u8083\u7701\u9152\u6cc9\u5e02')},
'861534908':{'en': 'Baiyin, Gansu', 'zh': u('\u7518\u8083\u7701\u767d\u94f6\u5e02')},
'861534909':{'en': 'Gannan, Gansu', 'zh': u('\u7518\u8083\u7701\u7518\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861534910':{'en': 'Xianyang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861534911':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861534912':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861534913':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861534914':{'en': 'Shangluo, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861534915':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861534916':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861534917':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861534918':{'en': 'Xianyang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861534919':{'en': 'Tongchuan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u94dc\u5ddd\u5e02')},
'86153492':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861534930':{'en': 'Linxia, Gansu', 'zh': u('\u7518\u8083\u7701\u4e34\u590f\u56de\u65cf\u81ea\u6cbb\u5dde')},
'861534931':{'en': 'Lanzhou, Gansu', 'zh': u('\u7518\u8083\u7701\u5170\u5dde\u5e02')},
'861534932':{'en': 'Dingxi, Gansu', 'zh': u('\u7518\u8083\u7701\u5b9a\u897f\u5e02')},
'861534933':{'en': 'Pingliang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e73\u51c9\u5e02')},
'861534934':{'en': 'Qingyang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e86\u9633\u5e02')},
'861534935':{'en': 'Wuwei, Gansu', 'zh': u('\u7518\u8083\u7701\u6b66\u5a01\u5e02')},
'861534936':{'en': 'Zhangye, Gansu', 'zh': u('\u7518\u8083\u7701\u5f20\u6396\u5e02')},
'861534937':{'en': 'Jiuquan, Gansu', 'zh': u('\u7518\u8083\u7701\u9152\u6cc9\u5e02')},
'861534938':{'en': 'Tianshui, Gansu', 'zh': u('\u7518\u8083\u7701\u5929\u6c34\u5e02')},
'861534939':{'en': 'Longnan, Gansu', 'zh': u('\u7518\u8083\u7701\u9647\u5357\u5e02')},
'861534940':{'en': 'Linxia, Gansu', 'zh': u('\u7518\u8083\u7701\u4e34\u590f\u56de\u65cf\u81ea\u6cbb\u5dde')},
'861534941':{'en': 'Qingyang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e86\u9633\u5e02')},
'861534942':{'en': 'Dingxi, Gansu', 'zh': u('\u7518\u8083\u7701\u5b9a\u897f\u5e02')},
'861534943':{'en': 'Baiyin, Gansu', 'zh': u('\u7518\u8083\u7701\u767d\u94f6\u5e02')},
'861534944':{'en': 'Baiyin, Gansu', 'zh': u('\u7518\u8083\u7701\u767d\u94f6\u5e02')},
'861534945':{'en': 'Jiuquan, Gansu', 'zh': u('\u7518\u8083\u7701\u9152\u6cc9\u5e02')},
'861534946':{'en': 'Tianshui, Gansu', 'zh': u('\u7518\u8083\u7701\u5929\u6c34\u5e02')},
'861534947':{'en': 'Gannan, Gansu', 'zh': u('\u7518\u8083\u7701\u7518\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861534948':{'en': 'Longnan, Gansu', 'zh': u('\u7518\u8083\u7701\u9647\u5357\u5e02')},
'861534949':{'en': 'Longnan, Gansu', 'zh': u('\u7518\u8083\u7701\u9647\u5357\u5e02')},
'861534950':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861534951':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861534952':{'en': 'Shizuishan, Ningxia', 'zh': u('\u5b81\u590f\u77f3\u5634\u5c71\u5e02')},
'861534953':{'en': 'Wuzhong, Ningxia', 'zh': u('\u5b81\u590f\u5434\u5fe0\u5e02')},
'861534954':{'en': 'Guyuan, Ningxia', 'zh': u('\u5b81\u590f\u56fa\u539f\u5e02')},
'861534955':{'en': 'Zhongwei, Ningxia', 'zh': u('\u5b81\u590f\u4e2d\u536b\u5e02')},
'861534956':{'en': 'Shizuishan, Ningxia', 'zh': u('\u5b81\u590f\u77f3\u5634\u5c71\u5e02')},
'861534957':{'en': 'Wuzhong, Ningxia', 'zh': u('\u5b81\u590f\u5434\u5fe0\u5e02')},
'861534958':{'en': 'Zhongwei, Ningxia', 'zh': u('\u5b81\u590f\u4e2d\u536b\u5e02')},
'861534959':{'en': 'Guyuan, Ningxia', 'zh': u('\u5b81\u590f\u56fa\u539f\u5e02')},
'86153496':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861534970':{'en': 'Xining, Qinghai', 'zh': u('\u9752\u6d77\u7701\u897f\u5b81\u5e02')},
'861534971':{'en': 'Xining, Qinghai', 'zh': u('\u9752\u6d77\u7701\u897f\u5b81\u5e02')},
'861534972':{'en': 'Xining, Qinghai', 'zh': u('\u9752\u6d77\u7701\u897f\u5b81\u5e02')},
'861534973':{'en': 'Xining, Qinghai', 'zh': u('\u9752\u6d77\u7701\u897f\u5b81\u5e02')},
'861534974':{'en': 'Xining, Qinghai', 'zh': u('\u9752\u6d77\u7701\u897f\u5b81\u5e02')},
'861534975':{'en': 'Haidong, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u4e1c\u5730\u533a')},
'861534976':{'en': 'Haidong, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u4e1c\u5730\u533a')},
'861534977':{'en': 'Haixi, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u897f\u8499\u53e4\u65cf\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861534978':{'en': 'Hainan, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861534979':{'en': 'Haixi, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u897f\u8499\u53e4\u65cf\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861534980':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861534981':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861534982':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861534983':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861534984':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861534985':{'en': 'Chaohu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5de2\u6e56\u5e02')},
'861534986':{'en': 'LuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861534987':{'en': 'LuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861534988':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861534989':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861534990':{'en': 'Karamay, Xinjiang', 'zh': u('\u65b0\u7586\u514b\u62c9\u739b\u4f9d\u5e02')},
'861534991':{'en': 'Urumchi, Xinjiang', 'zh': u('\u65b0\u7586\u4e4c\u9c81\u6728\u9f50\u5e02')},
'861534992':{'en': 'Hami, Xinjiang', 'zh': u('\u65b0\u7586\u54c8\u5bc6\u5730\u533a')},
'861534993':{'en': 'Urumchi, Xinjiang', 'zh': u('\u65b0\u7586\u4e4c\u9c81\u6728\u9f50\u5e02')},
'861534994':{'en': 'Tacheng, Xinjiang', 'zh': u('\u65b0\u7586\u5854\u57ce\u5730\u533a')},
'861534995':{'en': 'Hotan, Xinjiang', 'zh': u('\u65b0\u7586\u548c\u7530\u5730\u533a')},
'861534996':{'en': 'Altay, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u52d2\u6cf0\u5730\u533a')},
'861534997':{'en': 'Kizilsu, Xinjiang', 'zh': u('\u65b0\u7586\u514b\u5b5c\u52d2\u82cf\u67ef\u5c14\u514b\u5b5c\u81ea\u6cbb\u5dde')},
'861534998':{'en': 'Urumchi, Xinjiang', 'zh': u('\u65b0\u7586\u4e4c\u9c81\u6728\u9f50\u5e02')},
'861534999':{'en': 'Urumchi, Xinjiang', 'zh': u('\u65b0\u7586\u4e4c\u9c81\u6728\u9f50\u5e02')},
'861535000':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861535001':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861535002':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861535003':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861535004':{'en': 'Fuzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u629a\u5dde\u5e02')},
'861535005':{'en': 'Yichun, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5b9c\u6625\u5e02')},
'861535006':{'en': 'JiAn, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5409\u5b89\u5e02')},
'861535007':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861535008':{'en': 'Jingdezhen, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u666f\u5fb7\u9547\u5e02')},
'861535009':{'en': 'Pingxiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u840d\u4e61\u5e02')},
'861535010':{'en': 'Yingtan, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u9e70\u6f6d\u5e02')},
'861535011':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861535012':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861535013':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861535014':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861535015':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861535016':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861535017':{'en': 'Fuzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u629a\u5dde\u5e02')},
'861535018':{'en': 'Fuzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u629a\u5dde\u5e02')},
'861535019':{'en': 'Pingxiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u840d\u4e61\u5e02')},
'861535020':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861535021':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861535022':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861535023':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861535024':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861535025':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861535026':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861535027':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861535028':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861535029':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861535030':{'en': 'Yingtan, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u9e70\u6f6d\u5e02')},
'861535031':{'en': 'Yichun, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5b9c\u6625\u5e02')},
'861535032':{'en': 'Yichun, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5b9c\u6625\u5e02')},
'861535033':{'en': 'JiAn, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5409\u5b89\u5e02')},
'861535034':{'en': 'JiAn, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5409\u5b89\u5e02')},
'861535035':{'en': 'JiAn, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5409\u5b89\u5e02')},
'861535036':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861535037':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861535038':{'en': 'Jingdezhen, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u666f\u5fb7\u9547\u5e02')},
'861535039':{'en': 'Xinyu, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u65b0\u4f59\u5e02')},
'861535040':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861535041':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861535042':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861535043':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861535044':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861535045':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861535046':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861535047':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861535048':{'en': 'Yichun, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5b9c\u6625\u5e02')},
'861535049':{'en': 'Xinyu, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u65b0\u4f59\u5e02')},
'86153505':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861535050':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861535051':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861535052':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861535060':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861535061':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861535062':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861535063':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861535064':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861535065':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861535066':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861535067':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861535068':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861535069':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861535070':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861535071':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861535072':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861535073':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861535074':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861535075':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861535076':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861535077':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861535078':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861535079':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861535080':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861535081':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861535082':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861535083':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861535084':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861535085':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861535086':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861535087':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861535088':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861535089':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861535090':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861535091':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861535092':{'en': 'Fushun, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u629a\u987a\u5e02')},
'861535093':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861535094':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861535095':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861535096':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861535097':{'en': 'Dandong, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u4e39\u4e1c\u5e02')},
'861535098':{'en': 'Fuxin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u961c\u65b0\u5e02')},
'861535099':{'en': 'Liaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8fbd\u9633\u5e02')},
'86153510':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86153511':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861535120':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861535121':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861535122':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861535123':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861535124':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861535125':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861535126':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861535127':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861535128':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'861535129':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'861535130':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861535131':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861535132':{'en': 'Meishan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7709\u5c71\u5e02')},
'861535133':{'en': 'GuangAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5b89\u5e02')},
'861535134':{'en': 'GuangAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5b89\u5e02')},
'861535135':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861535136':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861535137':{'en': 'Neijiang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5185\u6c5f\u5e02')},
'861535138':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861535139':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8d44\u9633\u5e02')},
'861535140':{'en': 'Guangyuan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5143\u5e02')},
'861535141':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861535142':{'en': 'Bazhong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5df4\u4e2d\u5e02')},
'861535143':{'en': 'Aba, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u963f\u575d\u85cf\u65cf\u7f8c\u65cf\u81ea\u6cbb\u5dde')},
'861535145':{'en': 'Garze, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7518\u5b5c\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861535146':{'en': 'YaAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u96c5\u5b89\u5e02')},
'861535147':{'en': 'Suining, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u9042\u5b81\u5e02')},
'861535148':{'en': 'Suining, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u9042\u5b81\u5e02')},
'861535149':{'en': 'Garze, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7518\u5b5c\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'86153515':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861535158':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861535159':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'86153516':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'86153517':{'en': 'HuaiAn, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'86153518':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861535189':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'86153519':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861535200':{'en': 'Baiyin, Gansu', 'zh': u('\u7518\u8083\u7701\u767d\u94f6\u5e02')},
'861535201':{'en': 'Lanzhou, Gansu', 'zh': u('\u7518\u8083\u7701\u5170\u5dde\u5e02')},
'861535202':{'en': 'Lanzhou, Gansu', 'zh': u('\u7518\u8083\u7701\u5170\u5dde\u5e02')},
'861535203':{'en': 'Dingxi, Gansu', 'zh': u('\u7518\u8083\u7701\u5b9a\u897f\u5e02')},
'861535204':{'en': 'Dingxi, Gansu', 'zh': u('\u7518\u8083\u7701\u5b9a\u897f\u5e02')},
'861535205':{'en': 'Pingliang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e73\u51c9\u5e02')},
'861535206':{'en': 'Pingliang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e73\u51c9\u5e02')},
'861535207':{'en': 'Pingliang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e73\u51c9\u5e02')},
'861535208':{'en': 'Qingyang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e86\u9633\u5e02')},
'861535209':{'en': 'Qingyang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e86\u9633\u5e02')},
'861535210':{'en': 'Qingyang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e86\u9633\u5e02')},
'861535211':{'en': 'Wuwei, Gansu', 'zh': u('\u7518\u8083\u7701\u6b66\u5a01\u5e02')},
'861535212':{'en': 'Wuwei, Gansu', 'zh': u('\u7518\u8083\u7701\u6b66\u5a01\u5e02')},
'861535213':{'en': 'Wuwei, Gansu', 'zh': u('\u7518\u8083\u7701\u6b66\u5a01\u5e02')},
'861535214':{'en': 'Wuwei, Gansu', 'zh': u('\u7518\u8083\u7701\u6b66\u5a01\u5e02')},
'861535215':{'en': 'Zhangye, Gansu', 'zh': u('\u7518\u8083\u7701\u5f20\u6396\u5e02')},
'861535216':{'en': 'Zhangye, Gansu', 'zh': u('\u7518\u8083\u7701\u5f20\u6396\u5e02')},
'861535217':{'en': 'Jiayuguan, Gansu', 'zh': u('\u7518\u8083\u7701\u5609\u5cea\u5173\u5e02')},
'861535218':{'en': 'Jiayuguan, Gansu', 'zh': u('\u7518\u8083\u7701\u5609\u5cea\u5173\u5e02')},
'861535219':{'en': 'Jiayuguan, Gansu', 'zh': u('\u7518\u8083\u7701\u5609\u5cea\u5173\u5e02')},
'861535220':{'en': 'Jiuquan, Gansu', 'zh': u('\u7518\u8083\u7701\u9152\u6cc9\u5e02')},
'861535221':{'en': 'Tianshui, Gansu', 'zh': u('\u7518\u8083\u7701\u5929\u6c34\u5e02')},
'861535222':{'en': 'Tianshui, Gansu', 'zh': u('\u7518\u8083\u7701\u5929\u6c34\u5e02')},
'861535223':{'en': 'Longnan, Gansu', 'zh': u('\u7518\u8083\u7701\u9647\u5357\u5e02')},
'861535224':{'en': 'Longnan, Gansu', 'zh': u('\u7518\u8083\u7701\u9647\u5357\u5e02')},
'861535225':{'en': 'Linxia, Gansu', 'zh': u('\u7518\u8083\u7701\u4e34\u590f\u56de\u65cf\u81ea\u6cbb\u5dde')},
'861535226':{'en': 'Linxia, Gansu', 'zh': u('\u7518\u8083\u7701\u4e34\u590f\u56de\u65cf\u81ea\u6cbb\u5dde')},
'861535227':{'en': 'Gannan, Gansu', 'zh': u('\u7518\u8083\u7701\u7518\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861535228':{'en': 'Gannan, Gansu', 'zh': u('\u7518\u8083\u7701\u7518\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861535229':{'en': 'Baiyin, Gansu', 'zh': u('\u7518\u8083\u7701\u767d\u94f6\u5e02')},
'861535230':{'en': 'Lanzhou, Gansu', 'zh': u('\u7518\u8083\u7701\u5170\u5dde\u5e02')},
'861535231':{'en': 'Lanzhou, Gansu', 'zh': u('\u7518\u8083\u7701\u5170\u5dde\u5e02')},
'861535232':{'en': 'Dingxi, Gansu', 'zh': u('\u7518\u8083\u7701\u5b9a\u897f\u5e02')},
'861535233':{'en': 'Pingliang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e73\u51c9\u5e02')},
'861535234':{'en': 'Qingyang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e86\u9633\u5e02')},
'861535235':{'en': 'Qingyang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e86\u9633\u5e02')},
'861535236':{'en': 'Wuwei, Gansu', 'zh': u('\u7518\u8083\u7701\u6b66\u5a01\u5e02')},
'861535237':{'en': 'Wuwei, Gansu', 'zh': u('\u7518\u8083\u7701\u6b66\u5a01\u5e02')},
'861535238':{'en': 'Jinchang, Gansu', 'zh': u('\u7518\u8083\u7701\u91d1\u660c\u5e02')},
'861535239':{'en': 'Longnan, Gansu', 'zh': u('\u7518\u8083\u7701\u9647\u5357\u5e02')},
'861535240':{'en': 'Baiyin, Gansu', 'zh': u('\u7518\u8083\u7701\u767d\u94f6\u5e02')},
'861535241':{'en': 'Gannan, Gansu', 'zh': u('\u7518\u8083\u7701\u7518\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861535242':{'en': 'Linxia, Gansu', 'zh': u('\u7518\u8083\u7701\u4e34\u590f\u56de\u65cf\u81ea\u6cbb\u5dde')},
'861535243':{'en': 'Linxia, Gansu', 'zh': u('\u7518\u8083\u7701\u4e34\u590f\u56de\u65cf\u81ea\u6cbb\u5dde')},
'861535244':{'en': 'Tianshui, Gansu', 'zh': u('\u7518\u8083\u7701\u5929\u6c34\u5e02')},
'861535245':{'en': 'Tianshui, Gansu', 'zh': u('\u7518\u8083\u7701\u5929\u6c34\u5e02')},
'861535246':{'en': 'Jiuquan, Gansu', 'zh': u('\u7518\u8083\u7701\u9152\u6cc9\u5e02')},
'861535247':{'en': 'Jiayuguan, Gansu', 'zh': u('\u7518\u8083\u7701\u5609\u5cea\u5173\u5e02')},
'861535248':{'en': 'Zhangye, Gansu', 'zh': u('\u7518\u8083\u7701\u5f20\u6396\u5e02')},
'861535249':{'en': 'Zhangye, Gansu', 'zh': u('\u7518\u8083\u7701\u5f20\u6396\u5e02')},
'861535250':{'en': 'Urumchi, Xinjiang', 'zh': u('\u65b0\u7586\u4e4c\u9c81\u6728\u9f50\u5e02')},
'861535251':{'en': 'Urumchi, Xinjiang', 'zh': u('\u65b0\u7586\u4e4c\u9c81\u6728\u9f50\u5e02')},
'861535252':{'en': 'Bayingolin, Xinjiang', 'zh': u('\u65b0\u7586\u5df4\u97f3\u90ed\u695e\u8499\u53e4\u81ea\u6cbb\u5dde')},
'861535253':{'en': 'Ili, Xinjiang', 'zh': u('\u65b0\u7586\u4f0a\u7281\u54c8\u8428\u514b\u81ea\u6cbb\u5dde')},
'861535254':{'en': 'Tacheng, Xinjiang', 'zh': u('\u65b0\u7586\u5854\u57ce\u5730\u533a')},
'861535255':{'en': 'Ili, Xinjiang', 'zh': u('\u65b0\u7586\u4f0a\u7281\u54c8\u8428\u514b\u81ea\u6cbb\u5dde')},
'861535256':{'en': 'Aksu, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u514b\u82cf\u5730\u533a')},
'861535257':{'en': 'Aksu, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u514b\u82cf\u5730\u533a')},
'861535258':{'en': 'Kashi, Xinjiang', 'zh': u('\u65b0\u7586\u5580\u4ec0\u5730\u533a')},
'861535259':{'en': 'Tacheng, Xinjiang', 'zh': u('\u65b0\u7586\u5854\u57ce\u5730\u533a')},
'861535260':{'en': 'Shihezi, Xinjiang', 'zh': u('\u65b0\u7586\u77f3\u6cb3\u5b50\u5e02')},
'861535261':{'en': 'Altay, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u52d2\u6cf0\u5730\u533a')},
'861535262':{'en': 'Urumchi, Xinjiang', 'zh': u('\u65b0\u7586\u4e4c\u9c81\u6728\u9f50\u5e02')},
'861535263':{'en': 'Hotan, Xinjiang', 'zh': u('\u65b0\u7586\u548c\u7530\u5730\u533a')},
'861535264':{'en': 'Hotan, Xinjiang', 'zh': u('\u65b0\u7586\u548c\u7530\u5730\u533a')},
'861535265':{'en': 'Karamay, Xinjiang', 'zh': u('\u65b0\u7586\u514b\u62c9\u739b\u4f9d\u5e02')},
'861535266':{'en': 'Hami, Xinjiang', 'zh': u('\u65b0\u7586\u54c8\u5bc6\u5730\u533a')},
'861535267':{'en': 'Turpan, Xinjiang', 'zh': u('\u65b0\u7586\u5410\u9c81\u756a\u5730\u533a')},
'861535268':{'en': 'Bortala, Xinjiang', 'zh': u('\u65b0\u7586\u535a\u5c14\u5854\u62c9\u8499\u53e4\u81ea\u6cbb\u5dde')},
'861535269':{'en': 'Ili, Xinjiang', 'zh': u('\u65b0\u7586\u4f0a\u7281\u54c8\u8428\u514b\u81ea\u6cbb\u5dde')},
'861535270':{'en': 'Ili, Xinjiang', 'zh': u('\u65b0\u7586\u4f0a\u7281\u54c8\u8428\u514b\u81ea\u6cbb\u5dde')},
'861535271':{'en': 'Ili, Xinjiang', 'zh': u('\u65b0\u7586\u4f0a\u7281\u54c8\u8428\u514b\u81ea\u6cbb\u5dde')},
'861535272':{'en': 'Karamay, Xinjiang', 'zh': u('\u65b0\u7586\u514b\u62c9\u739b\u4f9d\u5e02')},
'861535273':{'en': 'Shihezi, Xinjiang', 'zh': u('\u65b0\u7586\u77f3\u6cb3\u5b50\u5e02')},
'861535274':{'en': 'Kashi, Xinjiang', 'zh': u('\u65b0\u7586\u5580\u4ec0\u5730\u533a')},
'861535275':{'en': 'Ili, Xinjiang', 'zh': u('\u65b0\u7586\u4f0a\u7281\u54c8\u8428\u514b\u81ea\u6cbb\u5dde')},
'861535276':{'en': 'Bayingolin, Xinjiang', 'zh': u('\u65b0\u7586\u5df4\u97f3\u90ed\u695e\u8499\u53e4\u81ea\u6cbb\u5dde')},
'861535277':{'en': 'Aksu, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u514b\u82cf\u5730\u533a')},
'861535278':{'en': 'Kashi, Xinjiang', 'zh': u('\u65b0\u7586\u5580\u4ec0\u5730\u533a')},
'861535279':{'en': 'Ili, Xinjiang', 'zh': u('\u65b0\u7586\u4f0a\u7281\u54c8\u8428\u514b\u81ea\u6cbb\u5dde')},
'861535280':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861535281':{'en': 'Ulanqab, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u5170\u5bdf\u5e03\u5e02')},
'861535282':{'en': 'Hinggan, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5174\u5b89\u76df')},
'861535283':{'en': 'Alxa, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u963f\u62c9\u5584\u76df')},
'861535284':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861535285':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861535286':{'en': 'Ulanqab, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u5170\u5bdf\u5e03\u5e02')},
'861535287':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861535288':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861535289':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861535290':{'en': 'Xining, Qinghai', 'zh': u('\u9752\u6d77\u7701\u897f\u5b81\u5e02')},
'861535291':{'en': 'Xining, Qinghai', 'zh': u('\u9752\u6d77\u7701\u897f\u5b81\u5e02')},
'861535292':{'en': 'Haidong, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u4e1c\u5730\u533a')},
'861535293':{'en': 'Huangnan, Qinghai', 'zh': u('\u9752\u6d77\u7701\u9ec4\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861535294':{'en': 'Hainan, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861535295':{'en': 'Haixi, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u897f\u8499\u53e4\u65cf\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861535296':{'en': 'Haixi, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u897f\u8499\u53e4\u65cf\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861535297':{'en': 'Haibei, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u5317\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861535298':{'en': 'Yushu, Qinghai', 'zh': u('\u9752\u6d77\u7701\u7389\u6811\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861535299':{'en': 'Golog, Qinghai', 'zh': u('\u9752\u6d77\u7701\u679c\u6d1b\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'86153530':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861535306':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861535307':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861535308':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861535309':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861535310':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861535311':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861535312':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861535313':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861535314':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861535315':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861535316':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861535317':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861535318':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861535319':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861535320':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861535321':{'en': 'Tongchuan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u94dc\u5ddd\u5e02')},
'861535322':{'en': 'Tongchuan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u94dc\u5ddd\u5e02')},
'861535323':{'en': 'Shangluo, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861535324':{'en': 'Shangluo, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861535325':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861535326':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861535327':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861535328':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861535329':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861535330':{'en': 'Shangluo, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861535331':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861535332':{'en': 'Tongchuan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u94dc\u5ddd\u5e02')},
'861535333':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861535334':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861535335':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861535336':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861535337':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861535338':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861535339':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861535340':{'en': 'Shangluo, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861535341':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861535342':{'en': 'Tongchuan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u94dc\u5ddd\u5e02')},
'861535343':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861535344':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861535345':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861535346':{'en': 'Xianyang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861535347':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861535348':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861535349':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'86153535':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'86153536':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861535370':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861535371':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861535372':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861535373':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861535374':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861535375':{'en': 'Xianyang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861535376':{'en': 'Xianyang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861535377':{'en': 'Xianyang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861535378':{'en': 'Xianyang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861535379':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861535380':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861535381':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861535382':{'en': 'Tongchuan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u94dc\u5ddd\u5e02')},
'861535383':{'en': 'Tongchuan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u94dc\u5ddd\u5e02')},
'861535384':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861535385':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861535386':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861535387':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861535388':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861535389':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861535390':{'en': 'Shangluo, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861535391':{'en': 'Shangluo, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861535392':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861535393':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861535394':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861535395':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861535396':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861535397':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861535398':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861535399':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861535400':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861535401':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861535402':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861535403':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861535404':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861535405':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861535406':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861535407':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861535408':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861535409':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861535410':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861535411':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861535412':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861535413':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861535414':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861535415':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861535416':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861535417':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861535418':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861535419':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861535420':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861535421':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861535422':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861535423':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861535424':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861535425':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861535426':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861535427':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861535428':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861535429':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861535430':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861535431':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861535432':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861535433':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861535434':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861535435':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861535436':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861535437':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861535438':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861535439':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861535440':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861535441':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861535442':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861535443':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861535444':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861535445':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861535446':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861535447':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861535448':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861535449':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861535450':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'861535451':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'861535452':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'861535453':{'en': 'Yanbian, Jilin', 'zh': u('\u5409\u6797\u7701\u5ef6\u8fb9\u671d\u9c9c\u65cf\u81ea\u6cbb\u5dde')},
'861535454':{'en': 'Yanbian, Jilin', 'zh': u('\u5409\u6797\u7701\u5ef6\u8fb9\u671d\u9c9c\u65cf\u81ea\u6cbb\u5dde')},
'861535455':{'en': 'Yanbian, Jilin', 'zh': u('\u5409\u6797\u7701\u5ef6\u8fb9\u671d\u9c9c\u65cf\u81ea\u6cbb\u5dde')},
'861535456':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861535457':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861535458':{'en': 'Baishan, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u5c71\u5e02')},
'861535459':{'en': 'Baishan, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u5c71\u5e02')},
'861535460':{'en': 'Jilin, Jilin', 'zh': u('\u5409\u6797\u7701\u5409\u6797\u5e02')},
'861535461':{'en': 'Jilin, Jilin', 'zh': u('\u5409\u6797\u7701\u5409\u6797\u5e02')},
'861535462':{'en': 'Jilin, Jilin', 'zh': u('\u5409\u6797\u7701\u5409\u6797\u5e02')},
'861535463':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'861535464':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'861535465':{'en': 'Tonghua, Jilin', 'zh': u('\u5409\u6797\u7701\u901a\u5316\u5e02')},
'861535466':{'en': 'Tonghua, Jilin', 'zh': u('\u5409\u6797\u7701\u901a\u5316\u5e02')},
'861535467':{'en': 'Liaoyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u8fbd\u6e90\u5e02')},
'861535468':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861535469':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861535470':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'861535471':{'en': 'Yanbian, Jilin', 'zh': u('\u5409\u6797\u7701\u5ef6\u8fb9\u671d\u9c9c\u65cf\u81ea\u6cbb\u5dde')},
'861535472':{'en': 'Yanbian, Jilin', 'zh': u('\u5409\u6797\u7701\u5ef6\u8fb9\u671d\u9c9c\u65cf\u81ea\u6cbb\u5dde')},
'861535473':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'861535474':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861535475':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861535476':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861535477':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861535478':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861535479':{'en': 'Baishan, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u5c71\u5e02')},
'86153548':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861535490':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861535491':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861535492':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861535493':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861535494':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861535495':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861535496':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861535497':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861535498':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861535499':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'86153550':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'86153551':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861535520':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861535521':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861535522':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861535523':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861535524':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'861535525':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'861535526':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861535527':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861535528':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861535529':{'en': 'Zhoushan, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u821f\u5c71\u5e02')},
'86153553':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'86153554':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'86153555':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861535558':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861535559':{'en': 'Zhoushan, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u821f\u5c71\u5e02')},
'86153556':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861535570':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'861535571':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861535572':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861535573':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861535574':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861535575':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861535576':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861535577':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861535578':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861535579':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861535580':{'en': 'Zhoushan, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u821f\u5c71\u5e02')},
'861535581':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861535582':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861535583':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861535584':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861535585':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861535586':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861535587':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861535588':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861535589':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'86153559':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'86153560':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'86153561':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'86153562':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'86153563':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861535638':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861535639':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'86153564':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861535640':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861535641':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861535642':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861535643':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'86153565':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861535650':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861535651':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861535652':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861535653':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'86153566':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861535660':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861535661':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861535662':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861535670':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'861535671':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861535672':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861535673':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861535674':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861535675':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861535676':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861535677':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861535678':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861535679':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861535680':{'en': 'Zhoushan, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u821f\u5c71\u5e02')},
'861535681':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861535682':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861535683':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861535684':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861535685':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861535686':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861535687':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861535688':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861535689':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'86153569':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861535700':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861535701':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861535702':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861535703':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861535704':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861535705':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861535706':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861535707':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861535708':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861535709':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861535710':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'861535711':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'861535712':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'861535713':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'861535714':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'861535715':{'en': 'LuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861535716':{'en': 'LuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861535717':{'en': 'LuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861535718':{'en': 'LuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861535719':{'en': 'LuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'86153572':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'86153573':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'86153574':{'en': 'LuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'86153575':{'en': 'Xuancheng, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5ba3\u57ce\u5e02')},
'86153576':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861535770':{'en': 'Chaohu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5de2\u6e56\u5e02')},
'861535771':{'en': 'Chaohu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5de2\u6e56\u5e02')},
'861535772':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861535773':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861535774':{'en': 'Chaohu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5de2\u6e56\u5e02')},
'861535775':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861535776':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861535777':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861535778':{'en': 'Chizhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6c60\u5dde\u5e02')},
'861535779':{'en': 'Chizhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6c60\u5dde\u5e02')},
'861535780':{'en': 'Huaibei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5317\u5e02')},
'861535781':{'en': 'Tongling, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u94dc\u9675\u5e02')},
'861535782':{'en': 'Tongling, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u94dc\u9675\u5e02')},
'861535783':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'861535784':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861535785':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861535786':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861535787':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861535788':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861535789':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'86153579':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861535796':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861535797':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861535798':{'en': 'Huainan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5357\u5e02')},
'861535799':{'en': 'Huainan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5357\u5e02')},
'86153580':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'86153581':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'86153582':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'86153583':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'86153584':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861535845':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861535846':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'86153585':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861535858':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861535859':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861535860':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861535861':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861535862':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861535863':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861535864':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861535865':{'en': 'HuaiAn, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861535866':{'en': 'HuaiAn, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861535867':{'en': 'HuaiAn, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861535868':{'en': 'HuaiAn, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861535869':{'en': 'HuaiAn, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'86153587':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'86153588':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861535885':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861535886':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861535887':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'86153589':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861535890':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861535891':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861535892':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861535900':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861535901':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861535902':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861535903':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861535904':{'en': 'Putian, Fujian', 'zh': u('\u798f\u5efa\u7701\u8386\u7530\u5e02')},
'861535905':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861535906':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861535907':{'en': 'Longyan, Fujian', 'zh': u('\u798f\u5efa\u7701\u9f99\u5ca9\u5e02')},
'861535908':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861535909':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'86153591':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'86153592':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861535930':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861535931':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861535932':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861535933':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861535934':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861535935':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861535936':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861535937':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861535938':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861535939':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'86153594':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861535946':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861535947':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861535948':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861535949':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'86153595':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'86153596':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861535966':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861535967':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861535968':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861535969':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861535970':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861535971':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861535972':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861535973':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861535974':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861535975':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861535976':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861535977':{'en': 'Putian, Fujian', 'zh': u('\u798f\u5efa\u7701\u8386\u7530\u5e02')},
'861535978':{'en': 'Putian, Fujian', 'zh': u('\u798f\u5efa\u7701\u8386\u7530\u5e02')},
'861535979':{'en': 'Putian, Fujian', 'zh': u('\u798f\u5efa\u7701\u8386\u7530\u5e02')},
'861535980':{'en': 'Putian, Fujian', 'zh': u('\u798f\u5efa\u7701\u8386\u7530\u5e02')},
'861535981':{'en': 'Putian, Fujian', 'zh': u('\u798f\u5efa\u7701\u8386\u7530\u5e02')},
'861535982':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861535983':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861535984':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861535985':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861535986':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861535987':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861535988':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861535989':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861535990':{'en': 'Longyan, Fujian', 'zh': u('\u798f\u5efa\u7701\u9f99\u5ca9\u5e02')},
'861535991':{'en': 'Longyan, Fujian', 'zh': u('\u798f\u5efa\u7701\u9f99\u5ca9\u5e02')},
'861535992':{'en': 'Longyan, Fujian', 'zh': u('\u798f\u5efa\u7701\u9f99\u5ca9\u5e02')},
'861535993':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861535994':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861535995':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'861535996':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'861535997':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861535998':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861535999':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'86153600':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86153601':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861536020':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861536021':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861536022':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861536023':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861536024':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861536025':{'en': 'Heyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6cb3\u6e90\u5e02')},
'861536026':{'en': 'Heyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6cb3\u6e90\u5e02')},
'861536027':{'en': 'Heyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6cb3\u6e90\u5e02')},
'861536028':{'en': 'Heyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6cb3\u6e90\u5e02')},
'861536029':{'en': 'Heyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6cb3\u6e90\u5e02')},
'861536030':{'en': 'Yangjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u9633\u6c5f\u5e02')},
'861536031':{'en': 'Yangjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u9633\u6c5f\u5e02')},
'861536032':{'en': 'Yangjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u9633\u6c5f\u5e02')},
'861536033':{'en': 'Yangjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u9633\u6c5f\u5e02')},
'861536034':{'en': 'Yangjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u9633\u6c5f\u5e02')},
'861536035':{'en': 'Yunfu, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e91\u6d6e\u5e02')},
'861536036':{'en': 'Yunfu, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e91\u6d6e\u5e02')},
'861536037':{'en': 'Yunfu, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e91\u6d6e\u5e02')},
'861536038':{'en': 'Yunfu, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e91\u6d6e\u5e02')},
'861536039':{'en': 'Yunfu, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e91\u6d6e\u5e02')},
'86153604':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86153605':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86153606':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861536070':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861536071':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861536072':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861536073':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861536074':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861536075':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861536076':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861536077':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861536078':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861536079':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'86153608':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86153609':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'86153610':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'86153611':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861536120':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861536121':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861536122':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861536123':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861536124':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861536125':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861536126':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861536127':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861536128':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861536129':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86153613':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'86153614':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'86153615':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'86153616':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861536170':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861536171':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861536172':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861536173':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861536174':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861536175':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861536176':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861536177':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861536178':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861536179':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86153618':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861536190':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861536191':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861536192':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861536193':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861536194':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861536195':{'en': 'Meizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6885\u5dde\u5e02')},
'861536196':{'en': 'Meizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6885\u5dde\u5e02')},
'861536197':{'en': 'Meizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6885\u5dde\u5e02')},
'861536198':{'en': 'Meizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6885\u5dde\u5e02')},
'861536199':{'en': 'Meizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6885\u5dde\u5e02')},
'86153620':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'86153621':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'86153622':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'86153623':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'86153624':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861536250':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861536251':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861536252':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861536253':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861536254':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861536255':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861536256':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861536257':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861536258':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861536259':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'86153626':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861536270':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861536271':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861536272':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861536273':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861536274':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861536275':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861536276':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861536277':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861536278':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861536279':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'86153628':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'86153629':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'86153630':{'en': 'Foshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'86153631':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'86153632':{'en': 'Shaoguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u97f6\u5173\u5e02')},
'861536330':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861536331':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861536332':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861536333':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861536334':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861536335':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'861536336':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'861536337':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'861536338':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'861536339':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'861536340':{'en': 'Foshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861536341':{'en': 'Foshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861536342':{'en': 'Foshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861536343':{'en': 'Foshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861536344':{'en': 'Foshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861536345':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861536346':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861536347':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861536348':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861536349':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'86153635':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'86153636':{'en': 'Foshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'86153637':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861536380':{'en': 'Foshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861536381':{'en': 'Foshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861536382':{'en': 'Foshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861536383':{'en': 'Foshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861536384':{'en': 'Foshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861536385':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861536386':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861536387':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861536388':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861536389':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861536390':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861536391':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861536392':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861536393':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861536394':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861536395':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861536396':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861536397':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861536398':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861536399':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'86153640':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861536410':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861536411':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861536412':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861536413':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861536414':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861536415':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861536416':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861536417':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861536418':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861536419':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861536420':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861536421':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861536422':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861536423':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861536424':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861536425':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861536426':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861536427':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861536428':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861536429':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861536430':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861536431':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861536432':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861536433':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861536434':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861536435':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861536436':{'en': 'Zhangjiajie, Hunan', 'zh': u('\u6e56\u5357\u7701\u5f20\u5bb6\u754c\u5e02')},
'861536437':{'en': 'Zhangjiajie, Hunan', 'zh': u('\u6e56\u5357\u7701\u5f20\u5bb6\u754c\u5e02')},
'861536438':{'en': 'Zhangjiajie, Hunan', 'zh': u('\u6e56\u5357\u7701\u5f20\u5bb6\u754c\u5e02')},
'861536439':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861536440':{'en': 'Xiangxi, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u897f\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861536441':{'en': 'Xiangxi, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u897f\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861536442':{'en': 'Xiangxi, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u897f\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861536443':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861536444':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861536445':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861536446':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861536447':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861536448':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861536449':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861536450':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861536451':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861536452':{'en': 'Datong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5927\u540c\u5e02')},
'861536453':{'en': 'Yangquan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u9633\u6cc9\u5e02')},
'861536454':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861536455':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861536456':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861536457':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861536458':{'en': u('L\u00fcliang, Shanxi'), 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861536459':{'en': 'Shuozhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u6714\u5dde\u5e02')},
'861536460':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861536461':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861536462':{'en': 'Datong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5927\u540c\u5e02')},
'861536463':{'en': 'Yangquan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u9633\u6cc9\u5e02')},
'861536464':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861536465':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861536466':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861536467':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861536468':{'en': u('L\u00fcliang, Shanxi'), 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861536469':{'en': 'Shuozhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u6714\u5dde\u5e02')},
'861536470':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861536471':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861536472':{'en': 'Datong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5927\u540c\u5e02')},
'861536473':{'en': 'Yangquan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u9633\u6cc9\u5e02')},
'861536474':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861536475':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861536476':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861536477':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861536478':{'en': u('L\u00fcliang, Shanxi'), 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861536479':{'en': 'Shuozhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u6714\u5dde\u5e02')},
'861536480':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861536481':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861536482':{'en': 'Datong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5927\u540c\u5e02')},
'861536483':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861536484':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861536485':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861536486':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861536487':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861536488':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861536489':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861536490':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861536491':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861536492':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861536493':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861536494':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861536495':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861536496':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861536497':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861536498':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861536499':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'86153650':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'86153651':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'86153652':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'86153653':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861536540':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861536541':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861536542':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861536543':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861536544':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861536545':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861536546':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861536547':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861536548':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861536549':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'86153655':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861536560':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861536561':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861536562':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861536563':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861536564':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861536565':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861536566':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861536567':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861536568':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861536569':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'86153657':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'86153658':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861536590':{'en': 'HuaiAn, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861536591':{'en': 'HuaiAn, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861536592':{'en': 'HuaiAn, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861536593':{'en': 'HuaiAn, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861536594':{'en': 'HuaiAn, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861536595':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861536596':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861536597':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861536598':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861536599':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'86153660':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'86153661':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'86153662':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'86153663':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861536630':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861536631':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861536640':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861536641':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861536642':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861536643':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861536644':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861536645':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861536646':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861536647':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861536648':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861536649':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'86153665':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861536660':{'en': 'HuaiAn, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861536661':{'en': 'HuaiAn, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861536662':{'en': 'HuaiAn, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861536663':{'en': 'HuaiAn, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861536664':{'en': 'HuaiAn, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861536665':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861536666':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861536667':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861536668':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861536669':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861536670':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861536671':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861536672':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861536673':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861536674':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861536675':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861536676':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861536677':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861536678':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861536679':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861536680':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861536681':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861536682':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861536683':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861536684':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861536685':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861536686':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861536687':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861536688':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861536689':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'86153669':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861536690':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861536691':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861536700':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861536701':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861536702':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861536703':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861536704':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861536705':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861536706':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861536707':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861536708':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861536709':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'86153671':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861536720':{'en': 'Xiangxi, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u897f\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861536721':{'en': 'Xiangxi, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u897f\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861536722':{'en': 'Xiangxi, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u897f\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861536723':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861536724':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861536725':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861536726':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861536727':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861536728':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861536729':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861536730':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861536731':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861536732':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861536733':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861536734':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861536735':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861536736':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861536737':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861536738':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861536739':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861536740':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861536741':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861536742':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861536743':{'en': 'Xiangxi, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u897f\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861536744':{'en': 'Zhangjiajie, Hunan', 'zh': u('\u6e56\u5357\u7701\u5f20\u5bb6\u754c\u5e02')},
'861536745':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861536746':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861536747':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861536748':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861536749':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861536750':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861536751':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861536752':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861536753':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861536754':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861536755':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861536756':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861536757':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861536758':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861536759':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861536760':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861536761':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861536762':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861536763':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861536764':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861536765':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861536766':{'en': 'Zhangjiajie, Hunan', 'zh': u('\u6e56\u5357\u7701\u5f20\u5bb6\u754c\u5e02')},
'861536767':{'en': 'Zhangjiajie, Hunan', 'zh': u('\u6e56\u5357\u7701\u5f20\u5bb6\u754c\u5e02')},
'861536768':{'en': 'Zhangjiajie, Hunan', 'zh': u('\u6e56\u5357\u7701\u5f20\u5bb6\u754c\u5e02')},
'861536769':{'en': 'Zhangjiajie, Hunan', 'zh': u('\u6e56\u5357\u7701\u5f20\u5bb6\u754c\u5e02')},
'86153677':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861536770':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861536771':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861536772':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861536773':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'86153678':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'86153679':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'86153680':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'86153681':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'86153682':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861536827':{'en': 'Zhaotong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u662d\u901a\u5e02')},
'861536828':{'en': 'Zhaotong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u662d\u901a\u5e02')},
'861536829':{'en': 'Dali, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5927\u7406\u767d\u65cf\u81ea\u6cbb\u5dde')},
'86153683':{'en': 'Honghe, Yunnan', 'zh': u('\u4e91\u5357\u7701\u7ea2\u6cb3\u54c8\u5c3c\u65cf\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861536830':{'en': 'Dali, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5927\u7406\u767d\u65cf\u81ea\u6cbb\u5dde')},
'861536831':{'en': 'Dali, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5927\u7406\u767d\u65cf\u81ea\u6cbb\u5dde')},
'861536838':{'en': 'Qujing, Yunnan', 'zh': u('\u4e91\u5357\u7701\u66f2\u9756\u5e02')},
'861536839':{'en': 'Qujing, Yunnan', 'zh': u('\u4e91\u5357\u7701\u66f2\u9756\u5e02')},
'86153684':{'en': 'Qujing, Yunnan', 'zh': u('\u4e91\u5357\u7701\u66f2\u9756\u5e02')},
'861536847':{'en': 'Baoshan, Yunnan', 'zh': u('\u4e91\u5357\u7701\u4fdd\u5c71\u5e02')},
'861536848':{'en': 'Baoshan, Yunnan', 'zh': u('\u4e91\u5357\u7701\u4fdd\u5c71\u5e02')},
'861536849':{'en': 'Baoshan, Yunnan', 'zh': u('\u4e91\u5357\u7701\u4fdd\u5c71\u5e02')},
'861536850':{'en': 'Wenshan, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6587\u5c71\u58ee\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861536851':{'en': 'Wenshan, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6587\u5c71\u58ee\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861536852':{'en': 'Wenshan, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6587\u5c71\u58ee\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861536853':{'en': 'Chuxiong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u695a\u96c4\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861536854':{'en': 'Chuxiong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u695a\u96c4\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861536855':{'en': 'Chuxiong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u695a\u96c4\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861536856':{'en': 'Chuxiong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u695a\u96c4\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861536857':{'en': 'Puer, Yunnan', 'zh': u('\u4e91\u5357\u7701\u666e\u6d31\u5e02')},
'861536858':{'en': 'Puer, Yunnan', 'zh': u('\u4e91\u5357\u7701\u666e\u6d31\u5e02')},
'861536859':{'en': 'Puer, Yunnan', 'zh': u('\u4e91\u5357\u7701\u666e\u6d31\u5e02')},
'861536860':{'en': 'Lijiang, Yunnan', 'zh': u('\u4e91\u5357\u7701\u4e3d\u6c5f\u5e02')},
'861536861':{'en': 'Xishuangbanna, Yunnan', 'zh': u('\u4e91\u5357\u7701\u897f\u53cc\u7248\u7eb3\u50a3\u65cf\u81ea\u6cbb\u5dde')},
'861536862':{'en': 'Xishuangbanna, Yunnan', 'zh': u('\u4e91\u5357\u7701\u897f\u53cc\u7248\u7eb3\u50a3\u65cf\u81ea\u6cbb\u5dde')},
'861536863':{'en': 'Xishuangbanna, Yunnan', 'zh': u('\u4e91\u5357\u7701\u897f\u53cc\u7248\u7eb3\u50a3\u65cf\u81ea\u6cbb\u5dde')},
'861536864':{'en': 'Xishuangbanna, Yunnan', 'zh': u('\u4e91\u5357\u7701\u897f\u53cc\u7248\u7eb3\u50a3\u65cf\u81ea\u6cbb\u5dde')},
'861536865':{'en': 'Dehong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5fb7\u5b8f\u50a3\u65cf\u666f\u9887\u65cf\u81ea\u6cbb\u5dde')},
'861536866':{'en': 'Dehong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5fb7\u5b8f\u50a3\u65cf\u666f\u9887\u65cf\u81ea\u6cbb\u5dde')},
'861536867':{'en': 'Dehong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5fb7\u5b8f\u50a3\u65cf\u666f\u9887\u65cf\u81ea\u6cbb\u5dde')},
'861536868':{'en': 'Dehong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5fb7\u5b8f\u50a3\u65cf\u666f\u9887\u65cf\u81ea\u6cbb\u5dde')},
'861536869':{'en': 'Dehong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5fb7\u5b8f\u50a3\u65cf\u666f\u9887\u65cf\u81ea\u6cbb\u5dde')},
'861536870':{'en': 'Zhaotong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u662d\u901a\u5e02')},
'861536871':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861536872':{'en': 'Dali, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5927\u7406\u767d\u65cf\u81ea\u6cbb\u5dde')},
'861536873':{'en': 'Honghe, Yunnan', 'zh': u('\u4e91\u5357\u7701\u7ea2\u6cb3\u54c8\u5c3c\u65cf\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861536874':{'en': 'Qujing, Yunnan', 'zh': u('\u4e91\u5357\u7701\u66f2\u9756\u5e02')},
'861536875':{'en': 'Baoshan, Yunnan', 'zh': u('\u4e91\u5357\u7701\u4fdd\u5c71\u5e02')},
'861536876':{'en': 'Wenshan, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6587\u5c71\u58ee\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861536877':{'en': 'Yuxi, Yunnan', 'zh': u('\u4e91\u5357\u7701\u7389\u6eaa\u5e02')},
'861536878':{'en': 'Chuxiong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u695a\u96c4\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861536879':{'en': 'Puer, Yunnan', 'zh': u('\u4e91\u5357\u7701\u666e\u6d31\u5e02')},
'86153688':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861536881':{'en': 'Xishuangbanna, Yunnan', 'zh': u('\u4e91\u5357\u7701\u897f\u53cc\u7248\u7eb3\u50a3\u65cf\u81ea\u6cbb\u5dde')},
'861536882':{'en': 'Dehong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5fb7\u5b8f\u50a3\u65cf\u666f\u9887\u65cf\u81ea\u6cbb\u5dde')},
'861536883':{'en': 'Lincang, Yunnan', 'zh': u('\u4e91\u5357\u7701\u4e34\u6ca7\u5e02')},
'861536888':{'en': 'Lijiang, Yunnan', 'zh': u('\u4e91\u5357\u7701\u4e3d\u6c5f\u5e02')},
'861536890':{'en': 'Xishuangbanna, Yunnan', 'zh': u('\u4e91\u5357\u7701\u897f\u53cc\u7248\u7eb3\u50a3\u65cf\u81ea\u6cbb\u5dde')},
'861536891':{'en': 'Xishuangbanna, Yunnan', 'zh': u('\u4e91\u5357\u7701\u897f\u53cc\u7248\u7eb3\u50a3\u65cf\u81ea\u6cbb\u5dde')},
'861536892':{'en': 'Xishuangbanna, Yunnan', 'zh': u('\u4e91\u5357\u7701\u897f\u53cc\u7248\u7eb3\u50a3\u65cf\u81ea\u6cbb\u5dde')},
'861536893':{'en': 'Xishuangbanna, Yunnan', 'zh': u('\u4e91\u5357\u7701\u897f\u53cc\u7248\u7eb3\u50a3\u65cf\u81ea\u6cbb\u5dde')},
'861536894':{'en': 'Baoshan, Yunnan', 'zh': u('\u4e91\u5357\u7701\u4fdd\u5c71\u5e02')},
'861536895':{'en': 'Dehong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5fb7\u5b8f\u50a3\u65cf\u666f\u9887\u65cf\u81ea\u6cbb\u5dde')},
'861536896':{'en': 'Dehong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5fb7\u5b8f\u50a3\u65cf\u666f\u9887\u65cf\u81ea\u6cbb\u5dde')},
'861536897':{'en': 'Baoshan, Yunnan', 'zh': u('\u4e91\u5357\u7701\u4fdd\u5c71\u5e02')},
'861536898':{'en': 'Dali, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5927\u7406\u767d\u65cf\u81ea\u6cbb\u5dde')},
'861536899':{'en': 'Dali, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5927\u7406\u767d\u65cf\u81ea\u6cbb\u5dde')},
'86153690':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861536908':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861536909':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'86153691':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861536910':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'86153692':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861536920':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861536930':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861536931':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861536932':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861536933':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861536934':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861536935':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861536936':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861536937':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861536938':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861536939':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861536940':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861536941':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861536942':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861536943':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861536944':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861536945':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861536946':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861536947':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861536948':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861536949':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'86153695':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'86153696':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861536968':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861536969':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861536970':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861536971':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861536972':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861536973':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861536974':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861536975':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861536976':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861536977':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861536978':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861536979':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861536980':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861536981':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861536982':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861536983':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861536984':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861536985':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861536986':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861536987':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861536988':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861536989':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'86153699':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861536990':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861536991':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861536992':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'86153700':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'86153701':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'86153702':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'86153703':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861537040':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861537041':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861537042':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861537043':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861537044':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861537045':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861537046':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861537047':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861537048':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861537049':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'86153705':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'86153706':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861537070':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861537071':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861537072':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861537073':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861537074':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861537075':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861537076':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861537077':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861537078':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861537079':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861537080':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861537081':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861537082':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861537083':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861537084':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861537085':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861537086':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861537087':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861537088':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861537089':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'86153709':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861537100':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861537101':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861537102':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861537103':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861537104':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861537105':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861537106':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861537107':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861537108':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861537109':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'86153711':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861537120':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861537121':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861537122':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861537123':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861537124':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861537125':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861537126':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861537127':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861537128':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861537129':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861537130':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861537131':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861537132':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861537133':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861537134':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861537135':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861537136':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861537137':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861537138':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861537139':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861537140':{'en': 'HuaiAn, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861537141':{'en': 'HuaiAn, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861537142':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861537143':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861537144':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861537145':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861537146':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861537147':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861537148':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861537149':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861537150':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861537151':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861537152':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861537153':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861537154':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861537155':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861537156':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861537157':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861537158':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861537159':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861537160':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861537161':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861537162':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861537163':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861537164':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861537165':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861537166':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861537167':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861537168':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861537169':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'86153717':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'86153718':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'86153719':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'86153720':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'86153721':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861537217':{'en': 'Zhoushan, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u821f\u5c71\u5e02')},
'861537218':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861537219':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'86153722':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861537226':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861537227':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861537228':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861537229':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'86153723':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861537240':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861537241':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861537242':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861537243':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861537244':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861537245':{'en': 'Zhoushan, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u821f\u5c71\u5e02')},
'861537246':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861537247':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861537248':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'861537249':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'86153725':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861537258':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861537259':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'86153726':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861537270':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'861537271':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'861537272':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'861537273':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'861537274':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'861537275':{'en': 'Zhoushan, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u821f\u5c71\u5e02')},
'861537276':{'en': 'Zhoushan, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u821f\u5c71\u5e02')},
'861537277':{'en': 'Zhoushan, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u821f\u5c71\u5e02')},
'861537278':{'en': 'Zhoushan, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u821f\u5c71\u5e02')},
'861537279':{'en': 'Zhoushan, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u821f\u5c71\u5e02')},
'86153728':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'86153729':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'86153730':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861537310':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861537311':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861537312':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861537313':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861537314':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861537315':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861537316':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861537317':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861537318':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861537319':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'86153732':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861537320':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861537321':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861537322':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'86153733':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861537335':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861537340':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861537341':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861537342':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861537343':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861537344':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861537345':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861537346':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861537347':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861537348':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861537349':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'86153735':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'86153736':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861537360':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861537361':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861537362':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861537370':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861537371':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861537372':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861537373':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861537374':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861537375':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861537376':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861537377':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861537378':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861537379':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'86153738':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'86153739':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'86153740':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86153741':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861537420':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861537421':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861537422':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861537423':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861537424':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861537425':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861537426':{'en': 'Yichun, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5b9c\u6625\u5e02')},
'861537427':{'en': 'JiAn, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5409\u5b89\u5e02')},
'861537428':{'en': 'JiAn, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5409\u5b89\u5e02')},
'861537429':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861537430':{'en': 'Yingtan, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u9e70\u6f6d\u5e02')},
'861537431':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861537432':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861537433':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861537434':{'en': 'Fuzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u629a\u5dde\u5e02')},
'861537435':{'en': 'Yichun, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5b9c\u6625\u5e02')},
'861537436':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861537437':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861537438':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861537439':{'en': 'Yichun, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5b9c\u6625\u5e02')},
'861537440':{'en': 'Linxia, Gansu', 'zh': u('\u7518\u8083\u7701\u4e34\u590f\u56de\u65cf\u81ea\u6cbb\u5dde')},
'861537441':{'en': 'Baiyin, Gansu', 'zh': u('\u7518\u8083\u7701\u767d\u94f6\u5e02')},
'861537442':{'en': 'Dingxi, Gansu', 'zh': u('\u7518\u8083\u7701\u5b9a\u897f\u5e02')},
'861537443':{'en': 'Pingliang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e73\u51c9\u5e02')},
'861537444':{'en': 'Qingyang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e86\u9633\u5e02')},
'861537445':{'en': 'Wuwei, Gansu', 'zh': u('\u7518\u8083\u7701\u6b66\u5a01\u5e02')},
'861537446':{'en': 'Zhangye, Gansu', 'zh': u('\u7518\u8083\u7701\u5f20\u6396\u5e02')},
'861537447':{'en': 'Gannan, Gansu', 'zh': u('\u7518\u8083\u7701\u7518\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861537448':{'en': 'Tianshui, Gansu', 'zh': u('\u7518\u8083\u7701\u5929\u6c34\u5e02')},
'861537449':{'en': 'Longnan, Gansu', 'zh': u('\u7518\u8083\u7701\u9647\u5357\u5e02')},
'861537450':{'en': 'Ezhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u9102\u5dde\u5e02')},
'861537451':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'861537452':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'861537453':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'861537454':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861537455':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861537456':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861537457':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861537458':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861537459':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861537460':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861537461':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861537462':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861537463':{'en': 'Wuhai, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u6d77\u5e02')},
'861537464':{'en': 'Wuhai, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u6d77\u5e02')},
'861537465':{'en': 'Bayannur, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861537466':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861537467':{'en': 'Ulanqab, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u5170\u5bdf\u5e03\u5e02')},
'861537468':{'en': 'Ulanqab, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u5170\u5bdf\u5e03\u5e02')},
'861537469':{'en': 'Ulanqab, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u5170\u5bdf\u5e03\u5e02')},
'861537470':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861537471':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861537472':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861537473':{'en': 'Wuhai, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u6d77\u5e02')},
'861537474':{'en': 'Ulanqab, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u5170\u5bdf\u5e03\u5e02')},
'861537475':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'861537476':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861537477':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861537478':{'en': 'Bayannur, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861537479':{'en': 'Xilin, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9521\u6797\u90ed\u52d2\u76df')},
'861537480':{'en': 'Bayannur, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861537481':{'en': 'Hinggan, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5174\u5b89\u76df')},
'861537482':{'en': 'Hinggan, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5174\u5b89\u76df')},
'861537483':{'en': 'Alxa, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u963f\u62c9\u5584\u76df')},
'861537484':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'861537485':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'861537486':{'en': 'Xilin, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9521\u6797\u90ed\u52d2\u76df')},
'861537487':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861537488':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861537489':{'en': 'Xilin, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9521\u6797\u90ed\u52d2\u76df')},
'86153749':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861537496':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'861537497':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'861537498':{'en': 'Xilin, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9521\u6797\u90ed\u52d2\u76df')},
'861537500':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861537501':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'861537502':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'861537503':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861537504':{'en': 'Chaohu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5de2\u6e56\u5e02')},
'861537505':{'en': 'Chaohu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5de2\u6e56\u5e02')},
'861537506':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861537507':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861537508':{'en': 'Chaohu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5de2\u6e56\u5e02')},
'861537509':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861537510':{'en': 'Chaohu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5de2\u6e56\u5e02')},
'861537511':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861537512':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861537513':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861537514':{'en': 'Chaohu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5de2\u6e56\u5e02')},
'861537515':{'en': 'Huainan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5357\u5e02')},
'861537516':{'en': 'Huainan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5357\u5e02')},
'861537517':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861537518':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861537519':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'86153752':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'86153753':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'86153754':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861537550':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'861537551':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861537552':{'en': 'Bengbu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u868c\u57e0\u5e02')},
'861537553':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861537554':{'en': 'Huainan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5357\u5e02')},
'861537555':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861537556':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861537557':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861537558':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861537559':{'en': 'Huangshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9ec4\u5c71\u5e02')},
'861537560':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'861537561':{'en': 'Huaibei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5317\u5e02')},
'861537562':{'en': 'Tongling, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u94dc\u9675\u5e02')},
'861537563':{'en': 'Xuancheng, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5ba3\u57ce\u5e02')},
'861537564':{'en': 'LuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861537565':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861537566':{'en': 'Chizhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6c60\u5dde\u5e02')},
'861537567':{'en': 'Bozhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u4eb3\u5dde\u5e02')},
'861537568':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861537569':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'86153757':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'86153758':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861537590':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861537591':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861537592':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861537593':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861537594':{'en': 'Putian, Fujian', 'zh': u('\u798f\u5efa\u7701\u8386\u7530\u5e02')},
'861537595':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861537596':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861537597':{'en': 'Putian, Fujian', 'zh': u('\u798f\u5efa\u7701\u8386\u7530\u5e02')},
'861537598':{'en': 'Putian, Fujian', 'zh': u('\u798f\u5efa\u7701\u8386\u7530\u5e02')},
'861537599':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'86153760':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861537610':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861537611':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861537612':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861537613':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861537614':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861537615':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861537616':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861537617':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861537618':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861537619':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861537620':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861537621':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861537622':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861537623':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861537624':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861537625':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861537626':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861537627':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861537628':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861537629':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861537630':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861537631':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861537632':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861537633':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861537634':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861537635':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861537636':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861537637':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861537638':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861537639':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861537640':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861537641':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861537642':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861537643':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861537644':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861537645':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861537646':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861537647':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861537648':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861537649':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'86153765':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861537658':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861537659':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861537660':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861537661':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861537662':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861537663':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861537664':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861537665':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861537666':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861537668':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861537669':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'86153767':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861537680':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861537681':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861537682':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861537683':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861537684':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861537685':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861537686':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861537687':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861537688':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861537689':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861537690':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861537691':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861537692':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861537693':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861537694':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861537695':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861537696':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861537697':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861537698':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861537699':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'86153770':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861537710':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861537711':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861537712':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861537713':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861537714':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861537715':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861537716':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861537717':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861537718':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861537719':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861537720':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861537721':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861537722':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861537723':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861537724':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861537725':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861537726':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861537727':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861537728':{'en': 'Suizhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u968f\u5dde\u5e02')},
'861537729':{'en': 'Suizhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u968f\u5dde\u5e02')},
'861537730':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861537731':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861537732':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'861537733':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861537734':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861537735':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861537736':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861537737':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861537738':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861537739':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861537740':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861537741':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861537742':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861537743':{'en': 'Xiangxi, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u897f\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861537744':{'en': 'Zhangjiajie, Hunan', 'zh': u('\u6e56\u5357\u7701\u5f20\u5bb6\u754c\u5e02')},
'861537745':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861537746':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861537747':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861537748':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861537749':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'86153775':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'86153776':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'86153777':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'86153778':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'86153779':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861537790':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861537791':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861537792':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861537793':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'86153780':{'en': 'Longnan, Gansu', 'zh': u('\u7518\u8083\u7701\u9647\u5357\u5e02')},
'861537800':{'en': 'Zhangye, Gansu', 'zh': u('\u7518\u8083\u7701\u5f20\u6396\u5e02')},
'861537801':{'en': 'Wuwei, Gansu', 'zh': u('\u7518\u8083\u7701\u6b66\u5a01\u5e02')},
'861537802':{'en': 'Linxia, Gansu', 'zh': u('\u7518\u8083\u7701\u4e34\u590f\u56de\u65cf\u81ea\u6cbb\u5dde')},
'861537803':{'en': 'Linxia, Gansu', 'zh': u('\u7518\u8083\u7701\u4e34\u590f\u56de\u65cf\u81ea\u6cbb\u5dde')},
'861537810':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'861537811':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'861537812':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861537813':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861537814':{'en': 'Liangshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u51c9\u5c71\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861537815':{'en': 'Liangshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u51c9\u5c71\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861537816':{'en': 'YaAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u96c5\u5b89\u5e02')},
'861537817':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861537818':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861537819':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861537820':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861537821':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861537822':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861537823':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861537824':{'en': 'Bazhong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5df4\u4e2d\u5e02')},
'861537825':{'en': 'Bazhong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5df4\u4e2d\u5e02')},
'861537826':{'en': 'Guangyuan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5143\u5e02')},
'861537827':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861537828':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861537829':{'en': 'Guangyuan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5143\u5e02')},
'861537830':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'861537831':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8d44\u9633\u5e02')},
'861537832':{'en': 'Neijiang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5185\u6c5f\u5e02')},
'861537833':{'en': 'Meishan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7709\u5c71\u5e02')},
'861537834':{'en': 'Meishan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7709\u5c71\u5e02')},
'861537835':{'en': 'Zigong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u81ea\u8d21\u5e02')},
'861537836':{'en': 'Panzhihua, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6500\u679d\u82b1\u5e02')},
'861537837':{'en': 'Aba, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u963f\u575d\u85cf\u65cf\u7f8c\u65cf\u81ea\u6cbb\u5dde')},
'861537838':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861537839':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861537840':{'en': 'Liangshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u51c9\u5c71\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861537841':{'en': 'Guangyuan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5143\u5e02')},
'861537842':{'en': 'Bazhong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5df4\u4e2d\u5e02')},
'861537843':{'en': 'GuangAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5b89\u5e02')},
'861537844':{'en': 'Neijiang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5185\u6c5f\u5e02')},
'861537845':{'en': 'Meishan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7709\u5c71\u5e02')},
'861537846':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8d44\u9633\u5e02')},
'861537847':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861537848':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861537849':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861537850':{'en': 'Liangshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u51c9\u5c71\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861537851':{'en': 'Liangshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u51c9\u5c71\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861537852':{'en': 'Liangshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u51c9\u5c71\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861537853':{'en': 'Guangyuan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5143\u5e02')},
'861537854':{'en': 'Guangyuan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5143\u5e02')},
'861537855':{'en': 'Guangyuan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5143\u5e02')},
'861537856':{'en': 'Bazhong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5df4\u4e2d\u5e02')},
'861537857':{'en': 'Bazhong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5df4\u4e2d\u5e02')},
'861537858':{'en': 'GuangAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5b89\u5e02')},
'861537859':{'en': 'GuangAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5b89\u5e02')},
'861537860':{'en': 'Neijiang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5185\u6c5f\u5e02')},
'861537861':{'en': 'Neijiang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5185\u6c5f\u5e02')},
'861537862':{'en': 'Meishan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7709\u5c71\u5e02')},
'861537863':{'en': 'Meishan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7709\u5c71\u5e02')},
'861537864':{'en': 'Meishan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7709\u5c71\u5e02')},
'861537865':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8d44\u9633\u5e02')},
'861537866':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8d44\u9633\u5e02')},
'861537867':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8d44\u9633\u5e02')},
'861537868':{'en': 'YaAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u96c5\u5b89\u5e02')},
'861537869':{'en': 'YaAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u96c5\u5b89\u5e02')},
'86153787':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'86153788':{'en': 'Tianshui, Gansu', 'zh': u('\u7518\u8083\u7701\u5929\u6c34\u5e02')},
'86153789':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'86153790':{'en': 'Lanzhou, Gansu', 'zh': u('\u7518\u8083\u7701\u5170\u5dde\u5e02')},
'86153791':{'en': 'Dingxi, Gansu', 'zh': u('\u7518\u8083\u7701\u5b9a\u897f\u5e02')},
'861537917':{'en': 'Pingliang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e73\u51c9\u5e02')},
'861537918':{'en': 'Pingliang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e73\u51c9\u5e02')},
'861537919':{'en': 'Pingliang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e73\u51c9\u5e02')},
'861537920':{'en': 'Pingliang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e73\u51c9\u5e02')},
'861537921':{'en': 'Pingliang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e73\u51c9\u5e02')},
'861537922':{'en': 'Dingxi, Gansu', 'zh': u('\u7518\u8083\u7701\u5b9a\u897f\u5e02')},
'861537923':{'en': 'Qingyang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e86\u9633\u5e02')},
'861537924':{'en': 'Qingyang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e86\u9633\u5e02')},
'861537925':{'en': 'Qingyang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e86\u9633\u5e02')},
'861537926':{'en': 'Qingyang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e86\u9633\u5e02')},
'861537927':{'en': 'Zhangye, Gansu', 'zh': u('\u7518\u8083\u7701\u5f20\u6396\u5e02')},
'861537928':{'en': 'Zhangye, Gansu', 'zh': u('\u7518\u8083\u7701\u5f20\u6396\u5e02')},
'861537929':{'en': 'Wuwei, Gansu', 'zh': u('\u7518\u8083\u7701\u6b66\u5a01\u5e02')},
'861537930':{'en': 'Linxia, Gansu', 'zh': u('\u7518\u8083\u7701\u4e34\u590f\u56de\u65cf\u81ea\u6cbb\u5dde')},
'861537931':{'en': 'Wuwei, Gansu', 'zh': u('\u7518\u8083\u7701\u6b66\u5a01\u5e02')},
'861537932':{'en': 'Wuwei, Gansu', 'zh': u('\u7518\u8083\u7701\u6b66\u5a01\u5e02')},
'861537933':{'en': 'Wuwei, Gansu', 'zh': u('\u7518\u8083\u7701\u6b66\u5a01\u5e02')},
'861537934':{'en': 'Wuwei, Gansu', 'zh': u('\u7518\u8083\u7701\u6b66\u5a01\u5e02')},
'861537935':{'en': 'Wuwei, Gansu', 'zh': u('\u7518\u8083\u7701\u6b66\u5a01\u5e02')},
'861537936':{'en': 'Zhangye, Gansu', 'zh': u('\u7518\u8083\u7701\u5f20\u6396\u5e02')},
'861537937':{'en': 'Jiuquan, Gansu', 'zh': u('\u7518\u8083\u7701\u9152\u6cc9\u5e02')},
'861537938':{'en': 'Tianshui, Gansu', 'zh': u('\u7518\u8083\u7701\u5929\u6c34\u5e02')},
'861537939':{'en': 'Longnan, Gansu', 'zh': u('\u7518\u8083\u7701\u9647\u5357\u5e02')},
'861537940':{'en': 'Gannan, Gansu', 'zh': u('\u7518\u8083\u7701\u7518\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861537941':{'en': 'Gannan, Gansu', 'zh': u('\u7518\u8083\u7701\u7518\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861537942':{'en': 'Baiyin, Gansu', 'zh': u('\u7518\u8083\u7701\u767d\u94f6\u5e02')},
'861537943':{'en': 'Baiyin, Gansu', 'zh': u('\u7518\u8083\u7701\u767d\u94f6\u5e02')},
'861537944':{'en': 'Baiyin, Gansu', 'zh': u('\u7518\u8083\u7701\u767d\u94f6\u5e02')},
'861537945':{'en': 'Jinchang, Gansu', 'zh': u('\u7518\u8083\u7701\u91d1\u660c\u5e02')},
'861537946':{'en': 'Jinchang, Gansu', 'zh': u('\u7518\u8083\u7701\u91d1\u660c\u5e02')},
'861537947':{'en': 'Wuwei, Gansu', 'zh': u('\u7518\u8083\u7701\u6b66\u5a01\u5e02')},
'861537948':{'en': 'Wuwei, Gansu', 'zh': u('\u7518\u8083\u7701\u6b66\u5a01\u5e02')},
'861537949':{'en': 'Wuwei, Gansu', 'zh': u('\u7518\u8083\u7701\u6b66\u5a01\u5e02')},
'861537950':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861537951':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861537952':{'en': 'Shizuishan, Ningxia', 'zh': u('\u5b81\u590f\u77f3\u5634\u5c71\u5e02')},
'861537953':{'en': 'Wuzhong, Ningxia', 'zh': u('\u5b81\u590f\u5434\u5fe0\u5e02')},
'861537954':{'en': 'Guyuan, Ningxia', 'zh': u('\u5b81\u590f\u56fa\u539f\u5e02')},
'861537955':{'en': 'Zhongwei, Ningxia', 'zh': u('\u5b81\u590f\u4e2d\u536b\u5e02')},
'861537956':{'en': 'Shizuishan, Ningxia', 'zh': u('\u5b81\u590f\u77f3\u5634\u5c71\u5e02')},
'861537957':{'en': 'Wuzhong, Ningxia', 'zh': u('\u5b81\u590f\u5434\u5fe0\u5e02')},
'861537958':{'en': 'Zhongwei, Ningxia', 'zh': u('\u5b81\u590f\u4e2d\u536b\u5e02')},
'861537959':{'en': 'Guyuan, Ningxia', 'zh': u('\u5b81\u590f\u56fa\u539f\u5e02')},
'861537960':{'en': 'Shizuishan, Ningxia', 'zh': u('\u5b81\u590f\u77f3\u5634\u5c71\u5e02')},
'861537961':{'en': 'Shizuishan, Ningxia', 'zh': u('\u5b81\u590f\u77f3\u5634\u5c71\u5e02')},
'861537962':{'en': 'Shizuishan, Ningxia', 'zh': u('\u5b81\u590f\u77f3\u5634\u5c71\u5e02')},
'861537963':{'en': 'Wuzhong, Ningxia', 'zh': u('\u5b81\u590f\u5434\u5fe0\u5e02')},
'861537964':{'en': 'Wuzhong, Ningxia', 'zh': u('\u5b81\u590f\u5434\u5fe0\u5e02')},
'861537965':{'en': 'Wuzhong, Ningxia', 'zh': u('\u5b81\u590f\u5434\u5fe0\u5e02')},
'861537966':{'en': 'Guyuan, Ningxia', 'zh': u('\u5b81\u590f\u56fa\u539f\u5e02')},
'861537967':{'en': 'Guyuan, Ningxia', 'zh': u('\u5b81\u590f\u56fa\u539f\u5e02')},
'861537968':{'en': 'Zhongwei, Ningxia', 'zh': u('\u5b81\u590f\u4e2d\u536b\u5e02')},
'861537969':{'en': 'Zhongwei, Ningxia', 'zh': u('\u5b81\u590f\u4e2d\u536b\u5e02')},
'86153797':{'en': 'Zhangye, Gansu', 'zh': u('\u7518\u8083\u7701\u5f20\u6396\u5e02')},
'86153798':{'en': 'Tianshui, Gansu', 'zh': u('\u7518\u8083\u7701\u5929\u6c34\u5e02')},
'861537980':{'en': 'Jiuquan, Gansu', 'zh': u('\u7518\u8083\u7701\u9152\u6cc9\u5e02')},
'861537981':{'en': 'Jiuquan, Gansu', 'zh': u('\u7518\u8083\u7701\u9152\u6cc9\u5e02')},
'861537982':{'en': 'Jiuquan, Gansu', 'zh': u('\u7518\u8083\u7701\u9152\u6cc9\u5e02')},
'861537983':{'en': 'Jiuquan, Gansu', 'zh': u('\u7518\u8083\u7701\u9152\u6cc9\u5e02')},
'861537990':{'en': 'Linxia, Gansu', 'zh': u('\u7518\u8083\u7701\u4e34\u590f\u56de\u65cf\u81ea\u6cbb\u5dde')},
'861537991':{'en': 'Linxia, Gansu', 'zh': u('\u7518\u8083\u7701\u4e34\u590f\u56de\u65cf\u81ea\u6cbb\u5dde')},
'861537992':{'en': 'Linxia, Gansu', 'zh': u('\u7518\u8083\u7701\u4e34\u590f\u56de\u65cf\u81ea\u6cbb\u5dde')},
'861537993':{'en': 'Linxia, Gansu', 'zh': u('\u7518\u8083\u7701\u4e34\u590f\u56de\u65cf\u81ea\u6cbb\u5dde')},
'861537994':{'en': 'Linxia, Gansu', 'zh': u('\u7518\u8083\u7701\u4e34\u590f\u56de\u65cf\u81ea\u6cbb\u5dde')},
'861537995':{'en': 'Gannan, Gansu', 'zh': u('\u7518\u8083\u7701\u7518\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861537996':{'en': 'Baiyin, Gansu', 'zh': u('\u7518\u8083\u7701\u767d\u94f6\u5e02')},
'861537997':{'en': 'Baiyin, Gansu', 'zh': u('\u7518\u8083\u7701\u767d\u94f6\u5e02')},
'861537998':{'en': 'Baiyin, Gansu', 'zh': u('\u7518\u8083\u7701\u767d\u94f6\u5e02')},
'861537999':{'en': 'Baiyin, Gansu', 'zh': u('\u7518\u8083\u7701\u767d\u94f6\u5e02')},
'86153800':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'86153801':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861538020':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861538021':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861538022':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861538023':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861538024':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861538025':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861538026':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861538027':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861538028':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861538029':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'86153803':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861538040':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861538041':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861538042':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861538043':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861538044':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861538045':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861538046':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861538047':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861538048':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861538049':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'86153805':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'86153806':{'en': 'HuaiAn, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861538068':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861538069':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861538070':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861538071':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861538072':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861538073':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861538074':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861538075':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861538076':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861538077':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861538078':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861538079':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'86153808':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'86153809':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'86153810':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'86153811':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'86153812':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861538128':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861538129':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861538130':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'861538131':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'861538132':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861538133':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861538134':{'en': 'Zhoushan, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u821f\u5c71\u5e02')},
'861538135':{'en': 'Zhoushan, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u821f\u5c71\u5e02')},
'861538136':{'en': 'Zhoushan, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u821f\u5c71\u5e02')},
'861538137':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861538138':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861538139':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'86153814':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'86153815':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'86153816':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'86153817':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'86153818':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861538188':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861538189':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'86153819':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861538200':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861538201':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861538202':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861538203':{'en': 'Panjin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u76d8\u9526\u5e02')},
'861538204':{'en': 'Panjin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u76d8\u9526\u5e02')},
'861538205':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861538206':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861538207':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861538208':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861538209':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'86153821':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861538210':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861538211':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861538212':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'86153822':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'86153823':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861538240':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861538241':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861538242':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861538243':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861538244':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861538245':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861538246':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861538247':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861538248':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861538249':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'86153825':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'86153826':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'86153827':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'86153828':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861538290':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861538291':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861538292':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861538293':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861538294':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861538295':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861538296':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861538297':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861538298':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861538299':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861538300':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861538301':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861538302':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861538303':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861538304':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861538305':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861538306':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861538307':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861538308':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861538309':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861538310':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861538311':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861538312':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861538313':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861538314':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861538315':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861538316':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861538317':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861538318':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861538319':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861538320':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861538321':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861538322':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861538323':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861538324':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861538325':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861538326':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861538327':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861538328':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861538329':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861538330':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861538331':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861538332':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861538333':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861538334':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861538335':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861538336':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861538337':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861538338':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861538339':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861538340':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861538341':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861538342':{'en': 'Datong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5927\u540c\u5e02')},
'861538343':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861538344':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861538345':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861538346':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861538347':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861538348':{'en': u('L\u00fcliang, Shanxi'), 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861538349':{'en': 'Shuozhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u6714\u5dde\u5e02')},
'861538350':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861538351':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861538352':{'en': 'Datong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5927\u540c\u5e02')},
'861538353':{'en': 'Yangquan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u9633\u6cc9\u5e02')},
'861538354':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861538355':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861538356':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861538357':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861538358':{'en': u('L\u00fcliang, Shanxi'), 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861538359':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861538360':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861538361':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861538362':{'en': 'Datong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5927\u540c\u5e02')},
'861538363':{'en': 'Yangquan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u9633\u6cc9\u5e02')},
'861538364':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861538365':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861538366':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861538367':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861538368':{'en': u('L\u00fcliang, Shanxi'), 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861538369':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861538370':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861538371':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861538372':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861538373':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861538374':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861538375':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861538376':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861538377':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861538378':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861538379':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861538380':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861538381':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861538382':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861538383':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861538384':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861538385':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861538386':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861538387':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861538388':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861538389':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861538390':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861538391':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861538392':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861538393':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861538394':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861538395':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861538396':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861538397':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861538398':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861538399':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'86153840':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861538410':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861538411':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861538412':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861538413':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861538414':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861538415':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861538416':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861538417':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861538418':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861538419':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'86153842':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861538430':{'en': 'Yangjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u9633\u6c5f\u5e02')},
'861538431':{'en': 'Yangjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u9633\u6c5f\u5e02')},
'861538432':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861538433':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861538434':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861538435':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861538436':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861538437':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861538438':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861538439':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'86153844':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861538450':{'en': 'Xianyang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861538451':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861538452':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861538453':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861538454':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861538455':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861538456':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861538457':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861538458':{'en': 'Shangluo, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861538459':{'en': 'Tongchuan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u94dc\u5ddd\u5e02')},
'861538460':{'en': 'Xianyang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861538461':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861538462':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861538463':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861538464':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861538465':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861538466':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861538467':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861538468':{'en': 'Shangluo, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861538469':{'en': 'Tongchuan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u94dc\u5ddd\u5e02')},
'861538470':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861538471':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861538472':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861538473':{'en': 'Wuhai, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u6d77\u5e02')},
'861538474':{'en': 'Ulanqab, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u5170\u5bdf\u5e03\u5e02')},
'861538475':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'861538476':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861538477':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861538478':{'en': 'Bayannur, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861538479':{'en': 'Xilin, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9521\u6797\u90ed\u52d2\u76df')},
'861538480':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861538481':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861538482':{'en': 'Hinggan, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5174\u5b89\u76df')},
'861538483':{'en': 'Alxa, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u963f\u62c9\u5584\u76df')},
'861538484':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861538485':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861538486':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861538487':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861538488':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861538489':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861538490':{'en': 'Hotan, Xinjiang', 'zh': u('\u65b0\u7586\u548c\u7530\u5730\u533a')},
'861538491':{'en': 'Hotan, Xinjiang', 'zh': u('\u65b0\u7586\u548c\u7530\u5730\u533a')},
'861538492':{'en': 'Hotan, Xinjiang', 'zh': u('\u65b0\u7586\u548c\u7530\u5730\u533a')},
'861538493':{'en': 'Aksu, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u514b\u82cf\u5730\u533a')},
'861538494':{'en': 'Kashi, Xinjiang', 'zh': u('\u65b0\u7586\u5580\u4ec0\u5730\u533a')},
'861538495':{'en': 'Hotan, Xinjiang', 'zh': u('\u65b0\u7586\u548c\u7530\u5730\u533a')},
'861538496':{'en': 'Aksu, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u514b\u82cf\u5730\u533a')},
'861538497':{'en': 'Aksu, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u514b\u82cf\u5730\u533a')},
'861538498':{'en': 'Kashi, Xinjiang', 'zh': u('\u65b0\u7586\u5580\u4ec0\u5730\u533a')},
'861538499':{'en': 'Kashi, Xinjiang', 'zh': u('\u65b0\u7586\u5580\u4ec0\u5730\u533a')},
'86153850':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'86153851':{'en': 'Chaohu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5de2\u6e56\u5e02')},
'861538510':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861538511':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861538516':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'86153852':{'en': 'Bozhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u4eb3\u5dde\u5e02')},
'86153853':{'en': 'Xuancheng, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5ba3\u57ce\u5e02')},
'861538536':{'en': 'Chizhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6c60\u5dde\u5e02')},
'861538537':{'en': 'Chizhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6c60\u5dde\u5e02')},
'861538538':{'en': 'Chizhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6c60\u5dde\u5e02')},
'861538539':{'en': 'Chizhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6c60\u5dde\u5e02')},
'861538540':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861538541':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861538542':{'en': 'Huangshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9ec4\u5c71\u5e02')},
'861538543':{'en': 'Huangshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9ec4\u5c71\u5e02')},
'861538544':{'en': 'Huangshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9ec4\u5c71\u5e02')},
'861538545':{'en': 'Xuancheng, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5ba3\u57ce\u5e02')},
'861538546':{'en': 'Chizhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6c60\u5dde\u5e02')},
'861538547':{'en': 'Chizhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6c60\u5dde\u5e02')},
'861538548':{'en': 'Bozhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u4eb3\u5dde\u5e02')},
'861538549':{'en': 'Bozhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u4eb3\u5dde\u5e02')},
'861538550':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'861538551':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861538552':{'en': 'Bengbu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u868c\u57e0\u5e02')},
'861538553':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861538554':{'en': 'Huainan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5357\u5e02')},
'861538555':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861538556':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861538557':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861538558':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861538559':{'en': 'Huangshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9ec4\u5c71\u5e02')},
'861538560':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861538561':{'en': 'Huaibei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5317\u5e02')},
'861538562':{'en': 'Tongling, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u94dc\u9675\u5e02')},
'861538563':{'en': 'Xuancheng, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5ba3\u57ce\u5e02')},
'861538564':{'en': 'LuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861538565':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861538566':{'en': 'Chizhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6c60\u5dde\u5e02')},
'861538567':{'en': 'Bozhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u4eb3\u5dde\u5e02')},
'861538568':{'en': 'Bengbu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u868c\u57e0\u5e02')},
'861538569':{'en': 'Bengbu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u868c\u57e0\u5e02')},
'86153857':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861538580':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861538581':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861538582':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861538583':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861538584':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861538585':{'en': 'Bengbu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u868c\u57e0\u5e02')},
'861538586':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861538587':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861538588':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861538589':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'86153859':{'en': 'LuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'86153860':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'86153861':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861538620':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861538621':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861538622':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861538623':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861538624':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861538625':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861538626':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861538627':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861538628':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861538629':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861538630':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861538631':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861538632':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'861538633':{'en': 'Xiangxi, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u897f\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861538634':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861538635':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861538636':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861538637':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861538638':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861538639':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'86153864':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'86153865':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861538656':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'861538657':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'861538658':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'861538659':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'86153866':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861538667':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'861538668':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'861538669':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'861538670':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861538671':{'en': 'Shuozhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u6714\u5dde\u5e02')},
'861538672':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861538673':{'en': 'Yangquan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u9633\u6cc9\u5e02')},
'861538674':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861538675':{'en': 'Shuozhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u6714\u5dde\u5e02')},
'861538676':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861538677':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861538678':{'en': u('L\u00fcliang, Shanxi'), 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861538679':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861538680':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861538681':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861538682':{'en': 'Datong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5927\u540c\u5e02')},
'861538683':{'en': 'Yangquan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u9633\u6cc9\u5e02')},
'861538684':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861538685':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861538686':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861538687':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861538688':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861538689':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861538690':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861538691':{'en': 'Shuozhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u6714\u5dde\u5e02')},
'861538692':{'en': 'Datong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5927\u540c\u5e02')},
'861538693':{'en': 'Yangquan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u9633\u6cc9\u5e02')},
'861538694':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861538695':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861538696':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861538697':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861538698':{'en': u('L\u00fcliang, Shanxi'), 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861538699':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'86153870':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'86153871':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861538719':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861538720':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861538721':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861538722':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861538723':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'861538724':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'861538725':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861538726':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861538727':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861538728':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861538729':{'en': 'Suizhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u968f\u5dde\u5e02')},
'861538730':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861538731':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861538732':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'861538733':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861538734':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861538735':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861538736':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861538737':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861538738':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861538739':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861538740':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861538741':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861538742':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861538743':{'en': 'Xiangxi, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u897f\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861538744':{'en': 'Zhangjiajie, Hunan', 'zh': u('\u6e56\u5357\u7701\u5f20\u5bb6\u754c\u5e02')},
'861538745':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861538746':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861538747':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861538748':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861538749':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'86153875':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861538760':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861538761':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861538762':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861538763':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861538764':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861538765':{'en': 'Garze, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7518\u5b5c\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861538766':{'en': 'Garze, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7518\u5b5c\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861538767':{'en': 'Aba, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u963f\u575d\u85cf\u65cf\u7f8c\u65cf\u81ea\u6cbb\u5dde')},
'861538768':{'en': 'Aba, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u963f\u575d\u85cf\u65cf\u7f8c\u65cf\u81ea\u6cbb\u5dde')},
'861538769':{'en': 'Panzhihua, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6500\u679d\u82b1\u5e02')},
'861538770':{'en': 'Yingtan, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u9e70\u6f6d\u5e02')},
'861538771':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861538772':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861538773':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861538774':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861538775':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861538776':{'en': 'JiAn, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5409\u5b89\u5e02')},
'861538777':{'en': 'JiAn, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5409\u5b89\u5e02')},
'861538778':{'en': 'Fuzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u629a\u5dde\u5e02')},
'861538779':{'en': 'Yichun, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5b9c\u6625\u5e02')},
'861538780':{'en': 'Xinyu, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u65b0\u4f59\u5e02')},
'861538781':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861538782':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861538783':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861538784':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861538785':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861538786':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861538787':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861538788':{'en': 'Fuzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u629a\u5dde\u5e02')},
'861538789':{'en': 'Yichun, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5b9c\u6625\u5e02')},
'861538790':{'en': 'Xinyu, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u65b0\u4f59\u5e02')},
'861538791':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861538792':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861538793':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861538794':{'en': 'Fuzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u629a\u5dde\u5e02')},
'861538795':{'en': 'Yichun, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5b9c\u6625\u5e02')},
'861538796':{'en': 'JiAn, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5409\u5b89\u5e02')},
'861538797':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861538798':{'en': 'Jingdezhen, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u666f\u5fb7\u9547\u5e02')},
'861538799':{'en': 'Pingxiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u840d\u4e61\u5e02')},
'86153880':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'86153881':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'86153882':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861538827':{'en': 'Zigong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u81ea\u8d21\u5e02')},
'861538828':{'en': 'Zigong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u81ea\u8d21\u5e02')},
'861538829':{'en': 'Zigong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u81ea\u8d21\u5e02')},
'861538830':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861538831':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861538832':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861538833':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861538834':{'en': 'Suining, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u9042\u5b81\u5e02')},
'861538835':{'en': 'Suining, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u9042\u5b81\u5e02')},
'861538836':{'en': 'Suining, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u9042\u5b81\u5e02')},
'861538837':{'en': 'Suining, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u9042\u5b81\u5e02')},
'861538838':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861538839':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861538840':{'en': 'Garze, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7518\u5b5c\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861538841':{'en': 'YaAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u96c5\u5b89\u5e02')},
'861538842':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861538843':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'861538844':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861538845':{'en': 'Aba, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u963f\u575d\u85cf\u65cf\u7f8c\u65cf\u81ea\u6cbb\u5dde')},
'861538846':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'861538847':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861538848':{'en': 'Zigong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u81ea\u8d21\u5e02')},
'861538849':{'en': 'Panzhihua, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6500\u679d\u82b1\u5e02')},
'861538850':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861538851':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861538852':{'en': 'Datong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5927\u540c\u5e02')},
'861538853':{'en': 'Yangquan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u9633\u6cc9\u5e02')},
'861538854':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861538855':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861538856':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861538857':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861538858':{'en': u('L\u00fcliang, Shanxi'), 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861538859':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'86153886':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861538867':{'en': 'Xianyang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861538868':{'en': 'Xianyang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861538869':{'en': 'Xianyang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861538870':{'en': 'Zhaotong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u662d\u901a\u5e02')},
'861538871':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861538872':{'en': 'Dali, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5927\u7406\u767d\u65cf\u81ea\u6cbb\u5dde')},
'861538873':{'en': 'Honghe, Yunnan', 'zh': u('\u4e91\u5357\u7701\u7ea2\u6cb3\u54c8\u5c3c\u65cf\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861538874':{'en': 'Qujing, Yunnan', 'zh': u('\u4e91\u5357\u7701\u66f2\u9756\u5e02')},
'861538875':{'en': 'Qujing, Yunnan', 'zh': u('\u4e91\u5357\u7701\u66f2\u9756\u5e02')},
'861538876':{'en': 'Qujing, Yunnan', 'zh': u('\u4e91\u5357\u7701\u66f2\u9756\u5e02')},
'861538877':{'en': 'Dali, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5927\u7406\u767d\u65cf\u81ea\u6cbb\u5dde')},
'861538878':{'en': 'Puer, Yunnan', 'zh': u('\u4e91\u5357\u7701\u666e\u6d31\u5e02')},
'861538879':{'en': 'Puer, Yunnan', 'zh': u('\u4e91\u5357\u7701\u666e\u6d31\u5e02')},
'861538880':{'en': 'Xishuangbanna, Yunnan', 'zh': u('\u4e91\u5357\u7701\u897f\u53cc\u7248\u7eb3\u50a3\u65cf\u81ea\u6cbb\u5dde')},
'861538881':{'en': 'Xishuangbanna, Yunnan', 'zh': u('\u4e91\u5357\u7701\u897f\u53cc\u7248\u7eb3\u50a3\u65cf\u81ea\u6cbb\u5dde')},
'861538882':{'en': 'Dehong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5fb7\u5b8f\u50a3\u65cf\u666f\u9887\u65cf\u81ea\u6cbb\u5dde')},
'861538883':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861538884':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861538885':{'en': 'Zhaotong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u662d\u901a\u5e02')},
'861538886':{'en': 'Honghe, Yunnan', 'zh': u('\u4e91\u5357\u7701\u7ea2\u6cb3\u54c8\u5c3c\u65cf\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861538887':{'en': 'Honghe, Yunnan', 'zh': u('\u4e91\u5357\u7701\u7ea2\u6cb3\u54c8\u5c3c\u65cf\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861538888':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861538889':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'86153889':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'86153890':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861538910':{'en': 'Xianyang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861538911':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861538912':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861538913':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861538914':{'en': 'Shangluo, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861538915':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861538916':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861538917':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861538918':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861538919':{'en': 'Tongchuan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u94dc\u5ddd\u5e02')},
'86153892':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861538930':{'en': 'Tongchuan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u94dc\u5ddd\u5e02')},
'861538931':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861538932':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861538933':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861538934':{'en': 'Xianyang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861538935':{'en': 'Xianyang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861538936':{'en': 'Xianyang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861538937':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861538938':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861538939':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'86153894':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861538946':{'en': 'Xianyang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861538947':{'en': 'Xianyang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861538948':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861538949':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861538950':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861538951':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861538952':{'en': 'Shangluo, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861538953':{'en': 'Shangluo, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861538954':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861538955':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861538956':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861538957':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861538958':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861538959':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861538960':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861538961':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861538962':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861538963':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861538964':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861538965':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861538966':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861538967':{'en': 'Xianyang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861538968':{'en': 'Xianyang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861538969':{'en': 'Xianyang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861538970':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861538971':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861538972':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861538973':{'en': 'Wuhai, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u6d77\u5e02')},
'861538974':{'en': 'Ulanqab, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u5170\u5bdf\u5e03\u5e02')},
'861538975':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'861538976':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861538977':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861538978':{'en': 'Bayannur, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861538979':{'en': 'Xilin, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9521\u6797\u90ed\u52d2\u76df')},
'86153898':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861538980':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861538981':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861538982':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861538990':{'en': 'Altay, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u52d2\u6cf0\u5730\u533a')},
'861538991':{'en': 'Urumchi, Xinjiang', 'zh': u('\u65b0\u7586\u4e4c\u9c81\u6728\u9f50\u5e02')},
'861538992':{'en': 'Hami, Xinjiang', 'zh': u('\u65b0\u7586\u54c8\u5bc6\u5730\u533a')},
'861538993':{'en': 'Kizilsu, Xinjiang', 'zh': u('\u65b0\u7586\u514b\u5b5c\u52d2\u82cf\u67ef\u5c14\u514b\u5b5c\u81ea\u6cbb\u5dde')},
'861538994':{'en': 'Hotan, Xinjiang', 'zh': u('\u65b0\u7586\u548c\u7530\u5730\u533a')},
'861538995':{'en': 'Turpan, Xinjiang', 'zh': u('\u65b0\u7586\u5410\u9c81\u756a\u5730\u533a')},
'861538996':{'en': 'Changji, Xinjiang', 'zh': u('\u65b0\u7586\u660c\u5409\u56de\u65cf\u81ea\u6cbb\u5dde')},
'861538997':{'en': 'Kizilsu, Xinjiang', 'zh': u('\u65b0\u7586\u514b\u5b5c\u52d2\u82cf\u67ef\u5c14\u514b\u5b5c\u81ea\u6cbb\u5dde')},
'861538998':{'en': 'Tacheng, Xinjiang', 'zh': u('\u65b0\u7586\u5854\u57ce\u5730\u533a')},
'861538999':{'en': 'Hotan, Xinjiang', 'zh': u('\u65b0\u7586\u548c\u7530\u5730\u533a')},
'86153900':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861539010':{'en': 'Aba, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u963f\u575d\u85cf\u65cf\u7f8c\u65cf\u81ea\u6cbb\u5dde')},
'861539011':{'en': 'Bazhong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5df4\u4e2d\u5e02')},
'861539012':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861539013':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'861539014':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'861539015':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'861539016':{'en': 'Garze, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7518\u5b5c\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861539017':{'en': 'GuangAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5b89\u5e02')},
'861539018':{'en': 'Guangyuan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5143\u5e02')},
'861539019':{'en': 'Meishan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7709\u5c71\u5e02')},
'861539020':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861539021':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861539022':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'861539023':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'861539024':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'861539025':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861539026':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861539027':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861539028':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861539029':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861539030':{'en': 'Neijiang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5185\u6c5f\u5e02')},
'861539031':{'en': 'Panzhihua, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6500\u679d\u82b1\u5e02')},
'861539032':{'en': 'Suining, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u9042\u5b81\u5e02')},
'861539033':{'en': 'YaAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u96c5\u5b89\u5e02')},
'861539034':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861539035':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861539036':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8d44\u9633\u5e02')},
'861539037':{'en': 'Zigong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u81ea\u8d21\u5e02')},
'861539038':{'en': 'Zigong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u81ea\u8d21\u5e02')},
'861539039':{'en': 'Liangshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u51c9\u5c71\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861539040':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861539041':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861539042':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861539043':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861539044':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861539045':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861539046':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861539047':{'en': 'Liangshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u51c9\u5c71\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861539048':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861539049':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861539050':{'en': 'Wuwei, Gansu', 'zh': u('\u7518\u8083\u7701\u6b66\u5a01\u5e02')},
'861539051':{'en': 'Wuwei, Gansu', 'zh': u('\u7518\u8083\u7701\u6b66\u5a01\u5e02')},
'861539052':{'en': 'Dingxi, Gansu', 'zh': u('\u7518\u8083\u7701\u5b9a\u897f\u5e02')},
'861539053':{'en': 'Pingliang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e73\u51c9\u5e02')},
'861539054':{'en': 'Tianshui, Gansu', 'zh': u('\u7518\u8083\u7701\u5929\u6c34\u5e02')},
'861539055':{'en': 'Jinchang, Gansu', 'zh': u('\u7518\u8083\u7701\u91d1\u660c\u5e02')},
'861539056':{'en': 'Qingyang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e86\u9633\u5e02')},
'861539057':{'en': 'Jiuquan, Gansu', 'zh': u('\u7518\u8083\u7701\u9152\u6cc9\u5e02')},
'861539058':{'en': 'Jiayuguan, Gansu', 'zh': u('\u7518\u8083\u7701\u5609\u5cea\u5173\u5e02')},
'861539059':{'en': 'Longnan, Gansu', 'zh': u('\u7518\u8083\u7701\u9647\u5357\u5e02')},
'861539060':{'en': 'Linxia, Gansu', 'zh': u('\u7518\u8083\u7701\u4e34\u590f\u56de\u65cf\u81ea\u6cbb\u5dde')},
'861539061':{'en': 'Linxia, Gansu', 'zh': u('\u7518\u8083\u7701\u4e34\u590f\u56de\u65cf\u81ea\u6cbb\u5dde')},
'861539062':{'en': 'Gannan, Gansu', 'zh': u('\u7518\u8083\u7701\u7518\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861539063':{'en': 'Gannan, Gansu', 'zh': u('\u7518\u8083\u7701\u7518\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861539064':{'en': 'Baiyin, Gansu', 'zh': u('\u7518\u8083\u7701\u767d\u94f6\u5e02')},
'861539065':{'en': 'Tianshui, Gansu', 'zh': u('\u7518\u8083\u7701\u5929\u6c34\u5e02')},
'861539066':{'en': 'Lanzhou, Gansu', 'zh': u('\u7518\u8083\u7701\u5170\u5dde\u5e02')},
'861539067':{'en': 'Zhangye, Gansu', 'zh': u('\u7518\u8083\u7701\u5f20\u6396\u5e02')},
'861539068':{'en': 'Zhangye, Gansu', 'zh': u('\u7518\u8083\u7701\u5f20\u6396\u5e02')},
'861539069':{'en': 'Baiyin, Gansu', 'zh': u('\u7518\u8083\u7701\u767d\u94f6\u5e02')},
'861539070':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861539071':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861539072':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861539073':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861539074':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861539075':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861539076':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861539077':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861539078':{'en': 'Yichun, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5b9c\u6625\u5e02')},
'861539079':{'en': 'JiAn, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5409\u5b89\u5e02')},
'86153908':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861539089':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'86153909':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861539100':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861539101':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861539102':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861539103':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861539104':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861539105':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861539106':{'en': 'Bayannur, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861539107':{'en': 'Bayannur, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861539108':{'en': 'Hinggan, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5174\u5b89\u76df')},
'861539109':{'en': 'Hinggan, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5174\u5b89\u76df')},
'86153911':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861539110':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861539119':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861539120':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861539121':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861539122':{'en': 'Ulanqab, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u5170\u5bdf\u5e03\u5e02')},
'861539123':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861539124':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861539125':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861539126':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861539127':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861539128':{'en': 'Hinggan, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5174\u5b89\u76df')},
'861539129':{'en': 'Hinggan, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5174\u5b89\u76df')},
'861539130':{'en': 'Chuxiong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u695a\u96c4\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861539131':{'en': 'Honghe, Yunnan', 'zh': u('\u4e91\u5357\u7701\u7ea2\u6cb3\u54c8\u5c3c\u65cf\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861539132':{'en': 'Honghe, Yunnan', 'zh': u('\u4e91\u5357\u7701\u7ea2\u6cb3\u54c8\u5c3c\u65cf\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861539133':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861539134':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861539135':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861539136':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861539137':{'en': 'Qujing, Yunnan', 'zh': u('\u4e91\u5357\u7701\u66f2\u9756\u5e02')},
'861539138':{'en': 'Puer, Yunnan', 'zh': u('\u4e91\u5357\u7701\u666e\u6d31\u5e02')},
'861539139':{'en': 'Puer, Yunnan', 'zh': u('\u4e91\u5357\u7701\u666e\u6d31\u5e02')},
'861539140':{'en': 'Wenshan, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6587\u5c71\u58ee\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861539141':{'en': 'Wenshan, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6587\u5c71\u58ee\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861539142':{'en': 'Qujing, Yunnan', 'zh': u('\u4e91\u5357\u7701\u66f2\u9756\u5e02')},
'861539143':{'en': 'Qujing, Yunnan', 'zh': u('\u4e91\u5357\u7701\u66f2\u9756\u5e02')},
'861539144':{'en': 'Zhaotong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u662d\u901a\u5e02')},
'861539145':{'en': 'Zhaotong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u662d\u901a\u5e02')},
'861539146':{'en': 'Zhaotong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u662d\u901a\u5e02')},
'861539147':{'en': 'Yuxi, Yunnan', 'zh': u('\u4e91\u5357\u7701\u7389\u6eaa\u5e02')},
'861539148':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861539149':{'en': 'Qujing, Yunnan', 'zh': u('\u4e91\u5357\u7701\u66f2\u9756\u5e02')},
'86153915':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861539157':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'861539158':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'861539159':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'861539160':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'861539161':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861539162':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861539163':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861539164':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'861539165':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'861539166':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861539167':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861539168':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861539169':{'en': 'Suizhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u968f\u5dde\u5e02')},
'86153917':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861539176':{'en': 'Huainan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5357\u5e02')},
'861539177':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861539178':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861539179':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861539180':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861539181':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861539182':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861539183':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861539184':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861539185':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861539186':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861539187':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861539188':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861539189':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861539190':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861539191':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861539192':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861539193':{'en': 'Chaohu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5de2\u6e56\u5e02')},
'861539194':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861539195':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861539196':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861539197':{'en': 'Chaohu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5de2\u6e56\u5e02')},
'861539198':{'en': 'Chaohu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5de2\u6e56\u5e02')},
'861539199':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861539200':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861539201':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861539202':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861539203':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861539204':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861539205':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861539206':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'861539207':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861539208':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861539209':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'86153921':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'86153922':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861539230':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861539231':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861539232':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861539233':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861539234':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861539235':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861539236':{'en': 'Longyan, Fujian', 'zh': u('\u798f\u5efa\u7701\u9f99\u5ca9\u5e02')},
'861539237':{'en': 'Longyan, Fujian', 'zh': u('\u798f\u5efa\u7701\u9f99\u5ca9\u5e02')},
'861539238':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861539239':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'861539240':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'861539241':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'861539242':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861539243':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861539244':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861539245':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861539246':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861539247':{'en': 'Longyan, Fujian', 'zh': u('\u798f\u5efa\u7701\u9f99\u5ca9\u5e02')},
'861539248':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861539249':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861539250':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861539251':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861539252':{'en': 'Datong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5927\u540c\u5e02')},
'861539253':{'en': 'Yangquan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u9633\u6cc9\u5e02')},
'861539254':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861539255':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861539256':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861539257':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861539258':{'en': u('L\u00fcliang, Shanxi'), 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861539259':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861539260':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861539261':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861539262':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861539263':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861539264':{'en': u('L\u00fcliang, Shanxi'), 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861539265':{'en': 'Datong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5927\u540c\u5e02')},
'861539266':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861539267':{'en': 'Yangquan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u9633\u6cc9\u5e02')},
'861539268':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861539269':{'en': 'Shuozhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u6714\u5dde\u5e02')},
'861539270':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861539271':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861539272':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861539273':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861539274':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861539275':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861539276':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861539277':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'861539278':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'861539279':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'86153928':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861539280':{'en': 'Xiantao, Hubei', 'zh': u('\u6e56\u5317\u7701\u4ed9\u6843\u5e02')},
'861539281':{'en': 'Xiantao, Hubei', 'zh': u('\u6e56\u5317\u7701\u4ed9\u6843\u5e02')},
'86153929':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861539297':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861539298':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861539299':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861539300':{'en': 'Linxia, Gansu', 'zh': u('\u7518\u8083\u7701\u4e34\u590f\u56de\u65cf\u81ea\u6cbb\u5dde')},
'861539301':{'en': 'Linxia, Gansu', 'zh': u('\u7518\u8083\u7701\u4e34\u590f\u56de\u65cf\u81ea\u6cbb\u5dde')},
'861539302':{'en': 'Linxia, Gansu', 'zh': u('\u7518\u8083\u7701\u4e34\u590f\u56de\u65cf\u81ea\u6cbb\u5dde')},
'861539303':{'en': 'Linxia, Gansu', 'zh': u('\u7518\u8083\u7701\u4e34\u590f\u56de\u65cf\u81ea\u6cbb\u5dde')},
'861539304':{'en': 'Linxia, Gansu', 'zh': u('\u7518\u8083\u7701\u4e34\u590f\u56de\u65cf\u81ea\u6cbb\u5dde')},
'861539305':{'en': 'Tianshui, Gansu', 'zh': u('\u7518\u8083\u7701\u5929\u6c34\u5e02')},
'861539306':{'en': 'Tianshui, Gansu', 'zh': u('\u7518\u8083\u7701\u5929\u6c34\u5e02')},
'861539307':{'en': 'Tianshui, Gansu', 'zh': u('\u7518\u8083\u7701\u5929\u6c34\u5e02')},
'861539308':{'en': 'Tianshui, Gansu', 'zh': u('\u7518\u8083\u7701\u5929\u6c34\u5e02')},
'861539309':{'en': 'Tianshui, Gansu', 'zh': u('\u7518\u8083\u7701\u5929\u6c34\u5e02')},
'86153931':{'en': 'Lanzhou, Gansu', 'zh': u('\u7518\u8083\u7701\u5170\u5dde\u5e02')},
'861539318':{'en': 'Longnan, Gansu', 'zh': u('\u7518\u8083\u7701\u9647\u5357\u5e02')},
'861539319':{'en': 'Longnan, Gansu', 'zh': u('\u7518\u8083\u7701\u9647\u5357\u5e02')},
'861539320':{'en': 'Dingxi, Gansu', 'zh': u('\u7518\u8083\u7701\u5b9a\u897f\u5e02')},
'861539321':{'en': 'Dingxi, Gansu', 'zh': u('\u7518\u8083\u7701\u5b9a\u897f\u5e02')},
'861539322':{'en': 'Dingxi, Gansu', 'zh': u('\u7518\u8083\u7701\u5b9a\u897f\u5e02')},
'861539323':{'en': 'Dingxi, Gansu', 'zh': u('\u7518\u8083\u7701\u5b9a\u897f\u5e02')},
'861539324':{'en': 'Dingxi, Gansu', 'zh': u('\u7518\u8083\u7701\u5b9a\u897f\u5e02')},
'861539325':{'en': 'Jiuquan, Gansu', 'zh': u('\u7518\u8083\u7701\u9152\u6cc9\u5e02')},
'861539326':{'en': 'Jiuquan, Gansu', 'zh': u('\u7518\u8083\u7701\u9152\u6cc9\u5e02')},
'861539327':{'en': 'Longnan, Gansu', 'zh': u('\u7518\u8083\u7701\u9647\u5357\u5e02')},
'861539328':{'en': 'Longnan, Gansu', 'zh': u('\u7518\u8083\u7701\u9647\u5357\u5e02')},
'861539329':{'en': 'Longnan, Gansu', 'zh': u('\u7518\u8083\u7701\u9647\u5357\u5e02')},
'861539330':{'en': 'Pingliang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e73\u51c9\u5e02')},
'861539331':{'en': 'Pingliang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e73\u51c9\u5e02')},
'861539332':{'en': 'Pingliang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e73\u51c9\u5e02')},
'861539333':{'en': 'Pingliang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e73\u51c9\u5e02')},
'861539334':{'en': 'Pingliang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e73\u51c9\u5e02')},
'861539335':{'en': 'Jiuquan, Gansu', 'zh': u('\u7518\u8083\u7701\u9152\u6cc9\u5e02')},
'861539336':{'en': 'Jiuquan, Gansu', 'zh': u('\u7518\u8083\u7701\u9152\u6cc9\u5e02')},
'861539337':{'en': 'Jiuquan, Gansu', 'zh': u('\u7518\u8083\u7701\u9152\u6cc9\u5e02')},
'861539338':{'en': 'Baiyin, Gansu', 'zh': u('\u7518\u8083\u7701\u767d\u94f6\u5e02')},
'861539339':{'en': 'Baiyin, Gansu', 'zh': u('\u7518\u8083\u7701\u767d\u94f6\u5e02')},
'861539340':{'en': 'Qingyang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e86\u9633\u5e02')},
'861539341':{'en': 'Qingyang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e86\u9633\u5e02')},
'861539342':{'en': 'Qingyang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e86\u9633\u5e02')},
'861539343':{'en': 'Qingyang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e86\u9633\u5e02')},
'861539344':{'en': 'Qingyang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e86\u9633\u5e02')},
'861539345':{'en': 'Jiuquan, Gansu', 'zh': u('\u7518\u8083\u7701\u9152\u6cc9\u5e02')},
'861539346':{'en': 'Jiuquan, Gansu', 'zh': u('\u7518\u8083\u7701\u9152\u6cc9\u5e02')},
'861539347':{'en': 'Jiuquan, Gansu', 'zh': u('\u7518\u8083\u7701\u9152\u6cc9\u5e02')},
'861539348':{'en': 'Jiuquan, Gansu', 'zh': u('\u7518\u8083\u7701\u9152\u6cc9\u5e02')},
'861539349':{'en': 'Baiyin, Gansu', 'zh': u('\u7518\u8083\u7701\u767d\u94f6\u5e02')},
'861539350':{'en': 'Wuwei, Gansu', 'zh': u('\u7518\u8083\u7701\u6b66\u5a01\u5e02')},
'861539351':{'en': 'Wuwei, Gansu', 'zh': u('\u7518\u8083\u7701\u6b66\u5a01\u5e02')},
'861539352':{'en': 'Wuwei, Gansu', 'zh': u('\u7518\u8083\u7701\u6b66\u5a01\u5e02')},
'861539353':{'en': 'Wuwei, Gansu', 'zh': u('\u7518\u8083\u7701\u6b66\u5a01\u5e02')},
'861539354':{'en': 'Wuwei, Gansu', 'zh': u('\u7518\u8083\u7701\u6b66\u5a01\u5e02')},
'861539355':{'en': 'Jinchang, Gansu', 'zh': u('\u7518\u8083\u7701\u91d1\u660c\u5e02')},
'861539356':{'en': 'Jinchang, Gansu', 'zh': u('\u7518\u8083\u7701\u91d1\u660c\u5e02')},
'861539357':{'en': 'Jinchang, Gansu', 'zh': u('\u7518\u8083\u7701\u91d1\u660c\u5e02')},
'861539358':{'en': 'Jinchang, Gansu', 'zh': u('\u7518\u8083\u7701\u91d1\u660c\u5e02')},
'861539359':{'en': 'Baiyin, Gansu', 'zh': u('\u7518\u8083\u7701\u767d\u94f6\u5e02')},
'86153936':{'en': 'Zhangye, Gansu', 'zh': u('\u7518\u8083\u7701\u5f20\u6396\u5e02')},
'861539368':{'en': 'Gannan, Gansu', 'zh': u('\u7518\u8083\u7701\u7518\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861539369':{'en': 'Gannan, Gansu', 'zh': u('\u7518\u8083\u7701\u7518\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861539370':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861539371':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861539372':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861539373':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861539374':{'en': 'Sanmenxia, Henan', 'zh': u('\u6cb3\u5357\u7701\u4e09\u95e8\u5ce1\u5e02')},
'861539375':{'en': 'Sanmenxia, Henan', 'zh': u('\u6cb3\u5357\u7701\u4e09\u95e8\u5ce1\u5e02')},
'861539376':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861539377':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'861539378':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'861539379':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'861539380':{'en': 'Xishuangbanna, Yunnan', 'zh': u('\u4e91\u5357\u7701\u897f\u53cc\u7248\u7eb3\u50a3\u65cf\u81ea\u6cbb\u5dde')},
'861539381':{'en': 'Xishuangbanna, Yunnan', 'zh': u('\u4e91\u5357\u7701\u897f\u53cc\u7248\u7eb3\u50a3\u65cf\u81ea\u6cbb\u5dde')},
'861539382':{'en': 'Xishuangbanna, Yunnan', 'zh': u('\u4e91\u5357\u7701\u897f\u53cc\u7248\u7eb3\u50a3\u65cf\u81ea\u6cbb\u5dde')},
'861539383':{'en': 'Xishuangbanna, Yunnan', 'zh': u('\u4e91\u5357\u7701\u897f\u53cc\u7248\u7eb3\u50a3\u65cf\u81ea\u6cbb\u5dde')},
'861539384':{'en': 'Qujing, Yunnan', 'zh': u('\u4e91\u5357\u7701\u66f2\u9756\u5e02')},
'861539385':{'en': 'Baoshan, Yunnan', 'zh': u('\u4e91\u5357\u7701\u4fdd\u5c71\u5e02')},
'861539386':{'en': 'Baoshan, Yunnan', 'zh': u('\u4e91\u5357\u7701\u4fdd\u5c71\u5e02')},
'861539387':{'en': 'Baoshan, Yunnan', 'zh': u('\u4e91\u5357\u7701\u4fdd\u5c71\u5e02')},
'861539388':{'en': 'Chuxiong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u695a\u96c4\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861539389':{'en': 'Chuxiong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u695a\u96c4\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861539390':{'en': 'Chuxiong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u695a\u96c4\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861539391':{'en': 'Xishuangbanna, Yunnan', 'zh': u('\u4e91\u5357\u7701\u897f\u53cc\u7248\u7eb3\u50a3\u65cf\u81ea\u6cbb\u5dde')},
'861539392':{'en': 'Dehong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5fb7\u5b8f\u50a3\u65cf\u666f\u9887\u65cf\u81ea\u6cbb\u5dde')},
'861539393':{'en': 'Xishuangbanna, Yunnan', 'zh': u('\u4e91\u5357\u7701\u897f\u53cc\u7248\u7eb3\u50a3\u65cf\u81ea\u6cbb\u5dde')},
'861539394':{'en': 'Dali, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5927\u7406\u767d\u65cf\u81ea\u6cbb\u5dde')},
'861539395':{'en': 'Dali, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5927\u7406\u767d\u65cf\u81ea\u6cbb\u5dde')},
'861539396':{'en': 'Dali, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5927\u7406\u767d\u65cf\u81ea\u6cbb\u5dde')},
'861539397':{'en': 'Dali, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5927\u7406\u767d\u65cf\u81ea\u6cbb\u5dde')},
'861539398':{'en': 'Dehong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5fb7\u5b8f\u50a3\u65cf\u666f\u9887\u65cf\u81ea\u6cbb\u5dde')},
'861539399':{'en': 'Qujing, Yunnan', 'zh': u('\u4e91\u5357\u7701\u66f2\u9756\u5e02')},
'861539400':{'en': 'Gannan, Gansu', 'zh': u('\u7518\u8083\u7701\u7518\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861539401':{'en': 'Gannan, Gansu', 'zh': u('\u7518\u8083\u7701\u7518\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861539402':{'en': 'Gannan, Gansu', 'zh': u('\u7518\u8083\u7701\u7518\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861539403':{'en': 'Gannan, Gansu', 'zh': u('\u7518\u8083\u7701\u7518\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861539404':{'en': 'Baiyin, Gansu', 'zh': u('\u7518\u8083\u7701\u767d\u94f6\u5e02')},
'861539405':{'en': 'Tianshui, Gansu', 'zh': u('\u7518\u8083\u7701\u5929\u6c34\u5e02')},
'861539406':{'en': 'Tianshui, Gansu', 'zh': u('\u7518\u8083\u7701\u5929\u6c34\u5e02')},
'861539407':{'en': 'Zhangye, Gansu', 'zh': u('\u7518\u8083\u7701\u5f20\u6396\u5e02')},
'861539408':{'en': 'Zhangye, Gansu', 'zh': u('\u7518\u8083\u7701\u5f20\u6396\u5e02')},
'861539409':{'en': 'Wuwei, Gansu', 'zh': u('\u7518\u8083\u7701\u6b66\u5a01\u5e02')},
'861539410':{'en': 'Xianyang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861539411':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861539412':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861539413':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861539414':{'en': 'Shangluo, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861539415':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861539416':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861539417':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861539418':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861539419':{'en': 'Tongchuan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u94dc\u5ddd\u5e02')},
'86153942':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861539430':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861539431':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861539432':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861539433':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861539434':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861539435':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861539436':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861539437':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861539438':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861539439':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861539440':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861539441':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861539442':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861539443':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861539444':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861539445':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861539446':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861539447':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861539448':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861539449':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'861539450':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'861539451':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861539452':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861539453':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861539454':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861539455':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861539456':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861539457':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861539458':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861539459':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861539460':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861539461':{'en': 'HuaiAn, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861539462':{'en': 'HuaiAn, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861539463':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861539464':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861539465':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861539466':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861539467':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861539468':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861539469':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861539470':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861539471':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861539472':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861539473':{'en': 'Wuhai, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u6d77\u5e02')},
'861539474':{'en': 'Hinggan, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5174\u5b89\u76df')},
'861539475':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'861539476':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861539477':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861539478':{'en': 'Bayannur, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861539479':{'en': 'Xilin, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9521\u6797\u90ed\u52d2\u76df')},
'86153948':{'en': 'Honghe, Yunnan', 'zh': u('\u4e91\u5357\u7701\u7ea2\u6cb3\u54c8\u5c3c\u65cf\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861539480':{'en': 'Dehong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5fb7\u5b8f\u50a3\u65cf\u666f\u9887\u65cf\u81ea\u6cbb\u5dde')},
'861539481':{'en': 'Dehong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5fb7\u5b8f\u50a3\u65cf\u666f\u9887\u65cf\u81ea\u6cbb\u5dde')},
'861539490':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861539491':{'en': 'Dali, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5927\u7406\u767d\u65cf\u81ea\u6cbb\u5dde')},
'861539492':{'en': 'Dehong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5fb7\u5b8f\u50a3\u65cf\u666f\u9887\u65cf\u81ea\u6cbb\u5dde')},
'861539493':{'en': 'Qujing, Yunnan', 'zh': u('\u4e91\u5357\u7701\u66f2\u9756\u5e02')},
'861539494':{'en': 'Puer, Yunnan', 'zh': u('\u4e91\u5357\u7701\u666e\u6d31\u5e02')},
'861539495':{'en': 'Puer, Yunnan', 'zh': u('\u4e91\u5357\u7701\u666e\u6d31\u5e02')},
'861539496':{'en': 'Puer, Yunnan', 'zh': u('\u4e91\u5357\u7701\u666e\u6d31\u5e02')},
'861539497':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861539498':{'en': 'Wenshan, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6587\u5c71\u58ee\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861539499':{'en': 'Wenshan, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6587\u5c71\u58ee\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'86153950':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'86153951':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'86153952':{'en': 'Bengbu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u868c\u57e0\u5e02')},
'86153953':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'86153954':{'en': 'Huainan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5357\u5e02')},
'861539550':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'861539551':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861539552':{'en': 'Bengbu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u868c\u57e0\u5e02')},
'861539553':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861539554':{'en': 'Huainan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5357\u5e02')},
'861539555':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861539556':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861539557':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861539558':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861539559':{'en': 'Huangshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9ec4\u5c71\u5e02')},
'861539560':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861539561':{'en': 'Huaibei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5317\u5e02')},
'861539562':{'en': 'Tongling, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u94dc\u9675\u5e02')},
'861539563':{'en': 'Xuancheng, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5ba3\u57ce\u5e02')},
'861539564':{'en': 'LuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861539565':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861539566':{'en': 'Chizhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6c60\u5dde\u5e02')},
'861539567':{'en': 'Bozhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u4eb3\u5dde\u5e02')},
'861539568':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861539569':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861539570':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'861539571':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861539572':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861539573':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861539574':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861539575':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861539576':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861539577':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861539578':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861539579':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861539580':{'en': 'Zhoushan, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u821f\u5c71\u5e02')},
'861539581':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861539582':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861539583':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861539584':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861539585':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861539586':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861539587':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861539588':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861539589':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861539590':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861539591':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861539592':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861539593':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861539594':{'en': 'Putian, Fujian', 'zh': u('\u798f\u5efa\u7701\u8386\u7530\u5e02')},
'861539595':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861539596':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861539597':{'en': 'Longyan, Fujian', 'zh': u('\u798f\u5efa\u7701\u9f99\u5ca9\u5e02')},
'861539598':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861539599':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'86153960':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861539610':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861539611':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861539612':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861539613':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'861539614':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861539615':{'en': 'Putian, Fujian', 'zh': u('\u798f\u5efa\u7701\u8386\u7530\u5e02')},
'861539616':{'en': 'Putian, Fujian', 'zh': u('\u798f\u5efa\u7701\u8386\u7530\u5e02')},
'861539617':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861539618':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861539619':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'86153962':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861539629':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'86153963':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861539634':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861539635':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861539636':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'86153964':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'86153965':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'86153966':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861539670':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861539671':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861539672':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861539673':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861539674':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861539675':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861539676':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861539677':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861539678':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861539679':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861539680':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861539681':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861539682':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861539683':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861539684':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861539685':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861539686':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861539687':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861539688':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861539689':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'86153969':{'en': 'HuaiAn, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861539698':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861539699':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'86153970':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'86153971':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'86153972':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861539726':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861539727':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861539728':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861539729':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'86153973':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861539740':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861539741':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861539742':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861539743':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861539744':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861539745':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861539746':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861539747':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861539748':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861539749':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'86153975':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861539760':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861539761':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861539762':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861539763':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861539764':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861539765':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861539766':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861539767':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'861539768':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'861539769':{'en': 'GuangAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5b89\u5e02')},
'861539770':{'en': 'Meishan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7709\u5c71\u5e02')},
'861539771':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8d44\u9633\u5e02')},
'861539772':{'en': 'Guangyuan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5143\u5e02')},
'861539773':{'en': 'Bazhong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5df4\u4e2d\u5e02')},
'861539774':{'en': 'Neijiang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5185\u6c5f\u5e02')},
'861539775':{'en': 'YaAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u96c5\u5b89\u5e02')},
'861539776':{'en': 'Liangshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u51c9\u5c71\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861539777':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861539778':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861539779':{'en': 'Zigong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u81ea\u8d21\u5e02')},
'861539780':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861539781':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861539782':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861539783':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861539784':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861539785':{'en': 'Yichun, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5b9c\u6625\u5e02')},
'861539786':{'en': 'JiAn, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5409\u5b89\u5e02')},
'861539787':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861539788':{'en': 'Fuzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u629a\u5dde\u5e02')},
'861539789':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861539790':{'en': 'Xinyu, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u65b0\u4f59\u5e02')},
'861539791':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861539792':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861539793':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861539794':{'en': 'Fuzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u629a\u5dde\u5e02')},
'861539795':{'en': 'Yichun, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5b9c\u6625\u5e02')},
'861539796':{'en': 'JiAn, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5409\u5b89\u5e02')},
'861539797':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861539798':{'en': 'Jingdezhen, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u666f\u5fb7\u9547\u5e02')},
'861539799':{'en': 'Pingxiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u840d\u4e61\u5e02')},
'86153980':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'86153981':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'86153982':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861539830':{'en': 'Wenshan, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6587\u5c71\u58ee\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861539831':{'en': 'Wenshan, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6587\u5c71\u58ee\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861539832':{'en': 'Yuxi, Yunnan', 'zh': u('\u4e91\u5357\u7701\u7389\u6eaa\u5e02')},
'861539833':{'en': 'Zhaotong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u662d\u901a\u5e02')},
'861539834':{'en': 'Zhaotong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u662d\u901a\u5e02')},
'861539835':{'en': 'Zhaotong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u662d\u901a\u5e02')},
'861539836':{'en': 'Zhaotong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u662d\u901a\u5e02')},
'861539837':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861539838':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861539839':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'86153984':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'86153985':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'86153986':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861539866':{'en': 'Puer, Yunnan', 'zh': u('\u4e91\u5357\u7701\u666e\u6d31\u5e02')},
'861539868':{'en': 'Zhaotong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u662d\u901a\u5e02')},
'861539870':{'en': 'Zhaotong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u662d\u901a\u5e02')},
'861539871':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861539872':{'en': 'Dali, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5927\u7406\u767d\u65cf\u81ea\u6cbb\u5dde')},
'861539873':{'en': 'Honghe, Yunnan', 'zh': u('\u4e91\u5357\u7701\u7ea2\u6cb3\u54c8\u5c3c\u65cf\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861539874':{'en': 'Qujing, Yunnan', 'zh': u('\u4e91\u5357\u7701\u66f2\u9756\u5e02')},
'861539875':{'en': 'Baoshan, Yunnan', 'zh': u('\u4e91\u5357\u7701\u4fdd\u5c71\u5e02')},
'861539876':{'en': 'Wenshan, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6587\u5c71\u58ee\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861539877':{'en': 'Yuxi, Yunnan', 'zh': u('\u4e91\u5357\u7701\u7389\u6eaa\u5e02')},
'861539878':{'en': 'Chuxiong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u695a\u96c4\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861539879':{'en': 'Puer, Yunnan', 'zh': u('\u4e91\u5357\u7701\u666e\u6d31\u5e02')},
'86153988':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'86153989':{'en': 'Foshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'86153990':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861539910':{'en': 'Xianyang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861539911':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861539912':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861539913':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861539914':{'en': 'Shangluo, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861539915':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861539916':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861539917':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861539918':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861539919':{'en': 'Tongchuan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u94dc\u5ddd\u5e02')},
'861539920':{'en': 'Tongchuan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u94dc\u5ddd\u5e02')},
'861539921':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861539922':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861539923':{'en': 'Xianyang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861539924':{'en': 'Xianyang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861539925':{'en': 'Xianyang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861539926':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861539927':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861539928':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861539929':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861539930':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861539931':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861539932':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861539933':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861539934':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861539935':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861539936':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861539937':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861539938':{'en': 'Shangluo, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861539939':{'en': 'Shangluo, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'86153994':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861539949':{'en': 'Xianyang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'86153995':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861539960':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861539961':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861539962':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861539963':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861539964':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861539965':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861539966':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861539967':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861539968':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861539969':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861539970':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861539971':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861539972':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861539973':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861539974':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861539975':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861539976':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861539977':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861539978':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861539979':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861539980':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861539981':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861539982':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861539983':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861539984':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861539985':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861539986':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861539987':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861539988':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861539989':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'86153999':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861539995':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861539996':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'86155000':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'86155001':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'861550020':{'en': 'Baishan, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u5c71\u5e02')},
'861550021':{'en': 'Baishan, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u5c71\u5e02')},
'861550022':{'en': 'Baishan, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u5c71\u5e02')},
'861550023':{'en': 'Baishan, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u5c71\u5e02')},
'861550024':{'en': 'Baishan, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u5c71\u5e02')},
'861550025':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861550026':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861550027':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861550028':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861550029':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'86155003':{'en': 'Tonghua, Jilin', 'zh': u('\u5409\u6797\u7701\u901a\u5316\u5e02')},
'861550040':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'861550041':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'861550042':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'861550043':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'861550044':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'861550045':{'en': 'Baishan, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u5c71\u5e02')},
'861550046':{'en': 'Baishan, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u5c71\u5e02')},
'861550047':{'en': 'Baishan, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u5c71\u5e02')},
'861550048':{'en': 'Baishan, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u5c71\u5e02')},
'861550049':{'en': 'Baishan, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u5c71\u5e02')},
'86155005':{'en': 'Xining, Qinghai', 'zh': u('\u9752\u6d77\u7701\u897f\u5b81\u5e02')},
'86155006':{'en': 'Xining, Qinghai', 'zh': u('\u9752\u6d77\u7701\u897f\u5b81\u5e02')},
'861550066':{'en': 'Haidong, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u4e1c\u5730\u533a')},
'861550067':{'en': 'Haidong, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u4e1c\u5730\u533a')},
'861550068':{'en': 'Haidong, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u4e1c\u5730\u533a')},
'861550069':{'en': 'Haidong, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u4e1c\u5730\u533a')},
'86155007':{'en': 'Xining, Qinghai', 'zh': u('\u9752\u6d77\u7701\u897f\u5b81\u5e02')},
'861550070':{'en': 'Haibei, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u5317\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861550071':{'en': 'Huangnan, Qinghai', 'zh': u('\u9752\u6d77\u7701\u9ec4\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861550072':{'en': 'Huangnan, Qinghai', 'zh': u('\u9752\u6d77\u7701\u9ec4\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861550080':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861550081':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861550082':{'en': 'Shizuishan, Ningxia', 'zh': u('\u5b81\u590f\u77f3\u5634\u5c71\u5e02')},
'861550083':{'en': 'Wuzhong, Ningxia', 'zh': u('\u5b81\u590f\u5434\u5fe0\u5e02')},
'861550084':{'en': 'Guyuan, Ningxia', 'zh': u('\u5b81\u590f\u56fa\u539f\u5e02')},
'861550085':{'en': 'Zhongwei, Ningxia', 'zh': u('\u5b81\u590f\u4e2d\u536b\u5e02')},
'861550086':{'en': 'Wuzhong, Ningxia', 'zh': u('\u5b81\u590f\u5434\u5fe0\u5e02')},
'861550087':{'en': 'Zhongwei, Ningxia', 'zh': u('\u5b81\u590f\u4e2d\u536b\u5e02')},
'861550088':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861550089':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'86155009':{'en': 'Haikou, Hainan', 'zh': u('\u6d77\u5357\u7701\u6d77\u53e3\u5e02')},
'86155010':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86155011':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86155012':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86155013':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861550140':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861550141':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861550142':{'en': 'HuaiAn, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861550143':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861550144':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861550145':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861550146':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861550147':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861550148':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861550149':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'86155015':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'86155016':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'86155017':{'en': 'Haikou, Hainan', 'zh': u('\u6d77\u5357\u7701\u6d77\u53e3\u5e02')},
'86155018':{'en': 'Haikou, Hainan', 'zh': u('\u6d77\u5357\u7701\u6d77\u53e3\u5e02')},
'86155019':{'en': 'Haikou, Hainan', 'zh': u('\u6d77\u5357\u7701\u6d77\u53e3\u5e02')},
'861550200':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861550201':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861550202':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861550203':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861550204':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861550205':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861550206':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861550207':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861550208':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861550209':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'86155021':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'86155022':{'en': 'Tianjin', 'zh': u('\u5929\u6d25\u5e02')},
'86155023':{'en': 'Chongqing', 'zh': u('\u91cd\u5e86\u5e02')},
'86155024':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'86155025':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861550260':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861550261':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861550262':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861550263':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861550264':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861550265':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861550266':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861550267':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861550268':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861550269':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861550270':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'861550271':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'861550272':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861550273':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861550274':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861550275':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861550276':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861550277':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861550278':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861550279':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861550280':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861550281':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861550282':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861550283':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861550284':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861550285':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861550286':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861550287':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8d44\u9633\u5e02')},
'861550288':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8d44\u9633\u5e02')},
'861550289':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'86155029':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'86155030':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861550304':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861550305':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861550306':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861550309':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861550310':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861550311':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861550312':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861550313':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861550314':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861550315':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861550316':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861550317':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861550318':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861550319':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'86155032':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'86155033':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861550335':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861550340':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861550341':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861550342':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861550343':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861550344':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861550345':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861550346':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861550347':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861550348':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861550349':{'en': 'Shuozhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u6714\u5dde\u5e02')},
'861550350':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861550351':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861550352':{'en': 'Datong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5927\u540c\u5e02')},
'861550353':{'en': 'Yangquan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u9633\u6cc9\u5e02')},
'861550354':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861550355':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861550356':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861550357':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861550358':{'en': u('L\u00fcliang, Shanxi'), 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861550359':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'86155036':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861550370':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861550371':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861550372':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861550373':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861550374':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'861550375':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861550376':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861550377':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861550378':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'861550379':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'86155038':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861550390':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'861550391':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'861550392':{'en': 'Hebi, Henan', 'zh': u('\u6cb3\u5357\u7701\u9e64\u58c1\u5e02')},
'861550393':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'861550394':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'861550395':{'en': 'Luohe, Henan', 'zh': u('\u6cb3\u5357\u7701\u6f2f\u6cb3\u5e02')},
'861550396':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861550397':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861550398':{'en': 'Sanmenxia, Henan', 'zh': u('\u6cb3\u5357\u7701\u4e09\u95e8\u5ce1\u5e02')},
'861550399':{'en': 'Sanmenxia, Henan', 'zh': u('\u6cb3\u5357\u7701\u4e09\u95e8\u5ce1\u5e02')},
'86155040':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861550406':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861550407':{'en': 'Yingkou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8425\u53e3\u5e02')},
'861550408':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861550409':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861550410':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861550411':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861550412':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861550413':{'en': 'Fushun, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u629a\u987a\u5e02')},
'861550414':{'en': 'Benxi, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u672c\u6eaa\u5e02')},
'861550415':{'en': 'Dandong, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u4e39\u4e1c\u5e02')},
'861550416':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861550417':{'en': 'Yingkou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8425\u53e3\u5e02')},
'861550418':{'en': 'Fuxin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u961c\u65b0\u5e02')},
'861550419':{'en': 'Liaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8fbd\u9633\u5e02')},
'861550420':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861550421':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861550422':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861550423':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861550424':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861550425':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861550426':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861550427':{'en': 'Panjin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u76d8\u9526\u5e02')},
'861550428':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861550429':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861550430':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'861550431':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'861550432':{'en': 'Jilin, Jilin', 'zh': u('\u5409\u6797\u7701\u5409\u6797\u5e02')},
'861550433':{'en': 'Yanbian, Jilin', 'zh': u('\u5409\u6797\u7701\u5ef6\u8fb9\u671d\u9c9c\u65cf\u81ea\u6cbb\u5dde')},
'861550434':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'861550435':{'en': 'Tonghua, Jilin', 'zh': u('\u5409\u6797\u7701\u901a\u5316\u5e02')},
'861550436':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861550437':{'en': 'Liaoyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u8fbd\u6e90\u5e02')},
'861550438':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861550439':{'en': 'Baishan, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u5c71\u5e02')},
'86155044':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'861550450':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861550451':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861550452':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861550453':{'en': 'Mudanjiang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7261\u4e39\u6c5f\u5e02')},
'861550454':{'en': 'Jiamusi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f73\u6728\u65af\u5e02')},
'861550455':{'en': 'Suihua, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7ee5\u5316\u5e02')},
'861550456':{'en': 'Heihe, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9ed1\u6cb3\u5e02')},
'861550457':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861550458':{'en': 'Yichun, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f0a\u6625\u5e02')},
'861550459':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'86155046':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861550464':{'en': 'Qitaihe, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4e03\u53f0\u6cb3\u5e02')},
'861550467':{'en': 'Jixi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e21\u897f\u5e02')},
'861550468':{'en': 'Hegang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e64\u5c97\u5e02')},
'861550469':{'en': 'Shuangyashan, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u53cc\u9e2d\u5c71\u5e02')},
'861550470':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861550471':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861550472':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861550473':{'en': 'Wuhai, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u6d77\u5e02')},
'861550474':{'en': 'Ulanqab, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u5170\u5bdf\u5e03\u5e02')},
'861550475':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'861550476':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861550477':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861550478':{'en': 'Bayannur, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861550479':{'en': 'Xilin, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9521\u6797\u90ed\u52d2\u76df')},
'861550480':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861550481':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861550482':{'en': 'Hinggan, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5174\u5b89\u76df')},
'861550483':{'en': 'Alxa, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u963f\u62c9\u5584\u76df')},
'861550484':{'en': 'Ulanqab, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u5170\u5bdf\u5e03\u5e02')},
'861550485':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'861550486':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861550487':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861550488':{'en': 'Bayannur, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861550489':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861550490':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861550491':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861550492':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861550493':{'en': 'Fushun, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u629a\u987a\u5e02')},
'861550494':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861550495':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861550496':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861550497':{'en': 'Yingkou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8425\u53e3\u5e02')},
'861550498':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861550499':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'86155050':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861550500':{'en': 'LuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861550501':{'en': 'LuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861550502':{'en': 'LuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861550503':{'en': 'LuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861550510':{'en': 'HuaiAn, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861550511':{'en': 'HuaiAn, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861550512':{'en': 'HuaiAn, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861550513':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861550514':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861550515':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861550516':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861550517':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861550518':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861550519':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861550520':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861550521':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861550522':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861550523':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861550524':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861550525':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861550526':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861550527':{'en': 'HuaiAn, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861550528':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861550529':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861550530':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861550531':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861550532':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861550533':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861550534':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861550535':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861550536':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861550537':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861550538':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861550539':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861550540':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861550541':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861550542':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861550543':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861550544':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861550545':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861550546':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861550547':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861550548':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861550549':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861550550':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'861550551':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861550552':{'en': 'Bengbu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u868c\u57e0\u5e02')},
'861550553':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861550554':{'en': 'Huainan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5357\u5e02')},
'861550555':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861550556':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861550557':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861550558':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861550559':{'en': 'Huangshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9ec4\u5c71\u5e02')},
'861550560':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861550561':{'en': 'Huaibei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5317\u5e02')},
'861550562':{'en': 'Tongling, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u94dc\u9675\u5e02')},
'861550563':{'en': 'Xuancheng, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5ba3\u57ce\u5e02')},
'861550564':{'en': 'LuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861550565':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861550566':{'en': 'Chizhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6c60\u5dde\u5e02')},
'861550567':{'en': 'Bozhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u4eb3\u5dde\u5e02')},
'861550568':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861550569':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861550570':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'861550571':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861550572':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861550573':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861550574':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861550575':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861550576':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861550577':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861550578':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861550579':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861550580':{'en': 'Zhoushan, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u821f\u5c71\u5e02')},
'861550581':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861550582':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861550583':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861550584':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861550585':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861550586':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861550587':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861550588':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861550589':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'861550590':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861550591':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861550592':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861550593':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861550594':{'en': 'Putian, Fujian', 'zh': u('\u798f\u5efa\u7701\u8386\u7530\u5e02')},
'861550595':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861550596':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861550597':{'en': 'Longyan, Fujian', 'zh': u('\u798f\u5efa\u7701\u9f99\u5ca9\u5e02')},
'861550598':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861550599':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'861550600':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'861550601':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'861550602':{'en': 'Jilin, Jilin', 'zh': u('\u5409\u6797\u7701\u5409\u6797\u5e02')},
'861550603':{'en': 'Jilin, Jilin', 'zh': u('\u5409\u6797\u7701\u5409\u6797\u5e02')},
'861550604':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861550605':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'861550606':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861550607':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861550608':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861550609':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'86155061':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861550610':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861550611':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861550612':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'86155062':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861550630':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861550631':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861550632':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861550633':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861550634':{'en': 'Laiwu, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83b1\u829c\u5e02')},
'861550635':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861550636':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861550637':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861550638':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861550639':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861550640':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861550641':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861550642':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861550643':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861550644':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861550645':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861550646':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861550647':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861550648':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861550649':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861550650':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861550651':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861550652':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861550653':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861550654':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861550655':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861550656':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861550657':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861550658':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861550659':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861550660':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861550661':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861550662':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861550663':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861550664':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861550665':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861550666':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861550667':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861550668':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861550669':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'86155067':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'861550670':{'en': 'Laibin, Guangxi', 'zh': u('\u5e7f\u897f\u6765\u5bbe\u5e02')},
'861550671':{'en': 'Laibin, Guangxi', 'zh': u('\u5e7f\u897f\u6765\u5bbe\u5e02')},
'861550672':{'en': 'Laibin, Guangxi', 'zh': u('\u5e7f\u897f\u6765\u5bbe\u5e02')},
'861550680':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861550681':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861550682':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'861550683':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'861550684':{'en': 'Baise, Guangxi', 'zh': u('\u5e7f\u897f\u767e\u8272\u5e02')},
'861550685':{'en': 'Baise, Guangxi', 'zh': u('\u5e7f\u897f\u767e\u8272\u5e02')},
'861550686':{'en': 'Baise, Guangxi', 'zh': u('\u5e7f\u897f\u767e\u8272\u5e02')},
'861550687':{'en': 'Fangchenggang, Guangxi', 'zh': u('\u5e7f\u897f\u9632\u57ce\u6e2f\u5e02')},
'861550688':{'en': 'Yulin, Guangxi', 'zh': u('\u5e7f\u897f\u7389\u6797\u5e02')},
'861550689':{'en': 'Yulin, Guangxi', 'zh': u('\u5e7f\u897f\u7389\u6797\u5e02')},
'861550690':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861550691':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861550692':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861550693':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861550694':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'861550695':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861550696':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861550697':{'en': 'Longyan, Fujian', 'zh': u('\u798f\u5efa\u7701\u9f99\u5ca9\u5e02')},
'861550698':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861550699':{'en': 'Putian, Fujian', 'zh': u('\u798f\u5efa\u7701\u8386\u7530\u5e02')},
'86155070':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861550700':{'en': 'Yichun, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5b9c\u6625\u5e02')},
'861550701':{'en': 'Yingtan, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u9e70\u6f6d\u5e02')},
'861550710':{'en': 'Ezhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u9102\u5dde\u5e02')},
'861550711':{'en': 'Ezhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u9102\u5dde\u5e02')},
'861550712':{'en': 'Ezhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u9102\u5dde\u5e02')},
'861550713':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861550714':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861550715':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861550716':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861550717':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861550718':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861550719':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861550720':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861550721':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861550722':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861550723':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'861550724':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861550725':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861550726':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861550727':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'861550728':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861550729':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861550730':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861550731':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861550732':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'861550733':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861550734':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861550735':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861550736':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861550737':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861550738':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861550739':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861550740':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861550741':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861550742':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861550743':{'en': 'Xiangxi, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u897f\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861550744':{'en': 'Zhangjiajie, Hunan', 'zh': u('\u6e56\u5357\u7701\u5f20\u5bb6\u754c\u5e02')},
'861550745':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861550746':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861550747':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861550748':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861550749':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'86155075':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'86155076':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861550770':{'en': 'Fangchenggang, Guangxi', 'zh': u('\u5e7f\u897f\u9632\u57ce\u6e2f\u5e02')},
'861550771':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861550772':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'861550773':{'en': 'Guilin, Guangxi', 'zh': u('\u5e7f\u897f\u6842\u6797\u5e02')},
'861550774':{'en': 'Wuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u68a7\u5dde\u5e02')},
'861550775':{'en': 'Yulin, Guangxi', 'zh': u('\u5e7f\u897f\u7389\u6797\u5e02')},
'861550776':{'en': 'Baise, Guangxi', 'zh': u('\u5e7f\u897f\u767e\u8272\u5e02')},
'861550777':{'en': 'Qinzhou, Guangxi', 'zh': u('\u5e7f\u897f\u94a6\u5dde\u5e02')},
'861550778':{'en': 'Hechi, Guangxi', 'zh': u('\u5e7f\u897f\u6cb3\u6c60\u5e02')},
'861550779':{'en': 'Beihai, Guangxi', 'zh': u('\u5e7f\u897f\u5317\u6d77\u5e02')},
'861550780':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861550781':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861550782':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'861550783':{'en': 'Guilin, Guangxi', 'zh': u('\u5e7f\u897f\u6842\u6797\u5e02')},
'861550784':{'en': 'Wuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u68a7\u5dde\u5e02')},
'861550785':{'en': 'Yulin, Guangxi', 'zh': u('\u5e7f\u897f\u7389\u6797\u5e02')},
'861550786':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861550787':{'en': 'Wuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u68a7\u5dde\u5e02')},
'861550788':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861550789':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861550790':{'en': 'Xinyu, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u65b0\u4f59\u5e02')},
'861550791':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861550792':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861550793':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861550794':{'en': 'Fuzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u629a\u5dde\u5e02')},
'861550795':{'en': 'Yichun, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5b9c\u6625\u5e02')},
'861550796':{'en': 'JiAn, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5409\u5b89\u5e02')},
'861550797':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861550798':{'en': 'Jingdezhen, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u666f\u5fb7\u9547\u5e02')},
'861550799':{'en': 'Pingxiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u840d\u4e61\u5e02')},
'86155080':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861550807':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'861550808':{'en': 'Guangyuan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5143\u5e02')},
'861550809':{'en': 'Guangyuan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5143\u5e02')},
'86155081':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861550816':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861550818':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861550819':{'en': 'Liangshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u51c9\u5c71\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861550820':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861550821':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861550822':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861550823':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861550824':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861550825':{'en': 'GuangAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5b89\u5e02')},
'861550826':{'en': 'GuangAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5b89\u5e02')},
'861550827':{'en': 'Bazhong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5df4\u4e2d\u5e02')},
'861550828':{'en': 'Bazhong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5df4\u4e2d\u5e02')},
'861550829':{'en': 'YaAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u96c5\u5b89\u5e02')},
'861550830':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'861550831':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861550832':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8d44\u9633\u5e02')},
'861550833':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861550834':{'en': 'Liangshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u51c9\u5c71\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861550835':{'en': 'YaAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u96c5\u5b89\u5e02')},
'861550836':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'861550837':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'861550838':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'861550839':{'en': 'Guangyuan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5143\u5e02')},
'86155084':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861550840':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861550841':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861550842':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'861550843':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'861550850':{'en': 'Guiyang, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u8d35\u9633\u5e02')},
'861550851':{'en': 'Guiyang, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u8d35\u9633\u5e02')},
'861550852':{'en': 'Zunyi, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9075\u4e49\u5e02')},
'861550853':{'en': 'Anshun, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u5b89\u987a\u5e02')},
'861550854':{'en': 'Qiannan, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9ed4\u5357\u5e03\u4f9d\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861550855':{'en': 'Qiandongnan, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9ed4\u4e1c\u5357\u82d7\u65cf\u4f97\u65cf\u81ea\u6cbb\u5dde')},
'861550856':{'en': 'Tongren, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u94dc\u4ec1\u5730\u533a')},
'861550857':{'en': 'Bijie, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u6bd5\u8282\u5730\u533a')},
'861550858':{'en': 'Liupanshui, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u516d\u76d8\u6c34\u5e02')},
'861550859':{'en': 'Qianxinan, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9ed4\u897f\u5357\u5e03\u4f9d\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'86155086':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861550870':{'en': 'Zhaotong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u662d\u901a\u5e02')},
'861550871':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861550872':{'en': 'Dali, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5927\u7406\u767d\u65cf\u81ea\u6cbb\u5dde')},
'861550873':{'en': 'Honghe, Yunnan', 'zh': u('\u4e91\u5357\u7701\u7ea2\u6cb3\u54c8\u5c3c\u65cf\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861550874':{'en': 'Qujing, Yunnan', 'zh': u('\u4e91\u5357\u7701\u66f2\u9756\u5e02')},
'861550875':{'en': 'Baoshan, Yunnan', 'zh': u('\u4e91\u5357\u7701\u4fdd\u5c71\u5e02')},
'861550876':{'en': 'Wenshan, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6587\u5c71\u58ee\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861550877':{'en': 'Yuxi, Yunnan', 'zh': u('\u4e91\u5357\u7701\u7389\u6eaa\u5e02')},
'861550878':{'en': 'Chuxiong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u695a\u96c4\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861550879':{'en': 'Puer, Yunnan', 'zh': u('\u4e91\u5357\u7701\u666e\u6d31\u5e02')},
'861550880':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861550881':{'en': 'Xishuangbanna, Yunnan', 'zh': u('\u4e91\u5357\u7701\u897f\u53cc\u7248\u7eb3\u50a3\u65cf\u81ea\u6cbb\u5dde')},
'861550882':{'en': 'Qujing, Yunnan', 'zh': u('\u4e91\u5357\u7701\u66f2\u9756\u5e02')},
'861550883':{'en': 'Lincang, Yunnan', 'zh': u('\u4e91\u5357\u7701\u4e34\u6ca7\u5e02')},
'861550884':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861550885':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861550886':{'en': 'Nujiang, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6012\u6c5f\u5088\u50f3\u65cf\u81ea\u6cbb\u5dde')},
'861550887':{'en': 'Deqen, Yunnan', 'zh': u('\u4e91\u5357\u7701\u8fea\u5e86\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861550888':{'en': 'Lijiang, Yunnan', 'zh': u('\u4e91\u5357\u7701\u4e3d\u6c5f\u5e02')},
'861550889':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'86155089':{'en': 'Haikou, Hainan', 'zh': u('\u6d77\u5357\u7701\u6d77\u53e3\u5e02')},
'861550900':{'en': 'Changji, Xinjiang', 'zh': u('\u65b0\u7586\u660c\u5409\u56de\u65cf\u81ea\u6cbb\u5dde')},
'861550901':{'en': 'Tacheng, Xinjiang', 'zh': u('\u65b0\u7586\u5854\u57ce\u5730\u533a')},
'861550902':{'en': 'Hami, Xinjiang', 'zh': u('\u65b0\u7586\u54c8\u5bc6\u5730\u533a')},
'861550903':{'en': 'Hotan, Xinjiang', 'zh': u('\u65b0\u7586\u548c\u7530\u5730\u533a')},
'861550904':{'en': 'Hotan, Xinjiang', 'zh': u('\u65b0\u7586\u548c\u7530\u5730\u533a')},
'861550905':{'en': 'Hotan, Xinjiang', 'zh': u('\u65b0\u7586\u548c\u7530\u5730\u533a')},
'861550906':{'en': 'Altay, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u52d2\u6cf0\u5730\u533a')},
'861550907':{'en': 'Aksu, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u514b\u82cf\u5730\u533a')},
'861550908':{'en': 'Kizilsu, Xinjiang', 'zh': u('\u65b0\u7586\u514b\u5b5c\u52d2\u82cf\u67ef\u5c14\u514b\u5b5c\u81ea\u6cbb\u5dde')},
'861550909':{'en': 'Bortala, Xinjiang', 'zh': u('\u65b0\u7586\u535a\u5c14\u5854\u62c9\u8499\u53e4\u81ea\u6cbb\u5dde')},
'861550910':{'en': 'Xianyang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861550911':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861550912':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861550913':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861550914':{'en': 'Shangluo, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861550915':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861550916':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861550917':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861550918':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861550919':{'en': 'Tongchuan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u94dc\u5ddd\u5e02')},
'861550920':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861550921':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861550922':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861550923':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861550924':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861550925':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861550926':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861550927':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861550928':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861550929':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861550930':{'en': 'Linxia, Gansu', 'zh': u('\u7518\u8083\u7701\u4e34\u590f\u56de\u65cf\u81ea\u6cbb\u5dde')},
'861550931':{'en': 'Lanzhou, Gansu', 'zh': u('\u7518\u8083\u7701\u5170\u5dde\u5e02')},
'861550932':{'en': 'Dingxi, Gansu', 'zh': u('\u7518\u8083\u7701\u5b9a\u897f\u5e02')},
'861550933':{'en': 'Pingliang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e73\u51c9\u5e02')},
'861550934':{'en': 'Qingyang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e86\u9633\u5e02')},
'861550935':{'en': 'Wuwei, Gansu', 'zh': u('\u7518\u8083\u7701\u6b66\u5a01\u5e02')},
'861550936':{'en': 'Zhangye, Gansu', 'zh': u('\u7518\u8083\u7701\u5f20\u6396\u5e02')},
'861550937':{'en': 'Jiuquan, Gansu', 'zh': u('\u7518\u8083\u7701\u9152\u6cc9\u5e02')},
'861550938':{'en': 'Tianshui, Gansu', 'zh': u('\u7518\u8083\u7701\u5929\u6c34\u5e02')},
'861550939':{'en': 'Longnan, Gansu', 'zh': u('\u7518\u8083\u7701\u9647\u5357\u5e02')},
'861550940':{'en': 'Zhangye, Gansu', 'zh': u('\u7518\u8083\u7701\u5f20\u6396\u5e02')},
'861550941':{'en': 'Gannan, Gansu', 'zh': u('\u7518\u8083\u7701\u7518\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861550942':{'en': 'Zhangye, Gansu', 'zh': u('\u7518\u8083\u7701\u5f20\u6396\u5e02')},
'861550943':{'en': 'Baiyin, Gansu', 'zh': u('\u7518\u8083\u7701\u767d\u94f6\u5e02')},
'861550944':{'en': 'Zhangye, Gansu', 'zh': u('\u7518\u8083\u7701\u5f20\u6396\u5e02')},
'861550945':{'en': 'Jinchang, Gansu', 'zh': u('\u7518\u8083\u7701\u91d1\u660c\u5e02')},
'861550946':{'en': 'Zhangye, Gansu', 'zh': u('\u7518\u8083\u7701\u5f20\u6396\u5e02')},
'861550947':{'en': 'Jiayuguan, Gansu', 'zh': u('\u7518\u8083\u7701\u5609\u5cea\u5173\u5e02')},
'861550948':{'en': 'Lanzhou, Gansu', 'zh': u('\u7518\u8083\u7701\u5170\u5dde\u5e02')},
'861550949':{'en': 'Lanzhou, Gansu', 'zh': u('\u7518\u8083\u7701\u5170\u5dde\u5e02')},
'861550950':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861550951':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861550952':{'en': 'Wuzhong, Ningxia', 'zh': u('\u5b81\u590f\u5434\u5fe0\u5e02')},
'861550953':{'en': 'Wuzhong, Ningxia', 'zh': u('\u5b81\u590f\u5434\u5fe0\u5e02')},
'861550954':{'en': 'Guyuan, Ningxia', 'zh': u('\u5b81\u590f\u56fa\u539f\u5e02')},
'861550955':{'en': 'Guyuan, Ningxia', 'zh': u('\u5b81\u590f\u56fa\u539f\u5e02')},
'861550956':{'en': 'Wuzhong, Ningxia', 'zh': u('\u5b81\u590f\u5434\u5fe0\u5e02')},
'861550957':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861550958':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861550959':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861550960':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861550961':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861550962':{'en': 'Shizuishan, Ningxia', 'zh': u('\u5b81\u590f\u77f3\u5634\u5c71\u5e02')},
'861550963':{'en': 'Wuzhong, Ningxia', 'zh': u('\u5b81\u590f\u5434\u5fe0\u5e02')},
'861550964':{'en': 'Guyuan, Ningxia', 'zh': u('\u5b81\u590f\u56fa\u539f\u5e02')},
'861550965':{'en': 'Zhongwei, Ningxia', 'zh': u('\u5b81\u590f\u4e2d\u536b\u5e02')},
'861550966':{'en': 'Wuzhong, Ningxia', 'zh': u('\u5b81\u590f\u5434\u5fe0\u5e02')},
'861550967':{'en': 'Wuzhong, Ningxia', 'zh': u('\u5b81\u590f\u5434\u5fe0\u5e02')},
'861550968':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861550969':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861550970':{'en': 'Haibei, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u5317\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861550971':{'en': 'Xining, Qinghai', 'zh': u('\u9752\u6d77\u7701\u897f\u5b81\u5e02')},
'861550972':{'en': 'Haidong, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u4e1c\u5730\u533a')},
'861550973':{'en': 'Huangnan, Qinghai', 'zh': u('\u9752\u6d77\u7701\u9ec4\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861550974':{'en': 'Hainan, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861550975':{'en': 'Golog, Qinghai', 'zh': u('\u9752\u6d77\u7701\u679c\u6d1b\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861550976':{'en': 'Yushu, Qinghai', 'zh': u('\u9752\u6d77\u7701\u7389\u6811\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861550977':{'en': 'Haixi, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u897f\u8499\u53e4\u65cf\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861550978':{'en': 'Xining, Qinghai', 'zh': u('\u9752\u6d77\u7701\u897f\u5b81\u5e02')},
'861550979':{'en': 'Haixi, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u897f\u8499\u53e4\u65cf\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861550980':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861550981':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861550982':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861550983':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861550984':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861550985':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861550986':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861550987':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861550988':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861550989':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861550990':{'en': 'Karamay, Xinjiang', 'zh': u('\u65b0\u7586\u514b\u62c9\u739b\u4f9d\u5e02')},
'861550991':{'en': 'Urumchi, Xinjiang', 'zh': u('\u65b0\u7586\u4e4c\u9c81\u6728\u9f50\u5e02')},
'861550992':{'en': 'Ili, Xinjiang', 'zh': u('\u65b0\u7586\u4f0a\u7281\u54c8\u8428\u514b\u81ea\u6cbb\u5dde')},
'861550993':{'en': 'Shihezi, Xinjiang', 'zh': u('\u65b0\u7586\u77f3\u6cb3\u5b50\u5e02')},
'861550994':{'en': 'Changji, Xinjiang', 'zh': u('\u65b0\u7586\u660c\u5409\u56de\u65cf\u81ea\u6cbb\u5dde')},
'861550995':{'en': 'Turpan, Xinjiang', 'zh': u('\u65b0\u7586\u5410\u9c81\u756a\u5730\u533a')},
'861550996':{'en': 'Bayingolin, Xinjiang', 'zh': u('\u65b0\u7586\u5df4\u97f3\u90ed\u695e\u8499\u53e4\u81ea\u6cbb\u5dde')},
'861550997':{'en': 'Aksu, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u514b\u82cf\u5730\u533a')},
'861550998':{'en': 'Kashi, Xinjiang', 'zh': u('\u65b0\u7586\u5580\u4ec0\u5730\u533a')},
'861550999':{'en': 'Ili, Xinjiang', 'zh': u('\u65b0\u7586\u4f0a\u7281\u54c8\u8428\u514b\u81ea\u6cbb\u5dde')},
'8615510':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86155108':{'en': 'Tianjin', 'zh': u('\u5929\u6d25\u5e02')},
'86155109':{'en': 'Tianjin', 'zh': u('\u5929\u6d25\u5e02')},
'86155110':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'86155111':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'86155112':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'86155113':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'86155114':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'86155115':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'86155116':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'86155117':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'86155118':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'86155119':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861551197':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861551198':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861551199':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861551200':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861551201':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861551202':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861551203':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861551204':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861551205':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861551206':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861551207':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861551208':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861551209':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'86155121':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'86155122':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861551229':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'86155123':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861551236':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861551237':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861551238':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861551239':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'86155124':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861551248':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861551249':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'86155125':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861551260':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861551261':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861551262':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861551263':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861551264':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861551265':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861551266':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861551267':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861551268':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861551269':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'86155127':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861551278':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861551279':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'86155128':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861551288':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861551289':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'86155129':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861551296':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861551297':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861551298':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861551299':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'86155130':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861551310':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861551311':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861551312':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861551313':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861551314':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861551315':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861551316':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861551317':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861551318':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861551319':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861551320':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861551321':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861551322':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861551323':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861551324':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861551325':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861551326':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861551327':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861551328':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861551329':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'86155133':{'en': 'Shuozhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u6714\u5dde\u5e02')},
'861551336':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861551337':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861551338':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861551339':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'86155134':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861551348':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861551349':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861551350':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861551351':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861551352':{'en': 'Datong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5927\u540c\u5e02')},
'861551353':{'en': 'Yangquan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u9633\u6cc9\u5e02')},
'861551354':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861551355':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861551356':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861551357':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861551358':{'en': u('L\u00fcliang, Shanxi'), 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861551359':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'86155136':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861551370':{'en': 'Yangquan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u9633\u6cc9\u5e02')},
'861551371':{'en': 'Yangquan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u9633\u6cc9\u5e02')},
'861551372':{'en': 'Yangquan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u9633\u6cc9\u5e02')},
'861551373':{'en': 'Yangquan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u9633\u6cc9\u5e02')},
'861551374':{'en': 'Yangquan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u9633\u6cc9\u5e02')},
'861551375':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861551376':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861551377':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861551378':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861551379':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'86155138':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861551390':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861551391':{'en': 'Shuozhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u6714\u5dde\u5e02')},
'861551392':{'en': 'Shuozhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u6714\u5dde\u5e02')},
'861551393':{'en': 'Shuozhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u6714\u5dde\u5e02')},
'861551394':{'en': 'Shuozhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u6714\u5dde\u5e02')},
'861551395':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861551396':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861551397':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861551398':{'en': u('L\u00fcliang, Shanxi'), 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861551399':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861551400':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861551401':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861551402':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861551403':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'861551404':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861551405':{'en': 'Hebi, Henan', 'zh': u('\u6cb3\u5357\u7701\u9e64\u58c1\u5e02')},
'861551406':{'en': 'Hebi, Henan', 'zh': u('\u6cb3\u5357\u7701\u9e64\u58c1\u5e02')},
'861551407':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'861551408':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'861551409':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'86155141':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'86155142':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861551420':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861551430':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'861551431':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861551432':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861551433':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861551434':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'861551435':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861551436':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861551437':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861551438':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861551439':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'86155144':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'861551447':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861551448':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861551449':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'86155145':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861551460':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'861551461':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'861551462':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'861551463':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'861551464':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861551465':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861551466':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861551467':{'en': 'Hebi, Henan', 'zh': u('\u6cb3\u5357\u7701\u9e64\u58c1\u5e02')},
'861551468':{'en': 'Hebi, Henan', 'zh': u('\u6cb3\u5357\u7701\u9e64\u58c1\u5e02')},
'861551469':{'en': 'Hebi, Henan', 'zh': u('\u6cb3\u5357\u7701\u9e64\u58c1\u5e02')},
'86155147':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'86155148':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'86155149':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'86155150':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'86155151':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'86155152':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'861551527':{'en': 'Luohe, Henan', 'zh': u('\u6cb3\u5357\u7701\u6f2f\u6cb3\u5e02')},
'861551528':{'en': 'Luohe, Henan', 'zh': u('\u6cb3\u5357\u7701\u6f2f\u6cb3\u5e02')},
'861551529':{'en': 'Luohe, Henan', 'zh': u('\u6cb3\u5357\u7701\u6f2f\u6cb3\u5e02')},
'86155153':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861551540':{'en': 'Luohe, Henan', 'zh': u('\u6cb3\u5357\u7701\u6f2f\u6cb3\u5e02')},
'861551541':{'en': 'Luohe, Henan', 'zh': u('\u6cb3\u5357\u7701\u6f2f\u6cb3\u5e02')},
'861551542':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'861551543':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'861551544':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'861551545':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'861551546':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'861551547':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'861551548':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'861551549':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'86155155':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'86155156':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'86155157':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'86155158':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'86155159':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'86155160':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861551610':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'861551611':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'861551612':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'861551613':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'861551614':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'861551615':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861551616':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861551617':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861551618':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861551619':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'86155162':{'en': 'Sanmenxia, Henan', 'zh': u('\u6cb3\u5357\u7701\u4e09\u95e8\u5ce1\u5e02')},
'861551630':{'en': 'Sanmenxia, Henan', 'zh': u('\u6cb3\u5357\u7701\u4e09\u95e8\u5ce1\u5e02')},
'861551631':{'en': 'Sanmenxia, Henan', 'zh': u('\u6cb3\u5357\u7701\u4e09\u95e8\u5ce1\u5e02')},
'861551632':{'en': 'Sanmenxia, Henan', 'zh': u('\u6cb3\u5357\u7701\u4e09\u95e8\u5ce1\u5e02')},
'861551633':{'en': 'Sanmenxia, Henan', 'zh': u('\u6cb3\u5357\u7701\u4e09\u95e8\u5ce1\u5e02')},
'861551634':{'en': 'Sanmenxia, Henan', 'zh': u('\u6cb3\u5357\u7701\u4e09\u95e8\u5ce1\u5e02')},
'861551635':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861551636':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861551637':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861551638':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861551639':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'86155164':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'86155165':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861551660':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861551661':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861551662':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861551663':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'861551664':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'861551665':{'en': 'Hebi, Henan', 'zh': u('\u6cb3\u5357\u7701\u9e64\u58c1\u5e02')},
'861551666':{'en': 'Hebi, Henan', 'zh': u('\u6cb3\u5357\u7701\u9e64\u58c1\u5e02')},
'861551667':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861551668':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861551669':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'86155167':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'86155168':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'86155169':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'86155170':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'86155171':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'86155172':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'86155173':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861551738':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'861551739':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'86155174':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'861551747':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'86155175':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861551760':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861551761':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861551762':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861551763':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861551764':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861551765':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861551766':{'en': 'Luohe, Henan', 'zh': u('\u6cb3\u5357\u7701\u6f2f\u6cb3\u5e02')},
'861551767':{'en': 'Luohe, Henan', 'zh': u('\u6cb3\u5357\u7701\u6f2f\u6cb3\u5e02')},
'861551768':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'861551769':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'86155177':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'861551770':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861551771':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861551772':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861551773':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861551780':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'861551781':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'861551782':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'861551783':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'861551784':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861551785':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861551786':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861551787':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861551788':{'en': 'Sanmenxia, Henan', 'zh': u('\u6cb3\u5357\u7701\u4e09\u95e8\u5ce1\u5e02')},
'861551789':{'en': 'Hebi, Henan', 'zh': u('\u6cb3\u5357\u7701\u9e64\u58c1\u5e02')},
'86155179':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'86155180':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'86155181':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'86155182':{'en': 'Luohe, Henan', 'zh': u('\u6cb3\u5357\u7701\u6f2f\u6cb3\u5e02')},
'861551829':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'86155183':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'86155184':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'86155185':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'861551850':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'861551858':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861551859':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'86155186':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'86155187':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861551877':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861551878':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861551879':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'86155188':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'86155189':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861551890':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861551891':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861551892':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'86155190':{'en': 'Guiyang, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u8d35\u9633\u5e02')},
'86155191':{'en': 'Guiyang, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u8d35\u9633\u5e02')},
'86155192':{'en': 'Zunyi, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9075\u4e49\u5e02')},
'86155193':{'en': 'Bijie, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u6bd5\u8282\u5730\u533a')},
'861551930':{'en': 'Anshun, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u5b89\u987a\u5e02')},
'861551938':{'en': 'Tongren, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u94dc\u4ec1\u5730\u533a')},
'861551939':{'en': 'Qianxinan, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9ed4\u897f\u5357\u5e03\u4f9d\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'86155194':{'en': 'Qiannan, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9ed4\u5357\u5e03\u4f9d\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861551944':{'en': 'Zunyi, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9075\u4e49\u5e02')},
'861551947':{'en': 'Liupanshui, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u516d\u76d8\u6c34\u5e02')},
'86155195':{'en': 'Guiyang, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u8d35\u9633\u5e02')},
'861551950':{'en': 'Liupanshui, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u516d\u76d8\u6c34\u5e02')},
'861551951':{'en': 'Liupanshui, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u516d\u76d8\u6c34\u5e02')},
'861551952':{'en': 'Liupanshui, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u516d\u76d8\u6c34\u5e02')},
'861551953':{'en': 'Liupanshui, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u516d\u76d8\u6c34\u5e02')},
'86155196':{'en': 'Zunyi, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9075\u4e49\u5e02')},
'861551967':{'en': 'Liupanshui, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u516d\u76d8\u6c34\u5e02')},
'861551968':{'en': 'Liupanshui, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u516d\u76d8\u6c34\u5e02')},
'861551969':{'en': 'Liupanshui, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u516d\u76d8\u6c34\u5e02')},
'86155197':{'en': 'Bijie, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u6bd5\u8282\u5730\u533a')},
'86155198':{'en': 'Liupanshui, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u516d\u76d8\u6c34\u5e02')},
'86155199':{'en': 'Qianxinan, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9ed4\u897f\u5357\u5e03\u4f9d\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'86155200':{'en': 'Chongqing', 'zh': u('\u91cd\u5e86\u5e02')},
'86155201':{'en': 'Chongqing', 'zh': u('\u91cd\u5e86\u5e02')},
'861552020':{'en': 'Bazhong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5df4\u4e2d\u5e02')},
'861552021':{'en': 'Bazhong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5df4\u4e2d\u5e02')},
'861552022':{'en': 'Bazhong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5df4\u4e2d\u5e02')},
'861552023':{'en': 'YaAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u96c5\u5b89\u5e02')},
'861552024':{'en': 'YaAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u96c5\u5b89\u5e02')},
'861552025':{'en': 'YaAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u96c5\u5b89\u5e02')},
'861552026':{'en': 'Neijiang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5185\u6c5f\u5e02')},
'861552027':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861552028':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861552029':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'86155203':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861552038':{'en': 'Liangshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u51c9\u5c71\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861552039':{'en': 'Meishan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7709\u5c71\u5e02')},
'86155204':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861552040':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861552041':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861552042':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861552043':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'86155205':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861552050':{'en': 'Garze, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7518\u5b5c\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861552051':{'en': 'Garze, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7518\u5b5c\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861552052':{'en': 'GuangAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5b89\u5e02')},
'861552060':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861552061':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861552062':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861552063':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861552064':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861552065':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8d44\u9633\u5e02')},
'861552066':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8d44\u9633\u5e02')},
'861552067':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8d44\u9633\u5e02')},
'861552068':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8d44\u9633\u5e02')},
'861552069':{'en': 'Suining, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u9042\u5b81\u5e02')},
'86155207':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861552080':{'en': 'Guangyuan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5143\u5e02')},
'861552081':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861552082':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861552083':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861552084':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861552085':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861552086':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861552087':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861552088':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861552089':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'86155209':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'86155210':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86155211':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86155212':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86155213':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86155214':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86155215':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861552150':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86155216':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861552160':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861552161':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'861552162':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'86155217':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861552170':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86155218':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861552180':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861552187':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861552188':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861552189':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861552190':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861552191':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861552192':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861552193':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861552194':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861552195':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861552196':{'en': 'Heyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6cb3\u6e90\u5e02')},
'861552197':{'en': 'Meizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6885\u5dde\u5e02')},
'861552198':{'en': 'Meizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6885\u5dde\u5e02')},
'861552199':{'en': 'Heyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6cb3\u6e90\u5e02')},
'8615522':{'en': 'Tianjin', 'zh': u('\u5929\u6d25\u5e02')},
'8615523':{'en': 'Chongqing', 'zh': u('\u91cd\u5e86\u5e02')},
'86155240':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'86155241':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'86155242':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'86155243':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'86155244':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861552450':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861552451':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861552452':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861552453':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861552454':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861552455':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861552456':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861552457':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861552458':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861552459':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'86155246':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'86155247':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'86155248':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'86155249':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'86155250':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861552510':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861552511':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861552512':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861552513':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861552514':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861552515':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861552516':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861552517':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861552518':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861552519':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'86155252':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'86155253':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'86155254':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861552550':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861552551':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861552552':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861552553':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861552554':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861552555':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861552556':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861552557':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861552558':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861552559':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'86155256':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861552560':{'en': 'Yangquan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u9633\u6cc9\u5e02')},
'861552561':{'en': 'Yangquan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u9633\u6cc9\u5e02')},
'861552570':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861552571':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861552572':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861552573':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861552574':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861552575':{'en': u('L\u00fcliang, Shanxi'), 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861552576':{'en': u('L\u00fcliang, Shanxi'), 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861552577':{'en': u('L\u00fcliang, Shanxi'), 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861552578':{'en': u('L\u00fcliang, Shanxi'), 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861552579':{'en': u('L\u00fcliang, Shanxi'), 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861552580':{'en': u('L\u00fcliang, Shanxi'), 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861552581':{'en': u('L\u00fcliang, Shanxi'), 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861552582':{'en': u('L\u00fcliang, Shanxi'), 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861552583':{'en': u('L\u00fcliang, Shanxi'), 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861552584':{'en': u('L\u00fcliang, Shanxi'), 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861552585':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861552586':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861552587':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861552588':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861552589':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'86155259':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861552598':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861552599':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'86155260':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'86155261':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'86155262':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'86155263':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'86155264':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'86155265':{'en': 'Jilin, Jilin', 'zh': u('\u5409\u6797\u7701\u5409\u6797\u5e02')},
'861552658':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'861552659':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'861552660':{'en': 'Tonghua, Jilin', 'zh': u('\u5409\u6797\u7701\u901a\u5316\u5e02')},
'861552661':{'en': 'Tonghua, Jilin', 'zh': u('\u5409\u6797\u7701\u901a\u5316\u5e02')},
'861552662':{'en': 'Tonghua, Jilin', 'zh': u('\u5409\u6797\u7701\u901a\u5316\u5e02')},
'861552663':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'861552664':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'861552665':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'861552666':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'861552667':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'861552668':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861552669':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'86155267':{'en': 'Yanbian, Jilin', 'zh': u('\u5409\u6797\u7701\u5ef6\u8fb9\u671d\u9c9c\u65cf\u81ea\u6cbb\u5dde')},
'86155268':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'861552690':{'en': 'Liaoyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u8fbd\u6e90\u5e02')},
'861552691':{'en': 'Liaoyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u8fbd\u6e90\u5e02')},
'861552692':{'en': 'Baishan, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u5c71\u5e02')},
'861552693':{'en': 'Baishan, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u5c71\u5e02')},
'861552694':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861552695':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861552696':{'en': 'Baishan, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u5c71\u5e02')},
'861552697':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861552698':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861552699':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'8615527':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'86155280':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'86155281':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'86155282':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'86155283':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'86155284':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'86155285':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861552860':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861552861':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861552862':{'en': 'YaAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u96c5\u5b89\u5e02')},
'861552863':{'en': 'YaAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u96c5\u5b89\u5e02')},
'861552864':{'en': 'YaAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u96c5\u5b89\u5e02')},
'861552865':{'en': 'YaAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u96c5\u5b89\u5e02')},
'861552866':{'en': 'Bazhong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5df4\u4e2d\u5e02')},
'861552867':{'en': 'Bazhong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5df4\u4e2d\u5e02')},
'861552868':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8d44\u9633\u5e02')},
'861552869':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8d44\u9633\u5e02')},
'861552870':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861552871':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861552872':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861552873':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861552874':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861552875':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861552876':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861552877':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861552878':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861552879':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'86155288':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861552886':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8d44\u9633\u5e02')},
'861552887':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861552888':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861552889':{'en': 'Garze, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7518\u5b5c\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861552890':{'en': 'YaAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u96c5\u5b89\u5e02')},
'861552891':{'en': 'YaAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u96c5\u5b89\u5e02')},
'861552892':{'en': 'Bazhong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5df4\u4e2d\u5e02')},
'861552893':{'en': 'Bazhong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5df4\u4e2d\u5e02')},
'861552894':{'en': 'Bazhong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5df4\u4e2d\u5e02')},
'861552895':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861552896':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861552897':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861552898':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861552899':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'8615529':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861552910':{'en': 'Xianyang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861552911':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861552912':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861552913':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861552914':{'en': 'Shangluo, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861552915':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861552916':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861552917':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861552918':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861552919':{'en': 'Tongchuan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u94dc\u5ddd\u5e02')},
'86155297':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'86155298':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'86155299':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'86155300':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'86155301':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'86155302':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'86155303':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861553035':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'86155304':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'86155305':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'86155306':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'86155307':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'86155308':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'86155309':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'86155310':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'86155311':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'86155312':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'86155313':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'86155314':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'86155315':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'86155316':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'86155317':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'86155318':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'86155319':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'86155320':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'86155321':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'86155322':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'86155323':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'86155324':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'86155325':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'86155326':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'86155327':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'86155328':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'86155329':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'86155330':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861553310':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861553311':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861553312':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861553313':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861553314':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861553315':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861553316':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861553317':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861553318':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861553319':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'86155332':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861553330':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861553331':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861553332':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861553333':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861553334':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861553335':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861553336':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861553337':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861553338':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861553339':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861553340':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861553341':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861553342':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861553343':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861553344':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861553345':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861553346':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861553347':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861553348':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861553349':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861553350':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861553351':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861553352':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861553353':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861553354':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861553355':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861553356':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861553357':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861553358':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861553359':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'86155336':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'86155337':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861553380':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861553381':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861553382':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861553383':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861553384':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861553385':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861553386':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861553387':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861553388':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861553389':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'86155339':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'86155340':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'86155341':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'86155342':{'en': 'Datong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5927\u540c\u5e02')},
'86155343':{'en': u('L\u00fcliang, Shanxi'), 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861553440':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861553441':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861553442':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861553443':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861553444':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861553445':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861553446':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861553447':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861553448':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861553449':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'86155345':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861553460':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861553461':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861553462':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861553463':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861553464':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861553465':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861553466':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861553467':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861553468':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861553469':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'86155347':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'86155348':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'86155349':{'en': 'Shuozhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u6714\u5dde\u5e02')},
'861553498':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861553499':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'86155350':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'86155351':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'86155352':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861553530':{'en': 'Yangquan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u9633\u6cc9\u5e02')},
'861553531':{'en': 'Yangquan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u9633\u6cc9\u5e02')},
'861553532':{'en': 'Yangquan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u9633\u6cc9\u5e02')},
'861553533':{'en': 'Yangquan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u9633\u6cc9\u5e02')},
'861553534':{'en': 'Yangquan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u9633\u6cc9\u5e02')},
'861553535':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861553536':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861553537':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861553538':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861553539':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'86155354':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'86155355':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'86155356':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'86155357':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'86155358':{'en': u('L\u00fcliang, Shanxi'), 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'86155359':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'86155360':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'86155361':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861553620':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861553621':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861553622':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861553623':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861553624':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861553625':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861553626':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861553627':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861553628':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861553629':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861553630':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861553631':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861553632':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861553633':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861553634':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861553635':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861553636':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861553637':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861553638':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861553639':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'86155364':{'en': u('L\u00fcliang, Shanxi'), 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'86155365':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'86155366':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'86155367':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'86155368':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'86155369':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'86155370':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'86155371':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'86155372':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'86155373':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'86155374':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'86155375':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'86155376':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'86155377':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'86155378':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'86155379':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'86155380':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'86155381':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'86155382':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'86155383':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'86155384':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'86155385':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'86155386':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'86155387':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861553870':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861553871':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'86155388':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'86155389':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'86155390':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'86155391':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'86155392':{'en': 'Hebi, Henan', 'zh': u('\u6cb3\u5357\u7701\u9e64\u58c1\u5e02')},
'86155393':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'86155394':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'86155395':{'en': 'Luohe, Henan', 'zh': u('\u6cb3\u5357\u7701\u6f2f\u6cb3\u5e02')},
'86155396':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861553970':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861553971':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861553972':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861553973':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861553974':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861553975':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'861553976':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'861553977':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861553978':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861553979':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'86155398':{'en': 'Sanmenxia, Henan', 'zh': u('\u6cb3\u5357\u7701\u4e09\u95e8\u5ce1\u5e02')},
'86155399':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861554000':{'en': 'Hinggan, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5174\u5b89\u76df')},
'861554001':{'en': 'Hinggan, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5174\u5b89\u76df')},
'861554002':{'en': 'Hinggan, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5174\u5b89\u76df')},
'861554003':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'861554004':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'861554005':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'861554006':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861554007':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861554008':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861554009':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'86155401':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'86155402':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'86155403':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861554040':{'en': 'Ulanqab, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u5170\u5bdf\u5e03\u5e02')},
'861554041':{'en': 'Ulanqab, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u5170\u5bdf\u5e03\u5e02')},
'861554042':{'en': 'Ulanqab, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u5170\u5bdf\u5e03\u5e02')},
'861554043':{'en': 'Ulanqab, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u5170\u5bdf\u5e03\u5e02')},
'861554044':{'en': 'Ulanqab, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u5170\u5bdf\u5e03\u5e02')},
'861554045':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861554046':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861554047':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861554048':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861554049':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'86155405':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'861554057':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861554058':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861554059':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'86155406':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'86155407':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861554077':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861554078':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861554079':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861554080':{'en': 'Bayannur, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861554081':{'en': 'Bayannur, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861554082':{'en': 'Hinggan, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5174\u5b89\u76df')},
'861554083':{'en': 'Hinggan, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5174\u5b89\u76df')},
'861554084':{'en': 'Wuhai, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u6d77\u5e02')},
'861554085':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861554086':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861554087':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861554088':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861554089':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'86155409':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861554090':{'en': 'Bayannur, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861554091':{'en': 'Bayannur, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861554092':{'en': 'Hinggan, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5174\u5b89\u76df')},
'861554100':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861554101':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861554102':{'en': 'Yingkou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8425\u53e3\u5e02')},
'861554103':{'en': 'Yingkou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8425\u53e3\u5e02')},
'861554104':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861554105':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861554106':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861554107':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861554108':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861554109':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'86155411':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'86155412':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'86155413':{'en': 'Fushun, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u629a\u987a\u5e02')},
'861554133':{'en': 'Panjin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u76d8\u9526\u5e02')},
'861554134':{'en': 'Panjin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u76d8\u9526\u5e02')},
'861554135':{'en': 'Panjin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u76d8\u9526\u5e02')},
'861554140':{'en': 'Benxi, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u672c\u6eaa\u5e02')},
'861554141':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861554142':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861554143':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861554144':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861554145':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861554146':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861554147':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861554148':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861554149':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'86155415':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861554160':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861554161':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861554162':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861554163':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861554164':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861554165':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861554166':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861554167':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861554168':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861554169':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'86155417':{'en': 'Yingkou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8425\u53e3\u5e02')},
'86155418':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861554180':{'en': 'Fuxin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u961c\u65b0\u5e02')},
'861554181':{'en': 'Fuxin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u961c\u65b0\u5e02')},
'861554182':{'en': 'Fuxin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u961c\u65b0\u5e02')},
'86155419':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861554200':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861554201':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861554202':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861554203':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861554204':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861554205':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861554206':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861554207':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861554208':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861554209':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861554210':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861554211':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861554212':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861554213':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861554214':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861554215':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861554216':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861554217':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861554218':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861554219':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'86155422':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'86155423':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'86155424':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'86155425':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'86155426':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861554270':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861554271':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861554272':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861554273':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861554274':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861554275':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861554276':{'en': 'Panjin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u76d8\u9526\u5e02')},
'861554277':{'en': 'Fushun, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u629a\u987a\u5e02')},
'861554278':{'en': 'Panjin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u76d8\u9526\u5e02')},
'861554279':{'en': 'Panjin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u76d8\u9526\u5e02')},
'861554280':{'en': 'Dandong, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u4e39\u4e1c\u5e02')},
'861554281':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861554282':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861554283':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861554284':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861554285':{'en': 'Yingkou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8425\u53e3\u5e02')},
'861554286':{'en': 'Yingkou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8425\u53e3\u5e02')},
'861554287':{'en': 'Yingkou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8425\u53e3\u5e02')},
'861554288':{'en': 'Fuxin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u961c\u65b0\u5e02')},
'861554289':{'en': 'Fuxin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u961c\u65b0\u5e02')},
'861554290':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861554291':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861554292':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861554293':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861554294':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861554295':{'en': 'Liaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8fbd\u9633\u5e02')},
'861554296':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861554297':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861554298':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861554299':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861554300':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'861554301':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'861554302':{'en': 'Jilin, Jilin', 'zh': u('\u5409\u6797\u7701\u5409\u6797\u5e02')},
'861554303':{'en': 'Jilin, Jilin', 'zh': u('\u5409\u6797\u7701\u5409\u6797\u5e02')},
'861554304':{'en': 'Jilin, Jilin', 'zh': u('\u5409\u6797\u7701\u5409\u6797\u5e02')},
'861554305':{'en': 'Jilin, Jilin', 'zh': u('\u5409\u6797\u7701\u5409\u6797\u5e02')},
'861554306':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861554307':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861554308':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861554309':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'86155431':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'86155432':{'en': 'Jilin, Jilin', 'zh': u('\u5409\u6797\u7701\u5409\u6797\u5e02')},
'861554326':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861554327':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'861554328':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'861554329':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'86155433':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861554340':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'861554341':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'861554342':{'en': 'Jilin, Jilin', 'zh': u('\u5409\u6797\u7701\u5409\u6797\u5e02')},
'861554343':{'en': 'Jilin, Jilin', 'zh': u('\u5409\u6797\u7701\u5409\u6797\u5e02')},
'861554344':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'861554345':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'861554346':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861554347':{'en': 'Liaoyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u8fbd\u6e90\u5e02')},
'861554348':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861554349':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'86155435':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'86155436':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'86155437':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'86155438':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'86155439':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861554400':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861554401':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861554402':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861554403':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861554404':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861554405':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861554406':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861554407':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861554408':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861554409':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'86155441':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861554420':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861554421':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861554422':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861554423':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861554424':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861554425':{'en': 'Sanmenxia, Henan', 'zh': u('\u6cb3\u5357\u7701\u4e09\u95e8\u5ce1\u5e02')},
'861554426':{'en': 'Sanmenxia, Henan', 'zh': u('\u6cb3\u5357\u7701\u4e09\u95e8\u5ce1\u5e02')},
'861554427':{'en': 'Sanmenxia, Henan', 'zh': u('\u6cb3\u5357\u7701\u4e09\u95e8\u5ce1\u5e02')},
'861554428':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861554429':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'86155443':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861554436':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861554437':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861554438':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861554439':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'86155444':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861554442':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861554443':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'86155445':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'86155446':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'86155447':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'86155448':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'86155449':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861554500':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861554501':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861554502':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861554503':{'en': 'Mudanjiang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7261\u4e39\u6c5f\u5e02')},
'861554504':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861554505':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861554506':{'en': 'Heihe, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9ed1\u6cb3\u5e02')},
'861554507':{'en': 'Da Hinggan Ling, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5174\u5b89\u5cad\u5730\u533a')},
'861554508':{'en': 'Yichun, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f0a\u6625\u5e02')},
'861554509':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'86155451':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861554520':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861554521':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861554522':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861554523':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861554524':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861554525':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861554526':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861554527':{'en': 'Jixi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e21\u897f\u5e02')},
'861554528':{'en': 'Jixi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e21\u897f\u5e02')},
'861554529':{'en': 'Jixi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e21\u897f\u5e02')},
'861554530':{'en': 'Mudanjiang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7261\u4e39\u6c5f\u5e02')},
'861554531':{'en': 'Mudanjiang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7261\u4e39\u6c5f\u5e02')},
'861554532':{'en': 'Mudanjiang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7261\u4e39\u6c5f\u5e02')},
'861554533':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861554534':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861554535':{'en': 'Shuangyashan, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u53cc\u9e2d\u5c71\u5e02')},
'861554536':{'en': 'Qitaihe, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4e03\u53f0\u6cb3\u5e02')},
'861554537':{'en': 'Hegang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e64\u5c97\u5e02')},
'861554538':{'en': 'Hegang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e64\u5c97\u5e02')},
'861554539':{'en': 'Shuangyashan, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u53cc\u9e2d\u5c71\u5e02')},
'86155454':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861554540':{'en': 'Jiamusi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f73\u6728\u65af\u5e02')},
'861554541':{'en': 'Jiamusi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f73\u6728\u65af\u5e02')},
'861554542':{'en': 'Jiamusi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f73\u6728\u65af\u5e02')},
'861554550':{'en': 'Suihua, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7ee5\u5316\u5e02')},
'861554551':{'en': 'Suihua, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7ee5\u5316\u5e02')},
'861554552':{'en': 'Suihua, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7ee5\u5316\u5e02')},
'861554553':{'en': 'Suihua, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7ee5\u5316\u5e02')},
'861554554':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861554555':{'en': 'Suihua, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7ee5\u5316\u5e02')},
'861554556':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861554557':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861554558':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861554559':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'86155456':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861554570':{'en': 'Jixi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e21\u897f\u5e02')},
'861554571':{'en': 'Jixi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e21\u897f\u5e02')},
'861554572':{'en': 'Jixi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e21\u897f\u5e02')},
'861554573':{'en': 'Jixi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e21\u897f\u5e02')},
'861554574':{'en': 'Jixi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e21\u897f\u5e02')},
'861554575':{'en': 'Jiamusi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f73\u6728\u65af\u5e02')},
'861554576':{'en': 'Jiamusi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f73\u6728\u65af\u5e02')},
'861554577':{'en': 'Shuangyashan, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u53cc\u9e2d\u5c71\u5e02')},
'861554578':{'en': 'Shuangyashan, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u53cc\u9e2d\u5c71\u5e02')},
'861554579':{'en': 'Shuangyashan, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u53cc\u9e2d\u5c71\u5e02')},
'86155458':{'en': 'Hegang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e64\u5c97\u5e02')},
'861554590':{'en': 'Hegang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e64\u5c97\u5e02')},
'861554591':{'en': 'Hegang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e64\u5c97\u5e02')},
'861554592':{'en': 'Hegang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e64\u5c97\u5e02')},
'861554593':{'en': 'Hegang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e64\u5c97\u5e02')},
'861554594':{'en': 'Hegang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e64\u5c97\u5e02')},
'861554595':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861554596':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861554597':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861554598':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861554599':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'86155460':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'86155461':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'86155462':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861554620':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861554621':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861554622':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'86155463':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'86155464':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861554650':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861554651':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861554652':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861554653':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861554654':{'en': 'Suihua, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7ee5\u5316\u5e02')},
'861554655':{'en': 'Suihua, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7ee5\u5316\u5e02')},
'861554656':{'en': 'Suihua, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7ee5\u5316\u5e02')},
'861554657':{'en': 'Suihua, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7ee5\u5316\u5e02')},
'861554658':{'en': 'Hegang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e64\u5c97\u5e02')},
'861554659':{'en': 'Hegang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e64\u5c97\u5e02')},
'86155466':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'86155467':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861554678':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'861554679':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'86155468':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'86155469':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861554694':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'861554697':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'861554699':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'86155470':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'86155471':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'86155472':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861554730':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861554731':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861554732':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861554733':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861554734':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861554735':{'en': 'Wuhai, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u6d77\u5e02')},
'861554736':{'en': 'Wuhai, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u6d77\u5e02')},
'861554737':{'en': 'Wuhai, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u6d77\u5e02')},
'861554738':{'en': 'Wuhai, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u6d77\u5e02')},
'861554739':{'en': 'Wuhai, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u6d77\u5e02')},
'86155474':{'en': 'Ulanqab, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u5170\u5bdf\u5e03\u5e02')},
'86155475':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'86155476':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'86155477':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'86155478':{'en': 'Bayannur, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'86155479':{'en': 'Xilin, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9521\u6797\u90ed\u52d2\u76df')},
'861554790':{'en': 'Bayannur, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'86155480':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861554806':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'861554807':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'861554808':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'861554809':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'861554810':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861554811':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861554812':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861554813':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861554814':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861554815':{'en': 'Ulanqab, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u5170\u5bdf\u5e03\u5e02')},
'861554816':{'en': 'Ulanqab, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u5170\u5bdf\u5e03\u5e02')},
'861554817':{'en': 'Ulanqab, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u5170\u5bdf\u5e03\u5e02')},
'861554818':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861554819':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861554820':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861554821':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861554822':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861554823':{'en': 'Hinggan, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5174\u5b89\u76df')},
'861554824':{'en': 'Hinggan, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5174\u5b89\u76df')},
'861554825':{'en': 'Wuhai, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u6d77\u5e02')},
'861554826':{'en': 'Wuhai, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u6d77\u5e02')},
'861554827':{'en': 'Bayannur, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861554828':{'en': 'Bayannur, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861554829':{'en': 'Bayannur, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861554830':{'en': 'Bayannur, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861554831':{'en': 'Alxa, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u963f\u62c9\u5584\u76df')},
'861554832':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861554833':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861554834':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861554835':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861554836':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861554837':{'en': 'Xilin, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9521\u6797\u90ed\u52d2\u76df')},
'861554838':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861554839':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'86155484':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'86155485':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'86155486':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'86155487':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'86155488':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861554888':{'en': 'Hinggan, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5174\u5b89\u76df')},
'861554889':{'en': 'Hinggan, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5174\u5b89\u76df')},
'86155489':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'86155490':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861554900':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861554901':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861554902':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861554903':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'86155491':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'86155492':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861554927':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861554928':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861554929':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'86155493':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'86155494':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'86155495':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'86155496':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861554960':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861554961':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861554962':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861554963':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861554970':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'861554971':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'861554972':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'861554973':{'en': 'Suizhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u968f\u5dde\u5e02')},
'861554974':{'en': 'Suizhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u968f\u5dde\u5e02')},
'861554975':{'en': 'Suizhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u968f\u5dde\u5e02')},
'861554976':{'en': 'Suizhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u968f\u5dde\u5e02')},
'861554977':{'en': 'Suizhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u968f\u5dde\u5e02')},
'861554978':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861554979':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'86155498':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'861554980':{'en': 'Ezhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u9102\u5dde\u5e02')},
'861554981':{'en': 'Ezhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u9102\u5dde\u5e02')},
'861554982':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861554983':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'86155499':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861554990':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861554991':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861554992':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'86155500':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861555008':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861555009':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'86155501':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'86155502':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861555030':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861555031':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861555032':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861555033':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861555034':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861555035':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861555036':{'en': 'Laiwu, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83b1\u829c\u5e02')},
'861555037':{'en': 'Laiwu, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83b1\u829c\u5e02')},
'861555038':{'en': 'Laiwu, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83b1\u829c\u5e02')},
'861555039':{'en': 'Laiwu, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83b1\u829c\u5e02')},
'86155504':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861555049':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'86155505':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861555057':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861555058':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861555059':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'86155506':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861555060':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861555061':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861555062':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'86155507':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861555070':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861555071':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861555072':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861555079':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'86155508':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'86155509':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861555100':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'861555101':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'861555102':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'861555103':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'861555104':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'861555105':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861555106':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861555107':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861555108':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861555109':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'86155511':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861555118':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861555119':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'86155512':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861555128':{'en': 'Huainan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5357\u5e02')},
'861555129':{'en': 'Huainan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5357\u5e02')},
'86155513':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'86155514':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861555148':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861555149':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'86155515':{'en': 'Bozhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u4eb3\u5dde\u5e02')},
'86155516':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861555170':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861555171':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861555172':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861555173':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861555174':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861555175':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861555176':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861555177':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861555178':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861555179':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'86155518':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'861555187':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861555188':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861555189':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'86155519':{'en': 'Bozhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u4eb3\u5dde\u5e02')},
'861555190':{'en': 'Bengbu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u868c\u57e0\u5e02')},
'861555191':{'en': 'Bengbu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u868c\u57e0\u5e02')},
'861555192':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'86155520':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'86155521':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'86155522':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'86155523':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861555240':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861555241':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861555242':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861555243':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861555244':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861555245':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861555246':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861555247':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861555248':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861555249':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'86155525':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861555260':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861555261':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861555262':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861555263':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861555264':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861555265':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861555266':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861555267':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861555268':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861555269':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'86155527':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861555270':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861555271':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861555280':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861555281':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861555282':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861555283':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861555284':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861555285':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861555286':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861555287':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861555288':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861555289':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'86155529':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'86155530':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'86155531':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861555320':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861555321':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861555322':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861555323':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861555324':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861555325':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861555326':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861555327':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861555328':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861555329':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861555330':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861555331':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861555332':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861555333':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861555334':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861555335':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861555336':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861555337':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861555338':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861555339':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861555340':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861555341':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861555342':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861555343':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861555344':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861555345':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861555346':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861555347':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861555348':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861555349':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'86155535':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'86155536':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861555367':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861555368':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861555369':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'86155537':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861555378':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861555379':{'en': 'Laiwu, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83b1\u829c\u5e02')},
'861555380':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861555381':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861555382':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861555383':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861555384':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861555385':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861555386':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861555387':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861555388':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861555389':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'86155539':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'86155540':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'86155541':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'86155542':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861555427':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861555428':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861555429':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'86155543':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'86155544':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861555447':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861555448':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861555449':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'86155545':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'86155546':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'86155547':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'86155548':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'86155549':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'86155550':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'86155551':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861555520':{'en': 'Xuancheng, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5ba3\u57ce\u5e02')},
'861555521':{'en': 'Xuancheng, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5ba3\u57ce\u5e02')},
'861555522':{'en': 'Xuancheng, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5ba3\u57ce\u5e02')},
'861555523':{'en': 'Xuancheng, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5ba3\u57ce\u5e02')},
'861555524':{'en': 'Xuancheng, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5ba3\u57ce\u5e02')},
'861555525':{'en': 'Bozhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u4eb3\u5dde\u5e02')},
'861555526':{'en': 'Bozhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u4eb3\u5dde\u5e02')},
'861555527':{'en': 'Bozhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u4eb3\u5dde\u5e02')},
'861555528':{'en': 'Bozhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u4eb3\u5dde\u5e02')},
'861555529':{'en': 'Bozhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u4eb3\u5dde\u5e02')},
'86155553':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'86155554':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'86155555':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'86155556':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'86155557':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'86155558':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861555590':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861555591':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861555592':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861555593':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861555594':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861555595':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861555596':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861555597':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861555598':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861555599':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'86155560':{'en': 'LuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861555610':{'en': 'Huaibei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5317\u5e02')},
'861555611':{'en': 'Huaibei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5317\u5e02')},
'861555612':{'en': 'Huaibei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5317\u5e02')},
'861555613':{'en': 'Huaibei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5317\u5e02')},
'861555614':{'en': 'Bozhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u4eb3\u5dde\u5e02')},
'861555615':{'en': 'Bozhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u4eb3\u5dde\u5e02')},
'861555616':{'en': 'Bozhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u4eb3\u5dde\u5e02')},
'861555617':{'en': 'Bozhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u4eb3\u5dde\u5e02')},
'861555618':{'en': 'Bengbu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u868c\u57e0\u5e02')},
'861555619':{'en': 'Bengbu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u868c\u57e0\u5e02')},
'86155562':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861555630':{'en': 'Xuancheng, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5ba3\u57ce\u5e02')},
'861555631':{'en': 'Xuancheng, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5ba3\u57ce\u5e02')},
'861555632':{'en': 'Xuancheng, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5ba3\u57ce\u5e02')},
'861555633':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'861555634':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861555635':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861555636':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861555637':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861555638':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861555639':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861555640':{'en': 'LuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861555641':{'en': 'LuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861555642':{'en': 'LuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861555643':{'en': 'LuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861555644':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'861555645':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861555646':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861555647':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861555648':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861555649':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'86155565':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861555650':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861555651':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861555652':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861555653':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861555660':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861555661':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861555662':{'en': 'Huangshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9ec4\u5c71\u5e02')},
'861555663':{'en': 'Huangshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9ec4\u5c71\u5e02')},
'861555664':{'en': 'Huaibei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5317\u5e02')},
'861555665':{'en': 'Huaibei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5317\u5e02')},
'861555666':{'en': 'LuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861555667':{'en': 'LuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861555668':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861555669':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'86155567':{'en': 'Bozhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u4eb3\u5dde\u5e02')},
'861555678':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861555679':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'86155568':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'86155569':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'86155570':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'86155571':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'86155572':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'86155573':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'86155574':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861555750':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861555751':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861555752':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861555753':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861555754':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861555755':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861555756':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861555757':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861555758':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861555759':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'86155576':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'86155577':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861555780':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861555781':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861555782':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861555783':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861555784':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861555785':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861555786':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861555787':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861555788':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861555789':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'86155579':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'86155580':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'86155581':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'86155582':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'86155583':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861555840':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861555841':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861555842':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861555843':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861555844':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861555845':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861555846':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861555847':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861555848':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861555849':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'86155585':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'86155586':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861555867':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861555868':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861555869':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'86155587':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'86155588':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'86155589':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'86155590':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'86155591':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'86155592':{'en': 'Ili, Xinjiang', 'zh': u('\u65b0\u7586\u4f0a\u7281\u54c8\u8428\u514b\u81ea\u6cbb\u5dde')},
'861555930':{'en': 'Changji, Xinjiang', 'zh': u('\u65b0\u7586\u660c\u5409\u56de\u65cf\u81ea\u6cbb\u5dde')},
'861555931':{'en': 'Changji, Xinjiang', 'zh': u('\u65b0\u7586\u660c\u5409\u56de\u65cf\u81ea\u6cbb\u5dde')},
'861555932':{'en': 'Changji, Xinjiang', 'zh': u('\u65b0\u7586\u660c\u5409\u56de\u65cf\u81ea\u6cbb\u5dde')},
'861555933':{'en': 'Changji, Xinjiang', 'zh': u('\u65b0\u7586\u660c\u5409\u56de\u65cf\u81ea\u6cbb\u5dde')},
'861555934':{'en': 'Ili, Xinjiang', 'zh': u('\u65b0\u7586\u4f0a\u7281\u54c8\u8428\u514b\u81ea\u6cbb\u5dde')},
'861555935':{'en': 'Ili, Xinjiang', 'zh': u('\u65b0\u7586\u4f0a\u7281\u54c8\u8428\u514b\u81ea\u6cbb\u5dde')},
'861555936':{'en': 'Shihezi, Xinjiang', 'zh': u('\u65b0\u7586\u77f3\u6cb3\u5b50\u5e02')},
'861555937':{'en': 'Bayingolin, Xinjiang', 'zh': u('\u65b0\u7586\u5df4\u97f3\u90ed\u695e\u8499\u53e4\u81ea\u6cbb\u5dde')},
'861555938':{'en': 'Changji, Xinjiang', 'zh': u('\u65b0\u7586\u660c\u5409\u56de\u65cf\u81ea\u6cbb\u5dde')},
'861555939':{'en': 'Bayingolin, Xinjiang', 'zh': u('\u65b0\u7586\u5df4\u97f3\u90ed\u695e\u8499\u53e4\u81ea\u6cbb\u5dde')},
'861555940':{'en': 'Hotan, Xinjiang', 'zh': u('\u65b0\u7586\u548c\u7530\u5730\u533a')},
'861555941':{'en': 'Hotan, Xinjiang', 'zh': u('\u65b0\u7586\u548c\u7530\u5730\u533a')},
'861555942':{'en': 'Hotan, Xinjiang', 'zh': u('\u65b0\u7586\u548c\u7530\u5730\u533a')},
'861555943':{'en': 'Hotan, Xinjiang', 'zh': u('\u65b0\u7586\u548c\u7530\u5730\u533a')},
'861555944':{'en': 'Hotan, Xinjiang', 'zh': u('\u65b0\u7586\u548c\u7530\u5730\u533a')},
'861555945':{'en': 'Aksu, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u514b\u82cf\u5730\u533a')},
'861555946':{'en': 'Aksu, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u514b\u82cf\u5730\u533a')},
'861555947':{'en': 'Aksu, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u514b\u82cf\u5730\u533a')},
'861555948':{'en': 'Aksu, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u514b\u82cf\u5730\u533a')},
'861555949':{'en': 'Aksu, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u514b\u82cf\u5730\u533a')},
'86155595':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'86155596':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'86155597':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'86155598':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861555990':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861555991':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861555992':{'en': 'Baoshan, Yunnan', 'zh': u('\u4e91\u5357\u7701\u4fdd\u5c71\u5e02')},
'861555993':{'en': 'Baoshan, Yunnan', 'zh': u('\u4e91\u5357\u7701\u4fdd\u5c71\u5e02')},
'861555994':{'en': 'Baoshan, Yunnan', 'zh': u('\u4e91\u5357\u7701\u4fdd\u5c71\u5e02')},
'861555995':{'en': 'Qujing, Yunnan', 'zh': u('\u4e91\u5357\u7701\u66f2\u9756\u5e02')},
'861555996':{'en': 'Qujing, Yunnan', 'zh': u('\u4e91\u5357\u7701\u66f2\u9756\u5e02')},
'861555997':{'en': 'Qujing, Yunnan', 'zh': u('\u4e91\u5357\u7701\u66f2\u9756\u5e02')},
'861555998':{'en': 'Qujing, Yunnan', 'zh': u('\u4e91\u5357\u7701\u66f2\u9756\u5e02')},
'861555999':{'en': 'Qujing, Yunnan', 'zh': u('\u4e91\u5357\u7701\u66f2\u9756\u5e02')},
'86155600':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'86155601':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'86155602':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861556030':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861556031':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861556032':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861556033':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861556034':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861556035':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861556036':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861556037':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861556038':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861556039':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'86155604':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861556049':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'86155605':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'861556051':{'en': 'Bayannur, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861556052':{'en': 'Bayannur, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'86155606':{'en': 'Ulanqab, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u5170\u5bdf\u5e03\u5e02')},
'861556067':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861556068':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861556069':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861556070':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861556071':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861556072':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861556073':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861556074':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861556075':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'861556076':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861556077':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861556078':{'en': 'Bayannur, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861556079':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861556080':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861556081':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861556082':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861556083':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861556084':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861556085':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'861556086':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861556087':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861556088':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'861556089':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'86155609':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861556100':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861556101':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861556102':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861556103':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861556104':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'861556105':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'861556106':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'861556107':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861556108':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861556109':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861556110':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861556111':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861556112':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861556113':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861556114':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861556115':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861556116':{'en': 'Wuhai, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u6d77\u5e02')},
'861556117':{'en': 'Wuhai, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u6d77\u5e02')},
'861556118':{'en': 'Alxa, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u963f\u62c9\u5584\u76df')},
'861556119':{'en': 'Hinggan, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5174\u5b89\u76df')},
'861556120':{'en': 'Hinggan, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5174\u5b89\u76df')},
'861556121':{'en': 'Hinggan, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5174\u5b89\u76df')},
'861556122':{'en': 'Hinggan, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5174\u5b89\u76df')},
'861556123':{'en': 'Hinggan, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5174\u5b89\u76df')},
'861556124':{'en': 'Hinggan, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5174\u5b89\u76df')},
'861556125':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861556126':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861556127':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861556128':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861556129':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'86155613':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861556130':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861556131':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861556132':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861556133':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'86155614':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'86155615':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861556150':{'en': 'Qitaihe, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4e03\u53f0\u6cb3\u5e02')},
'861556151':{'en': 'Qitaihe, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4e03\u53f0\u6cb3\u5e02')},
'861556152':{'en': 'Qitaihe, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4e03\u53f0\u6cb3\u5e02')},
'861556153':{'en': 'Qitaihe, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4e03\u53f0\u6cb3\u5e02')},
'86155616':{'en': 'Heihe, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9ed1\u6cb3\u5e02')},
'86155617':{'en': 'Jixi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e21\u897f\u5e02')},
'861556170':{'en': 'Shuangyashan, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u53cc\u9e2d\u5c71\u5e02')},
'861556171':{'en': 'Shuangyashan, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u53cc\u9e2d\u5c71\u5e02')},
'861556172':{'en': 'Shuangyashan, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u53cc\u9e2d\u5c71\u5e02')},
'86155618':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861556190':{'en': 'Shuangyashan, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u53cc\u9e2d\u5c71\u5e02')},
'861556191':{'en': 'Yichun, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f0a\u6625\u5e02')},
'861556192':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861556193':{'en': 'Mudanjiang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7261\u4e39\u6c5f\u5e02')},
'861556194':{'en': 'Mudanjiang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7261\u4e39\u6c5f\u5e02')},
'861556195':{'en': 'Mudanjiang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7261\u4e39\u6c5f\u5e02')},
'861556196':{'en': 'Mudanjiang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7261\u4e39\u6c5f\u5e02')},
'861556197':{'en': 'Mudanjiang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7261\u4e39\u6c5f\u5e02')},
'861556198':{'en': 'Qitaihe, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4e03\u53f0\u6cb3\u5e02')},
'861556199':{'en': 'Jixi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e21\u897f\u5e02')},
'86155620':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'86155621':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861556217':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861556218':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861556219':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'86155622':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861556227':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861556228':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861556229':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'86155623':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'86155624':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'86155625':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'86155626':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'86155627':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'86155628':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861556280':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861556281':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'86155629':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'86155630':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'86155631':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861556310':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'86155632':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861556320':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861556330':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861556331':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861556332':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861556333':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861556334':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861556335':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861556336':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861556337':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861556338':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861556339':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861556340':{'en': 'Laiwu, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83b1\u829c\u5e02')},
'861556341':{'en': 'Laiwu, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83b1\u829c\u5e02')},
'861556342':{'en': 'Laiwu, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83b1\u829c\u5e02')},
'861556343':{'en': 'Laiwu, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83b1\u829c\u5e02')},
'861556344':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861556345':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861556346':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861556347':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861556348':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861556349':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'86155635':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'86155636':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861556360':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861556361':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'86155637':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'86155638':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'86155639':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861556400':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861556401':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861556402':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861556403':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861556404':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861556405':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861556406':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861556407':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861556408':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861556409':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'86155641':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861556418':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861556419':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'86155642':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'86155643':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861556437':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861556438':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861556439':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861556440':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861556441':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861556442':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861556443':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861556444':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861556445':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861556446':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861556447':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861556448':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861556449':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'86155645':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861556457':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861556458':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861556459':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861556460':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861556461':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861556462':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861556463':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861556464':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861556465':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861556466':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861556467':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861556468':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861556469':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'86155647':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861556477':{'en': 'Laiwu, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83b1\u829c\u5e02')},
'861556478':{'en': 'Laiwu, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83b1\u829c\u5e02')},
'861556479':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861556480':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861556481':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861556482':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861556483':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861556484':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861556485':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861556486':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861556487':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861556488':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861556489':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'86155649':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861556500':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861556501':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861556502':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861556503':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861556504':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861556505':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861556506':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861556507':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861556508':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861556509':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'86155651':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861556510':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'861556511':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'861556512':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'861556513':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'86155652':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861556520':{'en': 'Hebi, Henan', 'zh': u('\u6cb3\u5357\u7701\u9e64\u58c1\u5e02')},
'861556529':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'86155653':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861556530':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'861556531':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'861556532':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'861556533':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861556540':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861556541':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861556542':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861556543':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861556544':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861556545':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861556546':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861556547':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861556548':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861556549':{'en': 'Luohe, Henan', 'zh': u('\u6cb3\u5357\u7701\u6f2f\u6cb3\u5e02')},
'86155655':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'86155656':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861556560':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'861556561':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'861556562':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'861556563':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'861556570':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861556571':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861556572':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861556573':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861556574':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861556575':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861556576':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861556577':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861556578':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861556579':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861556580':{'en': 'Hebi, Henan', 'zh': u('\u6cb3\u5357\u7701\u9e64\u58c1\u5e02')},
'861556581':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'861556582':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'861556583':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861556584':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'861556585':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'861556586':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'861556587':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861556588':{'en': 'Luohe, Henan', 'zh': u('\u6cb3\u5357\u7701\u6f2f\u6cb3\u5e02')},
'861556589':{'en': 'Luohe, Henan', 'zh': u('\u6cb3\u5357\u7701\u6f2f\u6cb3\u5e02')},
'86155659':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861556590':{'en': 'Luohe, Henan', 'zh': u('\u6cb3\u5357\u7701\u6f2f\u6cb3\u5e02')},
'861556591':{'en': 'Luohe, Henan', 'zh': u('\u6cb3\u5357\u7701\u6f2f\u6cb3\u5e02')},
'86155660':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'86155661':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861556620':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861556621':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861556622':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861556623':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861556624':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861556625':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861556626':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861556627':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861556628':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861556629':{'en': 'Fushun, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u629a\u987a\u5e02')},
'861556630':{'en': 'Fushun, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u629a\u987a\u5e02')},
'861556631':{'en': 'Fushun, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u629a\u987a\u5e02')},
'861556632':{'en': 'Fushun, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u629a\u987a\u5e02')},
'861556633':{'en': 'Yingkou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8425\u53e3\u5e02')},
'861556634':{'en': 'Yingkou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8425\u53e3\u5e02')},
'861556635':{'en': 'Yingkou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8425\u53e3\u5e02')},
'861556636':{'en': 'Yingkou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8425\u53e3\u5e02')},
'861556637':{'en': 'Yingkou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8425\u53e3\u5e02')},
'861556638':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861556639':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861556640':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861556641':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861556642':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861556643':{'en': 'Fushun, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u629a\u987a\u5e02')},
'861556644':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861556645':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861556646':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861556647':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861556648':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861556649':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'86155665':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'86155666':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861556666':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861556667':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861556668':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861556669':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'86155667':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861556678':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861556679':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'86155668':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'86155669':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'86155670':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'86155671':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'86155672':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'861556726':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861556727':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861556728':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861556729':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'86155673':{'en': 'Jilin, Jilin', 'zh': u('\u5409\u6797\u7701\u5409\u6797\u5e02')},
'86155674':{'en': 'Jilin, Jilin', 'zh': u('\u5409\u6797\u7701\u5409\u6797\u5e02')},
'86155675':{'en': 'Jilin, Jilin', 'zh': u('\u5409\u6797\u7701\u5409\u6797\u5e02')},
'861556759':{'en': 'Baishan, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u5c71\u5e02')},
'86155676':{'en': 'Yanbian, Jilin', 'zh': u('\u5409\u6797\u7701\u5ef6\u8fb9\u671d\u9c9c\u65cf\u81ea\u6cbb\u5dde')},
'86155677':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'861556778':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861556779':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'86155678':{'en': 'Tonghua, Jilin', 'zh': u('\u5409\u6797\u7701\u901a\u5316\u5e02')},
'86155679':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861556797':{'en': 'Baishan, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u5c71\u5e02')},
'861556798':{'en': 'Baishan, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u5c71\u5e02')},
'861556799':{'en': 'Baishan, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u5c71\u5e02')},
'86155680':{'en': 'Yanbian, Jilin', 'zh': u('\u5409\u6797\u7701\u5ef6\u8fb9\u671d\u9c9c\u65cf\u81ea\u6cbb\u5dde')},
'861556810':{'en': 'Baishan, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u5c71\u5e02')},
'861556811':{'en': 'Baishan, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u5c71\u5e02')},
'861556812':{'en': 'Baishan, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u5c71\u5e02')},
'861556813':{'en': 'Baishan, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u5c71\u5e02')},
'861556814':{'en': 'Baishan, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u5c71\u5e02')},
'861556815':{'en': 'Liaoyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u8fbd\u6e90\u5e02')},
'861556816':{'en': 'Liaoyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u8fbd\u6e90\u5e02')},
'861556817':{'en': 'Liaoyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u8fbd\u6e90\u5e02')},
'861556818':{'en': 'Liaoyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u8fbd\u6e90\u5e02')},
'861556819':{'en': 'Liaoyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u8fbd\u6e90\u5e02')},
'86155682':{'en': 'Jilin, Jilin', 'zh': u('\u5409\u6797\u7701\u5409\u6797\u5e02')},
'86155683':{'en': 'Jilin, Jilin', 'zh': u('\u5409\u6797\u7701\u5409\u6797\u5e02')},
'86155684':{'en': 'Jilin, Jilin', 'zh': u('\u5409\u6797\u7701\u5409\u6797\u5e02')},
'86155685':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'86155686':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'86155687':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'86155688':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'86155689':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'86155690':{'en': 'Aksu, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u514b\u82cf\u5730\u533a')},
'861556901':{'en': 'Hotan, Xinjiang', 'zh': u('\u65b0\u7586\u548c\u7530\u5730\u533a')},
'861556902':{'en': 'Hotan, Xinjiang', 'zh': u('\u65b0\u7586\u548c\u7530\u5730\u533a')},
'861556903':{'en': 'Hotan, Xinjiang', 'zh': u('\u65b0\u7586\u548c\u7530\u5730\u533a')},
'86155691':{'en': 'Kashi, Xinjiang', 'zh': u('\u65b0\u7586\u5580\u4ec0\u5730\u533a')},
'86155692':{'en': 'Ili, Xinjiang', 'zh': u('\u65b0\u7586\u4f0a\u7281\u54c8\u8428\u514b\u81ea\u6cbb\u5dde')},
'861556920':{'en': 'Aksu, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u514b\u82cf\u5730\u533a')},
'861556921':{'en': 'Aksu, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u514b\u82cf\u5730\u533a')},
'861556922':{'en': 'Aksu, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u514b\u82cf\u5730\u533a')},
'86155693':{'en': 'Aksu, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u514b\u82cf\u5730\u533a')},
'861556930':{'en': 'Hami, Xinjiang', 'zh': u('\u65b0\u7586\u54c8\u5bc6\u5730\u533a')},
'861556931':{'en': 'Changji, Xinjiang', 'zh': u('\u65b0\u7586\u660c\u5409\u56de\u65cf\u81ea\u6cbb\u5dde')},
'861556932':{'en': 'Turpan, Xinjiang', 'zh': u('\u65b0\u7586\u5410\u9c81\u756a\u5730\u533a')},
'86155694':{'en': 'Kashi, Xinjiang', 'zh': u('\u65b0\u7586\u5580\u4ec0\u5730\u533a')},
'861556950':{'en': 'Turpan, Xinjiang', 'zh': u('\u65b0\u7586\u5410\u9c81\u756a\u5730\u533a')},
'861556951':{'en': 'Turpan, Xinjiang', 'zh': u('\u65b0\u7586\u5410\u9c81\u756a\u5730\u533a')},
'861556952':{'en': 'Turpan, Xinjiang', 'zh': u('\u65b0\u7586\u5410\u9c81\u756a\u5730\u533a')},
'861556953':{'en': 'Ili, Xinjiang', 'zh': u('\u65b0\u7586\u4f0a\u7281\u54c8\u8428\u514b\u81ea\u6cbb\u5dde')},
'861556954':{'en': 'Ili, Xinjiang', 'zh': u('\u65b0\u7586\u4f0a\u7281\u54c8\u8428\u514b\u81ea\u6cbb\u5dde')},
'861556955':{'en': 'Kashi, Xinjiang', 'zh': u('\u65b0\u7586\u5580\u4ec0\u5730\u533a')},
'861556956':{'en': 'Kashi, Xinjiang', 'zh': u('\u65b0\u7586\u5580\u4ec0\u5730\u533a')},
'861556957':{'en': 'Kashi, Xinjiang', 'zh': u('\u65b0\u7586\u5580\u4ec0\u5730\u533a')},
'861556958':{'en': 'Kashi, Xinjiang', 'zh': u('\u65b0\u7586\u5580\u4ec0\u5730\u533a')},
'861556959':{'en': 'Kashi, Xinjiang', 'zh': u('\u65b0\u7586\u5580\u4ec0\u5730\u533a')},
'861556960':{'en': 'Lanzhou, Gansu', 'zh': u('\u7518\u8083\u7701\u5170\u5dde\u5e02')},
'861556961':{'en': 'Linxia, Gansu', 'zh': u('\u7518\u8083\u7701\u4e34\u590f\u56de\u65cf\u81ea\u6cbb\u5dde')},
'861556962':{'en': 'Dingxi, Gansu', 'zh': u('\u7518\u8083\u7701\u5b9a\u897f\u5e02')},
'861556963':{'en': 'Dingxi, Gansu', 'zh': u('\u7518\u8083\u7701\u5b9a\u897f\u5e02')},
'861556964':{'en': 'Dingxi, Gansu', 'zh': u('\u7518\u8083\u7701\u5b9a\u897f\u5e02')},
'861556965':{'en': 'Dingxi, Gansu', 'zh': u('\u7518\u8083\u7701\u5b9a\u897f\u5e02')},
'861556966':{'en': 'Dingxi, Gansu', 'zh': u('\u7518\u8083\u7701\u5b9a\u897f\u5e02')},
'861556967':{'en': 'Pingliang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e73\u51c9\u5e02')},
'861556968':{'en': 'Pingliang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e73\u51c9\u5e02')},
'861556969':{'en': 'Pingliang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e73\u51c9\u5e02')},
'861556970':{'en': 'Pingliang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e73\u51c9\u5e02')},
'861556971':{'en': 'Qingyang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e86\u9633\u5e02')},
'861556972':{'en': 'Qingyang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e86\u9633\u5e02')},
'861556973':{'en': 'Qingyang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e86\u9633\u5e02')},
'861556974':{'en': 'Jinchang, Gansu', 'zh': u('\u7518\u8083\u7701\u91d1\u660c\u5e02')},
'861556975':{'en': 'Jinchang, Gansu', 'zh': u('\u7518\u8083\u7701\u91d1\u660c\u5e02')},
'861556976':{'en': 'Jiuquan, Gansu', 'zh': u('\u7518\u8083\u7701\u9152\u6cc9\u5e02')},
'861556977':{'en': 'Jiuquan, Gansu', 'zh': u('\u7518\u8083\u7701\u9152\u6cc9\u5e02')},
'861556978':{'en': 'Jiuquan, Gansu', 'zh': u('\u7518\u8083\u7701\u9152\u6cc9\u5e02')},
'861556979':{'en': 'Tianshui, Gansu', 'zh': u('\u7518\u8083\u7701\u5929\u6c34\u5e02')},
'861556980':{'en': 'Zhangye, Gansu', 'zh': u('\u7518\u8083\u7701\u5f20\u6396\u5e02')},
'861556981':{'en': 'Tianshui, Gansu', 'zh': u('\u7518\u8083\u7701\u5929\u6c34\u5e02')},
'861556982':{'en': 'Tianshui, Gansu', 'zh': u('\u7518\u8083\u7701\u5929\u6c34\u5e02')},
'861556983':{'en': 'Tianshui, Gansu', 'zh': u('\u7518\u8083\u7701\u5929\u6c34\u5e02')},
'861556984':{'en': 'Baiyin, Gansu', 'zh': u('\u7518\u8083\u7701\u767d\u94f6\u5e02')},
'861556985':{'en': 'Baiyin, Gansu', 'zh': u('\u7518\u8083\u7701\u767d\u94f6\u5e02')},
'861556986':{'en': 'Longnan, Gansu', 'zh': u('\u7518\u8083\u7701\u9647\u5357\u5e02')},
'861556987':{'en': 'Longnan, Gansu', 'zh': u('\u7518\u8083\u7701\u9647\u5357\u5e02')},
'861556988':{'en': 'Longnan, Gansu', 'zh': u('\u7518\u8083\u7701\u9647\u5357\u5e02')},
'861556989':{'en': 'Longnan, Gansu', 'zh': u('\u7518\u8083\u7701\u9647\u5357\u5e02')},
'86155699':{'en': 'Zhangye, Gansu', 'zh': u('\u7518\u8083\u7701\u5f20\u6396\u5e02')},
'861556999':{'en': 'Lanzhou, Gansu', 'zh': u('\u7518\u8083\u7701\u5170\u5dde\u5e02')},
'86155700':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861557010':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861557011':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861557012':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861557013':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861557014':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861557015':{'en': 'Xinyu, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u65b0\u4f59\u5e02')},
'861557016':{'en': 'Xinyu, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u65b0\u4f59\u5e02')},
'861557017':{'en': 'Xinyu, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u65b0\u4f59\u5e02')},
'861557018':{'en': 'Fuzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u629a\u5dde\u5e02')},
'861557019':{'en': 'Fuzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u629a\u5dde\u5e02')},
'861557020':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861557021':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861557022':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861557023':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861557024':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861557025':{'en': 'Yichun, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5b9c\u6625\u5e02')},
'861557026':{'en': 'Yichun, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5b9c\u6625\u5e02')},
'861557027':{'en': 'Yichun, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5b9c\u6625\u5e02')},
'861557028':{'en': 'Pingxiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u840d\u4e61\u5e02')},
'861557029':{'en': 'Pingxiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u840d\u4e61\u5e02')},
'86155703':{'en': 'Yichun, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5b9c\u6625\u5e02')},
'861557035':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861557037':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861557039':{'en': 'Jingdezhen, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u666f\u5fb7\u9547\u5e02')},
'86155704':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'861557049':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'86155705':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'86155706':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'86155707':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861557080':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861557081':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861557082':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861557083':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861557084':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861557085':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861557086':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861557087':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861557088':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861557089':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'86155709':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'86155710':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'86155711':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'86155712':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'86155713':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861557140':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861557141':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861557142':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861557143':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861557144':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861557145':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861557146':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861557147':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861557148':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'861557149':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'86155715':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'86155716':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'86155717':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861557178':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861557179':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'86155718':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'86155719':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'86155720':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'86155721':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'86155722':{'en': 'Suizhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u968f\u5dde\u5e02')},
'861557228':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861557229':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'86155723':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861557230':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861557231':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861557240':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861557241':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861557242':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861557243':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861557244':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861557245':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'861557246':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'861557247':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861557248':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861557249':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'86155725':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861557257':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861557258':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861557259':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'86155726':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'86155727':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'86155728':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'86155729':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'861557290':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'86155730':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'86155731':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'86155732':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'86155733':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'86155734':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'86155735':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'86155736':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'86155737':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'86155738':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'86155739':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'86155740':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'86155741':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'86155742':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'86155743':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'86155744':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'86155745':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'86155746':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'86155747':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'86155748':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'86155749':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'86155750':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'86155751':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'86155752':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'86155753':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'86155754':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'86155755':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861557558':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861557559':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'86155756':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'86155757':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'86155758':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'86155759':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'86155760':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'86155761':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'86155762':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'86155763':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'86155764':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'86155765':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'86155766':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861557670':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861557671':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861557672':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861557673':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861557674':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861557675':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861557676':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861557677':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861557678':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861557679':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861557680':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861557681':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861557682':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861557683':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861557684':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861557685':{'en': 'Zhangjiajie, Hunan', 'zh': u('\u6e56\u5357\u7701\u5f20\u5bb6\u754c\u5e02')},
'861557686':{'en': 'Zhangjiajie, Hunan', 'zh': u('\u6e56\u5357\u7701\u5f20\u5bb6\u754c\u5e02')},
'861557687':{'en': 'Zhangjiajie, Hunan', 'zh': u('\u6e56\u5357\u7701\u5f20\u5bb6\u754c\u5e02')},
'861557688':{'en': 'Zhangjiajie, Hunan', 'zh': u('\u6e56\u5357\u7701\u5f20\u5bb6\u754c\u5e02')},
'861557689':{'en': 'Zhangjiajie, Hunan', 'zh': u('\u6e56\u5357\u7701\u5f20\u5bb6\u754c\u5e02')},
'86155769':{'en': 'Xiangxi, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u897f\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861557700':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'861557701':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'861557702':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'861557703':{'en': 'Laibin, Guangxi', 'zh': u('\u5e7f\u897f\u6765\u5bbe\u5e02')},
'861557704':{'en': 'Laibin, Guangxi', 'zh': u('\u5e7f\u897f\u6765\u5bbe\u5e02')},
'861557705':{'en': 'Laibin, Guangxi', 'zh': u('\u5e7f\u897f\u6765\u5bbe\u5e02')},
'861557706':{'en': 'Laibin, Guangxi', 'zh': u('\u5e7f\u897f\u6765\u5bbe\u5e02')},
'861557707':{'en': 'Yulin, Guangxi', 'zh': u('\u5e7f\u897f\u7389\u6797\u5e02')},
'861557708':{'en': 'Yulin, Guangxi', 'zh': u('\u5e7f\u897f\u7389\u6797\u5e02')},
'861557709':{'en': 'Yulin, Guangxi', 'zh': u('\u5e7f\u897f\u7389\u6797\u5e02')},
'86155771':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861557710':{'en': 'Chongzuo, Guangxi', 'zh': u('\u5e7f\u897f\u5d07\u5de6\u5e02')},
'861557711':{'en': 'Chongzuo, Guangxi', 'zh': u('\u5e7f\u897f\u5d07\u5de6\u5e02')},
'861557715':{'en': 'Chongzuo, Guangxi', 'zh': u('\u5e7f\u897f\u5d07\u5de6\u5e02')},
'861557717':{'en': 'Chongzuo, Guangxi', 'zh': u('\u5e7f\u897f\u5d07\u5de6\u5e02')},
'86155772':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'86155773':{'en': 'Guilin, Guangxi', 'zh': u('\u5e7f\u897f\u6842\u6797\u5e02')},
'86155774':{'en': 'Guilin, Guangxi', 'zh': u('\u5e7f\u897f\u6842\u6797\u5e02')},
'86155775':{'en': 'Yulin, Guangxi', 'zh': u('\u5e7f\u897f\u7389\u6797\u5e02')},
'861557753':{'en': 'Guigang, Guangxi', 'zh': u('\u5e7f\u897f\u8d35\u6e2f\u5e02')},
'861557754':{'en': 'Guigang, Guangxi', 'zh': u('\u5e7f\u897f\u8d35\u6e2f\u5e02')},
'861557755':{'en': 'Guigang, Guangxi', 'zh': u('\u5e7f\u897f\u8d35\u6e2f\u5e02')},
'861557756':{'en': 'Guigang, Guangxi', 'zh': u('\u5e7f\u897f\u8d35\u6e2f\u5e02')},
'86155776':{'en': 'Baise, Guangxi', 'zh': u('\u5e7f\u897f\u767e\u8272\u5e02')},
'861557770':{'en': 'Laibin, Guangxi', 'zh': u('\u5e7f\u897f\u6765\u5bbe\u5e02')},
'861557771':{'en': 'Laibin, Guangxi', 'zh': u('\u5e7f\u897f\u6765\u5bbe\u5e02')},
'861557772':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'861557773':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'861557774':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'861557775':{'en': 'Laibin, Guangxi', 'zh': u('\u5e7f\u897f\u6765\u5bbe\u5e02')},
'861557776':{'en': 'Laibin, Guangxi', 'zh': u('\u5e7f\u897f\u6765\u5bbe\u5e02')},
'861557777':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'861557778':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'861557779':{'en': 'Laibin, Guangxi', 'zh': u('\u5e7f\u897f\u6765\u5bbe\u5e02')},
'86155778':{'en': 'Hechi, Guangxi', 'zh': u('\u5e7f\u897f\u6cb3\u6c60\u5e02')},
'86155779':{'en': 'Beihai, Guangxi', 'zh': u('\u5e7f\u897f\u5317\u6d77\u5e02')},
'861557800':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861557801':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861557802':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861557803':{'en': 'Chongzuo, Guangxi', 'zh': u('\u5e7f\u897f\u5d07\u5de6\u5e02')},
'861557804':{'en': 'Baise, Guangxi', 'zh': u('\u5e7f\u897f\u767e\u8272\u5e02')},
'861557805':{'en': 'Baise, Guangxi', 'zh': u('\u5e7f\u897f\u767e\u8272\u5e02')},
'861557806':{'en': 'Chongzuo, Guangxi', 'zh': u('\u5e7f\u897f\u5d07\u5de6\u5e02')},
'861557807':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861557808':{'en': 'Chongzuo, Guangxi', 'zh': u('\u5e7f\u897f\u5d07\u5de6\u5e02')},
'861557809':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'86155781':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861557820':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'861557821':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'861557822':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'861557823':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'861557824':{'en': 'Laibin, Guangxi', 'zh': u('\u5e7f\u897f\u6765\u5bbe\u5e02')},
'861557825':{'en': 'Laibin, Guangxi', 'zh': u('\u5e7f\u897f\u6765\u5bbe\u5e02')},
'861557826':{'en': 'Laibin, Guangxi', 'zh': u('\u5e7f\u897f\u6765\u5bbe\u5e02')},
'861557827':{'en': 'Chongzuo, Guangxi', 'zh': u('\u5e7f\u897f\u5d07\u5de6\u5e02')},
'861557828':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861557829':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'86155783':{'en': 'Guilin, Guangxi', 'zh': u('\u5e7f\u897f\u6842\u6797\u5e02')},
'861557830':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861557831':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861557832':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861557833':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861557840':{'en': 'Wuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u68a7\u5dde\u5e02')},
'861557841':{'en': 'Hezhou, Guangxi', 'zh': u('\u5e7f\u897f\u8d3a\u5dde\u5e02')},
'861557842':{'en': 'Chongzuo, Guangxi', 'zh': u('\u5e7f\u897f\u5d07\u5de6\u5e02')},
'861557843':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861557844':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861557845':{'en': 'Chongzuo, Guangxi', 'zh': u('\u5e7f\u897f\u5d07\u5de6\u5e02')},
'861557846':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861557847':{'en': 'Chongzuo, Guangxi', 'zh': u('\u5e7f\u897f\u5d07\u5de6\u5e02')},
'861557848':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861557849':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'86155785':{'en': 'Yulin, Guangxi', 'zh': u('\u5e7f\u897f\u7389\u6797\u5e02')},
'86155786':{'en': 'Baise, Guangxi', 'zh': u('\u5e7f\u897f\u767e\u8272\u5e02')},
'861557868':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861557869':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'86155787':{'en': 'Qinzhou, Guangxi', 'zh': u('\u5e7f\u897f\u94a6\u5dde\u5e02')},
'861557876':{'en': 'Hechi, Guangxi', 'zh': u('\u5e7f\u897f\u6cb3\u6c60\u5e02')},
'861557877':{'en': 'Hechi, Guangxi', 'zh': u('\u5e7f\u897f\u6cb3\u6c60\u5e02')},
'861557878':{'en': 'Beihai, Guangxi', 'zh': u('\u5e7f\u897f\u5317\u6d77\u5e02')},
'861557879':{'en': 'Beihai, Guangxi', 'zh': u('\u5e7f\u897f\u5317\u6d77\u5e02')},
'86155788':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861557884':{'en': 'Baise, Guangxi', 'zh': u('\u5e7f\u897f\u767e\u8272\u5e02')},
'861557885':{'en': 'Baise, Guangxi', 'zh': u('\u5e7f\u897f\u767e\u8272\u5e02')},
'861557886':{'en': 'Baise, Guangxi', 'zh': u('\u5e7f\u897f\u767e\u8272\u5e02')},
'86155789':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'86155790':{'en': 'Yichun, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5b9c\u6625\u5e02')},
'861557900':{'en': 'Xinyu, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u65b0\u4f59\u5e02')},
'861557901':{'en': 'Xinyu, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u65b0\u4f59\u5e02')},
'861557902':{'en': 'Xinyu, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u65b0\u4f59\u5e02')},
'861557903':{'en': 'Xinyu, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u65b0\u4f59\u5e02')},
'86155791':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861557919':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'86155792':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861557920':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861557921':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861557922':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861557923':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'86155793':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861557940':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861557941':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861557942':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861557943':{'en': 'Yichun, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5b9c\u6625\u5e02')},
'861557944':{'en': 'Yichun, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5b9c\u6625\u5e02')},
'861557945':{'en': 'Yichun, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5b9c\u6625\u5e02')},
'861557946':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861557947':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861557948':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861557949':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'86155795':{'en': 'Yichun, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5b9c\u6625\u5e02')},
'86155796':{'en': 'JiAn, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5409\u5b89\u5e02')},
'861557969':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'86155797':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861557980':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861557981':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861557982':{'en': 'Yichun, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5b9c\u6625\u5e02')},
'861557983':{'en': 'Yichun, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5b9c\u6625\u5e02')},
'861557984':{'en': 'Yichun, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5b9c\u6625\u5e02')},
'861557985':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861557986':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861557987':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861557988':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861557989':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'86155799':{'en': 'Pingxiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u840d\u4e61\u5e02')},
'861557999':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'86155800':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861558010':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861558011':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861558012':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861558013':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861558014':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861558015':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861558016':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861558017':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'861558018':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'861558019':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'86155802':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861558020':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'861558030':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861558031':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861558032':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861558033':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861558034':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861558035':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861558036':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861558037':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861558038':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861558039':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'86155804':{'en': 'Xiangxi, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u897f\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861558040':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861558041':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861558042':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861558049':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'86155805':{'en': 'Zhangjiajie, Hunan', 'zh': u('\u6e56\u5357\u7701\u5f20\u5bb6\u754c\u5e02')},
'861558050':{'en': 'Xiangxi, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u897f\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861558051':{'en': 'Xiangxi, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u897f\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861558052':{'en': 'Xiangxi, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u897f\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861558053':{'en': 'Xiangxi, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u897f\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'86155806':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861558060':{'en': 'Zhangjiajie, Hunan', 'zh': u('\u6e56\u5357\u7701\u5f20\u5bb6\u754c\u5e02')},
'861558061':{'en': 'Zhangjiajie, Hunan', 'zh': u('\u6e56\u5357\u7701\u5f20\u5bb6\u754c\u5e02')},
'86155807':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861558077':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861558078':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861558079':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'86155808':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'86155809':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'86155810':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861558100':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861558101':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'86155811':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861558110':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861558111':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'86155812':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'86155813':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861558136':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861558137':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861558138':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861558139':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'86155814':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'86155815':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861558150':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861558151':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861558152':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861558153':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'86155816':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861558167':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861558168':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861558169':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861558170':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861558171':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861558172':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861558173':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861558174':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861558175':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861558176':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861558177':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861558178':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861558179':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861558180':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861558181':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861558182':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861558183':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861558184':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861558185':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861558186':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861558187':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861558188':{'en': u('L\u00fcliang, Shanxi'), 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861558189':{'en': u('L\u00fcliang, Shanxi'), 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'86155819':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861558190':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'86155820':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861558208':{'en': u('L\u00fcliang, Shanxi'), 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861558209':{'en': u('L\u00fcliang, Shanxi'), 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'86155821':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861558210':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861558211':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861558212':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'86155822':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'86155823':{'en': 'Yangquan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u9633\u6cc9\u5e02')},
'861558236':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861558237':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861558238':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861558239':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861558240':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861558241':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861558242':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861558243':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861558244':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861558245':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861558246':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861558247':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861558248':{'en': u('L\u00fcliang, Shanxi'), 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861558249':{'en': 'Shuozhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u6714\u5dde\u5e02')},
'86155825':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861558257':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861558258':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861558259':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'86155826':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861558266':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861558267':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861558268':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861558269':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861558270':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861558271':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861558272':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861558273':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861558274':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861558275':{'en': u('L\u00fcliang, Shanxi'), 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861558276':{'en': u('L\u00fcliang, Shanxi'), 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861558277':{'en': u('L\u00fcliang, Shanxi'), 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861558278':{'en': u('L\u00fcliang, Shanxi'), 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861558279':{'en': u('L\u00fcliang, Shanxi'), 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861558280':{'en': u('L\u00fcliang, Shanxi'), 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861558281':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861558282':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861558283':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861558284':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861558285':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861558286':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861558287':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861558288':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861558289':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'86155829':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861558300':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861558301':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861558302':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861558303':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861558304':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861558305':{'en': 'Aba, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u963f\u575d\u85cf\u65cf\u7f8c\u65cf\u81ea\u6cbb\u5dde')},
'861558306':{'en': 'Aba, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u963f\u575d\u85cf\u65cf\u7f8c\u65cf\u81ea\u6cbb\u5dde')},
'861558307':{'en': 'Aba, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u963f\u575d\u85cf\u65cf\u7f8c\u65cf\u81ea\u6cbb\u5dde')},
'861558308':{'en': 'Aba, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u963f\u575d\u85cf\u65cf\u7f8c\u65cf\u81ea\u6cbb\u5dde')},
'861558309':{'en': 'Aba, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u963f\u575d\u85cf\u65cf\u7f8c\u65cf\u81ea\u6cbb\u5dde')},
'86155831':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861558316':{'en': 'Guangyuan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5143\u5e02')},
'861558317':{'en': 'Guangyuan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5143\u5e02')},
'861558318':{'en': 'Guangyuan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5143\u5e02')},
'861558319':{'en': 'Guangyuan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5143\u5e02')},
'861558320':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861558321':{'en': 'Neijiang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5185\u6c5f\u5e02')},
'861558322':{'en': 'Neijiang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5185\u6c5f\u5e02')},
'861558323':{'en': 'Neijiang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5185\u6c5f\u5e02')},
'861558324':{'en': 'Neijiang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5185\u6c5f\u5e02')},
'861558325':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8d44\u9633\u5e02')},
'861558326':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8d44\u9633\u5e02')},
'861558327':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8d44\u9633\u5e02')},
'861558328':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8d44\u9633\u5e02')},
'861558329':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8d44\u9633\u5e02')},
'861558330':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861558331':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861558332':{'en': 'Meishan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7709\u5c71\u5e02')},
'861558333':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861558334':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861558335':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861558336':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861558337':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861558338':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'861558339':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'861558340':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861558341':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861558342':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861558343':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861558344':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861558345':{'en': 'Liangshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u51c9\u5c71\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861558346':{'en': 'Liangshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u51c9\u5c71\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861558347':{'en': 'Liangshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u51c9\u5c71\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861558348':{'en': 'Liangshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u51c9\u5c71\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861558349':{'en': 'Liangshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u51c9\u5c71\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861558350':{'en': 'YaAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u96c5\u5b89\u5e02')},
'861558351':{'en': 'YaAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u96c5\u5b89\u5e02')},
'861558352':{'en': 'YaAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u96c5\u5b89\u5e02')},
'861558353':{'en': 'Panzhihua, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6500\u679d\u82b1\u5e02')},
'861558354':{'en': 'Panzhihua, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6500\u679d\u82b1\u5e02')},
'861558355':{'en': 'Panzhihua, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6500\u679d\u82b1\u5e02')},
'861558356':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861558357':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861558358':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861558359':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'86155836':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'86155837':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861558370':{'en': 'Aba, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u963f\u575d\u85cf\u65cf\u7f8c\u65cf\u81ea\u6cbb\u5dde')},
'861558371':{'en': 'Neijiang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5185\u6c5f\u5e02')},
'861558372':{'en': 'Neijiang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5185\u6c5f\u5e02')},
'861558373':{'en': 'Neijiang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5185\u6c5f\u5e02')},
'861558380':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'861558381':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'861558382':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'861558383':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'861558384':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'861558385':{'en': 'Zigong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u81ea\u8d21\u5e02')},
'861558386':{'en': 'Zigong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u81ea\u8d21\u5e02')},
'861558387':{'en': 'Zigong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u81ea\u8d21\u5e02')},
'861558388':{'en': 'Liangshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u51c9\u5c71\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861558389':{'en': 'Liangshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u51c9\u5c71\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861558390':{'en': 'Guangyuan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5143\u5e02')},
'861558391':{'en': 'Guangyuan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5143\u5e02')},
'861558392':{'en': 'Guangyuan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5143\u5e02')},
'861558393':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8d44\u9633\u5e02')},
'861558394':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8d44\u9633\u5e02')},
'861558395':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8d44\u9633\u5e02')},
'861558396':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8d44\u9633\u5e02')},
'861558397':{'en': 'Meishan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7709\u5c71\u5e02')},
'861558398':{'en': 'Meishan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7709\u5c71\u5e02')},
'861558399':{'en': 'Meishan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7709\u5c71\u5e02')},
'86155840':{'en': 'Jilin, Jilin', 'zh': u('\u5409\u6797\u7701\u5409\u6797\u5e02')},
'86155841':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'86155842':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'86155843':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'86155844':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'86155845':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'86155846':{'en': 'Yanbian, Jilin', 'zh': u('\u5409\u6797\u7701\u5ef6\u8fb9\u671d\u9c9c\u65cf\u81ea\u6cbb\u5dde')},
'861558469':{'en': 'Tonghua, Jilin', 'zh': u('\u5409\u6797\u7701\u901a\u5316\u5e02')},
'86155847':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'861558480':{'en': 'Tonghua, Jilin', 'zh': u('\u5409\u6797\u7701\u901a\u5316\u5e02')},
'861558481':{'en': 'Tonghua, Jilin', 'zh': u('\u5409\u6797\u7701\u901a\u5316\u5e02')},
'861558482':{'en': 'Tonghua, Jilin', 'zh': u('\u5409\u6797\u7701\u901a\u5316\u5e02')},
'861558483':{'en': 'Tonghua, Jilin', 'zh': u('\u5409\u6797\u7701\u901a\u5316\u5e02')},
'861558484':{'en': 'Tonghua, Jilin', 'zh': u('\u5409\u6797\u7701\u901a\u5316\u5e02')},
'861558485':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861558486':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861558487':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861558488':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861558489':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'86155849':{'en': 'Baishan, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u5c71\u5e02')},
'861558497':{'en': 'Liaoyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u8fbd\u6e90\u5e02')},
'861558498':{'en': 'Liaoyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u8fbd\u6e90\u5e02')},
'861558499':{'en': 'Liaoyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u8fbd\u6e90\u5e02')},
'86155850':{'en': 'Zunyi, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9075\u4e49\u5e02')},
'86155851':{'en': 'Guiyang, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u8d35\u9633\u5e02')},
'861558518':{'en': 'Qiannan, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9ed4\u5357\u5e03\u4f9d\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861558519':{'en': 'Qiannan, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9ed4\u5357\u5e03\u4f9d\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861558520':{'en': 'Zunyi, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9075\u4e49\u5e02')},
'861558521':{'en': 'Zunyi, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9075\u4e49\u5e02')},
'861558522':{'en': 'Zunyi, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9075\u4e49\u5e02')},
'861558523':{'en': 'Zunyi, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9075\u4e49\u5e02')},
'861558524':{'en': 'Guiyang, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u8d35\u9633\u5e02')},
'861558525':{'en': 'Qiandongnan, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9ed4\u4e1c\u5357\u82d7\u65cf\u4f97\u65cf\u81ea\u6cbb\u5dde')},
'861558526':{'en': 'Qiandongnan, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9ed4\u4e1c\u5357\u82d7\u65cf\u4f97\u65cf\u81ea\u6cbb\u5dde')},
'861558527':{'en': 'Guiyang, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u8d35\u9633\u5e02')},
'861558528':{'en': 'Guiyang, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u8d35\u9633\u5e02')},
'861558529':{'en': 'Guiyang, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u8d35\u9633\u5e02')},
'86155853':{'en': 'Qiandongnan, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9ed4\u4e1c\u5357\u82d7\u65cf\u4f97\u65cf\u81ea\u6cbb\u5dde')},
'861558533':{'en': 'Anshun, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u5b89\u987a\u5e02')},
'861558536':{'en': 'Anshun, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u5b89\u987a\u5e02')},
'861558540':{'en': 'Tonghua, Jilin', 'zh': u('\u5409\u6797\u7701\u901a\u5316\u5e02')},
'861558541':{'en': 'Tonghua, Jilin', 'zh': u('\u5409\u6797\u7701\u901a\u5316\u5e02')},
'861558542':{'en': 'Tonghua, Jilin', 'zh': u('\u5409\u6797\u7701\u901a\u5316\u5e02')},
'861558543':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'861558544':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'861558545':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'861558546':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861558547':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861558548':{'en': 'Baishan, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u5c71\u5e02')},
'861558549':{'en': 'Baishan, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u5c71\u5e02')},
'861558550':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861558551':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861558552':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861558553':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861558554':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861558555':{'en': 'Yanbian, Jilin', 'zh': u('\u5409\u6797\u7701\u5ef6\u8fb9\u671d\u9c9c\u65cf\u81ea\u6cbb\u5dde')},
'861558556':{'en': 'Yanbian, Jilin', 'zh': u('\u5409\u6797\u7701\u5ef6\u8fb9\u671d\u9c9c\u65cf\u81ea\u6cbb\u5dde')},
'861558557':{'en': 'Yanbian, Jilin', 'zh': u('\u5409\u6797\u7701\u5ef6\u8fb9\u671d\u9c9c\u65cf\u81ea\u6cbb\u5dde')},
'861558558':{'en': 'Yanbian, Jilin', 'zh': u('\u5409\u6797\u7701\u5ef6\u8fb9\u671d\u9c9c\u65cf\u81ea\u6cbb\u5dde')},
'861558559':{'en': 'Yanbian, Jilin', 'zh': u('\u5409\u6797\u7701\u5ef6\u8fb9\u671d\u9c9c\u65cf\u81ea\u6cbb\u5dde')},
'861558560':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861558561':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861558562':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861558563':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861558564':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'861558565':{'en': 'Tonghua, Jilin', 'zh': u('\u5409\u6797\u7701\u901a\u5316\u5e02')},
'861558566':{'en': 'Tonghua, Jilin', 'zh': u('\u5409\u6797\u7701\u901a\u5316\u5e02')},
'861558567':{'en': 'Tonghua, Jilin', 'zh': u('\u5409\u6797\u7701\u901a\u5316\u5e02')},
'861558568':{'en': 'Tonghua, Jilin', 'zh': u('\u5409\u6797\u7701\u901a\u5316\u5e02')},
'861558569':{'en': 'Tonghua, Jilin', 'zh': u('\u5409\u6797\u7701\u901a\u5316\u5e02')},
'86155857':{'en': 'Bijie, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u6bd5\u8282\u5730\u533a')},
'86155858':{'en': 'Liupanshui, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u516d\u76d8\u6c34\u5e02')},
'86155859':{'en': 'Qianxinan, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9ed4\u897f\u5357\u5e03\u4f9d\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'86155860':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861558610':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861558611':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861558612':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861558613':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861558614':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861558615':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861558616':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861558617':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861558618':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861558619':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'86155862':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861558626':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861558627':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861558628':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861558629':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861558630':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861558631':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861558632':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861558633':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861558634':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861558635':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861558636':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861558637':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861558638':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'861558639':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'861558640':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'861558641':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'861558642':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861558643':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861558644':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861558645':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861558646':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861558647':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861558648':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861558649':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'86155865':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'861558650':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861558651':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861558652':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861558659':{'en': 'Ezhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u9102\u5dde\u5e02')},
'86155866':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861558669':{'en': 'Suizhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u968f\u5dde\u5e02')},
'86155867':{'en': 'Suizhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u968f\u5dde\u5e02')},
'861558678':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861558679':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861558680':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861558681':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861558682':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'861558683':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'861558684':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'861558685':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'861558686':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'861558687':{'en': 'Suizhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u968f\u5dde\u5e02')},
'861558688':{'en': 'Suizhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u968f\u5dde\u5e02')},
'861558689':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'86155869':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'86155870':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'86155871':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'86155872':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861558726':{'en': 'Dali, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5927\u7406\u767d\u65cf\u81ea\u6cbb\u5dde')},
'861558727':{'en': 'Dali, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5927\u7406\u767d\u65cf\u81ea\u6cbb\u5dde')},
'861558728':{'en': 'Dali, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5927\u7406\u767d\u65cf\u81ea\u6cbb\u5dde')},
'861558729':{'en': 'Dali, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5927\u7406\u767d\u65cf\u81ea\u6cbb\u5dde')},
'861558730':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861558731':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861558732':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861558733':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861558734':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861558735':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861558736':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861558737':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861558738':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861558739':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'86155874':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'86155875':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'86155876':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'86155877':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'86155878':{'en': 'Xiantao, Hubei', 'zh': u('\u6e56\u5317\u7701\u4ed9\u6843\u5e02')},
'861558789':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'86155879':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'86155880':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'86155881':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'86155882':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'86155883':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861558840':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861558841':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861558842':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861558843':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861558844':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861558845':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861558846':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861558847':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861558848':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861558849':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'86155885':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'86155886':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'86155887':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'86155888':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861558890':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861558891':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861558892':{'en': 'Laiwu, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83b1\u829c\u5e02')},
'861558893':{'en': 'Laiwu, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83b1\u829c\u5e02')},
'861558894':{'en': 'Laiwu, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83b1\u829c\u5e02')},
'861558895':{'en': 'Laiwu, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83b1\u829c\u5e02')},
'861558896':{'en': 'Laiwu, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83b1\u829c\u5e02')},
'861558897':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861558898':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861558899':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'86155890':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'86155891':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861558910':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861558911':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'86155892':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'86155893':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'86155894':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861558948':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861558949':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'86155895':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'86155896':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861558960':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861558961':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861558962':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'86155897':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'86155898':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'86155899':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'86155900':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'861559006':{'en': 'Jilin, Jilin', 'zh': u('\u5409\u6797\u7701\u5409\u6797\u5e02')},
'861559007':{'en': 'Jilin, Jilin', 'zh': u('\u5409\u6797\u7701\u5409\u6797\u5e02')},
'861559008':{'en': 'Jilin, Jilin', 'zh': u('\u5409\u6797\u7701\u5409\u6797\u5e02')},
'861559009':{'en': 'Jilin, Jilin', 'zh': u('\u5409\u6797\u7701\u5409\u6797\u5e02')},
'861559010':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861559011':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861559012':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861559013':{'en': 'Jilin, Jilin', 'zh': u('\u5409\u6797\u7701\u5409\u6797\u5e02')},
'861559014':{'en': 'Jilin, Jilin', 'zh': u('\u5409\u6797\u7701\u5409\u6797\u5e02')},
'861559015':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861559016':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861559017':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861559018':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'861559019':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'86155902':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'86155903':{'en': 'Liaoyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u8fbd\u6e90\u5e02')},
'861559038':{'en': 'Baishan, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u5c71\u5e02')},
'861559039':{'en': 'Baishan, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u5c71\u5e02')},
'86155904':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'861559048':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861559049':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'86155905':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'86155906':{'en': 'Jilin, Jilin', 'zh': u('\u5409\u6797\u7701\u5409\u6797\u5e02')},
'861559066':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'861559067':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'861559068':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'861559069':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'861559070':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861559071':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861559072':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861559073':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861559074':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861559075':{'en': 'Liaoyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u8fbd\u6e90\u5e02')},
'861559076':{'en': 'Liaoyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u8fbd\u6e90\u5e02')},
'861559077':{'en': 'Jilin, Jilin', 'zh': u('\u5409\u6797\u7701\u5409\u6797\u5e02')},
'861559078':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861559079':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861559080':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861559081':{'en': 'Jixi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e21\u897f\u5e02')},
'861559082':{'en': 'Jixi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e21\u897f\u5e02')},
'861559083':{'en': 'Shuangyashan, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u53cc\u9e2d\u5c71\u5e02')},
'861559084':{'en': 'Shuangyashan, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u53cc\u9e2d\u5c71\u5e02')},
'861559085':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861559086':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861559087':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861559088':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861559089':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'86155909':{'en': 'Jiamusi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f73\u6728\u65af\u5e02')},
'861559096':{'en': 'Hegang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e64\u5c97\u5e02')},
'861559097':{'en': 'Hegang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e64\u5c97\u5e02')},
'861559098':{'en': 'Suihua, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7ee5\u5316\u5e02')},
'861559099':{'en': 'Suihua, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7ee5\u5316\u5e02')},
'86155910':{'en': 'Xianyang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'86155911':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'86155912':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'86155913':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861559140':{'en': 'Shangluo, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861559141':{'en': 'Shangluo, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861559142':{'en': 'Shangluo, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861559143':{'en': 'Shangluo, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861559144':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861559145':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861559146':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861559147':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861559148':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861559149':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'86155915':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'86155916':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'86155917':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'86155918':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861559190':{'en': 'Tongchuan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u94dc\u5ddd\u5e02')},
'861559191':{'en': 'Tongchuan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u94dc\u5ddd\u5e02')},
'861559192':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861559193':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861559194':{'en': 'Shangluo, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861559195':{'en': 'Shangluo, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861559196':{'en': 'Shangluo, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861559197':{'en': 'Shangluo, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861559198':{'en': 'Shangluo, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861559199':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'86155920':{'en': 'Xianyang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'86155921':{'en': 'Xianyang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'86155922':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'86155923':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'86155924':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'86155925':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'86155926':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'86155927':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'86155928':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'86155929':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'86155930':{'en': 'Linxia, Gansu', 'zh': u('\u7518\u8083\u7701\u4e34\u590f\u56de\u65cf\u81ea\u6cbb\u5dde')},
'861559306':{'en': 'Gannan, Gansu', 'zh': u('\u7518\u8083\u7701\u7518\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861559307':{'en': 'Gannan, Gansu', 'zh': u('\u7518\u8083\u7701\u7518\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861559308':{'en': 'Baiyin, Gansu', 'zh': u('\u7518\u8083\u7701\u767d\u94f6\u5e02')},
'861559309':{'en': 'Baiyin, Gansu', 'zh': u('\u7518\u8083\u7701\u767d\u94f6\u5e02')},
'86155931':{'en': 'Lanzhou, Gansu', 'zh': u('\u7518\u8083\u7701\u5170\u5dde\u5e02')},
'86155932':{'en': 'Dingxi, Gansu', 'zh': u('\u7518\u8083\u7701\u5b9a\u897f\u5e02')},
'861559329':{'en': 'Jiuquan, Gansu', 'zh': u('\u7518\u8083\u7701\u9152\u6cc9\u5e02')},
'861559330':{'en': 'Pingliang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e73\u51c9\u5e02')},
'861559331':{'en': 'Pingliang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e73\u51c9\u5e02')},
'861559332':{'en': 'Pingliang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e73\u51c9\u5e02')},
'861559333':{'en': 'Pingliang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e73\u51c9\u5e02')},
'861559334':{'en': 'Pingliang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e73\u51c9\u5e02')},
'861559335':{'en': 'Baiyin, Gansu', 'zh': u('\u7518\u8083\u7701\u767d\u94f6\u5e02')},
'861559336':{'en': 'Baiyin, Gansu', 'zh': u('\u7518\u8083\u7701\u767d\u94f6\u5e02')},
'861559337':{'en': 'Tianshui, Gansu', 'zh': u('\u7518\u8083\u7701\u5929\u6c34\u5e02')},
'861559338':{'en': 'Tianshui, Gansu', 'zh': u('\u7518\u8083\u7701\u5929\u6c34\u5e02')},
'861559339':{'en': 'Tianshui, Gansu', 'zh': u('\u7518\u8083\u7701\u5929\u6c34\u5e02')},
'86155934':{'en': 'Qingyang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e86\u9633\u5e02')},
'861559348':{'en': 'Jiuquan, Gansu', 'zh': u('\u7518\u8083\u7701\u9152\u6cc9\u5e02')},
'861559349':{'en': 'Jiuquan, Gansu', 'zh': u('\u7518\u8083\u7701\u9152\u6cc9\u5e02')},
'86155935':{'en': 'Wuwei, Gansu', 'zh': u('\u7518\u8083\u7701\u6b66\u5a01\u5e02')},
'861559357':{'en': 'Jinchang, Gansu', 'zh': u('\u7518\u8083\u7701\u91d1\u660c\u5e02')},
'861559358':{'en': 'Jinchang, Gansu', 'zh': u('\u7518\u8083\u7701\u91d1\u660c\u5e02')},
'861559359':{'en': 'Jinchang, Gansu', 'zh': u('\u7518\u8083\u7701\u91d1\u660c\u5e02')},
'86155936':{'en': 'Zhangye, Gansu', 'zh': u('\u7518\u8083\u7701\u5f20\u6396\u5e02')},
'86155937':{'en': 'Jiuquan, Gansu', 'zh': u('\u7518\u8083\u7701\u9152\u6cc9\u5e02')},
'861559378':{'en': 'Jiayuguan, Gansu', 'zh': u('\u7518\u8083\u7701\u5609\u5cea\u5173\u5e02')},
'861559379':{'en': 'Jiayuguan, Gansu', 'zh': u('\u7518\u8083\u7701\u5609\u5cea\u5173\u5e02')},
'86155938':{'en': 'Tianshui, Gansu', 'zh': u('\u7518\u8083\u7701\u5929\u6c34\u5e02')},
'861559390':{'en': 'Longnan, Gansu', 'zh': u('\u7518\u8083\u7701\u9647\u5357\u5e02')},
'861559391':{'en': 'Longnan, Gansu', 'zh': u('\u7518\u8083\u7701\u9647\u5357\u5e02')},
'861559392':{'en': 'Longnan, Gansu', 'zh': u('\u7518\u8083\u7701\u9647\u5357\u5e02')},
'861559393':{'en': 'Longnan, Gansu', 'zh': u('\u7518\u8083\u7701\u9647\u5357\u5e02')},
'861559394':{'en': 'Lanzhou, Gansu', 'zh': u('\u7518\u8083\u7701\u5170\u5dde\u5e02')},
'861559395':{'en': 'Baiyin, Gansu', 'zh': u('\u7518\u8083\u7701\u767d\u94f6\u5e02')},
'861559396':{'en': 'Baiyin, Gansu', 'zh': u('\u7518\u8083\u7701\u767d\u94f6\u5e02')},
'861559397':{'en': 'Baiyin, Gansu', 'zh': u('\u7518\u8083\u7701\u767d\u94f6\u5e02')},
'861559398':{'en': 'Baiyin, Gansu', 'zh': u('\u7518\u8083\u7701\u767d\u94f6\u5e02')},
'861559399':{'en': 'Baiyin, Gansu', 'zh': u('\u7518\u8083\u7701\u767d\u94f6\u5e02')},
'861559400':{'en': 'Pingliang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e73\u51c9\u5e02')},
'861559401':{'en': 'Pingliang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e73\u51c9\u5e02')},
'861559402':{'en': 'Longnan, Gansu', 'zh': u('\u7518\u8083\u7701\u9647\u5357\u5e02')},
'861559403':{'en': 'Longnan, Gansu', 'zh': u('\u7518\u8083\u7701\u9647\u5357\u5e02')},
'861559404':{'en': 'Longnan, Gansu', 'zh': u('\u7518\u8083\u7701\u9647\u5357\u5e02')},
'861559405':{'en': 'Longnan, Gansu', 'zh': u('\u7518\u8083\u7701\u9647\u5357\u5e02')},
'861559406':{'en': 'Zhangye, Gansu', 'zh': u('\u7518\u8083\u7701\u5f20\u6396\u5e02')},
'861559407':{'en': 'Zhangye, Gansu', 'zh': u('\u7518\u8083\u7701\u5f20\u6396\u5e02')},
'861559408':{'en': 'Zhangye, Gansu', 'zh': u('\u7518\u8083\u7701\u5f20\u6396\u5e02')},
'861559409':{'en': 'Zhangye, Gansu', 'zh': u('\u7518\u8083\u7701\u5f20\u6396\u5e02')},
'86155941':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861559420':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861559421':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861559422':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861559423':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861559424':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861559425':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861559426':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861559427':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861559428':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861559429':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'86155943':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'86155944':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'86155945':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861559458':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861559459':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'86155946':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'86155947':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861559478':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861559479':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'86155948':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'86155949':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'86155950':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861559503':{'en': 'Wuzhong, Ningxia', 'zh': u('\u5b81\u590f\u5434\u5fe0\u5e02')},
'861559505':{'en': 'Zhongwei, Ningxia', 'zh': u('\u5b81\u590f\u4e2d\u536b\u5e02')},
'86155951':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861559513':{'en': 'Wuzhong, Ningxia', 'zh': u('\u5b81\u590f\u5434\u5fe0\u5e02')},
'861559514':{'en': 'Wuzhong, Ningxia', 'zh': u('\u5b81\u590f\u5434\u5fe0\u5e02')},
'861559515':{'en': 'Zhongwei, Ningxia', 'zh': u('\u5b81\u590f\u4e2d\u536b\u5e02')},
'86155952':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861559523':{'en': 'Wuzhong, Ningxia', 'zh': u('\u5b81\u590f\u5434\u5fe0\u5e02')},
'861559524':{'en': 'Wuzhong, Ningxia', 'zh': u('\u5b81\u590f\u5434\u5fe0\u5e02')},
'861559525':{'en': 'Zhongwei, Ningxia', 'zh': u('\u5b81\u590f\u4e2d\u536b\u5e02')},
'86155953':{'en': 'Wuzhong, Ningxia', 'zh': u('\u5b81\u590f\u5434\u5fe0\u5e02')},
'861559530':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861559531':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861559538':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861559539':{'en': 'Guyuan, Ningxia', 'zh': u('\u5b81\u590f\u56fa\u539f\u5e02')},
'861559540':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861559541':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861559542':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861559543':{'en': 'Wuzhong, Ningxia', 'zh': u('\u5b81\u590f\u5434\u5fe0\u5e02')},
'861559544':{'en': 'Guyuan, Ningxia', 'zh': u('\u5b81\u590f\u56fa\u539f\u5e02')},
'861559545':{'en': 'Guyuan, Ningxia', 'zh': u('\u5b81\u590f\u56fa\u539f\u5e02')},
'861559546':{'en': 'Zhongwei, Ningxia', 'zh': u('\u5b81\u590f\u4e2d\u536b\u5e02')},
'861559547':{'en': 'Zhongwei, Ningxia', 'zh': u('\u5b81\u590f\u4e2d\u536b\u5e02')},
'861559548':{'en': 'Zhongwei, Ningxia', 'zh': u('\u5b81\u590f\u4e2d\u536b\u5e02')},
'861559549':{'en': 'Zhongwei, Ningxia', 'zh': u('\u5b81\u590f\u4e2d\u536b\u5e02')},
'86155955':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861559553':{'en': 'Wuzhong, Ningxia', 'zh': u('\u5b81\u590f\u5434\u5fe0\u5e02')},
'861559554':{'en': 'Guyuan, Ningxia', 'zh': u('\u5b81\u590f\u56fa\u539f\u5e02')},
'861559555':{'en': 'Zhongwei, Ningxia', 'zh': u('\u5b81\u590f\u4e2d\u536b\u5e02')},
'86155956':{'en': 'Haikou, Hainan', 'zh': u('\u6d77\u5357\u7701\u6d77\u53e3\u5e02')},
'86155957':{'en': 'Haikou, Hainan', 'zh': u('\u6d77\u5357\u7701\u6d77\u53e3\u5e02')},
'86155958':{'en': 'Haikou, Hainan', 'zh': u('\u6d77\u5357\u7701\u6d77\u53e3\u5e02')},
'86155959':{'en': 'Haikou, Hainan', 'zh': u('\u6d77\u5357\u7701\u6d77\u53e3\u5e02')},
'86155960':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861559610':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861559611':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861559612':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861559613':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861559614':{'en': 'Xianyang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861559615':{'en': 'Xianyang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861559616':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861559617':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861559618':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861559619':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'86155962':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861559627':{'en': 'Shangluo, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861559628':{'en': 'Shangluo, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861559629':{'en': 'Shangluo, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861559630':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861559631':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861559632':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861559633':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861559634':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861559635':{'en': 'Shangluo, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861559636':{'en': 'Shangluo, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861559637':{'en': 'Shangluo, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861559638':{'en': 'Shangluo, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861559639':{'en': 'Shangluo, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861559640':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861559641':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861559642':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861559643':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861559644':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861559645':{'en': 'Xianyang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861559646':{'en': 'Xianyang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861559647':{'en': 'Xianyang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861559648':{'en': 'Tongchuan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u94dc\u5ddd\u5e02')},
'861559649':{'en': 'Tongchuan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u94dc\u5ddd\u5e02')},
'86155965':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'86155966':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'86155967':{'en': 'Xianyang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'86155968':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'86155969':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'86155970':{'en': 'Xining, Qinghai', 'zh': u('\u9752\u6d77\u7701\u897f\u5b81\u5e02')},
'861559707':{'en': 'Haidong, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u4e1c\u5730\u533a')},
'861559708':{'en': 'Hainan, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861559709':{'en': 'Hainan, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'86155971':{'en': 'Xining, Qinghai', 'zh': u('\u9752\u6d77\u7701\u897f\u5b81\u5e02')},
'86155972':{'en': 'Haidong, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u4e1c\u5730\u533a')},
'861559730':{'en': 'Haidong, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u4e1c\u5730\u533a')},
'861559731':{'en': 'Yushu, Qinghai', 'zh': u('\u9752\u6d77\u7701\u7389\u6811\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861559732':{'en': 'Yushu, Qinghai', 'zh': u('\u9752\u6d77\u7701\u7389\u6811\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861559733':{'en': 'Huangnan, Qinghai', 'zh': u('\u9752\u6d77\u7701\u9ec4\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861559734':{'en': 'Xining, Qinghai', 'zh': u('\u9752\u6d77\u7701\u897f\u5b81\u5e02')},
'861559735':{'en': 'Hainan, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861559736':{'en': 'Yushu, Qinghai', 'zh': u('\u9752\u6d77\u7701\u7389\u6811\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861559737':{'en': 'Xining, Qinghai', 'zh': u('\u9752\u6d77\u7701\u897f\u5b81\u5e02')},
'861559738':{'en': 'Xining, Qinghai', 'zh': u('\u9752\u6d77\u7701\u897f\u5b81\u5e02')},
'861559739':{'en': 'Xining, Qinghai', 'zh': u('\u9752\u6d77\u7701\u897f\u5b81\u5e02')},
'86155974':{'en': 'Xining, Qinghai', 'zh': u('\u9752\u6d77\u7701\u897f\u5b81\u5e02')},
'861559740':{'en': 'Haibei, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u5317\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861559745':{'en': 'Haidong, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u4e1c\u5730\u533a')},
'86155975':{'en': 'Haidong, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u4e1c\u5730\u533a')},
'861559756':{'en': 'Huangnan, Qinghai', 'zh': u('\u9752\u6d77\u7701\u9ec4\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861559757':{'en': 'Hainan, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861559758':{'en': 'Hainan, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861559759':{'en': 'Haixi, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u897f\u8499\u53e4\u65cf\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861559760':{'en': 'Yushu, Qinghai', 'zh': u('\u9752\u6d77\u7701\u7389\u6811\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861559761':{'en': 'Yushu, Qinghai', 'zh': u('\u9752\u6d77\u7701\u7389\u6811\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861559762':{'en': 'Yushu, Qinghai', 'zh': u('\u9752\u6d77\u7701\u7389\u6811\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861559763':{'en': 'Hainan, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861559764':{'en': 'Hainan, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861559765':{'en': 'Hainan, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861559766':{'en': 'Hainan, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861559767':{'en': 'Xining, Qinghai', 'zh': u('\u9752\u6d77\u7701\u897f\u5b81\u5e02')},
'861559768':{'en': 'Xining, Qinghai', 'zh': u('\u9752\u6d77\u7701\u897f\u5b81\u5e02')},
'861559769':{'en': 'Xining, Qinghai', 'zh': u('\u9752\u6d77\u7701\u897f\u5b81\u5e02')},
'861559770':{'en': 'Guiyang, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u8d35\u9633\u5e02')},
'861559771':{'en': 'Guiyang, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u8d35\u9633\u5e02')},
'861559772':{'en': 'Guiyang, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u8d35\u9633\u5e02')},
'861559773':{'en': 'Zunyi, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9075\u4e49\u5e02')},
'861559774':{'en': 'Zunyi, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9075\u4e49\u5e02')},
'861559775':{'en': 'Zunyi, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9075\u4e49\u5e02')},
'861559776':{'en': 'Zunyi, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9075\u4e49\u5e02')},
'861559777':{'en': 'Qiannan, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9ed4\u5357\u5e03\u4f9d\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861559778':{'en': 'Qiannan, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9ed4\u5357\u5e03\u4f9d\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861559779':{'en': 'Qiannan, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9ed4\u5357\u5e03\u4f9d\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'86155978':{'en': 'Liupanshui, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u516d\u76d8\u6c34\u5e02')},
'861559780':{'en': 'Anshun, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u5b89\u987a\u5e02')},
'861559781':{'en': 'Qiandongnan, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9ed4\u4e1c\u5357\u82d7\u65cf\u4f97\u65cf\u81ea\u6cbb\u5dde')},
'861559790':{'en': 'Tongren, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u94dc\u4ec1\u5730\u533a')},
'861559791':{'en': 'Tongren, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u94dc\u4ec1\u5730\u533a')},
'861559792':{'en': 'Tongren, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u94dc\u4ec1\u5730\u533a')},
'861559793':{'en': 'Bijie, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u6bd5\u8282\u5730\u533a')},
'861559794':{'en': 'Bijie, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u6bd5\u8282\u5730\u533a')},
'861559795':{'en': 'Bijie, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u6bd5\u8282\u5730\u533a')},
'861559796':{'en': 'Bijie, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u6bd5\u8282\u5730\u533a')},
'861559797':{'en': 'Qianxinan, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9ed4\u897f\u5357\u5e03\u4f9d\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861559798':{'en': 'Qianxinan, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9ed4\u897f\u5357\u5e03\u4f9d\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861559799':{'en': 'Qianxinan, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9ed4\u897f\u5357\u5e03\u4f9d\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'86155980':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'86155981':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'86155982':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'86155983':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'86155984':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'86155985':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861559850':{'en': 'Hinggan, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5174\u5b89\u76df')},
'861559851':{'en': 'Hinggan, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5174\u5b89\u76df')},
'861559852':{'en': 'Hinggan, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5174\u5b89\u76df')},
'861559853':{'en': 'Hinggan, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5174\u5b89\u76df')},
'86155986':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861559860':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861559861':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'86155987':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861559880':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861559881':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861559882':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861559883':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861559884':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861559885':{'en': 'Bayannur, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861559886':{'en': 'Bayannur, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861559887':{'en': 'Bayannur, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861559888':{'en': 'Bayannur, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861559889':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'86155989':{'en': 'Hinggan, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5174\u5b89\u76df')},
'861559890':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861559891':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861559892':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861559893':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'86155990':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'86155991':{'en': 'Guiyang, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u8d35\u9633\u5e02')},
'861559919':{'en': 'Anshun, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u5b89\u987a\u5e02')},
'86155992':{'en': 'Zunyi, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9075\u4e49\u5e02')},
'86155993':{'en': 'Bijie, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u6bd5\u8282\u5730\u533a')},
'861559930':{'en': 'Anshun, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u5b89\u987a\u5e02')},
'861559931':{'en': 'Anshun, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u5b89\u987a\u5e02')},
'861559939':{'en': 'Qianxinan, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9ed4\u897f\u5357\u5e03\u4f9d\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861559940':{'en': 'Qiannan, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9ed4\u5357\u5e03\u4f9d\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861559941':{'en': 'Qiannan, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9ed4\u5357\u5e03\u4f9d\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861559942':{'en': 'Qiannan, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9ed4\u5357\u5e03\u4f9d\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861559943':{'en': 'Qiannan, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9ed4\u5357\u5e03\u4f9d\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861559944':{'en': 'Qiannan, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9ed4\u5357\u5e03\u4f9d\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861559945':{'en': 'Qiandongnan, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9ed4\u4e1c\u5357\u82d7\u65cf\u4f97\u65cf\u81ea\u6cbb\u5dde')},
'861559946':{'en': 'Tongren, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u94dc\u4ec1\u5730\u533a')},
'861559947':{'en': 'Tongren, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u94dc\u4ec1\u5730\u533a')},
'861559948':{'en': 'Tongren, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u94dc\u4ec1\u5730\u533a')},
'861559949':{'en': 'Tongren, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u94dc\u4ec1\u5730\u533a')},
'86155995':{'en': 'Liupanshui, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u516d\u76d8\u6c34\u5e02')},
'86155996':{'en': 'Ili, Xinjiang', 'zh': u('\u65b0\u7586\u4f0a\u7281\u54c8\u8428\u514b\u81ea\u6cbb\u5dde')},
'861559960':{'en': 'Hotan, Xinjiang', 'zh': u('\u65b0\u7586\u548c\u7530\u5730\u533a')},
'861559961':{'en': 'Changji, Xinjiang', 'zh': u('\u65b0\u7586\u660c\u5409\u56de\u65cf\u81ea\u6cbb\u5dde')},
'86155997':{'en': 'Aksu, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u514b\u82cf\u5730\u533a')},
'861559970':{'en': 'Hotan, Xinjiang', 'zh': u('\u65b0\u7586\u548c\u7530\u5730\u533a')},
'861559979':{'en': 'Changji, Xinjiang', 'zh': u('\u65b0\u7586\u660c\u5409\u56de\u65cf\u81ea\u6cbb\u5dde')},
'86155998':{'en': 'Kashi, Xinjiang', 'zh': u('\u65b0\u7586\u5580\u4ec0\u5730\u533a')},
'861559980':{'en': 'Hotan, Xinjiang', 'zh': u('\u65b0\u7586\u548c\u7530\u5730\u533a')},
'861559981':{'en': 'Changji, Xinjiang', 'zh': u('\u65b0\u7586\u660c\u5409\u56de\u65cf\u81ea\u6cbb\u5dde')},
'861559982':{'en': 'Changji, Xinjiang', 'zh': u('\u65b0\u7586\u660c\u5409\u56de\u65cf\u81ea\u6cbb\u5dde')},
'861559989':{'en': 'Changji, Xinjiang', 'zh': u('\u65b0\u7586\u660c\u5409\u56de\u65cf\u81ea\u6cbb\u5dde')},
'861559990':{'en': 'Aksu, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u514b\u82cf\u5730\u533a')},
'861559991':{'en': 'Kashi, Xinjiang', 'zh': u('\u65b0\u7586\u5580\u4ec0\u5730\u533a')},
'861559992':{'en': 'Kashi, Xinjiang', 'zh': u('\u65b0\u7586\u5580\u4ec0\u5730\u533a')},
'861559993':{'en': 'Hotan, Xinjiang', 'zh': u('\u65b0\u7586\u548c\u7530\u5730\u533a')},
'861559994':{'en': 'Kashi, Xinjiang', 'zh': u('\u65b0\u7586\u5580\u4ec0\u5730\u533a')},
'861559995':{'en': 'Aksu, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u514b\u82cf\u5730\u533a')},
'861559996':{'en': 'Aksu, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u514b\u82cf\u5730\u533a')},
'861559997':{'en': 'Aksu, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u514b\u82cf\u5730\u533a')},
'861559998':{'en': 'Kashi, Xinjiang', 'zh': u('\u65b0\u7586\u5580\u4ec0\u5730\u533a')},
'861559999':{'en': 'Ili, Xinjiang', 'zh': u('\u65b0\u7586\u4f0a\u7281\u54c8\u8428\u514b\u81ea\u6cbb\u5dde')},
'8615600':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86156010':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86156011':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86156012':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86156013':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861560140':{'en': 'HuaiAn, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861560141':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861560142':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861560143':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861560144':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861560145':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861560146':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861560147':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861560148':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861560149':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861560150':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861560151':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861560152':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861560153':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861560154':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861560155':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861560156':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861560157':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861560158':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861560159':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'86156016':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'86156017':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'86156018':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'86156019':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'86156020':{'en': 'Tianjin', 'zh': u('\u5929\u6d25\u5e02')},
'86156021':{'en': 'Tianjin', 'zh': u('\u5929\u6d25\u5e02')},
'86156022':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861560230':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861560231':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861560232':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861560233':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861560234':{'en': 'Shaoguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u97f6\u5173\u5e02')},
'861560235':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861560236':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861560237':{'en': 'Yunfu, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e91\u6d6e\u5e02')},
'861560238':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861560239':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86156024':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861560240':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861560241':{'en': 'Foshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861560242':{'en': 'Foshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861560249':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861560250':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861560251':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861560252':{'en': 'Yangjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u9633\u6c5f\u5e02')},
'861560253':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861560254':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861560255':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861560256':{'en': 'Foshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861560257':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861560258':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861560259':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861560260':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861560261':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861560262':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861560263':{'en': 'Heyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6cb3\u6e90\u5e02')},
'861560264':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861560265':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861560266':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861560267':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861560268':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861560269':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'86156027':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861560275':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861560276':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861560278':{'en': 'Meizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6885\u5dde\u5e02')},
'861560279':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'86156028':{'en': 'Foshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861560282':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861560286':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861560287':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861560288':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'86156029':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861560300':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861560301':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861560302':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861560303':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861560304':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861560305':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861560306':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861560307':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861560308':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861560309':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'861560310':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861560311':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861560312':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861560313':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861560314':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861560315':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861560316':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861560317':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861560318':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861560319':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'86156032':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'86156033':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861560340':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861560341':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861560342':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861560343':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861560344':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861560345':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861560346':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861560347':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861560348':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861560349':{'en': 'Shuozhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u6714\u5dde\u5e02')},
'861560350':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861560351':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861560352':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861560353':{'en': 'Yangquan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u9633\u6cc9\u5e02')},
'861560354':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861560355':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861560356':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861560357':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861560358':{'en': u('L\u00fcliang, Shanxi'), 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861560359':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861560360':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861560361':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861560362':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861560363':{'en': 'Mudanjiang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7261\u4e39\u6c5f\u5e02')},
'861560364':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861560365':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861560366':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861560367':{'en': 'Jixi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e21\u897f\u5e02')},
'861560368':{'en': 'Jiamusi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f73\u6728\u65af\u5e02')},
'861560369':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861560370':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861560371':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861560372':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861560373':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861560374':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'861560375':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861560376':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861560377':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861560378':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'861560379':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861560380':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861560381':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861560382':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861560383':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861560384':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861560385':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'861560386':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'861560387':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'861560388':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'861560389':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'861560390':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861560391':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'861560392':{'en': 'Hebi, Henan', 'zh': u('\u6cb3\u5357\u7701\u9e64\u58c1\u5e02')},
'861560393':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'861560394':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'861560395':{'en': 'Luohe, Henan', 'zh': u('\u6cb3\u5357\u7701\u6f2f\u6cb3\u5e02')},
'861560396':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861560397':{'en': 'Sanmenxia, Henan', 'zh': u('\u6cb3\u5357\u7701\u4e09\u95e8\u5ce1\u5e02')},
'861560398':{'en': 'Sanmenxia, Henan', 'zh': u('\u6cb3\u5357\u7701\u4e09\u95e8\u5ce1\u5e02')},
'861560399':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'86156040':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861560406':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861560407':{'en': 'Yingkou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8425\u53e3\u5e02')},
'861560408':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861560409':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861560410':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861560411':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861560412':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861560413':{'en': 'Fushun, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u629a\u987a\u5e02')},
'861560414':{'en': 'Benxi, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u672c\u6eaa\u5e02')},
'861560415':{'en': 'Dandong, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u4e39\u4e1c\u5e02')},
'861560416':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861560417':{'en': 'Yingkou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8425\u53e3\u5e02')},
'861560418':{'en': 'Fuxin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u961c\u65b0\u5e02')},
'861560419':{'en': 'Liaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8fbd\u9633\u5e02')},
'861560420':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861560421':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861560422':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861560423':{'en': 'Fushun, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u629a\u987a\u5e02')},
'861560424':{'en': 'Benxi, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u672c\u6eaa\u5e02')},
'861560425':{'en': 'Dandong, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u4e39\u4e1c\u5e02')},
'861560426':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861560427':{'en': 'Panjin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u76d8\u9526\u5e02')},
'861560428':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861560429':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861560430':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'861560431':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'861560432':{'en': 'Jilin, Jilin', 'zh': u('\u5409\u6797\u7701\u5409\u6797\u5e02')},
'861560433':{'en': 'Yanbian, Jilin', 'zh': u('\u5409\u6797\u7701\u5ef6\u8fb9\u671d\u9c9c\u65cf\u81ea\u6cbb\u5dde')},
'861560434':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'861560435':{'en': 'Tonghua, Jilin', 'zh': u('\u5409\u6797\u7701\u901a\u5316\u5e02')},
'861560436':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861560437':{'en': 'Liaoyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u8fbd\u6e90\u5e02')},
'861560438':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861560439':{'en': 'Baishan, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u5c71\u5e02')},
'86156044':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'861560450':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861560451':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861560452':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861560453':{'en': 'Mudanjiang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7261\u4e39\u6c5f\u5e02')},
'861560454':{'en': 'Jiamusi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f73\u6728\u65af\u5e02')},
'861560455':{'en': 'Suihua, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7ee5\u5316\u5e02')},
'861560456':{'en': 'Heihe, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9ed1\u6cb3\u5e02')},
'861560457':{'en': 'Da Hinggan Ling, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5174\u5b89\u5cad\u5730\u533a')},
'861560458':{'en': 'Yichun, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f0a\u6625\u5e02')},
'861560459':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861560460':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861560461':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861560462':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861560463':{'en': 'Mudanjiang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7261\u4e39\u6c5f\u5e02')},
'861560464':{'en': 'Qitaihe, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4e03\u53f0\u6cb3\u5e02')},
'861560465':{'en': 'Suihua, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7ee5\u5316\u5e02')},
'861560466':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861560467':{'en': 'Jixi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e21\u897f\u5e02')},
'861560468':{'en': 'Hegang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e64\u5c97\u5e02')},
'861560469':{'en': 'Shuangyashan, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u53cc\u9e2d\u5c71\u5e02')},
'861560470':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861560471':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861560472':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861560473':{'en': 'Wuhai, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u6d77\u5e02')},
'861560474':{'en': 'Ulanqab, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u5170\u5bdf\u5e03\u5e02')},
'861560475':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'861560476':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861560477':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861560478':{'en': 'Bayannur, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861560479':{'en': 'Xilin, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9521\u6797\u90ed\u52d2\u76df')},
'861560480':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861560481':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861560482':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861560483':{'en': 'Mudanjiang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7261\u4e39\u6c5f\u5e02')},
'861560484':{'en': 'Mudanjiang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7261\u4e39\u6c5f\u5e02')},
'861560485':{'en': 'Suihua, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7ee5\u5316\u5e02')},
'861560486':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861560487':{'en': 'Jixi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e21\u897f\u5e02')},
'861560488':{'en': 'Hegang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e64\u5c97\u5e02')},
'861560489':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861560490':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861560491':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861560492':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861560493':{'en': 'Fushun, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u629a\u987a\u5e02')},
'861560494':{'en': 'Benxi, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u672c\u6eaa\u5e02')},
'861560495':{'en': 'Dandong, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u4e39\u4e1c\u5e02')},
'861560496':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861560497':{'en': 'Yingkou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8425\u53e3\u5e02')},
'861560498':{'en': 'Fuxin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u961c\u65b0\u5e02')},
'861560499':{'en': 'Liaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8fbd\u9633\u5e02')},
'861560500':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861560501':{'en': 'Putian, Fujian', 'zh': u('\u798f\u5efa\u7701\u8386\u7530\u5e02')},
'861560502':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861560503':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861560504':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861560505':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861560506':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861560507':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'861560508':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861560509':{'en': 'Longyan, Fujian', 'zh': u('\u798f\u5efa\u7701\u9f99\u5ca9\u5e02')},
'86156051':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861560510':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861560511':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861560512':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861560513':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861560520':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861560521':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861560522':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861560523':{'en': 'HuaiAn, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861560524':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861560525':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861560526':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861560527':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861560528':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861560529':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861560530':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861560531':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861560532':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861560533':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861560534':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861560535':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861560536':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861560537':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861560538':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861560539':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861560540':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861560541':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861560542':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861560543':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861560544':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861560545':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861560546':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861560547':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861560548':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861560549':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861560550':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'861560551':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861560552':{'en': 'Bengbu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u868c\u57e0\u5e02')},
'861560553':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861560554':{'en': 'Huainan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5357\u5e02')},
'861560555':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861560556':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861560557':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861560558':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861560559':{'en': 'Huangshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9ec4\u5c71\u5e02')},
'861560560':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861560561':{'en': 'Huaibei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5317\u5e02')},
'861560562':{'en': 'Tongling, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u94dc\u9675\u5e02')},
'861560563':{'en': 'Xuancheng, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5ba3\u57ce\u5e02')},
'861560564':{'en': 'LuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861560565':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861560566':{'en': 'Chizhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6c60\u5dde\u5e02')},
'861560567':{'en': 'Bozhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u4eb3\u5dde\u5e02')},
'861560568':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861560569':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861560570':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'861560571':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861560572':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861560573':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861560574':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861560575':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861560576':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861560577':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861560578':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861560579':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861560580':{'en': 'Zhoushan, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u821f\u5c71\u5e02')},
'861560581':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861560582':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861560583':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861560584':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861560585':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861560586':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861560587':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861560588':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861560589':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861560590':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861560591':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861560592':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861560593':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861560594':{'en': 'Putian, Fujian', 'zh': u('\u798f\u5efa\u7701\u8386\u7530\u5e02')},
'861560595':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861560596':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861560597':{'en': 'Longyan, Fujian', 'zh': u('\u798f\u5efa\u7701\u9f99\u5ca9\u5e02')},
'861560598':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861560599':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'861560600':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861560601':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861560602':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861560603':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861560604':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861560605':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861560606':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861560607':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861560608':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861560609':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861560610':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861560611':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861560612':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861560613':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861560614':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861560615':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861560616':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861560617':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861560618':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861560619':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'86156062':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861560627':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861560628':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861560629':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861560630':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861560631':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861560632':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861560633':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861560634':{'en': 'Laiwu, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83b1\u829c\u5e02')},
'861560635':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861560636':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861560637':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861560638':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861560639':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861560640':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861560641':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861560642':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861560643':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861560644':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861560645':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861560646':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861560647':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861560648':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861560649':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'86156065':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861560650':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861560651':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861560652':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861560653':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861560660':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861560661':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861560662':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861560663':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861560664':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861560665':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861560666':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861560667':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861560668':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861560669':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861560670':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'861560671':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861560672':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861560673':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861560674':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861560675':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861560676':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861560677':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861560678':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861560679':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861560680':{'en': 'Zhoushan, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u821f\u5c71\u5e02')},
'861560681':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861560682':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861560683':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861560684':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861560685':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861560686':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861560687':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861560688':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861560689':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861560690':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861560691':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861560692':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861560693':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861560694':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861560695':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861560696':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861560697':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861560698':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861560699':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861560700':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861560701':{'en': 'Yingtan, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u9e70\u6f6d\u5e02')},
'861560702':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861560703':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861560704':{'en': 'Pingxiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u840d\u4e61\u5e02')},
'861560705':{'en': 'Yichun, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5b9c\u6625\u5e02')},
'861560706':{'en': 'JiAn, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5409\u5b89\u5e02')},
'861560707':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861560708':{'en': 'Jingdezhen, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u666f\u5fb7\u9547\u5e02')},
'861560709':{'en': 'Xinyu, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u65b0\u4f59\u5e02')},
'86156071':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861560720':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861560721':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861560722':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861560723':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'861560724':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861560725':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861560726':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861560727':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'861560728':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861560729':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861560730':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861560731':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861560732':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'861560733':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861560734':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861560735':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861560736':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861560737':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861560738':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861560739':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861560740':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861560741':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861560742':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861560743':{'en': 'Xiangxi, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u897f\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861560744':{'en': 'Zhangjiajie, Hunan', 'zh': u('\u6e56\u5357\u7701\u5f20\u5bb6\u754c\u5e02')},
'861560745':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861560746':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861560747':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861560748':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861560749':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'86156075':{'en': 'Haikou, Hainan', 'zh': u('\u6d77\u5357\u7701\u6d77\u53e3\u5e02')},
'86156076':{'en': 'Haikou, Hainan', 'zh': u('\u6d77\u5357\u7701\u6d77\u53e3\u5e02')},
'861560770':{'en': 'Fangchenggang, Guangxi', 'zh': u('\u5e7f\u897f\u9632\u57ce\u6e2f\u5e02')},
'861560771':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861560772':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'861560773':{'en': 'Guilin, Guangxi', 'zh': u('\u5e7f\u897f\u6842\u6797\u5e02')},
'861560774':{'en': 'Wuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u68a7\u5dde\u5e02')},
'861560775':{'en': 'Yulin, Guangxi', 'zh': u('\u5e7f\u897f\u7389\u6797\u5e02')},
'861560776':{'en': 'Baise, Guangxi', 'zh': u('\u5e7f\u897f\u767e\u8272\u5e02')},
'861560777':{'en': 'Qinzhou, Guangxi', 'zh': u('\u5e7f\u897f\u94a6\u5dde\u5e02')},
'861560778':{'en': 'Hechi, Guangxi', 'zh': u('\u5e7f\u897f\u6cb3\u6c60\u5e02')},
'861560779':{'en': 'Beihai, Guangxi', 'zh': u('\u5e7f\u897f\u5317\u6d77\u5e02')},
'861560780':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861560781':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861560782':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'861560783':{'en': 'Guilin, Guangxi', 'zh': u('\u5e7f\u897f\u6842\u6797\u5e02')},
'861560784':{'en': 'Hezhou, Guangxi', 'zh': u('\u5e7f\u897f\u8d3a\u5dde\u5e02')},
'861560785':{'en': 'Guigang, Guangxi', 'zh': u('\u5e7f\u897f\u8d35\u6e2f\u5e02')},
'861560786':{'en': 'Baise, Guangxi', 'zh': u('\u5e7f\u897f\u767e\u8272\u5e02')},
'861560787':{'en': 'Qinzhou, Guangxi', 'zh': u('\u5e7f\u897f\u94a6\u5dde\u5e02')},
'861560788':{'en': 'Hechi, Guangxi', 'zh': u('\u5e7f\u897f\u6cb3\u6c60\u5e02')},
'861560789':{'en': 'Beihai, Guangxi', 'zh': u('\u5e7f\u897f\u5317\u6d77\u5e02')},
'861560790':{'en': 'Xinyu, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u65b0\u4f59\u5e02')},
'861560791':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861560792':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861560793':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861560794':{'en': 'Fuzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u629a\u5dde\u5e02')},
'861560795':{'en': 'Yichun, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5b9c\u6625\u5e02')},
'861560796':{'en': 'JiAn, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5409\u5b89\u5e02')},
'861560797':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861560798':{'en': 'Jingdezhen, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u666f\u5fb7\u9547\u5e02')},
'861560799':{'en': 'Pingxiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u840d\u4e61\u5e02')},
'86156080':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861560810':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'861560811':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861560812':{'en': 'Guangyuan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5143\u5e02')},
'861560813':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861560814':{'en': 'Panzhihua, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6500\u679d\u82b1\u5e02')},
'861560815':{'en': 'Liangshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u51c9\u5c71\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861560816':{'en': 'YaAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u96c5\u5b89\u5e02')},
'861560817':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861560818':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861560819':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861560820':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861560821':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861560822':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861560823':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861560824':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861560825':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861560826':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861560827':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861560828':{'en': 'GuangAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5b89\u5e02')},
'861560829':{'en': 'Bazhong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5df4\u4e2d\u5e02')},
'86156083':{'en': 'Chongqing', 'zh': u('\u91cd\u5e86\u5e02')},
'86156084':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861560850':{'en': 'Guiyang, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u8d35\u9633\u5e02')},
'861560851':{'en': 'Guiyang, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u8d35\u9633\u5e02')},
'861560852':{'en': 'Zunyi, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9075\u4e49\u5e02')},
'861560853':{'en': 'Anshun, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u5b89\u987a\u5e02')},
'861560854':{'en': 'Qiannan, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9ed4\u5357\u5e03\u4f9d\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861560855':{'en': 'Qiandongnan, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9ed4\u4e1c\u5357\u82d7\u65cf\u4f97\u65cf\u81ea\u6cbb\u5dde')},
'861560856':{'en': 'Tongren, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u94dc\u4ec1\u5730\u533a')},
'861560857':{'en': 'Bijie, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u6bd5\u8282\u5730\u533a')},
'861560858':{'en': 'Liupanshui, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u516d\u76d8\u6c34\u5e02')},
'861560859':{'en': 'Qianxinan, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9ed4\u897f\u5357\u5e03\u4f9d\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861560860':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861560861':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861560862':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861560863':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861560864':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861560865':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861560866':{'en': 'Suizhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u968f\u5dde\u5e02')},
'861560867':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'861560868':{'en': 'Ezhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u9102\u5dde\u5e02')},
'861560869':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861560870':{'en': 'Zhaotong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u662d\u901a\u5e02')},
'861560871':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861560872':{'en': 'Dali, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5927\u7406\u767d\u65cf\u81ea\u6cbb\u5dde')},
'861560873':{'en': 'Honghe, Yunnan', 'zh': u('\u4e91\u5357\u7701\u7ea2\u6cb3\u54c8\u5c3c\u65cf\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861560874':{'en': 'Qujing, Yunnan', 'zh': u('\u4e91\u5357\u7701\u66f2\u9756\u5e02')},
'861560875':{'en': 'Baoshan, Yunnan', 'zh': u('\u4e91\u5357\u7701\u4fdd\u5c71\u5e02')},
'861560876':{'en': 'Wenshan, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6587\u5c71\u58ee\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861560877':{'en': 'Yuxi, Yunnan', 'zh': u('\u4e91\u5357\u7701\u7389\u6eaa\u5e02')},
'861560878':{'en': 'Chuxiong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u695a\u96c4\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861560879':{'en': 'Puer, Yunnan', 'zh': u('\u4e91\u5357\u7701\u666e\u6d31\u5e02')},
'861560880':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861560881':{'en': 'Xishuangbanna, Yunnan', 'zh': u('\u4e91\u5357\u7701\u897f\u53cc\u7248\u7eb3\u50a3\u65cf\u81ea\u6cbb\u5dde')},
'861560882':{'en': 'Dehong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5fb7\u5b8f\u50a3\u65cf\u666f\u9887\u65cf\u81ea\u6cbb\u5dde')},
'861560883':{'en': 'Lincang, Yunnan', 'zh': u('\u4e91\u5357\u7701\u4e34\u6ca7\u5e02')},
'861560884':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861560885':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861560886':{'en': 'Nujiang, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6012\u6c5f\u5088\u50f3\u65cf\u81ea\u6cbb\u5dde')},
'861560887':{'en': 'Deqen, Yunnan', 'zh': u('\u4e91\u5357\u7701\u8fea\u5e86\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861560888':{'en': 'Lijiang, Yunnan', 'zh': u('\u4e91\u5357\u7701\u4e3d\u6c5f\u5e02')},
'861560889':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861560890':{'en': 'Lhasa, Tibet', 'zh': u('\u897f\u85cf\u62c9\u8428\u5e02')},
'861560891':{'en': 'Lhasa, Tibet', 'zh': u('\u897f\u85cf\u62c9\u8428\u5e02')},
'861560892':{'en': 'Xigaze, Tibet', 'zh': u('\u897f\u85cf\u65e5\u5580\u5219\u5730\u533a')},
'861560893':{'en': 'Shannan, Tibet', 'zh': u('\u897f\u85cf\u5c71\u5357\u5730\u533a')},
'861560894':{'en': 'Nyingchi, Tibet', 'zh': u('\u897f\u85cf\u6797\u829d\u5730\u533a')},
'861560895':{'en': 'Qamdo, Tibet', 'zh': u('\u897f\u85cf\u660c\u90fd\u5730\u533a')},
'861560896':{'en': 'Nagqu, Tibet', 'zh': u('\u897f\u85cf\u90a3\u66f2\u5730\u533a')},
'861560897':{'en': 'Ngari, Tibet', 'zh': u('\u897f\u85cf\u963f\u91cc\u5730\u533a')},
'861560898':{'en': 'Lhasa, Tibet', 'zh': u('\u897f\u85cf\u62c9\u8428\u5e02')},
'861560899':{'en': 'Lhasa, Tibet', 'zh': u('\u897f\u85cf\u62c9\u8428\u5e02')},
'861560900':{'en': 'Zigong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u81ea\u8d21\u5e02')},
'861560901':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861560902':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'861560903':{'en': 'Meishan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7709\u5c71\u5e02')},
'861560904':{'en': 'Aba, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u963f\u575d\u85cf\u65cf\u7f8c\u65cf\u81ea\u6cbb\u5dde')},
'861560905':{'en': 'Neijiang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5185\u6c5f\u5e02')},
'861560906':{'en': 'Suining, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u9042\u5b81\u5e02')},
'861560907':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861560908':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'861560909':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861560910':{'en': 'Xianyang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861560911':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861560912':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861560913':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861560914':{'en': 'Shangluo, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861560915':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861560916':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861560917':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861560918':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861560919':{'en': 'Tongchuan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u94dc\u5ddd\u5e02')},
'86156092':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861560930':{'en': 'Linxia, Gansu', 'zh': u('\u7518\u8083\u7701\u4e34\u590f\u56de\u65cf\u81ea\u6cbb\u5dde')},
'861560931':{'en': 'Lanzhou, Gansu', 'zh': u('\u7518\u8083\u7701\u5170\u5dde\u5e02')},
'861560932':{'en': 'Dingxi, Gansu', 'zh': u('\u7518\u8083\u7701\u5b9a\u897f\u5e02')},
'861560933':{'en': 'Pingliang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e73\u51c9\u5e02')},
'861560934':{'en': 'Qingyang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e86\u9633\u5e02')},
'861560935':{'en': 'Wuwei, Gansu', 'zh': u('\u7518\u8083\u7701\u6b66\u5a01\u5e02')},
'861560936':{'en': 'Zhangye, Gansu', 'zh': u('\u7518\u8083\u7701\u5f20\u6396\u5e02')},
'861560937':{'en': 'Jiuquan, Gansu', 'zh': u('\u7518\u8083\u7701\u9152\u6cc9\u5e02')},
'861560938':{'en': 'Tianshui, Gansu', 'zh': u('\u7518\u8083\u7701\u5929\u6c34\u5e02')},
'861560939':{'en': 'Longnan, Gansu', 'zh': u('\u7518\u8083\u7701\u9647\u5357\u5e02')},
'861560940':{'en': 'Linxia, Gansu', 'zh': u('\u7518\u8083\u7701\u4e34\u590f\u56de\u65cf\u81ea\u6cbb\u5dde')},
'861560941':{'en': 'Lanzhou, Gansu', 'zh': u('\u7518\u8083\u7701\u5170\u5dde\u5e02')},
'861560942':{'en': 'Dingxi, Gansu', 'zh': u('\u7518\u8083\u7701\u5b9a\u897f\u5e02')},
'861560943':{'en': 'Baiyin, Gansu', 'zh': u('\u7518\u8083\u7701\u767d\u94f6\u5e02')},
'861560944':{'en': 'Tianshui, Gansu', 'zh': u('\u7518\u8083\u7701\u5929\u6c34\u5e02')},
'861560945':{'en': 'Jinchang, Gansu', 'zh': u('\u7518\u8083\u7701\u91d1\u660c\u5e02')},
'861560946':{'en': 'Qingyang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e86\u9633\u5e02')},
'861560947':{'en': 'Jiayuguan, Gansu', 'zh': u('\u7518\u8083\u7701\u5609\u5cea\u5173\u5e02')},
'861560948':{'en': 'Jiuquan, Gansu', 'zh': u('\u7518\u8083\u7701\u9152\u6cc9\u5e02')},
'861560949':{'en': 'Baiyin, Gansu', 'zh': u('\u7518\u8083\u7701\u767d\u94f6\u5e02')},
'861560950':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861560951':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861560952':{'en': 'Shizuishan, Ningxia', 'zh': u('\u5b81\u590f\u77f3\u5634\u5c71\u5e02')},
'861560953':{'en': 'Wuzhong, Ningxia', 'zh': u('\u5b81\u590f\u5434\u5fe0\u5e02')},
'861560954':{'en': 'Guyuan, Ningxia', 'zh': u('\u5b81\u590f\u56fa\u539f\u5e02')},
'861560955':{'en': 'Zhongwei, Ningxia', 'zh': u('\u5b81\u590f\u4e2d\u536b\u5e02')},
'861560956':{'en': 'Wuzhong, Ningxia', 'zh': u('\u5b81\u590f\u5434\u5fe0\u5e02')},
'861560957':{'en': 'Zhongwei, Ningxia', 'zh': u('\u5b81\u590f\u4e2d\u536b\u5e02')},
'861560958':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861560959':{'en': 'Guyuan, Ningxia', 'zh': u('\u5b81\u590f\u56fa\u539f\u5e02')},
'861560960':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'861560961':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861560962':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861560963':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861560964':{'en': 'LuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861560965':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861560966':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861560967':{'en': 'Bozhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u4eb3\u5dde\u5e02')},
'861560968':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861560969':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861560970':{'en': 'Haibei, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u5317\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861560971':{'en': 'Xining, Qinghai', 'zh': u('\u9752\u6d77\u7701\u897f\u5b81\u5e02')},
'861560972':{'en': 'Haidong, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u4e1c\u5730\u533a')},
'861560973':{'en': 'Huangnan, Qinghai', 'zh': u('\u9752\u6d77\u7701\u9ec4\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861560974':{'en': 'Hainan, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861560975':{'en': 'Golog, Qinghai', 'zh': u('\u9752\u6d77\u7701\u679c\u6d1b\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861560976':{'en': 'Yushu, Qinghai', 'zh': u('\u9752\u6d77\u7701\u7389\u6811\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861560977':{'en': 'Haixi, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u897f\u8499\u53e4\u65cf\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861560978':{'en': 'Xining, Qinghai', 'zh': u('\u9752\u6d77\u7701\u897f\u5b81\u5e02')},
'861560979':{'en': 'Haixi, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u897f\u8499\u53e4\u65cf\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861560980':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861560981':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861560982':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861560983':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861560984':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861560985':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861560986':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861560987':{'en': 'Panjin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u76d8\u9526\u5e02')},
'861560988':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861560989':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861560990':{'en': 'Karamay, Xinjiang', 'zh': u('\u65b0\u7586\u514b\u62c9\u739b\u4f9d\u5e02')},
'861560991':{'en': 'Urumchi, Xinjiang', 'zh': u('\u65b0\u7586\u4e4c\u9c81\u6728\u9f50\u5e02')},
'861560992':{'en': 'Ili, Xinjiang', 'zh': u('\u65b0\u7586\u4f0a\u7281\u54c8\u8428\u514b\u81ea\u6cbb\u5dde')},
'861560993':{'en': 'Shihezi, Xinjiang', 'zh': u('\u65b0\u7586\u77f3\u6cb3\u5b50\u5e02')},
'861560994':{'en': 'Changji, Xinjiang', 'zh': u('\u65b0\u7586\u660c\u5409\u56de\u65cf\u81ea\u6cbb\u5dde')},
'861560995':{'en': 'Turpan, Xinjiang', 'zh': u('\u65b0\u7586\u5410\u9c81\u756a\u5730\u533a')},
'861560996':{'en': 'Bayingolin, Xinjiang', 'zh': u('\u65b0\u7586\u5df4\u97f3\u90ed\u695e\u8499\u53e4\u81ea\u6cbb\u5dde')},
'861560997':{'en': 'Aksu, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u514b\u82cf\u5730\u533a')},
'861560998':{'en': 'Kashi, Xinjiang', 'zh': u('\u65b0\u7586\u5580\u4ec0\u5730\u533a')},
'861560999':{'en': 'Ili, Xinjiang', 'zh': u('\u65b0\u7586\u4f0a\u7281\u54c8\u8428\u514b\u81ea\u6cbb\u5dde')},
'86156100':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'86156101':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861561019':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'86156102':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'86156103':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861561040':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861561041':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861561042':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861561043':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861561044':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861561045':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861561046':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861561047':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861561048':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861561049':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'86156105':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861561058':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861561059':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861561060':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861561061':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861561062':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861561063':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861561064':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861561065':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861561066':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861561067':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861561068':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861561069':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861561070':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861561071':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861561072':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861561073':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861561074':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861561075':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861561076':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861561077':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861561078':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861561079':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'86156108':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'86156109':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'8615611':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86156120':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'86156121':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'86156122':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'86156123':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861561240':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861561241':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861561242':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861561243':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861561244':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861561245':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861561246':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861561247':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861561248':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861561249':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'86156125':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861561260':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861561261':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861561262':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861561263':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861561264':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861561265':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861561266':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861561267':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861561268':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861561269':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'86156127':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861561280':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861561281':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861561282':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861561283':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861561284':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861561285':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861561286':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861561287':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861561288':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861561289':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'86156129':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'86156130':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'86156131':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'86156132':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'86156133':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'86156134':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'86156135':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'86156136':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'86156137':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'86156138':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'86156139':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'86156140':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'86156141':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861561420':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861561421':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861561422':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861561423':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861561424':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861561425':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861561426':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861561427':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861561428':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861561429':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'86156143':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'86156144':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'86156145':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'86156146':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861561460':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861561461':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861561462':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861561463':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'86156147':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'86156148':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'86156149':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861561490':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861561491':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861561492':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861561500':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861561501':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861561502':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861561503':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861561504':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861561505':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861561506':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861561507':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861561508':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861561509':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861561510':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861561511':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861561512':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861561513':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861561514':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861561515':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861561516':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861561517':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861561518':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861561519':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861561520':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861561521':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861561522':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861561523':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861561524':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861561525':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861561526':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861561527':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861561528':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861561529':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861561530':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861561531':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861561532':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861561533':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861561534':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861561535':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861561536':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861561537':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861561538':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861561539':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861561540':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861561541':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861561542':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861561543':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861561544':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861561545':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861561546':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861561547':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861561548':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861561549':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861561550':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861561551':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861561552':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861561553':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861561554':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861561555':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861561556':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861561557':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861561558':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861561559':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861561560':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861561561':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861561562':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861561563':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861561564':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861561565':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861561566':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861561567':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861561568':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861561569':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861561570':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861561571':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861561572':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861561573':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861561574':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861561575':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861561576':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861561577':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861561578':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861561579':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861561580':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861561581':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861561582':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861561583':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861561584':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861561585':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861561586':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861561587':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861561588':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861561589':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861561590':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861561591':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861561592':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861561593':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861561594':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861561595':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861561596':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861561597':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861561598':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861561599':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861561600':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861561601':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861561602':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861561603':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861561604':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'861561605':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861561606':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861561607':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861561608':{'en': 'Zhangjiajie, Hunan', 'zh': u('\u6e56\u5357\u7701\u5f20\u5bb6\u754c\u5e02')},
'861561609':{'en': 'Zhangjiajie, Hunan', 'zh': u('\u6e56\u5357\u7701\u5f20\u5bb6\u754c\u5e02')},
'86156161':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'86156162':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861561627':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'861561628':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'861561629':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'86156163':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861561630':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861561631':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861561632':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861561640':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861561641':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861561642':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861561643':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861561644':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861561645':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861561646':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861561647':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861561648':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861561649':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'86156165':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861561660':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861561661':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861561662':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861561663':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861561664':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861561665':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861561666':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861561667':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861561668':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861561669':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861561670':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861561671':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861561672':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'861561673':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'861561674':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'861561675':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861561676':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861561677':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861561678':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861561679':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'86156168':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861561680':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861561681':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861561688':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861561689':{'en': 'Xiangxi, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u897f\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861561690':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861561691':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861561692':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861561693':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861561694':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861561695':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861561696':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861561697':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861561698':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861561699':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'86156170':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'86156171':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'86156172':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'861561729':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'86156173':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861561740':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861561741':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861561742':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861561743':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861561744':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861561745':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861561746':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861561747':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861561748':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'861561749':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'86156175':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'86156176':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'86156177':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'86156178':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'86156179':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861561799':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'8615618':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'86156190':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861561910':{'en': 'Xianyang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861561911':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861561912':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861561913':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861561914':{'en': 'Shangluo, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861561915':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861561916':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861561917':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861561918':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861561919':{'en': 'Tongchuan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u94dc\u5ddd\u5e02')},
'86156192':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'86156193':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'86156194':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'86156195':{'en': 'Xianyang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'86156196':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'86156197':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861561979':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861561980':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861561981':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861561982':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861561983':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861561984':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861561985':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861561986':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861561987':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861561988':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861561989':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'86156199':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861561996':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861561997':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861561998':{'en': 'Shangluo, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861561999':{'en': 'Shangluo, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'8615620':{'en': 'Tianjin', 'zh': u('\u5929\u6d25\u5e02')},
'86156210':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'86156211':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'86156212':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'86156213':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861562130':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'86156214':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'86156215':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861562150':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861562151':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'86156216':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'86156217':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861562180':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861562181':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861562182':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861562183':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861562184':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861562185':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861562186':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861562187':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861562188':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861562189':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861562190':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861562191':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861562192':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861562193':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861562194':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861562195':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861562196':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861562197':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861562198':{'en': 'Xilin, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9521\u6797\u90ed\u52d2\u76df')},
'861562199':{'en': 'Xilin, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9521\u6797\u90ed\u52d2\u76df')},
'861562200':{'en': 'Yangjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u9633\u6c5f\u5e02')},
'861562201':{'en': 'Yangjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u9633\u6c5f\u5e02')},
'861562202':{'en': 'Yangjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u9633\u6c5f\u5e02')},
'861562203':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861562204':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861562205':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861562206':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861562207':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861562208':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861562209':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'86156221':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86156222':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86156223':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86156224':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861562250':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861562251':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861562252':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861562253':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861562254':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861562255':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861562256':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861562257':{'en': 'Shaoguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u97f6\u5173\u5e02')},
'861562258':{'en': 'Shaoguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u97f6\u5173\u5e02')},
'861562259':{'en': 'Shaoguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u97f6\u5173\u5e02')},
'861562260':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861562261':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861562262':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861562263':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861562264':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861562265':{'en': 'Yunfu, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e91\u6d6e\u5e02')},
'861562266':{'en': 'Yunfu, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e91\u6d6e\u5e02')},
'861562267':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861562268':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861562269':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'86156227':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86156228':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'86156229':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'8615623':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'86156240':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861562400':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861562401':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861562408':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861562409':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'86156241':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861562420':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861562421':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861562422':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861562423':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861562424':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861562425':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861562426':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861562427':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861562428':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861562429':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861562430':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861562431':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861562432':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861562433':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861562434':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861562435':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861562436':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861562437':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861562438':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861562439':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861562440':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861562441':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861562442':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861562443':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861562444':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861562445':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861562446':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861562447':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861562448':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861562449':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'86156245':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'86156246':{'en': 'Ulanqab, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u5170\u5bdf\u5e03\u5e02')},
'861562460':{'en': 'Xilin, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9521\u6797\u90ed\u52d2\u76df')},
'861562461':{'en': 'Xilin, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9521\u6797\u90ed\u52d2\u76df')},
'861562462':{'en': 'Xilin, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9521\u6797\u90ed\u52d2\u76df')},
'861562463':{'en': 'Xilin, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9521\u6797\u90ed\u52d2\u76df')},
'861562470':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861562471':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861562472':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861562473':{'en': 'Wuhai, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u6d77\u5e02')},
'861562474':{'en': 'Ulanqab, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u5170\u5bdf\u5e03\u5e02')},
'861562475':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'861562476':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861562477':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861562478':{'en': 'Bayannur, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861562479':{'en': 'Xilin, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9521\u6797\u90ed\u52d2\u76df')},
'861562480':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861562481':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861562482':{'en': 'Hinggan, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5174\u5b89\u76df')},
'861562483':{'en': 'Alxa, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u963f\u62c9\u5584\u76df')},
'861562484':{'en': 'Ulanqab, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u5170\u5bdf\u5e03\u5e02')},
'861562485':{'en': 'Hinggan, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5174\u5b89\u76df')},
'861562486':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861562487':{'en': 'Hinggan, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5174\u5b89\u76df')},
'861562488':{'en': 'Hinggan, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5174\u5b89\u76df')},
'861562489':{'en': 'Xilin, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9521\u6797\u90ed\u52d2\u76df')},
'86156249':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86156250':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86156251':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861562518':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861562519':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'86156252':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'86156253':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'86156254':{'en': 'Foshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'86156255':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'86156256':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'86156257':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'86156258':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'86156259':{'en': 'Foshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'86156260':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861562608':{'en': 'Shaoguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u97f6\u5173\u5e02')},
'86156261':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86156262':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86156263':{'en': 'Yangjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u9633\u6c5f\u5e02')},
'86156264':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86156265':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'86156266':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861562670':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861562671':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861562672':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861562673':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861562674':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861562675':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861562676':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861562677':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861562678':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861562679':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'86156268':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'86156269':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'86156270':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'86156271':{'en': 'Yunfu, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e91\u6d6e\u5e02')},
'861562713':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861562714':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861562715':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861562716':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'86156272':{'en': 'Foshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'86156273':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'86156274':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'86156275':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'86156276':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'86156277':{'en': 'Foshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'86156278':{'en': 'Shaoguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u97f6\u5173\u5e02')},
'861562786':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861562790':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861562791':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861562792':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861562793':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861562794':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861562795':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'861562796':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'861562797':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861562798':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861562799':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861562800':{'en': 'Guiyang, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u8d35\u9633\u5e02')},
'861562801':{'en': 'Anshun, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u5b89\u987a\u5e02')},
'861562802':{'en': 'Qiannan, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9ed4\u5357\u5e03\u4f9d\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861562803':{'en': 'Qiandongnan, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9ed4\u4e1c\u5357\u82d7\u65cf\u4f97\u65cf\u81ea\u6cbb\u5dde')},
'861562804':{'en': 'Tongren, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u94dc\u4ec1\u5730\u533a')},
'861562805':{'en': 'Bijie, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u6bd5\u8282\u5730\u533a')},
'861562806':{'en': 'Bijie, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u6bd5\u8282\u5730\u533a')},
'861562807':{'en': 'Bijie, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u6bd5\u8282\u5730\u533a')},
'861562808':{'en': 'Liupanshui, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u516d\u76d8\u6c34\u5e02')},
'861562809':{'en': 'Qiandongnan, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9ed4\u4e1c\u5357\u82d7\u65cf\u4f97\u65cf\u81ea\u6cbb\u5dde')},
'86156281':{'en': 'Ili, Xinjiang', 'zh': u('\u65b0\u7586\u4f0a\u7281\u54c8\u8428\u514b\u81ea\u6cbb\u5dde')},
'861562820':{'en': 'Aksu, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u514b\u82cf\u5730\u533a')},
'861562821':{'en': 'Tacheng, Xinjiang', 'zh': u('\u65b0\u7586\u5854\u57ce\u5730\u533a')},
'861562822':{'en': 'Changji, Xinjiang', 'zh': u('\u65b0\u7586\u660c\u5409\u56de\u65cf\u81ea\u6cbb\u5dde')},
'861562823':{'en': 'Hotan, Xinjiang', 'zh': u('\u65b0\u7586\u548c\u7530\u5730\u533a')},
'861562824':{'en': 'Hotan, Xinjiang', 'zh': u('\u65b0\u7586\u548c\u7530\u5730\u533a')},
'861562825':{'en': 'Ili, Xinjiang', 'zh': u('\u65b0\u7586\u4f0a\u7281\u54c8\u8428\u514b\u81ea\u6cbb\u5dde')},
'861562826':{'en': 'Ili, Xinjiang', 'zh': u('\u65b0\u7586\u4f0a\u7281\u54c8\u8428\u514b\u81ea\u6cbb\u5dde')},
'861562827':{'en': 'Ili, Xinjiang', 'zh': u('\u65b0\u7586\u4f0a\u7281\u54c8\u8428\u514b\u81ea\u6cbb\u5dde')},
'861562828':{'en': 'Ili, Xinjiang', 'zh': u('\u65b0\u7586\u4f0a\u7281\u54c8\u8428\u514b\u81ea\u6cbb\u5dde')},
'861562829':{'en': 'Ili, Xinjiang', 'zh': u('\u65b0\u7586\u4f0a\u7281\u54c8\u8428\u514b\u81ea\u6cbb\u5dde')},
'861562830':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861562831':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861562832':{'en': 'Wuhai, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u6d77\u5e02')},
'861562833':{'en': 'Bayannur, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861562834':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'861562835':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861562836':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861562837':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861562838':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861562839':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'86156284':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861562850':{'en': 'Nagqu, Tibet', 'zh': u('\u897f\u85cf\u90a3\u66f2\u5730\u533a')},
'861562851':{'en': 'Lhasa, Tibet', 'zh': u('\u897f\u85cf\u62c9\u8428\u5e02')},
'861562852':{'en': 'Xigaze, Tibet', 'zh': u('\u897f\u85cf\u65e5\u5580\u5219\u5730\u533a')},
'861562853':{'en': 'Shannan, Tibet', 'zh': u('\u897f\u85cf\u5c71\u5357\u5730\u533a')},
'861562854':{'en': 'Nyingchi, Tibet', 'zh': u('\u897f\u85cf\u6797\u829d\u5730\u533a')},
'861562855':{'en': 'Xigaze, Tibet', 'zh': u('\u897f\u85cf\u65e5\u5580\u5219\u5730\u533a')},
'861562856':{'en': 'Nagqu, Tibet', 'zh': u('\u897f\u85cf\u90a3\u66f2\u5730\u533a')},
'861562857':{'en': 'Ngari, Tibet', 'zh': u('\u897f\u85cf\u963f\u91cc\u5730\u533a')},
'861562858':{'en': 'Xigaze, Tibet', 'zh': u('\u897f\u85cf\u65e5\u5580\u5219\u5730\u533a')},
'861562859':{'en': 'Lhasa, Tibet', 'zh': u('\u897f\u85cf\u62c9\u8428\u5e02')},
'86156286':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861562860':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861562861':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'86156287':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861562876':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861562877':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861562878':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861562879':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'86156288':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'86156289':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'86156290':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'86156291':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'86156292':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861562927':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861562928':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861562929':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'86156293':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861562930':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'861562931':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'861562932':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'861562939':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'861562940':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861562941':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861562942':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861562943':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861562944':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861562945':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861562946':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861562947':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861562948':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861562949':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'86156295':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861562950':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861562951':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861562952':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861562959':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'86156296':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'86156297':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861562970':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'861562971':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'86156298':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861562989':{'en': 'Ezhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u9102\u5dde\u5e02')},
'86156299':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861562990':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'861562999':{'en': 'Suizhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u968f\u5dde\u5e02')},
'86156300':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'86156301':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'86156302':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'86156303':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'86156304':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'86156305':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'86156306':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'86156307':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'86156308':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'86156309':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'86156310':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'86156311':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'86156312':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'86156313':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'86156314':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'86156315':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'86156316':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'86156317':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'86156318':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'86156319':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'86156320':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'86156321':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'86156322':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'86156323':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'86156324':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'86156325':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'86156326':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'86156327':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861563280':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861563281':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861563282':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861563283':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861563284':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861563285':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861563286':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861563287':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861563288':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861563289':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'86156329':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'86156330':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861563310':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861563311':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861563312':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861563313':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861563314':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861563315':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861563316':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861563317':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861563318':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861563319':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'86156332':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'86156333':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'86156334':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'86156335':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861563350':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861563351':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861563352':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861563354':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861563360':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861563361':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861563362':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861563363':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861563364':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861563365':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861563366':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861563367':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861563368':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861563369':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'86156337':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'86156338':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'86156339':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'86156340':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'86156341':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'86156342':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'86156343':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'86156344':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861563440':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861563441':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861563442':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861563450':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861563451':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861563452':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861563453':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861563454':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861563455':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861563456':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861563457':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861563458':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861563459':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'86156346':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'86156347':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'86156348':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'86156349':{'en': 'Shuozhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u6714\u5dde\u5e02')},
'861563496':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861563497':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861563498':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861563499':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'86156350':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'86156351':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'86156352':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'86156353':{'en': 'Yangquan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u9633\u6cc9\u5e02')},
'861563536':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861563537':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861563538':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861563539':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'86156354':{'en': 'Jinzhong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'86156355':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'86156356':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'86156357':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'86156358':{'en': u('L\u00fcliang, Shanxi'), 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'86156359':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'86156360':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'86156361':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'86156362':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861563630':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861563631':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861563632':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861563633':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861563634':{'en': 'Jixi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e21\u897f\u5e02')},
'861563635':{'en': 'Jixi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e21\u897f\u5e02')},
'861563636':{'en': 'Mudanjiang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7261\u4e39\u6c5f\u5e02')},
'861563637':{'en': 'Mudanjiang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7261\u4e39\u6c5f\u5e02')},
'861563638':{'en': 'Mudanjiang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7261\u4e39\u6c5f\u5e02')},
'861563639':{'en': 'Mudanjiang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7261\u4e39\u6c5f\u5e02')},
'86156364':{'en': 'Jiamusi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f73\u6728\u65af\u5e02')},
'861563640':{'en': 'Yichun, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f0a\u6625\u5e02')},
'861563641':{'en': 'Yichun, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f0a\u6625\u5e02')},
'861563642':{'en': 'Yichun, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f0a\u6625\u5e02')},
'861563643':{'en': 'Da Hinggan Ling, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5174\u5b89\u5cad\u5730\u533a')},
'86156365':{'en': 'Suihua, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7ee5\u5316\u5e02')},
'861563658':{'en': 'Qitaihe, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4e03\u53f0\u6cb3\u5e02')},
'861563659':{'en': 'Qitaihe, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4e03\u53f0\u6cb3\u5e02')},
'861563660':{'en': 'Suihua, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7ee5\u5316\u5e02')},
'861563661':{'en': 'Suihua, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7ee5\u5316\u5e02')},
'861563662':{'en': 'Suihua, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7ee5\u5316\u5e02')},
'861563663':{'en': 'Suihua, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7ee5\u5316\u5e02')},
'861563664':{'en': 'Suihua, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7ee5\u5316\u5e02')},
'861563665':{'en': 'Shuangyashan, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u53cc\u9e2d\u5c71\u5e02')},
'861563666':{'en': 'Shuangyashan, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u53cc\u9e2d\u5c71\u5e02')},
'861563667':{'en': 'Shuangyashan, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u53cc\u9e2d\u5c71\u5e02')},
'861563668':{'en': 'Shuangyashan, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u53cc\u9e2d\u5c71\u5e02')},
'861563669':{'en': 'Shuangyashan, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u53cc\u9e2d\u5c71\u5e02')},
'86156367':{'en': 'Hegang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e64\u5c97\u5e02')},
'861563670':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861563671':{'en': 'Heihe, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9ed1\u6cb3\u5e02')},
'861563680':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861563681':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861563682':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861563683':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861563684':{'en': 'Suihua, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7ee5\u5316\u5e02')},
'861563685':{'en': 'Jixi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e21\u897f\u5e02')},
'861563686':{'en': 'Jixi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e21\u897f\u5e02')},
'861563687':{'en': 'Jixi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e21\u897f\u5e02')},
'861563688':{'en': 'Jixi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e21\u897f\u5e02')},
'861563689':{'en': 'Jixi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e21\u897f\u5e02')},
'861563690':{'en': 'Suihua, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7ee5\u5316\u5e02')},
'861563691':{'en': 'Suihua, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7ee5\u5316\u5e02')},
'861563692':{'en': 'Suihua, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7ee5\u5316\u5e02')},
'861563693':{'en': 'Suihua, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7ee5\u5316\u5e02')},
'861563694':{'en': 'Suihua, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7ee5\u5316\u5e02')},
'861563695':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861563696':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861563697':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861563698':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861563699':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'86156370':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'86156371':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'86156372':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'86156373':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'86156374':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'86156375':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'86156376':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'86156377':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'86156378':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'86156379':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'86156380':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'86156381':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'86156382':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'86156383':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'86156384':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'86156385':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861563860':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861563861':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861563862':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861563863':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861563864':{'en': 'Sanmenxia, Henan', 'zh': u('\u6cb3\u5357\u7701\u4e09\u95e8\u5ce1\u5e02')},
'861563865':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861563866':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861563867':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861563868':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861563869':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861563870':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861563871':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861563872':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861563873':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861563874':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861563875':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'861563876':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'861563877':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'861563878':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'861563879':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'86156388':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861563890':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861563891':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861563892':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861563893':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861563894':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861563895':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861563896':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861563897':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861563898':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861563899':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'86156390':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'86156391':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'861563920':{'en': 'Hebi, Henan', 'zh': u('\u6cb3\u5357\u7701\u9e64\u58c1\u5e02')},
'861563921':{'en': 'Hebi, Henan', 'zh': u('\u6cb3\u5357\u7701\u9e64\u58c1\u5e02')},
'861563922':{'en': 'Hebi, Henan', 'zh': u('\u6cb3\u5357\u7701\u9e64\u58c1\u5e02')},
'861563923':{'en': 'Hebi, Henan', 'zh': u('\u6cb3\u5357\u7701\u9e64\u58c1\u5e02')},
'861563924':{'en': 'Hebi, Henan', 'zh': u('\u6cb3\u5357\u7701\u9e64\u58c1\u5e02')},
'861563925':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861563926':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861563927':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861563928':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861563929':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'86156393':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'86156394':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'86156395':{'en': 'Luohe, Henan', 'zh': u('\u6cb3\u5357\u7701\u6f2f\u6cb3\u5e02')},
'86156396':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'86156397':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'86156398':{'en': 'Sanmenxia, Henan', 'zh': u('\u6cb3\u5357\u7701\u4e09\u95e8\u5ce1\u5e02')},
'861563990':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861563991':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861563992':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861563993':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861563994':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861563995':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861563996':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861563997':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861563998':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861563999':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'8615640':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'86156406':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'86156407':{'en': 'Yingkou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8425\u53e3\u5e02')},
'86156408':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'86156409':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'86156410':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'86156411':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'86156412':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'86156413':{'en': 'Fushun, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u629a\u987a\u5e02')},
'86156414':{'en': 'Benxi, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u672c\u6eaa\u5e02')},
'86156415':{'en': 'Dandong, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u4e39\u4e1c\u5e02')},
'86156416':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'86156417':{'en': 'Yingkou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8425\u53e3\u5e02')},
'86156418':{'en': 'Fuxin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u961c\u65b0\u5e02')},
'86156419':{'en': 'Liaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8fbd\u9633\u5e02')},
'86156420':{'en': 'Fushun, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u629a\u987a\u5e02')},
'861564207':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861564208':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861564209':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'86156421':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'86156422':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861564226':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861564227':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861564228':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861564229':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'86156423':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861564240':{'en': 'Liaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8fbd\u9633\u5e02')},
'861564241':{'en': 'Liaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8fbd\u9633\u5e02')},
'861564242':{'en': 'Liaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8fbd\u9633\u5e02')},
'861564243':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861564244':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861564245':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861564246':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861564247':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861564248':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861564249':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'86156425':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861564256':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861564257':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861564258':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861564259':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861564260':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861564261':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861564262':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861564263':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861564264':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861564265':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861564266':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861564267':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861564268':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861564269':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'86156427':{'en': 'Panjin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u76d8\u9526\u5e02')},
'86156428':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861564287':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861564288':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861564289':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'86156429':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'86156430':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'86156431':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'86156432':{'en': 'Jilin, Jilin', 'zh': u('\u5409\u6797\u7701\u5409\u6797\u5e02')},
'86156433':{'en': 'Yanbian, Jilin', 'zh': u('\u5409\u6797\u7701\u5ef6\u8fb9\u671d\u9c9c\u65cf\u81ea\u6cbb\u5dde')},
'86156434':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'861564349':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'86156435':{'en': 'Tonghua, Jilin', 'zh': u('\u5409\u6797\u7701\u901a\u5316\u5e02')},
'861564358':{'en': 'Jilin, Jilin', 'zh': u('\u5409\u6797\u7701\u5409\u6797\u5e02')},
'861564359':{'en': 'Jilin, Jilin', 'zh': u('\u5409\u6797\u7701\u5409\u6797\u5e02')},
'861564360':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'861564361':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'861564362':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'861564363':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'861564364':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'861564365':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861564366':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861564367':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861564368':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861564369':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'86156437':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'861564376':{'en': 'Liaoyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u8fbd\u6e90\u5e02')},
'861564377':{'en': 'Liaoyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u8fbd\u6e90\u5e02')},
'861564378':{'en': 'Liaoyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u8fbd\u6e90\u5e02')},
'861564379':{'en': 'Liaoyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u8fbd\u6e90\u5e02')},
'86156438':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861564389':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'86156439':{'en': 'Jilin, Jilin', 'zh': u('\u5409\u6797\u7701\u5409\u6797\u5e02')},
'861564397':{'en': 'Baishan, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u5c71\u5e02')},
'861564398':{'en': 'Baishan, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u5c71\u5e02')},
'861564399':{'en': 'Baishan, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u5c71\u5e02')},
'8615644':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'86156450':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'86156451':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'86156452':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'86156453':{'en': 'Mudanjiang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7261\u4e39\u6c5f\u5e02')},
'86156454':{'en': 'Jiamusi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f73\u6728\u65af\u5e02')},
'86156455':{'en': 'Suihua, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7ee5\u5316\u5e02')},
'861564557':{'en': 'Qitaihe, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4e03\u53f0\u6cb3\u5e02')},
'861564558':{'en': 'Qitaihe, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4e03\u53f0\u6cb3\u5e02')},
'861564559':{'en': 'Qitaihe, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4e03\u53f0\u6cb3\u5e02')},
'86156456':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861564560':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861564561':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861564562':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861564570':{'en': 'Da Hinggan Ling, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5174\u5b89\u5cad\u5730\u533a')},
'861564571':{'en': 'Heihe, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9ed1\u6cb3\u5e02')},
'861564572':{'en': 'Heihe, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9ed1\u6cb3\u5e02')},
'861564573':{'en': 'Heihe, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9ed1\u6cb3\u5e02')},
'861564574':{'en': 'Heihe, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9ed1\u6cb3\u5e02')},
'861564575':{'en': 'Hegang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e64\u5c97\u5e02')},
'861564576':{'en': 'Hegang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e64\u5c97\u5e02')},
'861564577':{'en': 'Shuangyashan, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u53cc\u9e2d\u5c71\u5e02')},
'861564578':{'en': 'Shuangyashan, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u53cc\u9e2d\u5c71\u5e02')},
'861564579':{'en': 'Shuangyashan, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u53cc\u9e2d\u5c71\u5e02')},
'861564580':{'en': 'Jixi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e21\u897f\u5e02')},
'861564581':{'en': 'Jixi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e21\u897f\u5e02')},
'861564582':{'en': 'Jixi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e21\u897f\u5e02')},
'861564583':{'en': 'Hegang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e64\u5c97\u5e02')},
'861564584':{'en': 'Hegang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e64\u5c97\u5e02')},
'861564585':{'en': 'Jixi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e21\u897f\u5e02')},
'861564586':{'en': 'Jixi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e21\u897f\u5e02')},
'861564587':{'en': 'Yichun, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f0a\u6625\u5e02')},
'861564588':{'en': 'Yichun, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f0a\u6625\u5e02')},
'861564589':{'en': 'Yichun, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f0a\u6625\u5e02')},
'86156459':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'8615646':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86156466':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'86156467':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861564670':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861564671':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861564672':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861564673':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'86156468':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861564690':{'en': 'Bortala, Xinjiang', 'zh': u('\u65b0\u7586\u535a\u5c14\u5854\u62c9\u8499\u53e4\u81ea\u6cbb\u5dde')},
'861564691':{'en': 'Hotan, Xinjiang', 'zh': u('\u65b0\u7586\u548c\u7530\u5730\u533a')},
'861564692':{'en': 'Ili, Xinjiang', 'zh': u('\u65b0\u7586\u4f0a\u7281\u54c8\u8428\u514b\u81ea\u6cbb\u5dde')},
'861564693':{'en': 'Tacheng, Xinjiang', 'zh': u('\u65b0\u7586\u5854\u57ce\u5730\u533a')},
'861564694':{'en': 'Aksu, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u514b\u82cf\u5730\u533a')},
'861564695':{'en': 'Aksu, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u514b\u82cf\u5730\u533a')},
'861564696':{'en': 'Aksu, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u514b\u82cf\u5730\u533a')},
'861564697':{'en': 'Aksu, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u514b\u82cf\u5730\u533a')},
'861564698':{'en': 'Turpan, Xinjiang', 'zh': u('\u65b0\u7586\u5410\u9c81\u756a\u5730\u533a')},
'861564699':{'en': 'Ili, Xinjiang', 'zh': u('\u65b0\u7586\u4f0a\u7281\u54c8\u8428\u514b\u81ea\u6cbb\u5dde')},
'86156470':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'86156471':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'86156472':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'86156473':{'en': 'Wuhai, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u6d77\u5e02')},
'86156474':{'en': 'Ulanqab, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u5170\u5bdf\u5e03\u5e02')},
'86156475':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'86156476':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'86156477':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'86156478':{'en': 'Bayannur, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'86156479':{'en': 'Xilin, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9521\u6797\u90ed\u52d2\u76df')},
'86156480':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'86156481':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'86156482':{'en': 'Hinggan, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5174\u5b89\u76df')},
'861564830':{'en': 'Alxa, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u963f\u62c9\u5584\u76df')},
'861564831':{'en': 'Alxa, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u963f\u62c9\u5584\u76df')},
'861564832':{'en': 'Alxa, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u963f\u62c9\u5584\u76df')},
'861564833':{'en': 'Hinggan, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5174\u5b89\u76df')},
'861564834':{'en': 'Hinggan, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5174\u5b89\u76df')},
'861564835':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861564836':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861564837':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861564838':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861564839':{'en': 'Hulun, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861564840':{'en': 'Bayannur, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861564841':{'en': 'Bayannur, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861564842':{'en': 'Bayannur, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861564843':{'en': 'Bayannur, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861564844':{'en': 'Bayannur, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861564845':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861564846':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861564847':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861564848':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861564849':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'86156485':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'86156486':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'86156487':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861564880':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861564881':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861564882':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861564883':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861564884':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861564885':{'en': 'Bayannur, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861564886':{'en': 'Bayannur, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861564887':{'en': 'Bayannur, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861564888':{'en': 'Bayannur, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861564889':{'en': 'Bayannur, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'86156489':{'en': 'Ulanqab, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u5170\u5bdf\u5e03\u5e02')},
'86156490':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861564910':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861564911':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861564912':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861564913':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861564914':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861564915':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861564916':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861564917':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861564918':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861564919':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'86156492':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861564930':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861564931':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861564932':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861564933':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861564934':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861564935':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861564936':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861564937':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861564938':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861564939':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861564940':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'861564941':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'861564942':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'861564943':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'861564944':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'861564945':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861564946':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861564947':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861564948':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861564949':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861564950':{'en': 'Hebi, Henan', 'zh': u('\u6cb3\u5357\u7701\u9e64\u58c1\u5e02')},
'861564951':{'en': 'Hebi, Henan', 'zh': u('\u6cb3\u5357\u7701\u9e64\u58c1\u5e02')},
'861564952':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861564953':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861564954':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861564955':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861564956':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861564957':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861564958':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861564959':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861564960':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861564961':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861564962':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861564963':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861564964':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861564965':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861564966':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861564967':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861564968':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861564969':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861564970':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'861564971':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'861564972':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'861564973':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'861564974':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'861564975':{'en': 'Sanmenxia, Henan', 'zh': u('\u6cb3\u5357\u7701\u4e09\u95e8\u5ce1\u5e02')},
'861564976':{'en': 'Sanmenxia, Henan', 'zh': u('\u6cb3\u5357\u7701\u4e09\u95e8\u5ce1\u5e02')},
'861564977':{'en': 'Sanmenxia, Henan', 'zh': u('\u6cb3\u5357\u7701\u4e09\u95e8\u5ce1\u5e02')},
'861564978':{'en': 'Sanmenxia, Henan', 'zh': u('\u6cb3\u5357\u7701\u4e09\u95e8\u5ce1\u5e02')},
'861564979':{'en': 'Sanmenxia, Henan', 'zh': u('\u6cb3\u5357\u7701\u4e09\u95e8\u5ce1\u5e02')},
'861564980':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'861564981':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'861564982':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'861564983':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'861564984':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'861564985':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861564986':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861564987':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861564988':{'en': 'Luohe, Henan', 'zh': u('\u6cb3\u5357\u7701\u6f2f\u6cb3\u5e02')},
'861564989':{'en': 'Luohe, Henan', 'zh': u('\u6cb3\u5357\u7701\u6f2f\u6cb3\u5e02')},
'861564990':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861564991':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861564992':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861564993':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861564994':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861564995':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'861564996':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'861564997':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'861564998':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'861564999':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'86156500':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861565009':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'86156501':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861565010':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861565011':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861565012':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861565013':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861565020':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861565021':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861565022':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861565023':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861565024':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861565025':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861565026':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861565027':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861565028':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861565029':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861565030':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861565031':{'en': 'Laiwu, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83b1\u829c\u5e02')},
'861565032':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861565033':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861565034':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861565035':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861565036':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861565037':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861565038':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861565039':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'86156504':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861565050':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861565051':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861565052':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861565053':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861565054':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861565055':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861565056':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861565057':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861565058':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861565059':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861565060':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'861565061':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861565062':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861565063':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861565064':{'en': 'LuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861565065':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861565066':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861565067':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861565068':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861565069':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'86156507':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861565080':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861565081':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861565082':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861565083':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861565084':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861565085':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861565086':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861565087':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861565088':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861565089':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861565090':{'en': 'Haibei, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u5317\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861565091':{'en': 'Hainan, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861565092':{'en': 'Haidong, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u4e1c\u5730\u533a')},
'861565093':{'en': 'Haidong, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u4e1c\u5730\u533a')},
'861565094':{'en': 'Hainan, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861565095':{'en': 'Golog, Qinghai', 'zh': u('\u9752\u6d77\u7701\u679c\u6d1b\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861565096':{'en': 'Xining, Qinghai', 'zh': u('\u9752\u6d77\u7701\u897f\u5b81\u5e02')},
'861565097':{'en': 'Xining, Qinghai', 'zh': u('\u9752\u6d77\u7701\u897f\u5b81\u5e02')},
'861565098':{'en': 'Xining, Qinghai', 'zh': u('\u9752\u6d77\u7701\u897f\u5b81\u5e02')},
'861565099':{'en': 'Xining, Qinghai', 'zh': u('\u9752\u6d77\u7701\u897f\u5b81\u5e02')},
'86156510':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861565104':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861565105':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861565106':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861565109':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861565110':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861565111':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861565112':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861565113':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861565114':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861565115':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861565116':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861565117':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861565118':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861565119':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861565120':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861565121':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861565122':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861565123':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861565124':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861565125':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861565126':{'en': 'HuaiAn, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861565127':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861565128':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861565129':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861565130':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861565131':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861565132':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861565133':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861565134':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861565135':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861565136':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861565137':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861565138':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861565139':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861565140':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861565141':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861565142':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861565143':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861565144':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861565145':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861565146':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861565147':{'en': 'HuaiAn, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861565148':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861565149':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861565150':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861565151':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861565152':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861565153':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861565154':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861565155':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861565156':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861565157':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861565158':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861565159':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'86156516':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'86156517':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'86156518':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'86156519':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'8615652':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86156530':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'86156531':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861565310':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'86156532':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'86156533':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'86156534':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861565340':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861565348':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861565349':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'86156535':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'86156536':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'86156537':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'86156538':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861565380':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'86156539':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'8615654':{'en': 'Haikou, Hainan', 'zh': u('\u6d77\u5357\u7701\u6d77\u53e3\u5e02')},
'86156550':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'86156551':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'86156552':{'en': 'Bengbu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u868c\u57e0\u5e02')},
'86156553':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'86156554':{'en': 'Huainan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5357\u5e02')},
'86156555':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'86156556':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'86156557':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'86156558':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'86156559':{'en': 'Huangshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9ec4\u5c71\u5e02')},
'86156560':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'86156561':{'en': 'Huaibei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5317\u5e02')},
'86156562':{'en': 'Tongling, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u94dc\u9675\u5e02')},
'86156563':{'en': 'Xuancheng, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5ba3\u57ce\u5e02')},
'86156564':{'en': 'LuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'86156565':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861565650':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861565653':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'86156566':{'en': 'Chizhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6c60\u5dde\u5e02')},
'86156567':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'86156568':{'en': 'Bozhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u4eb3\u5dde\u5e02')},
'86156569':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'86156570':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'861565708':{'en': 'Zhoushan, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u821f\u5c71\u5e02')},
'861565709':{'en': 'Zhoushan, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u821f\u5c71\u5e02')},
'86156571':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'86156572':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861565720':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861565721':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861565722':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861565723':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'86156573':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'86156574':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'86156575':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'86156576':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'86156577':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'86156578':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'86156579':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'86156580':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'86156581':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'86156582':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'86156583':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'86156584':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'86156585':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'86156586':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'86156587':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'86156588':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'86156589':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861565900':{'en': 'Longyan, Fujian', 'zh': u('\u798f\u5efa\u7701\u9f99\u5ca9\u5e02')},
'861565901':{'en': 'Longyan, Fujian', 'zh': u('\u798f\u5efa\u7701\u9f99\u5ca9\u5e02')},
'861565902':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861565903':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861565904':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861565905':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861565906':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861565907':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861565908':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861565909':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'86156591':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861565920':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861565921':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861565922':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861565923':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861565924':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861565925':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861565926':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861565927':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861565928':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861565929':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861565930':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861565931':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861565932':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861565933':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861565934':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861565935':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'861565936':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'861565937':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861565938':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861565939':{'en': 'Putian, Fujian', 'zh': u('\u798f\u5efa\u7701\u8386\u7530\u5e02')},
'861565940':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861565941':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861565942':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861565943':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861565944':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861565945':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861565946':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861565947':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861565948':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861565949':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'86156595':{'en': 'Putian, Fujian', 'zh': u('\u798f\u5efa\u7701\u8386\u7530\u5e02')},
'861565950':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861565951':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861565952':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861565953':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861565960':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861565961':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861565962':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861565963':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861565964':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'861565965':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861565966':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861565967':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861565968':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861565969':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'86156597':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861565970':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861565971':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861565972':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861565974':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'861565980':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861565981':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861565982':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861565983':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861565984':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861565985':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861565986':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861565987':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861565988':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861565989':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861565990':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'861565991':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'861565992':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861565993':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861565994':{'en': 'Longyan, Fujian', 'zh': u('\u798f\u5efa\u7701\u9f99\u5ca9\u5e02')},
'861565995':{'en': 'Longyan, Fujian', 'zh': u('\u798f\u5efa\u7701\u9f99\u5ca9\u5e02')},
'861565996':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861565997':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861565998':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861565999':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'86156600':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861566007':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861566008':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861566009':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'861566010':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'861566011':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'861566012':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861566013':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861566014':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861566015':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861566016':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861566017':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861566018':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861566019':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861566020':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861566021':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861566022':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861566023':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861566024':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861566025':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861566026':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861566027':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861566028':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861566029':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861566030':{'en': 'Aksu, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u514b\u82cf\u5730\u533a')},
'861566031':{'en': 'Aksu, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u514b\u82cf\u5730\u533a')},
'861566032':{'en': 'Aksu, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u514b\u82cf\u5730\u533a')},
'861566033':{'en': 'Aksu, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u514b\u82cf\u5730\u533a')},
'861566034':{'en': 'Aksu, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u514b\u82cf\u5730\u533a')},
'861566035':{'en': 'Kashi, Xinjiang', 'zh': u('\u65b0\u7586\u5580\u4ec0\u5730\u533a')},
'861566036':{'en': 'Kashi, Xinjiang', 'zh': u('\u65b0\u7586\u5580\u4ec0\u5730\u533a')},
'861566037':{'en': 'Kashi, Xinjiang', 'zh': u('\u65b0\u7586\u5580\u4ec0\u5730\u533a')},
'861566038':{'en': 'Kashi, Xinjiang', 'zh': u('\u65b0\u7586\u5580\u4ec0\u5730\u533a')},
'861566039':{'en': 'Kizilsu, Xinjiang', 'zh': u('\u65b0\u7586\u514b\u5b5c\u52d2\u82cf\u67ef\u5c14\u514b\u5b5c\u81ea\u6cbb\u5dde')},
'861566040':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861566041':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861566042':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861566043':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861566044':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861566045':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861566046':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861566047':{'en': 'Laiwu, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83b1\u829c\u5e02')},
'861566048':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861566049':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861566050':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861566051':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'861566052':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'861566053':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'861566054':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861566055':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861566056':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861566057':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861566058':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861566059':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'86156606':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86156607':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861566080':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861566081':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861566082':{'en': 'Hebi, Henan', 'zh': u('\u6cb3\u5357\u7701\u9e64\u58c1\u5e02')},
'861566083':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861566084':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861566085':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861566086':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861566087':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'861566088':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861566089':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861566090':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861566091':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861566092':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861566093':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861566094':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861566095':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861566096':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861566097':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861566098':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861566099':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'86156610':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'86156611':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'86156612':{'en': 'Hohhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'86156613':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'86156614':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861566140':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861566141':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861566142':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861566143':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'86156615':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861566152':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861566154':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'86156616':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861566167':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'86156617':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'86156618':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'86156619':{'en': 'Ordos, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'86156620':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'86156621':{'en': 'Jilin, Jilin', 'zh': u('\u5409\u6797\u7701\u5409\u6797\u5e02')},
'861566218':{'en': 'Yanbian, Jilin', 'zh': u('\u5409\u6797\u7701\u5ef6\u8fb9\u671d\u9c9c\u65cf\u81ea\u6cbb\u5dde')},
'861566219':{'en': 'Yanbian, Jilin', 'zh': u('\u5409\u6797\u7701\u5ef6\u8fb9\u671d\u9c9c\u65cf\u81ea\u6cbb\u5dde')},
'861566220':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'861566221':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'861566222':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'861566223':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'861566224':{'en': 'Changchun, Jilin', 'zh': u('\u5409\u6797\u7701\u957f\u6625\u5e02')},
'861566225':{'en': 'Yanbian, Jilin', 'zh': u('\u5409\u6797\u7701\u5ef6\u8fb9\u671d\u9c9c\u65cf\u81ea\u6cbb\u5dde')},
'861566226':{'en': 'Yanbian, Jilin', 'zh': u('\u5409\u6797\u7701\u5ef6\u8fb9\u671d\u9c9c\u65cf\u81ea\u6cbb\u5dde')},
'861566227':{'en': 'Yanbian, Jilin', 'zh': u('\u5409\u6797\u7701\u5ef6\u8fb9\u671d\u9c9c\u65cf\u81ea\u6cbb\u5dde')},
'861566228':{'en': 'Yanbian, Jilin', 'zh': u('\u5409\u6797\u7701\u5ef6\u8fb9\u671d\u9c9c\u65cf\u81ea\u6cbb\u5dde')},
'861566229':{'en': 'Yanbian, Jilin', 'zh': u('\u5409\u6797\u7701\u5ef6\u8fb9\u671d\u9c9c\u65cf\u81ea\u6cbb\u5dde')},
'86156623':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'86156624':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861566246':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861566247':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861566248':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861566249':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'86156625':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'86156626':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861566260':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861566261':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'86156627':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'86156628':{'en': 'Liaoyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u8fbd\u6e90\u5e02')},
'861566280':{'en': 'Yanbian, Jilin', 'zh': u('\u5409\u6797\u7701\u5ef6\u8fb9\u671d\u9c9c\u65cf\u81ea\u6cbb\u5dde')},
'861566281':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'86156629':{'en': 'Baishan, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u5c71\u5e02')},
'861566290':{'en': 'Liaoyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u8fbd\u6e90\u5e02')},
'861566291':{'en': 'Liaoyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u8fbd\u6e90\u5e02')},
'861566292':{'en': 'Liaoyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u8fbd\u6e90\u5e02')},
'86156630':{'en': 'Jiamusi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f73\u6728\u65af\u5e02')},
'861566309':{'en': 'Shuangyashan, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u53cc\u9e2d\u5c71\u5e02')},
'86156631':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861566310':{'en': 'Shuangyashan, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u53cc\u9e2d\u5c71\u5e02')},
'86156632':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'86156633':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'86156634':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'86156635':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'86156636':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'86156637':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'86156638':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'86156639':{'en': 'Shuangyashan, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u53cc\u9e2d\u5c71\u5e02')},
'861566400':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861566401':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861566402':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861566403':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861566404':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861566405':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861566406':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861566407':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861566408':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861566409':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'86156641':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861566420':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'861566421':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'861566422':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861566423':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861566424':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861566425':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861566426':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861566427':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861566428':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'861566429':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861566430':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'861566431':{'en': 'Hebi, Henan', 'zh': u('\u6cb3\u5357\u7701\u9e64\u58c1\u5e02')},
'861566432':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'861566433':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'861566434':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'861566435':{'en': 'Luohe, Henan', 'zh': u('\u6cb3\u5357\u7701\u6f2f\u6cb3\u5e02')},
'861566436':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861566437':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861566438':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861566439':{'en': 'Sanmenxia, Henan', 'zh': u('\u6cb3\u5357\u7701\u4e09\u95e8\u5ce1\u5e02')},
'861566440':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861566441':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861566442':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861566443':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861566444':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861566445':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861566446':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861566447':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861566448':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861566449':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'86156645':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'86156646':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'86156647':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'86156648':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'86156649':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'86156650':{'en': 'Suihua, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7ee5\u5316\u5e02')},
'861566510':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861566511':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861566512':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861566513':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861566514':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861566515':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861566516':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861566517':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861566518':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861566519':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'86156652':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'86156653':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861566530':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861566531':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861566532':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861566533':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'86156654':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861566546':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861566547':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861566548':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861566549':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861566550':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'861566551':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861566552':{'en': 'Bengbu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u868c\u57e0\u5e02')},
'861566553':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861566554':{'en': 'Huainan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5357\u5e02')},
'861566555':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861566556':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861566557':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861566558':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861566559':{'en': 'Huangshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9ec4\u5c71\u5e02')},
'861566560':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861566561':{'en': 'Huaibei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5317\u5e02')},
'861566562':{'en': 'Tongling, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u94dc\u9675\u5e02')},
'861566563':{'en': 'Xuancheng, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5ba3\u57ce\u5e02')},
'861566564':{'en': 'LuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861566565':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861566566':{'en': 'Chizhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6c60\u5dde\u5e02')},
'861566567':{'en': 'Bozhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u4eb3\u5dde\u5e02')},
'861566568':{'en': 'LuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861566569':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'86156657':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'86156658':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'86156659':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'861566600':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861566601':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861566602':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861566603':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861566604':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861566605':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861566606':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861566607':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861566608':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861566609':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861566610':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861566611':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861566612':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861566613':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861566614':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861566615':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861566616':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861566617':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861566618':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861566619':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861566620':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861566621':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861566622':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861566623':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861566624':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861566625':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861566626':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861566627':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861566628':{'en': 'Laiwu, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83b1\u829c\u5e02')},
'861566629':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861566630':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861566631':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861566632':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861566633':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861566634':{'en': 'Laiwu, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83b1\u829c\u5e02')},
'861566635':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861566636':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861566637':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861566638':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861566639':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861566640':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861566641':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861566642':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861566643':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861566644':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861566645':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861566646':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861566647':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861566648':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861566649':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861566650':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861566651':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861566652':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861566653':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861566654':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861566655':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861566656':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861566657':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861566658':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861566659':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861566660':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861566661':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861566662':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861566663':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861566664':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861566665':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861566666':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861566667':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861566668':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861566669':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861566670':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861566671':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861566672':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861566673':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861566674':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861566675':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861566676':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861566677':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861566678':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861566679':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861566680':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861566681':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861566682':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861566683':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861566684':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861566685':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861566686':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861566687':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861566688':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861566689':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861566690':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861566691':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861566692':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861566693':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861566694':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861566695':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861566696':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861566697':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861566698':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861566699':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'86156670':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'86156671':{'en': 'Xianyang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'86156672':{'en': 'Xianyang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'86156673':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861566740':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861566741':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861566742':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861566743':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861566744':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861566745':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861566746':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861566747':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861566748':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861566749':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'86156675':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'86156676':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861566768':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861566769':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'86156677':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861566780':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861566781':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861566782':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861566783':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861566784':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861566785':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861566786':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861566787':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861566788':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861566789':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861566790':{'en': 'Shangluo, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861566791':{'en': 'Shangluo, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861566792':{'en': 'Shangluo, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861566793':{'en': 'Shangluo, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861566794':{'en': 'Shangluo, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861566795':{'en': 'Tongchuan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u94dc\u5ddd\u5e02')},
'861566796':{'en': 'Tongchuan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u94dc\u5ddd\u5e02')},
'861566797':{'en': 'Tongchuan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u94dc\u5ddd\u5e02')},
'861566798':{'en': 'Tongchuan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u94dc\u5ddd\u5e02')},
'861566799':{'en': 'Tongchuan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u94dc\u5ddd\u5e02')},
'86156680':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'86156681':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'86156682':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'86156683':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'86156684':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'86156685':{'en': 'Fushun, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u629a\u987a\u5e02')},
'86156686':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861566863':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861566864':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861566870':{'en': 'Panjin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u76d8\u9526\u5e02')},
'861566871':{'en': 'Panjin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u76d8\u9526\u5e02')},
'861566872':{'en': 'Panjin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u76d8\u9526\u5e02')},
'861566873':{'en': 'Panjin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u76d8\u9526\u5e02')},
'861566874':{'en': 'Dandong, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u4e39\u4e1c\u5e02')},
'861566875':{'en': 'Fuxin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u961c\u65b0\u5e02')},
'861566876':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861566877':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861566878':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861566879':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'86156688':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861566883':{'en': 'Dandong, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u4e39\u4e1c\u5e02')},
'861566884':{'en': 'Dandong, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u4e39\u4e1c\u5e02')},
'86156689':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'86156690':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'86156691':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'86156692':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'86156693':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'86156694':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'86156695':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'86156696':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'86156697':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'86156698':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'86156699':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861567000':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861567001':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861567002':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861567003':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861567004':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861567005':{'en': 'Hebi, Henan', 'zh': u('\u6cb3\u5357\u7701\u9e64\u58c1\u5e02')},
'861567006':{'en': 'Hebi, Henan', 'zh': u('\u6cb3\u5357\u7701\u9e64\u58c1\u5e02')},
'861567007':{'en': 'Hebi, Henan', 'zh': u('\u6cb3\u5357\u7701\u9e64\u58c1\u5e02')},
'861567008':{'en': 'Hebi, Henan', 'zh': u('\u6cb3\u5357\u7701\u9e64\u58c1\u5e02')},
'861567009':{'en': 'Hebi, Henan', 'zh': u('\u6cb3\u5357\u7701\u9e64\u58c1\u5e02')},
'86156701':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'86156702':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'86156703':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'86156704':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'86156705':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861567060':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861567061':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861567062':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861567063':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861567064':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861567065':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861567066':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861567067':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861567068':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861567069':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861567070':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861567071':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861567072':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861567073':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861567074':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861567075':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861567076':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861567077':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861567078':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861567079':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861567080':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'861567081':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861567082':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'861567083':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'861567084':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'861567085':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'861567086':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'861567087':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'861567088':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'861567089':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'86156709':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'86156710':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861567108':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861567109':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'86156711':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861567110':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861567111':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861567112':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861567120':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861567121':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861567122':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'861567123':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'861567124':{'en': 'Suizhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u968f\u5dde\u5e02')},
'861567125':{'en': 'Suizhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u968f\u5dde\u5e02')},
'861567126':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'861567127':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'861567128':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'861567129':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'861567130':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'861567131':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'861567132':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'861567133':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'861567134':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'861567135':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861567136':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861567137':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861567138':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861567139':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'86156714':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861567148':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'861567149':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'86156715':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861567150':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861567151':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861567152':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861567153':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'86156716':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861567170':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861567171':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861567172':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861567173':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861567174':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861567175':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'861567176':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'861567177':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'861567178':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'861567179':{'en': 'Suizhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u968f\u5dde\u5e02')},
'861567180':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861567181':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861567182':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861567183':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861567184':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861567185':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861567186':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861567187':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861567188':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861567189':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861567190':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861567191':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861567192':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861567193':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861567194':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861567195':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861567196':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861567197':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861567198':{'en': 'Ezhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u9102\u5dde\u5e02')},
'861567199':{'en': 'Ezhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u9102\u5dde\u5e02')},
'861567200':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'861567201':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'861567202':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'861567203':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'861567204':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861567205':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861567206':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861567207':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861567208':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861567209':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'86156721':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861567210':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861567211':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861567212':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861567213':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'86156722':{'en': 'Xiangfan, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u6a0a\u5e02')},
'86156723':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861567230':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861567237':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861567238':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861567239':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861567240':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861567241':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861567242':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861567243':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861567244':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861567245':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861567246':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861567247':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861567248':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861567249':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861567250':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861567251':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861567252':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861567253':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861567254':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861567255':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861567256':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861567257':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861567258':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861567259':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'86156726':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'86156727':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'86156728':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861567290':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861567291':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'861567292':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861567293':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861567294':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861567295':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861567296':{'en': 'Suizhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u968f\u5dde\u5e02')},
'861567297':{'en': 'Suizhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u968f\u5dde\u5e02')},
'861567298':{'en': 'Suizhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u968f\u5dde\u5e02')},
'861567299':{'en': 'Suizhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u968f\u5dde\u5e02')},
'86156730':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861567307':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861567308':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861567309':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'86156731':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'86156732':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'86156733':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'86156734':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861567347':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861567348':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861567349':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861567350':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861567351':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861567352':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861567353':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861567354':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861567355':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861567356':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861567357':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861567358':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861567359':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'86156736':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861567367':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861567368':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861567369':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'86156737':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'86156738':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'86156739':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861567400':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861567401':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861567402':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861567403':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861567404':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861567405':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861567406':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861567407':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861567408':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861567409':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'86156741':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'86156742':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'86156743':{'en': 'Xiangxi, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u897f\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde')},
'86156744':{'en': 'Zhangjiajie, Hunan', 'zh': u('\u6e56\u5357\u7701\u5f20\u5bb6\u754c\u5e02')},
'86156745':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'86156746':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'86156747':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'86156748':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'86156749':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'86156750':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'86156751':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'86156752':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'86156753':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'86156754':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861567550':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'861567551':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861567552':{'en': 'Bengbu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u868c\u57e0\u5e02')},
'861567553':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861567554':{'en': 'Huainan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5357\u5e02')},
'861567555':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861567556':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861567557':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861567558':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861567559':{'en': 'Huangshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9ec4\u5c71\u5e02')},
'86156756':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861567566':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861567567':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861567568':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861567569':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'86156757':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'86156758':{'en': 'Changsha, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'86156759':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'86156760':{'en': 'Chongzuo, Guangxi', 'zh': u('\u5e7f\u897f\u5d07\u5de6\u5e02')},
}
| 91.754764
| 139
| 0.647298
| 124,295
| 919,658
| 4.789356
| 0.087236
| 0.050395
| 0.019594
| 0.025211
| 0.850408
| 0.850408
| 0.850408
| 0.84851
| 0.84851
| 0.84851
| 0
| 0.322211
| 0.065883
| 919,658
| 10,022
| 140
| 91.763919
| 0.370741
| 0.000735
| 0
| 0
| 1
| 0.023993
| 0.727758
| 0.414617
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.0001
| 0
| 0.0001
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 1
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 11
|
d5b1b5dba612a8b5742426de3a7648b04eae2e0e
| 60,039
|
py
|
Python
|
model.py
|
kris314/deep-text-recognition-benchmark
|
741dd9abc8b7b2f29ba088b308f0e8c1483153d9
|
[
"Apache-2.0"
] | null | null | null |
model.py
|
kris314/deep-text-recognition-benchmark
|
741dd9abc8b7b2f29ba088b308f0e8c1483153d9
|
[
"Apache-2.0"
] | null | null | null |
model.py
|
kris314/deep-text-recognition-benchmark
|
741dd9abc8b7b2f29ba088b308f0e8c1483153d9
|
[
"Apache-2.0"
] | null | null | null |
"""
Copyright (c) 2019-present NAVER Corp.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
import torch
import torch.nn as nn
import torch.nn.functional as F
import torch.autograd as autograd
import torchvision
from modules.transformation import TPS_SpatialTransformerNetwork
from modules.feature_extraction import VGG_FeatureExtractor, RCNN_FeatureExtractor, ResNet_FeatureExtractor
from modules.sequence_modeling import BidirectionalLSTM
from modules.prediction import Attention
from modules.content_encoder import LocalContentEncoder, GlobalContentEncoder
from modules.word_generator import WordGenerator,MLP, Conv2dBlock, ResBlocks, ResStyleBlocks, LinearBlock
import pdb
class Model(nn.Module):
def __init__(self, opt):
super(Model, self).__init__()
self.opt = opt
self.stages = {'Trans': opt.Transformation, 'Feat': opt.FeatureExtraction,
'Seq': opt.SequenceModeling, 'Pred': opt.Prediction}
""" Transformation """
if opt.Transformation == 'TPS':
self.Transformation = TPS_SpatialTransformerNetwork(
F=opt.num_fiducial, I_size=(opt.ocr_imgH, opt.ocr_imgW), I_r_size=(opt.ocr_imgH, opt.ocr_imgW), I_channel_num=opt.ocr_input_channel)
else:
print('No Transformation module specified')
""" FeatureExtraction """
if opt.FeatureExtraction == 'VGG':
self.FeatureExtraction = VGG_FeatureExtractor(opt.ocr_input_channel, opt.output_channel)
elif opt.FeatureExtraction == 'RCNN':
self.FeatureExtraction = RCNN_FeatureExtractor(opt.ocr_input_channel, opt.output_channel)
elif opt.FeatureExtraction == 'ResNet':
self.FeatureExtraction = ResNet_FeatureExtractor(opt.ocr_input_channel, opt.output_channel)
else:
raise Exception('No FeatureExtraction module specified')
self.FeatureExtraction_output = opt.output_channel # int(ocr_imgH/16-1) * 512
self.AdaptiveAvgPool = nn.AdaptiveAvgPool2d((None, 1)) # Transform final (ocr_imgH/16-1) -> 1
""" Sequence modeling"""
if opt.SequenceModeling == 'BiLSTM':
self.SequenceModeling = nn.Sequential(
BidirectionalLSTM(self.FeatureExtraction_output, opt.hidden_size, opt.hidden_size),
BidirectionalLSTM(opt.hidden_size, opt.hidden_size, opt.hidden_size))
self.SequenceModeling_output = opt.hidden_size
else:
print('No SequenceModeling module specified')
self.SequenceModeling_output = self.FeatureExtraction_output
""" Prediction """
if opt.Prediction == 'CTC':
self.Prediction = nn.Linear(self.SequenceModeling_output, opt.num_class)
elif opt.Prediction == 'Attn':
self.Prediction = Attention(self.SequenceModeling_output, opt.hidden_size, opt.num_class)
else:
raise Exception('Prediction is neither CTC or Attn')
def forward(self, input, text, is_train=True):
if self.opt.ocr_input_channel == 1 and self.opt.input_channel == 3:
#rgb2gray conversion
input = (input[:,0,:,:]*0.21+input[:,1,:,:]*0.72+input[:,1,:,:]*0.07).unsqueeze(1)
if input.shape[2]!=self.opt.ocr_imgH or input.shape[3]!=self.opt.ocr_imgW:
input = F.interpolate(input,(self.opt.ocr_imgH,self.opt.ocr_imgW),mode='bicubic', align_corners=False)
""" Transformation stage """
if not self.stages['Trans'] == "None":
input = self.Transformation(input)
""" Feature extraction stage """
visual_feature = self.FeatureExtraction(input)
visual_feature = self.AdaptiveAvgPool(visual_feature.permute(0, 3, 1, 2)) # [b, c, h, w] -> [b, w, c, h]
visual_feature = visual_feature.squeeze(3)
""" Sequence modeling stage """
if self.stages['Seq'] == 'BiLSTM':
contextual_feature = self.SequenceModeling(visual_feature)
else:
contextual_feature = visual_feature # for convenience. this is NOT contextually modeled by BiLSTM
""" Prediction stage """
if self.stages['Pred'] == 'CTC':
prediction = self.Prediction(contextual_feature.contiguous())
else:
prediction = self.Prediction(contextual_feature.contiguous(), text, is_train, batch_max_length=self.opt.batch_max_length)
return prediction
class ModelV1(nn.Module):
def __init__(self, opt):
super(ModelV1, self).__init__()
self.opt = opt
self.stages = {'Trans': opt.Transformation, 'Feat': opt.FeatureExtraction,
'Seq': opt.SequenceModeling, 'Pred': opt.Prediction}
""" Transformation """
if opt.Transformation == 'TPS':
self.Transformation = TPS_SpatialTransformerNetwork(
F=opt.num_fiducial, I_size=(opt.ocr_imgH, opt.ocr_imgW), I_r_size=(opt.ocr_imgH, opt.ocr_imgW), I_channel_num=opt.ocr_input_channel)
else:
print('No Transformation module specified')
""" FeatureExtraction """
if opt.FeatureExtraction == 'VGG':
self.FeatureExtraction = VGG_FeatureExtractor(opt.ocr_input_channel, opt.output_channel)
elif opt.FeatureExtraction == 'RCNN':
self.FeatureExtraction = RCNN_FeatureExtractor(opt.ocr_input_channel, opt.output_channel)
elif opt.FeatureExtraction == 'ResNet':
self.FeatureExtraction = ResNet_FeatureExtractor(opt.ocr_input_channel, opt.output_channel)
else:
raise Exception('No FeatureExtraction module specified')
self.FeatureExtraction_output = opt.output_channel # int(ocr_imgH/16-1) * 512
self.AdaptiveAvgPool = nn.AdaptiveAvgPool2d((None, 1)) # Transform final (ocr_imgH/16-1) -> 1
""" Sequence modeling"""
if opt.SequenceModeling == 'BiLSTM':
self.SequenceModeling = nn.Sequential(
BidirectionalLSTM(self.FeatureExtraction_output, opt.hidden_size, opt.hidden_size),
BidirectionalLSTM(opt.hidden_size, opt.hidden_size, opt.hidden_size))
self.SequenceModeling_output = opt.hidden_size
else:
print('No SequenceModeling module specified')
self.SequenceModeling_output = self.FeatureExtraction_output
""" Prediction """
if opt.Prediction == 'CTC':
self.Prediction = nn.Linear(self.SequenceModeling_output, opt.num_class)
elif opt.Prediction == 'Attn':
self.Prediction = Attention(self.SequenceModeling_output, opt.hidden_size, opt.num_class)
else:
raise Exception('Prediction is neither CTC or Attn')
def forward(self, input, text, is_train=True, returnFeat='pred', inAct=None):
# if inAct == 'tanh':
# input = torch.tanh(input)
if self.opt.ocr_input_channel == 1 and self.opt.input_channel == 3:
#rgb2gray conversion
input = (input[:,0,:,:]*0.21+input[:,1,:,:]*0.72+input[:,1,:,:]*0.07).unsqueeze(1)
if input.shape[2]!=self.opt.ocr_imgH or input.shape[3]!=self.opt.ocr_imgW:
input = F.interpolate(input,(self.opt.ocr_imgH,self.opt.ocr_imgW),mode='bicubic', align_corners=False)
""" Transformation stage """
if not self.stages['Trans'] == "None":
input = self.Transformation(input)
""" Feature extraction stage """
visual_feature = self.FeatureExtraction(input)
visual_feature = self.AdaptiveAvgPool(visual_feature.permute(0, 3, 1, 2)) # [b, c, h, w] -> [b, w, c, h]
visual_feature = visual_feature.squeeze(3)
if returnFeat == 'vis':
return visual_feature
""" Sequence modeling stage """
if self.stages['Seq'] == 'BiLSTM':
contextual_feature = self.SequenceModeling(visual_feature)
else:
contextual_feature = visual_feature # for convenience. this is NOT contextually modeled by BiLSTM
if returnFeat == 'seq':
return contextual_feature.contiguous()
""" Prediction stage """
if self.stages['Pred'] == 'CTC':
prediction = self.Prediction(contextual_feature.contiguous())
else:
prediction = self.Prediction(contextual_feature.contiguous(), text, is_train, batch_max_length=self.opt.batch_max_length)
return prediction
class AdaINGen(nn.Module):
# AdaIN auto-encoder architecture
def __init__(self, opt):
super(AdaINGen, self).__init__()
# dim = params['dim']
# style_dim = params['style_dim']
# n_downsample = ((2,2),(2,2),(2,1),(2,1))
# n_res = params['n_res']
# activ = params['activ']
# pad_type = params['pad_type']
# mlp_dim = params['mlp_dim']
# self.enc_style = StyleEncoder(4, input_dim, dim, style_dim, norm='none', activ=activ, pad_type=pad_type)
""" Style Encoder """
# if opt.FeatureExtraction == 'VGG':
self.enc_style = VGG_FeatureExtractor(opt.input_channel, opt.output_channel)
# elif opt.FeatureExtraction == 'RCNN':
# self.enc_style = RCNN_FeatureExtractor(opt.input_channel, opt.output_channel)
# elif opt.FeatureExtraction == 'ResNet':
# self.enc_style = ResNet_FeatureExtractor(opt.input_channel, opt.output_channel)
# else:
# raise Exception('No FeatureExtraction module specified')
#char embedding
if 'CTC' in opt.Prediction:
self.batch_max_length = opt.batch_max_length
else:
self.batch_max_length = opt.batch_max_length+2 #adding go and eos symbol
self.char_embed_size = opt.char_embed_size
self.charEmbed = nn.Embedding(opt.num_class, opt.char_embed_size)
# content encoder
self.enc_content_g1 = LocalContentEncoder(opt.char_embed_size)
n_downsample = ((2,1),(2,1),(2,2),(2,2))
self.dec = WordGenerator(n_downsample, 2, 512+opt.char_embed_size, opt.input_channel, res_norm='adain', activ='relu', pad_type='zero')
# MLP to generate AdaIN parameters
#g2 Content encoding
self.mlp = MLP(opt.char_embed_size*self.batch_max_length, self.get_num_adain_params(self.dec), 1024, 3, norm='bn', activ='relu')
def forward(self, images, labels_1, labels_2, styleFlag=False):
# reconstruct an image
style = self.enc_style(images)
if styleFlag:
return style
g1content_1 = self.enc_content_g1(self.charEmbed(labels_1))
g1content_2 = self.enc_content_g1(self.charEmbed(labels_2))
#Merge style and local content
styleWidth = style.shape[3]
styleHeight = style.shape[2]
mulWFactor = int(styleWidth/self.batch_max_length)
g1content_reshape_1 = g1content_1.repeat(1,mulWFactor,styleHeight).transpose(1,2).reshape(-1,styleHeight,styleWidth,self.char_embed_size).permute(0,3,1,2)
g1content_reshape_2 = g1content_2.repeat(1,mulWFactor,styleHeight).transpose(1,2).reshape(-1,styleHeight,styleWidth,self.char_embed_size).permute(0,3,1,2)
latent_1 = torch.cat((style,g1content_reshape_1),dim=1)
latent_2 = torch.cat((style,g1content_reshape_2),dim=1)
images_recon_1 = self.decode(latent_1, self.charEmbed(labels_1).reshape(-1,self.char_embed_size*self.batch_max_length))
images_recon_2 = self.decode(latent_2, self.charEmbed(labels_2).reshape(-1,self.char_embed_size*self.batch_max_length))
return images_recon_1, images_recon_2, style
def decode(self, input, labels):
# decode content and style codes to an image
adain_params = self.mlp(labels)
self.assign_adain_params(adain_params, self.dec)
images = self.dec(input)
return images
def assign_adain_params(self, adain_params, model):
# assign the adain_params to the AdaIN layers in model
for m in model.modules():
if m.__class__.__name__ == "AdaptiveInstanceNorm2d":
mean = adain_params[:, :m.num_features]
std = adain_params[:, m.num_features:2*m.num_features]
m.bias = mean.contiguous().view(-1)
m.weight = std.contiguous().view(-1)
if adain_params.size(1) > 2*m.num_features:
adain_params = adain_params[:, 2*m.num_features:]
def get_num_adain_params(self, model):
# return the number of AdaIN parameters needed by the model
num_adain_params = 0
for m in model.modules():
if m.__class__.__name__ == "AdaptiveInstanceNorm2d":
num_adain_params += 2*m.num_features
return num_adain_params
class AdaINGenV1(nn.Module):
# AdaIN auto-encoder architecture
def __init__(self, opt):
super(AdaINGenV1, self).__init__()
# dim = params['dim']
# style_dim = params['style_dim']
# n_downsample = ((2,2),(2,2),(2,1),(2,1))
# n_res = params['n_res']
# activ = params['activ']
# pad_type = params['pad_type']
# mlp_dim = params['mlp_dim']
# self.enc_style = StyleEncoder(4, input_dim, dim, style_dim, norm='none', activ=activ, pad_type=pad_type)
""" Style Encoder """
# if opt.FeatureExtraction == 'VGG':
self.enc_style = VGG_FeatureExtractor(opt.input_channel, opt.output_channel)
# elif opt.FeatureExtraction == 'RCNN':
# self.enc_style = RCNN_FeatureExtractor(opt.input_channel, opt.output_channel)
# elif opt.FeatureExtraction == 'ResNet':
# self.enc_style = ResNet_FeatureExtractor(opt.input_channel, opt.output_channel)
# else:
# raise Exception('No FeatureExtraction module specified')
#char embedding
if 'CTC' in opt.Prediction:
self.batch_max_length = opt.batch_max_length
else:
self.batch_max_length = opt.batch_max_length+2 #adding go and eos symbol
self.char_embed_size = opt.char_embed_size
self.charEmbed = nn.Embedding(opt.num_class, opt.char_embed_size)
# content encoder
self.enc_content_g1 = LocalContentEncoder(opt.char_embed_size)
n_downsample = ((2,1),(2,1),(2,2),(2,2))
self.dec = WordGenerator(n_downsample, 2, 512+opt.char_embed_size, opt.input_channel, res_norm='adain', activ='relu', pad_type='zero')
# MLP to generate AdaIN parameters
#g2 Content encoding
self.mlp = MLP(opt.char_embed_size*self.batch_max_length, self.get_num_adain_params(self.dec), 1024, 3, norm='bn', activ='relu')
def forward(self, images, labels_1, labels_2, styleFlag=False):
# reconstruct an image
style = self.enc_style(images)
if styleFlag:
return style
g1content_1 = self.enc_content_g1(self.charEmbed(labels_1))
g1content_2 = self.enc_content_g1(self.charEmbed(labels_2))
#Merge style and local content
styleWidth = style.shape[3]
styleHeight = style.shape[2]
mulWFactor = int(styleWidth/self.batch_max_length)
g1content_reshape_1 = g1content_1.repeat(1,mulWFactor,styleHeight).transpose(1,2).reshape(-1,styleHeight,styleWidth,self.char_embed_size).permute(0,3,1,2)
g1content_reshape_2 = g1content_2.repeat(1,mulWFactor,styleHeight).transpose(1,2).reshape(-1,styleHeight,styleWidth,self.char_embed_size).permute(0,3,1,2)
latent_1 = torch.cat((style,g1content_reshape_1),dim=1)
latent_2 = torch.cat((style.detach(),g1content_reshape_2),dim=1)
images_recon_1 = self.decode(latent_1, self.charEmbed(labels_1).reshape(-1,self.char_embed_size*self.batch_max_length))
images_recon_2 = self.decode(latent_2, self.charEmbed(labels_2).reshape(-1,self.char_embed_size*self.batch_max_length))
return images_recon_1, images_recon_2, style
def decode(self, input, labels):
# decode content and style codes to an image
adain_params = self.mlp(labels)
self.assign_adain_params(adain_params, self.dec)
images = self.dec(input)
return images
def assign_adain_params(self, adain_params, model):
# assign the adain_params to the AdaIN layers in model
for m in model.modules():
if m.__class__.__name__ == "AdaptiveInstanceNorm2d":
mean = adain_params[:, :m.num_features]
std = adain_params[:, m.num_features:2*m.num_features]
m.bias = mean.contiguous().view(-1)
m.weight = std.contiguous().view(-1)
if adain_params.size(1) > 2*m.num_features:
adain_params = adain_params[:, 2*m.num_features:]
def get_num_adain_params(self, model):
# return the number of AdaIN parameters needed by the model
num_adain_params = 0
for m in model.modules():
if m.__class__.__name__ == "AdaptiveInstanceNorm2d":
num_adain_params += 2*m.num_features
return num_adain_params
class AdaINGenV2(nn.Module):
# AdaIN auto-encoder architecture
def __init__(self, opt):
super(AdaINGenV2, self).__init__()
# dim = params['dim']
# style_dim = params['style_dim']
# n_downsample = ((2,2),(2,2),(2,1),(2,1))
# n_res = params['n_res']
# activ = params['activ']
# pad_type = params['pad_type']
# mlp_dim = params['mlp_dim']
# self.enc_style = StyleEncoder(4, input_dim, dim, style_dim, norm='none', activ=activ, pad_type=pad_type)
""" Style Encoder """
# if opt.FeatureExtraction == 'VGG':
self.enc_style = VGG_FeatureExtractor(opt.input_channel, opt.output_channel)
# elif opt.FeatureExtraction == 'RCNN':
# self.enc_style = RCNN_FeatureExtractor(opt.input_channel, opt.output_channel)
# elif opt.FeatureExtraction == 'ResNet':
# self.enc_style = ResNet_FeatureExtractor(opt.input_channel, opt.output_channel)
# else:
# raise Exception('No FeatureExtraction module specified')
#char embedding
if 'CTC' in opt.Prediction:
self.batch_max_length = opt.batch_max_length
else:
self.batch_max_length = opt.batch_max_length+2 #adding go and eos symbol
self.char_embed_size = opt.char_embed_size
self.charEmbed = nn.Embedding(opt.num_class, opt.char_embed_size)
# content encoder
self.enc_content_g1 = LocalContentEncoder(opt.char_embed_size)
n_downsample = ((2,1),(2,1),(2,2),(2,2))
self.dec = WordGenerator(n_downsample, 2, 512+opt.char_embed_size, opt.input_channel, res_norm='adain', activ='relu', pad_type='zero')
# MLP to generate AdaIN parameters
#g2 Content encoding
self.mlp = MLP(opt.char_embed_size*self.batch_max_length, self.get_num_adain_params(self.dec), 1024, 3, norm='bn', activ='relu')
def forward(self, images, labels_1, labels_2, styleFlag=False):
# reconstruct an image
style = self.enc_style(images)
if styleFlag:
return style
g1content_1 = self.enc_content_g1(self.charEmbed(labels_1))
g1content_2 = self.enc_content_g1(self.charEmbed(labels_2))
#Merge style and local content
styleWidth = style.shape[3]
styleHeight = style.shape[2]
mulWFactor = int(styleWidth/self.batch_max_length)
g1content_reshape_1 = g1content_1.repeat(1,mulWFactor,styleHeight).transpose(1,2).reshape(-1,styleHeight,styleWidth,self.char_embed_size).permute(0,3,1,2)
g1content_reshape_2 = g1content_2.repeat(1,mulWFactor,styleHeight).transpose(1,2).reshape(-1,styleHeight,styleWidth,self.char_embed_size).permute(0,3,1,2)
latent_1 = torch.cat((style,g1content_reshape_1),dim=1)
latent_2 = torch.cat((style.detach(),g1content_reshape_2),dim=1)
images_recon_1 = self.decode(latent_1, self.charEmbed(labels_1).reshape(-1,self.char_embed_size*self.batch_max_length))
images_recon_2 = self.decode(latent_2, self.charEmbed(labels_2).reshape(-1,self.char_embed_size*self.batch_max_length))
return images_recon_1, images_recon_2, style
def decode(self, input, labels):
# decode content and style codes to an image
adain_params = self.mlp(labels)
self.assign_adain_params(adain_params, self.dec)
images = self.dec(input)
return images
def assign_adain_params(self, adain_params, model):
# assign the adain_params to the AdaIN layers in model
for m in model.modules():
if m.__class__.__name__ == "AdaptiveInstanceNorm2d":
mean = adain_params[:, :m.num_features]
std = adain_params[:, m.num_features:2*m.num_features]
m.bias = mean.contiguous().view(-1)
m.weight = std.contiguous().view(-1)
if adain_params.size(1) > 2*m.num_features:
adain_params = adain_params[:, 2*m.num_features:]
def get_num_adain_params(self, model):
# return the number of AdaIN parameters needed by the model
num_adain_params = 0
for m in model.modules():
if m.__class__.__name__ == "AdaptiveInstanceNorm2d":
num_adain_params += 2*m.num_features
return num_adain_params
class AdaINGenV3(nn.Module):
# AdaIN auto-encoder architecture
def __init__(self, opt):
super(AdaINGenV2, self).__init__()
""" Style Encoder """
self.enc_style = VGG_FeatureExtractor(opt.input_channel, opt.output_channel)
#char embedding
if 'CTC' in opt.Prediction:
self.batch_max_length = opt.batch_max_length
else:
self.batch_max_length = opt.batch_max_length+2 #adding go and eos symbol
self.char_embed_size = opt.char_embed_size
self.charEmbed = nn.Embedding(opt.num_class, opt.char_embed_size)
# content encoder
self.enc_content_g1 = LocalContentEncoder(opt.char_embed_size)
n_downsample = ((2,1),(2,1),(2,2),(2,2))
self.dec = WordGenerator(n_downsample, 2, 512+opt.char_embed_size, opt.input_channel, res_norm='adain', activ='relu', pad_type='zero')
# MLP to generate AdaIN parameters
#g2 Content encoding
adainParamSize = self.get_num_adain_params(self.dec)
# if adainParamSize%4 != 0:
# print('Error in adain param size. Should be divisible by 4')
# self.mlp = MLP(opt.char_embed_size*self.batch_max_length, int(adainParamSize/2), 1024, 3, norm='bn', activ='relu')
self.mlp = MLP((opt.char_embed_size*self.batch_max_length)+opt.output_channel, adainParamSize, 1024, 3, norm='bn', activ='relu')
#ToDo:
#style input hardcoded for VGG input of size 32x100; Remove hardcoding
# self.styleMLP = MLP(opt.output_channel*2*25, int(adainParamSize/2), 1024, 3, norm='bn', activ='relu')
def forward(self, images, labels_1, labels_2, styleFlag=False):
# reconstruct an image
style = self.enc_style(images)
styleEmbedInput = F.adaptive_avg_pool2d(style,(1,1)).squeeze()
# style.reshape(-1,style.shape[1]*style.shape[2]*style.shape[3])
if styleFlag:
return styleEmbedInput
g1content_1 = self.enc_content_g1(self.charEmbed(labels_1))
g1content_2 = self.enc_content_g1(self.charEmbed(labels_2))
#Merge style and local content
styleWidth = style.shape[3]
styleHeight = style.shape[2]
mulWFactor = int(styleWidth/self.batch_max_length)
g1content_reshape_1 = g1content_1.repeat(1,mulWFactor,styleHeight).transpose(1,2).reshape(-1,styleHeight,styleWidth,self.char_embed_size).permute(0,3,1,2)
g1content_reshape_2 = g1content_2.repeat(1,mulWFactor,styleHeight).transpose(1,2).reshape(-1,styleHeight,styleWidth,self.char_embed_size).permute(0,3,1,2)
latent_1 = torch.cat((style,g1content_reshape_1),dim=1)
latent_2 = torch.cat((style,g1content_reshape_2),dim=1)
images_recon_1 = self.decode(latent_1, torch.cat((self.charEmbed(labels_1).reshape(-1,self.char_embed_size*self.batch_max_length), styleEmbedInput),dim=1))
images_recon_2 = self.decode(latent_2, torch.cat((self.charEmbed(labels_2).reshape(-1,self.char_embed_size*self.batch_max_length), styleEmbedInput),dim=1))
return images_recon_1, images_recon_2, styleEmbedInput
def decode(self, input, labels):
# decode content and style codes to an image
adain_params = self.mlp(labels)
self.assign_adain_params(adain_params, self.dec)
images = self.dec(input)
return images
def assign_adain_params(self, adain_params, model):
# assign the adain_params to the AdaIN layers in model
for m in model.modules():
if m.__class__.__name__ == "AdaptiveInstanceNorm2d":
mean = adain_params[:, :m.num_features]
std = adain_params[:, m.num_features:2*m.num_features]
m.bias = mean.contiguous().view(-1)
m.weight = std.contiguous().view(-1)
if adain_params.size(1) > 2*m.num_features:
adain_params = adain_params[:, 2*m.num_features:]
def get_num_adain_params(self, model):
# return the number of AdaIN parameters needed by the model
num_adain_params = 0
for m in model.modules():
if m.__class__.__name__ == "AdaptiveInstanceNorm2d":
num_adain_params += 2*m.num_features
return num_adain_params
class AdaINGenV4(nn.Module):
# AdaIN auto-encoder architecture
def __init__(self, opt):
super(AdaINGenV4, self).__init__()
# dim = params['dim']
# style_dim = params['style_dim']
# n_downsample = ((2,2),(2,2),(2,1),(2,1))
# n_res = params['n_res']
# activ = params['activ']
# pad_type = params['pad_type']
# mlp_dim = params['mlp_dim']
# self.enc_style = StyleEncoder(4, input_dim, dim, style_dim, norm='none', activ=activ, pad_type=pad_type)
""" Style Encoder """
# if opt.FeatureExtraction == 'VGG':
self.enc_style = VGG_FeatureExtractor(opt.input_channel, opt.output_channel)
# elif opt.FeatureExtraction == 'RCNN':
# self.enc_style = RCNN_FeatureExtractor(opt.input_channel, opt.output_channel)
# elif opt.FeatureExtraction == 'ResNet':
# self.enc_style = ResNet_FeatureExtractor(opt.input_channel, opt.output_channel)
# else:
# raise Exception('No FeatureExtraction module specified')
#char embedding
# if 'CTC' in opt.Prediction:
# self.batch_max_length = opt.batch_max_length
# else:
# self.batch_max_length = opt.batch_max_length+2 #adding go and eos symbol
#V4: no addition of go and eos symbol
self.batch_max_length = opt.batch_max_length
self.Prediction = opt.Prediction
self.char_embed_size = opt.char_embed_size
self.charEmbed = nn.Embedding(opt.num_class, opt.char_embed_size)
# content encoder
self.enc_content_g1 = LocalContentEncoder(opt.char_embed_size)
n_downsample = ((2,1),(2,1),(2,2),(2,2))
self.dec = WordGenerator(n_downsample, 2, 512+opt.char_embed_size, opt.input_channel, res_norm='adain', activ='relu', pad_type='zero')
# MLP to generate AdaIN parameters
#g2 Content encoding
self.mlp = MLP(opt.char_embed_size*self.batch_max_length, self.get_num_adain_params(self.dec), 1024, 3, norm='bn', activ='relu')
def forward(self, images, labels_1, labels_2, styleFlag=False):
# reconstruct an image
style = self.enc_style(images)
if styleFlag:
return style
if not('CTC' in self.Prediction):
labels_1 = labels_1[:,1:-1]
labels_2 = labels_2[:,1:-1]
g1content_1 = self.enc_content_g1(self.charEmbed(labels_1))
g1content_2 = self.enc_content_g1(self.charEmbed(labels_2))
#Merge style and local content
styleWidth = style.shape[3]
styleHeight = style.shape[2]
mulWFactor = int(styleWidth/self.batch_max_length)
g1content_reshape_1 = g1content_1.repeat(1,mulWFactor,styleHeight).transpose(1,2).reshape(-1,styleHeight,styleWidth,self.char_embed_size).permute(0,3,1,2)
g1content_reshape_2 = g1content_2.repeat(1,mulWFactor,styleHeight).transpose(1,2).reshape(-1,styleHeight,styleWidth,self.char_embed_size).permute(0,3,1,2)
latent_1 = torch.cat((style,g1content_reshape_1),dim=1)
latent_2 = torch.cat((style,g1content_reshape_2),dim=1)
images_recon_1 = self.decode(latent_1, self.charEmbed(labels_1).reshape(-1,self.char_embed_size*self.batch_max_length))
images_recon_2 = self.decode(latent_2, self.charEmbed(labels_2).reshape(-1,self.char_embed_size*self.batch_max_length))
return images_recon_1, images_recon_2, style
def decode(self, input, labels):
# decode content and style codes to an image
adain_params = self.mlp(labels)
self.assign_adain_params(adain_params, self.dec)
images = self.dec(input)
return images
def assign_adain_params(self, adain_params, model):
# assign the adain_params to the AdaIN layers in model
for m in model.modules():
if m.__class__.__name__ == "AdaptiveInstanceNorm2d":
mean = adain_params[:, :m.num_features]
std = adain_params[:, m.num_features:2*m.num_features]
m.bias = mean.contiguous().view(-1)
m.weight = std.contiguous().view(-1)
if adain_params.size(1) > 2*m.num_features:
adain_params = adain_params[:, 2*m.num_features:]
def get_num_adain_params(self, model):
# return the number of AdaIN parameters needed by the model
num_adain_params = 0
for m in model.modules():
if m.__class__.__name__ == "AdaptiveInstanceNorm2d":
num_adain_params += 2*m.num_features
return num_adain_params
class AdaINGenV5(nn.Module):
# AdaIN auto-encoder architecture
def __init__(self, opt):
super(AdaINGenV5, self).__init__()
# dim = params['dim']
# style_dim = params['style_dim']
# n_downsample = ((2,2),(2,2),(2,1),(2,1))
# n_res = params['n_res']
# activ = params['activ']
# pad_type = params['pad_type']
# mlp_dim = params['mlp_dim']
# self.enc_style = StyleEncoder(4, input_dim, dim, style_dim, norm='none', activ=activ, pad_type=pad_type)
""" Style Encoder """
# if opt.FeatureExtraction == 'VGG':
self.enc_style = VGG_FeatureExtractor(opt.input_channel, opt.output_channel)
# elif opt.FeatureExtraction == 'RCNN':
# self.enc_style = RCNN_FeatureExtractor(opt.input_channel, opt.output_channel)
# elif opt.FeatureExtraction == 'ResNet':
# self.enc_style = ResNet_FeatureExtractor(opt.input_channel, opt.output_channel)
# else:
# raise Exception('No FeatureExtraction module specified')
#char embedding
# if 'CTC' in opt.Prediction:
# self.batch_max_length = opt.batch_max_length
# else:
# self.batch_max_length = opt.batch_max_length+2 #adding go and eos symbol
#V4: no addition of go and eos symbol
self.batch_max_length = opt.batch_max_length
self.Prediction = opt.Prediction
self.char_embed_size = opt.char_embed_size
self.charEmbed = nn.Embedding(opt.num_class, opt.char_embed_size)
# content encoder
self.enc_content_g1 = LocalContentEncoder(opt.char_embed_size)
n_downsample = ((2,1),(2,1),(2,2),(2,2))
self.dec = WordGenerator(n_downsample, 2, 512+opt.char_embed_size, opt.input_channel, res_norm='adain', activ='relu', pad_type='zero')
# MLP to generate AdaIN parameters
#g2 Content encoding
self.mlp = MLP(opt.char_embed_size*self.batch_max_length, self.get_num_adain_params(self.dec), 1024, 3, norm='bn', activ='relu')
def forward(self, images, labels_1, labels_2, styleFlag=False):
# reconstruct an image
style = self.enc_style(images)
if styleFlag:
return style
if not('CTC' in self.Prediction):
labels_1 = labels_1[:,1:-1]
labels_2 = labels_2[:,1:-1]
g1content_1 = self.enc_content_g1(self.charEmbed(labels_1))
g1content_2 = self.enc_content_g1(self.charEmbed(labels_2))
#Merge style and local content
styleWidth = style.shape[3]
styleHeight = style.shape[2]
mulWFactor = int(styleWidth/self.batch_max_length)
g1content_reshape_1 = g1content_1.repeat(1,mulWFactor,styleHeight).transpose(1,2).reshape(-1,styleHeight,styleWidth,self.char_embed_size).permute(0,3,1,2)
g1content_reshape_2 = g1content_2.repeat(1,mulWFactor,styleHeight).transpose(1,2).reshape(-1,styleHeight,styleWidth,self.char_embed_size).permute(0,3,1,2)
latent_1 = torch.cat((style,g1content_reshape_1),dim=1)
latent_2 = torch.cat((style,g1content_reshape_2),dim=1)
images_recon_1 = self.decode(latent_1, self.charEmbed(labels_1).reshape(-1,self.char_embed_size*self.batch_max_length))
images_recon_2 = self.decode(latent_2, self.charEmbed(labels_2).reshape(-1,self.char_embed_size*self.batch_max_length))
return images_recon_1, images_recon_2, style
def decode(self, input, labels):
# decode content and style codes to an image
adain_params = self.mlp(labels)
self.assign_adain_params(adain_params, self.dec)
images = self.dec(input)
return images
def assign_adain_params(self, adain_params, model):
# assign the adain_params to the AdaIN layers in model
for m in model.modules():
if m.__class__.__name__ == "AdaptiveInstanceNorm2d":
mean = adain_params[:, :m.num_features]
std = adain_params[:, m.num_features:2*m.num_features]
m.bias = mean.contiguous().view(-1)
m.weight = std.contiguous().view(-1)
if adain_params.size(1) > 2*m.num_features:
adain_params = adain_params[:, 2*m.num_features:]
def get_num_adain_params(self, model):
# return the number of AdaIN parameters needed by the model
num_adain_params = 0
for m in model.modules():
if m.__class__.__name__ == "AdaptiveInstanceNorm2d":
num_adain_params += 2*m.num_features
return num_adain_params
class StyleTensorEncoder(nn.Module):
def __init__(self, n_downsample=3, n_res=4, input_dim=1, dim=64, norm='bn', activ='lrelu', pad_type='zero'):
super(StyleTensorEncoder, self).__init__()
self.model = []
self.model += [Conv2dBlock(input_dim, dim, 3, 1, 1, norm=norm, activation=activ, pad_type=pad_type)]
self.model += [Conv2dBlock(dim, dim, 3, 1, 1, norm=norm, activation=activ, pad_type=pad_type)]
# downsampling blocks
for i in range(n_downsample):
self.model += [Conv2dBlock(dim, 2 * dim, 3, 2, 1, norm=norm, activation=activ, pad_type=pad_type)]
self.model += [Conv2dBlock(2 * dim, 2 * dim, 3, 1, 1, norm=norm, activation=activ, pad_type=pad_type)]
self.model += [Conv2dBlock(2 * dim, 2 * dim, 3, 1, 1, norm=norm, activation=activ, pad_type=pad_type)]
dim *= 2
# residual blocks
self.model += [ResStyleBlocks(n_res, dim, norm=norm, activation=activ, pad_type=pad_type)]
self.model = nn.Sequential(*self.model)
self.output_dim = dim
def forward(self, x):
return self.model(x)
class StyleLatentEncoder(nn.Module):
def __init__(self, n_downsample=3, n_res=4, input_dim=1, dim=64, norm='bn', activ='lrelu', pad_type='zero'):
super(StyleLatentEncoder, self).__init__()
self.model = []
self.model += [VGG_FeatureExtractor(3, 512)]
# self.model += [Conv2dBlock(input_dim, dim, 3, 1, 1, norm=norm, activation=activ, pad_type=pad_type)]
# self.model += [Conv2dBlock(dim, dim, 3, 1, 1, norm=norm, activation=activ, pad_type=pad_type)]
# # downsampling blocks
# for i in range(n_downsample):
# self.model += [Conv2dBlock(dim, 2 * dim, 3, 2, 1, norm=norm, activation=activ, pad_type=pad_type)]
# self.model += [Conv2dBlock(2 * dim, 2 * dim, 3, 1, 1, norm=norm, activation=activ, pad_type=pad_type)]
# self.model += [Conv2dBlock(2 * dim, 2 * dim, 3, 1, 1, norm=norm, activation=activ, pad_type=pad_type)]
# dim *= 2
# # residual blocks
# self.model += [ResStyleBlocks(n_res, dim, norm=norm, activation=activ, pad_type=pad_type)]
self.model += [nn.AdaptiveAvgPool2d((1,1))]
self.model = nn.Sequential(*self.model)
self.output_dim = dim
def forward(self, x):
return self.model(x)
class AdaIN_Tensor_WordGenerator(nn.Module):
def __init__(self, opt):
super(AdaIN_Tensor_WordGenerator, self).__init__()
self.batch_max_length = opt.batch_max_length
# self.Prediction = opt.Prediction
self.char_embed_size = opt.char_embed_size
self.charEmbed = nn.Embedding(opt.num_class, opt.char_embed_size)
if 'Attn' in opt.Prediction:
self.text_len = self.batch_max_length+2
else:
self.text_len = self.batch_max_length
# content encoder
self.enc_content_g1 = LocalContentEncoder(opt.char_embed_size)
n_downsample = ((2,2),(2,2),(2,2))
# word generator
self.dec = WordGenerator(n_downsample, 2, 512+opt.char_embed_size, opt.input_channel, res_norm='adain', activ='relu', pad_type='zero')
# MLP to generate AdaIN parameters and g2 Content encoding
self.mlp = MLP(opt.char_embed_size*self.text_len, self.get_num_adain_params(self.dec), 1024, 3, norm='bn', activ='relu')
def forward(self, style, labels):
g1content = self.enc_content_g1(self.charEmbed(labels))
#Merge style and local content
styleWidth = style.shape[3]
styleHeight = style.shape[2]
mulWFactor = int(styleWidth/self.text_len)
g1content_reshape = g1content.repeat(1,mulWFactor,styleHeight).transpose(1,2).reshape(-1,styleHeight,mulWFactor*self.text_len,self.char_embed_size).permute(0,3,1,2)
g1content_reshape = F.pad(g1content_reshape,(0,styleWidth-mulWFactor*self.text_len,0,0),'replicate')
latent = torch.cat((style,g1content_reshape),dim=1)
images_recon = self.decode(latent, self.charEmbed(labels).reshape(-1,self.char_embed_size*self.text_len))
return images_recon
def decode(self, input, labels):
# decode content and style codes to an image
adain_params = self.mlp(labels)
self.assign_adain_params(adain_params, self.dec)
images = self.dec(input)
return images
def assign_adain_params(self, adain_params, model):
# assign the adain_params to the AdaIN layers in model
for m in model.modules():
if m.__class__.__name__ == "AdaptiveInstanceNorm2d":
mean = adain_params[:, :m.num_features]
std = adain_params[:, m.num_features:2*m.num_features]
m.bias = mean.contiguous().view(-1)
m.weight = std.contiguous().view(-1)
if adain_params.size(1) > 2*m.num_features:
adain_params = adain_params[:, 2*m.num_features:]
def get_num_adain_params(self, model):
# return the number of AdaIN parameters needed by the model
num_adain_params = 0
for m in model.modules():
if m.__class__.__name__ == "AdaptiveInstanceNorm2d":
num_adain_params += 2*m.num_features
return num_adain_params
class PixelNorm(nn.Module):
def __init__(self):
super().__init__()
def forward(self, input):
return input * torch.rsqrt(torch.mean(input ** 2, dim=1, keepdim=True) + 1e-8)
class L2Norm(nn.Module):
def __init__(self):
super().__init__()
def forward(self, input):
return input * torch.rsqrt(torch.sum(input ** 2, dim=1, keepdim=True) + 1e-8)
class Mixer(nn.Module):
def __init__(self, opt, nblk=3, dim=512):
super(Mixer, self).__init__()
self.dim=dim
self.charEmbed = nn.Embedding(opt.num_class, opt.char_embed_size)
if 'Attn' in opt.Prediction:
self.text_len = opt.batch_max_length+2
else:
self.text_len = opt.batch_max_length
self.NormLayer=PixelNorm()
self.cEncoder = GlobalContentEncoder(opt.num_class, self.text_len, opt.char_embed_size, dim)
# self.mixNet = MLP(dim*2, dim*2, dim*2, nblk, norm='none')
self.mixNet = MLP(dim*2, dim, dim, nblk, norm='none')
def forward(self, style, content):
input = torch.cat([self.NormLayer(style),self.NormLayer(self.cEncoder(content))],dim=1)
return self.mixNet(input)
class Fusion(nn.Module):
def __init__(self, n_downsample=1, n_res=2, input_dim=512*2, dim=512, norm='bn', activ='lrelu', pad_type='zero'):
super(Fusion, self).__init__()
self.model = []
self.model += [Conv2dBlock(input_dim, dim, 3, 1, 1, norm=norm, activation=activ, pad_type=pad_type)]
self.model += [Conv2dBlock(dim, dim, 3, 1, 1, norm=norm, activation=activ, pad_type=pad_type)]
# downsampling blocks
for i in range(n_downsample):
self.model += [Conv2dBlock(dim, dim, 3, 2, 1, norm=norm, activation=activ, pad_type=pad_type)]
self.model += [Conv2dBlock(dim, dim, 3, 1, 1, norm=norm, activation=activ, pad_type=pad_type)]
# residual blocks
self.model += [ResStyleBlocks(n_res, dim, norm=norm, activation=activ, pad_type=pad_type)]
self.model = nn.Sequential(*self.model)
self.linear_model = LinearBlock(4*16*dim, dim, norm='none', activation=activ)
self.output_dim = dim
def forward(self, styleCode, contentCode):
x = self.model(torch.cat((styleCode,contentCode), dim=1))
x = x.view(-1,4*16*self.output_dim)
return self.linear_model(x)
class MsImageDis(nn.Module):
# Multi-scale discriminator architecture
def __init__(self, opt):
super(MsImageDis, self).__init__()
self.n_layer = 3
self.gan_type = 'lsgan'
self.dim = 64
self.norm = 'none'
self.activ = 'lrelu'
self.num_scales = 3
self.pad_type = 'zero'
self.input_dim = opt.input_channel
self.downsample = nn.AvgPool2d(2, stride=1, padding=[1, 1], count_include_pad=False)
self.cnns = nn.ModuleList()
for _ in range(self.num_scales):
self.cnns.append(self._make_net())
def _make_net(self):
dim = self.dim
cnn_x = []
cnn_x += [Conv2dBlock(self.input_dim, dim, 3, 2, 1, norm='none', activation=self.activ, pad_type=self.pad_type)]
for i in range(self.n_layer - 1):
cnn_x += [Conv2dBlock(dim, dim * 2, 3, 2, 1, norm=self.norm, activation=self.activ, pad_type=self.pad_type)]
dim *= 2
cnn_x += [nn.Conv2d(dim, 1, 1, 1, 0)]
cnn_x = nn.Sequential(*cnn_x)
return cnn_x
def forward(self, x):
outputs = []
for model in self.cnns:
outputs.append(model(x))
x = self.downsample(x)
return outputs
def calc_dis_loss(self, input_fake, input_real):
# calculate the loss to train D
outs0 = self.forward(input_fake)
outs1 = self.forward(input_real)
real = input_real.data
fake = input_fake.data
loss = 0
for it, (out0, out1) in enumerate(zip(outs0, outs1)):
if self.gan_type == 'lsgan':
loss += torch.mean((out0 - 0)**2) + torch.mean((out1 - 1)**2)
elif self.gan_type == 'nsgan':
all0 = torch.zeros_like(out0.data).cuda()
all1 = torch.ones_like(out1.data).cuda()
loss += torch.mean(F.binary_cross_entropy(F.sigmoid(out0), all0) +
F.binary_cross_entropy(F.sigmoid(out1), all1))
else:
assert 0, "Unsupported GAN type: {}".format(self.gan_type)
return loss
def calc_gen_loss(self, input_fake):
# calculate the loss to train G
outs0 = self.forward(input_fake)
loss = 0
for it, (out0) in enumerate(outs0):
if self.gan_type == 'lsgan':
loss += torch.mean((out0 - 1)**2) # LSGAN
elif self.gan_type == 'nsgan':
all1 = torch.ones_like(out0.data).cuda()
loss += torch.mean(F.binary_cross_entropy(F.sigmoid(out0), all1))
else:
assert 0, "Unsupported GAN type: {}".format(self.gan_type)
return loss
class MsImageDisV1(nn.Module):
# Multi-scale discriminator architecture
def __init__(self, opt):
super(MsImageDisV1, self).__init__()
self.n_layer = 3
self.gan_type = opt.gan_type
self.dim = 64
self.norm = 'none'
self.activ = 'lrelu'
self.num_scales = 3
self.pad_type = 'zero'
self.input_dim = opt.input_channel
self.downsample = nn.AvgPool2d(3, stride=2, padding=[1, 1], count_include_pad=False)
self.cnns = nn.ModuleList()
for _ in range(self.num_scales):
self.cnns.append(self._make_net())
def _make_net(self):
dim = self.dim
cnn_x = []
cnn_x += [Conv2dBlock(self.input_dim, dim, 3, 2, 1, norm='none', activation=self.activ, pad_type=self.pad_type)]
for i in range(self.n_layer - 1):
cnn_x += [Conv2dBlock(dim, dim * 2, 3, 2, 1, norm=self.norm, activation=self.activ, pad_type=self.pad_type)]
dim *= 2
cnn_x += [nn.Conv2d(dim, 1, 1, 1, 0)]
cnn_x = nn.Sequential(*cnn_x)
return cnn_x
def forward(self, x):
outputs = []
for model in self.cnns:
outputs.append(model(x))
x = self.downsample(x)
return outputs
def calc_gradient_penalty(self, model, real_data, fake_data):
LAMBDA = 10
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
alpha = torch.rand(real_data.shape[0], 1, 1, 1)
alpha = alpha.expand(real_data.size())
alpha = alpha.to(device)
interpolates = alpha * real_data + ((1 - alpha) * fake_data)
interpolates = interpolates.to(device)
interpolates = autograd.Variable(interpolates, requires_grad=True)
disc_interpolates = model(interpolates)
# TODO: Make ConvBackward diffentiable
gradients = autograd.grad(outputs=disc_interpolates, inputs=interpolates,
grad_outputs=torch.ones(disc_interpolates.size()).to(device),
create_graph=True, retain_graph=True, only_inputs=True)[0]
gradient_penalty = ((gradients.norm(2, dim=1) - 1) ** 2).mean() * LAMBDA
return gradient_penalty
def calc_dis_loss(self, input_fake, input_real):
# calculate the loss to train D
outs0 = self.forward(input_fake)
outs1 = self.forward(input_real)
real = input_real.data
fake = input_fake.data
loss = 0
for it, (out0, out1) in enumerate(zip(outs0, outs1)):
if self.gan_type == 'lsgan':
loss += torch.mean((out0 - 0)**2) + torch.mean((out1 - 1)**2)
elif self.gan_type == 'nsgan':
all0 = torch.zeros_like(out0.data).cuda()
all1 = torch.ones_like(out1.data).cuda()
loss += torch.mean(F.binary_cross_entropy(F.sigmoid(out0), all0) +
F.binary_cross_entropy(F.sigmoid(out1), all1))
elif self.gan_type == 'wgan':
model=self.cnns[it]
loss += torch.mean(out0) - torch.mean(out1) + self.calc_gradient_penalty(model, real, fake)
real = self.downsample(real)
fake = self.downsample(fake)
else:
assert 0, "Unsupported GAN type: {}".format(self.gan_type)
return loss
def calc_gen_loss(self, input_fake):
# calculate the loss to train G
outs0 = self.forward(input_fake)
loss = 0
for it, (out0) in enumerate(outs0):
if self.gan_type == 'lsgan':
loss += torch.mean((out0 - 1)**2) # LSGAN
elif self.gan_type == 'nsgan':
all1 = torch.ones_like(out0.data).cuda()
loss += torch.mean(F.binary_cross_entropy(F.sigmoid(out0), all1))
elif self.gan_type == 'wgan':
loss += -1 * torch.mean(out0)
else:
assert 0, "Unsupported GAN type: {}".format(self.gan_type)
return loss
class MsImageDisV2(nn.Module):
# Multi-scale discriminator architecture
def __init__(self, opt):
super(MsImageDisV2, self).__init__()
self.n_layer = 4
self.gan_type = opt.gan_type
self.dim = 64
self.norm = 'none'
self.activ = 'lrelu'
self.num_scales = 3
self.pad_type = 'zero'
self.input_dim = opt.input_channel*2
self.downsample = nn.AvgPool2d(3, stride=2, padding=[1, 1], count_include_pad=False)
self.cnns = nn.ModuleList()
for _ in range(self.num_scales):
self.cnns.append(self._make_net())
def _make_net(self):
dim = self.dim
cnn_x = []
cnn_x += [Conv2dBlock(self.input_dim, dim, 3, 2, 1, norm='none', activation=self.activ, pad_type=self.pad_type)]
for i in range(self.n_layer - 1):
cnn_x += [Conv2dBlock(dim, dim * 2, 3, 2, 1, norm=self.norm, activation=self.activ, pad_type=self.pad_type)]
dim *= 2
cnn_x += [nn.Conv2d(dim, 1, 1, 1, 0)]
cnn_x = nn.Sequential(*cnn_x)
return cnn_x
def forward(self, x):
outputs = []
for model in self.cnns:
outputs.append(model(x))
x = self.downsample(x)
return outputs
def calc_gradient_penalty(self, model, real_data, fake_data):
LAMBDA = 10
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
alpha = torch.rand(real_data.shape[0], 1, 1, 1)
alpha = alpha.expand(real_data.size())
alpha = alpha.to(device)
interpolates = alpha * real_data + ((1 - alpha) * fake_data)
interpolates = interpolates.to(device)
interpolates = autograd.Variable(interpolates, requires_grad=True)
disc_interpolates = model(interpolates)
# TODO: Make ConvBackward diffentiable
gradients = autograd.grad(outputs=disc_interpolates, inputs=interpolates,
grad_outputs=torch.ones(disc_interpolates.size()).to(device),
create_graph=True, retain_graph=True, only_inputs=True)[0]
gradient_penalty = ((gradients.norm(2, dim=1) - 1) ** 2).mean() * LAMBDA
return gradient_penalty
def calc_dis_loss(self, input_fake, input_real):
# calculate the loss to train D
outs0 = self.forward(input_fake)
outs1 = self.forward(input_real)
real = input_real.data
fake = input_fake.data
loss = 0
for it, (out0, out1) in enumerate(zip(outs0, outs1)):
if self.gan_type == 'lsgan':
loss += torch.mean((out0 - 0)**2) + torch.mean((out1 - 1)**2)
elif self.gan_type == 'nsgan':
all0 = torch.zeros_like(out0.data).cuda()
all1 = torch.ones_like(out1.data).cuda()
loss += torch.mean(F.binary_cross_entropy(F.sigmoid(out0), all0) +
F.binary_cross_entropy(F.sigmoid(out1), all1))
elif self.gan_type == 'wgan':
model=self.cnns[it]
loss += torch.mean(out0) - torch.mean(out1) + self.calc_gradient_penalty(model, real, fake)
real = self.downsample(real)
fake = self.downsample(fake)
else:
assert 0, "Unsupported GAN type: {}".format(self.gan_type)
return loss
def calc_gen_loss(self, input_fake):
# calculate the loss to train G
outs0 = self.forward(input_fake)
loss = 0
for it, (out0) in enumerate(outs0):
if self.gan_type == 'lsgan':
loss += torch.mean((out0 - 1)**2) # LSGAN
elif self.gan_type == 'nsgan':
all1 = torch.ones_like(out0.data).cuda()
loss += torch.mean(F.binary_cross_entropy(F.sigmoid(out0), all1))
elif self.gan_type == 'wgan':
loss += -1 * torch.mean(out0)
else:
assert 0, "Unsupported GAN type: {}".format(self.gan_type)
return loss
class VGGPerceptualLossModel(nn.Module):
def __init__(self, vggmodel, criterion, resize=True):
super(VGGPerceptualLossModel, self).__init__()
self.layers = vggmodel.features
self.layer_mapping = {
'1':"relu1_1",
'3':"relu2_1",
'6':"relu3_1",
'8':"relu4_1",
'11':"relu5_1"
}
self.mean = torch.nn.Parameter(torch.tensor([0.485, 0.456, 0.406])).view(1,3,1,1)
self.std = torch.nn.Parameter(torch.tensor([0.229, 0.224, 0.225])).view(1,3,1,1)
self.resize = resize
self.transform = torch.nn.functional.interpolate
# self.normalize = torchvision.transforms.Normalize(mean,std)
self.loss=criterion
def forward(self, input, target, inAct=None, normFlag=True):
pLoss = []
sLoss = []
# if inAct == 'tanh':
# input = torch.tanh(input)
if input.shape[1] != 3:
input = input.repeat(1, 3, 1, 1)
target = target.repeat(1, 3, 1, 1)
input = (input + 1) * 0.5
target = (target + 1) * 0.5
if self.resize:
input = self.transform(input, mode='bilinear', size=(224, 224), align_corners=False)
target = self.transform(target, mode='bilinear', size=(224, 224), align_corners=False)
#pre-process
if normFlag:
if input.is_cuda:
input = (input-self.mean.cuda())/self.std.cuda()
target = (target-self.mean.cuda())/self.std.cuda()
else:
input = (input-self.mean)/self.std
target = (target-self.mean)/self.std
for name,module in self.layers._modules.items():
input = module(input)
target = module(target)
_,c,h,w = input.shape
if name in self.layer_mapping:
pLoss.append(self.loss(target, input))
inputGram = (1/(h*w*c)) * torch.matmul(input.reshape(-1,c,h*w), input.reshape(-1,c,h*w).transpose(1,2))
targetGram = (1/(h*w*c)) * torch.matmul(target.reshape(-1,c,h*w), target.reshape(-1,c,h*w).transpose(1,2))
sLoss.append(self.loss(targetGram, inputGram))
return torch.mean(torch.stack(pLoss)), torch.mean(torch.stack(sLoss))
class VGGPerceptualEmbedLossModel(nn.Module):
def __init__(self, vggmodel, criterion, resize=True):
super(VGGPerceptualEmbedLossModel, self).__init__()
self.layers = vggmodel.features
self.embed = vggmodel.classifier
self.layer_mapping = {
'1':"relu1_1",
'3':"relu2_1",
'6':"relu3_1",
'8':"relu4_1",
'11':"relu5_1"
}
self.embed_mapping = {
'4':"relu2_1",
}
self.mean = torch.nn.Parameter(torch.tensor([0.485, 0.456, 0.406])).view(1,3,1,1)
self.std = torch.nn.Parameter(torch.tensor([0.229, 0.224, 0.225])).view(1,3,1,1)
self.resize = resize
self.transform = torch.nn.functional.interpolate
# self.normalize = torchvision.transforms.Normalize(mean,std)
self.loss=criterion
def forward(self, input, target, inAct=None, normFlag=True):
pLoss = []
sLoss = []
eLoss = []
# if inAct == 'tanh':
# input = torch.tanh(input)
if input.shape[1] != 3:
input = input.repeat(1, 3, 1, 1)
target = target.repeat(1, 3, 1, 1)
input = (input + 1) * 0.5
target = (target + 1) * 0.5
if self.resize:
input = self.transform(input, mode='bilinear', size=(224, 224), align_corners=False)
target = self.transform(target, mode='bilinear', size=(224, 224), align_corners=False)
#pre-process
if normFlag:
if input.is_cuda:
input = (input-self.mean.cuda())/self.std.cuda()
target = (target-self.mean.cuda())/self.std.cuda()
else:
input = (input-self.mean)/self.std
target = (target-self.mean)/self.std
for name,module in self.layers._modules.items():
input = module(input)
target = module(target)
_,c,h,w = input.shape
if name in self.layer_mapping:
pLoss.append(self.loss(target, input))
inputGram = (1/(h*w*c)) * torch.matmul(input.reshape(-1,c,h*w), input.reshape(-1,c,h*w).transpose(1,2))
targetGram = (1/(h*w*c)) * torch.matmul(target.reshape(-1,c,h*w), target.reshape(-1,c,h*w).transpose(1,2))
sLoss.append(self.loss(targetGram, inputGram))
input = input.view((-1,2*8*512))
target = target.view((-1,2*8*512))
for name,module in self.embed._modules.items():
input = module(input)
target = module(target)
if name in self.embed_mapping:
eLoss.append(self.loss(target, input))
return torch.mean(torch.stack(pLoss)), torch.mean(torch.stack(sLoss)), torch.mean(torch.stack(eLoss))
class VGGFontModel(nn.Module):
def __init__(self, vggmodel, numClasses):
super(VGGFontModel, self).__init__()
self.features = vggmodel.features
vggmodel.classifier[0]=torch.nn.Linear(2*8*512,4096)
vggmodel.classifier[6]=torch.nn.Linear(4096,numClasses)
self.classifier = vggmodel.classifier
def forward(self, input):
out = self.features(input)
out = out.view((-1,2*8*512))
out = self.classifier(out)
return out
| 42.977094
| 172
| 0.622878
| 7,707
| 60,039
| 4.639419
| 0.055793
| 0.034456
| 0.025814
| 0.021143
| 0.915287
| 0.911232
| 0.907065
| 0.895598
| 0.890899
| 0.886341
| 0
| 0.028816
| 0.258415
| 60,039
| 1,397
| 173
| 42.977094
| 0.774257
| 0.146488
| 0
| 0.858447
| 0
| 0
| 0.027195
| 0.006101
| 0
| 0
| 0
| 0.000716
| 0.006849
| 1
| 0.084475
| false
| 0
| 0.013699
| 0.004566
| 0.18379
| 0.004566
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
d5c1d9d3c9da1ab235899f2f33bfee853b99ab01
| 6,979
|
py
|
Python
|
SoundShape Algorithm/Character.py
|
wdcpop/SimilarChineseCharacters
|
29131150212ff4d7c94abb4a19f0abcc85d07866
|
[
"MIT"
] | null | null | null |
SoundShape Algorithm/Character.py
|
wdcpop/SimilarChineseCharacters
|
29131150212ff4d7c94abb4a19f0abcc85d07866
|
[
"MIT"
] | null | null | null |
SoundShape Algorithm/Character.py
|
wdcpop/SimilarChineseCharacters
|
29131150212ff4d7c94abb4a19f0abcc85d07866
|
[
"MIT"
] | 1
|
2020-09-29T04:13:02.000Z
|
2020-09-29T04:13:02.000Z
|
#!/usr/bin/python
# -*- coding: utf-8 -*-
def Symbol_lst():
a='吖阿啊锕嗄哎哀埃唉锿挨捱皑癌矮蔼霭艾砹爱隘碍嗳嗌嫒瑷暧安桉氨庵谙鹌鞍俺埯铵揞犴岸按胺案暗黯肮昂盎凹敖遨嗷廒獒熬聱螯翱鳌鏖袄媪岙坳傲奥骜澳懊鏊八巴扒叭芭岜疤捌笆粑拔茇菝跋魃把靶坝爸罢鲅霸灞吧掰白百佰柏捭摆败拜稗扳班般颁斑搬瘢癍阪坂板版钣舨办半伴拌绊瓣扮邦帮梆浜绑榜蚌棒傍谤蒡磅镑勹包苞孢胞龅煲褒雹薄宀饱宝保鸨葆堡褓报抱趵豹鲍暴爆陂杯卑悲碑鹎北贝孛邶狈备背钡倍悖被辈惫焙蓓碚褙鞴鐾呗奔贲锛本苯畚坌笨崩绷嘣甭泵迸甏蹦逼荸鼻匕比吡妣彼秕笔俾舭鄙币必毕闭庇畀荜毖哔陛毙铋狴萆庳敝婢筚愎弼蓖跸痹滗裨碧蔽箅弊薜篦壁避嬖髀濞臂璧襞边砭笾编煸蝙鳊鞭贬窆扁匾碥褊卞弁苄汴忭变便遍缏辨辩辫标飑髟彪骠膘飙镖飚瘭镳表婊裱鳔憋鳖别蹩瘪玢宾彬傧斌滨缤槟镔濒豳摈殡膑髌鬓冰兵丙邴秉柄饼炳禀疒并病摒拨波玻钵饽剥菠播伯驳帛泊勃钹铂亳舶脖博鹁渤搏箔膊踣礴跛檗擘簸卜啵逋钸晡卟补捕哺不布步怖钚部埠瓿醭簿擦礤猜才材财裁采彩睬踩菜蔡参骖餐残蚕惭惨黪灿粲璨仓伧苍沧舱藏操糙曹嘈漕槽螬艚艹草刂册厕侧测恻策岑涔噌层曾蹭叉杈插馇锸嚓茬茶查搽猹槎碴察檫衩镲汊岔刹诧差姹拆钗侪柴豺虿瘥觇掺搀谗婵馋禅孱缠蝉廛潺澶蟾躔产谄铲阐蒇骣冁忏颤羼伥昌菖猖阊娼鲳苌肠尝常偿徜嫦厂场昶惝敞氅怅畅倡鬯唱抄怊钞绰超焯晁巢朝嘲潮吵炒耖车砗扯屮彻坼掣撤澈抻郴琛嗔臣尘辰沉忱陈宸晨谌碜衬龀趁榇谶柽称蛏撑瞠成丞呈枨诚承城埕乘铖程惩裎塍酲澄橙逞骋秤吃哧鸱蚩眵笞嗤痴媸螭魑池弛驰迟茌持墀踟篪尺齿侈耻豉褫彳叱斥赤饬炽翅敕啻傺瘛冲充忡茺舂憧艟虫崇宠铳抽瘳仇俦帱惆绸畴酬稠愁筹踌雠丑瞅臭出初樗刍除厨锄滁蜍雏橱躇蹰杵础楮储楚褚亍处怵绌畜搐触憷黜矗揣搋踹膪川巛氚穿传舡船遄椽舛喘串钏疮窗床闯创怆吹炊垂陲捶棰槌锤春椿蝽纯莼唇淳鹑醇蠢踔戳啜辍龊呲疵词茈茨祠瓷辞慈磁雌鹚糍此次刺赐匆苁囱枞葱骢璁聪从丛淙琮凑楱辏腠粗徂殂促猝蔟醋簇蹙蹴汆撺镩蹿窜篡爨崔催摧榱璀脆萃啐淬悴毳瘁粹翠村皴存忖寸搓磋撮蹉嵯矬痤鹾脞挫厝措锉错耷哒搭嗒褡达怛妲笪答靼瘩鞑打大呆歹逮傣代甙岱迨绐玳带殆贷待怠埭袋戴黛亻卩丹担单眈耽郸聃殚瘅箪儋胆疸掸旦但诞萏啖淡惮弹蛋氮澹当铛裆挡档党谠凼砀宕荡菪刀叨忉氘导岛捣倒祷蹈到盗悼道稻纛得锝德的灯登噔簦蹬等戥邓凳嶝磴瞪镫低羝堤嘀滴狄迪籴荻敌涤笛觌嫡镝氐邸诋坻抵底柢砥骶地弟帝递娣第谛蒂棣睇缔碲嗲掂滇颠巅癫丶典点碘踮电佃甸阽坫店玷垫钿淀惦奠殿靛簟癜刁叼凋貂碉雕鲷吊钓掉铞铫爹跌迭垤瓞谍堞揲耋喋牒叠碟蝶蹀鲽丁仃叮玎盯町疔耵顶酊鼎订钉定啶铤腚碇锭丢铥东冬咚岽氡鸫董懂动冻侗垌栋峒胨洞恫胴硐都兜蔸篼抖钭陡蚪斗豆逗痘窦督嘟毒独读渎椟犊牍黩髑笃堵赌睹芏杜肚妒度渡镀蠹端短段断缎椴煅锻簖堆队对兑怼碓憝吨敦墩礅镦蹲盹趸沌炖砘钝盾顿遁多咄哆掇裰夺铎踱朵垛哚缍躲剁舵堕惰跺屙婀讹俄莪峨娥锇鹅蛾额厄扼苊呃轭垩恶饿鄂阏谔萼遏愕腭鹗锷颚噩鳄诶恩蒽摁嗯儿而鸸鲕尔耳迩饵洱珥铒二佴贰发乏伐罚垡阀筏法砝珐帆番蕃幡藩翻凡矾钒烦樊燔繁蹯蘩犭攵反返犯饭泛范贩畈梵匚方邡坊芳枋钫防妨肪房鲂仿访纺舫放飞妃非菲啡绯扉蜚霏鲱肥淝腓匪诽悱斐榧翡篚芾吠肺狒废沸费痱镄分芬吩纷氛酚坟汾棼焚鼢粉份奋忿偾粪愤鲼瀵丰风沣枫封砜疯峰烽葑锋蜂酆冯逢缝讽唪凤奉俸佛缶否夫呋肤麸趺跗稃孵敷弗伏凫扶芙孚拂苻服怫绂绋茯罘氟俘郛祓莩砩蚨浮菔桴符匐涪艴幅辐蜉福蝠幞黻抚甫拊斧府俯釜辅腑滏腐黼父讣付负妇附咐阜驸赴复副赋傅富腹鲋缚赙蝮鳆覆馥袱旮伽呷嘎钆尜噶尕尬该陔垓赅改丐钙盖溉概戤甘肝坩苷矸泔柑竿酐疳尴杆秆赶敢感澉橄擀干旰绀淦赣冈刚肛纲钢缸罡岗港杠筻戆皋高羔槔睾膏篙糕杲搞缟槁镐稿藁告郜诰锆戈圪纥疙咯哥胳鸽袼搁割歌革阁格鬲隔塥嗝搿膈骼镉哿舸葛个各虼硌铬给根跟哏亘艮茛庚耕赓羹埂耿哽绠梗鲠更工弓公功攻肱宫恭蚣躬龚觥廾巩汞拱珙共贡供勾佝沟钩缑篝鞲苟岣狗枸笱构购诟垢够遘彀媾觏估咕沽孤姑轱鸪菰菇蛄辜酤觚毂箍古谷汩诂股骨牯罟钴蛊鼓嘏鹘臌瞽固故顾梏崮牿雇锢痼鲴瓜呱刮胍鸹剐寡卦诖挂褂乖拐怪关观官倌棺鳏莞馆管贯冠掼涫惯盥灌鹳罐光咣胱广犷桄逛归圭龟妫规皈闺硅瑰鲑宄轨庋匦诡鬼癸晷簋柜炅刿刽贵桂桧跪鳜衮绲辊滚磙鲧棍呙埚郭崞聒锅蝈国掴帼虢馘果猓椁蜾裹过哈铪蛤还孩骸胲海醢亥骇氦害顸蚶酣憨鼾邗邯含函晗焓涵韩寒罕喊汉汗旱捍悍菡焊颔撖撼翰憾瀚夯行杭绗航颃沆蒿薅嚆蚝毫嗥豪壕嚎濠好郝号昊耗浩皓颢灏诃呵喝嗬禾合何和劾河曷阂盍荷核菏盒涸颌阖翮贺赫褐鹤壑黑嗨嘿痕很狠恨亨哼恒珩桁横衡蘅轰訇烘薨弘红闳宏泓荭虹洪鸿蕻黉哄讧侯喉猴瘊骺篌糇吼后厚逅後候堠鲎乎呼忽轷烀唿惚滹囫狐弧胡壶斛葫鹄猢湖瑚煳鹕槲蝴糊醐觳虍虎浒唬琥互户冱护沪岵怙戽祜笏瓠扈鹱花砉划华哗骅铧猾滑化画话桦怀徊淮槐踝坏欢獾环洹桓萑锾圜寰缳鬟缓幻奂宦换唤涣浣患焕逭痪豢漶鲩擐肓荒慌皇黄凰隍遑徨湟惶煌潢璜蝗篁磺癀蟥簧鳇恍晃谎幌灰诙挥虺咴恢珲晖辉麾徽隳回茴洄蛔悔毁卉汇会讳荟哕浍诲绘恚贿烩彗晦秽惠喙缋慧蕙蟪昏荤阍婚浑馄混魂诨溷耠锪劐豁活火灬伙钬夥或货获祸惑霍镬攉藿嚯蠖丌讥击叽饥玑圾芨机乩肌矶鸡咭剞唧积笄屐姬基赍犄嵇缉畸跻箕稽齑畿墼激羁及吉岌汲级极即佶亟笈急疾棘殛戢集蒺楫辑嵴嫉蕺瘠藉籍几己虮挤脊掎戟麂彐计记伎纪技芰忌际妓季剂哜迹洎济既觊继偈祭悸寄寂绩蓟霁跽鲚暨稷鲫髻冀骥加佳迦珈挟枷浃痂家笳袈葭跏嘉镓夹郏荚恝戛铗袷颊蛱甲岬胛贾钾假瘕价驾架嫁稼戋尖奸歼坚间肩艰监兼菅笺犍湔缄搛蒹煎缣鲣鹣鞯囝拣枧茧柬俭捡笕检趼减剪硷睑裥简骞谫戬碱翦蹇謇见件饯建荐贱牮剑健舰涧渐谏楗践锏毽腱溅鉴键僭踺箭江茳将姜豇浆僵缰礓疆讲奖桨蒋耩匠降洚绛酱犟糨艽交郊茭浇娇姣骄胶椒蛟焦跤僬鲛蕉礁鹪嚼纟角佼挢狡饺绞铰矫皎脚搅敫剿徼缴叫觉轿较教窖酵噍醮阶疖皆接秸揭喈嗟街孑节讦劫杰诘拮洁结桀捷婕颉睫截碣鲒竭羯姐解介戒芥届界疥诫蚧借骱巾斤今钅金津衿矜筋襟仅卺紧堇锦谨馑廑瑾槿尽进近妗劲荩晋赆烬浸靳禁缙觐噤茎京泾经荆菁旌惊晶腈睛粳兢精鲸井阱刭肼颈景儆憬警陉径净弪迳胫痉竞竟婧敬靖静境獍镜扃迥炯窘纠鸠究赳阄揪啾鬏九久玖灸韭酒旧臼咎疚柩桕救厩就舅僦鹫拘苴狙居驹疽掬琚椐锔雎裾鞠鞫局桔菊橘咀沮莒矩举榉龃榘踽巨句讵拒苣具炬钜俱倨剧据距惧犋飓锯聚窭踞屦遽醵捐涓娟鹃镌蠲卷锩倦狷桊绢鄄眷撅噘孓决诀抉珏绝掘桷崛觖厥劂谲蕨獗橛镢爵蹶矍爝攫倔军均君钧菌皲筠麇俊郡捃峻隽浚骏竣咔咖喀卡佧胩开揩锎剀凯垲恺铠蒈慨楷锴忾刊勘龛堪戡坎侃砍莰槛看阚瞰闶康慷糠扛亢伉抗炕钪尻考拷栲烤铐犒靠苛珂柯轲科钶疴蚵棵颏嗑稞窠颗磕瞌蝌髁壳咳可坷岢渴克刻恪客课氪骒缂锞溘肯垦恳啃裉坑吭铿空倥崆箜孔恐控抠芤眍口叩扣寇筘蔻刳枯哭堀窟骷苦库绔喾裤酷夸侉垮挎胯跨蒯块快侩郐哙狯脍筷宽髋款匡诓哐筐狂诳夼邝圹纩旷况矿贶框眶亏岿悝盔窥奎逵馗揆葵喹暌魁睽蝰夔傀跬匮蒉喟馈溃愦愧聩篑坤昆琨髡锟醌鲲捆阃悃困扩括栝蛞阔廓垃拉啦邋旯剌砬喇腊蜡瘌辣来莱崃徕涞铼赉睐赖濑癞籁兰岚拦栏婪阑蓝谰澜褴篮斓镧览揽缆榄罱漤懒烂滥啷郎狼阆琅廊榔锒稂螂朗浪蒗捞劳牢崂铹痨醪老佬姥栳铑唠烙涝耢酪仂叻乐泐勒鳓了雷嫘缧檑镭羸耒诔垒磊蕾儡肋泪类累酹擂嘞塄棱楞冷愣厘狸离骊梨犁鹂喱蓠蜊漓缡璃嫠黎鲡罹篱藜黧蠡礼李里俚逦哩娌理锂鲤澧醴鳢力历厉立吏坜苈丽励呖利沥枥例疠戾隶荔栎郦轹俪俐疬莉莅栗砺砾猁蛎唳笠粝粒雳跞詈傈痢溧篥奁连怜帘莲涟联裢廉鲢濂臁镰蠊琏敛脸裣蔹练炼恋殓链楝潋良莨凉梁椋粮粱墚冫两俩魉亮谅辆靓量晾踉辽疗聊僚寥撩嘹獠潦寮缭燎鹩钌蓼尥料撂廖镣咧列劣冽洌埒烈捩猎裂趔躐鬣拎邻林临啉淋琳粼嶙遴霖辚磷瞵鳞麟凛廪懔檩吝赁蔺膦躏伶灵苓囹泠玲柃瓴铃凌陵聆菱棂蛉翎羚绫零龄鲮酃岭领另令呤溜熘刘浏留流琉硫馏旒骝榴镏瘤鎏柳绺锍六遛鹨龙茏咙泷珑栊胧砻聋笼隆癃窿陇垅拢垄娄偻蒌楼耧蝼髅搂嵝篓陋镂瘘漏喽撸噜氇卢芦庐垆炉泸栌轳胪鸬颅舻鲈卤虏掳鲁橹镥陆录辂赂鹿渌逯禄碌路漉辘戮潞璐簏鹭麓露峦孪娈栾挛鸾脔滦銮卵乱掠抡仑伦囵沦纶轮论罗萝逻脶猡椤锣箩骡镙螺倮裸瘰蠃泺荦洛络骆珞落摞雒漯驴闾榈吕侣捋旅铝稆屡缕膂褛履律虑率绿氯滤略锊妈麻蟆马犸玛码蚂杩骂吗嘛埋霾买荬劢迈麦卖脉唛颟蛮馒瞒鞔鳗满螨曼谩墁蔓幔漫慢缦熳镘邙芒忙盲氓茫硭莽漭蟒猫毛矛茆茅牦旄锚髦蝥蟊卯峁泖昴铆茂冒贸耄袤帽瑁貌瞀懋么麽没玫枚眉莓梅嵋猸湄媒楣煤酶镅鹛霉每美浼镁妹昧袂寐媚魅门扪钔闷焖懑们虻萌蒙盟甍瞢檬朦礞艨勐猛锰蜢艋懵蠓孟梦咪眯弥迷祢猕谜醚糜縻麋靡蘼米芈弭脒敉糸汨觅泌宓秘密幂谧嘧蜜眠绵棉免沔黾眄勉娩冕渑湎缅腼面喵苗描鹋瞄杪眇秒淼渺缈藐邈妙庙咩灭蔑篾蠛民玟苠岷珉缗皿闵抿泯闽悯敏愍鳘名明鸣茗冥铭溟暝瞑螟酩命谬缪摸谟馍嫫摹模膜摩磨蘑魔抹末茉殁沫陌莫秣蓦貊貉漠寞墨镆瘼默貘耱嬷哞牟侔眸谋蛑鍪某呒毪母牡亩坶拇姆木目仫沐苜牧钼募墓幕睦慕暮穆拿镎哪那呐纳肭钠衲娜捺乃艿奶氖奈柰耐萘鼐囡男南难喃楠赧腩蝻囔囊馕曩攮孬呶挠硇铙蛲猱垴恼脑瑙闹淖讷呢馁内嫩能妮尼坭泥怩铌倪猊霓鲵拟你旎伲昵逆匿睨腻溺拈蔫年鲇鲶黏捻辇撵碾廿念埝娘酿鸟茑袅嬲尿脲捏乜肀陧聂臬涅啮嗫镊镍颞蹑孽蘖恁您宁咛狞柠聍甯凝拧佞泞妞牛扭狃忸纽钮拗农侬哝浓脓弄耨奴孥驽努弩胬怒暖疟虐挪傩诺喏搦锘懦糯女钕恧衄噢哦讴沤瓯欧殴鸥呕偶耦藕怄趴啪葩杷爬钯耙琶筢帕怕拍俳排徘牌哌派蒎湃潘攀爿盘磐蹒蟠判泮盼叛畔袢襻乓滂彷庞逄旁膀螃耪胖抛脬刨咆狍庖袍匏跑泡炮疱呸胚醅陪培赔锫裴沛帔佩配旆淠辔霈喷盆湓抨怦砰烹嘭朋堋彭棚蓬硼鹏澎篷膨蟛捧碰丕批邳纰坯披砒劈噼霹皮芘枇毗蚍铍郫疲陴埤啤琵脾蜱罴貔鼙匹庀圮仳痞擗癖屁睥辟媲僻甓譬偏犏篇翩骈胼蹁谝片骗剽漂缥飘螵嫖瓢殍瞟票嘌氕瞥丿苤撇拚拼姘贫频嫔颦品榀牝聘乒俜娉冖平评坪苹凭枰屏瓶萍鲆攴钋坡泼颇婆鄱皤叵钷笸迫珀破粕魄剖掊裒扑铺噗仆匍莆菩脯葡蒲璞镤濮朴埔圃浦普溥谱氆镨蹼瀑曝七沏妻柒栖桤凄萋戚期欺嘁漆蹊亓齐祁圻芪岐其奇歧祈荠耆颀脐萁畦崎淇骐骑琪琦棋蛴祺綦蜞旗蕲鳍麒乞芑屺岂企杞启起绮綮气讫迄汔弃汽泣契砌葺碛槭器憩掐葜洽恰髂千仟阡扦芊迁岍佥钎牵铅悭谦签愆搴褰钤前虔钱钳掮乾箝潜黔凵肷浅遣谴缱欠芡茜倩堑椠嵌慊歉羌枪戗戕腔蜣锖锵强墙蔷嫱樯抢羟镪襁呛炝跄悄硗跷锹劁敲橇缲乔侨荞峤桥谯鞒憔樵瞧巧愀俏诮峭窍翘撬鞘切茄且郄妾怯窃挈惬趄锲箧钦侵亲衾芹芩秦琴禽勤嗪溱擒噙檎螓锓寝吣沁揿青轻氢倾卿圊清蜻鲭情晴氰檠擎黥苘顷请謦庆箐磬罄邛穷茕穹筇琼蛩跫銎丘邱秋蚯湫楸鳅囚犰求虬泅俅酋逑球赇遒巯裘蝤鼽糗区岖诎驱屈祛蛆躯趋蛐麴黢劬朐鸲渠蕖磲璩瞿蘧氍癯衢蠼曲取娶龋去阒趣觑悛圈权全诠荃泉辁拳铨痊筌蜷醛鬈颧犬畎绻劝券炔缺瘸却悫雀确阕鹊阙榷逡裙群蚺然髯燃冉苒染禳穰瓤壤攘嚷让荛饶娆桡扰绕惹热人壬仁忍荏稔刃认仞任纫韧轫饪妊衽扔仍日戎肜茸荣狨绒容嵘蓉溶榕熔蝾融冗柔揉糅蹂鞣肉如茹铷儒薷嚅濡孺襦颥蠕汝乳辱入洳蓐溽缛褥阮软朊蕤蕊芮枘蚋锐瑞睿闰润若偌弱箬仨洒撒卅飒脎萨腮塞噻鳃赛三彡氵叁毵伞糁馓散桑搡嗓磉颡丧搔骚缫鳋扫嫂埽瘙臊色涩啬铯瑟穑森僧杀沙纱砂莎铩痧裟鲨啥傻唼厦歃煞霎筛酾晒山芟杉删苫钐衫姗珊埏舢跚煽潸膻闪陕讪汕疝扇善骟鄯缮擅膳嬗赡蟮鳝伤殇商觞墒熵垧晌赏上尚绱裳捎烧梢稍蛸筲艄勺芍杓韶少邵劭绍哨潲奢赊猞畲舌佘蛇舍厍设社射涉赦摄滠慑麝申伸身呻诜绅莘砷娠深什神沈审哂矧谂渖婶肾甚胂渗葚椹蜃慎升生声牲笙甥绳省眚圣胜晟盛剩嵊尸失师诗虱狮施湿蓍鲺十饣石时识实拾食蚀炻埘莳鲥史矢豕使始驶屎士氏礻示世仕市式似势事侍饰试视拭贳柿是适恃室逝轼铈舐弑释谥嗜筮誓噬螫匙收手守首艏寿受狩授售兽绶瘦殳书疋抒纾枢叔姝殊倏菽梳淑舒疏摅输毹蔬秫孰赎塾熟暑黍属署蜀鼠薯曙丨忄术戍束述沭树竖恕庶腧数墅漱澍刷唰耍衰摔甩帅蟀闩拴栓涮双霜孀爽谁水税睡吮顺舜瞬说妁烁铄朔硕搠蒴槊厶司丝私咝思鸶斯蛳缌厮锶撕嘶澌死巳四寺汜兕伺祀姒饲泗驷俟耜笥肆嗣忪松凇菘崧淞嵩怂耸悚竦讼宋送诵颂搜嗖馊溲飕锼螋艘叟瞍嗾擞薮嗽苏酥稣俗夙诉肃素速涑粟谡嗉塑溯愫蔌僳觫簌狻酸蒜算虽荽眭睢濉绥隋随髓岁谇祟遂碎隧燧穗邃孙荪狲飧损笋隼榫唆娑桫梭挲睃蓑嗦嗍羧缩所索唢琐锁他它她趿铊塌遢溻塔獭鳎沓挞闼榻踏蹋胎台邰抬苔骀炱跆鲐薹呔太汰态肽钛泰酞坍贪摊滩瘫坛昙郯谈覃锬痰谭潭檀镡忐坦钽袒毯叹炭探赕碳汤铴耥羰饧唐堂棠塘搪溏瑭樘膛螗镗糖醣螳帑倘淌傥躺烫趟涛绦焘掏滔韬饕逃洮桃陶萄啕淘鼗讨套忑忒特铽慝疼腾誊滕藤剔梯锑踢扌绨提啼鹈缇题醍蹄体屉剃倜逖涕悌惕替裼嚏天添田畋恬甜填阗忝殄腆舔掭佻挑祧条苕迢调笤龆蜩髫鲦窕眺粜跳帖贴萜铁餮厅汀听烃廷莛亭庭停葶蜓婷霆挺梃艇通嗵冂仝同佟彤茼桐砼铜童酮僮潼瞳统捅桶筒恸痛偷头投骰透凸秃突图荼徒途涂屠酴土吐钍兔堍菟湍团抟疃彖推颓腿退蜕煺褪吞暾屯囤饨豚臀氽乇托拖脱驮佗陀坨沲沱驼柁砣鸵酡跎橐鼍妥庹椭拓柝唾箨挖哇洼娲蛙娃瓦佤袜腽歪崴外弯剜湾蜿箢豌丸芄纨完玩顽烷宛挽菀晚脘惋婉绾琬皖碗畹万腕汪亡王网枉罔往惘辋魍妄忘旺望危威逶偎隈葳微煨薇巍囗韦为圩违围帏闱沩桅涠唯帷惟维嵬潍伟伪苇尾纬玮委炜洧诿娓萎隗猥韪艉痿鲔卫未位味畏胃軎谓尉喂猬渭蔚慰魏温瘟亠文纹闻蚊阌雯刎吻紊稳问汶璺翁嗡蓊瓮蕹挝莴倭涡喔窝蜗我肟沃卧握硪幄渥斡龌乌圬邬污巫呜钨诬屋无毋芜吾吴唔浯梧蜈鼯五午伍仵迕庑怃忤妩武侮捂牾鹉舞兀勿戊务阢坞芴杌物误悟晤焐痦婺骛雾寤鹜鋈夕兮西吸汐希昔析矽穸郗唏牺息奚浠菥硒欷悉烯淅惜晰稀舾翕粞犀皙锡溪熙蜥僖熄嘻膝嬉熹樨螅歙羲蟋醯曦鼷习席觋袭媳隰檄洗玺铣徙喜葸蓰屣禧戏饩系细阋舄隙禊虾瞎匣侠狎柙峡狭硖遐瑕暇辖霞黠下吓夏罅仙先纤氙祆籼莶掀酰跹锨鲜暹闲贤弦咸涎娴衔舷痫鹇嫌冼显险蚬猃筅跣藓燹苋县岘现限线宪陷馅羡献腺霰乡芗相香厢葙湘缃箱襄骧镶详庠祥翔享响饷飨想鲞向项巷象像橡蟓肖枭枵哓骁逍消宵绡萧硝销箫潇霄魈嚣崤淆小晓筱孝校哮笑效啸些楔歇蝎协邪胁偕斜谐携撷鞋勰缬写泄泻绁卸屑械亵渫谢榭榍薤獬邂廨懈燮蟹瀣躞心芯辛忻昕欣锌新歆薪馨鑫囟信衅星猩惺腥刑邢形型硎醒擤兴杏幸性姓荇悻凶兄芎匈汹胸雄熊休咻修庥羞鸺貅馐髹朽宿秀岫袖绣锈嗅溴戌吁盱须胥顼虚墟需嘘徐许诩栩糈醑旭序叙洫恤酗勖绪续溆絮婿蓄煦蓿轩宣谖揎萱喧暄煊儇玄痃悬旋漩璇选癣泫炫绚眩铉渲楦碹镟削靴薛穴学泶踅噱雪鳕血谑勋埙熏窨薰獯曛醺旬寻巡郇询荀荨峋洵浔恂循鲟训讯汛迅驯徇逊殉巽蕈丫压押鸦桠鸭牙伢芽岈琊蚜崖涯睚衙哑痖雅亚讶迓垭砑娅氩揠呀咽恹胭烟焉菸崦阉淹腌湮鄢嫣讠延闫严言妍岩炎沿研盐阎蜒筵颜檐奄兖俨衍剡掩郾厣眼偃琰罨演魇鼹厌砚彦艳晏唁宴验谚堰雁焰焱滟酽餍谳燕赝央泱殃鸯秧鞅扬羊阳杨炀佯疡徉洋蛘仰养氧痒怏样恙烊漾幺夭吆妖腰邀爻尧侥肴轺姚珧窑谣摇徭遥瑶繇鳐杳咬舀窈崾药要钥鹞曜耀耶掖椰噎爷揶铘也冶野业叶页曳邺夜晔烨液谒腋靥一衤伊衣医依咿铱猗揖壹欹漪噫黟仪圯夷沂诒饴怡宜荑咦贻姨眙胰移痍遗颐疑嶷彝乙已以钇苡矣迤蚁舣倚椅旖弋亿义艺刈忆仡议屹亦异抑呓邑佚役译易峄佾怿诣绎驿轶弈奕疫羿挹酏益悒谊埸逸翊翌肄裔意溢缢蜴瘗镒毅熠薏殪劓翳臆翼镱癔懿因阴茵荫音洇姻氤殷铟堙喑吟垠狺银淫寅鄞龈夤霪尹引吲饮蚓隐瘾廴印茚胤英莺婴瑛撄嘤罂缨璎樱鹦膺鹰迎茔荥荧盈莹萤营萦蓥楹滢蝇潆嬴赢瀛郢颍颖影瘿应映硬媵哟唷佣拥痈邕庸雍墉慵镛壅臃鳙饔永甬咏泳俑勇涌恿蛹踊用优攸忧呦幽悠尢尤由邮犹油疣莜莸铀蚰鱿游猷蝣友有酉卣莠铕牖黝又右幼佑侑柚囿宥诱蚴釉鼬迂纡於淤瘀于欤余妤盂臾鱼禺竽舁俞狳馀谀娱萸雩渔隅揄喁嵛逾腴渝愉瑜榆虞愚觎舆窬蝓与予屿伛宇羽雨俣禹语圄圉庾瘐龉窳玉驭芋聿饫妪郁育昱狱峪钰浴预域欲阈谕遇喻御鹆寓裕蓣愈煜誉蜮毓豫燠鹬鬻鸢眢鸳冤渊元芫园员沅垣爰袁原圆鼋援媛缘塬猿源辕橼螈远苑怨院垸掾瑗愿曰约月刖岳钺阅悦跃越粤樾龠瀹晕氲云匀芸纭昀郧耘允狁陨殒孕运郓恽酝愠韫韵蕴熨匝咂拶杂砸咋灾甾哉栽仔载宰崽再在糌簪咱昝攒趱暂錾赞瓒赃脏臧驵奘葬遭糟凿早枣蚤澡藻皂灶唣造噪燥躁则责择迮泽啧帻笮舴箦赜仄昃贼怎谮增憎罾锃缯赠甑扎吒哳揸喳渣楂齄札轧闸铡眨砟乍诈柞栅咤炸痄蚱榨斋摘宅翟窄债砦寨瘵沾毡旃粘詹谵瞻斩盏展崭搌辗占栈战站绽湛蘸张章鄣獐彰漳嫜璋樟蟑长仉涨掌丈仗杖帐账胀障嶂幛瘴钊招昭爪找沼召兆诏赵笊棹照罩肇蜇遮折哲辄蛰谪摺磔辙者锗赭褶这柘浙蔗鹧着贞针侦珍帧胗浈真桢砧祯蓁斟甄榛箴臻诊枕轸畛疹缜稹圳阵鸩振朕赈震镇争征怔峥狰钲睁铮筝蒸拯整正证郑诤政挣症之支只卮汁芝吱枝知肢织栀胝祗脂蜘执直侄值埴职絷植殖跖摭踯夂止旨址芷纸祉指枳轵咫趾黹酯徵至志豸忮郅帜帙制质炙治栉峙陟贽挚桎轾致秩鸷掷痔窒蛭智痣滞骘彘置雉稚踬膣觯中忠终盅钟舯衷锺螽肿种冢踵仲众重舟州诌周洲啁粥妯轴碡肘纣咒宙绉荮胄昼酎皱骤籀帚朱邾侏诛茱洙珠株诸铢猪蛛槠潴橥竹竺逐烛舳瘃躅主拄渚煮嘱麈瞩伫苎助住杼贮注驻柱炷祝疰著蛀铸筑翥箸抓拽专砖颛转啭赚撰篆馔妆庄桩装丬壮状撞幢隹追骓椎锥坠缀惴缒赘肫窀谆准拙捉桌倬涿灼茁卓斫浊酌浞诼啄琢禚擢濯镯孜咨姿兹赀资淄谘缁辎嵫粢孳滋趑锱龇髭鲻子姊耔秭籽笫梓紫訾滓自字恣眦渍宗综棕腙踪鬃总偬纵粽邹驺诹陬鄹鲰辶走奏揍租菹足卒族镞诅阻组俎祖躜缵纂钻攥觜嘴最罪蕞醉尊遵樽鳟撙嘬昨阝左佐作坐阼怍胙祚唑座做酢'
# a='吖阿啊锕嗄哎哀埃唉锿挨捱皑癌矮蔼霭艾砹爱隘碍嗳嗌嫒瑷暧安桉氨庵谙鹌鞍俺埯铵揞犴岸按胺案暗黯肮昂盎凹敖遨嗷廒獒熬聱螯'
return [_ for _ in a]
# return [chr(_) for _ in range(0x4e00, 0x9fa6)]
| 872.375
| 6,771
| 0.989253
| 24
| 6,979
| 287.458333
| 0.791667
| 0.001449
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.001153
| 0.005875
| 6,979
| 8
| 6,772
| 872.375
| 0.993226
| 0.021063
| 0
| 0
| 0
| 0
| 0.990335
| 0.990335
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| false
| 0
| 0
| 0
| 0.666667
| 0
| 1
| 0
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 9
|
d5d4f10824a3f0dde200b67edcffb9a250018f80
| 68,585
|
py
|
Python
|
benchmarks/SimResults/_bigLittle_hrrs_spec_tugberk_ml/SystemIPC_2/EightThreads_povray/power.py
|
TugberkArkose/MLScheduler
|
e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061
|
[
"Unlicense"
] | null | null | null |
benchmarks/SimResults/_bigLittle_hrrs_spec_tugberk_ml/SystemIPC_2/EightThreads_povray/power.py
|
TugberkArkose/MLScheduler
|
e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061
|
[
"Unlicense"
] | null | null | null |
benchmarks/SimResults/_bigLittle_hrrs_spec_tugberk_ml/SystemIPC_2/EightThreads_povray/power.py
|
TugberkArkose/MLScheduler
|
e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061
|
[
"Unlicense"
] | null | null | null |
power = {'BUSES': {'Area': 1.33155,
'Bus/Area': 1.33155,
'Bus/Gate Leakage': 0.00662954,
'Bus/Peak Dynamic': 0.0,
'Bus/Runtime Dynamic': 0.0,
'Bus/Subthreshold Leakage': 0.0691322,
'Bus/Subthreshold Leakage with power gating': 0.0259246,
'Gate Leakage': 0.00662954,
'Peak Dynamic': 0.0,
'Runtime Dynamic': 0.0,
'Subthreshold Leakage': 0.0691322,
'Subthreshold Leakage with power gating': 0.0259246},
'Core': [{'Area': 32.6082,
'Execution Unit/Area': 8.2042,
'Execution Unit/Complex ALUs/Area': 0.235435,
'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646,
'Execution Unit/Complex ALUs/Peak Dynamic': 0.0941638,
'Execution Unit/Complex ALUs/Runtime Dynamic': 0.276649,
'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111,
'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163,
'Execution Unit/Floating Point Units/Area': 4.6585,
'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156,
'Execution Unit/Floating Point Units/Peak Dynamic': 0.497382,
'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033,
'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829,
'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061,
'Execution Unit/Gate Leakage': 0.122718,
'Execution Unit/Instruction Scheduler/Area': 2.17927,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.328073,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.00115349,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.20978,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.465749,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.017004,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00962066,
'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00730101,
'Execution Unit/Instruction Scheduler/Instruction Window/Area': 1.00996,
'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00529112,
'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 2.07911,
'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.806509,
'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0800117,
'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0455351,
'Execution Unit/Instruction Scheduler/Peak Dynamic': 4.84781,
'Execution Unit/Instruction Scheduler/ROB/Area': 0.841232,
'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.000856399,
'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.55892,
'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.462556,
'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.0178624,
'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00897339,
'Execution Unit/Instruction Scheduler/Runtime Dynamic': 1.73481,
'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.114878,
'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.0641291,
'Execution Unit/Integer ALUs/Area': 0.47087,
'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291,
'Execution Unit/Integer ALUs/Peak Dynamic': 0.384117,
'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344,
'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222,
'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833,
'Execution Unit/Peak Dynamic': 6.53465,
'Execution Unit/Register Files/Area': 0.570804,
'Execution Unit/Register Files/Floating Point RF/Area': 0.208131,
'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788,
'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.0939662,
'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.0168838,
'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698,
'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968,
'Execution Unit/Register Files/Gate Leakage': 0.000622708,
'Execution Unit/Register Files/Integer RF/Area': 0.362673,
'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992,
'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.157797,
'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.124866,
'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175,
'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675,
'Execution Unit/Register Files/Peak Dynamic': 0.251763,
'Execution Unit/Register Files/Runtime Dynamic': 0.14175,
'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387,
'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643,
'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0442632,
'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00607074,
'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.407099,
'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.998644,
'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.0920413,
'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0345155,
'Execution Unit/Runtime Dynamic': 3.55723,
'Execution Unit/Subthreshold Leakage': 1.83518,
'Execution Unit/Subthreshold Leakage with power gating': 0.709678,
'Gate Leakage': 0.372997,
'Instruction Fetch Unit/Area': 5.86007,
'Instruction Fetch Unit/Branch Predictor/Area': 0.138516,
'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221,
'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362,
'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831,
'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.00330793,
'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719,
'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236,
'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.00330793,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.00288546,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.00111934,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045,
'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838,
'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732,
'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05,
'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602,
'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.00179371,
'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505,
'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733,
'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.011295,
'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703,
'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282,
'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954,
'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758,
'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867,
'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.0315641,
'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682,
'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357,
'Instruction Fetch Unit/Gate Leakage': 0.0590479,
'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323,
'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05,
'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827,
'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.120037,
'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885,
'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682,
'Instruction Fetch Unit/Instruction Cache/Area': 3.14635,
'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931,
'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 6.43323,
'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.407851,
'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022,
'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386,
'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799,
'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493,
'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404,
'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.407699,
'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943,
'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104,
'Instruction Fetch Unit/Peak Dynamic': 8.96874,
'Instruction Fetch Unit/Runtime Dynamic': 0.978446,
'Instruction Fetch Unit/Subthreshold Leakage': 0.932587,
'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.408542,
'L2/Area': 4.53318,
'L2/Gate Leakage': 0.015464,
'L2/Peak Dynamic': 0.126912,
'L2/Runtime Dynamic': 0.0275642,
'L2/Subthreshold Leakage': 0.834142,
'L2/Subthreshold Leakage with power gating': 0.401066,
'Load Store Unit/Area': 8.80969,
'Load Store Unit/Data Cache/Area': 6.84535,
'Load Store Unit/Data Cache/Gate Leakage': 0.0279261,
'Load Store Unit/Data Cache/Peak Dynamic': 5.62376,
'Load Store Unit/Data Cache/Runtime Dynamic': 2.12782,
'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675,
'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085,
'Load Store Unit/Gate Leakage': 0.0351387,
'Load Store Unit/LoadQ/Area': 0.0836782,
'Load Store Unit/LoadQ/Gate Leakage': 0.00059896,
'Load Store Unit/LoadQ/Peak Dynamic': 0.141918,
'Load Store Unit/LoadQ/Runtime Dynamic': 0.141918,
'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961,
'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918,
'Load Store Unit/Peak Dynamic': 6.29665,
'Load Store Unit/Runtime Dynamic': 2.96963,
'Load Store Unit/StoreQ/Area': 0.322079,
'Load Store Unit/StoreQ/Gate Leakage': 0.00329971,
'Load Store Unit/StoreQ/Peak Dynamic': 0.349946,
'Load Store Unit/StoreQ/Runtime Dynamic': 0.699892,
'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621,
'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004,
'Load Store Unit/Subthreshold Leakage': 0.591622,
'Load Store Unit/Subthreshold Leakage with power gating': 0.283406,
'Memory Management Unit/Area': 0.434579,
'Memory Management Unit/Dtlb/Area': 0.0879726,
'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729,
'Memory Management Unit/Dtlb/Peak Dynamic': 0.124197,
'Memory Management Unit/Dtlb/Runtime Dynamic': 0.125655,
'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699,
'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485,
'Memory Management Unit/Gate Leakage': 0.00813591,
'Memory Management Unit/Itlb/Area': 0.301552,
'Memory Management Unit/Itlb/Gate Leakage': 0.00393464,
'Memory Management Unit/Itlb/Peak Dynamic': 0.399995,
'Memory Management Unit/Itlb/Runtime Dynamic': 0.0681882,
'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758,
'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842,
'Memory Management Unit/Peak Dynamic': 0.773206,
'Memory Management Unit/Runtime Dynamic': 0.193843,
'Memory Management Unit/Subthreshold Leakage': 0.0769113,
'Memory Management Unit/Subthreshold Leakage with power gating': 0.0399462,
'Peak Dynamic': 27.2619,
'Renaming Unit/Area': 0.369768,
'Renaming Unit/FP Front End RAT/Area': 0.168486,
'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00489731,
'Renaming Unit/FP Front End RAT/Peak Dynamic': 3.33511,
'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.327826,
'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0437281,
'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.024925,
'Renaming Unit/Free List/Area': 0.0414755,
'Renaming Unit/Free List/Gate Leakage': 4.15911e-05,
'Renaming Unit/Free List/Peak Dynamic': 0.0401324,
'Renaming Unit/Free List/Runtime Dynamic': 0.0277607,
'Renaming Unit/Free List/Subthreshold Leakage': 0.000670426,
'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000377987,
'Renaming Unit/Gate Leakage': 0.00863632,
'Renaming Unit/Int Front End RAT/Area': 0.114751,
'Renaming Unit/Int Front End RAT/Gate Leakage': 0.00038343,
'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.86945,
'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.235383,
'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00611897,
'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00348781,
'Renaming Unit/Peak Dynamic': 4.56169,
'Renaming Unit/Runtime Dynamic': 0.59097,
'Renaming Unit/Subthreshold Leakage': 0.070483,
'Renaming Unit/Subthreshold Leakage with power gating': 0.0362779,
'Runtime Dynamic': 8.31769,
'Subthreshold Leakage': 6.21877,
'Subthreshold Leakage with power gating': 2.58311},
{'Area': 32.0201,
'Execution Unit/Area': 7.68434,
'Execution Unit/Complex ALUs/Area': 0.235435,
'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646,
'Execution Unit/Complex ALUs/Peak Dynamic': 0.0492297,
'Execution Unit/Complex ALUs/Runtime Dynamic': 0.241356,
'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111,
'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163,
'Execution Unit/Floating Point Units/Area': 4.6585,
'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156,
'Execution Unit/Floating Point Units/Peak Dynamic': 0.259493,
'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033,
'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829,
'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061,
'Execution Unit/Gate Leakage': 0.120359,
'Execution Unit/Instruction Scheduler/Area': 1.66526,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.219639,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519,
'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913,
'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223,
'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562,
'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763,
'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.35427,
'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755,
'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964,
'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262,
'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388,
'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608,
'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451,
'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.178823,
'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853,
'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446,
'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.752732,
'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892,
'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346,
'Execution Unit/Integer ALUs/Area': 0.47087,
'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291,
'Execution Unit/Integer ALUs/Peak Dynamic': 0.211419,
'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344,
'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222,
'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833,
'Execution Unit/Peak Dynamic': 4.69749,
'Execution Unit/Register Files/Area': 0.570804,
'Execution Unit/Register Files/Floating Point RF/Area': 0.208131,
'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788,
'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.0490238,
'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.00921264,
'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698,
'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968,
'Execution Unit/Register Files/Gate Leakage': 0.000622708,
'Execution Unit/Register Files/Integer RF/Area': 0.362673,
'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992,
'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.0853083,
'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0681332,
'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175,
'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675,
'Execution Unit/Register Files/Peak Dynamic': 0.134332,
'Execution Unit/Register Files/Runtime Dynamic': 0.0773458,
'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387,
'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643,
'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912,
'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402,
'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.192031,
'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.475134,
'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478,
'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543,
'Execution Unit/Runtime Dynamic': 1.95194,
'Execution Unit/Subthreshold Leakage': 1.79543,
'Execution Unit/Subthreshold Leakage with power gating': 0.688821,
'Gate Leakage': 0.368936,
'Instruction Fetch Unit/Area': 5.85939,
'Instruction Fetch Unit/Branch Predictor/Area': 0.138516,
'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221,
'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362,
'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831,
'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.00198599,
'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719,
'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236,
'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.00198599,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.00177091,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.000708038,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045,
'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838,
'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732,
'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05,
'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602,
'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.000978738,
'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505,
'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733,
'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00672164,
'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703,
'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282,
'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954,
'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758,
'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867,
'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.0175725,
'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682,
'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357,
'Instruction Fetch Unit/Gate Leakage': 0.0589979,
'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323,
'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05,
'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827,
'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0654981,
'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885,
'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682,
'Instruction Fetch Unit/Instruction Cache/Area': 3.14635,
'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931,
'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 4.16624,
'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.224647,
'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022,
'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386,
'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799,
'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493,
'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404,
'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.222461,
'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943,
'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104,
'Instruction Fetch Unit/Peak Dynamic': 6.58696,
'Instruction Fetch Unit/Runtime Dynamic': 0.5369,
'Instruction Fetch Unit/Subthreshold Leakage': 0.932286,
'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843,
'L2/Area': 4.53318,
'L2/Gate Leakage': 0.015464,
'L2/Peak Dynamic': 0.070156,
'L2/Runtime Dynamic': 0.0152883,
'L2/Subthreshold Leakage': 0.834142,
'L2/Subthreshold Leakage with power gating': 0.401066,
'Load Store Unit/Area': 8.80901,
'Load Store Unit/Data Cache/Area': 6.84535,
'Load Store Unit/Data Cache/Gate Leakage': 0.0279261,
'Load Store Unit/Data Cache/Peak Dynamic': 3.6598,
'Load Store Unit/Data Cache/Runtime Dynamic': 1.17586,
'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675,
'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085,
'Load Store Unit/Gate Leakage': 0.0350888,
'Load Store Unit/LoadQ/Area': 0.0836782,
'Load Store Unit/LoadQ/Gate Leakage': 0.00059896,
'Load Store Unit/LoadQ/Peak Dynamic': 0.0783793,
'Load Store Unit/LoadQ/Runtime Dynamic': 0.0783794,
'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961,
'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918,
'Load Store Unit/Peak Dynamic': 4.02992,
'Load Store Unit/Runtime Dynamic': 1.64078,
'Load Store Unit/StoreQ/Area': 0.322079,
'Load Store Unit/StoreQ/Gate Leakage': 0.00329971,
'Load Store Unit/StoreQ/Peak Dynamic': 0.19327,
'Load Store Unit/StoreQ/Runtime Dynamic': 0.38654,
'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621,
'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004,
'Load Store Unit/Subthreshold Leakage': 0.591321,
'Load Store Unit/Subthreshold Leakage with power gating': 0.283293,
'Memory Management Unit/Area': 0.4339,
'Memory Management Unit/Dtlb/Area': 0.0879726,
'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729,
'Memory Management Unit/Dtlb/Peak Dynamic': 0.0685922,
'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0694114,
'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699,
'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485,
'Memory Management Unit/Gate Leakage': 0.00808595,
'Memory Management Unit/Itlb/Area': 0.301552,
'Memory Management Unit/Itlb/Gate Leakage': 0.00393464,
'Memory Management Unit/Itlb/Peak Dynamic': 0.259042,
'Memory Management Unit/Itlb/Runtime Dynamic': 0.037522,
'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758,
'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842,
'Memory Management Unit/Peak Dynamic': 0.53298,
'Memory Management Unit/Runtime Dynamic': 0.106933,
'Memory Management Unit/Subthreshold Leakage': 0.0766103,
'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333,
'Peak Dynamic': 19.507,
'Renaming Unit/Area': 0.303608,
'Renaming Unit/FP Front End RAT/Area': 0.131045,
'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123,
'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468,
'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.12896,
'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571,
'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885,
'Renaming Unit/Free List/Area': 0.0340654,
'Renaming Unit/Free List/Gate Leakage': 2.5481e-05,
'Renaming Unit/Free List/Peak Dynamic': 0.0306032,
'Renaming Unit/Free List/Runtime Dynamic': 0.0114789,
'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144,
'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064,
'Renaming Unit/Gate Leakage': 0.00708398,
'Renaming Unit/Int Front End RAT/Area': 0.0941223,
'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242,
'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965,
'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.109142,
'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488,
'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228,
'Renaming Unit/Peak Dynamic': 3.58947,
'Renaming Unit/Runtime Dynamic': 0.24958,
'Renaming Unit/Subthreshold Leakage': 0.0552466,
'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461,
'Runtime Dynamic': 4.50143,
'Subthreshold Leakage': 6.16288,
'Subthreshold Leakage with power gating': 2.55328},
{'Area': 32.0201,
'Execution Unit/Area': 7.68434,
'Execution Unit/Complex ALUs/Area': 0.235435,
'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646,
'Execution Unit/Complex ALUs/Peak Dynamic': 0.0498995,
'Execution Unit/Complex ALUs/Runtime Dynamic': 0.241882,
'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111,
'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163,
'Execution Unit/Floating Point Units/Area': 4.6585,
'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156,
'Execution Unit/Floating Point Units/Peak Dynamic': 0.263215,
'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033,
'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829,
'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061,
'Execution Unit/Gate Leakage': 0.120359,
'Execution Unit/Instruction Scheduler/Area': 1.66526,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.220104,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519,
'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913,
'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223,
'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562,
'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763,
'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.35502,
'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755,
'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964,
'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262,
'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388,
'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608,
'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451,
'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.179202,
'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853,
'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446,
'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.754327,
'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892,
'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346,
'Execution Unit/Integer ALUs/Area': 0.47087,
'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291,
'Execution Unit/Integer ALUs/Peak Dynamic': 0.211381,
'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344,
'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222,
'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833,
'Execution Unit/Peak Dynamic': 4.70391,
'Execution Unit/Register Files/Area': 0.570804,
'Execution Unit/Register Files/Floating Point RF/Area': 0.208131,
'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788,
'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.0497269,
'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.00923217,
'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698,
'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968,
'Execution Unit/Register Files/Gate Leakage': 0.000622708,
'Execution Unit/Register Files/Integer RF/Area': 0.362673,
'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992,
'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.0856962,
'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0682775,
'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175,
'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675,
'Execution Unit/Register Files/Peak Dynamic': 0.135423,
'Execution Unit/Register Files/Runtime Dynamic': 0.0775097,
'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387,
'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643,
'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912,
'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402,
'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.193016,
'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.476879,
'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478,
'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543,
'Execution Unit/Runtime Dynamic': 1.95597,
'Execution Unit/Subthreshold Leakage': 1.79543,
'Execution Unit/Subthreshold Leakage with power gating': 0.688821,
'Gate Leakage': 0.368936,
'Instruction Fetch Unit/Area': 5.85939,
'Instruction Fetch Unit/Branch Predictor/Area': 0.138516,
'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221,
'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362,
'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831,
'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.00198035,
'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719,
'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236,
'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.00198035,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.00176578,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.000705932,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045,
'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838,
'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732,
'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05,
'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602,
'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.000980812,
'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505,
'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733,
'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00670728,
'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703,
'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282,
'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954,
'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758,
'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867,
'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.017526,
'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682,
'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357,
'Instruction Fetch Unit/Gate Leakage': 0.0589979,
'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323,
'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05,
'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827,
'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0656369,
'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885,
'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682,
'Instruction Fetch Unit/Instruction Cache/Area': 3.14635,
'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931,
'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 4.17507,
'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.224809,
'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022,
'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386,
'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799,
'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493,
'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404,
'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.222933,
'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943,
'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104,
'Instruction Fetch Unit/Peak Dynamic': 6.59621,
'Instruction Fetch Unit/Runtime Dynamic': 0.537612,
'Instruction Fetch Unit/Subthreshold Leakage': 0.932286,
'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843,
'L2/Area': 4.53318,
'L2/Gate Leakage': 0.015464,
'L2/Peak Dynamic': 0.0700949,
'L2/Runtime Dynamic': 0.0152728,
'L2/Subthreshold Leakage': 0.834142,
'L2/Subthreshold Leakage with power gating': 0.401066,
'Load Store Unit/Area': 8.80901,
'Load Store Unit/Data Cache/Area': 6.84535,
'Load Store Unit/Data Cache/Gate Leakage': 0.0279261,
'Load Store Unit/Data Cache/Peak Dynamic': 3.65817,
'Load Store Unit/Data Cache/Runtime Dynamic': 1.17492,
'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675,
'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085,
'Load Store Unit/Gate Leakage': 0.0350888,
'Load Store Unit/LoadQ/Area': 0.0836782,
'Load Store Unit/LoadQ/Gate Leakage': 0.00059896,
'Load Store Unit/LoadQ/Peak Dynamic': 0.0783266,
'Load Store Unit/LoadQ/Runtime Dynamic': 0.0783265,
'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961,
'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918,
'Load Store Unit/Peak Dynamic': 4.02804,
'Load Store Unit/Runtime Dynamic': 1.63953,
'Load Store Unit/StoreQ/Area': 0.322079,
'Load Store Unit/StoreQ/Gate Leakage': 0.00329971,
'Load Store Unit/StoreQ/Peak Dynamic': 0.19314,
'Load Store Unit/StoreQ/Runtime Dynamic': 0.38628,
'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621,
'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004,
'Load Store Unit/Subthreshold Leakage': 0.591321,
'Load Store Unit/Subthreshold Leakage with power gating': 0.283293,
'Memory Management Unit/Area': 0.4339,
'Memory Management Unit/Dtlb/Area': 0.0879726,
'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729,
'Memory Management Unit/Dtlb/Peak Dynamic': 0.068546,
'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0693636,
'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699,
'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485,
'Memory Management Unit/Gate Leakage': 0.00808595,
'Memory Management Unit/Itlb/Area': 0.301552,
'Memory Management Unit/Itlb/Gate Leakage': 0.00393464,
'Memory Management Unit/Itlb/Peak Dynamic': 0.259591,
'Memory Management Unit/Itlb/Runtime Dynamic': 0.0375508,
'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758,
'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842,
'Memory Management Unit/Peak Dynamic': 0.533449,
'Memory Management Unit/Runtime Dynamic': 0.106914,
'Memory Management Unit/Subthreshold Leakage': 0.0766103,
'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333,
'Peak Dynamic': 19.5212,
'Renaming Unit/Area': 0.303608,
'Renaming Unit/FP Front End RAT/Area': 0.131045,
'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123,
'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468,
'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.130809,
'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571,
'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885,
'Renaming Unit/Free List/Area': 0.0340654,
'Renaming Unit/Free List/Gate Leakage': 2.5481e-05,
'Renaming Unit/Free List/Peak Dynamic': 0.0306032,
'Renaming Unit/Free List/Runtime Dynamic': 0.0115224,
'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144,
'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064,
'Renaming Unit/Gate Leakage': 0.00708398,
'Renaming Unit/Int Front End RAT/Area': 0.0941223,
'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242,
'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965,
'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.109337,
'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488,
'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228,
'Renaming Unit/Peak Dynamic': 3.58947,
'Renaming Unit/Runtime Dynamic': 0.251668,
'Renaming Unit/Subthreshold Leakage': 0.0552466,
'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461,
'Runtime Dynamic': 4.50697,
'Subthreshold Leakage': 6.16288,
'Subthreshold Leakage with power gating': 2.55328},
{'Area': 32.0201,
'Execution Unit/Area': 7.68434,
'Execution Unit/Complex ALUs/Area': 0.235435,
'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646,
'Execution Unit/Complex ALUs/Peak Dynamic': 0.0490455,
'Execution Unit/Complex ALUs/Runtime Dynamic': 0.241211,
'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111,
'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163,
'Execution Unit/Floating Point Units/Area': 4.6585,
'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156,
'Execution Unit/Floating Point Units/Peak Dynamic': 0.259157,
'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033,
'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829,
'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061,
'Execution Unit/Gate Leakage': 0.120359,
'Execution Unit/Instruction Scheduler/Area': 1.66526,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.21921,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519,
'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913,
'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223,
'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562,
'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763,
'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.353577,
'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755,
'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964,
'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262,
'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388,
'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608,
'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451,
'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.178474,
'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853,
'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446,
'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.75126,
'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892,
'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346,
'Execution Unit/Integer ALUs/Area': 0.47087,
'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291,
'Execution Unit/Integer ALUs/Peak Dynamic': 0.210981,
'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344,
'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222,
'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833,
'Execution Unit/Peak Dynamic': 4.69566,
'Execution Unit/Register Files/Area': 0.570804,
'Execution Unit/Register Files/Floating Point RF/Area': 0.208131,
'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788,
'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.0489603,
'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.00919463,
'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698,
'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968,
'Execution Unit/Register Files/Gate Leakage': 0.000622708,
'Execution Unit/Register Files/Integer RF/Area': 0.362673,
'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992,
'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.0850828,
'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.068,
'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175,
'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675,
'Execution Unit/Register Files/Peak Dynamic': 0.134043,
'Execution Unit/Register Files/Runtime Dynamic': 0.0771946,
'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387,
'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643,
'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912,
'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402,
'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.19151,
'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.474052,
'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478,
'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543,
'Execution Unit/Runtime Dynamic': 1.9491,
'Execution Unit/Subthreshold Leakage': 1.79543,
'Execution Unit/Subthreshold Leakage with power gating': 0.688821,
'Gate Leakage': 0.368936,
'Instruction Fetch Unit/Area': 5.85939,
'Instruction Fetch Unit/Branch Predictor/Area': 0.138516,
'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221,
'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362,
'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831,
'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.00198189,
'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719,
'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236,
'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.00198189,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.00176734,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.000706656,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045,
'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838,
'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732,
'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05,
'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602,
'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.000976825,
'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505,
'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733,
'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00670794,
'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703,
'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282,
'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954,
'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758,
'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867,
'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.017533,
'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682,
'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357,
'Instruction Fetch Unit/Gate Leakage': 0.0589979,
'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323,
'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05,
'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827,
'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0653701,
'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885,
'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682,
'Instruction Fetch Unit/Instruction Cache/Area': 3.14635,
'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931,
'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 4.1581,
'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.224033,
'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022,
'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386,
'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799,
'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493,
'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404,
'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.222026,
'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943,
'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104,
'Instruction Fetch Unit/Peak Dynamic': 6.57842,
'Instruction Fetch Unit/Runtime Dynamic': 0.53567,
'Instruction Fetch Unit/Subthreshold Leakage': 0.932286,
'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843,
'L2/Area': 4.53318,
'L2/Gate Leakage': 0.015464,
'L2/Peak Dynamic': 0.0698965,
'L2/Runtime Dynamic': 0.0152464,
'L2/Subthreshold Leakage': 0.834142,
'L2/Subthreshold Leakage with power gating': 0.401066,
'Load Store Unit/Area': 8.80901,
'Load Store Unit/Data Cache/Area': 6.84535,
'Load Store Unit/Data Cache/Gate Leakage': 0.0279261,
'Load Store Unit/Data Cache/Peak Dynamic': 3.65096,
'Load Store Unit/Data Cache/Runtime Dynamic': 1.17158,
'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675,
'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085,
'Load Store Unit/Gate Leakage': 0.0350888,
'Load Store Unit/LoadQ/Area': 0.0836782,
'Load Store Unit/LoadQ/Gate Leakage': 0.00059896,
'Load Store Unit/LoadQ/Peak Dynamic': 0.0780935,
'Load Store Unit/LoadQ/Runtime Dynamic': 0.0780934,
'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961,
'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918,
'Load Store Unit/Peak Dynamic': 4.01974,
'Load Store Unit/Runtime Dynamic': 1.63481,
'Load Store Unit/StoreQ/Area': 0.322079,
'Load Store Unit/StoreQ/Gate Leakage': 0.00329971,
'Load Store Unit/StoreQ/Peak Dynamic': 0.192565,
'Load Store Unit/StoreQ/Runtime Dynamic': 0.38513,
'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621,
'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004,
'Load Store Unit/Subthreshold Leakage': 0.591321,
'Load Store Unit/Subthreshold Leakage with power gating': 0.283293,
'Memory Management Unit/Area': 0.4339,
'Memory Management Unit/Dtlb/Area': 0.0879726,
'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729,
'Memory Management Unit/Dtlb/Peak Dynamic': 0.0683421,
'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0691573,
'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699,
'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485,
'Memory Management Unit/Gate Leakage': 0.00808595,
'Memory Management Unit/Itlb/Area': 0.301552,
'Memory Management Unit/Itlb/Gate Leakage': 0.00393464,
'Memory Management Unit/Itlb/Peak Dynamic': 0.258535,
'Memory Management Unit/Itlb/Runtime Dynamic': 0.0374215,
'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758,
'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842,
'Memory Management Unit/Peak Dynamic': 0.532044,
'Memory Management Unit/Runtime Dynamic': 0.106579,
'Memory Management Unit/Subthreshold Leakage': 0.0766103,
'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333,
'Peak Dynamic': 19.4852,
'Renaming Unit/Area': 0.303608,
'Renaming Unit/FP Front End RAT/Area': 0.131045,
'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123,
'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468,
'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.128792,
'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571,
'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885,
'Renaming Unit/Free List/Area': 0.0340654,
'Renaming Unit/Free List/Gate Leakage': 2.5481e-05,
'Renaming Unit/Free List/Peak Dynamic': 0.0306032,
'Renaming Unit/Free List/Runtime Dynamic': 0.0114575,
'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144,
'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064,
'Renaming Unit/Gate Leakage': 0.00708398,
'Renaming Unit/Int Front End RAT/Area': 0.0941223,
'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242,
'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965,
'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.108927,
'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488,
'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228,
'Renaming Unit/Peak Dynamic': 3.58947,
'Renaming Unit/Runtime Dynamic': 0.249176,
'Renaming Unit/Subthreshold Leakage': 0.0552466,
'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461,
'Runtime Dynamic': 4.49057,
'Subthreshold Leakage': 6.16288,
'Subthreshold Leakage with power gating': 2.55328}],
'DRAM': {'Area': 0,
'Gate Leakage': 0,
'Peak Dynamic': 0.012581807133741752,
'Runtime Dynamic': 0.012581807133741752,
'Subthreshold Leakage': 4.252,
'Subthreshold Leakage with power gating': 4.252},
'L3': [{'Area': 61.9075,
'Gate Leakage': 0.0484137,
'Peak Dynamic': 0.0123069,
'Runtime Dynamic': 0.00743318,
'Subthreshold Leakage': 6.80085,
'Subthreshold Leakage with power gating': 3.32364}],
'Processor': {'Area': 191.908,
'Gate Leakage': 1.53485,
'Peak Dynamic': 85.7875,
'Peak Power': 118.9,
'Runtime Dynamic': 21.8241,
'Subthreshold Leakage': 31.5774,
'Subthreshold Leakage with power gating': 13.9484,
'Total Cores/Area': 128.669,
'Total Cores/Gate Leakage': 1.4798,
'Total Cores/Peak Dynamic': 85.7752,
'Total Cores/Runtime Dynamic': 21.8167,
'Total Cores/Subthreshold Leakage': 24.7074,
'Total Cores/Subthreshold Leakage with power gating': 10.2429,
'Total L3s/Area': 61.9075,
'Total L3s/Gate Leakage': 0.0484137,
'Total L3s/Peak Dynamic': 0.0123069,
'Total L3s/Runtime Dynamic': 0.00743318,
'Total L3s/Subthreshold Leakage': 6.80085,
'Total L3s/Subthreshold Leakage with power gating': 3.32364,
'Total Leakage': 33.1122,
'Total NoCs/Area': 1.33155,
'Total NoCs/Gate Leakage': 0.00662954,
'Total NoCs/Peak Dynamic': 0.0,
'Total NoCs/Runtime Dynamic': 0.0,
'Total NoCs/Subthreshold Leakage': 0.0691322,
'Total NoCs/Subthreshold Leakage with power gating': 0.0259246}}
| 75.038293
| 124
| 0.681971
| 8,082
| 68,585
| 5.781366
| 0.067681
| 0.123617
| 0.113002
| 0.093483
| 0.939518
| 0.931643
| 0.918245
| 0.887747
| 0.863499
| 0.842932
| 0
| 0.131556
| 0.224408
| 68,585
| 914
| 125
| 75.038293
| 0.746832
| 0
| 0
| 0.642232
| 0
| 0
| 0.657642
| 0.048115
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
d5d6ffa3cd8cb07d863a09dad861d0596fc14578
| 172
|
py
|
Python
|
src/private/scripts/reports/mechanistic/__init__.py
|
victor-t/tblBuilder
|
e1a0d4f625931be4c7ad7d659ce5f0e06c58a7b2
|
[
"MIT"
] | 2
|
2017-08-24T16:38:08.000Z
|
2018-06-19T13:00:52.000Z
|
src/private/scripts/reports/mechanistic/__init__.py
|
victor-t/tblBuilder
|
e1a0d4f625931be4c7ad7d659ce5f0e06c58a7b2
|
[
"MIT"
] | 3
|
2018-01-24T17:10:03.000Z
|
2018-04-23T19:54:26.000Z
|
src/private/scripts/reports/mechanistic/__init__.py
|
victor-t/tblBuilder
|
e1a0d4f625931be4c7ad7d659ce5f0e06c58a7b2
|
[
"MIT"
] | 2
|
2019-02-12T21:16:54.000Z
|
2022-02-11T21:09:03.000Z
|
from .genotoxHtmlTables import * # noqa
from .genotoxHumanHtml import GenotoxHumanHtml # noqa
from .genotoxTables import * # noqa
from .mechanisticHtml import * # noqa
| 34.4
| 54
| 0.773256
| 17
| 172
| 7.823529
| 0.411765
| 0.225564
| 0.210526
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.162791
| 172
| 4
| 55
| 43
| 0.923611
| 0.110465
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
d5f469a9923b5f5c664013e85f069c223e7c6e4e
| 10,460
|
py
|
Python
|
falcon/core/events/types/process_events.py
|
jopereira/horus-tracer
|
03671206f02c5ebea18f5682b346f59884e0a538
|
[
"MIT"
] | null | null | null |
falcon/core/events/types/process_events.py
|
jopereira/horus-tracer
|
03671206f02c5ebea18f5682b346f59884e0a538
|
[
"MIT"
] | 1
|
2021-05-17T21:06:03.000Z
|
2021-05-17T21:06:03.000Z
|
falcon/core/events/types/process_events.py
|
jopereira/horus-tracer
|
03671206f02c5ebea18f5682b346f59884e0a538
|
[
"MIT"
] | 1
|
2021-05-17T17:14:32.000Z
|
2021-05-17T17:14:32.000Z
|
import struct
import ujson as json
from falcon.core.events.base_event import Event, EventType
import falcon.core.protocol.fbs.FalconEvent as FlatFalconEvent
import falcon.core.protocol.fbs.EventData as FlatEventData
import falcon.core.protocol.fbs.ProcessCreate as FlatProcessCreate
import falcon.core.protocol.fbs.ProcessJoin as FlatProcessJoin
import falcon.core.protocol.fbs.ProcessStart as FlatProcessStart
import falcon.core.protocol.fbs.ProcessEnd as FlatProcessEnd
import falcon.core.protocol.fbs.FSync as FlatFSync
import flatbuffers
class ProcessCreate(Event):
def __init__(self, pid, tgid, comm, child_pid, timestamp=None, host=None):
self._type = EventType.PROCESS_CREATE
self._child_pid = child_pid
super(ProcessCreate, self).__init__(pid, tgid, comm, timestamp, host)
def get_child_thread_id(self):
return self._generate_thread_id(self._child_pid, self._host)
def to_json(self):
return json.dumps({
"type": self._type,
"timestamp": self._timestamp,
"thread": self.get_thread_id(),
"child": self.get_child_thread_id(),
"data": {
"host": self._host,
"comm": self._comm,
}
})
def to_bytes(self):
builder = flatbuffers.Builder(0)
id_field = builder.CreateString(self._id)
comm_field = builder.CreateString(self._comm)
host_field = builder.CreateString(self._host)
extra_data_field = builder.CreateString(json.dumps(self._data))
# Create ProcessCreate event
FlatProcessCreate.ProcessCreateStart(builder)
FlatProcessCreate.ProcessCreateAddChildPid(builder, self._child_pid)
event_data = FlatProcessCreate.ProcessCreateEnd(builder)
# Create FalconEvent
FlatFalconEvent.FalconEventStart(builder)
FlatFalconEvent.FalconEventAddId(builder, id_field)
FlatFalconEvent.FalconEventAddUserTime(builder, self._timestamp)
FlatFalconEvent.FalconEventAddKernelTime(builder, self._ktime)
FlatFalconEvent.FalconEventAddType(builder, self._type)
FlatFalconEvent.FalconEventAddPid(builder, self._pid)
FlatFalconEvent.FalconEventAddTid(builder, self._tid)
FlatFalconEvent.FalconEventAddComm(builder, comm_field)
FlatFalconEvent.FalconEventAddHost(builder, host_field)
FlatFalconEvent.FalconEventAddEventType(builder, FlatEventData.EventData().ProcessCreate)
FlatFalconEvent.FalconEventAddEvent(builder, event_data)
FlatFalconEvent.FalconEventAddExtraData(builder, extra_data_field)
builder.Finish(FlatFalconEvent.FalconEventEnd(builder))
return builder.Output()
class ProcessJoin(Event):
def __init__(self, pid, tgid, comm, child_pid, timestamp=None, host=None):
self._type = EventType.PROCESS_JOIN
self._child_pid = child_pid
super(ProcessJoin, self).__init__(pid, tgid, comm, timestamp, host)
def get_child_thread_id(self):
return self._generate_thread_id(self._child_pid, self._host)
def to_json(self):
return json.dumps({
"type": self._type,
"timestamp": self._timestamp,
"thread": self.get_thread_id(),
"child": self.get_child_thread_id(),
"data": {
"host": self._host,
"comm": self._comm,
}
})
def to_bytes(self):
builder = flatbuffers.Builder(0)
id_field = builder.CreateString(self._id)
comm_field = builder.CreateString(self._comm)
host_field = builder.CreateString(self._host)
extra_data_field = builder.CreateString(json.dumps(self._data))
# Create ProcessJoin event
FlatProcessJoin.ProcessJoinStart(builder)
FlatProcessJoin.ProcessJoinAddChildPid(builder, self._child_pid)
event_data = FlatProcessJoin.ProcessJoinEnd(builder)
# Create FalconEvent
FlatFalconEvent.FalconEventStart(builder)
FlatFalconEvent.FalconEventAddId(builder, id_field)
FlatFalconEvent.FalconEventAddUserTime(builder, self._timestamp)
FlatFalconEvent.FalconEventAddKernelTime(builder, self._ktime)
FlatFalconEvent.FalconEventAddType(builder, self._type)
FlatFalconEvent.FalconEventAddPid(builder, self._pid)
FlatFalconEvent.FalconEventAddTid(builder, self._tid)
FlatFalconEvent.FalconEventAddComm(builder, comm_field)
FlatFalconEvent.FalconEventAddHost(builder, host_field)
FlatFalconEvent.FalconEventAddEventType(builder, FlatEventData.EventData().ProcessJoin)
FlatFalconEvent.FalconEventAddEvent(builder, event_data)
FlatFalconEvent.FalconEventAddExtraData(builder, extra_data_field)
builder.Finish(FlatFalconEvent.FalconEventEnd(builder))
return builder.Output()
class ProcessStart(Event):
def __init__(self, pid, tgid, comm, timestamp=None, host=None):
self._type = EventType.PROCESS_START
super(ProcessStart, self).__init__(pid, tgid, comm, timestamp, host)
def to_json(self):
return json.dumps({
"type": self._type,
"timestamp": self._timestamp,
"thread": self.get_thread_id(),
"data": {
"host": self._host,
"comm": self._comm,
}
})
def to_bytes(self):
builder = flatbuffers.Builder(0)
id_field = builder.CreateString(self._id)
comm_field = builder.CreateString(self._comm)
host_field = builder.CreateString(self._host)
extra_data_field = builder.CreateString(json.dumps(self._data))
# Create ProcessStart event
FlatProcessStart.ProcessStartStart(builder)
event_data = FlatProcessStart.ProcessStartEnd(builder)
# Create FalconEvent
FlatFalconEvent.FalconEventStart(builder)
FlatFalconEvent.FalconEventAddId(builder, id_field)
FlatFalconEvent.FalconEventAddUserTime(builder, self._timestamp)
FlatFalconEvent.FalconEventAddKernelTime(builder, self._ktime)
FlatFalconEvent.FalconEventAddType(builder, self._type)
FlatFalconEvent.FalconEventAddPid(builder, self._pid)
FlatFalconEvent.FalconEventAddTid(builder, self._tid)
FlatFalconEvent.FalconEventAddComm(builder, comm_field)
FlatFalconEvent.FalconEventAddHost(builder, host_field)
FlatFalconEvent.FalconEventAddEventType(builder, FlatEventData.EventData().ProcessStart)
FlatFalconEvent.FalconEventAddEvent(builder, event_data)
FlatFalconEvent.FalconEventAddExtraData(builder, extra_data_field)
builder.Finish(FlatFalconEvent.FalconEventEnd(builder))
return builder.Output()
class ProcessEnd(Event):
def __init__(self, pid, tgid, comm, timestamp=None, host=None):
self._type = EventType.PROCESS_END
super(ProcessEnd, self).__init__(pid, tgid, comm, timestamp, host)
def to_json(self):
return json.dumps({
"type": self._type,
"timestamp": self._timestamp,
"thread": self.get_thread_id(),
"data": {
"host": self._host,
"comm": self._comm,
}
})
def to_bytes(self):
builder = flatbuffers.Builder(0)
id_field = builder.CreateString(self._id)
comm_field = builder.CreateString(self._comm)
host_field = builder.CreateString(self._host)
extra_data_field = builder.CreateString(json.dumps(self._data))
# Create ProcessEnd event
FlatProcessEnd.ProcessEndStart(builder)
event_data = FlatProcessEnd.ProcessEndEnd(builder)
# Create FalconEvent
FlatFalconEvent.FalconEventStart(builder)
FlatFalconEvent.FalconEventAddId(builder, id_field)
FlatFalconEvent.FalconEventAddUserTime(builder, self._timestamp)
FlatFalconEvent.FalconEventAddKernelTime(builder, self._ktime)
FlatFalconEvent.FalconEventAddType(builder, self._type)
FlatFalconEvent.FalconEventAddPid(builder, self._pid)
FlatFalconEvent.FalconEventAddTid(builder, self._tid)
FlatFalconEvent.FalconEventAddComm(builder, comm_field)
FlatFalconEvent.FalconEventAddHost(builder, host_field)
FlatFalconEvent.FalconEventAddEventType(builder, FlatEventData.EventData().ProcessEnd)
FlatFalconEvent.FalconEventAddEvent(builder, event_data)
FlatFalconEvent.FalconEventAddExtraData(builder, extra_data_field)
builder.Finish(FlatFalconEvent.FalconEventEnd(builder))
return builder.Output()
class FSync(Event):
def __init__(self, pid, tgid, comm, timestamp=None, host=None):
self._type = EventType.FSYNC
super(FSync, self).__init__(pid, tgid, comm, timestamp, host)
def to_json(self):
return json.dumps({
"type": self._type,
"timestamp": self._timestamp,
"thread": self.get_thread_id(),
"data": {
"host": self._host,
"comm": self._comm,
}
})
def to_bytes(self):
builder = flatbuffers.Builder(0)
id_field = builder.CreateString(self._id)
comm_field = builder.CreateString(self._comm)
host_field = builder.CreateString(self._host)
extra_data_field = builder.CreateString(json.dumps(self._data))
# Create FSync event
FlatFSync.FSyncStart(builder)
event_data = FlatFSync.FSyncEnd(builder)
# Create FalconEvent
FlatFalconEvent.FalconEventStart(builder)
FlatFalconEvent.FalconEventAddId(builder, id_field)
FlatFalconEvent.FalconEventAddUserTime(builder, self._timestamp)
FlatFalconEvent.FalconEventAddKernelTime(builder, self._ktime)
FlatFalconEvent.FalconEventAddType(builder, self._type)
FlatFalconEvent.FalconEventAddPid(builder, self._pid)
FlatFalconEvent.FalconEventAddTid(builder, self._tid)
FlatFalconEvent.FalconEventAddComm(builder, comm_field)
FlatFalconEvent.FalconEventAddHost(builder, host_field)
FlatFalconEvent.FalconEventAddEventType(builder, FlatEventData.EventData().FSync)
FlatFalconEvent.FalconEventAddEvent(builder, event_data)
FlatFalconEvent.FalconEventAddExtraData(builder, extra_data_field)
builder.Finish(FlatFalconEvent.FalconEventEnd(builder))
return builder.Output()
| 42.348178
| 97
| 0.697706
| 982
| 10,460
| 7.196538
| 0.09165
| 0.042026
| 0.067921
| 0.059431
| 0.862035
| 0.835291
| 0.820292
| 0.820292
| 0.820292
| 0.820292
| 0
| 0.000608
| 0.213384
| 10,460
| 247
| 98
| 42.348178
| 0.858289
| 0.020554
| 0
| 0.761194
| 0
| 0
| 0.016121
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.084577
| false
| 0
| 0.054726
| 0.034826
| 0.223881
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
912e66ee4610cc3e2aa0a39a98ab45b9597c9baa
| 41,688
|
py
|
Python
|
Tests/cffLib/specializer_test.py
|
VivaRado/fonttools
|
2f2ccdc2c691f3ca49715a2c9f458871262226dc
|
[
"MIT",
"BSD-3-Clause"
] | 1
|
2019-04-14T20:19:16.000Z
|
2019-04-14T20:19:16.000Z
|
Tests/cffLib/specializer_test.py
|
VivaRado/fonttools
|
2f2ccdc2c691f3ca49715a2c9f458871262226dc
|
[
"MIT",
"BSD-3-Clause"
] | null | null | null |
Tests/cffLib/specializer_test.py
|
VivaRado/fonttools
|
2f2ccdc2c691f3ca49715a2c9f458871262226dc
|
[
"MIT",
"BSD-3-Clause"
] | null | null | null |
from __future__ import print_function, division, absolute_import
from fontTools.cffLib.specializer import (programToString, stringToProgram,
generalizeProgram, specializeProgram)
import unittest
# TODO
# https://github.com/fonttools/fonttools/pull/959#commitcomment-22059841
# Maybe we should make these data driven. Each entry will have an input string,
# and a generalized and specialized. For the latter two, if they are None, they
# are considered equal to the input. Then we can do roundtripping tests as well...
# There are a few other places (aosp tests for example) where we generate tests
# from data.
def get_generalized_charstr(charstr, **kwargs):
return programToString(generalizeProgram(stringToProgram(charstr), **kwargs))
def get_specialized_charstr(charstr, **kwargs):
return programToString(specializeProgram(stringToProgram(charstr), **kwargs))
class CFFGeneralizeProgramTest(unittest.TestCase):
def __init__(self, methodName):
unittest.TestCase.__init__(self, methodName)
# Python 3 renamed assertRaisesRegexp to assertRaisesRegex,
# and fires deprecation warnings if a program uses the old name.
if not hasattr(self, "assertRaisesRegex"):
self.assertRaisesRegex = self.assertRaisesRegexp
# no arguments/operands
def test_rmoveto_none(self):
test_charstr = 'rmoveto'
with self.assertRaisesRegex(ValueError, r'\[\]'):
get_generalized_charstr(test_charstr)
def test_hmoveto_none(self):
test_charstr = 'hmoveto'
with self.assertRaisesRegex(ValueError, r'\[\]'):
get_generalized_charstr(test_charstr)
def test_vmoveto_none(self):
test_charstr = 'vmoveto'
with self.assertRaisesRegex(ValueError, r'\[\]'):
get_generalized_charstr(test_charstr)
def test_rlineto_none(self):
test_charstr = 'rlineto'
with self.assertRaisesRegex(ValueError, r'\[\]'):
get_generalized_charstr(test_charstr)
def test_hlineto_none(self):
test_charstr = 'hlineto'
with self.assertRaisesRegex(ValueError, r'\[\]'):
get_generalized_charstr(test_charstr)
def test_vlineto_none(self):
test_charstr = 'vlineto'
with self.assertRaisesRegex(ValueError, r'\[\]'):
get_generalized_charstr(test_charstr)
def test_rrcurveto_none(self):
test_charstr = 'rrcurveto'
with self.assertRaisesRegex(ValueError, r'\[\]'):
get_generalized_charstr(test_charstr)
def test_hhcurveto_none(self):
test_charstr = 'hhcurveto'
with self.assertRaisesRegex(ValueError, r'\[\]'):
get_generalized_charstr(test_charstr)
def test_vvcurveto_none(self):
test_charstr = 'vvcurveto'
with self.assertRaisesRegex(ValueError, r'\[\]'):
get_generalized_charstr(test_charstr)
def test_hvcurveto_none(self):
test_charstr = 'hvcurveto'
with self.assertRaisesRegex(ValueError, r'\[\]'):
get_generalized_charstr(test_charstr)
def test_vhcurveto_none(self):
test_charstr = 'vhcurveto'
with self.assertRaisesRegex(ValueError, r'\[\]'):
get_generalized_charstr(test_charstr)
def test_rcurveline_none(self):
test_charstr = 'rcurveline'
with self.assertRaisesRegex(ValueError, r'\[\]'):
get_generalized_charstr(test_charstr)
def test_rlinecurve_none(self):
test_charstr = 'rlinecurve'
with self.assertRaisesRegex(ValueError, r'\[\]'):
get_generalized_charstr(test_charstr)
# rmoveto
def test_rmoveto_zero(self):
test_charstr = '0 0 rmoveto'
xpct_charstr = test_charstr
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_rmoveto_zero_width(self):
test_charstr = '100 0 0 rmoveto'
xpct_charstr = test_charstr
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_rmoveto(self):
test_charstr = '.55 -.8 rmoveto'
xpct_charstr = '0.55 -0.8 rmoveto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_rmoveto_width(self):
test_charstr = '100.5 50 -5.8 rmoveto'
xpct_charstr = test_charstr
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
# hmoveto
def test_hmoveto_zero(self):
test_charstr = '0 hmoveto'
xpct_charstr = '0 0 rmoveto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_hmoveto_zero_width(self):
test_charstr = '100 0 hmoveto'
xpct_charstr = '100 0 0 rmoveto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_hmoveto(self):
test_charstr = '.67 hmoveto'
xpct_charstr = '0.67 0 rmoveto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_hmoveto_width(self):
test_charstr = '100 -70 hmoveto'
xpct_charstr = '100 -70 0 rmoveto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
# vmoveto
def test_vmoveto_zero(self):
test_charstr = '0 vmoveto'
xpct_charstr = '0 0 rmoveto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_vmoveto_zero_width(self):
test_charstr = '100 0 vmoveto'
xpct_charstr = '100 0 0 rmoveto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_vmoveto(self):
test_charstr = '-.24 vmoveto'
xpct_charstr = '0 -0.24 rmoveto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_vmoveto_width(self):
test_charstr = '100 44 vmoveto'
xpct_charstr = '100 0 44 rmoveto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
# rlineto
def test_rlineto_zero(self):
test_charstr = '0 0 rlineto'
xpct_charstr = test_charstr
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_rlineto_zero_mult(self):
test_charstr = '0 0 0 0 0 0 rlineto'
xpct_charstr = ('0 0 rlineto '*3).rstrip()
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_rlineto(self):
test_charstr = '.55 -.8 rlineto'
xpct_charstr = '0.55 -0.8 rlineto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_rlineto_mult(self):
test_charstr = '.55 -.8 .55 -.8 .55 -.8 rlineto'
xpct_charstr = ('0.55 -0.8 rlineto '*3).rstrip()
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
# hlineto
def test_hlineto_zero(self):
test_charstr = '0 hlineto'
xpct_charstr = '0 0 rlineto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_hlineto_zero_mult(self):
test_charstr = '0 0 0 0 hlineto'
xpct_charstr = ('0 0 rlineto '*4).rstrip()
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_hlineto(self):
test_charstr = '.67 hlineto'
xpct_charstr = '0.67 0 rlineto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_hlineto_mult(self):
test_charstr = '.67 -6.0 .67 hlineto'
xpct_charstr = '0.67 0 rlineto 0 -6.0 rlineto 0.67 0 rlineto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
# vlineto
def test_vlineto_zero(self):
test_charstr = '0 vlineto'
xpct_charstr = '0 0 rlineto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_vlineto_zero_mult(self):
test_charstr = '0 0 0 vlineto'
xpct_charstr = ('0 0 rlineto '*3).rstrip()
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_vlineto(self):
test_charstr = '-.24 vlineto'
xpct_charstr = '0 -0.24 rlineto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_vlineto_mult(self):
test_charstr = '-.24 +50 30 -4 vlineto'
xpct_charstr = '0 -0.24 rlineto 50 0 rlineto 0 30 rlineto -4 0 rlineto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
# rrcurveto
def test_rrcurveto(self):
test_charstr = '-1 56 -2 57 -1 57 rrcurveto'
xpct_charstr = test_charstr
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_rrcurveto_mult(self):
test_charstr = '-30 8 -36 15 -37 22 44 54 31 61 22 68 rrcurveto'
xpct_charstr = '-30 8 -36 15 -37 22 rrcurveto 44 54 31 61 22 68 rrcurveto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_rrcurveto_d3947b8(self):
test_charstr = '1 2 3 4 5 0 rrcurveto'
xpct_charstr = test_charstr
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_rrcurveto_v0_0h_h0(self):
test_charstr = '0 10 1 2 0 0 0 0 1 2 0 1 0 1 3 4 0 0 rrcurveto'
xpct_charstr = '0 10 1 2 0 0 rrcurveto 0 0 1 2 0 1 rrcurveto 0 1 3 4 0 0 rrcurveto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_rrcurveto_h0_0h_h0(self):
test_charstr = '10 0 1 2 0 0 0 0 1 2 0 1 0 1 3 4 0 0 rrcurveto'
xpct_charstr = '10 0 1 2 0 0 rrcurveto 0 0 1 2 0 1 rrcurveto 0 1 3 4 0 0 rrcurveto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_rrcurveto_00_0h_h0(self):
test_charstr = '0 0 1 2 0 0 0 0 1 2 0 1 0 1 3 4 0 0 rrcurveto'
xpct_charstr = '0 0 1 2 0 0 rrcurveto 0 0 1 2 0 1 rrcurveto 0 1 3 4 0 0 rrcurveto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_rrcurveto_r0_0h_h0(self):
test_charstr = '10 10 1 2 0 0 0 0 1 2 0 1 0 1 3 4 0 0 rrcurveto'
xpct_charstr = '10 10 1 2 0 0 rrcurveto 0 0 1 2 0 1 rrcurveto 0 1 3 4 0 0 rrcurveto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_rrcurveto_v0_0v_v0(self):
test_charstr = '0 10 1 2 0 0 0 0 1 2 1 0 1 0 3 4 0 0 rrcurveto'
xpct_charstr = '0 10 1 2 0 0 rrcurveto 0 0 1 2 1 0 rrcurveto 1 0 3 4 0 0 rrcurveto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_rrcurveto_h0_0v_v0(self):
test_charstr = '10 0 1 2 0 0 0 0 1 2 1 0 1 0 3 4 0 0 rrcurveto'
xpct_charstr = '10 0 1 2 0 0 rrcurveto 0 0 1 2 1 0 rrcurveto 1 0 3 4 0 0 rrcurveto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_rrcurveto_00_0v_v0(self):
test_charstr = '0 0 1 2 0 0 0 0 1 2 1 0 1 0 3 4 0 0 rrcurveto'
xpct_charstr = '0 0 1 2 0 0 rrcurveto 0 0 1 2 1 0 rrcurveto 1 0 3 4 0 0 rrcurveto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_rrcurveto_r0_0v_v0(self):
test_charstr = '10 10 1 2 0 0 0 0 1 2 1 0 1 0 3 4 0 0 rrcurveto'
xpct_charstr = '10 10 1 2 0 0 rrcurveto 0 0 1 2 1 0 rrcurveto 1 0 3 4 0 0 rrcurveto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
# hhcurveto
def test_hhcurveto_4(self):
test_charstr = '10 30 0 10 hhcurveto'
xpct_charstr = '10 0 30 0 10 0 rrcurveto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_hhcurveto_5(self):
test_charstr = '40 -38 -60 41 -91 hhcurveto'
xpct_charstr = '-38 40 -60 41 -91 0 rrcurveto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_hhcurveto_mult_4_4(self):
test_charstr = '43 23 25 18 29 56 42 -84 hhcurveto'
xpct_charstr = '43 0 23 25 18 0 rrcurveto 29 0 56 42 -84 0 rrcurveto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_hhcurveto_mult_5_4(self):
test_charstr = '43 23 25 18 29 56 42 -84 79 hhcurveto'
xpct_charstr = '23 43 25 18 29 0 rrcurveto 56 0 42 -84 79 0 rrcurveto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_hhcurveto_mult_4_4_4(self):
test_charstr = '1 2 3 4 5 6 7 8 9 10 11 12 hhcurveto'
xpct_charstr = '1 0 2 3 4 0 rrcurveto 5 0 6 7 8 0 rrcurveto 9 0 10 11 12 0 rrcurveto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_hhcurveto_mult_5_4_4(self):
test_charstr = '1 2 3 4 5 6 7 8 9 10 11 12 13 hhcurveto'
xpct_charstr = '2 1 3 4 5 0 rrcurveto 6 0 7 8 9 0 rrcurveto 10 0 11 12 13 0 rrcurveto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
# vvcurveto
def test_vvcurveto_4(self):
test_charstr = '61 6 52 68 vvcurveto'
xpct_charstr = '0 61 6 52 0 68 rrcurveto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_vvcurveto_5(self):
test_charstr = '61 38 35 56 72 vvcurveto'
xpct_charstr = '61 38 35 56 0 72 rrcurveto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_vvcurveto_mult_4_4(self):
test_charstr = '-84 -88 -30 -90 -13 19 23 -11 vvcurveto'
xpct_charstr = '0 -84 -88 -30 0 -90 rrcurveto 0 -13 19 23 0 -11 rrcurveto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_vvcurveto_mult_5_4(self):
test_charstr = '43 12 17 32 65 68 -6 52 61 vvcurveto'
xpct_charstr = '43 12 17 32 0 65 rrcurveto 0 68 -6 52 0 61 rrcurveto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_vvcurveto_mult_4_4_4(self):
test_charstr = '1 2 3 4 5 6 7 8 9 10 11 12 vvcurveto'
xpct_charstr = '0 1 2 3 0 4 rrcurveto 0 5 6 7 0 8 rrcurveto 0 9 10 11 0 12 rrcurveto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_vvcurveto_mult_5_4_4(self):
test_charstr = '1 2 3 4 5 6 7 8 9 10 11 12 13 vvcurveto'
xpct_charstr = '1 2 3 4 0 5 rrcurveto 0 6 7 8 0 9 rrcurveto 0 10 11 12 0 13 rrcurveto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
# hvcurveto
def test_hvcurveto_4(self):
test_charstr = '1 2 3 4 hvcurveto'
xpct_charstr = '1 0 2 3 0 4 rrcurveto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_hvcurveto_5(self):
test_charstr = '57 44 22 40 34 hvcurveto'
xpct_charstr = '57 0 44 22 34 40 rrcurveto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_hvcurveto_4_4(self):
test_charstr = '65 33 -19 -45 -45 -29 -25 -71 hvcurveto'
xpct_charstr = '65 0 33 -19 0 -45 rrcurveto 0 -45 -29 -25 -71 0 rrcurveto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_hvcurveto_4_5(self):
test_charstr = '97 69 41 86 58 -36 34 -64 11 hvcurveto'
xpct_charstr = '97 0 69 41 0 86 rrcurveto 0 58 -36 34 -64 11 rrcurveto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_hvcurveto_4_4_4(self):
test_charstr = '1 2 3 4 5 6 7 8 9 10 11 12 hvcurveto'
xpct_charstr = '1 0 2 3 0 4 rrcurveto 0 5 6 7 8 0 rrcurveto 9 0 10 11 0 12 rrcurveto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_hvcurveto_4_4_5(self):
test_charstr = '-124 -79 104 165 163 82 102 124 56 43 -25 -37 35 hvcurveto'
xpct_charstr = '-124 0 -79 104 0 165 rrcurveto 0 163 82 102 124 0 rrcurveto 56 0 43 -25 35 -37 rrcurveto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_hvcurveto_4_4_4_4(self):
test_charstr = '32 25 22 32 31 -25 22 -32 -32 -25 -22 -31 -32 25 -22 32 hvcurveto'
xpct_charstr = '32 0 25 22 0 32 rrcurveto 0 31 -25 22 -32 0 rrcurveto -32 0 -25 -22 0 -31 rrcurveto 0 -32 25 -22 32 0 rrcurveto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_hvcurveto_4_4_4_4_5(self):
test_charstr = '-170 -128 111 195 234 172 151 178 182 95 -118 -161 -130 -71 -77 -63 -55 -19 38 79 20 hvcurveto'
xpct_charstr = '-170 0 -128 111 0 195 rrcurveto 0 234 172 151 178 0 rrcurveto 182 0 95 -118 0 -161 rrcurveto 0 -130 -71 -77 -63 0 rrcurveto -55 0 -19 38 20 79 rrcurveto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
# vhcurveto
def test_vhcurveto_4(self):
test_charstr = '-57 43 -30 53 vhcurveto'
xpct_charstr = '0 -57 43 -30 53 0 rrcurveto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_vhcurveto_5(self):
test_charstr = '41 -27 19 -46 11 vhcurveto'
xpct_charstr = '0 41 -27 19 -46 11 rrcurveto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_vhcurveto_4_4(self):
test_charstr = '1 2 3 4 5 6 7 8 vhcurveto'
xpct_charstr = '0 1 2 3 4 0 rrcurveto 5 0 6 7 0 8 rrcurveto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_vhcurveto_4_5(self):
test_charstr = '-64 -23 -25 -45 -30 -24 14 33 -19 vhcurveto'
xpct_charstr = '0 -64 -23 -25 -45 0 rrcurveto -30 0 -24 14 -19 33 rrcurveto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_vhcurveto_4_4_4(self):
test_charstr = '1 2 3 4 5 6 7 8 9 10 11 12 vhcurveto'
xpct_charstr = '0 1 2 3 4 0 rrcurveto 5 0 6 7 0 8 rrcurveto 0 9 10 11 12 0 rrcurveto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_vhcurveto_4_4_5(self):
test_charstr = '108 59 81 98 99 59 -81 -108 -100 -46 -66 -63 -47 vhcurveto'
xpct_charstr = '0 108 59 81 98 0 rrcurveto 99 0 59 -81 0 -108 rrcurveto 0 -100 -46 -66 -63 -47 rrcurveto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_vhcurveto_4_4_4_5(self):
test_charstr = '60 -26 37 -43 -33 -28 -22 -36 -37 27 -20 32 3 4 0 1 3 vhcurveto'
xpct_charstr = '0 60 -26 37 -43 0 rrcurveto -33 0 -28 -22 0 -36 rrcurveto 0 -37 27 -20 32 0 rrcurveto 3 0 4 0 3 1 rrcurveto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
# rcurveline
def test_rcurveline_6_2(self):
test_charstr = '21 -76 21 -72 24 -73 31 -100 rcurveline'
xpct_charstr = '21 -76 21 -72 24 -73 rrcurveto 31 -100 rlineto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_rcurveline_6_6_2(self):
test_charstr = '-73 80 -80 121 -49 96 60 65 55 41 54 17 -8 78 rcurveline'
xpct_charstr = '-73 80 -80 121 -49 96 rrcurveto 60 65 55 41 54 17 rrcurveto -8 78 rlineto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_rcurveline_6_6_6_2(self):
test_charstr = '1 64 10 51 29 39 15 21 15 20 15 18 47 -89 63 -98 52 -59 91 8 rcurveline'
xpct_charstr = '1 64 10 51 29 39 rrcurveto 15 21 15 20 15 18 rrcurveto 47 -89 63 -98 52 -59 rrcurveto 91 8 rlineto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_rcurveline_6_6_6_6_2(self):
test_charstr = '1 64 10 51 29 39 15 21 15 20 15 18 46 -88 63 -97 52 -59 -38 -57 -49 -62 -52 -54 96 -8 rcurveline'
xpct_charstr = '1 64 10 51 29 39 rrcurveto 15 21 15 20 15 18 rrcurveto 46 -88 63 -97 52 -59 rrcurveto -38 -57 -49 -62 -52 -54 rrcurveto 96 -8 rlineto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
# rlinecurve
def test_rlinecurve_2_6(self):
test_charstr = '21 -76 21 -72 24 -73 31 -100 rlinecurve'
xpct_charstr = '21 -76 rlineto 21 -72 24 -73 31 -100 rrcurveto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_rlinecurve_2_2_6(self):
test_charstr = '-73 80 -80 121 -49 96 60 65 55 41 rlinecurve'
xpct_charstr = '-73 80 rlineto -80 121 rlineto -49 96 60 65 55 41 rrcurveto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_rlinecurve_2_2_2_6(self):
test_charstr = '1 64 10 51 29 39 15 21 15 20 15 18 rlinecurve'
xpct_charstr = '1 64 rlineto 10 51 rlineto 29 39 rlineto 15 21 15 20 15 18 rrcurveto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
def test_rlinecurve_2_2_2_2_6(self):
test_charstr = '1 64 10 51 29 39 15 21 15 20 15 18 46 -88 rlinecurve'
xpct_charstr = '1 64 rlineto 10 51 rlineto 29 39 rlineto 15 21 rlineto 15 20 15 18 46 -88 rrcurveto'
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
# hstem/vstem
def test_hstem_vstem(self):
test_charstr = '95 0 58 542 60 hstem 89 65 344 67 vstem 89 45 rmoveto'
xpct_charstr = test_charstr
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
# hstemhm/vstemhm
def test_hstemhm_vstemhm(self):
test_charstr = '-16 577 60 24 60 hstemhm 98 55 236 55 vstemhm 343 577 rmoveto'
xpct_charstr = test_charstr
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
# hintmask/cntrmask
def test_hintmask_cntrmask(self):
test_charstr = '52 80 153 61 4 83 -71.5 71.5 hintmask 11011100 94 119 216 119 216 119 cntrmask 1110000 154 -12 rmoveto'
xpct_charstr = test_charstr
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
# endchar
def test_endchar(self):
test_charstr = '-255 319 rmoveto 266 57 rlineto endchar'
xpct_charstr = test_charstr
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
# xtra
def test_xtra(self):
test_charstr = '-255 319 rmoveto 266 57 rlineto xtra 90 34'
xpct_charstr = test_charstr
self.assertEqual(get_generalized_charstr(test_charstr), xpct_charstr)
class CFFSpecializeProgramTest(unittest.TestCase):
def __init__(self, methodName):
unittest.TestCase.__init__(self, methodName)
# Python 3 renamed assertRaisesRegexp to assertRaisesRegex,
# and fires deprecation warnings if a program uses the old name.
if not hasattr(self, "assertRaisesRegex"):
self.assertRaisesRegex = self.assertRaisesRegexp
# no arguments/operands
def test_rmoveto_none(self):
test_charstr = 'rmoveto'
with self.assertRaisesRegex(ValueError, r'\[\]'):
get_specialized_charstr(test_charstr)
def test_hmoveto_none(self):
test_charstr = 'hmoveto'
with self.assertRaisesRegex(ValueError, r'\[\]'):
get_specialized_charstr(test_charstr)
def test_vmoveto_none(self):
test_charstr = 'vmoveto'
with self.assertRaisesRegex(ValueError, r'\[\]'):
get_specialized_charstr(test_charstr)
def test_rlineto_none(self):
test_charstr = 'rlineto'
with self.assertRaisesRegex(ValueError, r'\[\]'):
get_specialized_charstr(test_charstr)
def test_hlineto_none(self):
test_charstr = 'hlineto'
with self.assertRaisesRegex(ValueError, r'\[\]'):
get_specialized_charstr(test_charstr)
def test_vlineto_none(self):
test_charstr = 'vlineto'
with self.assertRaisesRegex(ValueError, r'\[\]'):
get_specialized_charstr(test_charstr)
def test_rrcurveto_none(self):
test_charstr = 'rrcurveto'
with self.assertRaisesRegex(ValueError, r'\[\]'):
get_specialized_charstr(test_charstr)
def test_hhcurveto_none(self):
test_charstr = 'hhcurveto'
with self.assertRaisesRegex(ValueError, r'\[\]'):
get_specialized_charstr(test_charstr)
def test_vvcurveto_none(self):
test_charstr = 'vvcurveto'
with self.assertRaisesRegex(ValueError, r'\[\]'):
get_specialized_charstr(test_charstr)
def test_hvcurveto_none(self):
test_charstr = 'hvcurveto'
with self.assertRaisesRegex(ValueError, r'\[\]'):
get_specialized_charstr(test_charstr)
def test_vhcurveto_none(self):
test_charstr = 'vhcurveto'
with self.assertRaisesRegex(ValueError, r'\[\]'):
get_specialized_charstr(test_charstr)
def test_rcurveline_none(self):
test_charstr = 'rcurveline'
with self.assertRaisesRegex(ValueError, r'\[\]'):
get_specialized_charstr(test_charstr)
def test_rlinecurve_none(self):
test_charstr = 'rlinecurve'
with self.assertRaisesRegex(ValueError, r'\[\]'):
get_specialized_charstr(test_charstr)
# rmoveto
def test_rmoveto_zero(self):
test_charstr = '0 0 rmoveto'
xpct_charstr = '0 hmoveto'
self.assertEqual(get_specialized_charstr(test_charstr,
generalizeFirst=False), xpct_charstr)
def test_rmoveto_zero_mult(self):
test_charstr = '0 0 rmoveto '*3
xpct_charstr = '0 hmoveto'
self.assertEqual(get_specialized_charstr(test_charstr,
generalizeFirst=False), xpct_charstr)
def test_rmoveto_zero_width(self):
test_charstr = '100 0 0 rmoveto'
xpct_charstr = '100 0 hmoveto'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_rmoveto(self):
test_charstr = '.55 -.8 rmoveto'
xpct_charstr = '0.55 -0.8 rmoveto'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_rmoveto_mult(self):
test_charstr = '55 -8 rmoveto '*3
xpct_charstr = '165 -24 rmoveto'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_rmoveto_width(self):
test_charstr = '100.5 50 -5.8 rmoveto'
xpct_charstr = test_charstr
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
# rlineto
def test_rlineto_zero(self):
test_charstr = '0 0 rlineto'
xpct_charstr = ''
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_rlineto_zero_mult(self):
test_charstr = '0 0 rlineto '*3
xpct_charstr = ''
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_rlineto(self):
test_charstr = '.55 -.8 rlineto'
xpct_charstr = '0.55 -0.8 rlineto'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_rlineto_mult(self):
test_charstr = '.55 -.8 rlineto '*3
xpct_charstr = '0.55 -0.8 0.55 -0.8 0.55 -0.8 rlineto'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_hlineto(self):
test_charstr = '.67 0 rlineto'
xpct_charstr = '0.67 hlineto'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_hlineto_zero_mult(self):
test_charstr = '62 0 rlineto '*3
xpct_charstr = '186 hlineto'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_hlineto_mult(self):
test_charstr = '.67 0 rlineto 0 -6.0 rlineto .67 0 rlineto'
xpct_charstr = '0.67 -6.0 0.67 hlineto'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_vlineto(self):
test_charstr = '0 -.24 rlineto'
xpct_charstr = '-0.24 vlineto'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_vlineto_zero_mult(self):
test_charstr = '0 -24 rlineto '*3
xpct_charstr = '-72 vlineto'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_vlineto_mult(self):
test_charstr = '0 -.24 rlineto +50 0 rlineto 0 30 rlineto -4 0 rlineto'
xpct_charstr = '-0.24 50 30 -4 vlineto'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_0lineto_peephole(self):
test_charstr = '1 2 0 0 3 4 rlineto'
xpct_charstr = '1 2 3 4 rlineto'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_hlineto_peephole(self):
test_charstr = '1 2 5 0 3 4 rlineto'
xpct_charstr = test_charstr
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_vlineto_peephole(self):
test_charstr = '1 2 0 5 3 4 rlineto'
xpct_charstr = test_charstr
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
# rrcurveto
def test_rrcurveto(self):
test_charstr = '-1 56 -2 57 -1 57 rrcurveto'
xpct_charstr = test_charstr
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_rrcurveto_mult(self):
test_charstr = '-30 8 -36 15 -37 22 rrcurveto 44 54 31 61 22 68 rrcurveto'
xpct_charstr = '-30 8 -36 15 -37 22 44 54 31 61 22 68 rrcurveto'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_rrcurveto_d3947b8(self):
test_charstr = '1 2 3 4 5 0 rrcurveto'
xpct_charstr = '2 1 3 4 5 hhcurveto'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_hhcurveto_4(self):
test_charstr = '10 0 30 0 10 0 rrcurveto'
xpct_charstr = '10 30 0 10 hhcurveto'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_hhcurveto_5(self):
test_charstr = '-38 40 -60 41 -91 0 rrcurveto'
xpct_charstr = '40 -38 -60 41 -91 hhcurveto'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_hhcurveto_mult_4_4(self):
test_charstr = '43 0 23 25 18 0 rrcurveto 29 0 56 42 -84 0 rrcurveto'
xpct_charstr = '43 23 25 18 29 56 42 -84 hhcurveto'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_hhcurveto_mult_5_4(self):
test_charstr = '23 43 25 18 29 0 rrcurveto 56 0 42 -84 79 0 rrcurveto'
xpct_charstr = '43 23 25 18 29 56 42 -84 79 hhcurveto'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_hhcurveto_mult_4_4_4(self):
test_charstr = '1 0 2 3 4 0 rrcurveto 5 0 6 7 8 0 rrcurveto 9 0 10 11 12 0 rrcurveto'
xpct_charstr = '1 2 3 4 5 6 7 8 9 10 11 12 hhcurveto'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_hhcurveto_mult_5_4_4(self):
test_charstr = '2 1 3 4 5 0 rrcurveto 6 0 7 8 9 0 rrcurveto 10 0 11 12 13 0 rrcurveto'
xpct_charstr = '1 2 3 4 5 6 7 8 9 10 11 12 13 hhcurveto'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_vvcurveto_4(self):
test_charstr = '0 61 6 52 0 68 rrcurveto'
xpct_charstr = '61 6 52 68 vvcurveto'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_vvcurveto_5(self):
test_charstr = '61 38 35 56 0 72 rrcurveto'
xpct_charstr = '61 38 35 56 72 vvcurveto'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_vvcurveto_mult_4_4(self):
test_charstr = '0 -84 -88 -30 0 -90 rrcurveto 0 -13 19 23 0 -11 rrcurveto'
xpct_charstr = '-84 -88 -30 -90 -13 19 23 -11 vvcurveto'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_vvcurveto_mult_5_4(self):
test_charstr = '43 12 17 32 0 65 rrcurveto 0 68 -6 52 0 61 rrcurveto'
xpct_charstr = '43 12 17 32 65 68 -6 52 61 vvcurveto'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_vvcurveto_mult_4_4_4(self):
test_charstr = '0 1 2 3 0 4 rrcurveto 0 5 6 7 0 8 rrcurveto 0 9 10 11 0 12 rrcurveto'
xpct_charstr = '1 2 3 4 5 6 7 8 9 10 11 12 vvcurveto'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_vvcurveto_mult_5_4_4(self):
test_charstr = '1 2 3 4 0 5 rrcurveto 0 6 7 8 0 9 rrcurveto 0 10 11 12 0 13 rrcurveto'
xpct_charstr = '1 2 3 4 5 6 7 8 9 10 11 12 13 vvcurveto'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_hvcurveto_4(self):
test_charstr = '1 0 2 3 0 4 rrcurveto'
xpct_charstr = '1 2 3 4 hvcurveto'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_hvcurveto_5(self):
test_charstr = '57 0 44 22 34 40 rrcurveto'
xpct_charstr = '57 44 22 40 34 hvcurveto'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_hvcurveto_4_4(self):
test_charstr = '65 0 33 -19 0 -45 rrcurveto 0 -45 -29 -25 -71 0 rrcurveto'
xpct_charstr = '65 33 -19 -45 -45 -29 -25 -71 hvcurveto'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_hvcurveto_4_5(self):
test_charstr = '97 0 69 41 0 86 rrcurveto 0 58 -36 34 -64 11 rrcurveto'
xpct_charstr = '97 69 41 86 58 -36 34 -64 11 hvcurveto'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_hvcurveto_4_4_4(self):
test_charstr = '1 0 2 3 0 4 rrcurveto 0 5 6 7 8 0 rrcurveto 9 0 10 11 0 12 rrcurveto'
xpct_charstr = '1 2 3 4 5 6 7 8 9 10 11 12 hvcurveto'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_hvcurveto_4_4_5(self):
test_charstr = '-124 0 -79 104 0 165 rrcurveto 0 163 82 102 124 0 rrcurveto 56 0 43 -25 35 -37 rrcurveto'
xpct_charstr = '-124 -79 104 165 163 82 102 124 56 43 -25 -37 35 hvcurveto'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_hvcurveto_4_4_4_4(self):
test_charstr = '32 0 25 22 0 32 rrcurveto 0 31 -25 22 -32 0 rrcurveto -32 0 -25 -22 0 -31 rrcurveto 0 -32 25 -22 32 0 rrcurveto'
xpct_charstr = '32 25 22 32 31 -25 22 -32 -32 -25 -22 -31 -32 25 -22 32 hvcurveto'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_hvcurveto_4_4_4_4_5(self):
test_charstr = '-170 0 -128 111 0 195 rrcurveto 0 234 172 151 178 0 rrcurveto 182 0 95 -118 0 -161 rrcurveto 0 -130 -71 -77 -63 0 rrcurveto -55 0 -19 38 20 79 rrcurveto'
xpct_charstr = '-170 -128 111 195 234 172 151 178 182 95 -118 -161 -130 -71 -77 -63 -55 -19 38 79 20 hvcurveto'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_vhcurveto_4(self):
test_charstr = '0 -57 43 -30 53 0 rrcurveto'
xpct_charstr = '-57 43 -30 53 vhcurveto'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_vhcurveto_5(self):
test_charstr = '0 41 -27 19 -46 11 rrcurveto'
xpct_charstr = '41 -27 19 -46 11 vhcurveto'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_vhcurveto_4_4(self):
test_charstr = '0 1 2 3 4 0 rrcurveto 5 0 6 7 0 8 rrcurveto'
xpct_charstr = '1 2 3 4 5 6 7 8 vhcurveto'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_vhcurveto_4_5(self):
test_charstr = '0 -64 -23 -25 -45 0 rrcurveto -30 0 -24 14 -19 33 rrcurveto'
xpct_charstr = '-64 -23 -25 -45 -30 -24 14 33 -19 vhcurveto'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_vhcurveto_4_4_4(self):
test_charstr = '0 1 2 3 4 0 rrcurveto 5 0 6 7 0 8 rrcurveto 0 9 10 11 12 0 rrcurveto'
xpct_charstr = '1 2 3 4 5 6 7 8 9 10 11 12 vhcurveto'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_vhcurveto_4_4_5(self):
test_charstr = '0 108 59 81 98 0 rrcurveto 99 0 59 -81 0 -108 rrcurveto 0 -100 -46 -66 -63 -47 rrcurveto'
xpct_charstr = '108 59 81 98 99 59 -81 -108 -100 -46 -66 -63 -47 vhcurveto'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_vhcurveto_4_4_4_5(self):
test_charstr = '0 60 -26 37 -43 0 rrcurveto -33 0 -28 -22 0 -36 rrcurveto 0 -37 27 -20 32 0 rrcurveto 3 0 4 0 3 1 rrcurveto'
xpct_charstr = '60 -26 37 -43 -33 -28 -22 -36 -37 27 -20 32 3 4 0 1 3 vhcurveto'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_rrcurveto_v0_0h_h0(self):
test_charstr = '0 10 1 2 0 0 0 0 1 2 0 1 0 1 3 4 0 0 rrcurveto'
xpct_charstr = '10 1 2 0 0 1 2 1 1 3 4 0 vhcurveto'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_rrcurveto_h0_0h_h0(self):
test_charstr = '10 0 1 2 0 0 0 0 1 2 0 1 0 1 3 4 0 0 rrcurveto'
xpct_charstr = '10 1 2 0 hhcurveto 0 1 2 1 1 3 4 0 hvcurveto'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_rrcurveto_00_0h_h0(self):
test_charstr = '0 0 1 2 0 0 0 0 1 2 0 1 0 1 3 4 0 0 rrcurveto'
xpct_charstr = '1 2 rlineto 0 1 2 1 1 3 4 0 hvcurveto'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_rrcurveto_r0_0h_h0(self):
test_charstr = '10 10 1 2 0 0 0 0 1 2 0 1 0 1 3 4 0 0 rrcurveto'
xpct_charstr = '10 10 1 2 0 0 1 2 1 1 3 4 0 vvcurveto'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_rrcurveto_v0_0v_v0(self):
test_charstr = '0 10 1 2 0 0 0 0 1 2 1 0 1 0 3 4 0 0 rrcurveto'
xpct_charstr = '10 1 2 0 vhcurveto 0 1 2 1 1 3 4 0 hhcurveto'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_rrcurveto_h0_0v_v0(self):
test_charstr = '10 0 1 2 0 0 0 0 1 2 1 0 1 0 3 4 0 0 rrcurveto'
xpct_charstr = '10 1 2 0 0 1 2 1 1 3 4 0 hhcurveto'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_rrcurveto_00_0v_v0(self):
test_charstr = '0 0 1 2 0 0 0 0 1 2 1 0 1 0 3 4 0 0 rrcurveto'
xpct_charstr = '1 2 rlineto 0 1 2 1 1 3 4 0 hhcurveto'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_rrcurveto_r0_0v_v0(self):
test_charstr = '10 10 1 2 0 0 0 0 1 2 1 0 1 0 3 4 0 0 rrcurveto'
xpct_charstr = '10 10 1 2 0 0 1 2 1 1 3 4 0 hhcurveto'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_hhcurveto_peephole(self):
test_charstr = '1 2 3 4 5 6 1 2 3 4 5 0 1 2 3 4 5 6 rrcurveto'
xpct_charstr = test_charstr
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_vvcurveto_peephole(self):
test_charstr = '1 2 3 4 5 6 1 2 3 4 0 6 1 2 3 4 5 6 rrcurveto'
xpct_charstr = test_charstr
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_hvcurveto_peephole(self):
test_charstr = '1 2 3 4 5 6 1 0 3 4 5 6 1 2 3 4 5 6 rrcurveto'
xpct_charstr = test_charstr
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_vhcurveto_peephole(self):
test_charstr = '1 2 3 4 5 6 0 2 3 4 5 6 1 2 3 4 5 6 rrcurveto'
xpct_charstr = test_charstr
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_rcurveline_6_2(self):
test_charstr = '21 -76 21 -72 24 -73 rrcurveto 31 -100 rlineto'
xpct_charstr = '21 -76 21 -72 24 -73 31 -100 rcurveline'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_rcurveline_6_6_2(self):
test_charstr = '-73 80 -80 121 -49 96 rrcurveto 60 65 55 41 54 17 rrcurveto -8 78 rlineto'
xpct_charstr = '-73 80 -80 121 -49 96 60 65 55 41 54 17 -8 78 rcurveline'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_rcurveline_6_6_6_2(self):
test_charstr = '1 64 10 51 29 39 rrcurveto 15 21 15 20 15 18 rrcurveto 47 -89 63 -98 52 -59 rrcurveto 91 8 rlineto'
xpct_charstr = '1 64 10 51 29 39 15 21 15 20 15 18 47 -89 63 -98 52 -59 91 8 rcurveline'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_rlinecurve_2_6(self):
test_charstr = '21 -76 rlineto 21 -72 24 -73 31 -100 rrcurveto'
xpct_charstr = '21 -76 21 -72 24 -73 31 -100 rlinecurve'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_rlinecurve_2_2_6(self):
test_charstr = '-73 80 rlineto -80 121 rlineto -49 96 60 65 55 41 rrcurveto'
xpct_charstr = '-73 80 -80 121 -49 96 60 65 55 41 rlinecurve'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
def test_rlinecurve_2_2_2_6(self):
test_charstr = '1 64 rlineto 10 51 rlineto 29 39 rlineto 15 21 15 20 15 18 rrcurveto'
xpct_charstr = '1 64 10 51 29 39 15 21 15 20 15 18 rlinecurve'
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
# maxstack CFF=48, specializer uses up to 47
def test_maxstack(self):
operands = '1 2 3 4 5 6 '
operator = 'rrcurveto '
test_charstr = (operands + operator)*9
xpct_charstr = (operands*2 + operator + operands*7 + operator).rstrip()
self.assertEqual(get_specialized_charstr(test_charstr), xpct_charstr)
if __name__ == "__main__":
import sys
sys.exit(unittest.main())
| 45.36235
| 177
| 0.683698
| 6,484
| 41,688
| 4.164867
| 0.042104
| 0.145418
| 0.12531
| 0.114868
| 0.938308
| 0.925162
| 0.913942
| 0.893983
| 0.878874
| 0.873246
| 0
| 0.134532
| 0.236855
| 41,688
| 918
| 178
| 45.411765
| 0.714308
| 0.022405
| 0
| 0.627675
| 0
| 0.071327
| 0.269912
| 0
| 0
| 0
| 0
| 0.001089
| 0.24679
| 1
| 0.24679
| false
| 0
| 0.005706
| 0.002853
| 0.258203
| 0.001427
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
e6cc4ef3894b1647fecd3cd7e2ecfc8f66a68652
| 66
|
py
|
Python
|
termitup_internal/modules_api/__init__.py
|
pmchozas/llod4lion
|
52bb00634f770cb5fd46cfb2cc4d009c317bcef9
|
[
"Apache-2.0"
] | 7
|
2020-04-08T15:37:51.000Z
|
2021-07-03T15:04:42.000Z
|
modules_api/__init__.py
|
Pret-a-LLOD/termitup
|
aab77b7edf952ca05e38ab3dbda5acb30dac0078
|
[
"Apache-2.0"
] | 10
|
2020-06-19T13:55:24.000Z
|
2021-07-04T16:10:56.000Z
|
termitup_internal/modules_api/__init__.py
|
pmchozas/llod4lion
|
52bb00634f770cb5fd46cfb2cc4d009c317bcef9
|
[
"Apache-2.0"
] | 1
|
2020-05-16T11:11:18.000Z
|
2020-05-16T11:11:18.000Z
|
from modules_api import wsidCode
from modules_api import iateCode
| 22
| 32
| 0.878788
| 10
| 66
| 5.6
| 0.6
| 0.392857
| 0.5
| 0.714286
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.121212
| 66
| 2
| 33
| 33
| 0.965517
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 7
|
e6e457e908bf38a40e6ed2270e7dab0dac78b398
| 11,642
|
py
|
Python
|
grpc/melsec_pb2_grpc.py
|
tyaro/GXSimCom
|
a35750ecbd37e3ca9625f130c5340cb74457efb1
|
[
"MIT"
] | 1
|
2021-10-01T13:46:17.000Z
|
2021-10-01T13:46:17.000Z
|
grpc/melsec_pb2_grpc.py
|
tyaro/GXSimCom
|
a35750ecbd37e3ca9625f130c5340cb74457efb1
|
[
"MIT"
] | null | null | null |
grpc/melsec_pb2_grpc.py
|
tyaro/GXSimCom
|
a35750ecbd37e3ca9625f130c5340cb74457efb1
|
[
"MIT"
] | 1
|
2021-03-29T14:50:23.000Z
|
2021-03-29T14:50:23.000Z
|
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
import melsec_pb2 as melsec__pb2
class MelsecComServiceStub(object):
"""Missing associated documentation comment in .proto file."""
def __init__(self, channel):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self.HelloMsg = channel.stream_stream(
'/melseccom.MelsecComService/HelloMsg',
request_serializer=melsec__pb2.HelloMessage.SerializeToString,
response_deserializer=melsec__pb2.ReplyHello.FromString,
)
self.BlockReadFloat = channel.stream_stream(
'/melseccom.MelsecComService/BlockReadFloat',
request_serializer=melsec__pb2.ReadMsg.SerializeToString,
response_deserializer=melsec__pb2.ReplyRead.FromString,
)
self.BlockReadWord = channel.stream_stream(
'/melseccom.MelsecComService/BlockReadWord',
request_serializer=melsec__pb2.ReadMsg.SerializeToString,
response_deserializer=melsec__pb2.ReplyRead.FromString,
)
self.BlockReadBit = channel.stream_stream(
'/melseccom.MelsecComService/BlockReadBit',
request_serializer=melsec__pb2.ReadMsg.SerializeToString,
response_deserializer=melsec__pb2.ReplyRead.FromString,
)
self.BlockWriteFloat = channel.stream_stream(
'/melseccom.MelsecComService/BlockWriteFloat',
request_serializer=melsec__pb2.WriteMsg.SerializeToString,
response_deserializer=melsec__pb2.ReplyWrite.FromString,
)
self.BlockWriteWord = channel.stream_stream(
'/melseccom.MelsecComService/BlockWriteWord',
request_serializer=melsec__pb2.WriteMsg.SerializeToString,
response_deserializer=melsec__pb2.ReplyWrite.FromString,
)
self.BlockWriteBit = channel.stream_stream(
'/melseccom.MelsecComService/BlockWriteBit',
request_serializer=melsec__pb2.WriteMsg.SerializeToString,
response_deserializer=melsec__pb2.ReplyWrite.FromString,
)
class MelsecComServiceServicer(object):
"""Missing associated documentation comment in .proto file."""
def HelloMsg(self, request_iterator, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def BlockReadFloat(self, request_iterator, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def BlockReadWord(self, request_iterator, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def BlockReadBit(self, request_iterator, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def BlockWriteFloat(self, request_iterator, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def BlockWriteWord(self, request_iterator, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def BlockWriteBit(self, request_iterator, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def add_MelsecComServiceServicer_to_server(servicer, server):
rpc_method_handlers = {
'HelloMsg': grpc.stream_stream_rpc_method_handler(
servicer.HelloMsg,
request_deserializer=melsec__pb2.HelloMessage.FromString,
response_serializer=melsec__pb2.ReplyHello.SerializeToString,
),
'BlockReadFloat': grpc.stream_stream_rpc_method_handler(
servicer.BlockReadFloat,
request_deserializer=melsec__pb2.ReadMsg.FromString,
response_serializer=melsec__pb2.ReplyRead.SerializeToString,
),
'BlockReadWord': grpc.stream_stream_rpc_method_handler(
servicer.BlockReadWord,
request_deserializer=melsec__pb2.ReadMsg.FromString,
response_serializer=melsec__pb2.ReplyRead.SerializeToString,
),
'BlockReadBit': grpc.stream_stream_rpc_method_handler(
servicer.BlockReadBit,
request_deserializer=melsec__pb2.ReadMsg.FromString,
response_serializer=melsec__pb2.ReplyRead.SerializeToString,
),
'BlockWriteFloat': grpc.stream_stream_rpc_method_handler(
servicer.BlockWriteFloat,
request_deserializer=melsec__pb2.WriteMsg.FromString,
response_serializer=melsec__pb2.ReplyWrite.SerializeToString,
),
'BlockWriteWord': grpc.stream_stream_rpc_method_handler(
servicer.BlockWriteWord,
request_deserializer=melsec__pb2.WriteMsg.FromString,
response_serializer=melsec__pb2.ReplyWrite.SerializeToString,
),
'BlockWriteBit': grpc.stream_stream_rpc_method_handler(
servicer.BlockWriteBit,
request_deserializer=melsec__pb2.WriteMsg.FromString,
response_serializer=melsec__pb2.ReplyWrite.SerializeToString,
),
}
generic_handler = grpc.method_handlers_generic_handler(
'melseccom.MelsecComService', rpc_method_handlers)
server.add_generic_rpc_handlers((generic_handler,))
# This class is part of an EXPERIMENTAL API.
class MelsecComService(object):
"""Missing associated documentation comment in .proto file."""
@staticmethod
def HelloMsg(request_iterator,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.stream_stream(request_iterator, target, '/melseccom.MelsecComService/HelloMsg',
melsec__pb2.HelloMessage.SerializeToString,
melsec__pb2.ReplyHello.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def BlockReadFloat(request_iterator,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.stream_stream(request_iterator, target, '/melseccom.MelsecComService/BlockReadFloat',
melsec__pb2.ReadMsg.SerializeToString,
melsec__pb2.ReplyRead.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def BlockReadWord(request_iterator,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.stream_stream(request_iterator, target, '/melseccom.MelsecComService/BlockReadWord',
melsec__pb2.ReadMsg.SerializeToString,
melsec__pb2.ReplyRead.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def BlockReadBit(request_iterator,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.stream_stream(request_iterator, target, '/melseccom.MelsecComService/BlockReadBit',
melsec__pb2.ReadMsg.SerializeToString,
melsec__pb2.ReplyRead.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def BlockWriteFloat(request_iterator,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.stream_stream(request_iterator, target, '/melseccom.MelsecComService/BlockWriteFloat',
melsec__pb2.WriteMsg.SerializeToString,
melsec__pb2.ReplyWrite.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def BlockWriteWord(request_iterator,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.stream_stream(request_iterator, target, '/melseccom.MelsecComService/BlockWriteWord',
melsec__pb2.WriteMsg.SerializeToString,
melsec__pb2.ReplyWrite.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def BlockWriteBit(request_iterator,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.stream_stream(request_iterator, target, '/melseccom.MelsecComService/BlockWriteBit',
melsec__pb2.WriteMsg.SerializeToString,
melsec__pb2.ReplyWrite.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
| 43.932075
| 119
| 0.654956
| 994
| 11,642
| 7.402414
| 0.103622
| 0.053819
| 0.036151
| 0.050285
| 0.818973
| 0.765833
| 0.765833
| 0.727779
| 0.72044
| 0.704947
| 0
| 0.005178
| 0.270057
| 11,642
| 264
| 120
| 44.098485
| 0.860673
| 0.068717
| 0
| 0.666667
| 1
| 0
| 0.093631
| 0.055416
| 0
| 0
| 0
| 0
| 0
| 1
| 0.072072
| false
| 0
| 0.009009
| 0.031532
| 0.126126
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
fc1d06d4ad0cd2f11a3d434db6a78c85b8312620
| 975
|
py
|
Python
|
configs/models.py
|
ShengyuH/PredateOverlap
|
770c3063399f08b3836935212ab4c84d355b4704
|
[
"MIT"
] | 153
|
2020-11-30T09:47:11.000Z
|
2021-04-28T00:58:10.000Z
|
configs/models.py
|
ShengyuH/PredateOverlap
|
770c3063399f08b3836935212ab4c84d355b4704
|
[
"MIT"
] | 31
|
2021-05-10T12:39:19.000Z
|
2022-03-27T03:07:45.000Z
|
configs/models.py
|
ShengyuH/PredateOverlap
|
770c3063399f08b3836935212ab4c84d355b4704
|
[
"MIT"
] | 22
|
2020-11-30T13:50:55.000Z
|
2021-04-28T09:47:40.000Z
|
architectures = dict()
architectures['indoor'] = [
'simple',
'resnetb',
'resnetb_strided',
'resnetb',
'resnetb',
'resnetb_strided',
'resnetb',
'resnetb',
'resnetb_strided',
'resnetb',
'resnetb',
'nearest_upsample',
'unary',
'nearest_upsample',
'unary',
'nearest_upsample',
'last_unary'
]
architectures['kitti'] = [
'simple',
'resnetb',
'resnetb_strided',
'resnetb',
'resnetb',
'resnetb_strided',
'resnetb',
'resnetb',
'resnetb_strided',
'resnetb',
'resnetb',
'nearest_upsample',
'unary',
'nearest_upsample',
'unary',
'nearest_upsample',
'last_unary'
]
architectures['modelnet'] = [
'simple',
'resnetb',
'resnetb',
'resnetb_strided',
'resnetb',
'resnetb',
'resnetb_strided',
'resnetb',
'resnetb',
'nearest_upsample',
'unary',
'unary',
'nearest_upsample',
'unary',
'last_unary'
]
| 16.810345
| 29
| 0.56
| 76
| 975
| 6.934211
| 0.157895
| 0.451613
| 0.318786
| 0.425047
| 0.83112
| 0.83112
| 0.83112
| 0.83112
| 0.83112
| 0.83112
| 0
| 0
| 0.267692
| 975
| 58
| 30
| 16.810345
| 0.738095
| 0
| 0
| 0.875
| 0
| 0
| 0.502049
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 10
|
fc52987bbb88e7724beb1fb4e2f1ed3853bc3760
| 98,586
|
py
|
Python
|
src/selectml/sk/optimise/models.py
|
darcyabjones/selectml
|
fc63f9de0e0e4c496f34d2a77f169a2c59968786
|
[
"Apache-2.0"
] | 1
|
2021-12-07T04:28:39.000Z
|
2021-12-07T04:28:39.000Z
|
src/selectml/sk/optimise/models.py
|
darcyabjones/selectml
|
fc63f9de0e0e4c496f34d2a77f169a2c59968786
|
[
"Apache-2.0"
] | null | null | null |
src/selectml/sk/optimise/models.py
|
darcyabjones/selectml
|
fc63f9de0e0e4c496f34d2a77f169a2c59968786
|
[
"Apache-2.0"
] | null | null | null |
#!/usr/bin/env python3
from math import log2
from typing import (
Union,
List,
Dict,
Any,
Tuple,
Optional
)
from collections import namedtuple
from typing import TYPE_CHECKING
if TYPE_CHECKING:
import numpy.typing as npt
import optuna
import numpy as np
from .base import SKModel, TFBaseModel, BGLRBaseModel
BaseTypes = Union[None, bool, str, int, float]
TFTuple = namedtuple(
"TFTuple",
["target", "grouping", "marker", "model"]
)
class XGBModel(SKModel):
use_weights: bool = True
def sample_params(self, trial: "optuna.Trial") -> Dict[str, Any]:
params = self.sample_preprocessing_params(
trial,
target_options=["passthrough"],
marker_options=["maf"],
dist_options=["drop", "vanraden"],
nonlinear_options=["drop"],
feature_selection_options=["passthrough", "relief"],
grouping_options=["onehot"],
grouping_interaction_options=["drop"],
)
params.update({
"n_estimators": trial.suggest_int("n_estimators", 10, 1000),
"booster": trial.suggest_categorical(
"booster",
["gbtree", "gblinear", "dart"]
),
"gamma": trial.suggest_float("gamma", 0, 100),
"min_child_weight": trial.suggest_int("min_child_weight", 1, 20),
"subsample": trial.suggest_float("subsample", 0.1, 1),
"colsample_bytree": trial.suggest_float(
"colsample_bytree",
0.1,
1
),
"colsample_bylevel": trial.suggest_float(
"colsample_bylevel",
0.1,
1
),
"colsample_bynode": trial.suggest_float(
"colsample_bynode",
0.1,
1
),
"reg_alpha": trial.suggest_float(
"reg_alpha",
0,
50
),
"reg_lambda": trial.suggest_float(
"reg_lambda",
0,
50
),
"max_depth": trial.suggest_int(
"max_depth",
3,
10
),
"learning_rate": trial.suggest_float(
"learning_rate",
1e-4,
0.5,
log=True
),
})
return params
def model(self, params: Dict[str, Any]):
import xgboost as xgb
from sklearn.pipeline import Pipeline
_, preprocessor = self.sample_preprocessing_model(params)
return Pipeline([
("preprocessor", preprocessor),
("model", xgb.XGBRegressor(
objective="reg:squarederror",
n_estimators=params["n_estimators"],
booster=params["booster"],
gamma=params["gamma"],
min_child_weight=params["min_child_weight"],
subsample=params["subsample"],
colsample_bytree=params["colsample_bytree"],
colsample_bylevel=params["colsample_bylevel"],
colsample_bynode=params["colsample_bynode"],
reg_alpha=params["reg_alpha"],
reg_lambda=params["reg_lambda"],
random_state=self.seed,
max_depth=params["max_depth"],
learning_rate=params["learning_rate"],
n_jobs=-1,
verbosity=0,
))
])
def starting_points(self) -> List[Dict[str, BaseTypes]]:
return [
{
"train_means": False,
"weight": "none",
"target_options": "passthrough",
"marker_preprocessor": "maf",
"feature_selector": "passthrough",
"dist_preprocessor": "drop",
"nonlinear_preprocessor": "drop",
"grouping_preprocessor": "onehot",
"interactions": "drop",
"n_estimators": 500,
"booster": "gbtree",
"gamma": 10,
"min_child_weight": 1,
"subsample": 1,
"colsample_bytree": 1,
"colsample_bylevel": 1,
"colsample_bynode": 1,
"reg_alpha": 1,
"reg_lambda": 1,
"max_depth": 4,
"learning_rate": 1e-3,
},
{
"train_means": False,
"marker_preprocessor": "maf",
"target_options": "passthrough",
"feature_selector": "passthrough",
"dist_preprocessor": "drop",
"nonlinear_preprocessor": "drop",
"grouping_preprocessor": "onehot",
"interactions": "drop",
"n_estimators": 500,
"booster": "gbtree",
"gamma": 10,
"min_child_weight": 1,
"subsample": 1,
"colsample_bytree": 1,
"colsample_bylevel": 1,
"colsample_bynode": 1,
"reg_alpha": 1,
"reg_lambda": 1,
"max_depth": 9,
"learning_rate": 1e-3,
}
]
class KNNModel(SKModel):
use_weights: bool = False
def sample_params(self, trial: "optuna.Trial") -> Dict[str, Any]:
params = self.sample_preprocessing_params(
trial,
target_options=["passthrough"],
marker_options=["maf"],
dist_options=["vanraden"],
nonlinear_options=["drop", "rbf", "laplacian", "poly"],
feature_selection_options=["drop", "passthrough", "rf", "relief"],
grouping_options=["onehot"],
grouping_interaction_options=["drop", "poly"],
)
params.update({
"n_neighbors": trial.suggest_int("n_neighbors", 2, 100),
"weights": trial.suggest_categorical(
"weights",
["distance", "uniform"]
),
"leaf_size": trial.suggest_int("leaf_size", 10, 80),
"algorithm": trial.suggest_categorical(
"algorithm",
["kd_tree", "ball_tree"]
),
"p": trial.suggest_categorical("p", [1, 2]),
})
return params
def model(self, params: Dict[str, Any]):
from sklearn.neighbors import KNeighborsRegressor
from sklearn.pipeline import Pipeline
_, preprocessor = self.sample_preprocessing_model(params)
return Pipeline([
("preprocessor", preprocessor),
("model", KNeighborsRegressor(
n_neighbors=params["n_neighbors"],
weights=params["weights"],
leaf_size=params["leaf_size"],
algorithm=params["algorithm"],
p=params["p"],
n_jobs=-1
))
])
def starting_points(self) -> List[Dict[str, BaseTypes]]:
return [
{
"train_means": True,
"weight": "none",
"target_options": "passthrough",
"marker_preprocessor": "maf",
"feature_selector": "drop",
"dist_preprocessor": "vanraden",
"nonlinear_preprocessor": "drop",
"grouping_preprocessor": "onehot",
"interactions": "drop",
"n_neighbors": 10,
"weights": "distance",
"leaf_size": 10,
"algorithm": "kd_tree",
"p": 1,
},
{
"train_means": False,
"weight": "none",
"target_options": "passthrough",
"marker_preprocessor": "maf",
"feature_selector": "drop",
"dist_preprocessor": "vanraden",
"nonlinear_preprocessor": "drop",
"grouping_preprocessor": "onehot",
"interactions": "drop",
"n_neighbors": 10,
"weights": "distance",
"leaf_size": 50,
"algorithm": "kd_tree",
"p": 1,
},
]
class RFModel(SKModel):
use_weights: bool = True
def sample_params(self, trial: "optuna.Trial"):
params = self.sample_preprocessing_params(
trial,
target_options=["passthrough"],
marker_options=["maf"],
dist_options=["drop", "vanraden"],
nonlinear_options=["drop"],
feature_selection_options=["passthrough", "relief"],
grouping_options=["onehot"],
grouping_interaction_options=["drop"],
)
assert isinstance(params["nparams"], int)
params["max_features"] = trial.suggest_int(
"max_features",
max([1, round(log2(params["nparams"]))]),
params["nparams"]
)
params.update({
"bootstrap": trial.suggest_categorical("bootstrap", [True, False]),
"max_depth": trial.suggest_int("max_depth", 3, 30),
"n_estimators": trial.suggest_int("n_estimators", 50, 1000),
"min_samples_split": trial.suggest_int("min_samples_split", 2, 50),
"min_samples_leaf": trial.suggest_int("min_samples_leaf", 1, 20),
"min_impurity_decrease": trial.suggest_float(
"min_impurity_decrease",
0,
1
),
})
if params["bootstrap"]:
params["oob_score"] = trial.suggest_categorical(
"oob_score",
[True, False]
)
else:
params["oob_score"] = False
return params
def model(self, params: Dict[str, Any]):
from sklearn.ensemble import RandomForestRegressor
from sklearn.pipeline import Pipeline
_, preprocessor = self.sample_preprocessing_model(params)
# Prevents key error when selecting from "best params"
if "oob_score" in params:
oob_score = params["oob_score"]
else:
oob_score = False
return Pipeline([
("preprocessor", preprocessor),
("model", RandomForestRegressor(
criterion="mae",
max_depth=params["max_depth"],
n_estimators=params["n_estimators"],
max_features=params["max_features"],
min_samples_split=params["min_samples_split"],
min_samples_leaf=params["min_samples_leaf"],
min_impurity_decrease=params["min_impurity_decrease"],
bootstrap=params["bootstrap"],
oob_score=oob_score,
n_jobs=-1,
random_state=self.seed
))
])
def starting_points(self) -> List[Dict[str, BaseTypes]]:
return [
{
"train_means": False,
"weight": "none",
"target_options": "passthrough",
"marker_preprocessor": "maf",
"feature_selector": "passthrough",
"dist_preprocessor": "drop",
"nonlinear_preprocessor": "drop",
"grouping_preprocessor": "onehot",
"interactions": "drop",
"max_depth": 3,
"n_estimators": 500,
"max_features": 50,
"min_samples_split": 2,
"min_samples_leaf": 10,
"min_impurity_decrease": 0.1,
"bootstrap": False,
},
]
class ExtraTreesModel(SKModel):
use_weights: bool = True
def sample_params(self, trial: "optuna.Trial"):
params = self.sample_preprocessing_params(
trial,
target_options=["passthrough"],
marker_options=["maf"],
dist_options=["drop", "vanraden"],
nonlinear_options=["drop"],
feature_selection_options=["passthrough", "relief"],
grouping_options=["onehot"],
grouping_interaction_options=["drop"],
)
assert isinstance(params["nparams"], int)
params["max_features"] = trial.suggest_int(
"max_features",
max([1, round(log2(params["nparams"]))]),
params["nparams"]
)
params.update({
"bootstrap": trial.suggest_categorical("bootstrap", [True, False]),
"n_estimators": trial.suggest_int("n_estimators", 50, 1000),
"max_depth": trial.suggest_int("max_depth", 3, 30),
"max_samples": trial.suggest_int("max_samples", 50, 1000),
"min_samples_split": trial.suggest_int("min_samples_split", 2, 50),
"min_samples_leaf": trial.suggest_int("min_samples_leaf", 1, 20),
"min_impurity_decrease": trial.suggest_float(
"min_impurity_decrease",
0,
1
),
})
if params["bootstrap"]:
params["oob_score"] = trial.suggest_categorical(
"oob_score",
[True, False]
)
else:
params["oob_score"] = False
return params
def model(self, params: Dict[str, Any]):
from sklearn.ensemble import ExtraTreesRegressor
from sklearn.pipeline import Pipeline
_, preprocessor = self.sample_preprocessing_model(params)
if "oob_score" in params:
oob_score = params["oob_score"]
else:
oob_score = False
return Pipeline([
("preprocessor", preprocessor),
("model", ExtraTreesRegressor(
criterion="mae",
max_depth=params["max_depth"],
n_estimators=params["n_estimators"],
max_features=params["max_features"],
max_samples=params["max_samples"],
min_samples_split=params["min_samples_split"],
min_samples_leaf=params["min_samples_leaf"],
min_impurity_decrease=params["min_impurity_decrease"],
bootstrap=params["bootstrap"],
oob_score=oob_score,
n_jobs=-1,
random_state=self.seed
))
])
def starting_points(self) -> List[Dict[str, BaseTypes]]:
return [
{
"train_means": False,
"weight": "none",
"target_options": "passthrough",
"marker_preprocessor": "maf",
"feature_selector": "passthrough",
"dist_preprocessor": "drop",
"nonlinear_preprocessor": "drop",
"grouping_preprocessor": "onehot",
"interactions": "drop",
"max_depth": 3,
"n_estimators": 500,
"max_samples": 100,
"max_features": 50,
"min_samples_split": 2,
"min_samples_leaf": 10,
"min_impurity_decrease": 0.1,
"bootstrap": False,
},
]
class NGBModel(SKModel):
use_weights: bool = True
def sample_params(self, trial: "optuna.Trial"):
params = self.sample_preprocessing_params(
trial,
target_options=["passthrough"],
marker_options=["maf"],
dist_options=["drop", "vanraden"],
nonlinear_options=["drop"],
feature_selection_options=["passthrough", "relief"],
grouping_options=["onehot"],
grouping_interaction_options=["drop"],
)
assert isinstance(params["nparams"], int)
params["max_features"] = trial.suggest_int(
"max_features",
max([1, round(log2(params["nparams"]))]),
params["nparams"]
)
params.update({
"Dist": trial.suggest_categorical(
"Dist",
["normal", "exponential"]
),
"n_estimators": trial.suggest_int("n_estimators", 50, 1000),
"max_depth": trial.suggest_int("max_depth", 3, 10),
"min_samples_split": trial.suggest_int("min_samples_split", 2, 50),
"min_samples_leaf": trial.suggest_int("min_samples_leaf", 1, 20),
"min_impurity_decrease": trial.suggest_float(
"min_impurity_decrease",
0,
1
),
"col_sample": trial.suggest_float("col_sample", 0.1, 0.5),
"learning_rate": trial.suggest_float(
"learning_rate",
1e-6,
1.0,
log=True
),
"natural_gradient": trial.suggest_categorical(
"natural_gradient",
[True, False]
),
})
return params
def model(self, params: Dict[str, Any]):
from ngboost.distns.normal import Normal
from ngboost.distns.cauchy import Cauchy
from ngboost.distns.exponential import Exponential
from ngboost.distns.lognormal import LogNormal
from ngboost import NGBRegressor
from ngboost.learners import DecisionTreeRegressor
from sklearn.pipeline import Pipeline
_, preprocessor = self.sample_preprocessing_model(params)
dist = {
"normal": Normal,
"cauchy": Cauchy,
"exponential": Exponential,
"lognormal": LogNormal,
}[params["Dist"]]
return Pipeline([
("preprocessor", preprocessor),
("model", NGBRegressor(
Dist=dist,
n_estimators=params["n_estimators"],
Base=DecisionTreeRegressor(
criterion='friedman_mse',
max_depth=params["max_depth"],
max_features=params["max_features"],
min_samples_split=params["min_samples_split"],
min_samples_leaf=params["min_samples_leaf"],
min_impurity_decrease=params["min_impurity_decrease"]
),
verbose=False,
col_sample=params["col_sample"],
learning_rate=params["learning_rate"],
natural_gradient=params["natural_gradient"],
random_state=self.seed
))
])
def starting_points(self) -> List[Dict[str, BaseTypes]]:
return [
{
"train_means": False,
"weight": "none",
"target_options": "passthrough",
"marker_preprocessor": "maf",
"feature_selector": "passthrough",
"dist_preprocessor": "drop",
"nonlinear_preprocessor": "drop",
"grouping_preprocessor": "onehot",
"interactions": "drop",
"Dist": "normal",
"n_estimators": 500,
"max_depth": 3,
"max_features": 50,
"min_samples_split": 2,
"min_samples_leaf": 10,
"min_impurity_decrease": 0.1,
"col_sample": 0.5,
"learning_rate": 0.1,
"natural_gradient": True,
},
]
class SVRModel(SKModel):
use_weights: bool = True
def sample_params(self, trial: "optuna.Trial") -> Dict[str, BaseTypes]:
params = self.sample_preprocessing_params(
trial,
target_options=["stdnorm", "quantile"],
marker_options=["maf"],
dist_options=["vanraden"],
nonlinear_options=["drop", "rbf", "laplacian", "poly"],
feature_selection_options=["drop", "relief"],
grouping_options=["onehot"],
grouping_interaction_options=["drop", "poly"],
)
params.update({
"loss": trial.suggest_categorical(
"loss",
['epsilon_insensitive', 'squared_epsilon_insensitive']
),
"epsilon": trial.suggest_float("epsilon", 0, 5),
"C": trial.suggest_float("C", 1e-10, 10),
"intercept_scaling": trial.suggest_float(
"intercept_scaling",
1e-10,
5
),
"dual": trial.suggest_categorical(
"dual",
[True, False]
)
})
return params
def model(self, params: Dict[str, Any]):
from sklearn.svm import LinearSVR
from sklearn.pipeline import Pipeline
from sklearn.compose import TransformedTargetRegressor
target_trans, preprocessor = self.sample_preprocessing_model(params)
return TransformedTargetRegressor(
regressor=Pipeline([
("preprocessor", preprocessor),
("model", LinearSVR(
random_state=self.seed,
fit_intercept=True,
max_iter=10 * len(self.marker_columns),
dual=params["dual"],
C=params["C"],
epsilon=params["epsilon"],
loss=params["loss"],
intercept_scaling=params["intercept_scaling"],
))
]),
transformer=target_trans
)
def starting_points(self) -> List[Dict[str, BaseTypes]]:
return [
{
"train_means": True,
"weight": "none",
"target_options": "passthrough",
"marker_preprocessor": "maf",
"feature_selector": "drop",
"dist_preprocessor": "vanraden",
"nonlinear_preprocessor": "drop",
"grouping_preprocessor": "onehot",
"interactions": "drop",
"loss": "epsilon_insensitive",
"epsilon": 0,
"C": 1,
"dual": True,
"intercept_scaling": 0.1,
},
{
"train_means": True,
"weight": "none",
"target_options": "passthrough",
"marker_preprocessor": "maf",
"feature_selector": "drop",
"dist_preprocessor": "vanraden",
"nonlinear_preprocessor": "poly",
"grouping_preprocessor": "onehot",
"interactions": "drop",
"poly_gamma": 1,
"grouping_preprocessor": "onehot",
"loss": "epsilon_insensitive",
"epsilon": 0,
"C": 1,
"dual": True,
"intercept_scaling": 0.1,
},
]
class ElasticNetDistModel(SKModel):
use_weights: bool = True
def sample_params(self, trial: "optuna.Trial") -> Dict[str, BaseTypes]:
params = self.sample_preprocessing_params(
trial,
target_options=["stdnorm", "quantile"],
marker_options=["maf"],
dist_options=["vanraden"],
nonlinear_options=["drop", "rbf", "laplacian", "poly"],
feature_selection_options=["drop"],
grouping_options=["onehot"],
grouping_interaction_options=["drop", "poly"],
)
params.update({
"alpha": trial.suggest_float("alpha", 0, 50),
"l1_ratio": trial.suggest_float("l1_ratio", 0, 1),
})
return params
def model(self, params: Dict[str, Any]):
from sklearn.linear_model import ElasticNet
from sklearn.pipeline import Pipeline
from sklearn.compose import TransformedTargetRegressor
target_trans, preprocessor = self.sample_preprocessing_model(params)
return TransformedTargetRegressor(
regressor=Pipeline([
("preprocessor", preprocessor),
("model", ElasticNet(
random_state=self.seed,
fit_intercept=True,
max_iter=10 * len(self.marker_columns),
selection="random",
alpha=params["alpha"],
l1_ratio=params["l1_ratio"],
))
]),
transformer=target_trans
)
def starting_points(self) -> List[Dict[str, BaseTypes]]:
return [
{
"train_means": True,
"weight": "none",
"target_options": "passthrough",
"marker_preprocessor": "maf",
"feature_selector": "drop",
"dist_preprocessor": "vanraden",
"nonlinear_preprocessor": "drop",
"grouping_preprocessor": "onehot",
"interactions": "drop",
"alpha": 1,
"l1_ratio": 0.5,
},
{
"train_means": True,
"weight": "none",
"target_options": "passthrough",
"marker_preprocessor": "maf",
"feature_selector": "drop",
"dist_preprocessor": "vanraden",
"nonlinear_preprocessor": "drop",
"grouping_preprocessor": "onehot",
"interactions": "drop",
"alpha": 10,
"l1_ratio": 0.5,
},
{
"train_means": True,
"weight": "none",
"target_options": "passthrough",
"marker_preprocessor": "maf",
"feature_selector": "drop",
"dist_preprocessor": "vanraden",
"nonlinear_preprocessor": "poly",
"grouping_preprocessor": "onehot",
"interactions": "drop",
"poly_gamma": 1,
"alpha": 1,
"l1_ratio": 0.5,
},
{
"train_means": True,
"weight": "none",
"target_options": "passthrough",
"marker_preprocessor": "maf",
"feature_selector": "drop",
"dist_preprocessor": "vanraden",
"nonlinear_preprocessor": "drop",
"grouping_preprocessor": "onehot",
"interactions": "drop",
"alpha": 1,
"l1_ratio": 0.0,
},
{
"train_means": True,
"weight": "none",
"target_options": "passthrough",
"marker_preprocessor": "maf",
"feature_selector": "drop",
"dist_preprocessor": "vanraden",
"nonlinear_preprocessor": "poly",
"grouping_preprocessor": "onehot",
"interactions": "drop",
"poly_gamma": 1,
"alpha": 1,
"l1_ratio": 0.0,
},
{
"train_means": True,
"weight": "none",
"target_options": "passthrough",
"marker_preprocessor": "maf",
"feature_selector": "drop",
"dist_preprocessor": "vanraden",
"nonlinear_preprocessor": "drop",
"grouping_preprocessor": "onehot",
"interactions": "drop",
"alpha": 1,
"l1_ratio": 1.0,
},
{
"train_means": True,
"weight": "none",
"target_options": "passthrough",
"marker_preprocessor": "maf",
"feature_selector": "drop",
"dist_preprocessor": "vanraden",
"nonlinear_preprocessor": "poly",
"grouping_preprocessor": "onehot",
"interactions": "drop",
"poly_gamma": 1,
"alpha": 1,
"l1_ratio": 1.0,
},
]
class LassoLarsDistModel(SKModel):
use_weights: bool = False
def sample_params(self, trial: "optuna.Trial") -> Dict[str, BaseTypes]:
params = self.sample_preprocessing_params(
trial,
target_options=["stdnorm", "quantile"],
marker_options=["maf"],
dist_options=["vanraden"],
nonlinear_options=["drop", "rbf", "laplacian", "poly"],
feature_selection_options=["drop"],
grouping_options=["onehot"],
grouping_interaction_options=["drop", "poly"],
)
params.update({
"alpha": trial.suggest_float("alpha", 0, 50),
})
return params
def model(self, params: Dict[str, Any]):
from sklearn.linear_model import LassoLars
from sklearn.pipeline import Pipeline
from sklearn.compose import TransformedTargetRegressor
target_trans, preprocessor = self.sample_preprocessing_model(params)
return TransformedTargetRegressor(
regressor=Pipeline([
("preprocessor", preprocessor),
("model", LassoLars(
alpha=params["alpha"],
fit_intercept=True,
max_iter=10 * len(self.marker_columns),
random_state=self.seed,
))
]),
transformer=target_trans
)
def starting_points(self) -> List[Dict[str, BaseTypes]]:
return [
{
"train_means": True,
"weight": "none",
"target_options": "passthrough",
"marker_preprocessor": "maf",
"feature_selector": "drop",
"dist_preprocessor": "vanraden",
"nonlinear_preprocessor": "drop",
"grouping_preprocessor": "onehot",
"interactions": "drop",
"alpha": 1,
},
{
"train_means": True,
"weight": "none",
"target_options": "passthrough",
"marker_preprocessor": "maf",
"feature_selector": "drop",
"dist_preprocessor": "vanraden",
"nonlinear_preprocessor": "drop",
"grouping_preprocessor": "onehot",
"interactions": "drop",
"alpha": 10,
},
{
"train_means": True,
"weight": "none",
"target_options": "passthrough",
"marker_preprocessor": "maf",
"feature_selector": "drop",
"dist_preprocessor": "vanraden",
"nonlinear_preprocessor": "poly",
"grouping_preprocessor": "onehot",
"interactions": "drop",
"dist_poly_gamma": 1,
"alpha": 1,
},
]
class LassoLarsModel(SKModel):
use_weights: bool = False
def sample_params(self, trial: "optuna.Trial") -> Dict[str, BaseTypes]:
params = self.sample_preprocessing_params(
trial,
target_options=["stdnorm", "quantile"],
marker_options=["maf"],
dist_options=["drop", "vanraden"],
nonlinear_options=["drop", "rbf", "laplacian", "poly"],
feature_selection_options=["passthrough", "relief"],
grouping_options=["onehot"],
grouping_interaction_options=["drop", "poly"],
)
params.update({
"alpha": trial.suggest_float("alpha", 0, 50),
})
return params
def model(self, params: Dict[str, Any]):
from sklearn.linear_model import LassoLars
from sklearn.pipeline import Pipeline
from sklearn.compose import TransformedTargetRegressor
target_trans, preprocessor = self.sample_preprocessing_model(params)
return TransformedTargetRegressor(
regressor=Pipeline([
("preprocessor", preprocessor),
("model", LassoLars(
alpha=params["alpha"],
fit_intercept=True,
max_iter=10 * len(self.marker_columns),
random_state=self.seed,
))
]),
transformer=target_trans
)
def starting_points(self) -> List[Dict[str, BaseTypes]]:
return [
{
"train_means": True,
"weight": "none",
"target_options": "passthrough",
"marker_preprocessor": "maf",
"feature_selector": "passthrough",
"dist_preprocessor": "drop",
"nonlinear_preprocessor": "drop",
"grouping_preprocessor": "onehot",
"interactions": "drop",
"alpha": 1,
},
{
"train_means": True,
"weight": "none",
"target_options": "passthrough",
"marker_preprocessor": "maf",
"feature_selector": "passthrough",
"dist_preprocessor": "drop",
"nonlinear_preprocessor": "drop",
"grouping_preprocessor": "onehot",
"interactions": "poly",
"alpha": 1,
},
{
"train_means": True,
"weight": "none",
"target_options": "passthrough",
"marker_preprocessor": "maf",
"feature_selector": "passthrough",
"dist_preprocessor": "drop",
"nonlinear_preprocessor": "drop",
"grouping_preprocessor": "onehot",
"interactions": "drop",
"alpha": 10,
},
]
class ElasticNetModel(SKModel):
use_weights: bool = True
def sample_params(self, trial: "optuna.Trial") -> Dict[str, BaseTypes]:
params = self.sample_preprocessing_params(
trial,
target_options=["stdnorm", "quantile"],
marker_options=["maf"],
dist_options=["drop", "vanraden"],
nonlinear_options=["drop", "rbf", "laplacian", "poly"],
feature_selection_options=["passthrough", "relief"],
grouping_options=["onehot"],
grouping_interaction_options=["drop", "poly"],
)
params.update({
"alpha": trial.suggest_float("alpha", 0, 50),
"l1_ratio": trial.suggest_float("l1_ratio", 0, 1),
})
return params
def model(self, params: Dict[str, Any]):
from sklearn.linear_model import ElasticNet
from sklearn.pipeline import Pipeline
from sklearn.compose import TransformedTargetRegressor
target_trans, preprocessor = self.sample_preprocessing_model(params)
return TransformedTargetRegressor(
regressor=Pipeline([
("preprocessor", preprocessor),
("model", ElasticNet(
random_state=self.seed,
fit_intercept=True,
max_iter=10 * len(self.marker_columns),
selection="random",
alpha=params["alpha"],
l1_ratio=params["l1_ratio"],
))
]),
transformer=target_trans
)
def starting_points(self) -> List[Dict[str, BaseTypes]]:
return [
{
"train_means": True,
"weight": "none",
"target_options": "passthrough",
"marker_preprocessor": "maf",
"feature_selector": "passthrough",
"dist_preprocessor": "drop",
"nonlinear_preprocessor": "drop",
"grouping_preprocessor": "onehot",
"interactions": "drop",
"alpha": 1.0,
"l1_ratio": 0.5,
},
{
"train_means": True,
"weight": "none",
"target_options": "passthrough",
"marker_preprocessor": "maf",
"feature_selector": "passthrough",
"dist_preprocessor": "drop",
"nonlinear_preprocessor": "drop",
"grouping_preprocessor": "onehot",
"interactions": "drop",
"alpha": 10.0,
"l1_ratio": 0.5,
},
{
"train_means": True,
"weight": "none",
"target_options": "passthrough",
"marker_preprocessor": "maf",
"feature_selector": "passthrough",
"dist_preprocessor": "drop",
"nonlinear_preprocessor": "drop",
"grouping_preprocessor": "onehot",
"interactions": "drop",
"alpha": 1.0,
"l1_ratio": 0.0,
},
{
"train_means": True,
"weight": "none",
"target_options": "passthrough",
"marker_preprocessor": "maf",
"feature_selector": "passthrough",
"dist_preprocessor": "drop",
"nonlinear_preprocessor": "drop",
"grouping_preprocessor": "onehot",
"interactions": "drop",
"alpha": 1.0,
"l1_ratio": 1.0,
},
]
class TFWrapper(object):
def __init__(
self,
model=None,
target_trans=None,
group_trans=None,
marker_trans=None,
):
self.model = model
self.target_trans = target_trans
self.group_trans = group_trans
self.marker_trans = marker_trans
return
def get_validation_samples(
self,
X_markers,
X_grouping,
y,
individuals,
sample_weight,
proportion=0.1
):
rng = np.random.default_rng()
uindivs = np.unique(individuals)
n = min([1, np.floor(len(uindivs) * proportion)])
val_samples = set(rng.choice(uindivs, size=n, replace=False))
val = np.array([(i in val_samples) for i in individuals])
val_tup = (
X_markers[val],
X_grouping[val] if X_grouping is not None else None,
y[val],
individuals[val],
sample_weight[val] if sample_weight is not None else None,
)
train_tup = (
X_markers[~val],
X_grouping[~val] if X_grouping is not None else None,
y[~val],
individuals[~val],
sample_weight[~val] if sample_weight is not None else None,
)
return train_tup, val_tup
def fit(self, X, y, sample_weight=None, individuals=None, **kwargs):
import tensorflow as tf
X_markers_, X_grouping_ = X
X_markers = np.array(X_markers_)
if X_grouping_ is not None:
X_grouping = np.array(X_grouping_)
else:
X_grouping = None
del X_markers_, X_grouping_
y_ = np.array(y)
if len(y_.shape) == 1:
y_ = np.expand_dims(y_, -1)
if self.target_trans is not None:
y_ = self.target_trans.fit_transform(
y_,
individuals=individuals
)
if (X_grouping is not None) and (self.group_trans is not None):
X_grouping = self.group_trans.fit_transform(X_grouping)
if self.marker_trans is not None:
X_markers = self.marker_trans.fit_transform(
X_markers,
y=y,
individuals=individuals
)
train_ch, val_ch = self._np_to_channels_validation(
X_markers,
X_grouping,
y,
individuals,
sample_weight,
proportion=0.1
)
early_callback = tf.keras.callbacks.EarlyStopping(
monitor='val_loss',
min_delta=0.1,
patience=20,
restore_best_weights=True,
)
self.model.compile(optimizer="adam", loss="mae", metrics=["mae"])
_ = self.model.fit(
train_ch.shuffle(1024).batch(64),
epochs=500,
verbose=0,
validation_data=val_ch.batch(64),
callbacks=[early_callback]
)
return self
def predict(self, X: "Tuple[npt.ArrayLike, Optional[npt.ArrayLike]]"):
X_markers_, X_grouping_ = X
X_markers = np.array(X_markers_)
if X_grouping_ is not None:
X_grouping: Optional[np.ndarray] = np.array(X_grouping_)
else:
X_grouping = None
del X_markers_, X_grouping_
if (X_grouping is not None) and (self.group_trans is not None):
X_grouping = self.group_trans.transform(X_grouping)
if self.marker_trans is not None:
X_markers = self.marker_trans.transform(
X_markers,
)
channel = self._np_to_channels(X_markers, X_grouping)
preds = self.model.predict(channel.batch(32))
if len(preds.shape) == 1:
preds = np.expand_dims(preds, -1)
if self.target_trans is not None:
preds = self.target_trans.inverse_transform(
preds,
)
return preds
def _np_to_channels_validation(
self,
X_markers,
X_grouping,
y,
individuals,
sample_weights,
proportion=0.1,
):
train_tup, val_tup = self.get_validation_samples(
X_markers,
X_grouping,
y,
individuals,
sample_weights
)
(mar, gro, y_, indiv, wei) = train_tup
train_ch = self._np_to_channels(mar, gro, y_, wei)
(mar, gro, y_, indiv, wei) = val_tup
val_ch = self._np_to_channels(mar, gro, y_, wei)
return train_ch, val_ch
def _np_to_channels(
self,
X_markers,
X_groups=None,
y=None,
sample_weights=None
):
from scipy.sparse import issparse
from tensorflow.data import Dataset
if issparse(X_markers):
X_markers = X_markers.toarray()
if X_groups is None:
datasets = [X_markers]
else:
if issparse(X_groups):
X_groups = X_groups.toarray()
datasets = [(X_markers, X_groups)]
if y is not None:
datasets.append(y)
if sample_weights is not None:
datasets.append(sample_weights)
return Dataset.from_tensor_slices(tuple(datasets))
class ConvModel(TFBaseModel):
use_weights: bool = True
def sample_params(self, trial: "optuna.Trial") -> Dict[str, BaseTypes]:
params = self.sample_preprocessing_params(
trial,
target_options=["stdnorm", "quantile"],
marker_options=["maf"],
feature_selection_options=["passthrough", "relief"],
)
nmarkers = len(self.marker_columns)
if "feature_selection_nfeatures" in params:
assert isinstance(params["feature_selection_nfeatures"], int)
nmarkers = params["feature_selection_nfeatures"]
if nmarkers < 30:
max_conv_levels = 0
elif nmarkers < 100:
max_conv_levels = 1
elif nmarkers < 200:
max_conv_levels = 2
else:
max_conv_levels = 3
params["conv_nlayers"] = trial.suggest_int(
"conv_nlayers",
0,
max_conv_levels
)
assert isinstance(params["conv_nlayers"], int)
if params["conv_nlayers"] > 0:
params["conv_filters"] = trial.suggest_int("conv_filters", 1, 4)
params["conv_kernel_size"] = trial.suggest_int(
"conv_kernel_size",
2,
5
)
assert isinstance(params["conv_kernel_size"], int)
max_stride = params["conv_kernel_size"]
while (
(nmarkers / (max_stride ** params["conv_nlayers"]))
< (2 * params["conv_kernel_size"])
):
# Avoid zero-division error in whie
if max_stride <= 1:
max_stride = 1
break
max_stride -= 1
params["conv_strides"] = trial.suggest_int(
"conv_strides",
2,
max_stride
)
params["conv_l1"] = trial.suggest_float(
"conv_l1", 1e-50, 50, log=True)
params["conv_l2"] = trial.suggest_float(
"conv_l2", 1e-50, 50, log=True)
params["conv_activation"] = trial.suggest_categorical(
"conv_activation",
["linear", "relu"]
)
params["conv_use_bn"] = trial.suggest_categorical(
"conv_use_bn",
[True, False]
)
params["dropout_rate"] = trial.suggest_float("dropout_rate", 0, 1)
params["marker_adaptaptive_l1"] = trial.suggest_categorical(
"marker_adaptaptive_l1", [True, False]
)
params["marker_l1"] = trial.suggest_float(
"marker_l1",
1e-50,
50,
log=True
)
params["marker_l2"] = trial.suggest_float(
"marker_l2",
1e-50,
50,
log=True
)
if len(self.grouping_columns) > 0:
params["group_l1"] = trial.suggest_float(
"group_l1",
1e-50,
50,
log=True
)
params["group_l2"] = trial.suggest_float(
"group_l2",
1e-50,
50,
log=True
)
params["use_rank_loss"] = trial.suggest_categorical(
"use_rank_loss",
[True, False]
)
if params["use_rank_loss"]:
params["rank_loss"] = trial.suggest_float(
"rank_loss",
1e-20, 5, log=True
)
return params
def model(self, params: Dict[str, Any]):
from selectml.tf.layers import AddChannel, Flatten1D, ConvLinkage
from selectml.tf.models import SSModel
from selectml.tf.regularizers import AdaptiveL1L2Regularizer
from tensorflow.keras.layers import Dropout, Dense
from tensorflow.keras.regularizers import L1L2
from tensorflow.keras.models import Sequential
import tensorflow as tf
tf.random.set_seed(self.seed)
(
target_trans,
grouping_trans,
marker_trans
) = self.sample_preprocessing_model(params)
marker_model_list = []
if params["conv_nlayers"] > 0:
marker_model_list.extend([
AddChannel(),
ConvLinkage(
nlayers=params["conv_nlayers"],
filters=params["conv_filters"],
strides=params["conv_strides"],
kernel_size=params["conv_kernel_size"],
activation=params["conv_activation"],
activation_first=params["conv_activation"],
activation_last=params["conv_activation"],
kernel_regularizer=L1L2(
params["conv_l1"],
params["conv_l2"],
),
use_bn=params["conv_use_bn"]
),
Flatten1D(),
])
if params["marker_adaptaptive_l1"]:
reg = AdaptiveL1L2Regularizer(
l1=params["marker_l1"],
l2=params["marker_l2"],
adapt=True
)
else:
reg = L1L2(
params["marker_l1"],
params["marker_l2"]
)
marker_model_list.extend([
Dropout(params["dropout_rate"]),
Dense(1, use_bias=True, kernel_regularizer=reg),
])
marker_model = Sequential(marker_model_list)
if len(self.grouping_columns) > 0:
group_model = Dense(1, use_bias=True, kernel_regularizer=L1L2(
params["group_l1"],
params["group_l2"])
)
else:
group_model = None
model = SSModel(
marker_embedder=marker_model,
env_embedder=group_model,
combiner="add",
rank_loss=params.get("rank_loss", None),
)
return TFWrapper(
model=model,
target_trans=target_trans,
group_trans=grouping_trans,
marker_trans=marker_trans,
)
def starting_points(self) -> List[Dict[str, BaseTypes]]:
return [
{
"train_means": True,
"weight": "none",
"target_options": "stdnorm",
"min_maf": 0.05,
"marker_preprocessor": "maf",
"feature_selector": "passthrough",
"conv_nlayers": 2,
"conv_filters": 1,
"conv_kernel_size": 3,
"conv_strides": 2,
"conv_l1": 1e-50,
"conv_l2": 1e-50,
"conv_activation": "linear",
"conv_use_bn": False,
"dropout_rate": 0.5,
"marker_adaptaptive_l1": False,
"marker_l1": 1e-50,
"marker_l2": 1e-50,
"group_l1": 1e-50,
"group_l2": 1e-50,
"use_rank_loss": False,
},
{
"train_means": True,
"weight": "none",
"target_options": "stdnorm",
"min_maf": 0.05,
"marker_preprocessor": "maf",
"feature_selector": "passthrough",
"conv_nlayers": 0,
"dropout_rate": 0.5,
"marker_adaptaptive_l1": False,
"marker_l1": 1e-50,
"marker_l2": 1e-50,
"group_l1": 1e-50,
"group_l2": 1e-50,
"use_rank_loss": False,
}
]
class MLPModel(TFBaseModel):
use_weights: bool = True
def sample_params(self, trial: "optuna.Trial") -> Dict[str, BaseTypes]: # noqa
params = self.sample_preprocessing_params(
trial,
target_options=["stdnorm", "quantile"],
marker_options=["maf"],
feature_selection_options=["passthrough", "relief"],
)
params["embed_nunits"] = trial.suggest_int(
"embed_nunits",
5,
100,
step=5
)
params["marker_embed_nlayers"] = trial.suggest_int(
"marker_embed_nlayers", 1, 4
)
assert isinstance(params["marker_embed_nlayers"], int)
for i in range(params["marker_embed_nlayers"]):
params[f"marker_embed{i}_activation"] = trial.suggest_categorical(
f"marker_embed{i}_activation",
["linear", "relu"]
)
if params[f"marker_embed{i}_activation"] != "linear":
params[f"marker_embed{i}_res"] = trial.suggest_categorical(
f"marker_embed{i}_res",
[True, False]
)
params["marker_embed_adaptive_l1"] = trial.suggest_categorical(
"marker_embed_adaptive_l1",
[True, False]
)
assert isinstance(params["marker_embed_adaptive_l1"], bool)
if params["marker_embed_adaptive_l1"]:
params["marker_embed_adaptive_l1_rate"] = trial.suggest_float(
"marker_embed_adaptive_l1_rate",
1e-10,
50
)
params["marker_embed_adaptive_l2_rate"] = trial.suggest_float(
"marker_embed_adaptive_l2_rate",
1e-50,
50
)
params["marker_embed0_dropout_rate"] = trial.suggest_float(
"marker_embed0_dropout_rate",
0, 1
)
params["marker_embed0_l1"] = trial.suggest_float(
"marker_embed0_l1",
1e-50,
50,
log=True
)
params["marker_embed0_l2"] = trial.suggest_float(
"marker_embed0_l2",
1e-50,
50,
log=True
)
assert isinstance(params["marker_embed_nlayers"], int)
if params["marker_embed_nlayers"] > 1:
params["marker_embed1_l1"] = trial.suggest_float(
"marker_embed1_l1",
1e-50,
50,
log=True
)
params["marker_embed1_l2"] = trial.suggest_float(
"marker_embed0_l2",
1e-50,
50,
log=True
)
params["marker_embed1_dropout_rate"] = trial.suggest_float(
"marker_embed1_dropout_rate",
0, 1
)
if len(self.grouping_columns) > 0:
params["env_embed_nlayers"] = trial.suggest_int(
"env_embed_nlayers", 1, 4
)
assert isinstance(params["env_embed_nlayers"], int)
for i in range(params["env_embed_nlayers"]):
params[f"env_embed{i}_activation"] = trial.suggest_categorical(
f"env_embed{i}_activation",
["linear", "relu"]
)
if params[f"env_embed{i}_activation"] != "linear":
params[f"env_embed{i}_res"] = trial.suggest_categorical(
f"env_embed{i}_res",
[True, False]
)
params["env_embed0_l2"] = trial.suggest_float(
"env_embed0_l2",
1e-50,
50,
log=True
)
params["env_embed0_dropout_rate"] = trial.suggest_float(
"env_embed0_dropout_rate",
0,
1
)
assert isinstance(params["env_embed_nlayers"], int)
if params["env_embed_nlayers"] > 1:
params["env_embed1_l2"] = trial.suggest_float(
"env_embed1_l2",
1e-50,
50,
log=True
)
params["env_embed1_dropout_rate"] = trial.suggest_float(
"env_embed1_dropout_rate",
0,
1
)
params["combiner"] = trial.suggest_categorical(
"combiner",
["add", "concat"]
)
params["postembed_nlayers"] = trial.suggest_int(
"postembed_nlayers", 0, 2
)
assert isinstance(params["postembed_nlayers"], int)
for i in range(params["postembed_nlayers"]):
params[f"postembed{i}_activation"] = trial.suggest_categorical(
f"postembed{i}_activation",
["linear", "relu"]
)
if params[f"postembed{i}_activation"] != "linear":
params[f"postembed{i}_res"] = trial.suggest_categorical(
f"postembed{i}_res",
[True, False]
)
assert isinstance(params["postembed_nlayers"], int)
if params["postembed_nlayers"] > 0:
assert isinstance(params["embed_nunits"], int)
params["postembed_nunits"] = trial.suggest_int(
"postembed_nunits",
5,
params["embed_nunits"],
step=5
)
params["postembed_dropout_rate"] = trial.suggest_float(
"postembed_dropout_rate",
0, 1
)
params["postembed_l1"] = trial.suggest_float(
"postembed_l1",
1e-50,
50,
log=True
)
params["postembed_l2"] = trial.suggest_float(
"postembed_l2",
1e-50,
50,
log=True
)
params["marker_embed_regularizer"] = trial.suggest_categorical(
"marker_embed_regularizer",
["none", "semihard", "hard", "relief"]
)
if params["marker_embed_regularizer"] == "semihard":
params["marker_semihard_loss"] = trial.suggest_float(
"marker_semihard_loss_rate",
1e-20, 5, log=True
)
elif params["marker_embed_regularizer"] == "hard":
params["marker_hard_loss"] = trial.suggest_float(
"marker_hard_loss",
1e-20, 5, log=True
)
elif params["marker_embed_regularizer"] == "relief":
params["marker_relief_loss"] = trial.suggest_float(
"marker_relief_loss",
1e-20, 5, log=True
)
params["use_rank_loss"] = trial.suggest_categorical(
"use_rank_loss",
[True, False]
)
if params["use_rank_loss"]:
params["rank_loss"] = trial.suggest_float(
"rank_loss",
1e-20, 5, log=True
)
if len(self.grouping_columns) > 0:
params["env_embed_regularizer"] = trial.suggest_categorical(
"env_embed_regularizer",
["none", "semihard", "hard"]
)
if params["env_embed_regularizer"] == "hard":
params["env_hard_loss"] = trial.suggest_float(
"env_hard_loss",
1e-20, 5, log=True
)
elif params["env_embed_regularizer"] == "semihard":
params["env_semihard_loss"] = trial.suggest_float(
"env_semihard_loss_rate",
1e-20, 5, log=True
)
return params
def model(self, params: Dict[str, Any]):
from selectml.tf.layers import (
LocalLasso,
AddChannel,
Flatten1D,
ParallelResidualUnit,
ResidualUnit
)
from selectml.tf.models import SSModel
from selectml.tf.regularizers import AdaptiveL1L2Regularizer
from tensorflow.keras.layers import (
Dropout,
Dense,
BatchNormalization,
ReLU
)
from tensorflow.keras.regularizers import L2, L1L2
from tensorflow.keras.models import Sequential
import tensorflow as tf
tf.random.set_seed(self.seed)
(
target_trans,
grouping_trans,
marker_trans
) = self.sample_preprocessing_model(params)
marker_model = []
if params["marker_embed_adaptive_l1"]:
reg = AdaptiveL1L2Regularizer(
l1=params["marker_embed_adaptive_l1_rate"],
l2=params["marker_embed_adaptive_l2_rate"],
adapt=True,
)
marker_model.extend([
AddChannel(),
LocalLasso(kernel_regularizer=reg),
Flatten1D()
])
for i in range(params["marker_embed_nlayers"]):
j = 0 if (i == 0) else 1
marker_model.append(
Dropout(params[f"marker_embed{j}_dropout_rate"])
)
reg = L1L2(
params[f"marker_embed{j}_l1"],
params[f"marker_embed{j}_l2"],
)
if params.get(f"marker_embed{i}_res", False):
type_ = ParallelResidualUnit if (j == 0) else ResidualUnit
marker_model.append(type_(
params["embed_nunits"],
params[f"marker_embed{j}_dropout_rate"],
activation=params[f"marker_embed{i}_activation"],
use_bias=True,
nonlinear_kernel_regularizer=reg,
gain_kernel_regularizer=reg,
linear_kernel_regularizer=reg,
))
else:
marker_model.append(Dense(
params["embed_nunits"],
activation="linear",
kernel_regularizer=reg,
use_bias=True
))
marker_model.append(BatchNormalization())
# The current trend seems to be to do activation after
# batch/layer norm. This might change in future.
if params[f"marker_embed{i}_activation"] == "relu":
marker_model.append(ReLU())
if len(self.grouping_columns) > 0:
env_model: Optional[List] = []
assert env_model is not None
for i in range(params["env_embed_nlayers"]):
j = 0 if (i == 0) else 1
env_model.append(
Dropout(params[f"env_embed{j}_dropout_rate"])
)
reg = L2(
params[f"env_embed{j}_l2"],
)
if params.get(f"env_embed{i}_res", False):
type_ = ParallelResidualUnit if (j == 0) else ResidualUnit
env_model.append(type_(
params["embed_nunits"],
params[f"env_embed{j}_dropout_rate"],
activation=params[f"env_embed{i}_activation"],
use_bias=True,
nonlinear_kernel_regularizer=reg,
gain_kernel_regularizer=reg,
linear_kernel_regularizer=reg,
))
else:
env_model.append(Dense(
params["embed_nunits"],
activation="linear",
kernel_regularizer=reg,
use_bias=True
))
env_model.append(BatchNormalization())
if params[f"env_embed{i}_activation"] == "relu":
env_model.append(ReLU())
else:
env_model = None
postembed_model = []
reg = L1L2(
params["postembed_l1"],
params["postembed_l2"],
)
for i in range(params["postembed_nlayers"]):
j = 0 if (i == 0) else 1
postembed_model.append(
Dropout(params["postembed_dropout_rate"])
)
if params.get(f"postembed{i}_res", False):
type_ = ParallelResidualUnit if (j == 0) else ResidualUnit
postembed_model.append(type_(
params["postembed_nunits"],
params["postembed_dropout_rate"],
activation=params[f"postembed{i}_activation"],
use_bias=True,
nonlinear_kernel_regularizer=reg,
gain_kernel_regularizer=reg,
linear_kernel_regularizer=reg,
))
else:
postembed_model.append(Dense(
params["postembed_nunits"],
activation="linear",
kernel_regularizer=reg,
use_bias=True
))
postembed_model.append(BatchNormalization())
# The current trend seems to be to do activation after
# batch/layer norm. This might change in future.
if params[f"postembed{i}_activation"] == "relu":
postembed_model.append(ReLU())
postembed_model.extend([
Dropout(params["postembed_dropout_rate"]),
Dense(
1,
activation="linear",
kernel_regularizer=reg,
use_bias=True
)
])
model = SSModel(
marker_embedder=Sequential(marker_model),
env_embedder=None if env_model is None else Sequential(env_model),
post_embedder=Sequential(postembed_model),
combiner=params.get("combiner", "add"),
marker_semihard_loss=params.get("marker_semihard_loss", None),
marker_hard_loss=params.get("marker_hard_loss", None),
marker_relief_loss=params.get("marker_relief_loss", None),
rank_loss=params.get("rank_loss", None),
env_semihard_loss=params.get("env_semihard_loss", None),
env_hard_loss=params.get("env_hard_loss", None),
)
return TFWrapper(
model=model,
target_trans=target_trans,
group_trans=grouping_trans,
marker_trans=marker_trans,
)
def starting_points(self) -> List[Dict[str, BaseTypes]]:
return [
{
"train_means": True,
"weight": "none",
"target_options": "stdnorm",
"min_maf": 0.05,
"marker_preprocessor": "maf",
"feature_selector": "passthrough",
"embed_nunits": 10,
"marker_embed_nlayers": 1,
"marker_embed0_activation": "linear",
"marker_embed_adaptive_l1": False,
"marker_embed0_dropout_rate": 0.5,
"marker_embed0_l1": 1e-50,
"marker_embed0_l2": 1e-50,
"env_embed_nlayers": 1,
"env_embed0_activation": "linear",
"env_embed0_dropout_rate": 0.0,
"env_embed0_l2": 1e-50,
"combiner": "add",
"postembed_nlayers": 0,
"postembed_dropout_rate": 0.2,
"postembed_l1": 1e-50,
"postembed_l2": 1e-50,
"use_rank_loss": False,
"marker_embed_regularizer": "none",
"env_embed_regularizer": "none",
},
{
"train_means": True,
"weight": "none",
"target_options": "stdnorm",
"min_maf": 0.05,
"marker_preprocessor": "maf",
"feature_selector": "passthrough",
"embed_nunits": 10,
"marker_embed_nlayers": 1,
"marker_embed0_activation": "linear",
"marker_embed_adaptive_l1": False,
"marker_embed0_dropout_rate": 0.5,
"marker_embed0_l1": 1e-50,
"marker_embed0_l2": 1e-50,
"env_embed_nlayers": 1,
"env_embed0_activation": "linear",
"env_embed0_dropout_rate": 0.0,
"env_embed0_l2": 1e-50,
"combiner": "add",
"postembed_nlayers": 1,
"postembed_nunits": 10,
"postembed_dropout_rate": 0.2,
"postembed_l1": 1e-50,
"postembed_l2": 1e-50,
"use_rank_loss": False,
"marker_embed_regularizer": "none",
"env_embed_regularizer": "none",
},
{
"train_means": True,
"weight": "none",
"target_options": "stdnorm",
"min_maf": 0.05,
"marker_preprocessor": "maf",
"feature_selector": "passthrough",
"embed_nunits": 10,
"marker_embed_nlayers": 1,
"marker_embed0_activation": "linear",
"marker_embed_adaptive_l1": True,
"marker_embed_adaptive_l1_rate": 1e-3,
"marker_embed_adaptive_l2_rate": 1e-9,
"marker_embed0_dropout_rate": 0.5,
"marker_embed0_l1": 1e-50,
"marker_embed0_l2": 1e-50,
"env_embed_nlayers": 1,
"env_embed0_activation": "linear",
"env_embed0_dropout_rate": 0.0,
"env_embed0_l2": 1e-50,
"combiner": "add",
"postembed_nlayers": 0,
"postembed_dropout_rate": 0.2,
"postembed_l1": 1e-50,
"postembed_l2": 1e-50,
"use_rank_loss": False,
"marker_embed_regularizer": "semihard",
"marker_semihard_loss": 0.5,
"env_embed_regularizer": "none",
},
]
class ConvMLPModel(TFBaseModel):
use_weights: bool = True
def sample_params(self, trial: "optuna.Trial") -> Dict[str, BaseTypes]: # noqa
params = self.sample_preprocessing_params(
trial,
target_options=["stdnorm", "quantile"],
marker_options=["maf"],
feature_selection_options=["passthrough", "relief"],
)
nmarkers = len(self.marker_columns)
if "feature_selection_nfeatures" in params:
assert isinstance(params["feature_selection_nfeatures"], int)
nmarkers = params["feature_selection_nfeatures"]
if nmarkers < 30:
max_conv_levels = 0
elif nmarkers < 100:
max_conv_levels = 1
elif nmarkers < 200:
max_conv_levels = 2
else:
max_conv_levels = 3
params["conv_nlayers"] = trial.suggest_int(
"conv_nlayers",
0,
max_conv_levels
)
assert isinstance(params["conv_nlayers"], int)
if params["conv_nlayers"] > 0:
params["conv_filters"] = trial.suggest_int("conv_filters", 1, 4)
params["conv_kernel_size"] = trial.suggest_int(
"conv_kernel_size",
2,
5
)
assert isinstance(params["conv_kernel_size"], int)
max_stride = params["conv_kernel_size"]
while (
(nmarkers / (max_stride ** params["conv_nlayers"]))
< (2 * params["conv_kernel_size"])
):
# Avoid zero-division error in whie
if max_stride <= 1:
max_stride = 1
break
max_stride -= 1
params["conv_strides"] = trial.suggest_int(
"conv_strides",
2,
max_stride
)
params["conv_l1"] = trial.suggest_float(
"conv_l1", 1e-50, 50, log=True)
params["conv_l2"] = trial.suggest_float(
"conv_l2", 1e-50, 50, log=True)
params["conv_activation"] = trial.suggest_categorical(
"conv_activation",
["linear", "relu"]
)
params["conv_use_bn"] = trial.suggest_categorical(
"conv_use_bn",
[True, False]
)
params["embed_nunits"] = trial.suggest_int(
"embed_nunits",
5,
100,
step=5
)
params["marker_embed_nlayers"] = trial.suggest_int(
"marker_embed_nlayers", 1, 4
)
assert isinstance(params["marker_embed_nlayers"], int)
for i in range(params["marker_embed_nlayers"]):
params[f"marker_embed{i}_activation"] = trial.suggest_categorical(
f"marker_embed{i}_activation",
["linear", "relu"]
)
if params[f"marker_embed{i}_activation"] != "linear":
params[f"marker_embed{i}_res"] = trial.suggest_categorical(
f"marker_embed{i}_res",
[True, False]
)
params["marker_embed_adaptive_l1"] = trial.suggest_categorical(
"marker_embed_adaptive_l1",
[True, False]
)
params["marker_embed_adaptive_l1_rate"] = trial.suggest_float(
"marker_embed_adaptive_l1_rate",
1e-10,
50
)
params["marker_embed_adaptive_l2_rate"] = trial.suggest_float(
"marker_embed_adaptive_l2_rate",
1e-50,
50
)
params["marker_embed0_dropout_rate"] = trial.suggest_float(
"marker_embed0_dropout_rate",
0, 1
)
params["marker_embed0_l1"] = trial.suggest_float(
"marker_embed0_l1",
1e-50,
50,
log=True
)
params["marker_embed0_l2"] = trial.suggest_float(
"marker_embed0_l2",
1e-50,
50,
log=True
)
assert isinstance(params["marker_embed_nlayers"], int)
if params["marker_embed_nlayers"] > 1:
params["marker_embed1_l1"] = trial.suggest_float(
"marker_embed1_l1",
1e-50,
50,
log=True
)
params["marker_embed1_l2"] = trial.suggest_float(
"marker_embed0_l2",
1e-50,
50,
log=True
)
params["marker_embed1_dropout_rate"] = trial.suggest_float(
"marker_embed1_dropout_rate",
0, 1
)
if len(self.grouping_columns) > 0:
params["env_embed_nlayers"] = trial.suggest_int(
"env_embed_nlayers", 1, 4
)
assert isinstance(params["env_embed_nlayers"], int)
for i in range(params["env_embed_nlayers"]):
params[f"env_embed{i}_activation"] = trial.suggest_categorical(
f"env_embed{i}_activation",
["linear", "relu"]
)
if params[f"env_embed{i}_activation"] != "linear":
params[f"env_embed{i}_res"] = trial.suggest_categorical(
f"env_embed{i}_res",
[True, False]
)
params["env_embed0_l2"] = trial.suggest_float(
"env_embed0_l2",
1e-50,
50,
log=True
)
params["env_embed0_dropout_rate"] = trial.suggest_float(
"env_embed1_dropout_rate",
0,
1
)
assert isinstance(params["env_embed_nlayers"], int)
if params["env_embed_nlayers"] > 1:
params["env_embed1_l2"] = trial.suggest_float(
"env_embed1_l2",
1e-50,
50,
log=True
)
params["env_embed1_dropout_rate"] = trial.suggest_float(
"env_embed1_dropout_rate",
0,
1
)
params["combiner"] = trial.suggest_categorical(
"combiner",
["add", "concat"]
)
params["postembed_nlayers"] = trial.suggest_int(
"postembed_nlayers", 0, 2
)
assert isinstance(params["postembed_nlayers"], int)
for i in range(params["postembed_nlayers"]):
params[f"postembed{i}_activation"] = trial.suggest_categorical(
f"postembed{i}_activation",
["linear", "relu"]
)
if params[f"postembed{i}_activation"] != "linear":
params[f"postembed{i}_res"] = trial.suggest_categorical(
f"postembed{i}_res",
[True, False]
)
assert isinstance(params["postembed_nlayers"], int)
if params["postembed_nlayers"] > 0:
assert isinstance(params["embed_nunits"], int)
params["postembed_nunits"] = trial.suggest_int(
"postembed_nunits",
5,
params["embed_nunits"],
step=5
)
params["postembed_dropout_rate"] = trial.suggest_float(
"postembed_dropout_rate",
0, 1
)
params["postembed_l1"] = trial.suggest_float(
"postembed_l1",
1e-50,
50,
log=True
)
params["postembed_l2"] = trial.suggest_float(
"postembed_l2",
1e-50,
50,
log=True
)
params["marker_embed_regularizer"] = trial.suggest_categorical(
"marker_embed_regularizer",
["none", "semihard", "hard", "relief"]
)
if params["marker_embed_regularizer"] == "semihard":
params["marker_semihard_loss"] = trial.suggest_float(
"marker_semihard_loss_rate",
1e-20, 5, log=True
)
elif params["marker_embed_regularizer"] == "hard":
params["marker_hard_loss"] = trial.suggest_float(
"marker_hard_loss",
1e-20, 5, log=True
)
elif params["marker_embed_regularizer"] == "relief":
params["marker_relief_loss"] = trial.suggest_float(
"marker_relief_loss",
1e-20, 5, log=True
)
params["use_rank_loss"] = trial.suggest_categorical(
"use_rank_loss",
[True, False]
)
if params["use_rank_loss"]:
params["rank_loss"] = trial.suggest_float(
"rank_loss",
1e-20, 5, log=True
)
if len(self.grouping_columns) > 0:
params["env_embed_regularizer"] = trial.suggest_categorical(
"env_embed_regularizer",
["none", "semihard", "hard"]
)
if params["env_embed_regularizer"] == "hard":
params["env_hard_loss"] = trial.suggest_float(
"env_hard_loss",
1e-20, 5, log=True
)
elif params["env_embed_regularizer"] == "semihard":
params["env_semihard_loss"] = trial.suggest_float(
"env_semihard_loss_rate",
1e-20, 5, log=True
)
return params
def model(self, params: Dict[str, Any]): # noqa
from selectml.tf.layers import (
LocalLasso,
AddChannel,
Flatten1D,
ParallelResidualUnit,
ResidualUnit,
ConvLinkage
)
from selectml.tf.models import SSModel
from selectml.tf.regularizers import AdaptiveL1L2Regularizer
from tensorflow.keras.layers import (
Dropout,
Dense,
BatchNormalization,
ReLU
)
from tensorflow import tf
from tensorflow.keras.regularizers import L2, L1L2
from tensorflow.keras.models import Sequential
tf.random.set_seed(self.seed)
(
target_trans,
grouping_trans,
marker_trans
) = self.sample_preprocessing_model(params)
marker_model = []
if params["conv_nlayers"] > 0:
marker_model.extend([
AddChannel(),
ConvLinkage(
nlayers=params["conv_nlayers"],
filters=params["conv_filters"],
strides=params["conv_strides"],
kernel_size=params["conv_kernel_size"],
activation=params["conv_activation"],
activation_first=params["conv_activation"],
activation_last=params["conv_activation"],
kernel_regularizer=L1L2(
params["conv_l1"],
params["conv_l2"],
),
use_bn=params["conv_use_bn"]
),
Flatten1D(),
])
if params["marker_embed_adaptive_l1"]:
reg = AdaptiveL1L2Regularizer(
l1=params["marker_embed_adaptive_l1_rate"],
l2=params["marker_embed_adaptive_l2_rate"],
adapt=True,
)
marker_model.extend([
AddChannel(),
LocalLasso(kernel_regularizer=reg),
Flatten1D()
])
for i in range(params["marker_embed_nlayers"]):
j = 0 if (i == 0) else 1
marker_model.append(
Dropout(params[f"marker_embed{j}_dropout_rate"])
)
reg = L1L2(
params[f"marker_embed{j}_l1"],
params[f"marker_embed{j}_l2"],
)
if params.get(f"marker_embed{i}_res", False):
type_ = ParallelResidualUnit if (j == 0) else ResidualUnit
marker_model.append(type_(
params["embed_nunits"],
params[f"marker_embed{j}_dropout_rate"],
activation=params[f"marker_embed{i}_activation"],
use_bias=True,
nonlinear_kernel_regularizer=reg,
gain_kernel_regularizer=reg,
linear_kernel_regularizer=reg,
))
else:
marker_model.append(Dense(
params["embed_nunits"],
activation="linear",
kernel_regularizer=reg,
use_bias=True
))
marker_model.append(BatchNormalization())
# The current trend seems to be to do activation after
# batch/layer norm. This might change in future.
if params[f"marker_embed{i}_activation"] == "relu":
marker_model.append(ReLU())
if len(self.grouping_columns) > 0:
env_model: Optional[List] = []
assert env_model is not None
for i in range(params["env_embed_nlayers"]):
j = 0 if (i == 0) else 1
env_model.append(
Dropout(params[f"env_embed{j}_dropout_rate"])
)
reg = L2(
params[f"env_embed{j}_l2"],
)
if params.get(f"env_embed{i}_res", False):
type_ = ParallelResidualUnit if (j == 0) else ResidualUnit
env_model.append(type_(
params["embed_nunits"],
params[f"env_embed{j}_dropout_rate"],
activation=params[f"env_embed{i}_activation"],
use_bias=True,
nonlinear_kernel_regularizer=reg,
gain_kernel_regularizer=reg,
linear_kernel_regularizer=reg,
))
else:
env_model.append(Dense(
params["embed_nunits"],
activation="linear",
kernel_regularizer=reg,
use_bias=True
))
env_model.append(BatchNormalization())
if params[f"env_embed{i}_activation"] == "relu":
env_model.append(ReLU())
else:
env_model = None
postembed_model = []
reg = L1L2(
params["postembed_l1"],
params["postembed_l2"],
)
for i in range(params["postembed_nlayers"]):
j = 0 if (i == 0) else 1
postembed_model.append(
Dropout(params["postembed_dropout_rate"])
)
if params.get(f"postembed{i}_res", False):
type_ = ParallelResidualUnit if (j == 0) else ResidualUnit
postembed_model.append(type_(
params["postembed_nunits"],
params["postembed_dropout_rate"],
activation=params[f"postembed{i}_activation"],
use_bias=True,
nonlinear_kernel_regularizer=reg,
gain_kernel_regularizer=reg,
linear_kernel_regularizer=reg,
))
else:
postembed_model.append(Dense(
params["postembed_nunits"],
activation="linear",
kernel_regularizer=reg,
use_bias=True
))
postembed_model.append(BatchNormalization())
# The current trend seems to be to do activation after
# batch/layer norm. This might change in future.
if params[f"postembed{i}_activation"] == "relu":
postembed_model.append(ReLU())
postembed_model.extend([
Dropout(params["postembed_dropout_rate"]),
Dense(
1,
activation="linear",
kernel_regularizer=reg,
use_bias=True
)
])
model = SSModel(
marker_embedder=Sequential(marker_model),
env_embedder=None if env_model is None else Sequential(env_model),
post_embedder=Sequential(postembed_model),
combiner=params.get("combiner", "add"),
marker_semihard_loss=params.get("marker_semihard_loss", None),
marker_hard_loss=params.get("marker_hard_loss", None),
marker_relief_loss=params.get("marker_relief_loss", None),
rank_loss=params.get("rank_loss", None),
env_semihard_loss=params.get("env_semihard_loss", None),
env_hard_loss=params.get("env_hard_loss", None),
)
return TFWrapper(
model=model,
target_trans=target_trans,
group_trans=grouping_trans,
marker_trans=marker_trans,
)
def starting_points(self) -> List[Dict[str, BaseTypes]]:
return [
{
"train_means": True,
"weight": "none",
"target_options": "stdnorm",
"min_maf": 0.05,
"marker_preprocessor": "maf",
"feature_selector": "passthrough",
"conv_nlayers": 2,
"conv_filters": 1,
"conv_kernel_size": 3,
"conv_strides": 2,
"conv_l1": 1e-50,
"conv_l2": 1e-50,
"conv_activation": "linear",
"conv_use_bn": False,
"embed_nunits": 10,
"marker_embed_nlayers": 1,
"marker_embed0_activation": "linear",
"marker_embed_adaptive_l1": False,
"marker_embed0_dropout_rate": 0.5,
"marker_embed0_l1": 1e-50,
"marker_embed0_l2": 1e-50,
"env_embed_nlayers": 1,
"env_embed0_activation": "linear",
"env_embed0_dropout_rate": 0.0,
"env_embed0_l2": 1e-50,
"combiner": "add",
"postembed_nlayers": 0,
"postembed_dropout_rate": 0.2,
"postembed_l1": 1e-50,
"postembed_l2": 1e-50,
"use_rank_loss": False,
"marker_embed_regularizer": "none",
"env_embed_regularizer": "none",
},
{
"train_means": True,
"weight": "none",
"target_options": "stdnorm",
"min_maf": 0.05,
"marker_preprocessor": "maf",
"feature_selector": "passthrough",
"conv_nlayers": 2,
"conv_filters": 1,
"conv_kernel_size": 3,
"conv_strides": 2,
"conv_l1": 1e-50,
"conv_l2": 1e-50,
"conv_activation": "linear",
"conv_use_bn": False,
"embed_nunits": 10,
"marker_embed_nlayers": 1,
"marker_embed0_activation": "linear",
"marker_embed_adaptive_l1": False,
"marker_embed0_dropout_rate": 0.5,
"marker_embed0_l1": 1e-50,
"marker_embed0_l2": 1e-50,
"env_embed_nlayers": 1,
"env_embed0_activation": "linear",
"env_embed0_dropout_rate": 0.0,
"env_embed0_l2": 1e-50,
"combiner": "add",
"postembed_nlayers": 1,
"postembed_nunits": 10,
"postembed_dropout_rate": 0.2,
"postembed_l1": 1e-50,
"postembed_l2": 1e-50,
"use_rank_loss": False,
"marker_embed_regularizer": "none",
"env_embed_regularizer": "none",
},
{
"train_means": True,
"weight": "none",
"target_options": "stdnorm",
"min_maf": 0.05,
"marker_preprocessor": "maf",
"feature_selector": "passthrough",
"conv_nlayers": 2,
"conv_filters": 1,
"conv_kernel_size": 3,
"conv_strides": 2,
"conv_l1": 1e-50,
"conv_l2": 1e-50,
"conv_activation": "linear",
"conv_use_bn": False,
"embed_nunits": 10,
"marker_embed_nlayers": 1,
"marker_embed0_activation": "linear",
"marker_embed_adaptive_l1": True,
"marker_embed_adaptive_l1_rate": 1e-3,
"marker_embed_adaptive_l2_rate": 1e-9,
"marker_embed0_dropout_rate": 0.5,
"marker_embed0_l1": 1e-50,
"marker_embed0_l2": 1e-50,
"env_embed_nlayers": 1,
"env_embed0_activation": "linear",
"env_embed0_dropout_rate": 0.0,
"env_embed0_l2": 1e-50,
"combiner": "add",
"postembed_nlayers": 0,
"postembed_dropout_rate": 0.2,
"postembed_l1": 1e-50,
"postembed_l2": 1e-50,
"use_rank_loss": False,
"marker_embed_regularizer": "semihard",
"marker_semihard_loss": 0.5,
"env_embed_regularizer": "none",
},
]
class BGLRWrapper(object):
def __init__(
self,
fs_model,
add_trans,
marker_model="BRR",
grouping_model="FIXED",
interaction_model="RKHS",
target_trans=None,
group_trans=None,
dom_trans=None,
epi_trans=None,
):
self.fs_model = fs_model
self.marker_model = marker_model
self.grouping_model = grouping_model
self.interaction_model = interaction_model
self.target_trans = target_trans
self.group_trans = group_trans
self.add_trans = add_trans
self.dom_trans = dom_trans
self.epi_trans = epi_trans
return
def fit(self, X, y, sample_weight=None, individuals=None, **kwargs):
X_markers_, X_grouping_ = X
X_markers = np.array(X_markers_)
if X_grouping_ is not None:
X_grouping = np.array(X_grouping_)
else:
X_grouping = None
del X_markers_, X_grouping_
y_ = np.array(y)
if len(y_.shape) == 1:
y_ = np.expand_dims(y_, -1)
elif len(y_.shape) > 2:
raise ValueError("We don't currently support multi-target")
self.markers = X_markers
self.individuals = individuals
self.groups = X_grouping
self.y = y_
return
def join_train_test(
self,
X: "Tuple[npt.ArrayLike, Optional[npt.ArrayLike]]"
) -> "Tuple[Tuple[np.ndarray, Optional[np.ndarray], Optional[np.ndarray]], np.ndarray]": # noqa
assert hasattr(self, "y")
X_markers_, X_grouping_ = X
X_markers = np.array(X_markers_)
n_predict = X_markers.shape[0]
X_markers = np.concatenate([self.markers, X_markers])
if self.individuals is not None:
m = len(self.individuals) + 1
individuals = np.concatenate([
self.individuals,
np.arange(m, m + n_predict)
])
else:
individuals = None
if X_grouping_ is not None:
X_grouping: Optional[np.ndarray] = np.array(X_grouping_)
X_grouping = np.concatenate([self.groups, X_grouping])
else:
assert self.groups is None
X_grouping = None
del X_markers_, X_grouping_
# Artificially create a censored dataset for the test samples.
y = np.concatenate([
self.y,
np.expand_dims(np.full(n_predict, np.nan), -1)
])
return (X_markers, X_grouping, individuals), y
def run_bglr( # noqa
self,
X: "Tuple[npt.ArrayLike, Optional[npt.ArrayLike], Optional[npt.ArrayLike]]", # noqa
y: "npt.ArrayLike"
) -> "np.ndarray":
import rpy2.robjects as ro
from rpy2.robjects.packages import importr
from rpy2.robjects import numpy2ri
numpy2ri.activate()
X_markers_, X_grouping_, X_individuals_ = X
X_markers = np.array(X_markers_)
if self.fs_model is not None:
X_markers = self.fs_model.fit_transform(X_markers, y)
if X_grouping_ is not None:
X_grouping: Optional[np.ndarray] = np.array(X_grouping_)
else:
assert self.groups is None
X_grouping = None
# if X_individuals_ is None:
# individuals = np.arange(X.shape[0])
# else:
# individuals = np.array(X_individuals_)
del X_markers_, X_grouping_, X_individuals_
if self.target_trans is not None:
y_ = self.target_trans.fit_transform(
y,
)
else:
y_ = y
if (X_grouping is not None) and (self.group_trans is not None):
X_grouping = self.group_trans.fit_transform(X_grouping)
BGLR = importr("BGLR")
ETA = []
X_markers = self.add_trans.fit_transform(
X_markers,
y=y_,
)
if self.marker_model == "RKHS":
ETA.append(
ro.ListVector({"K": X_markers, "model": self.marker_model})
)
else:
ETA.append(
ro.ListVector({"X": X_markers, "model": self.marker_model})
)
if self.dom_trans is not None:
X_dom = self.dom_trans.fit_transform(
X_markers,
y=y_,
)
ETA.append(
ro.ListVector({"K": X_dom, "model": "RKHS"})
)
if self.epi_trans is not None:
X_epi = self.epi_trans.fit_transform(
X_markers,
y=y_,
)
ETA.append(
ro.ListVector({"K": X_epi, "model": "RKHS"})
)
if X_grouping is not None:
ETA.append(ro.ListVector({
"X": X_grouping,
"model": self.grouping_model
}))
if (X_grouping is not None) and (self.interaction_model != "none"):
X_trans = (
(X_markers - X_markers.mean(axis=0)) / X_markers.std(axis=0)
)
X_trans = X_trans.dot(X_trans.T) / X_trans.shape[1]
ETA.append(ro.ListVector({
"K": X_grouping.dot(X_grouping.T) * X_trans,
"model": self.interaction_model
}))
results = BGLR.BGLR(
y=y_,
ETA=ETA,
nIter=10000,
burnIn=1000,
response_type="continuous",
verbose=False
)
preds = BGLR.predict_BGLR(results)
if len(preds.shape) == 1:
preds = np.expand_dims(preds, -1)
if self.target_trans is not None:
preds = self.target_trans.inverse_transform(
preds,
)
numpy2ri.deactivate()
return preds
def predict_all(self, X: "Tuple[npt.ArrayLike, Optional[npt.ArrayLike]]"):
(X_markers, X_grouping, individuals), y = self.join_train_test(X)
preds = self.run_bglr((X_markers, X_grouping, individuals), y)
return preds
def predict(self, X: "Tuple[npt.ArrayLike, Optional[npt.ArrayLike]]"):
X_markers_, X_grouping_ = X
n_predict = np.array(X_markers_).shape[0]
(X_markers, X_grouping, individuals), y = self.join_train_test(X)
preds = self.run_bglr((X_markers, X_grouping, individuals), y)
return preds[-n_predict:]
class BGLRModel(BGLRBaseModel):
use_weights: bool = False
def sample_params(self, trial: "optuna.Trial") -> Dict[str, Any]:
params = self.sample_preprocessing_params(
trial,
target_options=["stdnorm", "quantile"],
marker_options=["maf", "noia_add"],
feature_selection_options=["passthrough", "relief"],
grouping_options=["onehot"],
)
if params["marker_preprocessor"] == "noia_add":
params["marker_model"] = "RKHS"
else:
params["marker_model"] = trial.suggest_categorical(
"marker_model",
["BRR", "BayesA", "BayesB", "BayesC", "BL", "RKHS"]
)
if len(self.grouping_columns) > 0:
params.update({
"grouping_model": trial.suggest_categorical(
"grouping_model",
["FIXED", "BRR", "BayesA", "BayesB", "BayesC", "BL"]
),
"interaction_model": trial.suggest_categorical(
"interaction_model",
["none", "RHKS"]
)
})
return params
def model(self, params: Dict[str, Any]):
(
target_trans,
feature_selector,
gmarkers,
dmarkers,
emarkers,
grouping
) = self.sample_preprocessing_model(params)
return BGLRWrapper(
fs_model=feature_selector,
add_trans=gmarkers,
grouping_model=params["grouping_model"],
interaction_model=params["interaction_model"],
target_trans=target_trans,
group_trans=grouping,
dom_trans=dmarkers,
epi_trans=emarkers
)
def starting_points(self) -> List[Dict[str, BaseTypes]]:
return []
| 34.053886
| 100
| 0.498438
| 8,968
| 98,586
| 5.197814
| 0.048952
| 0.04016
| 0.026988
| 0.016283
| 0.859828
| 0.84436
| 0.832132
| 0.82546
| 0.81542
| 0.809199
| 0
| 0.021061
| 0.39461
| 98,586
| 2,894
| 101
| 34.065653
| 0.759965
| 0.007597
| 0
| 0.749216
| 0
| 0.000392
| 0.208171
| 0.058345
| 0
| 0
| 0
| 0
| 0.011364
| 1
| 0.02116
| false
| 0.024295
| 0.025862
| 0.005486
| 0.079937
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
fc6093ebfc76230a86bf818dfdc49a66d237cb60
| 2,851
|
py
|
Python
|
tools/KMS.py
|
C-H-coder-team/os-tool
|
22e175f8f3959c9e7406136b5275e2e96b7e788c
|
[
"MIT"
] | null | null | null |
tools/KMS.py
|
C-H-coder-team/os-tool
|
22e175f8f3959c9e7406136b5275e2e96b7e788c
|
[
"MIT"
] | null | null | null |
tools/KMS.py
|
C-H-coder-team/os-tool
|
22e175f8f3959c9e7406136b5275e2e96b7e788c
|
[
"MIT"
] | null | null | null |
#KMS_activation_windows10_tools
#MIT Licenses
#By Lijun_Network_Studio
#Made by fanjun
import os
def kmswin10(con):
cmd1='slmgr /ipk '
cmd2='slmgr /skms kms.03k.org'
cmd3='slmgr /ato'
key1='NW6C2-QMPVW-D7KKK-3GKT6-VCFB2'
key2='M7XTQ-FN8P6-TTKYV-9D4CC-J462D'
key3='DCPHK-NFMTC-H88MJ-PFHPY-QJ4BJ'
key4='NPPR9-FWDCX-D2C8J-H872K-2YT43'
key5='W269N-WFGWX-YVC9B-4J6C9-T83GX'
key6='37GNV-YCQVD-38XP9-T848R-FC2HD'
if con=='1':
res1 = os.popen(cmd1+key1)
output_str1 = res1.read()
print(output_str1)
print('密钥安装完毕!')
res2 = os.popen(cmd2)
output_str2 = res2.read()
print(output_str2)
print('KMS服务器已指定kms.03k.org')
res3 = os.popen(cmd3)
output_str3 = res3.read()
print(output_str3)
print('安装完毕!')
elif con=='2':
res1 = os.popen(cmd1+key2)
output_str1 = res1.read()
print(output_str1)
print('密钥安装完毕!')
res2 = os.popen(cmd2)
output_str2 = res2.read()
print(output_str2)
print('KMS服务器已指定kms.03k.org')
res3 = os.popen(cmd3)
output_str3 = res3.read()
print(output_str3)
print('安装完毕!')
elif con=='3':
res1 = os.popen(cmd1+key3)
output_str1 = res1.read()
print(output_str1)
print('密钥安装完毕!')
res2 = os.popen(cmd2)
output_str2 = res2.read()
print(output_str2)
print('KMS服务器已指定kms.03k.org')
res3 = os.popen(cmd3)
output_str3 = res3.read()
print(output_str3)
print('安装完毕!')
elif con=='4':
res1 = os.popen(cmd1+key4)
output_str1 = res1.read()
print(output_str1)
print('密钥安装完毕!')
res2 = os.popen(cmd2)
output_str2 = res2.read()
print(output_str2)
print('KMS服务器已指定kms.03k.org')
res3 = os.popen(cmd3)
output_str3 = res3.read()
print(output_str3)
print('安装完毕!')
elif con=='5':
res1 = os.popen(cmd1+key5)
output_str1 = res1.read()
print(output_str1)
print('密钥安装完毕!')
res2 = os.popen(cmd2)
output_str2 = res2.read()
print(output_str2)
print('KMS服务器已指定kms.03k.org')
res3 = os.popen(cmd3)
output_str3 = res3.read()
print(output_str3)
print('安装完毕!')
elif con=='6':
res1 = os.popen(cmd1+key6)
output_str1 = res1.read()
print(output_str1)
print('密钥安装完毕!')
res2 = os.popen(cmd2)
output_str2 = res2.read()
print(output_str2)
print('KMS服务器已指定kms.03k.org')
res3 = os.popen(cmd3)
output_str3 = res3.read()
print(output_str3)
print('安装完毕!')
| 27.95098
| 41
| 0.541915
| 336
| 2,851
| 4.47619
| 0.247024
| 0.083777
| 0.179521
| 0.05984
| 0.709441
| 0.709441
| 0.709441
| 0.709441
| 0.709441
| 0.709441
| 0
| 0.090104
| 0.326552
| 2,851
| 102
| 42
| 27.95098
| 0.693229
| 0.02771
| 0
| 0.741573
| 0
| 0
| 0.155922
| 0.065217
| 0
| 0
| 0
| 0
| 0
| 1
| 0.011236
| false
| 0
| 0.011236
| 0
| 0.022472
| 0.404494
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
|
0
| 7
|
fc809097cb8f03f03179bc6a0a8e32a1f6498567
| 23,049
|
py
|
Python
|
monitoring/prober/scd/test_operation_simple.py
|
pratibhagupta2109/dss
|
88affd43dd3b96f116d56faa11813a0718a6889e
|
[
"Apache-2.0"
] | null | null | null |
monitoring/prober/scd/test_operation_simple.py
|
pratibhagupta2109/dss
|
88affd43dd3b96f116d56faa11813a0718a6889e
|
[
"Apache-2.0"
] | null | null | null |
monitoring/prober/scd/test_operation_simple.py
|
pratibhagupta2109/dss
|
88affd43dd3b96f116d56faa11813a0718a6889e
|
[
"Apache-2.0"
] | null | null | null |
"""Basic Operation tests:
- make sure the Operation doesn't exist with get or query
- create the Operation with a 60 minute length
- get by ID
- search with earliest_time and latest_time
- mutate
- delete
"""
import datetime
from monitoring.monitorlib.infrastructure import default_scope
from monitoring.monitorlib import scd
from monitoring.monitorlib.scd import SCOPE_SC, SCOPE_CI, SCOPE_CM
from monitoring.monitorlib.testing import assert_datetimes_are_equal
from monitoring.prober.infrastructure import for_api_versions, register_resource_type
BASE_URL = 'https://example.com/uss'
OP_TYPE = register_resource_type(9, 'Operational intent')
@for_api_versions(scd.API_0_3_5)
def test_ensure_clean_workspace_v5(ids, scd_api, scd_session):
resp = scd_session.get('/operation_references/{}'.format(ids(OP_TYPE)), scope=SCOPE_SC)
if resp.status_code == 200:
resp = scd_session.delete('/operation_references/{}'.format(ids(OP_TYPE)), scope=SCOPE_SC)
assert resp.status_code == 200, resp.content
elif resp.status_code == 404:
# As expected.
pass
else:
assert False, resp.content
@for_api_versions(scd.API_0_3_15)
def test_ensure_clean_workspace_v15(ids, scd_api, scd_session):
resp = scd_session.get('/operational_intent_references/{}'.format(ids(OP_TYPE)), scope=SCOPE_SC)
if resp.status_code == 200:
resp = scd_session.delete('/operational_intent_references/{}'.format(ids(OP_TYPE)), scope=SCOPE_SC)
assert resp.status_code == 200, resp.content
elif resp.status_code == 404:
# As expected.
pass
else:
assert False, resp.content
def _make_op1_request():
time_start = datetime.datetime.utcnow() + datetime.timedelta(minutes=20)
time_end = time_start + datetime.timedelta(minutes=60)
return {
'extents': [scd.make_vol4(time_start, time_end, 0, 120, scd.make_circle(-56, 178, 50))],
'old_version': 0,
'state': 'Accepted',
'uss_base_url': BASE_URL,
'new_subscription': {
'uss_base_url': BASE_URL,
'notify_for_constraints': False
}
}
# Preconditions: None
# Mutations: None
@for_api_versions(scd.API_0_3_5)
@default_scope(SCOPE_SC)
def test_op_does_not_exist_get_v5(ids, scd_api, scd_session):
resp = scd_session.get('/operation_references/{}'.format(ids(OP_TYPE)))
assert resp.status_code == 404, resp.content
# Preconditions: None
# Mutations: None
@for_api_versions(scd.API_0_3_15)
@default_scope(SCOPE_SC)
def test_op_does_not_exist_get_v15(ids, scd_api, scd_session):
resp = scd_session.get('/operational_intent_references/{}'.format(ids(OP_TYPE)))
assert resp.status_code == 404, resp.content
# Preconditions: None
# Mutations: None
@for_api_versions(scd.API_0_3_5)
@default_scope(SCOPE_SC)
def test_op_does_not_exist_query_v5(ids, scd_api, scd_session):
time_now = datetime.datetime.utcnow()
end_time = time_now + datetime.timedelta(hours=1)
resp = scd_session.post('/operation_references/query', json={
'area_of_interest': scd.make_vol4(time_now, end_time, 0, 5000, scd.make_circle(-56, 178, 300))
}, scope=SCOPE_SC)
assert resp.status_code == 200, resp.content
assert ids(OP_TYPE) not in [op['id'] for op in resp.json().get('operation_references', [])]
resp = scd_session.post('/operation_references/query', json={
'area_of_interest': scd.make_vol4(time_now, end_time, 0, 5000, scd.make_circle(-56, 178, 300))
}, scope=SCOPE_CI)
assert resp.status_code == 403, resp.content
resp = scd_session.post('/operation_references/query', json={
'area_of_interest': scd.make_vol4(time_now, end_time, 0, 5000, scd.make_circle(-56, 178, 300))
}, scope=SCOPE_CM)
assert resp.status_code == 403, resp.content
# Preconditions: None
# Mutations: None
@for_api_versions(scd.API_0_3_15)
@default_scope(SCOPE_SC)
def test_op_does_not_exist_query_v15(ids, scd_api, scd_session):
time_now = datetime.datetime.utcnow()
end_time = time_now + datetime.timedelta(hours=1)
resp = scd_session.post('/operational_intent_references/query', json={
'area_of_interest': scd.make_vol4(time_now, end_time, 0, 5000, scd.make_circle(-56, 178, 300))
}, scope=SCOPE_SC)
assert resp.status_code == 200, resp.content
assert ids(OP_TYPE) not in [op['id'] for op in resp.json().get('operational_intent_reference', [])]
resp = scd_session.post('/operational_intent_references/query', json={
'area_of_interest': scd.make_vol4(time_now, end_time, 0, 5000, scd.make_circle(-56, 178, 300))
}, scope=SCOPE_CI)
assert resp.status_code == 403, resp.content
resp = scd_session.post('/operational_intent_references/query', json={
'area_of_interest': scd.make_vol4(time_now, end_time, 0, 5000, scd.make_circle(-56, 178, 300))
}, scope=SCOPE_CM)
assert resp.status_code == 403, resp.content
# Preconditions: None
# Mutations: None
@for_api_versions(scd.API_0_3_5)
@default_scope(SCOPE_SC)
def test_create_op_single_extent_v5(ids, scd_api, scd_session):
req = _make_op1_request()
req['extents'] = req['extents'][0]
resp = scd_session.put('/operation_references/{}'.format(ids(OP_TYPE)), json=req)
assert resp.status_code == 400, resp.content
# Preconditions: None
# Mutations: None
@for_api_versions(scd.API_0_3_15)
@default_scope(SCOPE_SC)
def test_create_op_single_extent_v15(ids, scd_api, scd_session):
req = _make_op1_request()
req['extents'] = req['extents'][0]
resp = scd_session.put('/operational_intent_references/{}'.format(ids(OP_TYPE)), json=req)
assert resp.status_code == 400, resp.content
# Preconditions: None
# Mutations: None
@for_api_versions(scd.API_0_3_5)
@default_scope(SCOPE_SC)
def test_create_op_missing_time_start_v5(ids, scd_api, scd_session):
req = _make_op1_request()
del req['extents'][0]['time_start']
resp = scd_session.put('/operation_references/{}'.format(ids(OP_TYPE)), json=req)
assert resp.status_code == 400, resp.content
# Preconditions: None
# Mutations: None
@for_api_versions(scd.API_0_3_15)
@default_scope(SCOPE_SC)
def test_create_op_missing_time_start_v15(ids, scd_api, scd_session):
req = _make_op1_request()
del req['extents'][0]['time_start']
resp = scd_session.put('/operational_intent_references/{}'.format(ids(OP_TYPE)), json=req)
assert resp.status_code == 400, resp.content
# Preconditions: None
# Mutations: None
@for_api_versions(scd.API_0_3_5)
@default_scope(SCOPE_SC)
def test_create_op_missing_time_end_v5(ids, scd_api, scd_session):
req = _make_op1_request()
del req['extents'][0]['time_end']
resp = scd_session.put('/operation_references/{}'.format(ids(OP_TYPE)), json=req)
assert resp.status_code == 400, resp.content
# Preconditions: None
# Mutations: None
@for_api_versions(scd.API_0_3_15)
@default_scope(SCOPE_SC)
def test_create_op_missing_time_end_v15(ids, scd_api, scd_session):
req = _make_op1_request()
del req['extents'][0]['time_end']
resp = scd_session.put('/operational_intent_references/{}'.format(ids(OP_TYPE)), json=req)
assert resp.status_code == 400, resp.content
# Preconditions: None
# Mutations: Operation ids(OP_ID) created by scd_session user
@for_api_versions(scd.API_0_3_5)
def test_create_op_v5(ids, scd_api, scd_session):
req = _make_op1_request()
resp = scd_session.put('/operation_references/{}'.format(ids(OP_TYPE)), json=req, scope=SCOPE_CI)
assert resp.status_code == 403, resp.content
resp = scd_session.put('/operation_references/{}'.format(ids(OP_TYPE)), json=req, scope=SCOPE_CM)
assert resp.status_code == 403, resp.content
resp = scd_session.put('/operation_references/{}'.format(ids(OP_TYPE)), json=req, scope=SCOPE_SC)
assert resp.status_code == 200, resp.content
data = resp.json()
op = data['operation_reference']
assert op['id'] == ids(OP_TYPE)
assert op['uss_base_url'] == BASE_URL
assert_datetimes_are_equal(op['time_start']['value'], req['extents'][0]['time_start']['value'])
assert_datetimes_are_equal(op['time_end']['value'], req['extents'][0]['time_end']['value'])
assert op['version'] == 1
assert 'subscription_id' in op
assert 'state' not in op
# Preconditions: None
# Mutations: Operation ids(OP_ID) created by scd_session user
@for_api_versions(scd.API_0_3_15)
def test_create_op_v15(ids, scd_api, scd_session):
req = _make_op1_request()
resp = scd_session.put('/operational_intent_references/{}'.format(ids(OP_TYPE)), json=req, scope=SCOPE_CI)
assert resp.status_code == 403, resp.content
resp = scd_session.put('/operational_intent_references/{}'.format(ids(OP_TYPE)), json=req, scope=SCOPE_CM)
assert resp.status_code == 403, resp.content
resp = scd_session.put('/operational_intent_references/{}'.format(ids(OP_TYPE)), json=req, scope=SCOPE_SC)
assert resp.status_code == 200, resp.content
data = resp.json()
op = data['operation_reference']
assert op['id'] == ids(OP_TYPE)
assert op['uss_base_url'] == BASE_URL
assert_datetimes_are_equal(op['time_start']['value'], req['extents'][0]['time_start']['value'])
assert_datetimes_are_equal(op['time_end']['value'], req['extents'][0]['time_end']['value'])
assert op['version'] == 1
assert 'subscription_id' in op
assert 'state' not in op
# Preconditions: Operation ids(OP_ID) created by scd_session user
# Mutations: None
@for_api_versions(scd.API_0_3_5)
def test_get_op_by_id_v5(ids, scd_api, scd_session):
resp = scd_session.get('/operation_references/{}'.format(ids(OP_TYPE)), scope=SCOPE_CI)
assert resp.status_code == 403, resp.content
resp = scd_session.get('/operation_references/{}'.format(ids(OP_TYPE)), scope=SCOPE_CM)
assert resp.status_code == 403, resp.content
resp = scd_session.get('/operation_references/{}'.format(ids(OP_TYPE)), scope=SCOPE_SC)
assert resp.status_code == 200, resp.content
data = resp.json()
op = data['operation_reference']
assert op['id'] == ids(OP_TYPE)
assert op['uss_base_url'] == BASE_URL
assert op['version'] == 1
assert 'state' not in op
# Preconditions: Operation ids(OP_ID) created by scd_session user
# Mutations: None
@for_api_versions(scd.API_0_3_15)
def test_get_op_by_id_v15(ids, scd_api, scd_session):
resp = scd_session.get('/operational_intent_references/{}'.format(ids(OP_TYPE)), scope=SCOPE_CI)
assert resp.status_code == 403, resp.content
resp = scd_session.get('/operational_intent_references/{}'.format(ids(OP_TYPE)), scope=SCOPE_CM)
assert resp.status_code == 403, resp.content
resp = scd_session.get('/operational_intent_references/{}'.format(ids(OP_TYPE)), scope=SCOPE_SC)
assert resp.status_code == 200, resp.content
data = resp.json()
op = data['operation_reference']
assert op['id'] == ids(OP_TYPE)
assert op['uss_base_url'] == BASE_URL
assert op['version'] == 1
assert 'state' not in op
# Preconditions: None, though preferably Operation ids(OP_ID) created by scd_session user
# Mutations: None
@for_api_versions(scd.API_0_3_5)
@default_scope(SCOPE_SC)
def test_get_op_by_search_missing_params_v5(scd_api, scd_session):
resp = scd_session.post('/operation_references/query')
assert resp.status_code == 400, resp.content
# Preconditions: None, though preferably Operation ids(OP_ID) created by scd_session user
# Mutations: None
@for_api_versions(scd.API_0_3_15)
@default_scope(SCOPE_SC)
def test_get_op_by_search_missing_params_v15(scd_api, scd_session):
resp = scd_session.post('/operational_intent_references/query')
assert resp.status_code == 400, resp.content
# Preconditions: Operation ids(OP_ID) created by scd_session user
# Mutations: None
@for_api_versions(scd.API_0_3_5)
@default_scope(SCOPE_SC)
def test_get_op_by_search_v5(ids, scd_api, scd_session):
resp = scd_session.post('/operation_references/query', json={
'area_of_interest': scd.make_vol4(None, None, 0, 5000, scd.make_circle(-56, 178, 300))
})
assert resp.status_code == 200, resp.content
assert ids(OP_TYPE) in [x['id'] for x in resp.json().get('operation_references', [])]
# Preconditions: Operation ids(OP_ID) created by scd_session user
# Mutations: None
@for_api_versions(scd.API_0_3_15)
@default_scope(SCOPE_SC)
def test_get_op_by_search_v15(ids, scd_api, scd_session):
resp = scd_session.post('/operational_intent_references/query', json={
'area_of_interest': scd.make_vol4(None, None, 0, 5000, scd.make_circle(-56, 178, 300))
})
assert resp.status_code == 200, resp.content
assert ids(OP_TYPE) in [x['id'] for x in resp.json().get('operational_intent_reference', [])]
# Preconditions: Operation ids(OP_ID) created by scd_session user
# Mutations: None
@for_api_versions(scd.API_0_3_5)
@default_scope(SCOPE_SC)
def test_get_op_by_search_earliest_time_included_v5(ids, scd_api, scd_session):
earliest_time = datetime.datetime.utcnow() + datetime.timedelta(minutes=59)
resp = scd_session.post('/operation_references/query', json={
'area_of_interest': scd.make_vol4(earliest_time, None, 0, 5000, scd.make_circle(-56, 178, 300))
})
assert resp.status_code == 200, resp.content
assert ids(OP_TYPE) in [x['id'] for x in resp.json()['operation_references']]
# Preconditions: Operation ids(OP_ID) created by scd_session user
# Mutations: None
@for_api_versions(scd.API_0_3_15)
@default_scope(SCOPE_SC)
def test_get_op_by_search_earliest_time_included_v15(ids, scd_api, scd_session):
earliest_time = datetime.datetime.utcnow() + datetime.timedelta(minutes=59)
resp = scd_session.post('/operational_intent_references/query', json={
'area_of_interest': scd.make_vol4(earliest_time, None, 0, 5000, scd.make_circle(-56, 178, 300))
})
assert resp.status_code == 200, resp.content
assert ids(OP_TYPE) in [x['id'] for x in resp.json()['operational_intent_reference']]
# Preconditions: Operation ids(OP_ID) created by scd_session user
# Mutations: None
@for_api_versions(scd.API_0_3_5)
@default_scope(SCOPE_SC)
def test_get_op_by_search_earliest_time_excluded_v5(ids, scd_api, scd_session):
earliest_time = datetime.datetime.utcnow() + datetime.timedelta(minutes=81)
resp = scd_session.post('/operation_references/query', json={
'area_of_interest': scd.make_vol4(earliest_time, None, 0, 5000, scd.make_circle(-56, 178, 300))
})
assert resp.status_code == 200, resp.content
assert ids(OP_TYPE) not in [x['id'] for x in resp.json()['operation_references']]
# Preconditions: Operation ids(OP_ID) created by scd_session user
# Mutations: None
@for_api_versions(scd.API_0_3_15)
@default_scope(SCOPE_SC)
def test_get_op_by_search_earliest_time_excluded_v15(ids, scd_api, scd_session):
earliest_time = datetime.datetime.utcnow() + datetime.timedelta(minutes=81)
resp = scd_session.post('/operational_intent_references/query', json={
'area_of_interest': scd.make_vol4(earliest_time, None, 0, 5000, scd.make_circle(-56, 178, 300))
})
assert resp.status_code == 200, resp.content
assert ids(OP_TYPE) not in [x['id'] for x in resp.json()['operational_intent_reference']]
# Preconditions: Operation ids(OP_ID) created by scd_session user
# Mutations: None
@for_api_versions(scd.API_0_3_5)
@default_scope(SCOPE_SC)
def test_get_op_by_search_latest_time_included_v5(ids, scd_api, scd_session):
latest_time = datetime.datetime.utcnow() + datetime.timedelta(minutes=20)
resp = scd_session.post('/operation_references/query', json={
'area_of_interest': scd.make_vol4(None, latest_time, 0, 5000, scd.make_circle(-56, 178, 300))
})
assert resp.status_code == 200, resp.content
assert ids(OP_TYPE) in [x['id'] for x in resp.json()['operation_references']]
# Preconditions: Operation ids(OP_ID) created by scd_session user
# Mutations: None
@for_api_versions(scd.API_0_3_15)
@default_scope(SCOPE_SC)
def test_get_op_by_search_latest_time_included_v15(ids, scd_api, scd_session):
latest_time = datetime.datetime.utcnow() + datetime.timedelta(minutes=20)
resp = scd_session.post('/operational_intent_references/query', json={
'area_of_interest': scd.make_vol4(None, latest_time, 0, 5000, scd.make_circle(-56, 178, 300))
})
assert resp.status_code == 200, resp.content
assert ids(OP_TYPE) in [x['id'] for x in resp.json()['operational_intent_references']]
# Preconditions: Operation ids(OP_ID) created by scd_session user
# Mutations: None
@for_api_versions(scd.API_0_3_5)
@default_scope(SCOPE_SC)
def test_get_op_by_search_latest_time_excluded_v5(ids, scd_api, scd_session):
latest_time = datetime.datetime.utcnow() + datetime.timedelta(minutes=1)
resp = scd_session.post('/operation_references/query', json={
'area_of_interest': scd.make_vol4(None, latest_time, 0, 5000, scd.make_circle(-56, 178, 300))
})
assert resp.status_code == 200, resp.content
assert ids(OP_TYPE) not in [x['id'] for x in resp.json()['operation_references']]
# Preconditions: Operation ids(OP_ID) created by scd_session user
# Mutations: None
@for_api_versions(scd.API_0_3_15)
@default_scope(SCOPE_SC)
def test_get_op_by_search_latest_time_excluded_v15(ids, scd_api, scd_session):
latest_time = datetime.datetime.utcnow() + datetime.timedelta(minutes=1)
resp = scd_session.post('/operational_intent_references/query', json={
'area_of_interest': scd.make_vol4(None, latest_time, 0, 5000, scd.make_circle(-56, 178, 300))
})
assert resp.status_code == 200, resp.content
assert ids(OP_TYPE) not in [x['id'] for x in resp.json()['operational_intent_references']]
# Preconditions: Operation ids(OP_ID) created by scd_session user
# Mutations: Operation ids(OP_ID) mutated to second version
@for_api_versions(scd.API_0_3_5)
@default_scope(SCOPE_SC)
def test_mutate_op_v5(ids, scd_api, scd_session):
# GET current op
resp = scd_session.get('/operation_references/{}'.format(ids(OP_TYPE)))
assert resp.status_code == 200, resp.content
existing_op = resp.json().get('operation_reference', None)
assert existing_op is not None
req = _make_op1_request()
req = {
'key': [existing_op["ovn"]],
'extents': req['extents'],
'old_version': existing_op['version'],
'state': 'Activated',
'uss_base_url': 'https://example.com/uss2',
'subscription_id': existing_op['subscription_id']
}
resp = scd_session.put('/operation_references/{}'.format(ids(OP_TYPE)), json=req, scope=SCOPE_CI)
assert resp.status_code == 403, resp.content
resp = scd_session.put('/operation_references/{}'.format(ids(OP_TYPE)), json=req, scope=SCOPE_CM)
assert resp.status_code == 403, resp.content
resp = scd_session.put('/operation_references/{}'.format(ids(OP_TYPE)), json=req, scope=SCOPE_SC)
assert resp.status_code == 200, resp.content
data = resp.json()
op = data['operation_reference']
assert op['id'] == ids(OP_TYPE)
assert op['uss_base_url'] == 'https://example.com/uss2'
assert op['version'] == 2
assert op['subscription_id'] == existing_op['subscription_id']
assert 'state' not in op
# Preconditions: Operation ids(OP_ID) created by scd_session user
# Mutations: Operation ids(OP_ID) mutated to second version
@for_api_versions(scd.API_0_3_15)
@default_scope(SCOPE_SC)
def test_mutate_op_v15(ids, scd_api, scd_session):
# GET current op
resp = scd_session.get('/operational_intent_references/{}'.format(ids(OP_TYPE)))
assert resp.status_code == 200, resp.content
existing_op = resp.json().get('operation_reference', None)
assert existing_op is not None
req = _make_op1_request()
req = {
'key': [existing_op["ovn"]],
'extents': req['extents'],
'old_version': existing_op['version'],
'state': 'Activated',
'uss_base_url': 'https://example.com/uss2',
'subscription_id': existing_op['subscription_id']
}
resp = scd_session.put(
'/operational_intent_references/{}'.format(ids(OP_TYPE)), json=req, scope=SCOPE_CI)
assert resp.status_code == 403, resp.content
resp = scd_session.put(
'/operational_intent_references/{}'.format(ids(OP_TYPE)), json=req, scope=SCOPE_CM)
assert resp.status_code == 403, resp.content
resp = scd_session.put(
'/operational_intent_references/{}'.format(ids(OP_TYPE)), json=req, scope=SCOPE_SC)
assert resp.status_code == 200, resp.content
data = resp.json()
op = data['operation_reference']
assert op['id'] == ids(OP_TYPE)
assert op['uss_base_url'] == 'https://example.com/uss2'
assert op['version'] == 2
assert op['subscription_id'] == existing_op['subscription_id']
assert 'state' not in op
# Preconditions: Operation ids(OP_ID) mutated to second version
# Mutations: Operation ids(OP_ID) deleted
@for_api_versions(scd.API_0_3_5)
def test_delete_op_v5(ids, scd_api, scd_session):
resp = scd_session.delete('/operation_references/{}'.format(ids(OP_TYPE)), scope=SCOPE_CI)
assert resp.status_code == 403, resp.content
resp = scd_session.delete('/operation_references/{}'.format(ids(OP_TYPE)), scope=SCOPE_CM)
assert resp.status_code == 403, resp.content
resp = scd_session.delete('/operation_references/{}'.format(ids(OP_TYPE)), scope=SCOPE_SC)
assert resp.status_code == 200, resp.content
# Preconditions: Operation ids(OP_ID) mutated to second version
# Mutations: Operation ids(OP_ID) deleted
@for_api_versions(scd.API_0_3_15)
def test_delete_op_v15(ids, scd_api, scd_session):
resp = scd_session.delete('/operational_intent_references/{}'.format(ids(OP_TYPE)), scope=SCOPE_CI)
assert resp.status_code == 403, resp.content
resp = scd_session.delete('/operational_intent_references/{}'.format(ids(OP_TYPE)), scope=SCOPE_CM)
assert resp.status_code == 403, resp.content
resp = scd_session.delete('/operational_intent_references/{}'.format(ids(OP_TYPE)), scope=SCOPE_SC)
assert resp.status_code == 200, resp.content
# Preconditions: Operation ids(OP_ID) deleted
# Mutations: None
@for_api_versions(scd.API_0_3_5)
@default_scope(SCOPE_SC)
def test_get_deleted_op_by_id_v5(ids, scd_api, scd_session):
resp = scd_session.get('/operation_references/{}'.format(ids(OP_TYPE)))
assert resp.status_code == 404, resp.content
# Preconditions: Operation ids(OP_ID) deleted
# Mutations: None
@for_api_versions(scd.API_0_3_15)
@default_scope(SCOPE_SC)
def test_get_deleted_op_by_id_v15(ids, scd_api, scd_session):
resp = scd_session.get('/operational_intent_references/{}'.format(ids(OP_TYPE)))
assert resp.status_code == 404, resp.content
# Preconditions: Operation ids(OP_ID) deleted
# Mutations: None
@for_api_versions(scd.API_0_3_5)
@default_scope(SCOPE_SC)
def test_get_deleted_op_by_search_v5(ids, scd_api, scd_session):
resp = scd_session.post('/operation_references/query', json={
'area_of_interest': scd.make_vol4(None, None, 0, 5000, scd.make_circle(-56, 178, 300))
})
assert resp.status_code == 200, resp.content
assert ids(OP_TYPE) not in [x['id'] for x in resp.json()['operation_references']]
# Preconditions: Operation ids(OP_ID) deleted
# Mutations: None
@for_api_versions(scd.API_0_3_15)
@default_scope(SCOPE_SC)
def test_get_deleted_op_by_search_v15(ids, scd_api, scd_session):
resp = scd_session.post('/operational_intent_references/query', json={
'area_of_interest': scd.make_vol4(None, None, 0, 5000, scd.make_circle(-56, 178, 300))
})
assert resp.status_code == 200, resp.content
assert ids(OP_TYPE) not in [x['id'] for x in resp.json()['operational_intent_reference']]
| 39.332765
| 108
| 0.750488
| 3,559
| 23,049
| 4.541163
| 0.045518
| 0.070536
| 0.053706
| 0.071773
| 0.956689
| 0.949635
| 0.947779
| 0.942396
| 0.941406
| 0.938745
| 0
| 0.033552
| 0.114235
| 23,049
| 585
| 109
| 39.4
| 0.758082
| 0.114322
| 0
| 0.796954
| 0
| 0
| 0.170833
| 0.097914
| 0
| 0
| 0
| 0
| 0.27665
| 1
| 0.093909
| false
| 0.005076
| 0.015228
| 0
| 0.111675
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
fca77c2091e7ed8e0e6f2a3f7722bf486974e244
| 4,689
|
py
|
Python
|
ali_speech/callbacks.py
|
MatYoshr/alibabacloud-nls-python-sdk
|
5835af4821aa30067af3e4d5074d77ab58caae07
|
[
"Apache-2.0"
] | 234
|
2020-07-10T11:23:09.000Z
|
2022-03-31T09:41:40.000Z
|
ali_speech/callbacks.py
|
MatYoshr/alibabacloud-nls-python-sdk
|
5835af4821aa30067af3e4d5074d77ab58caae07
|
[
"Apache-2.0"
] | 9
|
2020-07-11T08:31:11.000Z
|
2022-03-01T04:30:08.000Z
|
ali_speech/callbacks.py
|
MatYoshr/alibabacloud-nls-python-sdk
|
5835af4821aa30067af3e4d5074d77ab58caae07
|
[
"Apache-2.0"
] | 23
|
2020-07-14T08:58:44.000Z
|
2022-03-17T06:38:10.000Z
|
# -*- coding: utf-8 -*-
"""
* Copyright 2015 Alibaba Group Holding 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
*
* 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.
"""
class SpeechRecognizerCallback:
"""
* @brief 调用start(), 成功与服务建立连接, sdk内部线程上报started事件
* @note 请勿在回调函数内部调用stop()操作
* @param message 服务返回的响应
* @return
"""
def on_started(self, message):
raise Exception('Not implemented!')
"""
* @brief 设置允许返回中间结果参数, sdk在接收到服务返回到中间结果时, sdk内部线程上报ResultChanged事件
* @note 请勿在回调函数内部调用stop()操作
* @param message 服务返回的响应
* @return
"""
def on_result_changed(self, message):
raise Exception('Not implemented!')
"""
* @brief sdk在接收到服务返回识别结束消息时, sdk内部线程上报Completed事件
* @note 上报Completed事件之后, SDK内部会关闭识别连接通道. 此时调用send()会返回-1, 请停止发送.
* 请勿在回调函数内部调用stop()操作
* @param message 服务返回的响应
* @return
"""
def on_completed(self, message):
raise Exception('Not implemented!')
"""
* @brief 识别过程(包含start(), send(), stop())发生异常时, sdk内部线程上报TaskFailed事件
* @note 上报TaskFailed事件之后, SDK内部会关闭识别连接通道. 此时调用send()会返回-1, 请停止发送.
* 请勿在回调函数内部调用stop()操作
* @param message 服务返回的响应
* @return
"""
def on_task_failed(self, message):
raise Exception('Not implemented!')
"""
* @brief 识别结束或发生异常时,会关闭websocket连接通道
* @note 请勿在回调函数内部调用stop()操作
* @return
"""
def on_channel_closed(self):
raise Exception('Not implemented!')
class SpeechTranscriberCallback:
"""
* @brief 调用start(), 成功与服务建立连接, sdk内部线程上报started事件
* @note 请勿在回调函数内部调用stop()操作
* @param message 服务返回的响应
* @return
"""
def on_started(self, message):
raise Exception('Not implemented!')
"""
* @brief 设置允许返回中间结果参数, sdk在接收到服务返回到中间结果时, sdk内部线程上报ResultChanged事件
* @note 请勿在回调函数内部调用stop()操作
* @param message 服务返回的响应
* @return
"""
def on_result_changed(self, message):
raise Exception('Not implemented!')
"""
* @brief sdk在接收到服务返回的识别到一句话的开始, sdk内部线程上报SentenceBegin事件
* @note 该事件作为检测到一句话的开始,请勿在回调函数内部调用stop()操作
* @param message 服务返回的响应
* @return
"""
def on_sentence_begin(self, message):
raise Exception('Not implemented!')
"""
* @brief sdk在接收到服务返回的识别到一句话的开始, sdk内部线程上报SentenceBegin事件
* @note 该事件作为检测到一句话的开始,请勿在回调函数内部调用stop()操作
* @param message 服务返回的响应
* @return
"""
def on_sentence_end(self, message):
raise Exception('Not implemented!')
"""
* @brief sdk在接收到服务返回识别结束消息时, sdk内部线程上报Completed事件
* @note 上报Completed事件之后, SDK内部会关闭识别连接通道. 此时调用send()会返回-1, 请停止发送.
* 请勿在回调函数内部调用stop()操作
* @param message 服务返回的响应
* @return
"""
def on_completed(self, message):
raise Exception('Not implemented!')
"""
* @brief 识别过程(包含start(), send(), stop())发生异常时, sdk内部线程上报TaskFailed事件
* @note 上报TaskFailed事件之后, SDK内部会关闭识别连接通道. 此时调用send()会返回-1, 请停止发送.
* 请勿在回调函数内部调用stop()操作
* @param message 服务返回的响应
* @return
"""
def on_task_failed(self, message):
raise Exception('Not implemented!')
"""
* @brief 识别结束或发生异常时,会关闭websocket连接通道
* @note 请勿在回调函数内部调用stop()操作
* @return
"""
def on_channel_closed(self):
raise Exception('Not implemented!')
class SpeechSynthesizerCallback:
def on_binary_data_received(self, raw):
raise Exception('Not implemented!')
"""
* @brief sdk在接收到服务返回识别结束消息时, sdk内部线程上报Completed事件
* @note 上报Completed事件之后, SDK内部会关闭识别连接通道. 此时调用send()会返回-1, 请停止发送.
* 请勿在回调函数内部调用stop()操作
* @param message 服务返回的响应
* @return
"""
def on_completed(self, message):
raise Exception('Not implemented!')
"""
* @brief 识别过程(包含start(), send(), stop())发生异常时, sdk内部线程上报TaskFailed事件
* @note 上报TaskFailed事件之后, SDK内部会关闭识别连接通道. 此时调用send()会返回-1, 请停止发送.
* 请勿在回调函数内部调用stop()操作
* @param message 服务返回的响应
* @return
"""
def on_task_failed(self, message):
raise Exception('Not implemented!')
"""
* @brief 识别结束或发生异常时,会关闭websocket连接通道
* @note 请勿在回调函数内部调用stop()操作
* @return
"""
def on_channel_closed(self):
raise Exception('Not implemented!')
| 28.246988
| 75
| 0.649392
| 449
| 4,689
| 6.719376
| 0.280624
| 0.026516
| 0.090156
| 0.148492
| 0.807093
| 0.807093
| 0.807093
| 0.807093
| 0.807093
| 0.807093
| 0
| 0.004192
| 0.236938
| 4,689
| 165
| 76
| 28.418182
| 0.839016
| 0.179356
| 0
| 0.828571
| 0
| 0
| 0.169874
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.457143
| false
| 0
| 0
| 0
| 0.542857
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 9
|
5dad31562e1683adcf92f9458911e198f832cdb3
| 27,077
|
py
|
Python
|
dxm/lib/masking_api/api/user_api.py
|
experiortec/dxm-toolkit
|
b2ab6189e163c62fa8d7251cd533d2a36430d44a
|
[
"Apache-2.0"
] | 5
|
2018-08-23T15:47:05.000Z
|
2022-01-19T23:38:18.000Z
|
dxm/lib/masking_api/api/user_api.py
|
experiortec/dxm-toolkit
|
b2ab6189e163c62fa8d7251cd533d2a36430d44a
|
[
"Apache-2.0"
] | 59
|
2018-10-15T10:37:00.000Z
|
2022-03-22T20:49:25.000Z
|
dxm/lib/masking_api/api/user_api.py
|
experiortec/dxm-toolkit
|
b2ab6189e163c62fa8d7251cd533d2a36430d44a
|
[
"Apache-2.0"
] | 12
|
2019-03-08T19:59:13.000Z
|
2021-12-16T03:28:04.000Z
|
# coding: utf-8
"""
Masking API
Schema for the Masking Engine API # noqa: E501
OpenAPI spec version: 5.1.8
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility library
import six
from dxm.lib.masking_api.api_client import ApiClient
class UserApi(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
Ref: https://github.com/swagger-api/swagger-codegen
"""
def __init__(self, api_client=None):
if api_client is None:
api_client = ApiClient()
self.api_client = api_client
def create_user(self, body, **kwargs): # noqa: E501
"""Create user # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_user(body, async_req=True)
>>> result = thread.get()
:param async_req bool
:param User body: The user to create (required)
:return: User
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.create_user_with_http_info(body, **kwargs) # noqa: E501
else:
(data) = self.create_user_with_http_info(body, **kwargs) # noqa: E501
return data
def create_user_with_http_info(self, body, **kwargs): # noqa: E501
"""Create user # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_user_with_http_info(body, async_req=True)
>>> result = thread.get()
:param async_req bool
:param User body: The user to create (required)
:return: User
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['body'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method create_user" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'body' is set
if self.api_client.client_side_validation and ('body' not in params or
params['body'] is None): # noqa: E501
raise ValueError("Missing the required parameter `body` when calling `create_user`") # noqa: E501
collection_formats = {}
path_params = {}
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'body' in params:
body_params = params['body']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['api_key'] # noqa: E501
return self.api_client.call_api(
'/users', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='User', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def delete_user_by_id(self, user_id, **kwargs): # noqa: E501
"""Delete user by ID # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_user_by_id(user_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param int user_id: The ID of the user to delete (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_user_by_id_with_http_info(user_id, **kwargs) # noqa: E501
else:
(data) = self.delete_user_by_id_with_http_info(user_id, **kwargs) # noqa: E501
return data
def delete_user_by_id_with_http_info(self, user_id, **kwargs): # noqa: E501
"""Delete user by ID # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_user_by_id_with_http_info(user_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param int user_id: The ID of the user to delete (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['user_id'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method delete_user_by_id" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'user_id' is set
if self.api_client.client_side_validation and ('user_id' not in params or
params['user_id'] is None): # noqa: E501
raise ValueError("Missing the required parameter `user_id` when calling `delete_user_by_id`") # noqa: E501
collection_formats = {}
path_params = {}
if 'user_id' in params:
path_params['userId'] = params['user_id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['api_key'] # noqa: E501
return self.api_client.call_api(
'/users/{userId}', 'DELETE',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type=None, # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def forgotten_password_request(self, forgot_password, **kwargs): # noqa: E501
"""Send Reset password mail to the user # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.forgotten_password_request(forgot_password, async_req=True)
>>> result = thread.get()
:param async_req bool
:param ForgotPassword forgot_password: The username for which password has to be reset (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.forgotten_password_request_with_http_info(forgot_password, **kwargs) # noqa: E501
else:
(data) = self.forgotten_password_request_with_http_info(forgot_password, **kwargs) # noqa: E501
return data
def forgotten_password_request_with_http_info(self, forgot_password, **kwargs): # noqa: E501
"""Send Reset password mail to the user # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.forgotten_password_request_with_http_info(forgot_password, async_req=True)
>>> result = thread.get()
:param async_req bool
:param ForgotPassword forgot_password: The username for which password has to be reset (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['forgot_password'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method forgotten_password_request" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'forgot_password' is set
if self.api_client.client_side_validation and ('forgot_password' not in params or
params['forgot_password'] is None): # noqa: E501
raise ValueError("Missing the required parameter `forgot_password` when calling `forgotten_password_request`") # noqa: E501
collection_formats = {}
path_params = {}
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'forgot_password' in params:
body_params = params['forgot_password']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['api_key'] # noqa: E501
return self.api_client.call_api(
'/users/forgot-password', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type=None, # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def get_all_users(self, **kwargs): # noqa: E501
"""Get all users # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_all_users(async_req=True)
>>> result = thread.get()
:param async_req bool
:param int page_number: The page number for which to get users. This will default to the first page if excluded
:param int page_size: The maximum number of objects to return. This will default to the DEFAULT_API_PAGE_SIZE property if not provided
:return: UserList
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.get_all_users_with_http_info(**kwargs) # noqa: E501
else:
(data) = self.get_all_users_with_http_info(**kwargs) # noqa: E501
return data
def get_all_users_with_http_info(self, **kwargs): # noqa: E501
"""Get all users # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_all_users_with_http_info(async_req=True)
>>> result = thread.get()
:param async_req bool
:param int page_number: The page number for which to get users. This will default to the first page if excluded
:param int page_size: The maximum number of objects to return. This will default to the DEFAULT_API_PAGE_SIZE property if not provided
:return: UserList
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['page_number', 'page_size'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method get_all_users" % key
)
params[key] = val
del params['kwargs']
collection_formats = {}
path_params = {}
query_params = []
if 'page_number' in params:
query_params.append(('page_number', params['page_number'])) # noqa: E501
if 'page_size' in params:
query_params.append(('page_size', params['page_size'])) # noqa: E501
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['api_key'] # noqa: E501
return self.api_client.call_api(
'/users', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='UserList', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def get_user_by_id(self, user_id, **kwargs): # noqa: E501
"""Get user by ID # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_user_by_id(user_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param int user_id: The ID of the user to get (required)
:return: User
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.get_user_by_id_with_http_info(user_id, **kwargs) # noqa: E501
else:
(data) = self.get_user_by_id_with_http_info(user_id, **kwargs) # noqa: E501
return data
def get_user_by_id_with_http_info(self, user_id, **kwargs): # noqa: E501
"""Get user by ID # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_user_by_id_with_http_info(user_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param int user_id: The ID of the user to get (required)
:return: User
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['user_id'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method get_user_by_id" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'user_id' is set
if self.api_client.client_side_validation and ('user_id' not in params or
params['user_id'] is None): # noqa: E501
raise ValueError("Missing the required parameter `user_id` when calling `get_user_by_id`") # noqa: E501
collection_formats = {}
path_params = {}
if 'user_id' in params:
path_params['userId'] = params['user_id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['api_key'] # noqa: E501
return self.api_client.call_api(
'/users/{userId}', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='User', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def reset_password_request(self, reset_password, **kwargs): # noqa: E501
"""Reset new password for the user # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.reset_password_request(reset_password, async_req=True)
>>> result = thread.get()
:param async_req bool
:param ResetPassword reset_password: Reset password for user using token received on e-mail (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.reset_password_request_with_http_info(reset_password, **kwargs) # noqa: E501
else:
(data) = self.reset_password_request_with_http_info(reset_password, **kwargs) # noqa: E501
return data
def reset_password_request_with_http_info(self, reset_password, **kwargs): # noqa: E501
"""Reset new password for the user # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.reset_password_request_with_http_info(reset_password, async_req=True)
>>> result = thread.get()
:param async_req bool
:param ResetPassword reset_password: Reset password for user using token received on e-mail (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['reset_password'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method reset_password_request" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'reset_password' is set
if self.api_client.client_side_validation and ('reset_password' not in params or
params['reset_password'] is None): # noqa: E501
raise ValueError("Missing the required parameter `reset_password` when calling `reset_password_request`") # noqa: E501
collection_formats = {}
path_params = {}
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'reset_password' in params:
body_params = params['reset_password']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['api_key'] # noqa: E501
return self.api_client.call_api(
'/users/reset-password', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type=None, # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def update_user_by_id(self, user_id, body, **kwargs): # noqa: E501
"""Update user by ID # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_user_by_id(user_id, body, async_req=True)
>>> result = thread.get()
:param async_req bool
:param int user_id: The ID of the user to update (required)
:param User body: The updated user (required)
:return: User
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.update_user_by_id_with_http_info(user_id, body, **kwargs) # noqa: E501
else:
(data) = self.update_user_by_id_with_http_info(user_id, body, **kwargs) # noqa: E501
return data
def update_user_by_id_with_http_info(self, user_id, body, **kwargs): # noqa: E501
"""Update user by ID # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_user_by_id_with_http_info(user_id, body, async_req=True)
>>> result = thread.get()
:param async_req bool
:param int user_id: The ID of the user to update (required)
:param User body: The updated user (required)
:return: User
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['user_id', 'body'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method update_user_by_id" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'user_id' is set
if self.api_client.client_side_validation and ('user_id' not in params or
params['user_id'] is None): # noqa: E501
raise ValueError("Missing the required parameter `user_id` when calling `update_user_by_id`") # noqa: E501
# verify the required parameter 'body' is set
if self.api_client.client_side_validation and ('body' not in params or
params['body'] is None): # noqa: E501
raise ValueError("Missing the required parameter `body` when calling `update_user_by_id`") # noqa: E501
collection_formats = {}
path_params = {}
if 'user_id' in params:
path_params['userId'] = params['user_id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'body' in params:
body_params = params['body']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['api_key'] # noqa: E501
return self.api_client.call_api(
'/users/{userId}', 'PUT',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='User', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
| 39.01585
| 142
| 0.60291
| 3,206
| 27,077
| 4.822832
| 0.057392
| 0.046566
| 0.016039
| 0.032596
| 0.951623
| 0.946967
| 0.924783
| 0.909973
| 0.90661
| 0.904281
| 0
| 0.014937
| 0.310189
| 27,077
| 693
| 143
| 39.07215
| 0.812881
| 0.316209
| 0
| 0.779841
| 1
| 0
| 0.170178
| 0.035308
| 0
| 0
| 0
| 0
| 0
| 1
| 0.039788
| false
| 0.06366
| 0.01061
| 0
| 0.108753
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
|
0
| 9
|
f8dd8e37e45675d24d0141e0da4b2a20a304b96c
| 28
|
py
|
Python
|
__Courses__/Python - Introduction to Python Programming - Udacity/C1. Data Types and Operators/Scientific Notation.py
|
JUD210/Study-Note
|
2add9db3f11d99370f49878f0c19e9caa60d2d02
|
[
"MIT"
] | null | null | null |
__Courses__/Python - Introduction to Python Programming - Udacity/C1. Data Types and Operators/Scientific Notation.py
|
JUD210/Study-Note
|
2add9db3f11d99370f49878f0c19e9caa60d2d02
|
[
"MIT"
] | null | null | null |
__Courses__/Python - Introduction to Python Programming - Udacity/C1. Data Types and Operators/Scientific Notation.py
|
JUD210/Study-Note
|
2add9db3f11d99370f49878f0c19e9caa60d2d02
|
[
"MIT"
] | null | null | null |
print(4.45e+8)
# 445000000.0
| 14
| 14
| 0.714286
| 6
| 28
| 3.333333
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.538462
| 0.071429
| 28
| 2
| 15
| 14
| 0.230769
| 0.392857
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
|
0
| 7
|
f8fbea3ced68acfdfb2a12864357cf861743251b
| 1,023
|
py
|
Python
|
IG/randomstring.py
|
SQLab/PEaaS
|
a2ad6affbadcb1c4bba84fa877f0498f398a252a
|
[
"Apache-2.0"
] | null | null | null |
IG/randomstring.py
|
SQLab/PEaaS
|
a2ad6affbadcb1c4bba84fa877f0498f398a252a
|
[
"Apache-2.0"
] | 1
|
2015-03-06T03:54:28.000Z
|
2015-03-06T03:54:28.000Z
|
IG/randomstring.py
|
SQLab/PEaaS
|
a2ad6affbadcb1c4bba84fa877f0498f398a252a
|
[
"Apache-2.0"
] | null | null | null |
import string
import random
def randomstring(string_len):
characters = string.ascii_letters# + string.punctuation + string.digits
password=""
for x in range(random.randint(1,string_len)):
password =password+"".join(random.choice(characters))
return password
def randomstringdigit(string_len):
characters = string.ascii_letters + string.punctuation + string.digits
password = ""
for x in range(random.randint(1,string_len)):
password = password+"".join(random.choice(characters))
return password
class VarString:
def __init__(self):
self._len = 20
self._string = ''
self._type = 'string'
def gen_str(self):
self._string = randomstring(self._len)
def set_len(self,_len):
self._len=_len
def get_str(self):
return self._string
class VarStringDigit:
def __init__(self):
self._len = 20
self._string = ''
self._type = 'stringdigit'
def gen_str(self):
self._string = randomstringdigit(self._len)
def gen_len(self,_len):
self._len =_len
def get_str(self):
return self._string
| 23.25
| 72
| 0.733138
| 138
| 1,023
| 5.15942
| 0.246377
| 0.078652
| 0.05618
| 0.070225
| 0.769663
| 0.769663
| 0.705056
| 0.705056
| 0.705056
| 0.705056
| 0
| 0.006873
| 0.146628
| 1,023
| 43
| 73
| 23.790698
| 0.808706
| 0.035191
| 0
| 0.611111
| 0
| 0
| 0.017276
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.277778
| false
| 0.166667
| 0.055556
| 0.055556
| 0.5
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
|
0
| 7
|
5d08e0c4ad7a9303337522d4bd0347fe07a912d8
| 146
|
py
|
Python
|
flaskproject/models.py
|
jaa2015/FlaskProject
|
96a8c0b072e9f481dad9eac09b229fa291432cb2
|
[
"MIT"
] | 2
|
2016-12-15T22:59:42.000Z
|
2017-01-16T07:54:00.000Z
|
flaskproject/models.py
|
jaa2015/FlaskProject
|
96a8c0b072e9f481dad9eac09b229fa291432cb2
|
[
"MIT"
] | 1
|
2021-02-08T20:21:17.000Z
|
2021-02-08T20:21:17.000Z
|
flaskproject/models.py
|
jaa2015/FlaskProject
|
96a8c0b072e9f481dad9eac09b229fa291432cb2
|
[
"MIT"
] | 1
|
2017-03-23T04:48:09.000Z
|
2017-03-23T04:48:09.000Z
|
# consolidated models module
from .admin.models import *
from .entries.models import *
from .events.models import *
from .users.models import *
| 18.25
| 29
| 0.760274
| 19
| 146
| 5.842105
| 0.473684
| 0.432432
| 0.432432
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.150685
| 146
| 7
| 30
| 20.857143
| 0.895161
| 0.178082
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
5d369cad53229de01ead5a0aca1e35726aa088da
| 95
|
py
|
Python
|
tests/data/importer/simple_pkg/a.py
|
dw/econtext
|
c1e72b82258752d4a3155e88806c2e1235805eff
|
[
"BSD-3-Clause"
] | null | null | null |
tests/data/importer/simple_pkg/a.py
|
dw/econtext
|
c1e72b82258752d4a3155e88806c2e1235805eff
|
[
"BSD-3-Clause"
] | 27
|
2017-08-22T21:20:22.000Z
|
2017-09-10T07:35:55.000Z
|
tests/data/importer/simple_pkg/a.py
|
dw/econtext
|
c1e72b82258752d4a3155e88806c2e1235805eff
|
[
"BSD-3-Clause"
] | null | null | null |
import simple_pkg.b
def subtract_one_add_two(n):
return simple_pkg.b.subtract_one(n) + 2
| 15.833333
| 43
| 0.757895
| 18
| 95
| 3.666667
| 0.666667
| 0.272727
| 0.30303
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.012346
| 0.147368
| 95
| 5
| 44
| 19
| 0.802469
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| false
| 0
| 0.333333
| 0.333333
| 1
| 0
| 1
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 1
| 1
| 0
|
0
| 8
|
5d4d2bc7bc5fa515635ac3d4f16232dc6fd04778
| 132
|
py
|
Python
|
MTG/parsedcards.py
|
wanqizhu/mtg-python-engine
|
fb68edd9f7a99643c30f70042caf9513cf71493d
|
[
"MIT"
] | 25
|
2017-11-15T18:08:24.000Z
|
2021-11-20T07:11:25.000Z
|
MTG/parsedcards.py
|
wanqizhu/mtg-python-engine
|
fb68edd9f7a99643c30f70042caf9513cf71493d
|
[
"MIT"
] | 1
|
2020-08-03T03:04:27.000Z
|
2020-08-19T14:53:49.000Z
|
MTG/parsedcards.py
|
wanqizhu/mtg-python-engine
|
fb68edd9f7a99643c30f70042caf9513cf71493d
|
[
"MIT"
] | 7
|
2018-03-04T06:56:53.000Z
|
2022-02-03T20:11:33.000Z
|
# generated classes for individual cards
from data.M15_cards import *
from data.sm_set_cards import *
from data.cube_cards import *
| 26.4
| 40
| 0.810606
| 21
| 132
| 4.904762
| 0.571429
| 0.23301
| 0.291262
| 0.368932
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.017544
| 0.136364
| 132
| 5
| 41
| 26.4
| 0.885965
| 0.287879
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 8
|
53bbaf411a92ce9372f089e64e5e6abec1526b70
| 38,074
|
py
|
Python
|
neural_networks/VAE.py
|
ftonolini45/VICI
|
7508328b474492edc7479bb41527cbbfd5f43a1d
|
[
"CC0-1.0"
] | null | null | null |
neural_networks/VAE.py
|
ftonolini45/VICI
|
7508328b474492edc7479bb41527cbbfd5f43a1d
|
[
"CC0-1.0"
] | null | null | null |
neural_networks/VAE.py
|
ftonolini45/VICI
|
7508328b474492edc7479bb41527cbbfd5f43a1d
|
[
"CC0-1.0"
] | null | null | null |
'''
Neural networks for a VAE or conditional VAE
'''
import numpy as np
import collections
import tensorflow as tf
from tensorflow import math as tfm
from tensorflow import linalg as tfl
from neural_networks import NN_utils as vae_utils
class Decoder(object):
'''
Class for Gaussian decoder, taking latent variables z and outputting
Gaussian distribution p(x|z)
'''
def __init__(self, name, n_x, n_z, N_h, nonlinearity=tf.nn.leaky_relu, sig_lim=10):
'''
Initialisation
INPUTS:
name - name to assign to the decoder
n_x - dimensionality of the input
n_z - dimensionality of latent space
N_h - array of hidden units' dimensionalities in the format [Nhz,Nh1,Nh2,...,Nhn]
OPTIONAL INPUTS:
nonlinearity - choice of non-linearity (e.g. tf.nn.relu/tf.nn.leaky_relu/tf.nn.elu)
sig_lim - range to impose to the output log_sig_sq to avoid divergence.
'''
self.n_x = n_x
self.n_z = n_z
self.N_h = N_h
self.name = name
self.bias_start = 0.0
self.sig_lim = sig_lim
network_weights = self._create_weights()
self.weights = network_weights
self.nonlinearity = nonlinearity
def compute_moments(self,z,constrain=True):
'''
compute moments of input/output Gaussian distribution
INPUTS:
z - latent variable
OPTIONAL INPUTS:
constrain - whether to force the output mean to be between 0 and 1
OUTPUTS:
mu_x - mean of output Gaussian distribution
log_sig_sq_x - log variance of output Gaussian distribution
'''
hidden1_pre = tfm.add(tfl.matmul(z, self.weights['W_z_to_h1']), self.weights['b_z_to_h1'])
hidden_post = self.nonlinearity(hidden1_pre)
num_layers_middle = np.shape(self.N_h)[0]-1
for i in range(num_layers_middle):
ni = i+2
hidden_pre = tfm.add(tfl.matmul(hidden_post, self.weights['W_h{}_to_h{}'.format(ni-1,ni)]), self.weights['b_h{}_to_h{}'.format(ni-1,ni)])
hidden_post = self.nonlinearity(hidden_pre)
mu_x = tfm.add(tfl.matmul(hidden_post, self.weights['W_h{}_to_mux'.format(ni)]), self.weights['b_h{}_to_mux'.format(ni)])
if constrain==True:
mu_x = tf.nn.sigmoid(mu_x)
log_sig_sq_x = tfm.add(tfl.matmul(hidden_post, self.weights['W_h{}_to_sx'.format(ni)]), self.weights['b_h{}_to_sx'.format(ni)])
log_sig_sq_x = self.sig_lim*(tf.nn.sigmoid(log_sig_sq_x/self.sig_lim)-0.5)
return mu_x, log_sig_sq_x
def _create_weights(self):
'''
Initialise weights
'''
all_weights = collections.OrderedDict()
all_weights['W_z_to_h1'] = tf.Variable(vae_utils.xavier_init(self.n_z, self.N_h[0]), dtype=tf.float32)
all_weights['b_z_to_h1'] = tf.Variable(tf.zeros([self.N_h[0]], dtype=tf.float32) * self.bias_start)
num_layers_middle = np.shape(self.N_h)[0]-1
for i in range(num_layers_middle):
ni = i+2
all_weights['W_h{}_to_h{}'.format(ni-1,ni)] = tf.Variable(vae_utils.xavier_init(self.N_h[ni-2], self.N_h[ni-1]), dtype=tf.float32)
all_weights['b_h{}_to_h{}'.format(ni-1,ni)] = tf.Variable(tf.zeros([self.N_h[ni-1]], dtype=tf.float32) * self.bias_start)
all_weights['W_h{}_to_mux'.format(ni)] = tf.Variable(vae_utils.xavier_init(self.N_h[ni-1], self.n_x), dtype=tf.float32)
all_weights['b_h{}_to_mux'.format(ni)] = tf.Variable(tf.zeros([self.n_x], dtype=tf.float32) * self.bias_start)
all_weights['W_h{}_to_sx'.format(ni)] = tf.Variable(vae_utils.xavier_init(self.N_h[ni-1], self.n_x), dtype=tf.float32)
all_weights['b_h{}_to_sx'.format(ni)] = tf.Variable(tf.zeros([self.n_x], dtype=tf.float32) * self.bias_start)
return all_weights
class Encoder(object):
'''
Class for Gaussian encoder, taking inputs/outputs x and outputting
Gaussian distribution q(z|x). Also used for obtaining conditional
prior p(z|y) or p(z|x) in CVAEs.
'''
def __init__(self, name, n_x, n_z, N_h, nonlinearity=tf.nn.leaky_relu, sig_lim=10):
'''
Initialisation
INPUTS:
name - name to assign to the encoder
n_x - dimensionality of the input
n_z - dimensionality of latent space
N_h - array of hidden units' dimensionalities in the format [Nhx,Nh1,Nh2,...,Nhn]
OPTIONAL INPUTS:
nonlinearity - choice of non-linearity (e.g. tf.nn.relu/tf.nn.leaky_relu/tf.nn.elu)
sig_lim - range to impose to the output log_sig_sq to avoid divergence.
'''
self.n_x = n_x
self.n_z = n_z
self.N_h = N_h
self.name = name
self.bias_start = 0.0
self.sig_lim = sig_lim
network_weights = self._create_weights()
self.weights = network_weights
self.nonlinearity = nonlinearity
def compute_moments(self,x):
'''
compute moments of latent Gaussian distribution
INPUTS:
x - conditional input
OUTPUTS:
mu_z - mean of latent Gaussian distribution
log_sig_sq_z - log variance of latent Gaussian distribution
'''
hidden1_pre = tfm.add(tfl.matmul(x, self.weights['W_x_to_h1']), self.weights['b_x_to_h1'])
hidden_post = self.nonlinearity(hidden1_pre)
num_layers_middle = np.shape(self.N_h)[0]-1
for i in range(num_layers_middle):
ni = i+2
hidden_pre = tfm.add(tfl.matmul(hidden_post, self.weights['W_h{}_to_h{}'.format(ni-1,ni)]), self.weights['b_h{}_to_h{}'.format(ni-1,ni)])
hidden_post = self.nonlinearity(hidden_pre)
mu_z = tfm.add(tfl.matmul(hidden_post, self.weights['W_h{}_to_muz'.format(ni)]), self.weights['b_h{}_to_muz'.format(ni)])
log_sig_sq_z = tfm.add(tfl.matmul(hidden_post, self.weights['W_h{}_to_sz'.format(ni)]), self.weights['b_h{}_to_sz'.format(ni)])
log_sig_sq_z = self.sig_lim*(tf.nn.sigmoid(log_sig_sq_z/self.sig_lim)-0.5)
return mu_z, log_sig_sq_z
def _create_weights(self):
'''
Initialise weights
'''
all_weights = collections.OrderedDict()
all_weights['W_x_to_h1'] = tf.Variable(vae_utils.xavier_init(self.n_x, self.N_h[0]), dtype=tf.float32)
all_weights['b_x_to_h1'] = tf.Variable(tf.zeros([self.N_h[0]], dtype=tf.float32) * self.bias_start)
num_layers_middle = np.shape(self.N_h)[0]-1
for i in range(num_layers_middle):
ni = i+2
all_weights['W_h{}_to_h{}'.format(ni-1,ni)] = tf.Variable(vae_utils.xavier_init(self.N_h[ni-2], self.N_h[ni-1]), dtype=tf.float32)
all_weights['b_h{}_to_h{}'.format(ni-1,ni)] = tf.Variable(tf.zeros([self.N_h[ni-1]], dtype=tf.float32) * self.bias_start)
all_weights['W_h{}_to_muz'.format(ni)] = tf.Variable(vae_utils.xavier_init(self.N_h[ni-1], self.n_z), dtype=tf.float32)
all_weights['b_h{}_to_muz'.format(ni)] = tf.Variable(tf.zeros([self.n_z], dtype=tf.float32) * self.bias_start)
all_weights['W_h{}_to_sz'.format(ni)] = tf.Variable(vae_utils.xavier_init(self.N_h[ni-1], self.n_z), dtype=tf.float32)
all_weights['b_h{}_to_sz'.format(ni)] = tf.Variable(tf.zeros([self.n_z], dtype=tf.float32) * self.bias_start)
return all_weights
class ConditionalDecoder(object):
'''
Class for Gaussian conditional decoder, taking inputs x, latent variable
z and outputting Gaussian distribution p(y|z,x)
'''
def __init__(self, name, n_x, n_y, n_z, N_hx, N_hz, N_h, nonlinearity=tf.nn.leaky_relu, sig_lim=10):
'''
Initialisation
INPUTS:
name - name to assign to the conditional decoder
n_x - dimensionality of the conditional input
n_y - dimensionality of the output
n_z - dimensionality of latent space
N_hx - array of hidden units' dimensionalities for the conditional input x in the format [Nhx1,Nhx2,...,Nhxn]
N_hz - array of hidden units' dimensionalities for the latent variable z in the format [Nhz1,Nhz2,...,Nhzn]
N_h - array of hidden units' dimensionalities for joint channels in the format [Nh1,Nh2,...,Nhn]
OPTIONAL INPUTS:
nonlinearity - choice of non-linearity (e.g. tf.nn.relu/tf.nn.leaky_relu/tf.nn.elu)
sig_lim - range to impose to the output log_sig_sq to avoid divergence.
'''
self.n_x = n_x
self.n_y = n_y
self.n_z = n_z
self.N_hx = N_hx
self.N_hz = N_hz
self.N_h = N_h
self.name = name
self.bias_start = 0.0
self.sig_lim = sig_lim
network_weights = self._create_weights()
self.weights = network_weights
self.nonlinearity = nonlinearity
def compute_moments(self,z,x,constrain=True):
'''
compute moments of output Gaussian distribution
INPUTS:
x - conditional input
z - latent variable
OPTIONAL INPUTS:
constrain - whether to force the output mean to be between 0 and 1
OUTPUTS:
mu_y - mean of output Gaussian distribution
log_sig_sq_y - log variance of output Gaussian distribution
'''
# Channel for latent variable alone
hidden_pre_z = tfm.add(tfl.matmul(z, self.weights['W_z_to_h1z']), self.weights['b_z_to_h1z'])
hidden_post_z = self.nonlinearity(hidden_pre_z)
num_layers_middle_z = np.shape(self.N_hz)[0]-1
for i in range(num_layers_middle_z):
ni = i+2
hidden_pre_z = tfm.add(tfl.matmul(hidden_post_z, self.weights['W_h{}z_to_h{}z'.format(ni-1,ni)]), self.weights['b_h{}z_to_h{}z'.format(ni-1,ni)])
hidden_post_z = self.nonlinearity(hidden_pre_z)
# Channel for conditional input alone
hidden_pre_x = tfm.add(tfl.matmul(x, self.weights['W_x_to_h1x']), self.weights['b_x_to_h1x'])
hidden_post_x = self.nonlinearity(hidden_pre_x)
num_layers_middle_x = np.shape(self.N_hx)[0]-1
for i in range(num_layers_middle_x):
ni = i+2
hidden_pre_x = tfm.add(tfl.matmul(hidden_post_x, self.weights['W_h{}x_to_h{}x'.format(ni-1,ni)]), self.weights['b_h{}x_to_h{}x'.format(ni-1,ni)])
hidden_post_x = self.nonlinearity(hidden_pre_x)
hidden_post = tf.concat([hidden_post_z,hidden_post_x],1)
# Channel after combining the inputs
hidden_pre = tfm.add(tfl.matmul(hidden_post, self.weights['W_h0_to_h1']), self.weights['b_h0_to_h1'])
hidden_post = self.nonlinearity(hidden_pre)
num_layers_middle = np.shape(self.N_h)[0]-1
for i in range(num_layers_middle):
ni = i+2
hidden_pre = tfm.add(tfl.matmul(hidden_post, self.weights['W_h{}_to_h{}'.format(ni-1,ni)]), self.weights['b_h{}_to_h{}'.format(ni-1,ni)])
hidden_post = self.nonlinearity(hidden_pre)
mu_y = tfm.add(tfl.matmul(hidden_post, self.weights['W_h{}_to_muy'.format(ni)]), self.weights['b_h{}_to_muy'.format(ni)])
if constrain==True:
mu_y = tf.nn.sigmoid(mu_y)
log_sig_sq_y = tfm.add(tfl.matmul(hidden_post, self.weights['W_h{}_to_sy'.format(ni)]), self.weights['b_h{}_to_sy'.format(ni)])
log_sig_sq_y = self.sig_lim*(tf.nn.sigmoid(log_sig_sq_y/self.sig_lim)-0.5)
return mu_y, log_sig_sq_y
def _create_weights(self):
'''
Initialise weights
'''
all_weights = collections.OrderedDict()
all_weights['W_z_to_h1z'] = tf.Variable(vae_utils.xavier_init(self.n_z, self.N_hz[0]), dtype=tf.float32)
all_weights['b_z_to_h1z'] = tf.Variable(tf.zeros([self.N_hz[0]], dtype=tf.float32) * self.bias_start)
num_layers_middle_z = np.shape(self.N_hz)[0]-1
for i in range(num_layers_middle_z):
ni = i+2
all_weights['W_h{}z_to_h{}z'.format(ni-1,ni)] = tf.Variable(vae_utils.xavier_init(self.N_hz[ni-2], self.N_hz[ni-1]), dtype=tf.float32)
all_weights['b_h{}z_to_h{}z'.format(ni-1,ni)] = tf.Variable(tf.zeros([self.N_hz[ni-1]], dtype=tf.float32) * self.bias_start)
all_weights['W_x_to_h1x'] = tf.Variable(vae_utils.xavier_init(self.n_x, self.N_hx[0]), dtype=tf.float32)
all_weights['b_x_to_h1x'] = tf.Variable(tf.zeros([self.N_hx[0]], dtype=tf.float32) * self.bias_start)
num_layers_middle_x = np.shape(self.N_hx)[0]-1
for i in range(num_layers_middle_x):
ni = i+2
all_weights['W_h{}x_to_h{}x'.format(ni-1,ni)] = tf.Variable(vae_utils.xavier_init(self.N_hx[ni-2], self.N_hx[ni-1]), dtype=tf.float32)
all_weights['b_h{}x_to_h{}x'.format(ni-1,ni)] = tf.Variable(tf.zeros([self.N_hx[ni-1]], dtype=tf.float32) * self.bias_start)
all_weights['W_h0_to_h1'] = tf.Variable(vae_utils.xavier_init(self.N_hz[-1]+self.N_hx[-1], self.N_h[0]), dtype=tf.float32)
all_weights['b_h0_to_h1'] = tf.Variable(tf.zeros([self.N_h[0]], dtype=tf.float32) * self.bias_start)
num_layers_middle = np.shape(self.N_h)[0]-1
for i in range(num_layers_middle):
ni = i+2
all_weights['W_h{}_to_h{}'.format(ni-1,ni)] = tf.Variable(vae_utils.xavier_init(self.N_h[ni-2], self.N_h[ni-1]), dtype=tf.float32)
all_weights['b_h{}_to_h{}'.format(ni-1,ni)] = tf.Variable(tf.zeros([self.N_h[ni-1]], dtype=tf.float32) * self.bias_start)
all_weights['W_h{}_to_muy'.format(ni)] = tf.Variable(vae_utils.xavier_init(self.N_h[ni-1], self.n_y), dtype=tf.float32)
all_weights['b_h{}_to_muy'.format(ni)] = tf.Variable(tf.zeros([self.n_y], dtype=tf.float32) * self.bias_start)
all_weights['W_h{}_to_sy'.format(ni)] = tf.Variable(vae_utils.xavier_init(self.N_h[ni-1], self.n_y), dtype=tf.float32)
all_weights['b_h{}_to_sy'.format(ni)] = tf.Variable(tf.zeros([self.n_y], dtype=tf.float32) * self.bias_start)
return all_weights
class ConditionalEncoder(object):
'''
Class for Gaussian conditional encoder, taking inputs y and x and outputting latent variable
distribution q(z|x,y)
'''
def __init__(self, name, n_x, n_y, n_z, N_hx, N_hy, N_h, nonlinearity=tf.nn.leaky_relu, sig_lim=10):
'''
Initialisation
INPUTS:
name - name to assign to the conditional encoder
n_x - dimensionality of the conditional input
n_y - dimensionality of the input/output
n_z - dimensionality of latent space
N_hx - array of hidden units' dimensionalities for the conditional input x in the format [Nhx1,Nhx2,...,Nhxn]
N_hy - array of hidden units' dimensionalities for the input/output y in the format [Nhy1,Nhy2,...,Nhyn]
N_h - array of hidden units' dimensionalities for joint channels in the format [Nh1,Nh2,...,Nhn]
OPTIONAL INPUTS:
nonlinearity - choice of non-linearity (e.g. tf.nn.relu/tf.nn.leaky_relu/tf.nn.elu)
sig_lim - range to impose to the output log_sig_sq to avoid divergence.
'''
self.n_x = n_x
self.n_y = n_y
self.n_z = n_z
self.N_hx = N_hx
self.N_hy = N_hy
self.N_h = N_h
self.name = name
self.bias_start = 0.0
self.sig_lim = sig_lim
network_weights = self._create_weights()
self.weights = network_weights
self.nonlinearity = nonlinearity
def compute_moments(self,x,y):
'''
compute moments of latent Gaussian distribution
INPUTS:
x - conditional input
y - output to encode
OUTPUTS:
mu_z - mean of output Gaussian distribution
log_sig_sq_z - log variance of output Gaussian distribution
'''
# Channel for input/output alone
hidden_pre_y = tfm.add(tfl.matmul(y, self.weights['W_y_to_h1y']), self.weights['b_y_to_h1y'])
hidden_post_y = self.nonlinearity(hidden_pre_y)
num_layers_middle_y = np.shape(self.N_hy)[0]-1
for i in range(num_layers_middle_y):
ni = i+2
hidden_pre_y = tfm.add(tfl.matmul(hidden_post_y, self.weights['W_h{}y_to_h{}y'.format(ni-1,ni)]), self.weights['b_h{}y_to_h{}y'.format(ni-1,ni)])
hidden_post_y = self.nonlinearity(hidden_pre_y)
# Channel for conditional input alone
hidden_pre_x = tfm.add(tfl.matmul(x, self.weights['W_x_to_h1x']), self.weights['b_x_to_h1x'])
hidden_post_x = self.nonlinearity(hidden_pre_x)
num_layers_middle_x = np.shape(self.N_hx)[0]-1
for i in range(num_layers_middle_x):
ni = i+2
hidden_pre_x = tfm.add(tfl.matmul(hidden_post_x, self.weights['W_h{}x_to_h{}x'.format(ni-1,ni)]), self.weights['b_h{}x_to_h{}x'.format(ni-1,ni)])
hidden_post_x = self.nonlinearity(hidden_pre_x)
hidden_post = tf.concat([hidden_post_y,hidden_post_x],1)
# Channel after combining the inputs
hidden_pre = tfm.add(tfl.matmul(hidden_post, self.weights['W_h0_to_h1']), self.weights['b_h0_to_h1'])
hidden_post = self.nonlinearity(hidden_pre)
num_layers_middle = np.shape(self.N_h)[0]-1
for i in range(num_layers_middle):
ni = i+2
hidden_pre = tfm.add(tfl.matmul(hidden_post, self.weights['W_h{}_to_h{}'.format(ni-1,ni)]), self.weights['b_h{}_to_h{}'.format(ni-1,ni)])
hidden_post = self.nonlinearity(hidden_pre)
mu_z = tfm.add(tfl.matmul(hidden_post, self.weights['W_h{}_to_muz'.format(ni)]), self.weights['b_h{}_to_muz'.format(ni)])
log_sig_sq_z = tfm.add(tfl.matmul(hidden_post, self.weights['W_h{}_to_sz'.format(ni)]), self.weights['b_h{}_to_sz'.format(ni)])
log_sig_sq_z = self.sig_lim*(tf.nn.sigmoid(log_sig_sq_z/self.sig_lim)-0.5)
return mu_z, log_sig_sq_z
def _create_weights(self):
'''
Initialise weights
'''
all_weights = collections.OrderedDict()
all_weights['W_y_to_h1y'] = tf.Variable(vae_utils.xavier_init(self.n_y, self.N_hy[0]), dtype=tf.float32)
all_weights['b_y_to_h1y'] = tf.Variable(tf.zeros([self.N_hy[0]], dtype=tf.float32) * self.bias_start)
num_layers_middle_y = np.shape(self.N_hy)[0]-1
for i in range(num_layers_middle_y):
ni = i+2
all_weights['W_h{}y_to_h{}y'.format(ni-1,ni)] = tf.Variable(vae_utils.xavier_init(self.N_hy[ni-2], self.N_hy[ni-1]), dtype=tf.float32)
all_weights['b_h{}y_to_h{}y'.format(ni-1,ni)] = tf.Variable(tf.zeros([self.N_hy[ni-1]], dtype=tf.float32) * self.bias_start)
all_weights['W_x_to_h1x'] = tf.Variable(vae_utils.xavier_init(self.n_x, self.N_hx[0]), dtype=tf.float32)
all_weights['b_x_to_h1x'] = tf.Variable(tf.zeros([self.N_hx[0]], dtype=tf.float32) * self.bias_start)
num_layers_middle_x = np.shape(self.N_hx)[0]-1
for i in range(num_layers_middle_x):
ni = i+2
all_weights['W_h{}x_to_h{}x'.format(ni-1,ni)] = tf.Variable(vae_utils.xavier_init(self.N_hx[ni-2], self.N_hx[ni-1]), dtype=tf.float32)
all_weights['b_h{}x_to_h{}x'.format(ni-1,ni)] = tf.Variable(tf.zeros([self.N_hx[ni-1]], dtype=tf.float32) * self.bias_start)
all_weights['W_h0_to_h1'] = tf.Variable(vae_utils.xavier_init(self.N_hy[-1]+self.N_hx[-1], self.N_h[0]), dtype=tf.float32)
all_weights['b_h0_to_h1'] = tf.Variable(tf.zeros([self.N_h[0]], dtype=tf.float32) * self.bias_start)
num_layers_middle = np.shape(self.N_h)[0]-1
for i in range(num_layers_middle):
ni = i+2
all_weights['W_h{}_to_h{}'.format(ni-1,ni)] = tf.Variable(vae_utils.xavier_init(self.N_h[ni-2], self.N_h[ni-1]), dtype=tf.float32)
all_weights['b_h{}_to_h{}'.format(ni-1,ni)] = tf.Variable(tf.zeros([self.N_h[ni-1]], dtype=tf.float32) * self.bias_start)
all_weights['W_h{}_to_muz'.format(ni)] = tf.Variable(vae_utils.xavier_init(self.N_h[ni-1], self.n_z), dtype=tf.float32)
all_weights['b_h{}_to_muz'.format(ni)] = tf.Variable(tf.zeros([self.n_z], dtype=tf.float32) * self.bias_start)
all_weights['W_h{}_to_sz'.format(ni)] = tf.Variable(vae_utils.xavier_init(self.N_h[ni-1], self.n_z), dtype=tf.float32)
all_weights['b_h{}_to_sz'.format(ni)] = tf.Variable(tf.zeros([self.n_z], dtype=tf.float32) * self.bias_start)
return all_weights
class DoubleConditionalDecoder(object):
'''
Class for Gaussian conditional decoder, taking inputs x and x2, latent variable
z and outputting Gaussian distribution p(y|z,x,x2)
'''
def __init__(self, name, n_x, n_x2, n_y, n_z, N_hx, N_hx2, N_hz, N_h, nonlinearity=tf.nn.leaky_relu, sig_lim=10):
'''
Initialisation
INPUTS:
name - name to assign to the conditional decoder
n_x - dimensionality of the first conditional input
n_x2 - dimensionality of the second conditional input
n_y - dimensionality of the output
n_z - dimensionality of latent space
N_hx - array of hidden units' dimensionalities for the conditional input x in the format [Nhx1,Nhx2,...,Nhxn]
N_hx2 - array of hidden units' dimensionalities for the conditional input x2 in the format [Nhxb1,Nhxb2,...,Nhxbn]
N_hz - array of hidden units' dimensionalities for the latent variable z in the format [Nhz1,Nhz2,...,Nhzn]
N_h - array of hidden units' dimensionalities for joint channels in the format [Nh1,Nh2,...,Nhn]
OPTIONAL INPUTS:
nonlinearity - choice of non-linearity (e.g. tf.nn.relu/tf.nn.leaky_relu/tf.nn.elu)
sig_lim - range to impose to the output log_sig_sq to avoid divergence.
'''
self.n_x = n_x
self.n_x2 = n_x2
self.n_y = n_y
self.n_z = n_z
self.N_hx = N_hx
self.N_hx2 = N_hx2
self.N_hz = N_hz
self.N_h = N_h
self.name = name
self.bias_start = 0.0
self.sig_lim = sig_lim
network_weights = self._create_weights()
self.weights = network_weights
self.nonlinearity = nonlinearity
def compute_moments(self,z,x,x2,constrain=True):
'''
compute moments of output Gaussian distribution
INPUTS:
x - conditional input
x2 - conditional input
z - latent variable
OPTIONAL INPUTS:
constrain - whether to force the output mean to be between 0 and 1
OUTPUTS:
mu_y - mean of output Gaussian distribution
log_sig_sq_y - log variance of output Gaussian distribution
'''
# Channel for latent variable alone
hidden_pre_z = tfm.add(tfl.matmul(z, self.weights['W_z_to_h1z']), self.weights['b_z_to_h1z'])
hidden_post_z = self.nonlinearity(hidden_pre_z)
num_layers_middle_z = np.shape(self.N_hz)[0]-1
for i in range(num_layers_middle_z):
ni = i+2
hidden_pre_z = tfm.add(tfl.matmul(hidden_post_z, self.weights['W_h{}z_to_h{}z'.format(ni-1,ni)]), self.weights['b_h{}z_to_h{}z'.format(ni-1,ni)])
hidden_post_z = self.nonlinearity(hidden_pre_z)
# Channel for first conditional input alone
hidden_pre_x = tfm.add(tfl.matmul(x, self.weights['W_x_to_h1x']), self.weights['b_x_to_h1x'])
hidden_post_x = self.nonlinearity(hidden_pre_x)
num_layers_middle_x = np.shape(self.N_hx)[0]-1
for i in range(num_layers_middle_x):
ni = i+2
hidden_pre_x = tfm.add(tfl.matmul(hidden_post_x, self.weights['W_h{}x_to_h{}x'.format(ni-1,ni)]), self.weights['b_h{}x_to_h{}x'.format(ni-1,ni)])
hidden_post_x = self.nonlinearity(hidden_pre_x)
# Channel for second conditional input alone
hidden_pre_x2 = tfm.add(tfl.matmul(x2, self.weights['W_x2_to_h1x2']), self.weights['b_x2_to_h1x2'])
hidden_post_x2 = self.nonlinearity(hidden_pre_x2)
num_layers_middle_x2 = np.shape(self.N_hx2)[0]-1
for i in range(num_layers_middle_x2):
ni = i+2
hidden_pre_x2 = tfm.add(tfl.matmul(hidden_post_x2, self.weights['W_h{}x2_to_h{}x2'.format(ni-1,ni)]), self.weights['b_h{}x2_to_h{}x2'.format(ni-1,ni)])
hidden_post_x2 = self.nonlinearity(hidden_pre_x2)
hidden_post = tf.concat([hidden_post_z,hidden_post_x,hidden_post_x2],1)
# Channel after combining the inputs
hidden_pre = tfm.add(tfl.matmul(hidden_post, self.weights['W_h0_to_h1']), self.weights['b_h0_to_h1'])
hidden_post = self.nonlinearity(hidden_pre)
num_layers_middle = np.shape(self.N_h)[0]-1
for i in range(num_layers_middle):
ni = i+2
hidden_pre = tfm.add(tfl.matmul(hidden_post, self.weights['W_h{}_to_h{}'.format(ni-1,ni)]), self.weights['b_h{}_to_h{}'.format(ni-1,ni)])
hidden_post = self.nonlinearity(hidden_pre)
mu_y = tfm.add(tfl.matmul(hidden_post, self.weights['W_h{}_to_muy'.format(ni)]), self.weights['b_h{}_to_muy'.format(ni)])
if constrain==True:
mu_y = tf.nn.sigmoid(mu_y)
log_sig_sq_y = tfm.add(tfl.matmul(hidden_post, self.weights['W_h{}_to_sy'.format(ni)]), self.weights['b_h{}_to_sy'.format(ni)])
log_sig_sq_y = self.sig_lim*(tf.nn.sigmoid(log_sig_sq_y/self.sig_lim)-0.5)
return mu_y, log_sig_sq_y
def _create_weights(self):
'''
Initialise weights
'''
all_weights = collections.OrderedDict()
all_weights['W_z_to_h1z'] = tf.Variable(vae_utils.xavier_init(self.n_z, self.N_hz[0]), dtype=tf.float32)
all_weights['b_z_to_h1z'] = tf.Variable(tf.zeros([self.N_hz[0]], dtype=tf.float32) * self.bias_start)
num_layers_middle_z = np.shape(self.N_hz)[0]-1
for i in range(num_layers_middle_z):
ni = i+2
all_weights['W_h{}z_to_h{}z'.format(ni-1,ni)] = tf.Variable(vae_utils.xavier_init(self.N_hz[ni-2], self.N_hz[ni-1]), dtype=tf.float32)
all_weights['b_h{}z_to_h{}z'.format(ni-1,ni)] = tf.Variable(tf.zeros([self.N_hz[ni-1]], dtype=tf.float32) * self.bias_start)
all_weights['W_x_to_h1x'] = tf.Variable(vae_utils.xavier_init(self.n_x, self.N_hx[0]), dtype=tf.float32)
all_weights['b_x_to_h1x'] = tf.Variable(tf.zeros([self.N_hx[0]], dtype=tf.float32) * self.bias_start)
num_layers_middle_x = np.shape(self.N_hx)[0]-1
for i in range(num_layers_middle_x):
ni = i+2
all_weights['W_h{}x_to_h{}x'.format(ni-1,ni)] = tf.Variable(vae_utils.xavier_init(self.N_hx[ni-2], self.N_hx[ni-1]), dtype=tf.float32)
all_weights['b_h{}x_to_h{}x'.format(ni-1,ni)] = tf.Variable(tf.zeros([self.N_hx[ni-1]], dtype=tf.float32) * self.bias_start)
all_weights['W_x2_to_h1x2'] = tf.Variable(vae_utils.xavier_init(self.n_x2, self.N_hx2[0]), dtype=tf.float32)
all_weights['b_x2_to_h1x2'] = tf.Variable(tf.zeros([self.N_hx2[0]], dtype=tf.float32) * self.bias_start)
num_layers_middle_x2 = np.shape(self.N_hx2)[0]-1
for i in range(num_layers_middle_x2):
ni = i+2
all_weights['W_h{}x2_to_h{}x2'.format(ni-1,ni)] = tf.Variable(vae_utils.xavier_init(self.N_hx2[ni-2], self.N_hx2[ni-1]), dtype=tf.float32)
all_weights['b_h{}x2_to_h{}x2'.format(ni-1,ni)] = tf.Variable(tf.zeros([self.N_hx2[ni-1]], dtype=tf.float32) * self.bias_start)
all_weights['W_h0_to_h1'] = tf.Variable(vae_utils.xavier_init(self.N_hz[-1]+self.N_hx[-1]+self.N_hx2[-1], self.N_h[0]), dtype=tf.float32)
all_weights['b_h0_to_h1'] = tf.Variable(tf.zeros([self.N_h[0]], dtype=tf.float32) * self.bias_start)
num_layers_middle = np.shape(self.N_h)[0]-1
for i in range(num_layers_middle):
ni = i+2
all_weights['W_h{}_to_h{}'.format(ni-1,ni)] = tf.Variable(vae_utils.xavier_init(self.N_h[ni-2], self.N_h[ni-1]), dtype=tf.float32)
all_weights['b_h{}_to_h{}'.format(ni-1,ni)] = tf.Variable(tf.zeros([self.N_h[ni-1]], dtype=tf.float32) * self.bias_start)
all_weights['W_h{}_to_muy'.format(ni)] = tf.Variable(vae_utils.xavier_init(self.N_h[ni-1], self.n_y), dtype=tf.float32)
all_weights['b_h{}_to_muy'.format(ni)] = tf.Variable(tf.zeros([self.n_y], dtype=tf.float32) * self.bias_start)
all_weights['W_h{}_to_sy'.format(ni)] = tf.Variable(vae_utils.xavier_init(self.N_h[ni-1], self.n_y), dtype=tf.float32)
all_weights['b_h{}_to_sy'.format(ni)] = tf.Variable(tf.zeros([self.n_y], dtype=tf.float32) * self.bias_start)
return all_weights
class DoubleConditionalEncoder(object):
'''
Class for Gaussian conditional encoder, taking inputs x, x2 and y, and outputting latent Gaussian distribution q(z|x,x2,y)
'''
def __init__(self, name, n_x, n_x2, n_y, n_z, N_hx, N_hx2, N_hy, N_h, nonlinearity=tf.nn.leaky_relu, sig_lim=10):
'''
Initialisation
INPUTS:
name - name to assign to the conditional encoder
n_x - dimensionality of the conditional input
n_x2 - dimensionality of the second conditional input
n_y - dimensionality of the input/output
n_z - dimensionality of latent space
N_hx - array of hidden units' dimensionalities for the conditional input x in the format [Nhx1,Nhx2,...,Nhxn]
N_hx2 - array of hidden units' dimensionalities for the conditional input x2 in the format [Nhxb1,Nhxb2,...,Nhxbn]
N_hy - array of hidden units' dimensionalities for the input/output y in the format [Nhy1,Nhy2,...,Nhyn]
N_h - array of hidden units' dimensionalities for joint channels in the format [Nh1,Nh2,...,Nhn]
OPTIONAL INPUTS:
nonlinearity - choice of non-linearity (e.g. tf.nn.relu/tf.nn.leaky_relu/tf.nn.elu)
sig_lim - range to impose to the output log_sig_sq to avoid divergence.
'''
self.n_x = n_x
self.n_x2 = n_x2
self.n_y = n_y
self.n_z = n_z
self.N_hx = N_hx
self.N_hx2 = N_hx2
self.N_hy = N_hy
self.N_h = N_h
self.name = name
self.bias_start = 0.0
self.sig_lim = sig_lim
network_weights = self._create_weights()
self.weights = network_weights
self.nonlinearity = nonlinearity
def compute_moments(self,y,x,x2):
'''
compute moments of latent Gaussian distribution
INPUTS:
x - conditional input
y - output to encode
OUTPUTS:
mu_z - mean of output Gaussian distribution
log_sig_sq_z - log variance of output Gaussian distribution
'''
# Channel for input/output alone
hidden_pre_y = tfm.add(tfl.matmul(y, self.weights['W_y_to_h1y']), self.weights['b_y_to_h1y'])
hidden_post_y = self.nonlinearity(hidden_pre_y)
num_layers_middle_y = np.shape(self.N_hy)[0]-1
for i in range(num_layers_middle_y):
ni = i+2
hidden_pre_y = tfm.add(tfl.matmul(hidden_post_y, self.weights['W_h{}y_to_h{}y'.format(ni-1,ni)]), self.weights['b_h{}y_to_h{}y'.format(ni-1,ni)])
hidden_post_y = self.nonlinearity(hidden_pre_y)
# Channel for conditional input alone
hidden_pre_x = tfm.add(tfl.matmul(x, self.weights['W_x_to_h1x']), self.weights['b_x_to_h1x'])
hidden_post_x = self.nonlinearity(hidden_pre_x)
num_layers_middle_x = np.shape(self.N_hx)[0]-1
for i in range(num_layers_middle_x):
ni = i+2
hidden_pre_x = tfm.add(tfl.matmul(hidden_post_x, self.weights['W_h{}x_to_h{}x'.format(ni-1,ni)]), self.weights['b_h{}x_to_h{}x'.format(ni-1,ni)])
hidden_post_x = self.nonlinearity(hidden_pre_x)
# Channel for second conditional input alone
hidden_pre_x2 = tfm.add(tfl.matmul(x2, self.weights['W_x2_to_h1x2']), self.weights['b_x2_to_h1x2'])
hidden_post_x2 = self.nonlinearity(hidden_pre_x2)
num_layers_middle_x2 = np.shape(self.N_hx2)[0]-1
for i in range(num_layers_middle_x2):
ni = i+2
hidden_pre_x2 = tfm.add(tfl.matmul(hidden_post_x2, self.weights['W_h{}x2_to_h{}x2'.format(ni-1,ni)]), self.weights['b_h{}x2_to_h{}x2'.format(ni-1,ni)])
hidden_post_x2 = self.nonlinearity(hidden_pre_x2)
hidden_post = tf.concat([hidden_post_y,hidden_post_x,hidden_post_x2],1)
# Channel after combining the inputs
hidden_pre = tfm.add(tfl.matmul(hidden_post, self.weights['W_h0_to_h1']), self.weights['b_h0_to_h1'])
hidden_post = self.nonlinearity(hidden_pre)
num_layers_middle = np.shape(self.N_h)[0]-1
for i in range(num_layers_middle):
ni = i+2
hidden_pre = tfm.add(tfl.matmul(hidden_post, self.weights['W_h{}_to_h{}'.format(ni-1,ni)]), self.weights['b_h{}_to_h{}'.format(ni-1,ni)])
hidden_post = self.nonlinearity(hidden_pre)
mu_z = tfm.add(tfl.matmul(hidden_post, self.weights['W_h{}_to_muz'.format(ni)]), self.weights['b_h{}_to_muz'.format(ni)])
log_sig_sq_z = tfm.add(tfl.matmul(hidden_post, self.weights['W_h{}_to_sz'.format(ni)]), self.weights['b_h{}_to_sz'.format(ni)])
log_sig_sq_z = self.sig_lim*(tf.nn.sigmoid(log_sig_sq_z/self.sig_lim)-0.5)
return mu_z, log_sig_sq_z
def _create_weights(self):
'''
Initialise weights
'''
all_weights = collections.OrderedDict()
all_weights['W_y_to_h1y'] = tf.Variable(vae_utils.xavier_init(self.n_y, self.N_hy[0]), dtype=tf.float32)
all_weights['b_y_to_h1y'] = tf.Variable(tf.zeros([self.N_hy[0]], dtype=tf.float32) * self.bias_start)
num_layers_middle_y = np.shape(self.N_hy)[0]-1
for i in range(num_layers_middle_y):
ni = i+2
all_weights['W_h{}y_to_h{}y'.format(ni-1,ni)] = tf.Variable(vae_utils.xavier_init(self.N_hy[ni-2], self.N_hy[ni-1]), dtype=tf.float32)
all_weights['b_h{}y_to_h{}y'.format(ni-1,ni)] = tf.Variable(tf.zeros([self.N_hy[ni-1]], dtype=tf.float32) * self.bias_start)
all_weights['W_x_to_h1x'] = tf.Variable(vae_utils.xavier_init(self.n_x, self.N_hx[0]), dtype=tf.float32)
all_weights['b_x_to_h1x'] = tf.Variable(tf.zeros([self.N_hx[0]], dtype=tf.float32) * self.bias_start)
num_layers_middle_x = np.shape(self.N_hx)[0]-1
for i in range(num_layers_middle_x):
ni = i+2
all_weights['W_h{}x_to_h{}x'.format(ni-1,ni)] = tf.Variable(vae_utils.xavier_init(self.N_hx[ni-2], self.N_hx[ni-1]), dtype=tf.float32)
all_weights['b_h{}x_to_h{}x'.format(ni-1,ni)] = tf.Variable(tf.zeros([self.N_hx[ni-1]], dtype=tf.float32) * self.bias_start)
all_weights['W_x2_to_h1x2'] = tf.Variable(vae_utils.xavier_init(self.n_x2, self.N_hx2[0]), dtype=tf.float32)
all_weights['b_x2_to_h1x2'] = tf.Variable(tf.zeros([self.N_hx2[0]], dtype=tf.float32) * self.bias_start)
num_layers_middle_x2 = np.shape(self.N_hx2)[0]-1
for i in range(num_layers_middle_x2):
ni = i+2
all_weights['W_h{}x2_to_h{}x2'.format(ni-1,ni)] = tf.Variable(vae_utils.xavier_init(self.N_hx2[ni-2], self.N_hx2[ni-1]), dtype=tf.float32)
all_weights['b_h{}x2_to_h{}x2'.format(ni-1,ni)] = tf.Variable(tf.zeros([self.N_hx2[ni-1]], dtype=tf.float32) * self.bias_start)
all_weights['W_h0_to_h1'] = tf.Variable(vae_utils.xavier_init(self.N_hy[-1]+self.N_hx[-1]+self.N_hx2[-1], self.N_h[0]), dtype=tf.float32)
all_weights['b_h0_to_h1'] = tf.Variable(tf.zeros([self.N_h[0]], dtype=tf.float32) * self.bias_start)
num_layers_middle = np.shape(self.N_h)[0]-1
for i in range(num_layers_middle):
ni = i+2
all_weights['W_h{}_to_h{}'.format(ni-1,ni)] = tf.Variable(vae_utils.xavier_init(self.N_h[ni-2], self.N_h[ni-1]), dtype=tf.float32)
all_weights['b_h{}_to_h{}'.format(ni-1,ni)] = tf.Variable(tf.zeros([self.N_h[ni-1]], dtype=tf.float32) * self.bias_start)
all_weights['W_h{}_to_muz'.format(ni)] = tf.Variable(vae_utils.xavier_init(self.N_h[ni-1], self.n_z), dtype=tf.float32)
all_weights['b_h{}_to_muz'.format(ni)] = tf.Variable(tf.zeros([self.n_z], dtype=tf.float32) * self.bias_start)
all_weights['W_h{}_to_sz'.format(ni)] = tf.Variable(vae_utils.xavier_init(self.N_h[ni-1], self.n_z), dtype=tf.float32)
all_weights['b_h{}_to_sz'.format(ni)] = tf.Variable(tf.zeros([self.n_z], dtype=tf.float32) * self.bias_start)
return all_weights
| 48.194937
| 163
| 0.621027
| 6,144
| 38,074
| 3.570964
| 0.028646
| 0.04649
| 0.056153
| 0.032088
| 0.971376
| 0.965816
| 0.960985
| 0.95588
| 0.94649
| 0.938332
| 0
| 0.024383
| 0.244892
| 38,074
| 790
| 164
| 48.194937
| 0.738748
| 0.185875
| 0
| 0.885787
| 0
| 0
| 0.069709
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.045685
| false
| 0
| 0.015228
| 0
| 0.106599
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
53ebb1917094897f044468150c447d29b5350787
| 7,915
|
py
|
Python
|
src/tests.py
|
stfab/flying-brick
|
303f87b9fa5717befee7c240902e38b2e8c70b01
|
[
"MIT"
] | null | null | null |
src/tests.py
|
stfab/flying-brick
|
303f87b9fa5717befee7c240902e38b2e8c70b01
|
[
"MIT"
] | null | null | null |
src/tests.py
|
stfab/flying-brick
|
303f87b9fa5717befee7c240902e38b2e8c70b01
|
[
"MIT"
] | null | null | null |
import os
import sys
import threading
import unittest
from flyingbrick import *
from screen import *
class TestScreen(unittest.TestCase):
"""Tests the screen object."""
def setUp(self):
self.s = Screen(headless=True)
def test_default_screen_size(self):
"""Check the default screen size."""
self.assertEqual((400, 600), self.s.screen.get_size())
class TestFlyingBrick(unittest.TestCase):
"""Tests the game instance."""
def setUp(self):
self.s = Screen(headless=True)
self.f = Flyingbrick(self.s.screen)
def test_brickjump(self):
"""Check if the brick can jump."""
self.assertEqual(self.f.init, 0)
self.assertEqual(self.f.brick_velocity, self.f.gravity)
self.f.brick_jump()
self.assertEqual(self.f.init, 1)
self.assertEqual(self.f.brick_velocity, self.f.jump_velocity)
def test_apply_gravity(self):
"""Check if the gravity is applied correctly."""
self.assertEqual(self.f.brick.x, 10)
self.assertEqual(self.f.brick.y, int(self.f.height / 2) - 40)
self.assertEqual(self.f.brick.height, 40)
self.assertEqual(self.f.brick.width, 60)
self.f.apply_gravity()
self.assertEqual(self.f.brick.x, 10)
self.assertEqual(self.f.brick.y, int(self.f.height / 2) - 40 + self.f.brick_velocity)
self.assertEqual(self.f.brick.height, 40)
self.assertEqual(self.f.brick.width, 60)
def test_boundary_check_negative(self):
"""Negative test if boundary check is working correctly."""
self.f.brick = self.f.brick.move(0, 1)
self.f.score = 0
self.assertEqual(self.f.brick.x, 10)
self.assertEqual(self.f.brick.y, int(self.f.height / 2) - 40 + 1)
self.assertEqual(self.f.brick.height, 40)
self.assertEqual(self.f.brick.width, 60)
pygame.event.post(
pygame.event.Event(
pygame.KEYDOWN, {
'key': pygame.K_k}))
self.f.boundary_check()
self.assertEqual(self.f.brick.x, 10)
self.assertEqual(self.f.brick.y, int(self.f.height / 2) - 40 + 1)
self.assertEqual(self.f.brick.height, 40)
self.assertEqual(self.f.brick.width, 60)
def test_boundary_check_top(self):
"""Check if boundary check is working correctly at a top collision."""
self.f.brick = self.f.brick.move(0, -1000)
self.f.score = 0
self.assertEqual(self.f.brick.x, 10)
self.assertEqual(self.f.brick.y, int(self.f.height / 2) - 40 - 1000)
self.assertEqual(self.f.brick.height, 40)
self.assertEqual(self.f.brick.width, 60)
pygame.event.post(
pygame.event.Event(
pygame.KEYDOWN, {
'key': pygame.K_k}))
self.f.boundary_check()
self.assertEqual(self.f.brick.x, 10)
self.assertEqual(self.f.brick.y, int(self.f.height / 2) - 40)
self.assertEqual(self.f.brick.height, 40)
self.assertEqual(self.f.brick.width, 60)
def test_boundary_check_bottom(self):
"""Check if boundary check is working correctly at a bottom collision."""
self.f.brick = self.f.brick.move(0, 1000)
self.f.score = 0
self.assertEqual(self.f.brick.x, 10)
self.assertEqual(self.f.brick.y, int(self.f.height / 2) - 40 + 1000)
self.assertEqual(self.f.brick.height, 40)
self.assertEqual(self.f.brick.width, 60)
pygame.event.post(
pygame.event.Event(
pygame.KEYDOWN, {
'key': pygame.K_k}))
self.f.boundary_check()
self.assertEqual(self.f.brick.x, 10)
self.assertEqual(self.f.brick.y, int(self.f.height / 2) - 40)
self.assertEqual(self.f.brick.height, 40)
self.assertEqual(self.f.brick.width, 60)
def test_boundary_check_hindrance_passes(self):
"""Check if boundary check is working correctly when a hindrance is passed."""
# positive test
self.f.object_buffer.append(
Hindrance(-100, self.f.height, random.randint(100, self.f.height - 200)))
self.assertEqual(len(self.f.object_buffer), 1)
self.f.boundary_check()
self.assertEqual(len(self.f.object_buffer), 0)
# negative test
self.f.object_buffer.append(
Hindrance(
self.f.width + 40,
self.f.height,
random.randint(
100,
self.f.height - 200)))
self.assertEqual(len(self.f.object_buffer), 1)
self.f.boundary_check()
self.assertEqual(len(self.f.object_buffer), 1)
def test_check_collision_with_hindrance_top(self):
"""Check if boundary check is working correctly when a hindrance is hit at the top."""
self.f.score = 0
self.f.object_buffer.append(Hindrance(0, self.f.height, 500))
self.assertEqual(len(self.f.object_buffer), 1)
pygame.event.post(
pygame.event.Event(
pygame.KEYDOWN, {
'key': pygame.K_k}))
self.f.check_collision_with_hindrance()
self.assertEqual(len(self.f.object_buffer), 0)
def test_check_collision_with_hindrance_bottom(self):
"""Check if boundary check is working correctly when a hindrance is hit at the bottom."""
self.f.score = 0
self.f.object_buffer.append(Hindrance(0, self.f.height, 0))
self.assertEqual(len(self.f.object_buffer), 1)
pygame.event.post(
pygame.event.Event(
pygame.KEYDOWN, {
'key': pygame.K_k}))
self.f.check_collision_with_hindrance()
self.assertEqual(len(self.f.object_buffer), 0)
def test_if_game_initialized(self):
"""Check if the game is initialized correctly."""
# negative test
self.f.if_game_initialized()
self.assertEqual(self.f.score, "Press Space")
self.assertEqual(len(self.f.object_buffer), 0)
self.assertEqual(self.f.brick.x, 10)
self.assertEqual(self.f.brick.y, int(self.f.height / 2) - 40)
self.assertEqual(self.f.brick.height, 40)
self.assertEqual(self.f.brick.width, 60)
# positive test
self.f.brick_jump()
self.f.if_game_initialized()
self.assertEqual(self.f.score, 0)
self.assertEqual(len(self.f.object_buffer), 1)
self.assertEqual(self.f.brick.x, 10)
self.assertEqual(self.f.brick.y, int(self.f.height / 2) - 40 + self.f.brick_velocity)
self.assertEqual(self.f.brick.height, 40)
self.assertEqual(self.f.brick.width, 60)
def test_add_hindrance_to_object_buffer(self):
"""Check if a hindrance is added correctly to the object buffer."""
self.assertEqual(len(self.f.object_buffer), 0)
self.f.add_hindrance_to_object_buffer()
self.assertEqual(len(self.f.object_buffer), 1)
def test_check_if_hindrance_was_passed(self):
"""Test if the check on passing a hindrance works."""
self.f.brick_jump()
self.f.add_hindrance_to_object_buffer()
self.f.object_buffer[0].x = 9
self.f.check_if_hindrance_was_passed()
self.assertEqual(self.f.score, 1)
def test_negative_check_if_hindrance_was_passed(self):
"""Test if a negative check on passing a hindrance works."""
self.f.brick_jump()
self.f.add_hindrance_to_object_buffer()
self.f.object_buffer[0].x = 10
self.f.check_if_hindrance_was_passed()
self.assertEqual(self.f.score, 0)
if __name__ == "__main__":
unittest.main()
| 38.79902
| 98
| 0.603285
| 1,059
| 7,915
| 4.390935
| 0.094429
| 0.126882
| 0.116129
| 0.206452
| 0.844946
| 0.842796
| 0.803011
| 0.787527
| 0.733333
| 0.7
| 0
| 0.029228
| 0.273784
| 7,915
| 203
| 99
| 38.990148
| 0.779749
| 0.106507
| 0
| 0.677852
| 0
| 0
| 0.005007
| 0
| 0
| 0
| 0
| 0
| 0.409396
| 1
| 0.100671
| false
| 0.033557
| 0.040268
| 0
| 0.154362
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
4ad30bd400f64d01403f6647ece503db60ab723d
| 2,750
|
py
|
Python
|
test/programytest/parser/template/graph_tests/rdf_tests/test_addtriple.py
|
whackur/chatbot
|
bb4b4dace89f1f8aae2b6377bf7d2601e66af7a7
|
[
"MIT"
] | 5
|
2018-08-21T00:13:45.000Z
|
2018-09-01T20:00:55.000Z
|
test/programytest/parser/template/graph_tests/rdf_tests/test_addtriple.py
|
whackur/chatbot
|
bb4b4dace89f1f8aae2b6377bf7d2601e66af7a7
|
[
"MIT"
] | 3
|
2020-07-16T04:00:42.000Z
|
2021-03-31T18:52:22.000Z
|
test/programytest/parser/template/graph_tests/rdf_tests/test_addtriple.py
|
whackur/chatbot
|
bb4b4dace89f1f8aae2b6377bf7d2601e66af7a7
|
[
"MIT"
] | 5
|
2018-08-21T00:08:36.000Z
|
2018-09-23T06:11:04.000Z
|
import xml.etree.ElementTree as ET
from programy.parser.template.nodes.base import TemplateNode
from programy.parser.template.nodes.addtriple import TemplateAddTripleNode
from programytest.parser.template.graph_tests.graph_test_client import TemplateGraphTestClient
class TemplateGraphAddTripleTests(TemplateGraphTestClient):
def test_add_triple_type1(self):
template = ET.fromstring("""
<template>
<addtriple>
<subj>X</subj>
<pred>Y</pred>
<obj>Z</obj>
</addtriple>
</template>
""")
ast = self._graph.parse_template_expression(template)
self.assertIsNotNone(ast)
self.assertIsInstance(ast, TemplateNode)
self.assertIsNotNone(ast.children)
self.assertIsNotNone(ast.children[0])
self.assertIsInstance(ast.children[0], TemplateAddTripleNode)
self.assertEqual(0, len(ast.children[0].children))
self.assertFalse(self._client_context.brain.rdf.has_object("X", "Y", "Z"))
result = ast.resolve(self._client_context)
self.assertIsNotNone(result)
self.assertTrue(self._client_context.brain.rdf.has_object("X", "Y", "Z"))
def test_add_triple_type2(self):
template = ET.fromstring("""
<template>
<addtriple subj="X" pred="Y" obj="Z">
</addtriple>
</template>
""")
ast = self._graph.parse_template_expression(template)
self.assertIsNotNone(ast)
self.assertIsInstance(ast, TemplateNode)
self.assertIsNotNone(ast.children)
self.assertIsNotNone(ast.children[0])
self.assertIsInstance(ast.children[0], TemplateAddTripleNode)
self.assertEqual(0, len(ast.children[0].children))
self.assertFalse(self._client_context.brain.rdf.has_object("X", "Y", "Z"))
result = ast.resolve(self._client_context)
self.assertIsNotNone(result)
self.assertTrue(self._client_context.brain.rdf.has_object("X", "Y", "Z"))
def test_add_triple_type3(self):
template = ET.fromstring("""
<template>
<addtriple subj="X" pred="Y" obj="Z" />
</template>
""")
ast = self._graph.parse_template_expression(template)
self.assertIsNotNone(ast)
self.assertIsInstance(ast, TemplateNode)
self.assertIsNotNone(ast.children)
self.assertIsNotNone(ast.children[0])
self.assertIsInstance(ast.children[0], TemplateAddTripleNode)
self.assertEqual(0, len(ast.children[0].children))
self.assertFalse(self._client_context.brain.rdf.has_object("X", "Y", "Z"))
result = ast.resolve(self._client_context)
self.assertIsNotNone(result)
self.assertTrue(self._client_context.brain.rdf.has_object("X", "Y", "Z"))
| 35.25641
| 94
| 0.674909
| 305
| 2,750
| 5.937705
| 0.180328
| 0.125897
| 0.109332
| 0.099393
| 0.847046
| 0.812811
| 0.812811
| 0.812811
| 0.78741
| 0.78741
| 0
| 0.006769
| 0.194182
| 2,750
| 77
| 95
| 35.714286
| 0.810469
| 0
| 0
| 0.770492
| 0
| 0
| 0.125091
| 0
| 0
| 0
| 0
| 0
| 0.442623
| 1
| 0.04918
| false
| 0
| 0.065574
| 0
| 0.131148
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
ab13370c361a9a911209afc972864f33537ed2d9
| 48,776
|
py
|
Python
|
tests/test_elements/test_ui_text_entry_line.py
|
lionel42/pygame_gui
|
27b51f5b811b4569bc463566bc9f2d82ada119f6
|
[
"MIT"
] | null | null | null |
tests/test_elements/test_ui_text_entry_line.py
|
lionel42/pygame_gui
|
27b51f5b811b4569bc463566bc9f2d82ada119f6
|
[
"MIT"
] | null | null | null |
tests/test_elements/test_ui_text_entry_line.py
|
lionel42/pygame_gui
|
27b51f5b811b4569bc463566bc9f2d82ada119f6
|
[
"MIT"
] | null | null | null |
import os
import pytest
import pygame
from tests.shared_comparators import compare_surfaces
from pygame_gui.ui_manager import UIManager
from pygame_gui.elements.ui_text_entry_line import UITextEntryLine
from pygame_gui.core.ui_container import UIContainer
from pygame_gui.core.utility import clipboard_paste, clipboard_copy
try:
# mouse button constants not defined in pygame 1.9.3
pygame.BUTTON_LEFT
pygame.BUTTON_MIDDLE
pygame.BUTTON_RIGHT
except AttributeError:
pygame.BUTTON_LEFT = 1
pygame.BUTTON_MIDDLE = 2
pygame.BUTTON_RIGHT = 3
class TestUITextEntryLine:
def test_creation(self, _init_pygame, default_ui_manager):
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=default_ui_manager)
assert text_entry.image is not None
def test_set_text_length_limit(self, _init_pygame, default_ui_manager):
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=default_ui_manager)
text_entry.set_text_length_limit(10)
with pytest.warns(UserWarning, match="Tried to set text string that"
" is too long on text entry element"):
text_entry.set_text("GOLD PYJAMAS GOLD PYJAMAS")
def test_set_text_success(self, _init_pygame, default_ui_manager):
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=default_ui_manager)
text_entry.set_text_length_limit(10)
text_entry.set_text("GOLD")
assert text_entry.get_text() == "GOLD"
def test_set_text_forbidden_characters(self, _init_pygame, default_ui_manager,):
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=default_ui_manager)
text_entry.set_forbidden_characters('numbers')
with pytest.warns(UserWarning,
match="Tried to set text string with invalid"
" characters on text entry element"):
text_entry.set_text("1,2,3,4,5")
def test_rebuild_select_area_1(self, _init_pygame, default_ui_manager,
_display_surface_return_none):
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=default_ui_manager)
text_entry.set_text("GOLD")
text_entry.select_range = [0, 2]
text_entry.rebuild()
assert text_entry.image is not None
def test_set_text_rebuild_select_area_2(self, _init_pygame,
_display_surface_return_none):
manager = UIManager((800, 600), os.path.join("tests", "data",
"themes",
"ui_text_entry_line_non_default.json"))
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=manager)
text_entry.set_text("GOLDEN GOD")
text_entry.select_range = [4, 7]
text_entry.rebuild()
assert text_entry.image is not None
def test_set_text_rebuild_select_area_3(self, _init_pygame):
manager = UIManager((800, 600), os.path.join("tests", "data",
"themes",
"ui_text_entry_line_non_default_2.json"))
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=manager)
text_entry.set_text("GOLDEN GOD")
text_entry.select_range = [4, 7]
text_entry.rebuild()
assert text_entry.image is not None
@pytest.mark.filterwarnings("ignore:Invalid value")
@pytest.mark.filterwarnings("ignore:Colour hex code")
def test_set_text_rebuild_select_area_3(self, _init_pygame):
manager = UIManager((800, 600), os.path.join("tests", "data",
"themes",
"ui_text_entry_line_bad_values.json"))
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=manager)
text_entry.set_text("GOLD")
text_entry.select_range = [0, 2]
text_entry.rebuild()
assert text_entry.image is not None
# def test_redraw_cursor(self, _init_pygame, default_ui_manager):
# text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
# manager=default_ui_manager)
#
# text_entry.set_text("GOLD")
# text_entry.select_range = [0, 2]
# text_entry.cursor_on = True
# text_entry.edit_position = 1
# text_entry.redraw_cursor()
#
# assert text_entry.image is not None
def test_focus(self, _init_pygame, default_ui_manager, _display_surface_return_none):
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=default_ui_manager)
text_entry.focus()
assert text_entry.image is not None
def test_unfocus(self, _init_pygame, default_ui_manager, _display_surface_return_none):
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=default_ui_manager)
text_entry.unfocus()
assert text_entry.image is not None
def test_process_event_text_entered_success(self, _init_pygame: None,
default_ui_manager: UIManager,
_display_surface_return_none: None):
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=default_ui_manager)
text_entry.focus()
# process a mouse button down event
processed_key_event = text_entry.process_event(pygame.event.Event(pygame.KEYDOWN,
{'key': pygame.K_d,
'mod': 0,
'unicode': 'd'}))
text_entry.process_event(pygame.event.Event(pygame.KEYDOWN, {'key': pygame.K_a, 'mod': 0,
'unicode': 'a'}))
text_entry.process_event(pygame.event.Event(pygame.KEYDOWN, {'key': pygame.K_n, 'mod': 0,
'unicode': 'n'}))
assert processed_key_event and text_entry.get_text() == 'dan'
def test_process_event_text_entered_forbidden(self, _init_pygame: None,
default_ui_manager: UIManager,
_display_surface_return_none: None):
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=default_ui_manager)
text_entry.focus()
text_entry.set_forbidden_characters(['d', 'a', 'n'])
# process a mouse button down event
processed_key_event = text_entry.process_event(pygame.event.Event(pygame.KEYDOWN,
{'key': pygame.K_d,
'mod': 0,
'unicode': 'd'}))
assert processed_key_event is False and text_entry.get_text() == ''
def test_process_event_text_entered_not_allowed(self, _init_pygame: None,
default_ui_manager: UIManager,
_display_surface_return_none: None):
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=default_ui_manager)
text_entry.focus()
text_entry.set_allowed_characters(['d', 'a', 'n'])
# process a mouse button down event
processed_key_event = text_entry.process_event(pygame.event.Event(pygame.KEYDOWN,
{'key': pygame.K_o,
'mod': 0,
'unicode': 'o'}))
assert processed_key_event is False and text_entry.get_text() == ''
def test_process_event_text_entered_with_select_range(self, _init_pygame: None,
default_ui_manager: UIManager,
_display_surface_return_none: None):
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=default_ui_manager)
text_entry.set_text('Hours and hours of fun writing tests')
text_entry.focus()
text_entry.select_range = [1, 9]
# process a mouse button down event
processed_key_event = text_entry.process_event(pygame.event.Event(pygame.KEYDOWN,
{'key': pygame.K_o,
'mod': 0,
'unicode': 'o'}))
assert (processed_key_event is True and
text_entry.get_text() == 'Ho hours of fun writing tests')
def test_process_event_text_entered_too_long(self, _init_pygame: None,
default_ui_manager: UIManager,
_display_surface_return_none: None):
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=default_ui_manager)
text_entry.set_text_length_limit(3)
text_entry.focus()
text_entry.process_event(pygame.event.Event(pygame.KEYDOWN, {'key': pygame.K_t, 'mod': 0,
'unicode': 't'}))
text_entry.process_event(pygame.event.Event(pygame.KEYDOWN, {'key': pygame.K_e, 'mod': 0,
'unicode': 'e'}))
text_entry.process_event(pygame.event.Event(pygame.KEYDOWN, {'key': pygame.K_s, 'mod': 0,
'unicode': 's'}))
processed_key_event = text_entry.process_event(pygame.event.Event(pygame.KEYDOWN,
{'key': pygame.K_s,
'mod': 0,
'unicode': 't'}))
assert processed_key_event is False and text_entry.get_text() == 'tes'
def test_process_event_text_ctrl_c(self, _init_pygame: None,
_display_surface_return_none: None):
manager = UIManager((800, 600), os.path.join("tests", "data",
"themes",
"ui_text_entry_line_non_default_2.json"))
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=manager)
text_entry.set_text('dan')
text_entry.focus()
text_entry.select_range = [0, 3]
processed_key_event = text_entry.process_event(pygame.event.Event(pygame.KEYDOWN,
{'key': pygame.K_c,
'mod': pygame.KMOD_CTRL,
'unicode': 'c'}))
text_entry.cursor_on = True
#text_entry.redraw_cursor()
assert processed_key_event and clipboard_paste() == 'dan'
def test_process_event_text_ctrl_v(self, _init_pygame: None, default_ui_manager: UIManager,
_display_surface_return_none: None):
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=default_ui_manager)
text_entry.set_text('dan')
text_entry.focus()
text_entry.select_range = [1, 3]
text_entry.process_event(pygame.event.Event(pygame.KEYDOWN, {'key': pygame.K_c,
'mod': pygame.KMOD_CTRL,
'unicode': 'c'}))
text_entry.select_range = [0, 0]
text_entry.edit_position = 3
processed_key_event = text_entry.process_event(pygame.event.Event(pygame.KEYDOWN,
{'key': pygame.K_v,
'mod': pygame.KMOD_CTRL,
'unicode': 'v'}))
assert processed_key_event and text_entry.get_text() == 'danan'
def test_process_event_text_ctrl_v_nothing(self, _init_pygame: None,
default_ui_manager: UIManager,
_display_surface_return_none: None):
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=default_ui_manager)
clipboard_copy('')
text_entry.set_text('dan')
text_entry.focus()
text_entry.select_range = [0, 0]
processed_key_event = text_entry.process_event(pygame.event.Event(pygame.KEYDOWN,
{'key': pygame.K_v,
'mod': pygame.KMOD_CTRL,
'unicode': 'v'}))
assert processed_key_event and text_entry.get_text() == 'dan'
def test_process_event_ctrl_v_over_limit(self, _init_pygame: None,
default_ui_manager: UIManager,
_display_surface_return_none: None):
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=default_ui_manager)
text_entry.set_text('dan')
text_entry.focus()
text_entry.length_limit = 3
text_entry.select_range = [0, 3]
text_entry.process_event(pygame.event.Event(pygame.KEYDOWN, {'key': pygame.K_c,
'mod': pygame.KMOD_CTRL,
'unicode': 'c'}))
text_entry.select_range = [0, 0]
text_entry.edit_position = 3
processed_key_event = text_entry.process_event(pygame.event.Event(pygame.KEYDOWN,
{'key': pygame.K_v,
'mod': pygame.KMOD_CTRL,
'unicode': 'v'}))
assert processed_key_event and text_entry.get_text() == 'dan'
def test_process_event_ctrl_v_at_limit(self, _init_pygame: None, default_ui_manager: UIManager,
_display_surface_return_none: None):
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=default_ui_manager)
text_entry.set_text('dan')
text_entry.focus()
text_entry.length_limit = 3
text_entry.select_range = [0, 3]
text_entry.process_event(pygame.event.Event(pygame.KEYDOWN, {'key': pygame.K_c,
'mod': pygame.KMOD_CTRL,
'unicode': 'c'}))
text_entry.set_text('bob')
text_entry.focus()
text_entry.select_range = [0, 3]
text_entry.edit_position = 0
processed_key_event = text_entry.process_event(pygame.event.Event(pygame.KEYDOWN,
{'key': pygame.K_v,
'mod': pygame.KMOD_CTRL,
'unicode': 'v'}))
assert processed_key_event and text_entry.get_text() == 'dan'
def test_process_event_ctrl_v_over_limit_select_range(self, _init_pygame: None,
default_ui_manager: UIManager,
_display_surface_return_none: None):
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=default_ui_manager)
text_entry.set_text('dan')
text_entry.focus()
text_entry.length_limit = 3
text_entry.select_range = [0, 3]
text_entry.process_event(pygame.event.Event(pygame.KEYDOWN, {'key': pygame.K_c,
'mod': pygame.KMOD_CTRL,
'unicode': 'c'}))
text_entry.select_range = [2, 3]
text_entry.edit_position = 3
processed_key_event = text_entry.process_event(pygame.event.Event(pygame.KEYDOWN,
{'key': pygame.K_v,
'mod': pygame.KMOD_CTRL,
'unicode': 'v'}))
assert processed_key_event and text_entry.get_text() == 'dan'
def test_process_event_text_ctrl_v_select_range(self, _init_pygame: None,
default_ui_manager: UIManager,
_display_surface_return_none: None):
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=default_ui_manager)
text_entry.set_text('dan')
text_entry.focus()
text_entry.select_range = [1, 3]
text_entry.process_event(pygame.event.Event(pygame.KEYDOWN, {'key': pygame.K_c,
'mod': pygame.KMOD_CTRL,
'unicode': 'c'}))
text_entry.select_range = [0, 3]
processed_key_event = text_entry.process_event(pygame.event.Event(pygame.KEYDOWN,
{'key': pygame.K_v,
'mod': pygame.KMOD_CTRL,
'unicode': 'v'}))
assert processed_key_event and text_entry.get_text() == 'an'
def test_process_event_text_ctrl_a(self, _init_pygame: None, default_ui_manager: UIManager,
_display_surface_return_none: None):
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=default_ui_manager)
text_entry.set_text('dan')
text_entry.focus()
processed_key_event = text_entry.process_event(pygame.event.Event(pygame.KEYDOWN,
{'key': pygame.K_a,
'mod': pygame.KMOD_CTRL,
'unicode': 'a'}))
text_entry.process_event(pygame.event.Event(pygame.KEYDOWN, {'key': pygame.K_c,
'mod': pygame.KMOD_CTRL,
'unicode': 'c'}))
text_entry.select_range = [0, 0]
text_entry.process_event(pygame.event.Event(pygame.KEYDOWN, {'key': pygame.K_v,
'mod': pygame.KMOD_CTRL,
'unicode': 'v'}))
assert processed_key_event and text_entry.get_text() == 'dandan'
def test_process_event_text_ctrl_x(self, _init_pygame: None, default_ui_manager: UIManager,
_display_surface_return_none: None):
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=default_ui_manager)
text_entry.set_text('dan')
text_entry.focus()
processed_key_event = text_entry.process_event(pygame.event.Event(pygame.KEYDOWN,
{'key': pygame.K_a,
'mod': pygame.KMOD_CTRL,
'unicode': 'a'}))
text_entry.process_event(pygame.event.Event(pygame.KEYDOWN, {'key': pygame.K_x,
'mod': pygame.KMOD_CTRL,
'unicode': 'x'}))
text_entry.process_event(pygame.event.Event(pygame.KEYDOWN, {'key': pygame.K_v,
'mod': pygame.KMOD_CTRL,
'unicode': 'v'}))
assert processed_key_event and clipboard_paste() == 'dan'
def test_process_event_mouse_buttons(self, _init_pygame: None, default_ui_manager: UIManager,
_display_surface_return_none: None):
text_entry = UITextEntryLine(relative_rect=pygame.Rect(0, 0, 200, 30),
manager=default_ui_manager)
text_entry.set_text('dan is amazing')
processed_down_event = text_entry.process_event(pygame.event.Event(pygame.MOUSEBUTTONDOWN,
{'button': 1,
'pos': (30, 15)}))
processed_up_event = text_entry.process_event(pygame.event.Event(pygame.MOUSEBUTTONUP,
{'button': 1,
'pos': (80, 15)}))
assert processed_down_event
assert processed_up_event
assert text_entry.select_range == [3, 9]
def test_process_event_mouse_button_double_click(self, _init_pygame: None,
default_ui_manager: UIManager,
_display_surface_return_none: None):
text_entry = UITextEntryLine(relative_rect=pygame.Rect(0, 0, 200, 30),
manager=default_ui_manager)
text_entry.set_text('dan is amazing')
processed_down_event = text_entry.process_event(pygame.event.Event(pygame.MOUSEBUTTONDOWN,
{'button': 1,
'pos': (90, 15)}))
processed_up_event = text_entry.process_event(pygame.event.Event(pygame.MOUSEBUTTONDOWN,
{'button': 1,
'pos': (90, 15)}))
assert (processed_down_event and processed_up_event and text_entry.select_range == [7, 14])
def test_process_event_mouse_button_double_click_in_empty_space(
self, _init_pygame: None,
default_ui_manager: UIManager,
_display_surface_return_none: None):
text_entry = UITextEntryLine(relative_rect=pygame.Rect(0, 0, 200, 30),
manager=default_ui_manager)
text_entry.set_text(' dan')
processed_down_event = text_entry.process_event(pygame.event.Event(pygame.MOUSEBUTTONDOWN,
{'button': 1,
'pos': (90, 15)}))
processed_up_event = text_entry.process_event(pygame.event.Event(pygame.MOUSEBUTTONDOWN,
{'button': 1,
'pos': (90, 15)}))
assert (processed_down_event and processed_up_event and text_entry.select_range == [0, 1])
def test_process_event_mouse_button_double_click_first_word(self, _init_pygame: None,
default_ui_manager: UIManager,
_display_surface_return_none: None):
text_entry = UITextEntryLine(relative_rect=pygame.Rect(0, 0, 200, 30),
manager=default_ui_manager)
text_entry.set_text('dan is amazing')
processed_down_event = text_entry.process_event(
pygame.event.Event(pygame.MOUSEBUTTONDOWN, {'button': pygame.BUTTON_LEFT,
'pos': (15, 15)}))
processed_up_event = text_entry.process_event(
pygame.event.Event(pygame.MOUSEBUTTONDOWN, {'button': pygame.BUTTON_LEFT,
'pos': (15, 15)}))
assert (processed_down_event and processed_up_event and text_entry.select_range == [0, 3])
def test_process_event_mouse_button_up_outside(self, _init_pygame: None,
default_ui_manager: UIManager,
_display_surface_return_none: None):
text_entry = UITextEntryLine(relative_rect=pygame.Rect(0, 0, 200, 30),
manager=default_ui_manager)
text_entry.set_text('dan is amazing')
processed_down_event = text_entry.process_event(pygame.event.Event(pygame.MOUSEBUTTONDOWN,
{'button': 1,
'pos': (30, 15)}))
text_entry.process_event(pygame.event.Event(pygame.MOUSEBUTTONUP, {'button': 1,
'pos': (80, 50)}))
assert processed_down_event and text_entry.selection_in_progress is False
def test_process_event_text_return(self, _init_pygame: None, default_ui_manager: UIManager,
_display_surface_return_none: None):
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=default_ui_manager)
text_entry.set_text('dan')
text_entry.focus()
processed_key_event = text_entry.process_event(pygame.event.Event(pygame.KEYDOWN,
{'key': pygame.K_RETURN}))
assert processed_key_event
def test_process_event_text_right(self, _init_pygame: None, default_ui_manager: UIManager,
_display_surface_return_none: None):
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=default_ui_manager)
text_entry.set_text('dan')
text_entry.focus()
processed_key_event = text_entry.process_event(pygame.event.Event(pygame.KEYDOWN,
{'key': pygame.K_RIGHT}))
assert processed_key_event
def test_process_event_text_right_actually_move(self, _init_pygame: None,
default_ui_manager: UIManager,
_display_surface_return_none: None):
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=default_ui_manager)
text_entry.set_text('dan')
text_entry.edit_position = 2
text_entry.focus()
processed_key_event = text_entry.process_event(pygame.event.Event(pygame.KEYDOWN,
{'key': pygame.K_RIGHT}))
assert processed_key_event
def test_process_event_text_left(self, _init_pygame: None, default_ui_manager: UIManager,
_display_surface_return_none: None):
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=default_ui_manager)
text_entry.set_text('dan')
text_entry.focus()
processed_key_event = text_entry.process_event(pygame.event.Event(pygame.KEYDOWN,
{'key': pygame.K_LEFT}))
assert processed_key_event
def test_process_event_text_right_select_range(self, _init_pygame: None,
default_ui_manager: UIManager,
_display_surface_return_none: None):
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=default_ui_manager)
text_entry.set_text('dan')
text_entry.focus()
text_entry.select_range = [0, 2]
processed_key_event = text_entry.process_event(pygame.event.Event(pygame.KEYDOWN,
{'key': pygame.K_RIGHT}))
assert processed_key_event
def test_process_event_text_left_select_range(self, _init_pygame: None,
default_ui_manager: UIManager,
_display_surface_return_none: None):
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=default_ui_manager)
text_entry.set_text('dan')
text_entry.focus()
text_entry.select_range = [0, 2]
processed_key_event = text_entry.process_event(pygame.event.Event(pygame.KEYDOWN,
{'key': pygame.K_LEFT}))
assert processed_key_event
def test_process_event_delete_select_range(self, _init_pygame: None,
default_ui_manager: UIManager,
_display_surface_return_none: None):
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=default_ui_manager)
text_entry.set_text('dan')
text_entry.focus()
text_entry.select_range = [0, 2]
processed_key_event = text_entry.process_event(pygame.event.Event(pygame.KEYDOWN,
{'key': pygame.K_DELETE}))
assert processed_key_event
def test_process_event_delete(self, _init_pygame: None, default_ui_manager: UIManager,
_display_surface_return_none: None):
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=default_ui_manager)
text_entry.set_text('dan')
text_entry.focus()
text_entry.edit_position = 1
processed_key_event = text_entry.process_event(pygame.event.Event(pygame.KEYDOWN,
{'key': pygame.K_DELETE}))
assert processed_key_event
def test_process_event_backspace(self, _init_pygame: None, default_ui_manager: UIManager,
_display_surface_return_none: None):
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=default_ui_manager)
text_entry.set_text('dan')
text_entry.focus()
text_entry.edit_position = 2
text_entry.start_text_offset = 1
processed_key_event = text_entry.process_event(
pygame.event.Event(pygame.KEYDOWN, {'key': pygame.K_BACKSPACE}))
assert processed_key_event
def test_process_event_backspace_select_range(self, _init_pygame: None,
default_ui_manager: UIManager,
_display_surface_return_none: None):
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=default_ui_manager)
text_entry.set_text('dan')
text_entry.focus()
text_entry.select_range = [1, 3]
processed_key_event = text_entry.process_event(
pygame.event.Event(pygame.KEYDOWN, {'key': pygame.K_BACKSPACE}))
assert processed_key_event
def test_set_allowed_characters_numbers(self, _init_pygame, default_ui_manager):
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=default_ui_manager)
text_entry.set_allowed_characters('numbers')
with pytest.warns(UserWarning, match="Tried to set text string with invalid"
" characters on text entry element"):
text_entry.set_text("one two three")
assert text_entry.get_text() == ""
def test_set_allowed_characters_anything(self, _init_pygame, default_ui_manager):
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=default_ui_manager)
text_entry.set_allowed_characters(['D', 'A', 'N'])
with pytest.warns(UserWarning, match="Tried to set text string with invalid "
"characters on text entry element"):
text_entry.set_text("HORSE")
assert text_entry.get_text() == ""
def test_set_allowed_characters_invalid_id(self, _init_pygame, default_ui_manager):
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=default_ui_manager)
with pytest.warns(UserWarning, match="Trying to set allowed characters by "
"type string, but no match"):
text_entry.set_allowed_characters('dan')
def test_set_forbidden_characters_file_path(self, _init_pygame, default_ui_manager):
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=default_ui_manager)
text_entry.set_forbidden_characters('forbidden_file_path')
with pytest.warns(UserWarning, match="Tried to set text string with invalid "
"characters on text entry element"):
text_entry.set_text(">:<")
assert text_entry.get_text() == ""
def test_set_forbidden_characters_anything(self, _init_pygame, default_ui_manager):
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=default_ui_manager)
text_entry.set_forbidden_characters(['D', 'A', 'N'])
with pytest.warns(UserWarning, match="Tried to set text string with invalid "
"characters on text entry element"):
text_entry.set_text("DAN")
assert text_entry.get_text() == ""
def test_set_forbidden_characters_invalid_id(self, _init_pygame, default_ui_manager):
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=default_ui_manager)
with pytest.warns(UserWarning, match="Trying to set forbidden characters by type "
"string, but no match"):
text_entry.set_forbidden_characters('dan')
@pytest.mark.filterwarnings("ignore:Invalid value")
@pytest.mark.filterwarnings("ignore:Colour hex code")
def test_redraw_selected_text(self, _init_pygame):
manager = UIManager((800, 600), os.path.join("tests", "data",
"themes",
"ui_text_entry_line_bad_values.json"))
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=manager)
text_entry.set_text("Yellow su")
text_entry.select_range = [3, 8]
text_entry.start_text_offset = 500
text_entry.redraw()
def test_redraw_selected_text_different_them(self, _init_pygame):
manager = UIManager((800, 600), os.path.join("tests", "data",
"themes",
"ui_text_entry_line_non_default_2.json"))
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=manager)
text_entry.set_text("Yellow su")
text_entry.select_range = [3, 9]
text_entry.redraw()
def test_update(self, _init_pygame):
manager = UIManager((800, 600), os.path.join("tests", "data",
"themes",
"ui_text_entry_line_non_default.json"))
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=manager)
text_entry.update(0.01)
def test_update_after_click(self, _init_pygame, _display_surface_return_none: None, default_ui_manager):
manager = UIManager((800, 600), os.path.join("tests", "data",
"themes",
"ui_text_entry_line_non_default.json"))
text_entry = UITextEntryLine(relative_rect=pygame.Rect(0, 0, 200, 30),
manager=manager)
text_entry.set_text('Wow testing is great so amazing')
text_entry.focus()
text_entry.process_event(pygame.event.Event(pygame.MOUSEBUTTONDOWN, {'button': 1,
'pos': (30, 15)}))
default_ui_manager.mouse_position = (70, 15)
text_entry.update(0.01)
def test_update_after_long_wait(self, _init_pygame):
manager = UIManager((800, 600), os.path.join("tests", "data",
"themes",
"ui_text_entry_line_non_default.json"))
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=manager)
text_entry.update(0.01)
text_entry.update(5.0)
def test_update_cursor_blink(self, _init_pygame, _display_surface_return_none: None):
manager = UIManager((800, 600), os.path.join("tests", "data",
"themes",
"ui_text_entry_line_non_default.json"))
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=manager)
text_entry.focus()
text_entry.cursor_blink_delay_after_moving_acc = 10.0
text_entry.update(0.01)
text_entry.blink_cursor_time_acc = 10.0
text_entry.update(0.01)
text_entry.blink_cursor_time_acc = 10.0
text_entry.update(0.01)
def test_rebuild_from_theme_data_non_default(self, _init_pygame):
manager = UIManager((800, 600), os.path.join("tests", "data",
"themes",
"ui_text_entry_line_non_default.json"))
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=manager)
assert text_entry.image is not None
@pytest.mark.filterwarnings("ignore:Invalid value")
@pytest.mark.filterwarnings("ignore:Colour hex code")
def test_rebuild_from_theme_data_bad_values(self, _init_pygame):
manager = UIManager((800, 600), os.path.join("tests", "data",
"themes",
"ui_text_entry_line_bad_values.json"))
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=manager)
assert text_entry.image is not None
def test_set_position(self, _init_pygame, default_ui_manager, _display_surface_return_none):
test_container = UIContainer(relative_rect=pygame.Rect(100, 100, 300, 60),
manager=default_ui_manager)
text_entry = UITextEntryLine(relative_rect=pygame.Rect(0, 0, 150, 30),
container=test_container,
manager=default_ui_manager)
text_entry.set_position((150.0, 30.0))
assert (text_entry.relative_rect.topleft == (50, -70) and
text_entry.drawable_shape.containing_rect.topleft == (150, 30))
def test_set_relative_position(self, _init_pygame, default_ui_manager,
_display_surface_return_none):
test_container = UIContainer(relative_rect=pygame.Rect(50, 50, 300, 250),
manager=default_ui_manager)
text_entry = UITextEntryLine(relative_rect=pygame.Rect(0, 0, 150, 30),
container=test_container,
manager=default_ui_manager)
text_entry.set_relative_position((50.0, 30.0))
assert text_entry.rect.topleft == (100, 80)
def test_set_dimensions(self, _init_pygame, default_ui_manager, _display_surface_return_none):
test_container = UIContainer(relative_rect=pygame.Rect(100, 100, 300, 60),
manager=default_ui_manager)
text_entry = UITextEntryLine(relative_rect=pygame.Rect(0, 0, 150, 30),
container=test_container,
manager=default_ui_manager)
assert text_entry.rect.right == 250
text_entry.set_dimensions((200, 30))
assert text_entry.rect.right == 300
assert text_entry.drawable_shape.containing_rect.right == 300
def test_disable(self, _init_pygame: None, default_ui_manager: UIManager,
_display_surface_return_none: None):
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=default_ui_manager)
text_entry.focus()
text_entry.disable()
assert text_entry.is_enabled is False
# process a mouse button down event
processed_key_event = text_entry.process_event(pygame.event.Event(pygame.KEYDOWN,
{'key': pygame.K_d,
'mod': 0,
'unicode': 'd'}))
text_entry.process_event(pygame.event.Event(pygame.KEYDOWN, {'key': pygame.K_a, 'mod': 0,
'unicode': 'a'}))
text_entry.process_event(pygame.event.Event(pygame.KEYDOWN, {'key': pygame.K_n, 'mod': 0,
'unicode': 'n'}))
assert processed_key_event is False and text_entry.get_text() == ''
def test_enable(self, _init_pygame: None, default_ui_manager: UIManager,
_display_surface_return_none: None):
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=default_ui_manager)
text_entry.focus()
text_entry.enable()
assert text_entry.is_enabled is True
text_entry.focus()
# process a mouse button down event
processed_key_event = text_entry.process_event(pygame.event.Event(pygame.KEYDOWN,
{'key': pygame.K_d,
'mod': 0,
'unicode': 'd'}))
text_entry.process_event(pygame.event.Event(pygame.KEYDOWN, {'key': pygame.K_a, 'mod': 0,
'unicode': 'a'}))
text_entry.process_event(pygame.event.Event(pygame.KEYDOWN, {'key': pygame.K_n, 'mod': 0,
'unicode': 'n'}))
assert processed_key_event is True and text_entry.get_text() == 'dan'
def test_show(self, _init_pygame, default_ui_manager, _display_surface_return_none):
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=default_ui_manager, visible=0)
assert text_entry.visible == 0
text_entry.show()
assert text_entry.visible == 1
def test_hide(self, _init_pygame, default_ui_manager, _display_surface_return_none):
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 200, 30),
manager=default_ui_manager)
assert text_entry.visible == 1
text_entry.hide()
assert text_entry.visible == 0
def test_show_hide_rendering(self, _init_pygame, default_ui_manager, _display_surface_return_none):
resolution = (400, 400)
empty_surface = pygame.Surface(resolution)
empty_surface.fill(pygame.Color(0, 0, 0))
surface = empty_surface.copy()
manager = UIManager(resolution)
text_entry = UITextEntryLine(relative_rect=pygame.Rect(100, 100, 400, 400),
manager=manager,
visible=0)
manager.update(0.01)
manager.draw_ui(surface)
assert compare_surfaces(empty_surface, surface)
surface.fill(pygame.Color(0, 0, 0))
text_entry.show()
manager.update(0.01)
manager.draw_ui(surface)
assert not compare_surfaces(empty_surface, surface)
surface.fill(pygame.Color(0, 0, 0))
text_entry.hide()
manager.update(0.01)
manager.draw_ui(surface)
assert compare_surfaces(empty_surface, surface)
if __name__ == '__main__':
pytest.console_main()
| 51.779193
| 109
| 0.512916
| 4,795
| 48,776
| 4.865485
| 0.050886
| 0.128847
| 0.071324
| 0.061294
| 0.929447
| 0.904929
| 0.887312
| 0.879469
| 0.865752
| 0.851436
| 0
| 0.035262
| 0.406368
| 48,776
| 941
| 110
| 51.834219
| 0.770471
| 0.014126
| 0
| 0.751412
| 0
| 0
| 0.048245
| 0.0088
| 0
| 0
| 0
| 0
| 0.086158
| 1
| 0.086158
| false
| 0
| 0.011299
| 0
| 0.09887
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
ab1745e578ba90a998050c9d458337e2d56535d7
| 8,022
|
py
|
Python
|
djsani/core/sql.py
|
carthage-college/django-djsani
|
e344fd636695682a0765fc5d5c2137fe3e6b35d1
|
[
"BSD-3-Clause"
] | 1
|
2017-04-22T11:08:41.000Z
|
2017-04-22T11:08:41.000Z
|
djsani/core/sql.py
|
carthage-college/django-djsani
|
e344fd636695682a0765fc5d5c2137fe3e6b35d1
|
[
"BSD-3-Clause"
] | 10
|
2020-06-11T14:22:47.000Z
|
2021-07-08T14:05:27.000Z
|
djsani/core/sql.py
|
carthage-college/django-djsani
|
e344fd636695682a0765fc5d5c2137fe3e6b35d1
|
[
"BSD-3-Clause"
] | null | null | null |
# -*- coding: utf-8 -*-
"""URLs for all views."""
from django.conf import settings
# e.g. 2015-05-01 00:00:00
START_DATE = settings.START_DATE
# Informix likes DATE("2015-06-01") when using an IDE like Squirrel or RazorSQL
# or DATE("06/01/15")
SPORTS_STUDENT="""
SELECT
TRIM(IT.invl) AS sport_code,
TRIM(IT.txt) AS sport_name,
INR.id AS id,
INR.beg_date,
INR.end_date
FROM
invl_table IT
INNER JOIN
involve_rec INR
ON
TRIM(IT.invl) = TRIM(INR.invl)
AND
IT.sanc_sport = 'Y'
WHERE
TODAY BETWEEN IT.active_date AND NVL(IT.inactive_date, TODAY)
AND
YEAR(INR.end_date) = {year}
AND
INR.id = {cid}
""".format
STUDENTS_ALPHA = """
SELECT
UNIQUE
(
SELECT
COUNT(*)
FROM
invl_table IT
INNER JOIN
involve_rec INR
ON
TRIM(IT.invl) = TRIM(INR.invl)
AND
IT.sanc_sport = 'Y'
WHERE
TODAY BETWEEN IT.active_date AND NVL(IT.inactive_date, TODAY)
AND
YEAR(INR.end_date) > YEAR(TODAY)
AND
INR.id = id_rec.id
) as athlete,
CASE
WHEN NVL(stu_serv_rec.intend_hsg, 'C') IN ('C', 'O') THEN 'Commuter' ELSE 'Resident'
END AS residency_status,
id_rec.lastname, id_rec.firstname, id_rec.middlename,
id_rec.id, profile_rec.birth_date,
TRIM(cvid_rec.ldap_name) as ldap_name,
cc_student_medical_manager.id as manid,
cc_student_medical_manager.created_at,
cc_student_medical_manager.staff_notes,
cc_student_medical_manager.sitrep,
cc_student_medical_manager.sitrep_athlete,
cc_student_medical_manager.concussion_baseline,
cc_student_medical_manager.emergency_contact,
cc_student_medical_manager.covid19_vaccine_card,
cc_student_medical_manager.covid19_vaccine_card_status,
cc_student_medical_manager.medical_consent_agreement,
cc_student_medical_manager.medical_consent_agreement_status,
cc_student_medical_manager.physical_evaluation_1,
cc_student_medical_manager.physical_evaluation_2,
cc_student_medical_manager.cc_student_medical_history,
cc_student_medical_manager.cc_student_health_insurance,
cc_student_medical_manager.cc_student_meni_waiver,
cc_student_medical_manager.cc_student_immunization,
cc_student_medical_manager.cc_athlete_medical_history,
cc_student_medical_manager.cc_athlete_privacy_waiver,
cc_student_medical_manager.cc_athlete_reporting_waiver,
cc_student_medical_manager.cc_athlete_risk_waiver,
cc_student_medical_manager.cc_athlete_sicklecell_waiver,
cc_student_health_insurance.primary_policy_type,
cc_athlete_sicklecell_waiver.updated_at,
cc_athlete_sicklecell_waiver.waive,
cc_athlete_sicklecell_waiver.proof,
cc_athlete_sicklecell_waiver.results,
cc_athlete_sicklecell_waiver.results_file
FROM
id_rec
INNER JOIN
prog_enr_rec
ON
id_rec.id = prog_enr_rec.id
LEFT JOIN
cvid_rec
ON
id_rec.id = cvid_rec.cx_id
LEFT JOIN
stu_acad_rec
ON
id_rec.id = stu_acad_rec.id
LEFT JOIN
stu_serv_rec
ON
id_rec.id = stu_serv_rec.id
LEFT JOIN
profile_rec
ON
id_rec.id = profile_rec.id
LEFT JOIN
cc_student_medical_manager
ON
id_rec.id = cc_student_medical_manager.college_id
AND
cc_student_medical_manager.created_at > "{0}"
LEFT JOIN
cc_student_health_insurance
ON
cc_student_medical_manager.id = cc_student_health_insurance.manager_id
LEFT JOIN
cc_athlete_sicklecell_waiver
ON
id_rec.id = cc_athlete_sicklecell_waiver.college_id
AND
(
cc_athlete_sicklecell_waiver.proof = 1
OR
cc_athlete_sicklecell_waiver.created_at > "{1}"
)
WHERE
prog_enr_rec.subprog
NOT IN
("UWPK","RSBD","SLS","PARA","MSW","KUSD","ENRM","CONF","CHWK")
AND
prog_enr_rec.lv_date IS NULL
AND
stu_acad_rec.sess
IN
("RA","RC","AM","GC","PC","TC","GD","GA","GC")
""".format(START_DATE, START_DATE)
STUDENT_VITALS = """
SELECT
UNIQUE
CASE
WHEN NVL(stu_serv_rec.intend_hsg, 'C') IN ('C', 'O') THEN 'Commuter' ELSE 'Resident'
END AS residency_status,
stu_serv_rec.stusv_no,
id_rec.id, id_rec.lastname, id_rec.firstname, id_rec.middlename,
id_rec.addr_line1, id_rec.addr_line2, id_rec.city, id_rec.st,
id_rec.zip, id_rec.ctry, id_rec.phone,
TRIM(cvid_rec.ldap_name) as ldap_name,
cc_student_medical_manager.id as manid,
cc_student_medical_manager.created_at,
cc_student_medical_manager.sitrep,
cc_student_medical_manager.sitrep_athlete,
cc_student_medical_manager.concussion_baseline,
cc_student_medical_manager.covid19_vaccine_card,
cc_student_medical_manager.covid19_vaccine_card_status,
cc_student_medical_manager.medical_consent_agreement,
cc_student_medical_manager.medical_consent_agreement_status,
cc_student_medical_manager.physical_evaluation_1,
cc_student_medical_manager.physical_evaluation_status_1,
cc_student_medical_manager.physical_evaluation_2,
cc_student_medical_manager.physical_evaluation_status_2,
cc_student_medical_manager.cc_student_immunization,
cc_student_medical_manager.cc_student_meni_waiver,
cc_student_medical_manager.cc_athlete_privacy_waiver,
cc_student_medical_manager.cc_athlete_reporting_waiver,
cc_student_medical_manager.cc_athlete_risk_waiver,
cc_student_medical_manager.cc_athlete_sicklecell_waiver,
cc_student_health_insurance.primary_card_front_status,
cc_student_health_insurance.primary_card_back_status,
cc_athlete_sicklecell_waiver.id as sicklecell_id,
cc_athlete_sicklecell_waiver.updated_at,
cc_athlete_sicklecell_waiver.waive,
cc_athlete_sicklecell_waiver.proof,
cc_athlete_sicklecell_waiver.results,
cc_athlete_sicklecell_waiver.results_file,
cc_athlete_sicklecell_waiver.results_file_status,
cc_athlete_privacy_waiver.id as privacy_id,
cc_athlete_privacy_waiver.news_media,
cc_athlete_privacy_waiver.parents_guardians,
cc_athlete_privacy_waiver.disclose_records,
cc_student_meni_waiver.id as menid,
cc_athlete_risk_waiver.id as risk_id,
cc_athlete_reporting_waiver.id as reporting_id,
profile_rec.birth_date,
profile_rec.sex,
prog_enr_rec.cl,
mobile_rec.phone as mobile
FROM
id_rec
INNER JOIN
prog_enr_rec
ON
id_rec.id = prog_enr_rec.id
LEFT JOIN
cvid_rec
ON
id_rec.id = cvid_rec.cx_id
LEFT JOIN
cc_student_medical_manager
ON
id_rec.id = cc_student_medical_manager.college_id
LEFT JOIN
cc_student_meni_waiver
ON
cc_student_medical_manager.id = cc_student_meni_waiver.manager_id
LEFT JOIN
cc_student_health_insurance
ON
cc_student_medical_manager.id = cc_student_health_insurance.manager_id
LEFT JOIN
cc_athlete_sicklecell_waiver
ON
id_rec.id = cc_athlete_sicklecell_waiver.college_id
AND
(
cc_athlete_sicklecell_waiver.proof = 1
OR
cc_athlete_sicklecell_waiver.created_at > "{0}"
)
LEFT JOIN
cc_athlete_privacy_waiver
ON
cc_student_medical_manager.id = cc_athlete_privacy_waiver.manager_id
LEFT JOIN
cc_athlete_risk_waiver
ON
cc_student_medical_manager.id = cc_athlete_risk_waiver.manager_id
LEFT JOIN
cc_athlete_reporting_waiver
ON
cc_student_medical_manager.id = cc_athlete_reporting_waiver.manager_id
LEFT JOIN
profile_rec
ON
id_rec.id = profile_rec.id
LEFT JOIN
stu_serv_rec
ON
id_rec.id = stu_serv_rec.id
LEFT JOIN
aa_rec as mobile_rec
ON
(id_rec.id = mobile_rec.id AND mobile_rec.aa = "ENS")
""".format(START_DATE)
ACADEMIC_YEAR = """
SELECT
id_rec.lastname, id_rec.firstname,
cc_student_medical_manager.id,
cc_student_medical_manager.college_id,
cc_student_health_insurance.primary_policy_holder
FROM
id_rec
LEFT JOIN
cc_student_medical_manager
ON
id_rec.id = cc_student_medical_manager.college_id
LEFT JOIN
cc_student_health_insurance
ON
cc_student_medical_manager.id = cc_student_health_insurance.manager_id
WHERE
cc_student_medical_manager.college_id=
"""
| 29.384615
| 92
| 0.76739
| 1,198
| 8,022
| 4.668614
| 0.156093
| 0.123905
| 0.168782
| 0.238512
| 0.804756
| 0.780619
| 0.733596
| 0.695333
| 0.687824
| 0.665296
| 0
| 0.007485
| 0.16729
| 8,022
| 272
| 93
| 29.492647
| 0.82979
| 0.020568
| 0
| 0.674419
| 0
| 0.007752
| 0.970693
| 0.568043
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.003876
| 0
| 0.003876
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 1
| 1
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
ab19c71841756ec045c8f1a819de1296f9a96af4
| 5,856
|
py
|
Python
|
ttach/wrappers.py
|
choco9966/ttach
|
2b52a85f604748cf786babca66dd179b160cd867
|
[
"MIT"
] | 720
|
2019-10-01T18:09:56.000Z
|
2022-03-28T05:35:01.000Z
|
ttach/wrappers.py
|
choco9966/ttach
|
2b52a85f604748cf786babca66dd179b160cd867
|
[
"MIT"
] | 17
|
2019-10-15T06:53:28.000Z
|
2021-12-13T07:06:51.000Z
|
ttach/wrappers.py
|
choco9966/ttach
|
2b52a85f604748cf786babca66dd179b160cd867
|
[
"MIT"
] | 55
|
2019-10-04T08:01:16.000Z
|
2022-03-31T10:34:19.000Z
|
import torch
import torch.nn as nn
from typing import Optional, Mapping, Union, Tuple
from .base import Merger, Compose
class SegmentationTTAWrapper(nn.Module):
"""Wrap PyTorch nn.Module (segmentation model) with test time augmentation transforms
Args:
model (torch.nn.Module): segmentation model with single input and single output
(.forward(x) should return either torch.Tensor or Mapping[str, torch.Tensor])
transforms (ttach.Compose): composition of test time transforms
merge_mode (str): method to merge augmented predictions mean/gmean/max/min/sum/tsharpen
output_mask_key (str): if model output is `dict`, specify which key belong to `mask`
"""
def __init__(
self,
model: nn.Module,
transforms: Compose,
merge_mode: str = "mean",
output_mask_key: Optional[str] = None,
):
super().__init__()
self.model = model
self.transforms = transforms
self.merge_mode = merge_mode
self.output_key = output_mask_key
def forward(
self, image: torch.Tensor, *args
) -> Union[torch.Tensor, Mapping[str, torch.Tensor]]:
merger = Merger(type=self.merge_mode, n=len(self.transforms))
for transformer in self.transforms:
augmented_image = transformer.augment_image(image)
augmented_output = self.model(augmented_image, *args)
if self.output_key is not None:
augmented_output = augmented_output[self.output_key]
deaugmented_output = transformer.deaugment_mask(augmented_output)
merger.append(deaugmented_output)
result = merger.result
if self.output_key is not None:
result = {self.output_key: result}
return result
class ClassificationTTAWrapper(nn.Module):
"""Wrap PyTorch nn.Module (classification model) with test time augmentation transforms
Args:
model (torch.nn.Module): classification model with single input and single output
(.forward(x) should return either torch.Tensor or Mapping[str, torch.Tensor])
transforms (ttach.Compose): composition of test time transforms
merge_mode (str): method to merge augmented predictions mean/gmean/max/min/sum/tsharpen
output_label_key (str): if model output is `dict`, specify which key belong to `label`
"""
def __init__(
self,
model: nn.Module,
transforms: Compose,
merge_mode: str = "mean",
output_label_key: Optional[str] = None,
):
super().__init__()
self.model = model
self.transforms = transforms
self.merge_mode = merge_mode
self.output_key = output_label_key
def forward(
self, image: torch.Tensor, *args
) -> Union[torch.Tensor, Mapping[str, torch.Tensor]]:
merger = Merger(type=self.merge_mode, n=len(self.transforms))
for transformer in self.transforms:
augmented_image = transformer.augment_image(image)
augmented_output = self.model(augmented_image, *args)
if self.output_key is not None:
augmented_output = augmented_output[self.output_key]
deaugmented_output = transformer.deaugment_label(augmented_output)
merger.append(deaugmented_output)
result = merger.result
if self.output_key is not None:
result = {self.output_key: result}
return result
class KeypointsTTAWrapper(nn.Module):
"""Wrap PyTorch nn.Module (keypoints model) with test time augmentation transforms
Args:
model (torch.nn.Module): keypoints model with single input and single output
in format [x1,y1, x2, y2, ..., xn, yn]
(.forward(x) should return either torch.Tensor or Mapping[str, torch.Tensor])
transforms (ttach.Compose): composition of test time transforms
merge_mode (str): method to merge augmented predictions mean/gmean/max/min/sum/tsharpen
output_keypoints_key (str): if model output is `dict`, specify which key belong to `label`
scaled (bool): True if model return x, y scaled values in [0, 1], else False
"""
def __init__(
self,
model: nn.Module,
transforms: Compose,
merge_mode: str = "mean",
output_keypoints_key: Optional[str] = None,
scaled: bool = False,
):
super().__init__()
self.model = model
self.transforms = transforms
self.merge_mode = merge_mode
self.output_key = output_keypoints_key
self.scaled = scaled
def forward(
self, image: torch.Tensor, *args
) -> Union[torch.Tensor, Mapping[str, torch.Tensor]]:
merger = Merger(type=self.merge_mode, n=len(self.transforms))
size = image.size()
batch_size, image_height, image_width = size[0], size[2], size[3]
for transformer in self.transforms:
augmented_image = transformer.augment_image(image)
augmented_output = self.model(augmented_image, *args)
if self.output_key is not None:
augmented_output = augmented_output[self.output_key]
augmented_output = augmented_output.reshape(batch_size, -1, 2)
if not self.scaled:
augmented_output[..., 0] /= image_width
augmented_output[..., 1] /= image_height
deaugmented_output = transformer.deaugment_keypoints(augmented_output)
merger.append(deaugmented_output)
result = merger.result
if not self.scaled:
result[..., 0] *= image_width
result[..., 1] *= image_height
result = result.reshape(batch_size, -1)
if self.output_key is not None:
result = {self.output_key: result}
return result
| 37.063291
| 98
| 0.645663
| 698
| 5,856
| 5.252149
| 0.153295
| 0.065466
| 0.053191
| 0.03437
| 0.821058
| 0.801964
| 0.779869
| 0.770322
| 0.770322
| 0.770322
| 0
| 0.003717
| 0.265027
| 5,856
| 157
| 99
| 37.299363
| 0.848048
| 0.282958
| 0
| 0.74
| 0
| 0
| 0.002936
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.06
| false
| 0
| 0.04
| 0
| 0.16
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
db3cd9f7645f6431870a453c3355b1affa7fbaf5
| 1,774
|
py
|
Python
|
src/astrochem_embedding/models/tests/test_models.py
|
laserkelvin/astrochem_embedding
|
20499d2c91315027f38423b411865f47b707f30d
|
[
"MIT"
] | null | null | null |
src/astrochem_embedding/models/tests/test_models.py
|
laserkelvin/astrochem_embedding
|
20499d2c91315027f38423b411865f47b707f30d
|
[
"MIT"
] | 35
|
2021-11-17T01:24:05.000Z
|
2022-03-30T13:24:58.000Z
|
src/astrochem_embedding/models/tests/test_models.py
|
laserkelvin/astrochem_embedding
|
20499d2c91315027f38423b411865f47b707f30d
|
[
"MIT"
] | 1
|
2021-11-17T16:20:40.000Z
|
2021-11-17T16:20:40.000Z
|
import torch
from astrochem_embedding.models import models
@torch.no_grad()
def test_gruautoencoder():
model = models.GRUAutoEncoder(embedding_dim=8, z_dim=16, num_layers=1)
# expect a tensor of shape batch, seq_length
test_array = torch.randint(0, 10, size=(32, 10))
output = model(test_array)
@torch.no_grad()
def test_gruautoencoder_multi():
model = models.GRUAutoEncoder(embedding_dim=8, z_dim=16, num_layers=3)
# expect a tensor of shape batch, seq_length
test_array = torch.randint(0, 10, size=(32, 10))
output = model(test_array)
@torch.no_grad()
def test_gruautoencoder_step():
model = models.GRUAutoEncoder(embedding_dim=8, z_dim=16, num_layers=1)
# expect a tensor of shape batch, seq_length
test_array = torch.randint(0, 10, size=(32, 10))
model.step((test_array, test_array, test_array), "test")
@torch.no_grad()
def test_vicgae():
model = models.VICGAE(embedding_dim=8, z_dim=16, num_layers=1)
# expect a tensor of shape batch, seq_length
test_array = torch.randint(0, 10, size=(32, 10))
output = model(test_array)
@torch.no_grad()
def test_vicgae_multi():
model = models.VICGAE(embedding_dim=8, z_dim=16, num_layers=3)
# expect a tensor of shape batch, seq_length
test_array = torch.randint(0, 10, size=(32, 10))
output = model(test_array)
@torch.no_grad()
def test_vicgae_step():
model = models.VICGAE(embedding_dim=8, z_dim=16, num_layers=1)
# expect a tensor of shape batch, seq_length
test_array = torch.randint(0, 10, size=(32, 10))
model.step((test_array, test_array, test_array), "test")
def test_load_gruautoencoder():
model = models.GRUAutoEncoder.from_pretrained()
def test_load_vicgae():
model = models.VICGAE.from_pretrained()
| 29.566667
| 74
| 0.714769
| 274
| 1,774
| 4.39781
| 0.145985
| 0.119502
| 0.116183
| 0.06971
| 0.849793
| 0.849793
| 0.80332
| 0.80332
| 0.80332
| 0.80332
| 0
| 0.044444
| 0.162909
| 1,774
| 59
| 75
| 30.067797
| 0.767003
| 0.14487
| 0
| 0.611111
| 0
| 0
| 0.005298
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.222222
| false
| 0
| 0.055556
| 0
| 0.277778
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
919f6111cec2bbfcfe4d401c67872ac1a3ed98c7
| 155
|
py
|
Python
|
segmentation/encoding/functions/__init__.py
|
ygjwd12345/VISTA-Net
|
7b85ec10540eed03c93abcee1b0b41c3094bd578
|
[
"MIT"
] | 13
|
2021-03-08T07:21:00.000Z
|
2021-12-13T07:52:52.000Z
|
segmentation/encoding/functions/__init__.py
|
ygjwd12345/VISTA-Net
|
7b85ec10540eed03c93abcee1b0b41c3094bd578
|
[
"MIT"
] | null | null | null |
segmentation/encoding/functions/__init__.py
|
ygjwd12345/VISTA-Net
|
7b85ec10540eed03c93abcee1b0b41c3094bd578
|
[
"MIT"
] | 2
|
2021-03-31T01:23:56.000Z
|
2021-04-13T15:57:26.000Z
|
"""Encoding Autograd Fuctions"""
from .syncbn import *
from .encoding import *
from .dist_syncbn import *
from .customize import *
from .rectify import *
| 19.375
| 32
| 0.741935
| 19
| 155
| 6
| 0.473684
| 0.350877
| 0.280702
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.154839
| 155
| 7
| 33
| 22.142857
| 0.870229
| 0.167742
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
91d54d13a6589f91aebe1fdf2a48d5c13f11e086
| 5,057
|
py
|
Python
|
test/shapley_test.py
|
benedekrozemberczki/shapley
|
780f5aaab0bb6b9ea69673767a1f808964b1f19d
|
[
"MIT"
] | 159
|
2020-12-27T19:16:36.000Z
|
2022-03-31T07:50:51.000Z
|
test/shapley_test.py
|
benedekrozemberczki/shapley
|
780f5aaab0bb6b9ea69673767a1f808964b1f19d
|
[
"MIT"
] | 1
|
2021-01-25T08:31:57.000Z
|
2021-02-01T14:13:25.000Z
|
test/shapley_test.py
|
benedekrozemberczki/shapley
|
780f5aaab0bb6b9ea69673767a1f808964b1f19d
|
[
"MIT"
] | 21
|
2020-12-28T02:13:25.000Z
|
2022-03-31T04:29:35.000Z
|
"""Generic shape and entropy tests."""
import math
import numpy as np
from shapley import ExactEnumeration
from shapley import PermutationSampler
from shapley import MultilinearExtension
from shapley import ExpectedMarginalContributions
def test_permutation_sampling():
"""
Testing the Permutation Sampler class.
"""
solver = PermutationSampler()
W = np.random.uniform(0, 1, (100, 100))
solver.solve_game(W, q=50)
Phi = solver.get_solution()
Phi_tilde = solver.get_average_shapley()
entropy = solver.get_shapley_entropy()
assert Phi.shape == W.shape
assert Phi_tilde.shape == (W.shape[1],)
assert -math.log(1.0 / W.shape[1]) - entropy > 0
solver = PermutationSampler(permutations=10000)
W = np.random.uniform(0, 1, (100, 50))
solver.solve_game(W, q=20)
Phi = solver.get_solution()
Phi_tilde = solver.get_average_shapley()
entropy = solver.get_shapley_entropy()
assert Phi.shape == W.shape
assert Phi_tilde.shape == (W.shape[1],)
assert -math.log(1.0 / W.shape[1]) - entropy > 0
solver = PermutationSampler(permutations=10000)
W = np.random.uniform(0, 1, (10, 13))
solver.solve_game(W, q=3)
Phi = solver.get_solution()
Phi_tilde = solver.get_average_shapley()
entropy = solver.get_shapley_entropy()
assert Phi.shape == W.shape
assert Phi_tilde.shape == (W.shape[1],)
assert -math.log(1.0 / W.shape[1]) - entropy > 0
def test_multilinear_extension():
"""
Testing the Multilinear Extension class.
"""
solver = MultilinearExtension()
W = np.random.uniform(0, 1, (100, 97))
solver.solve_game(W, q=0.25)
Phi = solver.get_solution()
Phi_tilde = solver.get_average_shapley()
entropy = solver.get_shapley_entropy()
assert Phi.shape == W.shape
assert Phi_tilde.shape == (W.shape[1],)
assert -math.log(1.0 / W.shape[1]) - entropy > 0
solver = MultilinearExtension()
W = np.random.uniform(0, 1, (100, 48))
solver.solve_game(W, q=0.25)
Phi = solver.get_solution()
Phi_tilde = solver.get_average_shapley()
entropy = solver.get_shapley_entropy()
assert Phi.shape == W.shape
assert Phi_tilde.shape == (W.shape[1],)
assert -math.log(1.0 / W.shape[1]) - entropy > 0
solver = MultilinearExtension()
W = np.random.uniform(0, 1, (10, 13))
solver.solve_game(W, q=0.13)
Phi = solver.get_solution()
Phi_tilde = solver.get_average_shapley()
entropy = solver.get_shapley_entropy()
assert Phi.shape == W.shape
assert Phi_tilde.shape == (W.shape[1],)
assert -math.log(1.0 / W.shape[1]) - entropy > 0
def test_exact_enumeration():
"""
Testing the Exact Enumeration class.
"""
solver = ExactEnumeration()
W = np.random.uniform(0, 1, (100, 7))
solver.solve_game(W, q=2.5)
Phi = solver.get_solution()
Phi_tilde = solver.get_average_shapley()
entropy = solver.get_shapley_entropy()
assert Phi.shape == W.shape
assert Phi_tilde.shape == (W.shape[1],)
assert -math.log(1.0 / W.shape[1]) - entropy > -0.001
solver = ExactEnumeration()
W = np.random.uniform(0, 1, (100, 6))
solver.solve_game(W, q=2)
Phi = solver.get_solution()
Phi_tilde = solver.get_average_shapley()
entropy = solver.get_shapley_entropy()
assert Phi.shape == W.shape
assert Phi_tilde.shape == (W.shape[1],)
assert -math.log(1.0 / W.shape[1]) - entropy > -0.001
solver = ExactEnumeration()
W = np.random.uniform(0, 1, (10, 5))
solver.solve_game(W, q=3)
Phi = solver.get_solution()
Phi_tilde = solver.get_average_shapley()
entropy = solver.get_shapley_entropy()
assert Phi.shape == W.shape
assert Phi_tilde.shape == (W.shape[1],)
assert -math.log(1.0 / W.shape[1]) - entropy > -0.001
def test_expected_marginal_contributions():
"""
Testing the Expected Marginal Contributions class.
"""
solver = ExpectedMarginalContributions()
W = np.random.uniform(0, 1, (100, 97))
solver.solve_game(W, q=15.5)
Phi = solver.get_solution()
Phi_tilde = solver.get_average_shapley()
entropy = solver.get_shapley_entropy()
assert Phi.shape == W.shape
assert Phi_tilde.shape == (W.shape[1],)
assert -math.log(1.0 / W.shape[1]) - entropy > 0
solver = ExpectedMarginalContributions()
W = np.random.uniform(0, 1, (100, 48))
solver.solve_game(W, q=12.5)
Phi = solver.get_solution()
Phi_tilde = solver.get_average_shapley()
entropy = solver.get_shapley_entropy()
assert Phi.shape == W.shape
assert Phi_tilde.shape == (W.shape[1],)
assert -math.log(1.0 / W.shape[1]) - entropy > 0
solver = ExpectedMarginalContributions(epsilon=10 ** -5)
W = np.random.uniform(0, 1, (10, 13))
solver.solve_game(W, q=3.0)
Phi = solver.get_solution()
Phi_tilde = solver.get_average_shapley()
entropy = solver.get_shapley_entropy()
assert Phi.shape == W.shape
assert Phi_tilde.shape == (W.shape[1],)
assert -math.log(1.0 / W.shape[1]) - entropy > 0
| 28.732955
| 60
| 0.656713
| 718
| 5,057
| 4.479109
| 0.091922
| 0.100746
| 0.08209
| 0.059701
| 0.84546
| 0.834888
| 0.823383
| 0.815299
| 0.815299
| 0.782027
| 0
| 0.046097
| 0.202096
| 5,057
| 175
| 61
| 28.897143
| 0.750929
| 0.039549
| 0
| 0.788136
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.305085
| 1
| 0.033898
| false
| 0
| 0.050847
| 0
| 0.084746
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
37e0452e0ebb8e851cf4039a26545aee27296bcd
| 91
|
py
|
Python
|
utilities/batch_ingest_sm_sklearn_empty.py
|
RominaUQ/amazon-sagemaker-feature-store-end-to-end-workshop
|
d0443ed3d9da5d085217efc5b11d3090d1e95a8e
|
[
"MIT-0"
] | 41
|
2021-09-07T19:30:54.000Z
|
2022-03-31T14:56:20.000Z
|
utilities/batch_ingest_sm_sklearn_empty.py
|
RominaUQ/amazon-sagemaker-feature-store-end-to-end-workshop
|
d0443ed3d9da5d085217efc5b11d3090d1e95a8e
|
[
"MIT-0"
] | 9
|
2021-10-01T23:11:24.000Z
|
2022-03-31T22:17:29.000Z
|
utilities/batch_ingest_sm_sklearn_empty.py
|
RominaUQ/amazon-sagemaker-feature-store-end-to-end-workshop
|
d0443ed3d9da5d085217efc5b11d3090d1e95a8e
|
[
"MIT-0"
] | 16
|
2021-09-07T19:30:59.000Z
|
2022-03-30T10:20:25.000Z
|
import pandas as pd
def apply_transforms(df: pd.DataFrame) -> pd.DataFrame:
return df
| 18.2
| 55
| 0.736264
| 14
| 91
| 4.714286
| 0.714286
| 0.333333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.175824
| 91
| 4
| 56
| 22.75
| 0.88
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| false
| 0
| 0.333333
| 0.333333
| 1
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 1
| 1
| 0
|
0
| 7
|
534dd2a291ea90c23d8c231ac3d32897a818b3d1
| 1,477
|
py
|
Python
|
optiml/opti/unconstrained/tests/test_amsgrad.py
|
DonatoMeoli/NumericalOptimization
|
e60144458026a6ddbe1612f92b838c342db572eb
|
[
"MIT"
] | 4
|
2020-05-22T09:17:56.000Z
|
2022-03-15T18:23:56.000Z
|
optiml/opti/unconstrained/tests/test_amsgrad.py
|
DonatoMeoli/NumericalOptimization
|
e60144458026a6ddbe1612f92b838c342db572eb
|
[
"MIT"
] | 1
|
2022-02-25T08:29:56.000Z
|
2022-02-25T09:03:13.000Z
|
optiml/opti/unconstrained/tests/test_amsgrad.py
|
DonatoMeoli/NumericalOptimization
|
e60144458026a6ddbe1612f92b838c342db572eb
|
[
"MIT"
] | 5
|
2020-10-10T13:38:57.000Z
|
2022-03-13T20:23:37.000Z
|
import numpy as np
import pytest
from optiml.opti import quad1, quad2
from optiml.opti.unconstrained import Rosenbrock
from optiml.opti.unconstrained.stochastic import AMSGrad
def test_AMSGrad_quadratic():
assert np.allclose(AMSGrad(f=quad1, step_size=0.1).minimize().x, quad1.x_star(), rtol=0.1)
assert np.allclose(AMSGrad(f=quad2, step_size=0.1).minimize().x, quad2.x_star(), rtol=0.1)
def test_AMSGrad_Rosenbrock():
rosen = Rosenbrock()
assert np.allclose(AMSGrad(f=rosen, step_size=0.1).minimize().x, rosen.x_star(), rtol=0.1)
def test_AMSGrad_Polyak_momentum_quadratic():
assert np.allclose(AMSGrad(f=quad1, momentum_type='polyak').minimize().x, quad1.x_star(), rtol=0.1)
assert np.allclose(AMSGrad(f=quad2, momentum_type='polyak').minimize().x, quad2.x_star(), rtol=0.1)
def test_AMSGrad_Polyak_momentum_Rosenbrock():
rosen = Rosenbrock()
assert np.allclose(AMSGrad(f=rosen, momentum_type='polyak').minimize().x, rosen.x_star(), rtol=0.1)
def test_AMSGrad_nesterov_momentum_quadratic():
assert np.allclose(AMSGrad(f=quad1, momentum_type='nesterov').minimize().x, quad1.x_star(), rtol=0.1)
assert np.allclose(AMSGrad(f=quad2, momentum_type='nesterov').minimize().x, quad2.x_star(), rtol=0.1)
def test_AMSGrad_nesterov_momentum_Rosenbrock():
rosen = Rosenbrock()
assert np.allclose(AMSGrad(f=rosen, momentum_type='nesterov').minimize().x, rosen.x_star(), rtol=0.1)
if __name__ == "__main__":
pytest.main()
| 36.02439
| 105
| 0.739336
| 224
| 1,477
| 4.669643
| 0.160714
| 0.022945
| 0.137667
| 0.197897
| 0.824092
| 0.783939
| 0.755258
| 0.718929
| 0.695029
| 0.643403
| 0
| 0.028788
| 0.106297
| 1,477
| 40
| 106
| 36.925
| 0.763636
| 0
| 0
| 0.12
| 0
| 0
| 0.033852
| 0
| 0
| 0
| 0
| 0
| 0.36
| 1
| 0.24
| false
| 0
| 0.2
| 0
| 0.44
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
72638f85765ff90f4c71acf0d80b7dc3c6f65a88
| 17,628
|
py
|
Python
|
adanet/autoensemble/estimator.py
|
Mario-Kart-Felix/adanet
|
b0f7fda2e7e5fb31790965b3dcb3fc6b431c05c6
|
[
"Apache-2.0"
] | 3,323
|
2018-10-30T15:24:26.000Z
|
2022-03-26T02:39:29.000Z
|
adanet/autoensemble/estimator.py
|
yeqingcheng368/adanet
|
5e08fad3f501836bb3e2e22316704a10b5f4507f
|
[
"Apache-2.0"
] | 136
|
2018-10-30T18:22:45.000Z
|
2022-02-02T20:39:26.000Z
|
adanet/autoensemble/estimator.py
|
yeqingcheng368/adanet
|
5e08fad3f501836bb3e2e22316704a10b5f4507f
|
[
"Apache-2.0"
] | 542
|
2018-10-30T18:18:04.000Z
|
2022-03-31T12:41:50.000Z
|
"""An estimator that learns to ensemble.
Copyright 2018 The AdaNet 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
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from adanet import core
from adanet.autoensemble.common import _GeneratorFromCandidatePool
import tensorflow.compat.v2 as tf
class AutoEnsembleEstimator(core.Estimator): # pylint: disable=g-classes-have-attributes
# pyformat: disable
"""A :class:`tf.estimator.Estimator` that learns to ensemble models.
Specifically, it learns to ensemble models from a candidate pool using the
Adanet algorithm.
.. code-block:: python
# A simple example of learning to ensemble linear and neural network
# models.
import adanet
import tensorflow as tf
feature_columns = ...
head = MultiClassHead(n_classes=10)
# Learn to ensemble linear and DNN models.
estimator = adanet.AutoEnsembleEstimator(
head=head,
candidate_pool=lambda config: {
"linear":
tf.estimator.LinearEstimator(
head=head,
feature_columns=feature_columns,
config=config,
optimizer=...),
"dnn":
tf.estimator.DNNEstimator(
head=head,
feature_columns=feature_columns,
config=config,
optimizer=...,
hidden_units=[1000, 500, 100])},
max_iteration_steps=50)
# Input builders
def input_fn_train:
# Returns tf.data.Dataset of (x, y) tuple where y represents label's
# class index.
pass
def input_fn_eval:
# Returns tf.data.Dataset of (x, y) tuple where y represents label's
# class index.
pass
def input_fn_predict:
# Returns tf.data.Dataset of (x, None) tuple.
pass
estimator.train(input_fn=input_fn_train, steps=100)
metrics = estimator.evaluate(input_fn=input_fn_eval, steps=10)
predictions = estimator.predict(input_fn=input_fn_predict)
Or to train candidate subestimators on different training data subsets:
.. code-block:: python
train_data_files = [...]
# Learn to ensemble linear and DNN models.
estimator = adanet.AutoEnsembleEstimator(
head=head,
candidate_pool=lambda config: {
"linear":
adanet.AutoEnsembleSubestimator(
tf.estimator.LinearEstimator(
head=head,
feature_columns=feature_columns,
config=config,
optimizer=...),
make_train_input_fn(train_data_files[:-1])),
"dnn":
adanet.AutoEnsembleSubestimator(
tf.estimator.DNNEstimator(
head=head,
feature_columns=feature_columns,
config=config,
optimizer=...,
hidden_units=[1000, 500, 100]),
make_train_input_fn(train_data_files[0:]))},
max_iteration_steps=50)
estimator.train(input_fn=make_train_input_fn(train_data_files), steps=100)
Args:
head: A :class:`tf.contrib.estimator.Head` instance for computing loss and
evaluation metrics for every candidate.
candidate_pool: List of :class:`tf.estimator.Estimator` and
:class:`AutoEnsembleSubestimator` objects, or dict of string name to
:class:`tf.estimator.Estimator` and :class:`AutoEnsembleSubestimator`
objects that are candidate subestimators to ensemble at each iteration.
The order does not directly affect which candidates will be included in
the final ensemble, but will affect the name of the candidate. When using
a dict, the string key becomes the candidate subestimator's name.
Alternatively, this argument can be a function that takes a `config`
argument and returns the aforementioned values in case the
objects need to be re-instantiated at each adanet iteration.
max_iteration_steps: Total number of steps for which to train candidates per
iteration. If `OutOfRange` or `StopIteration` occurs in the middle,
training stops before `max_iteration_steps` steps.
logits_fn: A function for fetching the subnetwork logits from a
:class:`tf.estimator.EstimatorSpec`, which should obey the following
signature:
- `Args`: Can only have following argument:
- estimator_spec: The candidate's :class:`tf.estimator.EstimatorSpec`.
- `Returns`: Logits :class:`tf.Tensor` or dict of string to logits
:class:`tf.Tensor` (for multi-head) for the candidate subnetwork
extracted from the given `estimator_spec`. When `None`, it will
default to returning `estimator_spec.predictions` when they are a
:class:`tf.Tensor` or the :class:`tf.Tensor` for the key 'logits' when
they are a dict of string to :class:`tf.Tensor`.
last_layer_fn: An optional function for fetching the subnetwork last_layer
from a :class:`tf.estimator.EstimatorSpec`, which should obey the
following signature:
- `Args`: Can only have following argument:
- estimator_spec: The candidate's :class:`tf.estimator.EstimatorSpec`.
- `Returns`: Last layer :class:`tf.Tensor` or dict of string to last
layer :class:`tf.Tensor` (for multi-head) for the candidate subnetwork
extracted from the given `estimator_spec`. The last_layer can be used
for learning ensembles or exporting them as embeddings.
When `None`, it will default to using the logits as the last_layer.
ensemblers: See :class:`adanet.Estimator`.
ensemble_strategies: See :class:`adanet.Estimator`.
evaluator: See :class:`adanet.Estimator`.
metric_fn: See :class:`adanet.Estimator`.
force_grow: See :class:`adanet.Estimator`.
adanet_loss_decay: See :class:`adanet.Estimator`.
worker_wait_timeout_secs: See :class:`adanet.Estimator`.
model_dir: See :class:`adanet.Estimator`.
config: See :class:`adanet.Estimator`.
debug: See :class:`adanet.Estimator`.
enable_ensemble_summaries: See :class:`adanet.Estimator`.
enable_subnetwork_summaries: See :class:`adanet.Estimator`.
global_step_combiner_fn: See :class:`adanet.Estimator`.
max_iterations: See :class:`adanet.Estimator`.
replay_config: See :class:`adanet.Estimator`.
**kwargs: Extra keyword args passed to the parent.
Returns:
An :class:`adanet.AutoEnsembleEstimator` instance.
Raises:
ValueError: If any of the candidates in `candidate_pool` are not
:class:`tf.estimator.Estimator` instances.
"""
# pyformat: enable
def __init__(self,
head,
candidate_pool,
max_iteration_steps,
ensemblers=None,
ensemble_strategies=None,
logits_fn=None,
last_layer_fn=None,
evaluator=None,
metric_fn=None,
force_grow=False,
adanet_loss_decay=.9,
worker_wait_timeout_secs=7200,
model_dir=None,
config=None,
debug=False,
enable_ensemble_summaries=True,
enable_subnetwork_summaries=True,
global_step_combiner_fn=tf.math.reduce_mean,
max_iterations=None,
replay_config=None,
**kwargs):
subnetwork_generator = _GeneratorFromCandidatePool(candidate_pool,
logits_fn, last_layer_fn)
super(AutoEnsembleEstimator, self).__init__(
head=head,
subnetwork_generator=subnetwork_generator,
max_iteration_steps=max_iteration_steps,
ensemblers=ensemblers,
ensemble_strategies=ensemble_strategies,
evaluator=evaluator,
metric_fn=metric_fn,
force_grow=force_grow,
adanet_loss_decay=adanet_loss_decay,
worker_wait_timeout_secs=worker_wait_timeout_secs,
model_dir=model_dir,
config=config,
debug=debug,
enable_ensemble_summaries=enable_ensemble_summaries,
enable_subnetwork_summaries=enable_subnetwork_summaries,
global_step_combiner_fn=global_step_combiner_fn,
max_iterations=max_iterations,
replay_config=replay_config,
**kwargs)
class AutoEnsembleTPUEstimator(core.TPUEstimator): # pylint: disable=g-classes-have-attributes
# pyformat: disable
"""A :class:`tf.estimator.tpu.TPUEstimator` that learns to ensemble models.
Specifically, it learns to ensemble models from a candidate pool using the
Adanet algorithm.
This estimator is capable of training and evaluating on TPU. It can ensemble
both :class:`tf.estimator.tpu.TPUEstimator` candidates as well as regular
:class:`tf.estimator.Estimator` candidates, as long as these candidates are
TPU compatible.
Note the following restrictions compared to AutoEnsembleEstimator:
* All candidates must wrap their optimizers with a
:class:`tf.tpu.CrossShardOptimizer`.
* The `input_fn` must expose a `params` argument.
* The `model_fn` of :class:`tf.estimator.tpu.TPUEstimator` candidates must
also expose a `params` argument.
WARNING: This Estimator is a work in progress and the API could change at any
moment. May not support all AutoEnsembleEstimator features.
.. code-block:: python
# A simple example of learning to ensemble linear and neural network
# models on TPU.
import adanet
import tensorflow as tf
feature_columns = ...
head = MultiClassHead(n_classes=10)
# Learn to ensemble linear and DNN models.
estimator = adanet.AutoEnsembleTPUEstimator(
head=head,
candidate_pool=lambda config: {
"linear":
tf.estimator.LinearEstimator(
head=head,
feature_columns=feature_columns,
config=config,
optimizer=tf.tpu.CrossShardOptimizer(...)),
"dnn":
tf.estimator.DNNEstimator(
head=head,
feature_columns=feature_columns,
config=config,
optimizer=tf.tpu.CrossShardOptimzier(...),
hidden_units=[1000, 500, 100])},
max_iteration_steps=50)
# Input builders
def input_fn_train(params):
# Returns tf.data.Dataset of (x, y) tuple where y represents label's
# class index.
pass
def input_fn_eval(params):
# Returns tf.data.Dataset of (x, y) tuple where y represents label's
# class index.
pass
def input_fn_predict():
# Returns tf.data.Dataset of (x, None) tuple.
pass
estimator.train(input_fn=input_fn_train, steps=100)
metrics = estimator.evaluate(input_fn=input_fn_eval, steps=10)
predictions = estimator.predict(input_fn=input_fn_predict)
Args:
head: A :class:`tf.contrib.estimator.Head` instance for computing loss and
evaluation metrics for every candidate.
candidate_pool: List of :class:`tf.estimator.tpu.TPUEstimator` and
:class:`AutoEnsembleSubestimator` objects, or dict of string name to
:class:`tf.estimator.tpu.TPUEstimator` and
:class:`AutoEnsembleSubestimator` objects that are candidate subestimators
to ensemble at each iteration. The order does not directly affect which
candidates will be included in the final ensemble, but will affect the
name of the candidate. When using a dict, the string key becomes the
candidate subestimator's name. Alternatively, this argument can be a
function that takes a `config` argument and returns the aforementioned
values in case the objects need to be re-instantiated at each adanet
iteration.
max_iteration_steps: See :class:`adanet.Estimator`.
logits_fn: A function for fetching the subnetwork logits from a
:class:`tf.estimator.EstimatorSpec`, which should obey the following
signature:
- `Args`: Can only have following argument:
- estimator_spec: The candidate's :class:`tf.estimator.EstimatorSpec`.
- `Returns`: Logits :class:`tf.Tensor` or dict of string to logits
:class:`tf.Tensor` (for multi-head) for the candidate subnetwork
extracted from the given `estimator_spec`. When `None`, it will
default to returning `estimator_spec.predictions` when they are a
:class:`tf.Tensor` or the :class:`tf.Tensor` for the key 'logits' when
they are a dict of string to :class:`tf.Tensor`.
last_layer_fn: An optional function for fetching the subnetwork last_layer
from a :class:`tf.estimator.EstimatorSpec`, which should obey the
following signature:
- `Args`: Can only have following argument:
- estimator_spec: The candidate's :class:`tf.estimator.EstimatorSpec`.
- `Returns`: Last layer :class:`tf.Tensor` or dict of string to last
layer :class:`tf.Tensor` (for multi-head) for the candidate subnetwork
extracted from the given `estimator_spec`. The last_layer can be used
for learning ensembles or exporting them as embeddings.
When `None`, it will default to using the logits as the last_layer.
ensemblers: See :class:`adanet.Estimator`.
ensemble_strategies: See :class:`adanet.Estimator`.
evaluator: See :class:`adanet.Estimator`.
metric_fn: See :class:`adanet.Estimator`.
force_grow: See :class:`adanet.Estimator`.
adanet_loss_decay: See :class:`adanet.Estimator`.
model_dir: See :class:`adanet.Estimator`.
config: See :class:`adanet.Estimator`.
use_tpu: See :class:`adanet.Estimator`.
eval_on_tpu: See :class:`adanet.Estimator`.
export_to_tpu: See :class:`adanet.Estimator`.
train_batch_size: See :class:`adanet.Estimator`.
eval_batch_size: See :class:`adanet.Estimator`.
embedding_config_spec: See :class:`adanet.Estimator`.
debug: See :class:`adanet.Estimator`.
enable_ensemble_summaries: See :class:`adanet.Estimator`.
enable_subnetwork_summaries: See :class:`adanet.Estimator`.
global_step_combiner_fn: See :class:`adanet.Estimator`.
max_iterations: See :class:`adanet.Estimator`.
replay_config: See :class:`adanet.Estimator`.
**kwargs: Extra keyword args passed to the parent.
Returns:
An :class:`adanet.AutoEnsembleTPUEstimator` instance.
Raises:
ValueError: If any of the candidates in `candidate_pool` are not
:class:`tf.estimator.Estimator` instances.
"""
# pyformat: enable
def __init__(self,
head,
candidate_pool,
max_iteration_steps,
ensemblers=None,
ensemble_strategies=None,
logits_fn=None,
last_layer_fn=None,
evaluator=None,
metric_fn=None,
force_grow=False,
adanet_loss_decay=.9,
model_dir=None,
config=None,
use_tpu=True,
eval_on_tpu=True,
export_to_tpu=True,
train_batch_size=None,
eval_batch_size=None,
predict_batch_size=None,
embedding_config_spec=None,
debug=False,
enable_ensemble_summaries=True,
enable_subnetwork_summaries=True,
global_step_combiner_fn=tf.math.reduce_mean,
max_iterations=None,
replay_config=None,
**kwargs):
subnetwork_generator = _GeneratorFromCandidatePool(candidate_pool,
logits_fn, last_layer_fn)
super(AutoEnsembleTPUEstimator, self).__init__(
head=head,
subnetwork_generator=subnetwork_generator,
max_iteration_steps=max_iteration_steps,
ensemblers=ensemblers,
ensemble_strategies=ensemble_strategies,
evaluator=evaluator,
metric_fn=metric_fn,
force_grow=force_grow,
adanet_loss_decay=adanet_loss_decay,
model_dir=model_dir,
config=config,
use_tpu=use_tpu,
eval_on_tpu=eval_on_tpu,
export_to_tpu=export_to_tpu,
train_batch_size=train_batch_size,
eval_batch_size=eval_batch_size,
predict_batch_size=predict_batch_size,
embedding_config_spec=embedding_config_spec,
debug=debug,
enable_ensemble_summaries=enable_ensemble_summaries,
enable_subnetwork_summaries=enable_subnetwork_summaries,
global_step_combiner_fn=global_step_combiner_fn,
max_iterations=max_iterations,
replay_config=replay_config,
**kwargs)
| 42.477108
| 95
| 0.656285
| 2,064
| 17,628
| 5.430233
| 0.151647
| 0.037295
| 0.044968
| 0.073876
| 0.814329
| 0.79238
| 0.774179
| 0.766149
| 0.764543
| 0.761867
| 0
| 0.005427
| 0.268323
| 17,628
| 414
| 96
| 42.57971
| 0.863545
| 0.732017
| 0
| 0.759259
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.018519
| false
| 0
| 0.055556
| 0
| 0.092593
| 0.009259
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
728834a73af2b759ad75b860bbba454a6ecc1525
| 49,328
|
py
|
Python
|
mailchimp_marketing/api/file_manager_api.py
|
OlegBugaichuk/mailchimp-marketing-python
|
c00c09dcbe0e9680e8956be97eca3c963f92b3dd
|
[
"Apache-2.0"
] | null | null | null |
mailchimp_marketing/api/file_manager_api.py
|
OlegBugaichuk/mailchimp-marketing-python
|
c00c09dcbe0e9680e8956be97eca3c963f92b3dd
|
[
"Apache-2.0"
] | null | null | null |
mailchimp_marketing/api/file_manager_api.py
|
OlegBugaichuk/mailchimp-marketing-python
|
c00c09dcbe0e9680e8956be97eca3c963f92b3dd
|
[
"Apache-2.0"
] | null | null | null |
# coding: utf-8
"""
Mailchimp Marketing API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
OpenAPI spec version: 3.0.22
Contact: apihelp@mailchimp.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility library
import six
from mailchimp_marketing.api_client import ApiClient
class FileManagerApi(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
Ref: https://github.com/swagger-api/swagger-codegen
"""
def __init__(self, api_client):
self.api_client = api_client
def delete_file(self, file_id, **kwargs): # noqa: E501
"""Delete file # noqa: E501
Remove a specific file from the File Manager. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_file(file_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str file_id: The unique id for the File Manager file. (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_file_with_http_info(file_id, **kwargs) # noqa: E501
else:
(data) = self.delete_file_with_http_info(file_id, **kwargs) # noqa: E501
return data
def delete_file_with_http_info(self, file_id, **kwargs): # noqa: E501
"""Delete file # noqa: E501
Remove a specific file from the File Manager. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_file_with_http_info(file_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str file_id: The unique id for the File Manager file. (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['file_id'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method delete_file" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'file_id' is set
if ('file_id' not in params or
params['file_id'] is None):
raise ValueError("Missing the required parameter `file_id` when calling ``") # noqa: E501
collection_formats = {}
path_params = {}
if 'file_id' in params:
path_params['file_id'] = params['file_id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json', 'application/problem+json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['basicAuth'] # noqa: E501
return self.api_client.call_api(
'/file-manager/files/{file_id}', 'DELETE',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type=None, # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def delete_folder(self, folder_id, **kwargs): # noqa: E501
"""Delete folder # noqa: E501
Delete a specific folder in the File Manager. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_folder(folder_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str folder_id: The unique id for the File Manager folder. (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_folder_with_http_info(folder_id, **kwargs) # noqa: E501
else:
(data) = self.delete_folder_with_http_info(folder_id, **kwargs) # noqa: E501
return data
def delete_folder_with_http_info(self, folder_id, **kwargs): # noqa: E501
"""Delete folder # noqa: E501
Delete a specific folder in the File Manager. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_folder_with_http_info(folder_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str folder_id: The unique id for the File Manager folder. (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['folder_id'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method delete_folder" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'folder_id' is set
if ('folder_id' not in params or
params['folder_id'] is None):
raise ValueError("Missing the required parameter `folder_id` when calling ``") # noqa: E501
collection_formats = {}
path_params = {}
if 'folder_id' in params:
path_params['folder_id'] = params['folder_id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json', 'application/problem+json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['basicAuth'] # noqa: E501
return self.api_client.call_api(
'/file-manager/folders/{folder_id}', 'DELETE',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type=None, # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def files(self, **kwargs): # noqa: E501
"""List stored files # noqa: E501
Get a list of available images and files stored in the File Manager for the account. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.files(async_req=True)
>>> result = thread.get()
:param async_req bool
:param list[str] fields: A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.
:param list[str] exclude_fields: A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation.
:param int count: The number of records to return. [Default value](/developer/guides/get-started-with-mailchimp-api-3/#Parameters) is **10**. [Maximum value](/developer/guides/get-started-with-mailchimp-api-3/#Parameters) is **1000**
:param int offset: The number of records from a collection to skip. Iterating over large collections with this parameter can be slow. [Default value](/developer/guides/get-started-with-mailchimp-api-3/#Parameters) is **0**.
:param str type: The file type for the File Manager file.
:param str created_by: The Mailchimp account user who created the File Manager file.
:param str before_created_at: Restrict the response to files created before the set date. We recommend [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time format: 2015-10-21T15:41:36+00:00.
:param str since_created_at: Restrict the response to files created after the set date. We recommend [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time format: 2015-10-21T15:41:36+00:00.
:param str sort_field: Returns files sorted by the specified field.
:param str sort_dir: Determines the order direction for sorted results.
:return: FileManager
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.files_with_http_info(**kwargs) # noqa: E501
else:
(data) = self.files_with_http_info(**kwargs) # noqa: E501
return data
def files_with_http_info(self, **kwargs): # noqa: E501
"""List stored files # noqa: E501
Get a list of available images and files stored in the File Manager for the account. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.files_with_http_info(async_req=True)
>>> result = thread.get()
:param async_req bool
:param list[str] fields: A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.
:param list[str] exclude_fields: A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation.
:param int count: The number of records to return. [Default value](/developer/guides/get-started-with-mailchimp-api-3/#Parameters) is **10**. [Maximum value](/developer/guides/get-started-with-mailchimp-api-3/#Parameters) is **1000**
:param int offset: The number of records from a collection to skip. Iterating over large collections with this parameter can be slow. [Default value](/developer/guides/get-started-with-mailchimp-api-3/#Parameters) is **0**.
:param str type: The file type for the File Manager file.
:param str created_by: The Mailchimp account user who created the File Manager file.
:param str before_created_at: Restrict the response to files created before the set date. We recommend [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time format: 2015-10-21T15:41:36+00:00.
:param str since_created_at: Restrict the response to files created after the set date. We recommend [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time format: 2015-10-21T15:41:36+00:00.
:param str sort_field: Returns files sorted by the specified field.
:param str sort_dir: Determines the order direction for sorted results.
:return: FileManager
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['fields', 'exclude_fields', 'count', 'offset', 'type', 'created_by', 'before_created_at', 'since_created_at', 'sort_field', 'sort_dir'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method files" % key
)
params[key] = val
del params['kwargs']
if 'count' in params and params['count'] > 1000: # noqa: E501
raise ValueError("Invalid value for parameter `count` when calling ``, must be a value less than or equal to `1000`") # noqa: E501
collection_formats = {}
path_params = {}
query_params = []
if 'fields' in params:
query_params.append(('fields', params['fields'])) # noqa: E501
collection_formats['fields'] = 'csv' # noqa: E501
if 'exclude_fields' in params:
query_params.append(('exclude_fields', params['exclude_fields'])) # noqa: E501
collection_formats['exclude_fields'] = 'csv' # noqa: E501
if 'count' in params:
query_params.append(('count', params['count'])) # noqa: E501
if 'offset' in params:
query_params.append(('offset', params['offset'])) # noqa: E501
if 'type' in params:
query_params.append(('type', params['type'])) # noqa: E501
if 'created_by' in params:
query_params.append(('created_by', params['created_by'])) # noqa: E501
if 'before_created_at' in params:
query_params.append(('before_created_at', params['before_created_at'])) # noqa: E501
if 'since_created_at' in params:
query_params.append(('since_created_at', params['since_created_at'])) # noqa: E501
if 'sort_field' in params:
query_params.append(('sort_field', params['sort_field'])) # noqa: E501
if 'sort_dir' in params:
query_params.append(('sort_dir', params['sort_dir'])) # noqa: E501
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json', 'application/problem+json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['basicAuth'] # noqa: E501
return self.api_client.call_api(
'/file-manager/files', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='FileManager', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def get_file(self, file_id, **kwargs): # noqa: E501
"""Get file # noqa: E501
Get information about a specific file in the File Manager. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_file(file_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str file_id: The unique id for the File Manager file. (required)
:param list[str] fields: A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.
:param list[str] exclude_fields: A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation.
:return: GalleryFile
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.get_file_with_http_info(file_id, **kwargs) # noqa: E501
else:
(data) = self.get_file_with_http_info(file_id, **kwargs) # noqa: E501
return data
def get_file_with_http_info(self, file_id, **kwargs): # noqa: E501
"""Get file # noqa: E501
Get information about a specific file in the File Manager. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_file_with_http_info(file_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str file_id: The unique id for the File Manager file. (required)
:param list[str] fields: A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.
:param list[str] exclude_fields: A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation.
:return: GalleryFile
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['file_id', 'fields', 'exclude_fields'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method get_file" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'file_id' is set
if ('file_id' not in params or
params['file_id'] is None):
raise ValueError("Missing the required parameter `file_id` when calling ``") # noqa: E501
collection_formats = {}
path_params = {}
if 'file_id' in params:
path_params['file_id'] = params['file_id'] # noqa: E501
query_params = []
if 'fields' in params:
query_params.append(('fields', params['fields'])) # noqa: E501
collection_formats['fields'] = 'csv' # noqa: E501
if 'exclude_fields' in params:
query_params.append(('exclude_fields', params['exclude_fields'])) # noqa: E501
collection_formats['exclude_fields'] = 'csv' # noqa: E501
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json', 'application/problem+json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['basicAuth'] # noqa: E501
return self.api_client.call_api(
'/file-manager/files/{file_id}', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='GalleryFile', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def list_folders(self, **kwargs): # noqa: E501
"""List folders # noqa: E501
Get a list of all folders in the File Manager. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_folders(async_req=True)
>>> result = thread.get()
:param async_req bool
:param list[str] fields: A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.
:param list[str] exclude_fields: A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation.
:param int count: The number of records to return. [Default value](/developer/guides/get-started-with-mailchimp-api-3/#Parameters) is **10**. [Maximum value](/developer/guides/get-started-with-mailchimp-api-3/#Parameters) is **1000**
:param int offset: The number of records from a collection to skip. Iterating over large collections with this parameter can be slow. [Default value](/developer/guides/get-started-with-mailchimp-api-3/#Parameters) is **0**.
:param str created_by: The Mailchimp account user who created the File Manager file.
:param str before_created_at: Restrict the response to files created before the set date. We recommend [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time format: 2015-10-21T15:41:36+00:00.
:param str since_created_at: Restrict the response to files created after the set date. We recommend [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time format: 2015-10-21T15:41:36+00:00.
:return: FileManagerFolders
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_folders_with_http_info(**kwargs) # noqa: E501
else:
(data) = self.list_folders_with_http_info(**kwargs) # noqa: E501
return data
def list_folders_with_http_info(self, **kwargs): # noqa: E501
"""List folders # noqa: E501
Get a list of all folders in the File Manager. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_folders_with_http_info(async_req=True)
>>> result = thread.get()
:param async_req bool
:param list[str] fields: A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.
:param list[str] exclude_fields: A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation.
:param int count: The number of records to return. [Default value](/developer/guides/get-started-with-mailchimp-api-3/#Parameters) is **10**. [Maximum value](/developer/guides/get-started-with-mailchimp-api-3/#Parameters) is **1000**
:param int offset: The number of records from a collection to skip. Iterating over large collections with this parameter can be slow. [Default value](/developer/guides/get-started-with-mailchimp-api-3/#Parameters) is **0**.
:param str created_by: The Mailchimp account user who created the File Manager file.
:param str before_created_at: Restrict the response to files created before the set date. We recommend [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time format: 2015-10-21T15:41:36+00:00.
:param str since_created_at: Restrict the response to files created after the set date. We recommend [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time format: 2015-10-21T15:41:36+00:00.
:return: FileManagerFolders
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['fields', 'exclude_fields', 'count', 'offset', 'created_by', 'before_created_at', 'since_created_at'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method list_folders" % key
)
params[key] = val
del params['kwargs']
if 'count' in params and params['count'] > 1000: # noqa: E501
raise ValueError("Invalid value for parameter `count` when calling ``, must be a value less than or equal to `1000`") # noqa: E501
collection_formats = {}
path_params = {}
query_params = []
if 'fields' in params:
query_params.append(('fields', params['fields'])) # noqa: E501
collection_formats['fields'] = 'csv' # noqa: E501
if 'exclude_fields' in params:
query_params.append(('exclude_fields', params['exclude_fields'])) # noqa: E501
collection_formats['exclude_fields'] = 'csv' # noqa: E501
if 'count' in params:
query_params.append(('count', params['count'])) # noqa: E501
if 'offset' in params:
query_params.append(('offset', params['offset'])) # noqa: E501
if 'created_by' in params:
query_params.append(('created_by', params['created_by'])) # noqa: E501
if 'before_created_at' in params:
query_params.append(('before_created_at', params['before_created_at'])) # noqa: E501
if 'since_created_at' in params:
query_params.append(('since_created_at', params['since_created_at'])) # noqa: E501
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json', 'application/problem+json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['basicAuth'] # noqa: E501
return self.api_client.call_api(
'/file-manager/folders', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='FileManagerFolders', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def get_folder(self, folder_id, **kwargs): # noqa: E501
"""Get folder # noqa: E501
Get information about a specific folder in the File Manager. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_folder(folder_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str folder_id: The unique id for the File Manager folder. (required)
:param list[str] fields: A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.
:param list[str] exclude_fields: A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation.
:return: GalleryFolder
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.get_folder_with_http_info(folder_id, **kwargs) # noqa: E501
else:
(data) = self.get_folder_with_http_info(folder_id, **kwargs) # noqa: E501
return data
def get_folder_with_http_info(self, folder_id, **kwargs): # noqa: E501
"""Get folder # noqa: E501
Get information about a specific folder in the File Manager. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_folder_with_http_info(folder_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str folder_id: The unique id for the File Manager folder. (required)
:param list[str] fields: A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.
:param list[str] exclude_fields: A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation.
:return: GalleryFolder
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['folder_id', 'fields', 'exclude_fields'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method get_folder" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'folder_id' is set
if ('folder_id' not in params or
params['folder_id'] is None):
raise ValueError("Missing the required parameter `folder_id` when calling ``") # noqa: E501
collection_formats = {}
path_params = {}
if 'folder_id' in params:
path_params['folder_id'] = params['folder_id'] # noqa: E501
query_params = []
if 'fields' in params:
query_params.append(('fields', params['fields'])) # noqa: E501
collection_formats['fields'] = 'csv' # noqa: E501
if 'exclude_fields' in params:
query_params.append(('exclude_fields', params['exclude_fields'])) # noqa: E501
collection_formats['exclude_fields'] = 'csv' # noqa: E501
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json', 'application/problem+json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['basicAuth'] # noqa: E501
return self.api_client.call_api(
'/file-manager/folders/{folder_id}', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='GalleryFolder', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def update_file(self, file_id, body, **kwargs): # noqa: E501
"""Update file # noqa: E501
Update a file in the File Manager. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_file(file_id, body, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str file_id: The unique id for the File Manager file. (required)
:param GalleryFile2 body: (required)
:return: GalleryFile
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.update_file_with_http_info(file_id, body, **kwargs) # noqa: E501
else:
(data) = self.update_file_with_http_info(file_id, body, **kwargs) # noqa: E501
return data
def update_file_with_http_info(self, file_id, body, **kwargs): # noqa: E501
"""Update file # noqa: E501
Update a file in the File Manager. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_file_with_http_info(file_id, body, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str file_id: The unique id for the File Manager file. (required)
:param GalleryFile2 body: (required)
:return: GalleryFile
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['file_id', 'body'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method update_file" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'file_id' is set
if ('file_id' not in params or
params['file_id'] is None):
raise ValueError("Missing the required parameter `file_id` when calling ``") # noqa: E501
# verify the required parameter 'body' is set
if ('body' not in params or
params['body'] is None):
raise ValueError("Missing the required parameter `body` when calling ``") # noqa: E501
collection_formats = {}
path_params = {}
if 'file_id' in params:
path_params['file_id'] = params['file_id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'body' in params:
body_params = params['body']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json', 'application/problem+json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['basicAuth'] # noqa: E501
return self.api_client.call_api(
'/file-manager/files/{file_id}', 'PATCH',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='GalleryFile', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def update_folder(self, folder_id, body, **kwargs): # noqa: E501
"""Update folder # noqa: E501
Update a specific File Manager folder. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_folder(folder_id, body, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str folder_id: The unique id for the File Manager folder. (required)
:param GalleryFolder2 body: (required)
:return: GalleryFolder
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.update_folder_with_http_info(folder_id, body, **kwargs) # noqa: E501
else:
(data) = self.update_folder_with_http_info(folder_id, body, **kwargs) # noqa: E501
return data
def update_folder_with_http_info(self, folder_id, body, **kwargs): # noqa: E501
"""Update folder # noqa: E501
Update a specific File Manager folder. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_folder_with_http_info(folder_id, body, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str folder_id: The unique id for the File Manager folder. (required)
:param GalleryFolder2 body: (required)
:return: GalleryFolder
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['folder_id', 'body'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method update_folder" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'folder_id' is set
if ('folder_id' not in params or
params['folder_id'] is None):
raise ValueError("Missing the required parameter `folder_id` when calling ``") # noqa: E501
# verify the required parameter 'body' is set
if ('body' not in params or
params['body'] is None):
raise ValueError("Missing the required parameter `body` when calling ``") # noqa: E501
collection_formats = {}
path_params = {}
if 'folder_id' in params:
path_params['folder_id'] = params['folder_id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'body' in params:
body_params = params['body']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json', 'application/problem+json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['basicAuth'] # noqa: E501
return self.api_client.call_api(
'/file-manager/folders/{folder_id}', 'PATCH',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='GalleryFolder', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def upload(self, body, **kwargs): # noqa: E501
"""Add file # noqa: E501
Upload a new image or file to the File Manager. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.upload(body, async_req=True)
>>> result = thread.get()
:param async_req bool
:param GalleryFile1 body: (required)
:return: GalleryFile
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.upload_with_http_info(body, **kwargs) # noqa: E501
else:
(data) = self.upload_with_http_info(body, **kwargs) # noqa: E501
return data
def upload_with_http_info(self, body, **kwargs): # noqa: E501
"""Add file # noqa: E501
Upload a new image or file to the File Manager. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.upload_with_http_info(body, async_req=True)
>>> result = thread.get()
:param async_req bool
:param GalleryFile1 body: (required)
:return: GalleryFile
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['body'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method upload" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'body' is set
if ('body' not in params or
params['body'] is None):
raise ValueError("Missing the required parameter `body` when calling ``") # noqa: E501
collection_formats = {}
path_params = {}
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'body' in params:
body_params = params['body']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json', 'application/problem+json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['basicAuth'] # noqa: E501
return self.api_client.call_api(
'/file-manager/files', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='GalleryFile', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def create_folder(self, body, **kwargs): # noqa: E501
"""Add folder # noqa: E501
Create a new folder in the File Manager. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_folder(body, async_req=True)
>>> result = thread.get()
:param async_req bool
:param GalleryFolder1 body: (required)
:return: GalleryFolder
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.create_folder_with_http_info(body, **kwargs) # noqa: E501
else:
(data) = self.create_folder_with_http_info(body, **kwargs) # noqa: E501
return data
def create_folder_with_http_info(self, body, **kwargs): # noqa: E501
"""Add folder # noqa: E501
Create a new folder in the File Manager. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_folder_with_http_info(body, async_req=True)
>>> result = thread.get()
:param async_req bool
:param GalleryFolder1 body: (required)
:return: GalleryFolder
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['body'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method create_folder" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'body' is set
if ('body' not in params or
params['body'] is None):
raise ValueError("Missing the required parameter `body` when calling ``") # noqa: E501
collection_formats = {}
path_params = {}
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'body' in params:
body_params = params['body']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json', 'application/problem+json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['basicAuth'] # noqa: E501
return self.api_client.call_api(
'/file-manager/folders', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='GalleryFolder', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
| 44.082216
| 241
| 0.620236
| 5,983
| 49,328
| 4.911583
| 0.041451
| 0.051725
| 0.019057
| 0.024501
| 0.977302
| 0.975601
| 0.973627
| 0.96791
| 0.962737
| 0.953685
| 0
| 0.024116
| 0.283794
| 49,328
| 1,118
| 242
| 44.121646
| 0.807665
| 0.390853
| 0
| 0.845258
| 1
| 0.003328
| 0.203334
| 0.040877
| 0
| 0
| 0
| 0
| 0
| 1
| 0.034942
| false
| 0
| 0.006656
| 0
| 0.093178
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
72922e16f8f4fcb349cdae2bcc1f383446abc64f
| 628
|
py
|
Python
|
wishlist/flask/models.py
|
tqtifnypmb/tiny_aplication_backend
|
c48c3481062306c7d68336e2b1b18d7e5f8dfd79
|
[
"MIT"
] | null | null | null |
wishlist/flask/models.py
|
tqtifnypmb/tiny_aplication_backend
|
c48c3481062306c7d68336e2b1b18d7e5f8dfd79
|
[
"MIT"
] | null | null | null |
wishlist/flask/models.py
|
tqtifnypmb/tiny_aplication_backend
|
c48c3481062306c7d68336e2b1b18d7e5f8dfd79
|
[
"MIT"
] | null | null | null |
class Question:
id = 0
owner_id = 0
content = ""
create_time = 0
def serialize(self):
return {
'id': self.id,
'owner_id': self.owner_id,
'content': self.content,
'create_time': self.create_time
}
class Answer:
id = 0
owner_id = 0
question_id = 0
content = ""
create_time = 0
def serialize(self):
return {
'id': self.id,
'owner_id': self.owner_id,
'question_id': self.question_id,
'content': self.content,
'create_time': self.create_time
}
| 20.933333
| 44
| 0.496815
| 70
| 628
| 4.242857
| 0.185714
| 0.141414
| 0.228956
| 0.06734
| 0.818182
| 0.754209
| 0.754209
| 0.754209
| 0.754209
| 0.464646
| 0
| 0.018421
| 0.394904
| 628
| 30
| 45
| 20.933333
| 0.763158
| 0
| 0
| 0.769231
| 0
| 0
| 0.106688
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.076923
| false
| 0
| 0
| 0.076923
| 0.576923
| 0
| 0
| 0
| 0
| null | 0
| 1
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 8
|
f416f793def5a9c27d2264718a6c82a8adc7b9a1
| 28,486
|
py
|
Python
|
sdk/python/pulumi_alicloud/vpn/gateway.py
|
pulumi/pulumi-alicloud
|
9c34d84b4588a7c885c6bec1f03b5016e5a41683
|
[
"ECL-2.0",
"Apache-2.0"
] | 42
|
2019-03-18T06:34:37.000Z
|
2022-03-24T07:08:57.000Z
|
sdk/python/pulumi_alicloud/vpn/gateway.py
|
pulumi/pulumi-alicloud
|
9c34d84b4588a7c885c6bec1f03b5016e5a41683
|
[
"ECL-2.0",
"Apache-2.0"
] | 152
|
2019-04-15T21:03:44.000Z
|
2022-03-29T18:00:57.000Z
|
sdk/python/pulumi_alicloud/vpn/gateway.py
|
pulumi/pulumi-alicloud
|
9c34d84b4588a7c885c6bec1f03b5016e5a41683
|
[
"ECL-2.0",
"Apache-2.0"
] | 3
|
2020-08-26T17:30:07.000Z
|
2021-07-05T01:37:45.000Z
|
# coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import _utilities
__all__ = ['GatewayArgs', 'Gateway']
@pulumi.input_type
class GatewayArgs:
def __init__(__self__, *,
bandwidth: pulumi.Input[int],
vpc_id: pulumi.Input[str],
description: Optional[pulumi.Input[str]] = None,
enable_ipsec: Optional[pulumi.Input[bool]] = None,
enable_ssl: Optional[pulumi.Input[bool]] = None,
instance_charge_type: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
period: Optional[pulumi.Input[int]] = None,
ssl_connections: Optional[pulumi.Input[int]] = None,
vswitch_id: Optional[pulumi.Input[str]] = None):
"""
The set of arguments for constructing a Gateway resource.
:param pulumi.Input[str] vpc_id: The VPN belongs the vpc_id, the field can't be changed.
:param pulumi.Input[str] description: The description of the VPN instance.
:param pulumi.Input[bool] enable_ipsec: Enable or Disable IPSec VPN. At least one type of VPN should be enabled.
:param pulumi.Input[bool] enable_ssl: Enable or Disable SSL VPN. At least one type of VPN should be enabled.
:param pulumi.Input[str] instance_charge_type: The charge type for instance. If it is an international site account, the valid value is PostPaid, otherwise PrePaid.
Default to PostPaid.
:param pulumi.Input[str] name: The name of the VPN. Defaults to null.
:param pulumi.Input[int] period: The filed is only required while the InstanceChargeType is PrePaid. Valid values: [1-9, 12, 24, 36]. Default to 1.
:param pulumi.Input[int] ssl_connections: The max connections of SSL VPN. Default to 5. The number of connections supported by each account is different.
This field is ignored when enable_ssl is false.
:param pulumi.Input[str] vswitch_id: The VPN belongs the vswitch_id, the field can't be changed.
"""
pulumi.set(__self__, "bandwidth", bandwidth)
pulumi.set(__self__, "vpc_id", vpc_id)
if description is not None:
pulumi.set(__self__, "description", description)
if enable_ipsec is not None:
pulumi.set(__self__, "enable_ipsec", enable_ipsec)
if enable_ssl is not None:
pulumi.set(__self__, "enable_ssl", enable_ssl)
if instance_charge_type is not None:
pulumi.set(__self__, "instance_charge_type", instance_charge_type)
if name is not None:
pulumi.set(__self__, "name", name)
if period is not None:
pulumi.set(__self__, "period", period)
if ssl_connections is not None:
pulumi.set(__self__, "ssl_connections", ssl_connections)
if vswitch_id is not None:
pulumi.set(__self__, "vswitch_id", vswitch_id)
@property
@pulumi.getter
def bandwidth(self) -> pulumi.Input[int]:
return pulumi.get(self, "bandwidth")
@bandwidth.setter
def bandwidth(self, value: pulumi.Input[int]):
pulumi.set(self, "bandwidth", value)
@property
@pulumi.getter(name="vpcId")
def vpc_id(self) -> pulumi.Input[str]:
"""
The VPN belongs the vpc_id, the field can't be changed.
"""
return pulumi.get(self, "vpc_id")
@vpc_id.setter
def vpc_id(self, value: pulumi.Input[str]):
pulumi.set(self, "vpc_id", value)
@property
@pulumi.getter
def description(self) -> Optional[pulumi.Input[str]]:
"""
The description of the VPN instance.
"""
return pulumi.get(self, "description")
@description.setter
def description(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "description", value)
@property
@pulumi.getter(name="enableIpsec")
def enable_ipsec(self) -> Optional[pulumi.Input[bool]]:
"""
Enable or Disable IPSec VPN. At least one type of VPN should be enabled.
"""
return pulumi.get(self, "enable_ipsec")
@enable_ipsec.setter
def enable_ipsec(self, value: Optional[pulumi.Input[bool]]):
pulumi.set(self, "enable_ipsec", value)
@property
@pulumi.getter(name="enableSsl")
def enable_ssl(self) -> Optional[pulumi.Input[bool]]:
"""
Enable or Disable SSL VPN. At least one type of VPN should be enabled.
"""
return pulumi.get(self, "enable_ssl")
@enable_ssl.setter
def enable_ssl(self, value: Optional[pulumi.Input[bool]]):
pulumi.set(self, "enable_ssl", value)
@property
@pulumi.getter(name="instanceChargeType")
def instance_charge_type(self) -> Optional[pulumi.Input[str]]:
"""
The charge type for instance. If it is an international site account, the valid value is PostPaid, otherwise PrePaid.
Default to PostPaid.
"""
return pulumi.get(self, "instance_charge_type")
@instance_charge_type.setter
def instance_charge_type(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "instance_charge_type", value)
@property
@pulumi.getter
def name(self) -> Optional[pulumi.Input[str]]:
"""
The name of the VPN. Defaults to null.
"""
return pulumi.get(self, "name")
@name.setter
def name(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "name", value)
@property
@pulumi.getter
def period(self) -> Optional[pulumi.Input[int]]:
"""
The filed is only required while the InstanceChargeType is PrePaid. Valid values: [1-9, 12, 24, 36]. Default to 1.
"""
return pulumi.get(self, "period")
@period.setter
def period(self, value: Optional[pulumi.Input[int]]):
pulumi.set(self, "period", value)
@property
@pulumi.getter(name="sslConnections")
def ssl_connections(self) -> Optional[pulumi.Input[int]]:
"""
The max connections of SSL VPN. Default to 5. The number of connections supported by each account is different.
This field is ignored when enable_ssl is false.
"""
return pulumi.get(self, "ssl_connections")
@ssl_connections.setter
def ssl_connections(self, value: Optional[pulumi.Input[int]]):
pulumi.set(self, "ssl_connections", value)
@property
@pulumi.getter(name="vswitchId")
def vswitch_id(self) -> Optional[pulumi.Input[str]]:
"""
The VPN belongs the vswitch_id, the field can't be changed.
"""
return pulumi.get(self, "vswitch_id")
@vswitch_id.setter
def vswitch_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "vswitch_id", value)
@pulumi.input_type
class _GatewayState:
def __init__(__self__, *,
bandwidth: Optional[pulumi.Input[int]] = None,
business_status: Optional[pulumi.Input[str]] = None,
description: Optional[pulumi.Input[str]] = None,
enable_ipsec: Optional[pulumi.Input[bool]] = None,
enable_ssl: Optional[pulumi.Input[bool]] = None,
instance_charge_type: Optional[pulumi.Input[str]] = None,
internet_ip: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
period: Optional[pulumi.Input[int]] = None,
ssl_connections: Optional[pulumi.Input[int]] = None,
status: Optional[pulumi.Input[str]] = None,
vpc_id: Optional[pulumi.Input[str]] = None,
vswitch_id: Optional[pulumi.Input[str]] = None):
"""
Input properties used for looking up and filtering Gateway resources.
:param pulumi.Input[str] business_status: The business status of the VPN gateway.
:param pulumi.Input[str] description: The description of the VPN instance.
:param pulumi.Input[bool] enable_ipsec: Enable or Disable IPSec VPN. At least one type of VPN should be enabled.
:param pulumi.Input[bool] enable_ssl: Enable or Disable SSL VPN. At least one type of VPN should be enabled.
:param pulumi.Input[str] instance_charge_type: The charge type for instance. If it is an international site account, the valid value is PostPaid, otherwise PrePaid.
Default to PostPaid.
:param pulumi.Input[str] internet_ip: The internet ip of the VPN.
:param pulumi.Input[str] name: The name of the VPN. Defaults to null.
:param pulumi.Input[int] period: The filed is only required while the InstanceChargeType is PrePaid. Valid values: [1-9, 12, 24, 36]. Default to 1.
:param pulumi.Input[int] ssl_connections: The max connections of SSL VPN. Default to 5. The number of connections supported by each account is different.
This field is ignored when enable_ssl is false.
:param pulumi.Input[str] status: The status of the VPN gateway.
:param pulumi.Input[str] vpc_id: The VPN belongs the vpc_id, the field can't be changed.
:param pulumi.Input[str] vswitch_id: The VPN belongs the vswitch_id, the field can't be changed.
"""
if bandwidth is not None:
pulumi.set(__self__, "bandwidth", bandwidth)
if business_status is not None:
pulumi.set(__self__, "business_status", business_status)
if description is not None:
pulumi.set(__self__, "description", description)
if enable_ipsec is not None:
pulumi.set(__self__, "enable_ipsec", enable_ipsec)
if enable_ssl is not None:
pulumi.set(__self__, "enable_ssl", enable_ssl)
if instance_charge_type is not None:
pulumi.set(__self__, "instance_charge_type", instance_charge_type)
if internet_ip is not None:
pulumi.set(__self__, "internet_ip", internet_ip)
if name is not None:
pulumi.set(__self__, "name", name)
if period is not None:
pulumi.set(__self__, "period", period)
if ssl_connections is not None:
pulumi.set(__self__, "ssl_connections", ssl_connections)
if status is not None:
pulumi.set(__self__, "status", status)
if vpc_id is not None:
pulumi.set(__self__, "vpc_id", vpc_id)
if vswitch_id is not None:
pulumi.set(__self__, "vswitch_id", vswitch_id)
@property
@pulumi.getter
def bandwidth(self) -> Optional[pulumi.Input[int]]:
return pulumi.get(self, "bandwidth")
@bandwidth.setter
def bandwidth(self, value: Optional[pulumi.Input[int]]):
pulumi.set(self, "bandwidth", value)
@property
@pulumi.getter(name="businessStatus")
def business_status(self) -> Optional[pulumi.Input[str]]:
"""
The business status of the VPN gateway.
"""
return pulumi.get(self, "business_status")
@business_status.setter
def business_status(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "business_status", value)
@property
@pulumi.getter
def description(self) -> Optional[pulumi.Input[str]]:
"""
The description of the VPN instance.
"""
return pulumi.get(self, "description")
@description.setter
def description(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "description", value)
@property
@pulumi.getter(name="enableIpsec")
def enable_ipsec(self) -> Optional[pulumi.Input[bool]]:
"""
Enable or Disable IPSec VPN. At least one type of VPN should be enabled.
"""
return pulumi.get(self, "enable_ipsec")
@enable_ipsec.setter
def enable_ipsec(self, value: Optional[pulumi.Input[bool]]):
pulumi.set(self, "enable_ipsec", value)
@property
@pulumi.getter(name="enableSsl")
def enable_ssl(self) -> Optional[pulumi.Input[bool]]:
"""
Enable or Disable SSL VPN. At least one type of VPN should be enabled.
"""
return pulumi.get(self, "enable_ssl")
@enable_ssl.setter
def enable_ssl(self, value: Optional[pulumi.Input[bool]]):
pulumi.set(self, "enable_ssl", value)
@property
@pulumi.getter(name="instanceChargeType")
def instance_charge_type(self) -> Optional[pulumi.Input[str]]:
"""
The charge type for instance. If it is an international site account, the valid value is PostPaid, otherwise PrePaid.
Default to PostPaid.
"""
return pulumi.get(self, "instance_charge_type")
@instance_charge_type.setter
def instance_charge_type(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "instance_charge_type", value)
@property
@pulumi.getter(name="internetIp")
def internet_ip(self) -> Optional[pulumi.Input[str]]:
"""
The internet ip of the VPN.
"""
return pulumi.get(self, "internet_ip")
@internet_ip.setter
def internet_ip(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "internet_ip", value)
@property
@pulumi.getter
def name(self) -> Optional[pulumi.Input[str]]:
"""
The name of the VPN. Defaults to null.
"""
return pulumi.get(self, "name")
@name.setter
def name(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "name", value)
@property
@pulumi.getter
def period(self) -> Optional[pulumi.Input[int]]:
"""
The filed is only required while the InstanceChargeType is PrePaid. Valid values: [1-9, 12, 24, 36]. Default to 1.
"""
return pulumi.get(self, "period")
@period.setter
def period(self, value: Optional[pulumi.Input[int]]):
pulumi.set(self, "period", value)
@property
@pulumi.getter(name="sslConnections")
def ssl_connections(self) -> Optional[pulumi.Input[int]]:
"""
The max connections of SSL VPN. Default to 5. The number of connections supported by each account is different.
This field is ignored when enable_ssl is false.
"""
return pulumi.get(self, "ssl_connections")
@ssl_connections.setter
def ssl_connections(self, value: Optional[pulumi.Input[int]]):
pulumi.set(self, "ssl_connections", value)
@property
@pulumi.getter
def status(self) -> Optional[pulumi.Input[str]]:
"""
The status of the VPN gateway.
"""
return pulumi.get(self, "status")
@status.setter
def status(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "status", value)
@property
@pulumi.getter(name="vpcId")
def vpc_id(self) -> Optional[pulumi.Input[str]]:
"""
The VPN belongs the vpc_id, the field can't be changed.
"""
return pulumi.get(self, "vpc_id")
@vpc_id.setter
def vpc_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "vpc_id", value)
@property
@pulumi.getter(name="vswitchId")
def vswitch_id(self) -> Optional[pulumi.Input[str]]:
"""
The VPN belongs the vswitch_id, the field can't be changed.
"""
return pulumi.get(self, "vswitch_id")
@vswitch_id.setter
def vswitch_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "vswitch_id", value)
class Gateway(pulumi.CustomResource):
@overload
def __init__(__self__,
resource_name: str,
opts: Optional[pulumi.ResourceOptions] = None,
bandwidth: Optional[pulumi.Input[int]] = None,
description: Optional[pulumi.Input[str]] = None,
enable_ipsec: Optional[pulumi.Input[bool]] = None,
enable_ssl: Optional[pulumi.Input[bool]] = None,
instance_charge_type: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
period: Optional[pulumi.Input[int]] = None,
ssl_connections: Optional[pulumi.Input[int]] = None,
vpc_id: Optional[pulumi.Input[str]] = None,
vswitch_id: Optional[pulumi.Input[str]] = None,
__props__=None):
"""
## Import
VPN gateway can be imported using the id, e.g.
```sh
$ pulumi import alicloud:vpn/gateway:Gateway example vpn-abc123456
```
:param str resource_name: The name of the resource.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[str] description: The description of the VPN instance.
:param pulumi.Input[bool] enable_ipsec: Enable or Disable IPSec VPN. At least one type of VPN should be enabled.
:param pulumi.Input[bool] enable_ssl: Enable or Disable SSL VPN. At least one type of VPN should be enabled.
:param pulumi.Input[str] instance_charge_type: The charge type for instance. If it is an international site account, the valid value is PostPaid, otherwise PrePaid.
Default to PostPaid.
:param pulumi.Input[str] name: The name of the VPN. Defaults to null.
:param pulumi.Input[int] period: The filed is only required while the InstanceChargeType is PrePaid. Valid values: [1-9, 12, 24, 36]. Default to 1.
:param pulumi.Input[int] ssl_connections: The max connections of SSL VPN. Default to 5. The number of connections supported by each account is different.
This field is ignored when enable_ssl is false.
:param pulumi.Input[str] vpc_id: The VPN belongs the vpc_id, the field can't be changed.
:param pulumi.Input[str] vswitch_id: The VPN belongs the vswitch_id, the field can't be changed.
"""
...
@overload
def __init__(__self__,
resource_name: str,
args: GatewayArgs,
opts: Optional[pulumi.ResourceOptions] = None):
"""
## Import
VPN gateway can be imported using the id, e.g.
```sh
$ pulumi import alicloud:vpn/gateway:Gateway example vpn-abc123456
```
:param str resource_name: The name of the resource.
:param GatewayArgs args: The arguments to use to populate this resource's properties.
:param pulumi.ResourceOptions opts: Options for the resource.
"""
...
def __init__(__self__, resource_name: str, *args, **kwargs):
resource_args, opts = _utilities.get_resource_args_opts(GatewayArgs, pulumi.ResourceOptions, *args, **kwargs)
if resource_args is not None:
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
else:
__self__._internal_init(resource_name, *args, **kwargs)
def _internal_init(__self__,
resource_name: str,
opts: Optional[pulumi.ResourceOptions] = None,
bandwidth: Optional[pulumi.Input[int]] = None,
description: Optional[pulumi.Input[str]] = None,
enable_ipsec: Optional[pulumi.Input[bool]] = None,
enable_ssl: Optional[pulumi.Input[bool]] = None,
instance_charge_type: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
period: Optional[pulumi.Input[int]] = None,
ssl_connections: Optional[pulumi.Input[int]] = None,
vpc_id: Optional[pulumi.Input[str]] = None,
vswitch_id: Optional[pulumi.Input[str]] = None,
__props__=None):
if opts is None:
opts = pulumi.ResourceOptions()
if not isinstance(opts, pulumi.ResourceOptions):
raise TypeError('Expected resource options to be a ResourceOptions instance')
if opts.version is None:
opts.version = _utilities.get_version()
if opts.id is None:
if __props__ is not None:
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
__props__ = GatewayArgs.__new__(GatewayArgs)
if bandwidth is None and not opts.urn:
raise TypeError("Missing required property 'bandwidth'")
__props__.__dict__["bandwidth"] = bandwidth
__props__.__dict__["description"] = description
__props__.__dict__["enable_ipsec"] = enable_ipsec
__props__.__dict__["enable_ssl"] = enable_ssl
__props__.__dict__["instance_charge_type"] = instance_charge_type
__props__.__dict__["name"] = name
__props__.__dict__["period"] = period
__props__.__dict__["ssl_connections"] = ssl_connections
if vpc_id is None and not opts.urn:
raise TypeError("Missing required property 'vpc_id'")
__props__.__dict__["vpc_id"] = vpc_id
__props__.__dict__["vswitch_id"] = vswitch_id
__props__.__dict__["business_status"] = None
__props__.__dict__["internet_ip"] = None
__props__.__dict__["status"] = None
super(Gateway, __self__).__init__(
'alicloud:vpn/gateway:Gateway',
resource_name,
__props__,
opts)
@staticmethod
def get(resource_name: str,
id: pulumi.Input[str],
opts: Optional[pulumi.ResourceOptions] = None,
bandwidth: Optional[pulumi.Input[int]] = None,
business_status: Optional[pulumi.Input[str]] = None,
description: Optional[pulumi.Input[str]] = None,
enable_ipsec: Optional[pulumi.Input[bool]] = None,
enable_ssl: Optional[pulumi.Input[bool]] = None,
instance_charge_type: Optional[pulumi.Input[str]] = None,
internet_ip: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
period: Optional[pulumi.Input[int]] = None,
ssl_connections: Optional[pulumi.Input[int]] = None,
status: Optional[pulumi.Input[str]] = None,
vpc_id: Optional[pulumi.Input[str]] = None,
vswitch_id: Optional[pulumi.Input[str]] = None) -> 'Gateway':
"""
Get an existing Gateway resource's state with the given name, id, and optional extra
properties used to qualify the lookup.
:param str resource_name: The unique name of the resulting resource.
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[str] business_status: The business status of the VPN gateway.
:param pulumi.Input[str] description: The description of the VPN instance.
:param pulumi.Input[bool] enable_ipsec: Enable or Disable IPSec VPN. At least one type of VPN should be enabled.
:param pulumi.Input[bool] enable_ssl: Enable or Disable SSL VPN. At least one type of VPN should be enabled.
:param pulumi.Input[str] instance_charge_type: The charge type for instance. If it is an international site account, the valid value is PostPaid, otherwise PrePaid.
Default to PostPaid.
:param pulumi.Input[str] internet_ip: The internet ip of the VPN.
:param pulumi.Input[str] name: The name of the VPN. Defaults to null.
:param pulumi.Input[int] period: The filed is only required while the InstanceChargeType is PrePaid. Valid values: [1-9, 12, 24, 36]. Default to 1.
:param pulumi.Input[int] ssl_connections: The max connections of SSL VPN. Default to 5. The number of connections supported by each account is different.
This field is ignored when enable_ssl is false.
:param pulumi.Input[str] status: The status of the VPN gateway.
:param pulumi.Input[str] vpc_id: The VPN belongs the vpc_id, the field can't be changed.
:param pulumi.Input[str] vswitch_id: The VPN belongs the vswitch_id, the field can't be changed.
"""
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
__props__ = _GatewayState.__new__(_GatewayState)
__props__.__dict__["bandwidth"] = bandwidth
__props__.__dict__["business_status"] = business_status
__props__.__dict__["description"] = description
__props__.__dict__["enable_ipsec"] = enable_ipsec
__props__.__dict__["enable_ssl"] = enable_ssl
__props__.__dict__["instance_charge_type"] = instance_charge_type
__props__.__dict__["internet_ip"] = internet_ip
__props__.__dict__["name"] = name
__props__.__dict__["period"] = period
__props__.__dict__["ssl_connections"] = ssl_connections
__props__.__dict__["status"] = status
__props__.__dict__["vpc_id"] = vpc_id
__props__.__dict__["vswitch_id"] = vswitch_id
return Gateway(resource_name, opts=opts, __props__=__props__)
@property
@pulumi.getter
def bandwidth(self) -> pulumi.Output[int]:
return pulumi.get(self, "bandwidth")
@property
@pulumi.getter(name="businessStatus")
def business_status(self) -> pulumi.Output[str]:
"""
The business status of the VPN gateway.
"""
return pulumi.get(self, "business_status")
@property
@pulumi.getter
def description(self) -> pulumi.Output[Optional[str]]:
"""
The description of the VPN instance.
"""
return pulumi.get(self, "description")
@property
@pulumi.getter(name="enableIpsec")
def enable_ipsec(self) -> pulumi.Output[Optional[bool]]:
"""
Enable or Disable IPSec VPN. At least one type of VPN should be enabled.
"""
return pulumi.get(self, "enable_ipsec")
@property
@pulumi.getter(name="enableSsl")
def enable_ssl(self) -> pulumi.Output[Optional[bool]]:
"""
Enable or Disable SSL VPN. At least one type of VPN should be enabled.
"""
return pulumi.get(self, "enable_ssl")
@property
@pulumi.getter(name="instanceChargeType")
def instance_charge_type(self) -> pulumi.Output[Optional[str]]:
"""
The charge type for instance. If it is an international site account, the valid value is PostPaid, otherwise PrePaid.
Default to PostPaid.
"""
return pulumi.get(self, "instance_charge_type")
@property
@pulumi.getter(name="internetIp")
def internet_ip(self) -> pulumi.Output[str]:
"""
The internet ip of the VPN.
"""
return pulumi.get(self, "internet_ip")
@property
@pulumi.getter
def name(self) -> pulumi.Output[str]:
"""
The name of the VPN. Defaults to null.
"""
return pulumi.get(self, "name")
@property
@pulumi.getter
def period(self) -> pulumi.Output[Optional[int]]:
"""
The filed is only required while the InstanceChargeType is PrePaid. Valid values: [1-9, 12, 24, 36]. Default to 1.
"""
return pulumi.get(self, "period")
@property
@pulumi.getter(name="sslConnections")
def ssl_connections(self) -> pulumi.Output[Optional[int]]:
"""
The max connections of SSL VPN. Default to 5. The number of connections supported by each account is different.
This field is ignored when enable_ssl is false.
"""
return pulumi.get(self, "ssl_connections")
@property
@pulumi.getter
def status(self) -> pulumi.Output[str]:
"""
The status of the VPN gateway.
"""
return pulumi.get(self, "status")
@property
@pulumi.getter(name="vpcId")
def vpc_id(self) -> pulumi.Output[str]:
"""
The VPN belongs the vpc_id, the field can't be changed.
"""
return pulumi.get(self, "vpc_id")
@property
@pulumi.getter(name="vswitchId")
def vswitch_id(self) -> pulumi.Output[str]:
"""
The VPN belongs the vswitch_id, the field can't be changed.
"""
return pulumi.get(self, "vswitch_id")
| 42.516418
| 173
| 0.635435
| 3,528
| 28,486
| 4.927154
| 0.054705
| 0.093655
| 0.10493
| 0.068343
| 0.896681
| 0.877582
| 0.854628
| 0.841052
| 0.831157
| 0.804924
| 0
| 0.003937
| 0.259917
| 28,486
| 669
| 174
| 42.57997
| 0.820605
| 0.299656
| 0
| 0.7675
| 1
| 0
| 0.089031
| 0.001515
| 0
| 0
| 0
| 0
| 0
| 1
| 0.165
| false
| 0.0025
| 0.0125
| 0.0075
| 0.2775
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
f4504ec2afeb86c2a859d4c0b8e7795749e53478
| 5,286
|
py
|
Python
|
python/setup.py
|
Mastercard/mcapi_oauth_encryption_tutorial
|
0c24f778ad57a867eefd8aad44466a49f3f89826
|
[
"MIT"
] | 26
|
2019-08-15T10:48:16.000Z
|
2022-03-03T21:57:52.000Z
|
python/setup.py
|
Mastercard/mcapi_oauth_encryption_tutorial
|
0c24f778ad57a867eefd8aad44466a49f3f89826
|
[
"MIT"
] | 12
|
2019-12-30T08:36:00.000Z
|
2022-03-29T22:37:50.000Z
|
python/setup.py
|
Mastercard/mcapi_oauth_encryption_tutorial
|
0c24f778ad57a867eefd8aad44466a49f3f89826
|
[
"MIT"
] | 36
|
2019-08-14T14:27:35.000Z
|
2022-02-13T18:02:36.000Z
|
"""
MDES Digital Enablement API
These APIs are designed as RPC style stateless web services where each API endpoint represents an operation to be performed. All request and response payloads are sent in the JSON (JavaScript Object Notation) data-interchange format. Each endpoint in the API specifies the HTTP Method used to access it. All strings in request and response objects are to be UTF-8 encoded. Each API URI includes the major and minor version of API that it conforms to. This will allow multiple concurrent versions of the API to be deployed simultaneously. <br><br> **Authentication** <br><br> Mastercard uses OAuth 1.0a with body hash extension for authenticating the API clients. This requires every request that you send to Mastercard to be signed with an RSA private key. A private-public RSA key pair must be generated consisting of: <br><br> 1. A private key for the OAuth signature for API requests. It is recommended to keep the private key in a password-protected or hardware keystore. <br> 2. A public key is shared with Mastercard during the project setup process through either a certificate signing request (CSR) or the API Key Generator. Mastercard will use the public key to verify the OAuth signature that is provided on every API call.<br> An OAUTH1.0a signer library is available on [GitHub](https://github.com/Mastercard/oauth1-signer-java) <br><br> **Encryption** <br><br> All communications between Issuer web service and the Mastercard gateway is encrypted using TLS. <br><br> **Additional Encryption of Sensitive Data** <br><br> In addition to the OAuth authentication, when using MDES Digital Enablement Service, any PCI sensitive and all account holder Personally Identifiable Information (PII) data must be encrypted. This requirement applies to the API fields containing encryptedData. Sensitive data is encrypted using a symmetric session (one-time-use) key. The symmetric session key is then wrapped with an RSA Public Key supplied by Mastercard during API setup phase (the Customer Encryption Key). <br> Java Client Encryption Library available on [GitHub](https://github.com/Mastercard/client-encryption-java) # noqa: E501
The version of the OpenAPI document: 1.3.0
Generated by: https://openapi-generator.tech
"""
from setuptools import setup, find_packages # noqa: H301
NAME = "openapi-client"
VERSION = "1.0.0"
# To install the library, run the following
#
# python setup.py install
#
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
REQUIRES = [
"urllib3 >= 1.25.3",
"python-dateutil",
]
setup(
name=NAME,
version=VERSION,
description="MDES Digital Enablement API",
author="OpenAPI Generator community",
author_email="team@openapitools.org",
url="",
keywords=["OpenAPI", "OpenAPI-Generator", "MDES Digital Enablement API"],
python_requires=">=3.6",
install_requires=REQUIRES,
packages=find_packages(exclude=["test", "tests"]),
include_package_data=True,
long_description="""\
These APIs are designed as RPC style stateless web services where each API endpoint represents an operation to be performed. All request and response payloads are sent in the JSON (JavaScript Object Notation) data-interchange format. Each endpoint in the API specifies the HTTP Method used to access it. All strings in request and response objects are to be UTF-8 encoded. Each API URI includes the major and minor version of API that it conforms to. This will allow multiple concurrent versions of the API to be deployed simultaneously. <br><br> **Authentication** <br><br> Mastercard uses OAuth 1.0a with body hash extension for authenticating the API clients. This requires every request that you send to Mastercard to be signed with an RSA private key. A private-public RSA key pair must be generated consisting of: <br><br> 1. A private key for the OAuth signature for API requests. It is recommended to keep the private key in a password-protected or hardware keystore. <br> 2. A public key is shared with Mastercard during the project setup process through either a certificate signing request (CSR) or the API Key Generator. Mastercard will use the public key to verify the OAuth signature that is provided on every API call.<br> An OAUTH1.0a signer library is available on [GitHub](https://github.com/Mastercard/oauth1-signer-java) <br><br> **Encryption** <br><br> All communications between Issuer web service and the Mastercard gateway is encrypted using TLS. <br><br> **Additional Encryption of Sensitive Data** <br><br> In addition to the OAuth authentication, when using MDES Digital Enablement Service, any PCI sensitive and all account holder Personally Identifiable Information (PII) data must be encrypted. This requirement applies to the API fields containing encryptedData. Sensitive data is encrypted using a symmetric session (one-time-use) key. The symmetric session key is then wrapped with an RSA Public Key supplied by Mastercard during API setup phase (the Customer Encryption Key). <br> Java Client Encryption Library available on [GitHub](https://github.com/Mastercard/client-encryption-java) # noqa: E501
"""
)
| 122.930233
| 2,248
| 0.774499
| 825
| 5,286
| 4.952727
| 0.252121
| 0.016642
| 0.024963
| 0.013705
| 0.829173
| 0.812041
| 0.791483
| 0.791483
| 0.791483
| 0.791483
| 0
| 0.008488
| 0.153046
| 5,286
| 42
| 2,249
| 125.857143
| 0.904177
| 0.454408
| 0
| 0
| 0
| 0.043478
| 0.857043
| 0.007358
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0.043478
| 0.043478
| 0
| 0.043478
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 9
|
f454765066320cabe67983b186829ba7b6fb0c79
| 154
|
py
|
Python
|
test/test_funny_birds.py
|
erichaase/topcoder-python
|
de285d8092a94f2ec1b5c0c33eba55b5c27a5390
|
[
"MIT"
] | 1
|
2017-03-25T17:40:57.000Z
|
2017-03-25T17:40:57.000Z
|
test/test_funny_birds.py
|
erichaase/topcoder-python
|
de285d8092a94f2ec1b5c0c33eba55b5c27a5390
|
[
"MIT"
] | null | null | null |
test/test_funny_birds.py
|
erichaase/topcoder-python
|
de285d8092a94f2ec1b5c0c33eba55b5c27a5390
|
[
"MIT"
] | null | null | null |
from test.assert_json import assert_json
from topcoder.funny_birds import solution
def test_funny_birds ():
assert_json('funny_birds', solution)
| 25.666667
| 44
| 0.792208
| 22
| 154
| 5.227273
| 0.454545
| 0.26087
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.142857
| 154
| 5
| 45
| 30.8
| 0.871212
| 0
| 0
| 0
| 0
| 0
| 0.071429
| 0
| 0
| 0
| 0
| 0
| 0.5
| 1
| 0.25
| true
| 0
| 0.5
| 0
| 0.75
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 0
| 1
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 8
|
f45c43f65b8927da84d1320f15020566bc2925e4
| 56,794
|
py
|
Python
|
src/api/exports/basic_formatting.py
|
cbn-alpin/gefiproj-api
|
35e3f00dd71bcdd9ad751307ac379aa78d1545cf
|
[
"MIT"
] | 2
|
2020-10-15T15:16:08.000Z
|
2020-11-06T10:41:13.000Z
|
src/api/exports/basic_formatting.py
|
cbn-alpin/gefiproj-api
|
35e3f00dd71bcdd9ad751307ac379aa78d1545cf
|
[
"MIT"
] | 1
|
2020-11-14T19:40:14.000Z
|
2020-11-14T19:40:14.000Z
|
src/api/exports/basic_formatting.py
|
cbn-alpin/gefiproj-api
|
35e3f00dd71bcdd9ad751307ac379aa78d1545cf
|
[
"MIT"
] | null | null | null |
import requests
import json
from src.api.exports.db_services import ExportDBService
# Deleting last column (status) for fundings export
from sqlalchemy import false, true
from src.api.exports.utils import SHEET_COLUMN_LETTERS_TINY, SHEET_COLUMN_LETTERS_TINY_2 \
, SHEET_COLUMN_LETTERS_TINY_3
def delete_rows_by_index(session: str, spreadsheet_id: str, index: int):
headers = {'Authorization': f'Bearer {session}'}
json_data = {
"requests": [
{
"deleteDimension": {
"range": {
"dimension": "ROWS",
"startIndex": index
}
}
},
]
}
r = requests.post(f'https://sheets.googleapis.com/v4/spreadsheets/{spreadsheet_id}:batchUpdate', headers=headers,
data=json.dumps(json_data))
return r.status_code
def test_delete_rows_by_index(session: str, spreadsheet_id: str, annee_ref: int, annee_max: int, max_rows_first_tab: int):
if annee_max > annee_ref + 5:
"""
get_index = 0
for x in range(0, max_rows_first_tab - 1):
get_index = get_index + 6
"""
delete_rows_by_index(session, spreadsheet_id, max_rows_first_tab + 39)
def delete_column_by_index(session: str, spreadsheet_id: str, index: int):
headers = {'Authorization': f'Bearer {session}'}
json_data = {
"requests": [
{
"deleteDimension": {
"range": {
"dimension": "COLUMNS",
"startIndex": index
}
}
},
]
}
r = requests.post(f'https://sheets.googleapis.com/v4/spreadsheets/{spreadsheet_id}:batchUpdate', headers=headers,
data=json.dumps(json_data))
return r.status_code
# conditional formatting funding
# finally not used
def conditional_formatting_funding(session: str, spreadsheet_id: str, end_row_index: int):
headers = {'Authorization': f'Bearer {session}'}
json_data = {
"requests": [
{
"addConditionalFormatRule": {
"rule": {
"ranges": [
{
"startRowIndex": 1,
"endRowIndex": end_row_index,
"startColumnIndex": 0,
"endColumnIndex": 13
}
],
"booleanRule": {
"format": {
"backgroundColor": {
"red": 0.94,
"green": 0.60,
"blue": 0.07
}
},
"condition": {
"type": "CUSTOM_FORMULA",
"values": [
{
"userEnteredValue": "=IFS(O2 = \"ATR\", true)"
}
]
}
}
}
}
},
{
"addConditionalFormatRule": {
"rule": {
"ranges": [
{
"startRowIndex": 1,
"endRowIndex": end_row_index,
"startColumnIndex": 0,
"endColumnIndex": 13
}
],
"booleanRule": {
"format": {
"backgroundColor": {
"red": 1,
"green": 1,
"blue": 0.05
}
},
"condition": {
"type": "CUSTOM_FORMULA",
"values": [
{
"userEnteredValue": "=IFS(O2 = \"SOLDE\", true)"
}
]
}
}
}
}
}
]
}
r = requests.post(f'https://sheets.googleapis.com/v4/spreadsheets/{spreadsheet_id}:batchUpdate', headers=headers,
data=json.dumps(json_data))
return r.status_code
# Formatting table for fundings export
def basic_formatting_funding(session: str, spreadsheet_id: str, datas):
headers = {'Authorization': f'Bearer {session}'}
json_data = {"requests": []}
withe_color = {
"red": 1,
"green": 1,
"blue": 1,
"alpha": 0
}
orange_color = {
"red": 0.94,
"green": 0.60,
"blue": 0.07
}
yellow_color = {
"red": 1,
"green": 1,
"blue": 0.05
}
cell_i = 0
for data in datas:
# current_app.logger.debug(data[len(data)-1])
if data[len(data) - 1] == 'ATR':
cell_format = {
"repeatCell": {
"range": {
"startRowIndex": cell_i,
"endRowIndex": cell_i + 1
},
"cell": {
"userEnteredFormat": {
"backgroundColor": orange_color
}
},
"fields": "userEnteredFormat(backgroundColor,textFormat,horizontalAlignment)"
}
}
elif data[len(data) - 1] == 'SOLDE':
cell_format = {
"repeatCell": {
"range": {
"startRowIndex": cell_i,
"endRowIndex": cell_i + 1
},
"cell": {
"userEnteredFormat": {
"backgroundColor": yellow_color
}
},
"fields": "userEnteredFormat(backgroundColor,textFormat,horizontalAlignment)"
}
}
else:
cell_format = {
"repeatCell": {
"range": {
"startRowIndex": cell_i,
"endRowIndex": cell_i + 1
},
"cell": {
"userEnteredFormat": {
"backgroundColor": withe_color
}
},
"fields": "userEnteredFormat(backgroundColor,textFormat,horizontalAlignment)"
}
}
cell_i += 1
json_data["requests"].append(cell_format)
r = requests.post(f'https://sheets.googleapis.com/v4/spreadsheets/{spreadsheet_id}:batchUpdate', headers=headers,
data=json.dumps(json_data))
return r.status_code
# current_app.logger.debug(f'Zero : {datas[0][len(datas[0])-1]}')
# current_app.logger.debug(f'Un : {datas[1][len(datas[0])-1]}')
def get_title_button_left_tabs(line: int, celle: str, annee_ref: int):
return [
{
"repeatCell": {
"range": {
"startRowIndex": line,
"endRowIndex": line + 1,
"startColumnIndex": 0,
"endColumnIndex": 1
},
"cell": {
"userEnteredValue": {
"formulaValue": "=CONCATENATE(\"Montant affecté de \", MID(" + celle + ",9,2), \" vers n\")"
}
},
"fields": "userEnteredValue"
}
},
{
"repeatCell": {
"range": {
"startRowIndex": line + 1,
"endRowIndex": line + 2,
"startColumnIndex": 0,
"endColumnIndex": 1
},
"cell": {
"userEnteredValue": {
"formulaValue": "=CONCATENATE(\"Montant affecté de n vers \", MID(" + celle + ",9,2))"
}
},
"fields": "userEnteredValue"
}
},
{
"repeatCell": {
"range": {
"startRowIndex": line + 2,
"endRowIndex": line + 3,
"startColumnIndex": 0,
"endColumnIndex": 1
},
"cell": {
"userEnteredValue": {
"formulaValue": "=CONCATENATE(\"Bilan \", MID(" + celle + ",9,2), \"/n\")"
}
},
"fields": "userEnteredValue"
}
},
{
"updateDimensionProperties": {
"range": {
"dimension": "COLUMNS",
"startIndex": 11,
"endIndex": 16
},
"properties": {
"pixelSize": 200
},
"fields": "pixelSize"
}
},
{
"repeatCell": {
"range": {
"startRowIndex": line,
"endRowIndex": line + 1,
"startColumnIndex": 11,
"endColumnIndex": 12
},
"cell": {
"userEnteredValue": {
"formulaValue": "=CONCATENATE(\"Recettes comptables \", MID(" + celle + ",9,2))"
}
},
"fields": "userEnteredValue"
}
},
{
"repeatCell": {
"range": {
"startRowIndex": line + 1,
"endRowIndex": line + 2,
"startColumnIndex": 11,
"endColumnIndex": 12
},
"cell": {
"userEnteredFormat": {
"horizontalAlignment": "RIGHT",
"verticalAlignment": "MIDDLE",
"textFormat": {
"fontSize": 11,
"bold": "true"
},
"numberFormat": {
"type": "CURRENCY",
"pattern": "[Black]### ### ### €;[Black][<=0]0 €;"
}
},
"userEnteredValue": {
"formulaValue": "=" + f'{ExportDBService.get_bilan_financier_recettes_comptables(annee_ref)}'
}
},
"fields": "userEnteredFormat.numberFormat,userEnteredValue"
}
},
{
"repeatCell": {
"range": {
"startRowIndex": line,
"endRowIndex": line + 1,
"startColumnIndex": 12,
"endColumnIndex": 13
},
"cell": {
"userEnteredValue": {
"formulaValue": "=CONCATENATE(\"Bilan des affectations à \", MID(" + celle + ",9,2))"
}
},
"fields": "userEnteredValue"
}
},
{
"repeatCell": {
"range": {
"startRowIndex": line + 1,
"endRowIndex": line + 2,
"startColumnIndex": 12,
"endColumnIndex": 13
},
"cell": {
"userEnteredValue": {
"formulaValue": "=J" + str(line + 4)
}
},
"fields": "userEnteredValue"
}
},
{
"repeatCell": {
"range": {
"startRowIndex": line,
"endRowIndex": line + 1,
"startColumnIndex": 13,
"endColumnIndex": 14
},
"cell": {
"userEnteredValue": {
"formulaValue": "=CONCATENATE(\"Total recettes affectées \", MID(" + celle + ",9,2))"
}
},
"fields": "userEnteredValue"
}
},
{
"repeatCell": {
"range": {
"startRowIndex": line + 1,
"endRowIndex": line + 2,
"startColumnIndex": 13,
"endColumnIndex": 14
},
"cell": {
"userEnteredValue": {
"formulaValue": "=L" + str(line + 2) + "+M" + str(line + 2)
}
},
"fields": "userEnteredValue"
}
},
{
"repeatCell": {
"range": {
"startRowIndex": line,
"endRowIndex": line + 1,
"startColumnIndex": 14,
"endColumnIndex": 15
},
"cell": {
"userEnteredValue": {
"formulaValue": "=CONCATENATE(\"Dépenses \", MID(" + celle + ",9,2))"
}
},
"fields": "userEnteredValue"
}
},
{
"repeatCell": {
"range": {
"startRowIndex": line + 1,
"endRowIndex": line + 2,
"startColumnIndex": 14,
"endColumnIndex": 15
},
"cell": {
"userEnteredFormat": {
"horizontalAlignment": "RIGHT",
"verticalAlignment": "MIDDLE",
"textFormat": {
"fontSize": 11,
"bold": "true"
},
"numberFormat": {
"type": "CURRENCY",
"pattern": "[Black]### ### ### €;[Black][<=0]0 €;"
}
},
"userEnteredValue": {
"formulaValue": "=" + f'{ExportDBService.get_bilan_financier_depenses(annee_ref)}'
}
},
"fields": "userEnteredFormat.numberFormat,userEnteredValue"
}
},
{
"repeatCell": {
"range": {
"startRowIndex": line,
"endRowIndex": line + 1,
"startColumnIndex": 15,
"endColumnIndex": 16
},
"cell": {
"userEnteredValue": {
"formulaValue": "=CONCATENATE(\"Bilan comptable \", MID(" + celle + ",9,2))"
}
},
"fields": "userEnteredValue"
}
},
{
"repeatCell": {
"range": {
"startRowIndex": line + 1,
"endRowIndex": line + 2,
"startColumnIndex": 15,
"endColumnIndex": 16
},
"cell": {
"userEnteredValue": {
"formulaValue": "=L" + str(line + 2) + "-O" + str(line + 2)
}
},
"fields": "userEnteredValue"
}
},
{
"repeatCell": {
"range": {
"startRowIndex": line,
"endRowIndex": line + 1,
"startColumnIndex": 16,
"endColumnIndex": 17
},
"cell": {
"userEnteredValue": {
"formulaValue": "=CONCATENATE(\"Bilan d'activité \", MID(" + celle + ",9,2))"
}
},
"fields": "userEnteredValue"
}
},
{
"repeatCell": {
"range": {
"startRowIndex": line + 1,
"endRowIndex": line + 2,
"startColumnIndex": 16,
"endColumnIndex": 17
},
"cell": {
"userEnteredValue": {
"formulaValue": "=N" + str(line + 2) + "-O" + str(line + 2)
}
},
"fields": "userEnteredValue"
}
},
]
def get_title_button_tabs(line: int):
return [
{
"repeatCell": {
"range": {
"startRowIndex": line,
"endRowIndex": line + 1,
"startColumnIndex": 1,
"endColumnIndex": 10
},
"cell": {
"userEnteredValue": {
"formulaValue": "=CONCATENATE(\"Avant \", MID(A$2,3,2))"
}
},
"fields": "userEnteredValue"
}
},
{
"repeatCell": {
"range": {
"startRowIndex": line,
"endRowIndex": line + 1,
"startColumnIndex": 2,
"endColumnIndex": 3
},
"cell": {
"userEnteredValue": {
"formulaValue": "=MID(A$2,3,2)"
}
},
"fields": "userEnteredValue"
}
},
{
"repeatCell": {
"range": {
"startRowIndex": line,
"endRowIndex": line + 1,
"startColumnIndex": 3,
"endColumnIndex": 4
},
"cell": {
"userEnteredValue": {
"formulaValue": "=MID(A$2+1,3,2)"
}
},
"fields": "userEnteredValue"
}
},
{
"repeatCell": {
"range": {
"startRowIndex": line,
"endRowIndex": line + 1,
"startColumnIndex": 4,
"endColumnIndex": 5
},
"cell": {
"userEnteredValue": {
"formulaValue": "=MID(A$2+2,3,2)"
}
},
"fields": "userEnteredValue"
}
},
{
"repeatCell": {
"range": {
"startRowIndex": line,
"endRowIndex": line + 1,
"startColumnIndex": 5,
"endColumnIndex": 6
},
"cell": {
"userEnteredValue": {
"formulaValue": "=MID(A$2+3,3,2)"
}
},
"fields": "userEnteredValue"
}
},
{
"repeatCell": {
"range": {
"startRowIndex": line,
"endRowIndex": line + 1,
"startColumnIndex": 6,
"endColumnIndex": 7
},
"cell": {
"userEnteredValue": {
"formulaValue": "=MID(A$2+4,3,2)"
}
},
"fields": "userEnteredValue"
}
},
{
"repeatCell": {
"range": {
"startRowIndex": line,
"endRowIndex": line + 1,
"startColumnIndex": 7,
"endColumnIndex": 8
},
"cell": {
"userEnteredValue": {
"formulaValue": "=MID(A$2+5,3,2)"
}
},
"fields": "userEnteredValue"
}
},
{
"repeatCell": {
"range": {
"startRowIndex": line,
"endRowIndex": line + 1,
"startColumnIndex": 8,
"endColumnIndex": 9
},
"cell": {
"userEnteredValue": {
"formulaValue": "=CONCATENATE(\"Après \", MID(A$2+5,3,2))"
}
},
"fields": "userEnteredValue"
}
},
{
"repeatCell": {
"range": {
"startRowIndex": line,
"endRowIndex": line + 1,
"startColumnIndex": 9,
"endColumnIndex": 10
},
"cell": {
"userEnteredValue": {
"formulaValue": "=\"Total\""
}
},
"fields": "userEnteredValue"
}
},
]
def get_formatting_button_left_tabs(line: int):
return [
{
"updateDimensionProperties": {
"range": {
"dimension": "COLUMNS",
"startIndex": 11,
"endIndex": 17
},
"properties": {
"pixelSize": 180
},
"fields": "pixelSize"
}
},
{
"repeatCell": {
"range": {
"startRowIndex": line,
"endRowIndex": line + 1,
"startColumnIndex": 11,
"endColumnIndex": 17
},
"cell": {
"userEnteredFormat": {
"horizontalAlignment": "RIGHT",
"verticalAlignment": "MIDDLE",
"textFormat": {
"fontSize": 11,
"bold": "true"
},
"numberFormat": {
"type": "CURRENCY",
"pattern": "[Black]### ### ### €;[Black][<=0]0 €;"
}
}
},
"fields": "userEnteredFormat.numberFormat"
}
},
{
"updateBorders": {
"range": {
"startRowIndex": line,
"endRowIndex": line + 2,
"startColumnIndex": 11,
"endColumnIndex": 17
},
"top": {
"style": "SOLID",
"width": 1,
"color": {
"red": 0,
"green": 0,
"blue": 0
}
},
"bottom": {
"style": "SOLID",
"width": 1,
"color": {
"red": 0,
"green": 0,
"blue": 0
}
},
"innerHorizontal": {
"style": "SOLID",
"width": 1,
"color": {
"red": 0,
"green": 0,
"blue": 0
}
},
"innerVertical": {
"style": "SOLID",
"width": 1,
"color": {
"red": 0,
"green": 0,
"blue": 0
}
}
}
},
{
"updateBorders": {
"range": {
"startRowIndex": line,
"endRowIndex": line + 2,
"startColumnIndex": 17,
"endColumnIndex": 1
},
"innerVertical": {
"style": "SOLID",
"width": 1,
"color": {
"red": 0,
"green": 0,
"blue": 0
}
}
}
},
]
def get_formatting_button_tabs(line: int):
return [
{
"repeatCell": {
"range": {
"startRowIndex": line,
"endRowIndex": line + 1
},
"cell": {
"userEnteredFormat": {
"horizontalAlignment": "LEFT",
"verticalAlignment": "MIDDLE",
"wrapStrategy": "WRAP",
"textFormat": {
"fontSize": 12,
"bold": "true"
}
}
},
"fields": "userEnteredFormat(backgroundColor,textFormat,horizontalAlignment)"
},
},
{
"repeatCell": {
"range": {
"startRowIndex": line + 1,
"endRowIndex": line + 2
},
"cell": {
"userEnteredFormat": {
"horizontalAlignment": "LEFT",
"verticalAlignment": "MIDDLE",
"wrapStrategy": "WRAP",
"textFormat": {
"fontSize": 11,
"bold": "true"
}
}
},
"fields": "userEnteredFormat(backgroundColor,textFormat,horizontalAlignment)"
}
},
{
"updateBorders": {
"range": {
"startRowIndex": line + 1,
"endRowIndex": line + 5,
"endColumnIndex": 10
},
"top": {
"style": "SOLID",
"width": 1,
"color": {
"red": 0,
"green": 0,
"blue": 0
}
},
"bottom": {
"style": "SOLID",
"width": 1,
"color": {
"red": 0,
"green": 0,
"blue": 0
}
},
"innerHorizontal": {
"style": "SOLID",
"width": 1,
"color": {
"red": 0,
"green": 0,
"blue": 0
}
},
"innerVertical": {
"style": "SOLID",
"width": 1,
"color": {
"red": 0,
"green": 0,
"blue": 0
}
}
}
},
{
"updateBorders": {
"range": {
"startRowIndex": line + 1,
"endRowIndex": line + 5,
"endColumnIndex": 11
},
"innerVertical": {
"style": "SOLID",
"width": 1,
"color": {
"red": 0,
"green": 0,
"blue": 0
}
}
}
},
]
def generate_style_all_tabs(max_rows_first_tab: int, annee_ref: int):
"""
params : length ligne table
params : current first year off tabs
"""
json_data = []
k = 0
for x in range(0, max_rows_first_tab - 1):
json_data.append(get_formatting_button_tabs(max_rows_first_tab + 3 + k)[0])
json_data.append(get_formatting_button_tabs(max_rows_first_tab + 3 + k)[1])
json_data.append(get_formatting_button_tabs(max_rows_first_tab + 3 + k)[2])
json_data.append(get_formatting_button_left_tabs(max_rows_first_tab + 4 + k)[0])
json_data.append(get_formatting_button_left_tabs(max_rows_first_tab + 4 + k)[1])
json_data.append(get_formatting_button_left_tabs(max_rows_first_tab + 4 + k)[2])
json_data.append(get_title_button_tabs(max_rows_first_tab + 4 + k)[0])
json_data.append(get_title_button_tabs(max_rows_first_tab + 4 + k)[1])
json_data.append(get_title_button_tabs(max_rows_first_tab + 4 + k)[2])
json_data.append(get_title_button_tabs(max_rows_first_tab + 4 + k)[3])
json_data.append(get_title_button_tabs(max_rows_first_tab + 4 + k)[4])
json_data.append(get_title_button_tabs(max_rows_first_tab + 4 + k)[5])
json_data.append(get_title_button_tabs(max_rows_first_tab + 4 + k)[6])
json_data.append(get_title_button_tabs(max_rows_first_tab + 4 + k)[7])
json_data.append(get_title_button_tabs(max_rows_first_tab + 4 + k)[8])
json_data.append(get_title_button_left_tabs(max_rows_first_tab + 5 + k, 'A$' + str(max_rows_first_tab + 4 + k),
annee_ref + x)[0])
json_data.append(get_title_button_left_tabs(max_rows_first_tab + 5 + k, 'A$' + str(max_rows_first_tab + 4 + k),
annee_ref + x)[1])
json_data.append(get_title_button_left_tabs(max_rows_first_tab + 5 + k, 'A$' + str(max_rows_first_tab + 4 + k),
annee_ref + x)[2])
# Right tabs
json_data.append(get_title_button_left_tabs(max_rows_first_tab + 4 + k, 'A$' + str(max_rows_first_tab + 4 + k),
annee_ref + x)[3])
json_data.append(get_title_button_left_tabs(max_rows_first_tab + 4 + k, 'A$' + str(max_rows_first_tab + 4 + k),
annee_ref + x)[4])
json_data.append(get_title_button_left_tabs(max_rows_first_tab + 4 + k, 'A$' + str(max_rows_first_tab + 4 + k),
annee_ref + x)[5])
json_data.append(get_title_button_left_tabs(max_rows_first_tab + 4 + k, 'A$' + str(max_rows_first_tab + 4 + k),
annee_ref + x)[6])
json_data.append(get_title_button_left_tabs(max_rows_first_tab + 4 + k, 'A$' + str(max_rows_first_tab + 4 + k),
annee_ref + x)[7])
json_data.append(get_title_button_left_tabs(max_rows_first_tab + 4 + k, 'A$' + str(max_rows_first_tab + 4 + k),
annee_ref + x)[8])
json_data.append(get_title_button_left_tabs(max_rows_first_tab + 4 + k, 'A$' + str(max_rows_first_tab + 4 + k),
annee_ref + x)[9])
json_data.append(get_title_button_left_tabs(max_rows_first_tab + 4 + k, 'A$' + str(max_rows_first_tab + 4 + k),
annee_ref + x)[10])
json_data.append(get_title_button_left_tabs(max_rows_first_tab + 4 + k, 'A$' + str(max_rows_first_tab + 4 + k),
annee_ref + x)[11])
json_data.append(get_title_button_left_tabs(max_rows_first_tab + 4 + k, 'A$' + str(max_rows_first_tab + 4 + k),
annee_ref + x)[12])
json_data.append(get_title_button_left_tabs(max_rows_first_tab + 4 + k, 'A$' + str(max_rows_first_tab + 4 + k),
annee_ref + x)[13])
json_data.append(get_title_button_left_tabs(max_rows_first_tab + 4 + k, 'A$' + str(max_rows_first_tab + 4 + k),
annee_ref + x)[14])
json_data.append(get_title_button_left_tabs(max_rows_first_tab + 4 + k, 'A$' + str(max_rows_first_tab + 4 + k),
annee_ref + x)[15])
k = k + 6
return json_data
def get_one_query_value_first(letter: [], y_cell: int, cel1: int, cel2: int, ligne_max: int, current_year: int):
"""
params : letter == column
params : (letter[0], y_cell) : position to update
params : Cellule du Titre du Bilan => YY année
params : Cellule du Titre du tableau de l'année => YY année
params : max ligne
params : current first year off table
Exemple in for Bilan 2010 in H$31 : =IF(REGEXMATCH(MID($A$31,9,2), H$32), "", INDEX(query($A$1:$J$9 ,"select I where A=2019"),2,0))
"""
return {
"repeatCell": {
"range": {
"startRowIndex": y_cell - 1,
"endRowIndex": y_cell,
"startColumnIndex": letter[1] - 1,
"endColumnIndex": letter[1]
},
"cell": {
"userEnteredFormat": {
"horizontalAlignment": "RIGHT",
"verticalAlignment": "MIDDLE",
"textFormat": {
"fontSize": 11,
"bold": "true"
},
"numberFormat": {
"type": "CURRENCY",
"pattern": "[Black]### ### ### €;[Black][<=0]0 €;"
}
},
"userEnteredValue": {
"formulaValue": "=IF(REGEXMATCH(MID($A$" + str(cel1) + ", 9, 2), " + str(
letter[0]) + "$" + str(
cel2) + "), \"\", INDEX(query($A$1:$J$" + str(ligne_max) + ", \"select " + str(
letter[2]) + " where A=" + str(
current_year) + "\"), 2, 0)) "
}
},
"fields": "userEnteredValue,userEnteredFormat.numberFormat"
},
},
def get_one_query_value_seconde(letter: [], y_cell: int, cel1: int, cel2: int, current_year: int, ligne_max: int):
"""
params : letter == column
params : (letter[0], y_cell) : position to update
params : Cellule du Titre du Bilan => YY année
params : Cellule du Titre du tableau de l'année => YY année
params : max ligne
params : current first year off table
Exemple in for Bilan 2010 in H$31 : =IF(REGEXMATCH(MID($A$31,9,2), H$32), "", INDEX(query($A$1:$J$9 ,"select I where A=2019"),2,0))
"""
return {
"repeatCell": {
"range": {
"startRowIndex": y_cell - 1,
"endRowIndex": y_cell,
"startColumnIndex": letter[1] - 1,
"endColumnIndex": letter[1]
},
"cell": {
"userEnteredFormat": {
"horizontalAlignment": "RIGHT",
"verticalAlignment": "MIDDLE",
"textFormat": {
"fontSize": 11,
"bold": "true"
},
"numberFormat": {
"type": "CURRENCY",
"pattern": "[Black]### ### ### €;[Black][<=0]0 €;"
}
},
"userEnteredValue": {
"formulaValue": "=IF(REGEXMATCH(MID($A$" + str(cel1 - 1) + ", 9, 2), " + str(
letter[2]) + "$" + str(cel2 - 1) + "), \"\", INDEX(query($A$1:$J$" + str(
ligne_max) + " ,\"select " + str(letter[0])
+ " where A=" + str(current_year) + "\"),2,0))"
}
},
"fields": "userEnteredValue,userEnteredFormat.numberFormat"
},
},
def get_one_query_value_seconde_sql_cell_1(letter: [], y_cell: int, annee_ref: int, total: int):
return {
"repeatCell": {
"range": {
"startRowIndex": y_cell - 1,
"endRowIndex": y_cell,
"startColumnIndex": letter[1] - 1,
"endColumnIndex": letter[1]
},
"cell": {
"userEnteredFormat": {
"horizontalAlignment": "RIGHT",
"verticalAlignment": "MIDDLE",
"textFormat": {
"fontSize": 11,
"bold": "true"
},
"numberFormat": {
"type": "CURRENCY",
"pattern": "[Black]### ### ### €;[Black][<=0]0 €;"
}
},
"userEnteredValue": {
"formulaValue": "=" + str(total)
}
},
"fields": "userEnteredValue,userEnteredFormat.numberFormat"
},
},
def get_one_query_value_seconde_sql_cell_2(letter: [], y_cell: int, cel1: int, cel2: int, current_year: int,
ligne_max: int):
if current_year + 5 == current_year + ligne_max - 2:
return {
"repeatCell": {
"range": {
"startRowIndex": y_cell - 1,
"endRowIndex": y_cell,
"startColumnIndex": letter[1] - 1,
"endColumnIndex": letter[1]
},
"cell": {
"userEnteredFormat": {
"horizontalAlignment": "RIGHT",
"verticalAlignment": "MIDDLE",
"textFormat": {
"fontSize": 11,
"bold": "true"
},
"numberFormat": {
"type": "CURRENCY",
"pattern": "[Black]### ### ### €;[Black][<=0]0 €;"
}
},
"userEnteredValue": {
"formulaValue": "=0"
}
},
"fields": "userEnteredValue,userEnteredFormat.numberFormat"
},
},
else:
return {
"repeatCell": {
"range": {
"startRowIndex": y_cell - 1,
"endRowIndex": y_cell,
"startColumnIndex": letter[1] - 1,
"endColumnIndex": letter[1]
},
"cell": {
"userEnteredFormat": {
"horizontalAlignment": "RIGHT",
"verticalAlignment": "MIDDLE",
"textFormat": {
"fontSize": 11,
"bold": "true"
},
"numberFormat": {
"type": "CURRENCY",
"pattern": "[Black]### ### ### €;[Black][<=0]0 €;"
}
},
"userEnteredValue": {
"formulaValue": "=IF(REGEXMATCH(MID($A$" + str(cel1 - 1) + ", 9, 2), " + str(
letter[2]) + "$" + str(
cel2 - 1) + "), 0, INDEX(query($A$1:$J$" + str(
ligne_max) + " ,\"select sum(" + str(letter[0]) + ") where A>" + str(
current_year - 1) + "\"),2,0))"
}
},
"fields": "userEnteredValue,userEnteredFormat.numberFormat"
},
},
def get_one_query_total_value(y_cell: int):
return {
"repeatCell": {
"range": {
"startRowIndex": y_cell - 1,
"endRowIndex": y_cell,
"startColumnIndex": 9,
"endColumnIndex": 10
},
"cell": {
"userEnteredFormat": {
"horizontalAlignment": "RIGHT",
"verticalAlignment": "MIDDLE",
"textFormat": {
"fontSize": 11,
"bold": "true"
},
"numberFormat": {
"type": "CURRENCY",
"pattern": "[Black]### ### ### €;[Black][<=0]0 €;"
}
},
"userEnteredValue": {
"formulaValue": "=SUM(B" + str(y_cell) + ":I" + str(y_cell) + ")"
}
},
"fields": "userEnteredValue,userEnteredFormat.numberFormat"
}
},
def generate_all_value_for_letter_first_line(letter: [], max_rows_first_tab: int, year_ref: int):
"""
params : letter == column
params : length ligne table
params : current first year off tabs
"""
json_data = []
k = 0
for x in range(0, max_rows_first_tab - 1):
"""
params : letter == column
params : (letter[0], y_cell) : position to update
params : Cellule du Titre du Bilan => YY année
params : Cellule du Titre du tableau de l'année => YY année
params : max ligne
params : current first year off table
Exemple in for Bilan 2010 in H$31 : =IF(REGEXMATCH(MID($A$31,9,2), H$32), "", INDEX(query($A$1:$J$9 ,"select I where A=2019"),2,0))
"""
json_data.append(get_one_query_value_first(
letter,
max_rows_first_tab + 6 + k,
max_rows_first_tab + 4 + k,
max_rows_first_tab + 5 + k,
max_rows_first_tab,
year_ref + x
))
k = k + 6
return json_data
def generate_all_value_for_letter_second_line(max_rows_first_tab: int, year_ref: int, data_total_bilan: int):
"""
params : letter == column
params : length ligne table
params : current first year off tabs
"""
json_data = []
k = 0
right_index = 0
for x_k in range(0, max_rows_first_tab - 1):
if x_k > len(SHEET_COLUMN_LETTERS_TINY_3) - 1:
right_index = len(SHEET_COLUMN_LETTERS_TINY_3) - 1
else:
right_index = x_k
j = 1
for x in range(0, len(SHEET_COLUMN_LETTERS_TINY) - 1):
if x == 0:
json_data.append(
get_one_query_value_seconde_sql_cell_1(
[SHEET_COLUMN_LETTERS_TINY_3[right_index], (x + 2), SHEET_COLUMN_LETTERS_TINY[x]]
, max_rows_first_tab + 6 + k + 1, year_ref, data_total_bilan[right_index])
)
elif x == 1:
json_data.append(
get_one_query_value_seconde(
[SHEET_COLUMN_LETTERS_TINY_3[right_index], (x + 2), SHEET_COLUMN_LETTERS_TINY[x]]
, max_rows_first_tab + 6 + k + 1
, max_rows_first_tab + 4 + k + 1
, max_rows_first_tab + 5 + k + 1
, year_ref + 0
, max_rows_first_tab
)
)
elif x == len(SHEET_COLUMN_LETTERS_TINY) - 2:
json_data.append(
get_one_query_value_seconde_sql_cell_2(
[SHEET_COLUMN_LETTERS_TINY_3[right_index], (x + 2), SHEET_COLUMN_LETTERS_TINY[x]]
, max_rows_first_tab + 6 + k + 1
, max_rows_first_tab + 4 + k + 1
, max_rows_first_tab + 5 + k + 1
, year_ref + j
, max_rows_first_tab
)
)
else:
json_data.append(
get_one_query_value_seconde(
[SHEET_COLUMN_LETTERS_TINY_3[right_index], (x + 2), SHEET_COLUMN_LETTERS_TINY[x]]
, max_rows_first_tab + 6 + k + 1
, max_rows_first_tab + 4 + k + 1
, max_rows_first_tab + 5 + k + 1
, year_ref + j
, max_rows_first_tab)
)
j += 1
k = k + 6
return json_data
def generate_all_value_for_letter_last_colombe(max_rows_first_tab: int):
"""
params : letter == column
params : length ligne table
params : current first year off tabs
"""
json_data = []
k = 0
for x in range(0, max_rows_first_tab - 1):
json_data.append(get_one_query_total_value(max_rows_first_tab + 6 + k))
json_data.append(get_one_query_total_value(max_rows_first_tab + 6 + k + 1))
k = k + 6
return json_data
def get_one_query_diff_value(letter: [], ligne: int, y_cell: int, current_year: int, ligne_max: int):
return {
"repeatCell": {
"range": {
"startRowIndex": y_cell - 1,
"endRowIndex": y_cell,
"startColumnIndex": ligne + 1,
"endColumnIndex": ligne + 2
},
"cell": {
"userEnteredFormat": {
"horizontalAlignment": "RIGHT",
"verticalAlignment": "MIDDLE",
"textFormat": {
"fontSize": 11,
"bold": "true"
},
"numberFormat": {
"type": "CURRENCY",
"pattern": "[Black]### ### ### €;[Black][<=0]0 €;"
}
},
"userEnteredValue": {
"formulaValue": "=IF(REGEXMATCH(MID($A$" + str(y_cell - 4) + ", 9, 2), " + str(
letter[0]) + "$" + str(y_cell - 3) + "), INDEX(query($A$1:$J$" + str(
ligne_max) + ", \"select " + str(letter[1])
+ " where A=" + str(current_year) + "\"), 2, 0)," + str(letter[0]) + str(
y_cell - 1) + " - " + str(letter[0]) + str(y_cell - 2) + ")"
}
},
"fields": "userEnteredValue,userEnteredFormat.numberFormat"
}
},
def generate_all_value_for_letter_last_ligne(max_rows_first_tab: int, current_year: int):
"""
params : letter == column
params : length ligne table
params : current first year off tabs
"""
json_data = []
k = 0
for x in range(0, max_rows_first_tab - 1):
for y in range(0, len(SHEET_COLUMN_LETTERS_TINY_2) - 1):
json_data.append(
get_one_query_diff_value(
[SHEET_COLUMN_LETTERS_TINY_2[y], SHEET_COLUMN_LETTERS_TINY_2[y + 1]],
y,
max_rows_first_tab + 6 + k + 2,
current_year + x,
max_rows_first_tab
)
)
k = k + 6
return json_data
# Formatting first table for receipt export
def basic_formatting_receipt(session: str, spreadsheet_id: str, annee_ref: int, max_rows_first_tab: int, data_total_bilan: []):
headers = {'Authorization': f'Bearer {session}'}
json_data = {
"requests": [
{
"repeatCell": {
"range": {
"startRowIndex": 0,
"endRowIndex": 1
},
"cell": {
"userEnteredFormat": {
"horizontalAlignment": "LEFT",
"verticalAlignment": "MIDDLE",
"wrapStrategy": "WRAP",
"textFormat": {
"fontSize": 11,
"bold": "true"
}
}
},
"fields": "userEnteredFormat(backgroundColor,textFormat,horizontalAlignment)"
}
},
{
"updateBorders": {
"range": {
"startRowIndex": 0,
"endRowIndex": max_rows_first_tab,
"endColumnIndex": 10
},
"top": {
"style": "SOLID",
"width": 1,
"color": {
"red": 0,
"green": 0,
"blue": 0
}
},
"bottom": {
"style": "SOLID",
"width": 1,
"color": {
"red": 0,
"green": 0,
"blue": 0
}
},
"innerHorizontal": {
"style": "SOLID",
"width": 1,
"color": {
"red": 0,
"green": 0,
"blue": 0
}
},
"innerVertical": {
"style": "SOLID",
"width": 1,
"color": {
"red": 0,
"green": 0,
"blue": 0
}
}
}
},
{
"updateBorders": {
"range": {
"startRowIndex": 0,
"endRowIndex": max_rows_first_tab,
"endColumnIndex": 11
},
"innerVertical": {
"style": "SOLID",
"width": 1,
"color": {
"red": 0,
"green": 0,
"blue": 0
}
}
}
},
{
"updateDimensionProperties": {
"range": {
"dimension": "COLUMNS",
"startIndex": 0,
"endIndex": 16
},
"properties": {
"pixelSize": 180
},
"fields": "pixelSize"
}
},
{
"repeatCell": {
"range": {
"startRowIndex": 0,
"endRowIndex": max_rows_first_tab,
"startColumnIndex": 1,
"endColumnIndex": 10
},
"cell": {
"userEnteredFormat": {
"horizontalAlignment": "RIGHT",
"verticalAlignment": "MIDDLE",
"wrapStrategy": "WRAP",
"numberFormat": {
"type": "CURRENCY",
"pattern": "[Black]### ### ### €;[Black][<=0]0 €;"
}
}
},
"fields": "userEnteredFormat.numberFormat"
}
},
{
"setBasicFilter": {
"filter": {
"range": {
"startRowIndex": 0,
"endRowIndex": max_rows_first_tab,
"endColumnIndex": 10
}
}
}
},
{
"repeatCell": {
"range": {
"startRowIndex": max_rows_first_tab,
"endRowIndex": max_rows_first_tab + 1,
"startColumnIndex": 1,
"endColumnIndex": 10
},
"cell": {
"userEnteredValue": {
"formulaValue": "=SUM(B2:B" + str(max_rows_first_tab) + ")"
}
},
"fields": "userEnteredValue"
}
},
{
"repeatCell": {
"range": {
"startRowIndex": max_rows_first_tab,
"endRowIndex": max_rows_first_tab + 1
},
"cell": {
"userEnteredFormat": {
"horizontalAlignment": "RIGHT",
"verticalAlignment": "MIDDLE",
"wrapStrategy": "WRAP",
"textFormat": {
"fontSize": 11,
"bold": "true"
}
}
},
"fields": "userEnteredFormat(backgroundColor,textFormat,horizontalAlignment)"
}
},
generate_style_all_tabs(max_rows_first_tab, annee_ref),
generate_all_value_for_letter_first_line(['B', 2, 'C'], max_rows_first_tab, annee_ref),
generate_all_value_for_letter_first_line(['C', 3, 'D'], max_rows_first_tab, annee_ref),
generate_all_value_for_letter_first_line(['D', 4, 'E'], max_rows_first_tab, annee_ref),
generate_all_value_for_letter_first_line(['E', 5, 'F'], max_rows_first_tab, annee_ref),
generate_all_value_for_letter_first_line(['F', 6, 'G'], max_rows_first_tab, annee_ref),
generate_all_value_for_letter_first_line(['G', 7, 'H'], max_rows_first_tab, annee_ref),
generate_all_value_for_letter_first_line(['H', 8, 'I'], max_rows_first_tab, annee_ref),
generate_all_value_for_letter_first_line(['I', 9, 'J'], max_rows_first_tab, annee_ref),
generate_all_value_for_letter_second_line(max_rows_first_tab, annee_ref, data_total_bilan),
generate_all_value_for_letter_last_colombe(max_rows_first_tab),
generate_all_value_for_letter_last_ligne(max_rows_first_tab, annee_ref)
]
}
r = requests.post(f'https://sheets.googleapis.com/v4/spreadsheets/{spreadsheet_id}:batchUpdate', headers=headers,
data=json.dumps(json_data))
return r.status_code
| 37.120261
| 143
| 0.361376
| 3,928
| 56,794
| 4.998218
| 0.064409
| 0.036724
| 0.062955
| 0.078694
| 0.911985
| 0.881526
| 0.843376
| 0.794835
| 0.735038
| 0.724444
| 0
| 0.026951
| 0.527661
| 56,794
| 1,529
| 144
| 37.144539
| 0.704093
| 0.026992
| 0
| 0.562272
| 0
| 0.01311
| 0.199282
| 0.023449
| 0
| 0
| 0
| 0
| 0
| 1
| 0.015295
| false
| 0
| 0.003642
| 0.005098
| 0.034232
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
f47f360971cf3204de94aabf6a3f44e903a9a4ae
| 13,560
|
py
|
Python
|
old-frontend/packages/ImposterAPI/test.py
|
Sylvester-dev/Crypto-Imposters
|
0021b16e27103adc075c0acfddf3693447be1e37
|
[
"MIT"
] | 1
|
2022-01-09T05:05:11.000Z
|
2022-01-09T05:05:11.000Z
|
old-frontend/packages/ImposterAPI/test.py
|
Sylvester-dev/Crypto-Imposters
|
0021b16e27103adc075c0acfddf3693447be1e37
|
[
"MIT"
] | null | null | null |
old-frontend/packages/ImposterAPI/test.py
|
Sylvester-dev/Crypto-Imposters
|
0021b16e27103adc075c0acfddf3693447be1e37
|
[
"MIT"
] | null | null | null |
from random import randint
from PIL import Image
import numpy as np
import os
# gets path to be used in image creation mechanism, using os
dirname = os.path.dirname(__file__)
# sets final image dimensions as 480x480 pixels
# the original 24x24 pixel image will be expanded to these dimensions
dimensions = 480, 480
bg = (238, 238, 238)
ol = (0, 0, 0)
yl = (255, 255, 102)
rd = (204, 0, 0)
dk = (randint(0, 256), randint(0, 256), randint(0, 256))
ew = (240, 248, 255)
ey = (0, 0, 0)
Angel_Imposter = [
[bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, bg, yl, yl, yl, yl, yl, yl, yl, bg, bg, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, yl, bg, bg, bg, bg, bg, bg, bg, yl, bg, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, yl, bg, bg, bg, bg, bg, bg, bg, yl, bg, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, bg, yl, yl, yl, yl, yl, yl, yl, bg, bg, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, bg, bg, ol, ol, ol, ol, ol, ol, bg, bg, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, ol, ol, ol, ol, ol, ol, ol, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, ol, ol, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, ol, bg, ol, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg],
[bg, bg, bg, bg, ol, bg, bg, ol, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg],
[bg, bg, bg, bg, ol, bg, bg, ol, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg],
[bg, bg, bg, bg, ol, bg, bg, ol, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg],
[bg, bg, bg, bg, ol, bg, bg, ol, bg, bg, bg, bg, ol, ol, ol, ol, ol, ol, ol, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, ol, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, ol, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, ol, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, ol, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg],
]
Basic_Imposter = [
[bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, bg, bg, ol, ol, ol, ol, ol, ol, bg, bg, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, ol, ol, ol, ol, ol, ol, ol, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, ol, ol, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, ol, bg, ol, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg],
[bg, bg, bg, bg, ol, bg, bg, ol, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg],
[bg, bg, bg, bg, ol, bg, bg, ol, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg],
[bg, bg, bg, bg, ol, bg, bg, ol, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg],
[bg, bg, bg, bg, ol, bg, bg, ol, bg, bg, bg, bg, ol, ol, ol, ol, ol, ol, ol, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, ol, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, ol, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, ol, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, ol, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg],
]
Devil_Imposter = [
[bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, rd, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, bg, bg, rd, bg, bg, bg, rd, rd, bg, bg, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, bg, rd, rd, bg, bg, bg, rd, rd, rd, bg, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, rd, rd, rd, bg, bg, bg, rd, rd, rd, bg, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, rd, rd, rd, bg, bg, bg, rd, rd, rd, bg, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, rd, rd, ol, ol, ol, ol, ol, ol, rd, bg, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, rd, ol, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, ol, ol, ol, ol, ol, ol, ol, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, ol, ol, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, ol, bg, ol, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg],
[bg, bg, bg, bg, ol, bg, bg, ol, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg],
[bg, bg, bg, bg, ol, bg, bg, ol, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg],
[bg, bg, bg, bg, ol, bg, bg, ol, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg],
[bg, bg, bg, bg, ol, bg, bg, ol, bg, bg, bg, bg, ol, ol, ol, ol, ol, ol, ol, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, ol, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, ol, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, ol, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, ol, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg],
]
CrazyGoggle_Imposter = [
[bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, bg, bg, ol, ol, ol, ol, ol, ol, bg, bg, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, ol, ol, ol, ol, ol, ol, ol, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, ol, dk, dk, dk, dk, dk, dk, dk, ol, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, ol, ol, bg, bg, bg, ol, dk, dk, dk, dk, dk, dk, dk, ol, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, ol, bg, ol, bg, bg, bg, ol, dk, dk, dk, dk, dk, dk, dk, ol, bg, bg, bg, bg],
[bg, bg, bg, bg, ol, bg, bg, ol, bg, bg, bg, ol, dk, dk, dk, dk, dk, dk, dk, ol, bg, bg, bg, bg],
[bg, bg, bg, bg, ol, bg, bg, ol, bg, bg, bg, ol, dk, dk, dk, dk, dk, dk, dk, ol, bg, bg, bg, bg],
[bg, bg, bg, bg, ol, bg, bg, ol, bg, bg, bg, ol, dk, dk, dk, dk, dk, dk, dk, ol, bg, bg, bg, bg],
[bg, bg, bg, bg, ol, bg, bg, ol, bg, bg, bg, bg, ol, ol, ol, ol, ol, ol, ol, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, ol, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, ol, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, ol, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, ol, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg],
]
Alien_Imposter = [
[bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, bg, bg, ol, ol, ol, ol, ol, ol, bg, bg, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, ew, ew, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, ey, ew, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, ol, ol, ol, ol, ol, ol, ol, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, bg, ol, ol, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg],
[bg, bg, bg, bg, bg, ol, bg, ol, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg],
[bg, bg, bg, bg, ol, bg, bg, ol, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg],
[bg, bg, bg, bg, ol, bg, bg, ol, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg],
[bg, bg, bg, bg, ol, bg, bg, ol, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg],
[bg, bg, bg, bg, ol, bg, bg, ol, bg, bg, bg, bg, ol, ol, ol, ol, ol, ol, ol, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, ol, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, ol, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, ol, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg],
[bg, bg, bg, bg, ol, bg, bg, ol, bg, bg, bg, bg, bg, bg, bg, bg, bg, ol, bg, bg, bg, bg, bg, bg],
]
a = np.array(Basic_Imposter, dtype=np.uint8)
new_image = Image.fromarray(a)
new_image = new_image.resize(dimensions, resample=0)
new_image.save('fffff.png')
| 78.837209
| 113
| 0.464159
| 3,001
| 13,560
| 2.092636
| 0.021993
| 1.404459
| 1.866879
| 2.221656
| 0.927548
| 0.927548
| 0.920382
| 0.920382
| 0.920382
| 0.920382
| 0
| 0.007153
| 0.298894
| 13,560
| 171
| 114
| 79.298246
| 0.653413
| 0.012684
| 0
| 0.748299
| 0
| 0
| 0.000672
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.027211
| 0
| 0.027211
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 10
|
be47b496f1b7c7b94eff0c125488aed3a05819ca
| 153
|
py
|
Python
|
test_without_migrations/management/commands/testserver.py
|
gbdlin/django-test-without-migrations
|
b665a0d203cb615a1a923caf06cff298bf73707e
|
[
"MIT"
] | 144
|
2015-01-01T10:31:33.000Z
|
2022-03-31T17:05:24.000Z
|
test_without_migrations/management/commands/testserver.py
|
gbdlin/django-test-without-migrations
|
b665a0d203cb615a1a923caf06cff298bf73707e
|
[
"MIT"
] | 20
|
2015-04-06T15:22:01.000Z
|
2022-01-10T21:15:07.000Z
|
test_without_migrations/management/commands/testserver.py
|
gbdlin/django-test-without-migrations
|
b665a0d203cb615a1a923caf06cff298bf73707e
|
[
"MIT"
] | 19
|
2015-07-28T14:50:34.000Z
|
2019-08-20T14:07:26.000Z
|
from test_without_migrations.management.commands._base import CommandMixin, TestServerCommand
class Command(CommandMixin, TestServerCommand):
pass
| 25.5
| 93
| 0.849673
| 15
| 153
| 8.466667
| 0.866667
| 0.456693
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.098039
| 153
| 5
| 94
| 30.6
| 0.92029
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0.333333
| 0.333333
| 0
| 0.666667
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| 1
| 0
|
0
| 7
|
be7df6abf5c8cffeaaff3625aba1353501fa5685
| 2,875
|
py
|
Python
|
tests/test_formats.py
|
markokr/sysca
|
e336d9ed2bb61678ef7bf3ef0b17a50e2a511652
|
[
"0BSD"
] | 12
|
2016-08-31T08:58:08.000Z
|
2020-03-21T00:51:57.000Z
|
tests/test_formats.py
|
markokr/sysca
|
e336d9ed2bb61678ef7bf3ef0b17a50e2a511652
|
[
"0BSD"
] | null | null | null |
tests/test_formats.py
|
markokr/sysca
|
e336d9ed2bb61678ef7bf3ef0b17a50e2a511652
|
[
"0BSD"
] | 1
|
2019-05-28T08:35:33.000Z
|
2019-05-28T08:35:33.000Z
|
from sysca.formats import ldap_to_string, ldap_from_string
import pytest
def test_ldap_to_string():
assert ldap_to_string([("C", "QQ")]) == "C = QQ"
assert ldap_to_string((("C", "QQ"), ("O", "org"))) == "C = QQ, O = org"
assert ldap_to_string([("C", "QQ", "O", "org")]) == "C = QQ + O = org"
assert ldap_to_string([("C", "QQ", "O", "org", "OU", "u"), ("ST", "s")]) == "C = QQ + O = org + OU = u, ST = s"
assert ldap_to_string([("O", " x ")]) == r"O = \ x \ "
assert ldap_to_string([("O", "#z#")]) == r"O = \#z#"
assert ldap_to_string([("O", "+<>\"=;\\")]) == r"""O = \+\<\>\"\=\;\\"""
assert ldap_to_string([("O", "o", "O", "oo"), ("OU", "u")]) == r"O = o + O = oo, OU = u"
assert ldap_to_string([("O", "o", "O", "oo"), ("OU", "u")], "/") == r"/O=o+O=oo/OU=u/"
assert ldap_to_string([("O", "o", "O", "oo"), ("OU", "u")], "|") == r"|O=o+O=oo|OU=u|"
assert ldap_to_string([("O", ",|/")]) == r"O = \,|/"
assert ldap_to_string([("O", ",|/")], ",") == r"O = \,|/"
assert ldap_to_string([("O", ",|/")], "|") == r"|O=,\|/|"
assert ldap_to_string([("O", ",|/")], "/") == r"/O=,|\//"
assert ldap_to_string([("O", "\x00\x1f\n\r\x7F")]) == r"O = \00\1f\0a\0d\7f"
assert ldap_to_string([]) == r""
assert ldap_to_string([()]) == r""
assert ldap_to_string([(), (), ()]) == r""
with pytest.raises(ValueError):
ldap_to_string([], "+")
def test_ldap_from_string():
assert ldap_from_string("C=QQ") == (("C", "QQ"),)
assert ldap_from_string("C=QQ,O=o+OU=z") == (("C", "QQ"), ("O", "o", "OU", "z"))
assert ldap_from_string(" C = QQ , O = o + OU = z ") == (("C", "QQ"), ("O", "o", "OU", "z"))
assert ldap_from_string(r"C=\ x \ ") == (("C", " x "),)
assert ldap_from_string(r" C = \ x \ ") == (("C", " x "),)
assert ldap_from_string("\r\n\tC\r\n\t=\r\n\tx\r\n\t+\r\n\tOU\t=\tz\n,\nL=y") == (("C", "x", "OU", "z"), ("L", "y"))
assert ldap_from_string(" , + C=x , + , O=y + ,") == (("C", "x"), ("O", "y"))
assert ldap_from_string("1.2.3 = f") == (("1.2.3", "f"),)
assert ldap_from_string(r"O = \00\01\02 \03") == (("O", "\x00\x01\x02 \x03"),)
assert ldap_from_string(r"O = Lu\C4\8Di\C4\87") == (("O", "Lu\u010Di\u0107"),)
with pytest.raises(ValueError):
ldap_from_string("O=#00")
with pytest.raises(ValueError):
ldap_from_string("O")
with pytest.raises(ValueError):
ldap_from_string("O=")
with pytest.raises(ValueError):
ldap_from_string("O + C=x")
with pytest.raises(ValueError):
ldap_from_string("O= + C=x")
with pytest.raises(ValueError):
ldap_from_string("O , C=x")
with pytest.raises(ValueError):
ldap_from_string("O= , C=x")
with pytest.raises(ValueError):
ldap_from_string("=z")
with pytest.raises(ValueError):
ldap_from_string(" = z")
| 42.910448
| 120
| 0.499826
| 440
| 2,875
| 3.070455
| 0.134091
| 0.207254
| 0.186529
| 0.239822
| 0.835677
| 0.746114
| 0.694301
| 0.676536
| 0.601036
| 0.601036
| 0
| 0.020061
| 0.202435
| 2,875
| 66
| 121
| 43.560606
| 0.569123
| 0
| 0
| 0.307692
| 0
| 0.019231
| 0.216075
| 0.017397
| 0
| 0
| 0
| 0
| 0.538462
| 1
| 0.038462
| true
| 0
| 0.038462
| 0
| 0.076923
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
bea78f33d05ca3534a1b2595b23da3bf25d8e933
| 11,773
|
py
|
Python
|
userbot/plugins/animation4.py
|
toxic-dev0/catuserbot1
|
2a9ccefd064b6174adcf25a51b991945d91a95f8
|
[
"MIT"
] | null | null | null |
userbot/plugins/animation4.py
|
toxic-dev0/catuserbot1
|
2a9ccefd064b6174adcf25a51b991945d91a95f8
|
[
"MIT"
] | null | null | null |
userbot/plugins/animation4.py
|
toxic-dev0/catuserbot1
|
2a9ccefd064b6174adcf25a51b991945d91a95f8
|
[
"MIT"
] | null | null | null |
from userbot import CMD_HELP
from telethon import events
import asyncio
from userbot.utils import admin_cmd
from userbot import ALIVE_NAME
import random, re
from collections import deque
DEFAULTUSER = str(ALIVE_NAME) if ALIVE_NAME else "cat"
@borg.on(admin_cmd(pattern=f"snake$", outgoing=True))
async def _(event):
if event.fwd_from:
return
animation_interval = 0.3
animation_ttl = range(0, 27)
await event.edit("snake..")
animation_chars = [
"◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️",
"◻️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️",
"◻️◻️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️",
"◻️◻️◻️️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️",
"◻️◻️◻️◻️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️",
"◻️◻️◻️◻️◻️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️",
"◻️◻️◻️◻️◻️\n◼️◼️◼️◼️◻️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️",
"◻️◻️◻️◻️◻️\n◼️◼️◼️◼️◻️\n◼️◼️◼️◼️◻️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️",
"◻️◻️◻️◻️◻️\n◼️◼️◼️◼️◻️\n◼️◼️◼️◼️◻️\n◼️◼️◼️◼️◻️\n◼️◼️◼️◼️◼️",
"◻️◻️◻️◻️◻️\n◼️◼️◼️◼️◻️\n◼️◼️◼️◼️◻️\n◼️◼️◼️◼️◻️\n◼️◼️◼️◼️◻️",
"◻️◻️◻️◻️◻️\n◼️◼️◼️◼️◻️\n◼️◼️◼️◼️◻️\n◼️◼️◼️◼️◻️\n◼️◼️◼️◻️◻️",
"◻️◻️◻️◻️◻️\n◼️◼️◼️◼️◻️\n◼️◼️◼️◼️◻️\n◼️◼️◼️◼️◻️\n◼️◼️◻️◻️◻️",
"◻️◻️◻️◻️◻️\n◼️◼️◼️◼️◻️\n◼️◼️◼️◼️◻️\n◼️◼️◼️◼️◻️\n◼️◻️◻️◻️◻️",
"◻️◻️◻️◻️◻️\n◼️◼️◼️◼️◻️\n◼️◼️◼️◼️◻️\n◼️◼️◼️◼️◻️\n◻️◻️◻️◻️◻️",
"◻️◻️◻️◻️◻️\n◼️◼️◼️◼️◻️\n◼️◼️◼️◼️◻️\n◻️◼️◼️◼️◻️\n◻️◻️◻️◻️◻️",
"◻️◻️◻️◻️◻️\n◼️◼️◼️◼️◻️\n◻️◼️◼️◼️◻️\n◻️◼️◼️◼️◻️\n◻️◻️◻️◻️◻️",
"◻️◻️◻️◻️◻️\n◻️◼️◼️◼️◻️\n◻️◼️◼️◼️◻️\n◻️◼️◼️◼️◻️\n◻️◻️◻️◻️◻️",
"◻️◻️◻️◻️◻️\n◻️◻️◼️◼️◻️\n◻️◼️◼️◼️◻️\n◻️◼️◼️◼️◻️\n◻️◻️◻️◻️◻️",
"◻️◻️◻️◻️◻️\n◻️◻️◻️◼️◻️\n◻️◼️◼️◼️◻️\n◻️◼️◼️◼️◻️\n◻️◻️◻️◻️◻️",
"◻️◻️◻️◻️◻️\n◻️◻️◻️◻️◻️\n◻️◼️◼️◼️◻️\n◻️◼️◼️◼️◻️\n◻️◻️◻️◻️◻️",
"◻️◻️◻️◻️◻️\n◻️◻️◻️◻️◻️\n◻️◼️◼️◻️◻️\n◻️◼️◼️◼️◻️\n◻️◻️◻️◻️◻️",
"◻️◻️◻️◻️◻️\n◻️◻️◻️◻️◻️\n◻️◼️◼️◻️◻️\n◻️◼️◼️◻️◻️\n◻️◻️◻️◻️◻️",
"◻️◻️◻️◻️◻️\n◻️◻️◻️◻️◻️\n◻️◼️◼️◻️◻️\n◻️◼️◻️◻️◻️\n◻️◻️◻️◻️◻️",
"◻️◻️◻️◻️◻️\n◻️◻️◻️◻️◻️\n◻️◼️◼️◻️◻️\n◻️◻️◻️◻️◻️\n◻️◻️◻️◻️◻️",
"◻️◻️◻️◻️◻️\n◻️◻️◻️◻️◻️\n◻️◻️◼️◻️◻️\n◻️◻️◻️◻️◻️\n◻️◻️◻️◻️◻️",
"◻️◻️◻️◻️◻️\n◻️◻️◻️◻️◻️\n◻️◻️◻️◻️◻️\n◻️◻️◻️◻️◻️\n◻️◻️◻️◻️◻️",
"◻️◻️◻️◻️◻️\n◻️◼️◻️◼️◻️\n◻️◻️◻️◻️◻️\n◻️◼️◼️◼️◻️\n◻️◻️◻️◻️◻️"
]
for i in animation_ttl:
await asyncio.sleep(animation_interval)
await event.edit(animation_chars[i % 27])
@borg.on(admin_cmd(pattern=f"human$", outgoing=True))
async def _(event):
if event.fwd_from:
return
animation_interval = 0.5
animation_ttl = range(0, 16)
await event.edit("human...")
animation_chars = [
"⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬜⬜⬜⬜⬜⬜⬜\n⬜⬜⬜⬜⬜⬜⬜\n🔲🔲🔲🔲🔲🔲🔲",
"⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛🚗\n⬜⬜⬜⬜⬜⬜⬜\n⬜⬜⬜⬜⬜⬜⬜\n🔲🔲🔲🔲🔲🔲🔲",
"⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛🚗⬛\n⬜⬜⬜⬜⬜⬜⬜\n⬜⬜⬜⬜⬜⬜⬜\n🔲🔲🔲🔲🔲🔲🔲",
"⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛🚗⬛⬛\n⬜⬜⬜⬜⬜⬜⬜\n⬜⬜⬜⬜⬜⬜⬜\n🔲🔲🔲🔲🔲🔲🔲",
"⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛🚗⬛⬛⬛\n⬜⬜⬜⬜⬜⬜⬜\n⬜⬜⬜⬜⬜⬜⬜\n🔲🔲🔲🔲🔲🔲🔲",
"⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛🚗⬛⬛⬛⬛\n⬜⬜⬜⬜⬜⬜⬜\n⬜⬜⬜⬜⬜⬜⬜\n🔲🔲🔲🔲🔲🔲🔲",
"⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛🚗⬛⬛⬛⬛⬛\n⬜⬜⬜⬜⬜⬜⬜\n⬜⬜⬜⬜⬜⬜⬜\n🔲🔲🔲🔲🔲🔲🔲",
"⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n🚗⬛⬛⬛⬛⬛⬛\n⬜⬜⬜⬜⬜⬜⬜\n⬜⬜⬜⬜⬜⬜⬜\n🔲🔲🔲🔲🔲🔲🔲",
"⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬜⬜⬜⬜⬜⬜⬜\n⬜⬜⬜⬜⬜⬜⬜\n🔲🔲🔲🔲🔲🔲🔲",
"⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬜⬜⬜😊⬜⬜⬜\n⬜⬜⬜⬜⬜⬜⬜\n🔲🔲🔲🔲🔲🔲🔲",
"⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛😊⬛⬛⬛\n⬛⬜⬜⬜⬜⬜⬛\n⬛⬛⬛⬜⬛⬛⬛\n⬛⬛⬜⬛⬜⬛⬛\n⬛⬛⬜⬛⬜⬛⬛\n⬛⬛⬜⬛⬜⬛⬛\n🔲🔲🔲🔲🔲🔲🔲",
"⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛😊⬛⬛⬛\n⬛⬜⬜⬜⬜⬜⬛\n⬛⬛⬛⬜⬛⬛⬛\n⬛⬛⬜⬛⬜⬛⬛\n⬛⬛⬜⬛⬛⬜⬛\n⬛⬛⬜⬛⬛⬛⬛\n🔲🔲🔲🔲🔲🔲🔲",
"⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛😊⬛⬛⬛\n⬛⬜⬜⬜⬜⬜⬛\n⬛⬛⬛⬜⬛⬛⬛\n⬛⬛⬜⬛⬜⬛⬛\n⬛⬜⬛⬛⬛⬜⬛\n⬛⬛⬛⬛⬛⬛⬛\n🔲🔲🔲🔲🔲🔲🔲",
"⬛⬛⬛⬛⬛⬛⬛\n⬛⬜⬛😊⬛⬜⬛\n⬛⬛⬜⬜⬜⬛⬛\n⬛⬛⬛⬜⬛⬛⬛\n⬛⬛⬜⬛⬜⬛⬛\n⬛⬜⬛⬛⬛⬜⬛\n⬛⬛⬛⬛⬛⬛⬛\n🔲🔲🔲🔲🔲🔲🔲",
"⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛😊⬛⬛⬛\n⬛⬛⬜⬜⬜⬛⬛\n⬛⬜⬛⬜⬛⬜⬛\n⬛⬛⬜⬛⬜⬛⬛\n⬛⬛⬜⬛⬜⬛⬛\n⬛⬛⬜⬛⬜⬛⬛\n🔲🔲🔲🔲🔲🔲🔲",
"⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛\n⬜⬜⬜😊⬜⬜⬜\n⬜⬜⬜⬜⬜⬜⬜\n🔲🔲🔲🔲🔲🔲🔲"
]
for i in animation_ttl:
await asyncio.sleep(animation_interval)
await event.edit(animation_chars[i % 16])
@borg.on(admin_cmd(pattern=f"mc$", outgoing=True))
async def _(event):
if event.fwd_from:
return
animation_interval = 0.3
animation_ttl = range(0, 28)
await event.edit("mc..")
animation_chars = [
"◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️",
"◻️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️",
"◼️◻️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️",
"◼️◼️◻️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️",
"◼️◼️◼️◻️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️",
"◼️◼️◼️◼️◻️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️",
"◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◻️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️",
"◼️◼️◼️◼️◼️\n◼️◼️◼️◻️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️",
"◼️◼️◼️◼️◼️\n◼️◼️◻️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️",
"◼️◼️◼️◼️◼️\n◼️◻️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️",
"◼️◼️◼️◼️◼️\n◻️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️",
"◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◻️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️",
"◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◻️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️",
"◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◻️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️",
"◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◻️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️",
"◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◻️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️",
"◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◻️\n◼️◼️◼️◼️◼️",
"◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◻️◼️\n◼️◼️◼️◼️◼️",
"◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◻️◼️◼️\n◼️◼️◼️◼️◼️",
"◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◻️◼️◼️◼️\n◼️◼️◼️◼️◼️",
"◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◻️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️",
"◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◻️◼️◼️◼️◼️",
"◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◻️◼️◼️◼️",
"◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◻️◼️◼️",
"◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◻️◼️",
"◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◻️",
"◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️",
"◼️◼️◼️◼️◼️\n◼️◻️◼️◻️◼️\n◼️◼️◼️◼️◼️\n◼️◻️◻️◻️◼️\n◼️◼️◼️◼️◼️"
]
for i in animation_ttl:
await asyncio.sleep(animation_interval)
await event.edit(animation_chars[i % 28])
@borg.on(admin_cmd(pattern="virus$"))
async def _(event):
if event.fwd_from:
return
animation_interval = 1
animation_ttl = range(0, 30)
await event.edit("Injecting virus....")
animation_chars = [
"🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎",
"◼️🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎",
"◼️◼️🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎",
"◼️◼️◼️️🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎",
"◼️◼️◼️◼️🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎",
"◼️◼️◼️◼️◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎",
"◼️◼️◼️◼️◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎",
"◼️◼️◼️◼️◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎",
"◼️◼️◼️◼️◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎",
"◼️◼️◼️◼️◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️",
"◼️◼️◼️◼️◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️◼️",
"◼️◼️◼️◼️◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️◼️◼️",
"◼️◼️◼️◼️◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n🔴🔵🌕♓♎⛎◼️◼️◼️◼️",
"◼️◼️◼️◼️◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n◼️◼️◼️◼️◼️",
"◼️◼️◼️◼️◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n◼️🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n◼️◼️◼️◼️◼️",
"◼️◼️◼️◼️◼️\n🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n◼️🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n◼️🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n◼️◼️◼️◼️◼️",
"◼️◼️◼️◼️◼️\n◼️🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n◼️🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n◼️🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n◼️◼️◼️◼️◼️",
"◼️◼️◼️◼️◼️\n◼️◼️🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n◼️🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n◼️🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n◼️◼️◼️◼️◼️",
"◼️◼️◼️◼️◼️\n◼️◼️◼️🔴🔵🌕♓♎⛎◼️\n◼️🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n◼️🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n◼️◼️◼️◼️◼️",
"◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n◼️🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n◼️◼️◼️◼️◼️",
"◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️◼️\n◼️🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️\n◼️◼️◼️◼️◼️",
"◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️◼️\n◼️🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️◼️\n◼️◼️◼️◼️◼️",
"◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️◼️\n◼️🔴🔵🌕♓♎⛎◼️◼️◼️\n◼️◼️◼️◼️◼️",
"◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️🔴🔵🌕♓♎⛎🔴🔵🌕♓♎⛎◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️",
"◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️🔴🔵🌕♓♎⛎◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️",
"◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️\n◼️◼️◼️◼️◼️",
"◼️◼️◼️◼️\n◼️◼️◼️◼️\n◼️◼️◼️◼️\n◼️◼️◼️◼️",
"◼️◼️◼️\n◼️◼️◼️\n◼️◼️◼️",
"◼️◼️\n◼️◼️",
"◼️"
]
for i in animation_ttl:
await asyncio.sleep(animation_interval)
await event.edit(animation_chars[i % 30])
@borg.on(admin_cmd(pattern=r"repe$", outgoing=True))
async def _(event):
if event.fwd_from:
return
animation_interval = 0.2
animation_ttl = range(0, 30)
await event.edit("repe")
animation_chars = [
"**r**",
"**ra**",
"**rap**",
"**rape**",
"**rape_**",
"**rape_t**",
"**rape_tr**",
"**rape_tra**",
"**rape_trai**",
"**rape_train**",
"**ape_train🚅**",
"**pe_train🚅🚃🚃**",
"**e_train🚅🚃🚃🚃**",
"**_train🚅🚃🚃🚃🚃**",
"**train🚅🚃🚃🚃🚃🚃**",
"**rain🚅🚃🚃🚃🚃🚃🚃**",
"**ain🚅🚃🚃🚃🚃🚃🚃🚃**",
"**in🚅🚃🚃🚃🚃🚃🚃🚃🚃**",
"**n🚅🚃🚃🚃🚃🚃🚃🚃🚃🚃**",
"🚅🚃🚃🚃🚃🚃🚃🚃🚃🚃",
"🚃🚃🚃🚃🚃🚃🚃🚃🚃",
"🚃🚃🚃🚃🚃🚃🚃🚃",
"🚃🚃🚃🚃🚃🚃🚃",
"🚃🚃🚃🚃🚃🚃",
"🚃🚃🚃🚃🚃",
"🚃🚃🚃🚃",
"🚃🚃🚃",
"🚃🚃",
"🚃",
"**rApEd**"
]
for i in animation_ttl:
await asyncio.sleep(animation_interval)
await event.edit(animation_chars[i % 30])
| 55.796209
| 173
| 0.16283
| 1,312
| 11,773
| 6.307165
| 0.118902
| 0.19142
| 0.258852
| 0.204713
| 0.866586
| 0.854502
| 0.808218
| 0.772931
| 0.414622
| 0.412205
| 0
| 0.003592
| 0.196042
| 11,773
| 210
| 174
| 56.061905
| 0.192604
| 0
| 0
| 0.221106
| 0
| 0
| 0.641977
| 0.61004
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.035176
| 0
| 0.060302
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 9
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.