content
stringlengths 1
1.04M
| input_ids
sequencelengths 1
774k
| ratio_char_token
float64 0.38
22.9
| token_count
int64 1
774k
|
---|---|---|---|
import traceback
import urllib2
from mangrove.contrib.deletion import ENTITY_DELETION_FORM_CODE
from mangrove.datastore.database import get_db_manager
from mangrove.form_model.form_model import get_form_model_by_code
from datetime import datetime
from migration.couch.utils import configure_csv, mark_as_completed, should_not_skip
log_file = open('migration_release_6_2.log', 'a')
SERVER = 'http://localhost:5984'
configure_csv('dbs_migrated_release_6_2.csv')
db_names = all_db_names(SERVER)
migrate_story_1924() | [
11748,
12854,
1891,
198,
11748,
2956,
297,
571,
17,
198,
6738,
582,
27333,
303,
13,
3642,
822,
13,
2934,
1616,
295,
1330,
47353,
9050,
62,
7206,
2538,
24131,
62,
21389,
62,
34,
16820,
198,
6738,
582,
27333,
303,
13,
19608,
459,
382,
13,
48806,
1330,
651,
62,
9945,
62,
37153,
198,
6738,
582,
27333,
303,
13,
687,
62,
19849,
13,
687,
62,
19849,
1330,
651,
62,
687,
62,
19849,
62,
1525,
62,
8189,
198,
6738,
4818,
8079,
1330,
4818,
8079,
198,
6738,
13472,
13,
66,
7673,
13,
26791,
1330,
17425,
62,
40664,
11,
1317,
62,
292,
62,
785,
16838,
11,
815,
62,
1662,
62,
48267,
198,
198,
6404,
62,
7753,
796,
1280,
10786,
76,
4254,
62,
20979,
62,
21,
62,
17,
13,
6404,
3256,
705,
64,
11537,
198,
198,
35009,
5959,
796,
705,
4023,
1378,
36750,
25,
3270,
5705,
6,
198,
198,
11250,
495,
62,
40664,
10786,
67,
1443,
62,
76,
38769,
62,
20979,
62,
21,
62,
17,
13,
40664,
11537,
198,
198,
9945,
62,
14933,
796,
477,
62,
9945,
62,
14933,
7,
35009,
5959,
8,
628,
198,
76,
42175,
62,
13571,
62,
1129,
1731,
3419
] | 2.784946 | 186 |
# Copyright 2020 Michael Janschek
#
# 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.
#
# pylint: disable=empty-docstring
"""
"""
import argparse
import os
import gym
import torch
from .environments import EnvSpawner
from .nets import AtariNet
from .tools import Recorder
PARSER = argparse.ArgumentParser(description="PyTorch_SEED_RL")
# basic settings
PARSER.add_argument("name", default="",
help="Experiments name, defaults to environment id.")
PARSER.add_argument('-v', '--verbose',
help='Prints system metrics to command line.' +
'Set --print_interval for number of training epochs between prints.',
action='store_true')
PARSER.add_argument("--total_steps", default=2000, type=int,
help="Total environment steps.")
PARSER.add_argument("--env", type=str, default="BreakoutNoFrameskip-v4",
help="Gym environment.")
PARSER.add_argument('--print_interval', default=10, type=int,
help='Number of training epochs between prints.')
PARSER.add_argument("--savedir", default=os.path.join(os.environ.get("HOME"),
'logs',
'pytorch_seed_rl'),
type=str, help="Root dir where experiment data will be saved.")
PARSER.add_argument('--render',
action='store_true',
help="Renders an episode as gif, " +
" if the recorded data finished with a new point record.")
PARSER.add_argument('--max_gif_length', default=0, type=int,
help="Enforces a maximum gif length." +
"Rendering is triggered, if recorded data reaches this volume.")
PARSER.add_argument('--gpu_ids', default="", type=str,
help='A comma-separated list of cuda ids this program is permitted to use.')
def main(flags):
"""Evaluate a model.
"""
if flags.name == "":
flags.name = flags.env
flags.full_path = os.path.join(flags.savedir, flags.name)
flags.model_path = _get_model_path(flags)
if flags.model_path is None:
return
flags.eval_path = os.path.join(flags.full_path, 'eval')
# create and wrap environment
env_spawner = EnvSpawner(flags.env, 1)
env = env_spawner.spawn()[0]
# model
model = AtariNet(
env_spawner.env_info['observation_space'].shape,
env_spawner.env_info['action_space'].n
)
model.load_state_dict(torch.load(flags.model_path))
model.eval()
recorder = Recorder(save_path=flags.eval_path,
render=flags.render,
max_gif_length=flags.max_gif_length)
_interaction_loop(flags, model, env, recorder)
def _interaction_loop(flags,
model: torch.nn.Module,
env: gym.Env,
recorder: Recorder):
"""Starts interaction loop
Parameters
----------
flags: `namespace`
Flags as read by the argument parser.
model: :py:obj:`torch.nn.Module`
PyTorch model to evaluate.
env: :py:class:`gym.Env`
An environment as spawned by the :py:class:`~EnvSpawner`.
recorded: :py:class:`~Recorder`
A recorder that logs and records data.
"""
# pylint: disable=protected-access
steps = 0
episodes = 0
state = env.initial()
episode_data = {'episode_id': episodes,
'return': 0,
'length': 0
}
while steps < flags.total_steps:
eval_dict = model(state)[0]
state = env.step(eval_dict['action'])
steps += 1
if flags.verbose:
print("STEP: %4d RETURN %4d" % (state['episode_step'],
state['episode_return']))
if flags.render:
# target shape [H, W]
frame = state['frame'][0]
recorder._record_frame(frame, checks=False)
if state['done']:
episodes += 1
recorder.log('episodes', episode_data)
if flags.render:
recorder.record_eps_id = episodes
recorder._record_episode(check_return=False)
episode_data = {'episode_id': episodes,
'return': state['episode_return'],
'length': state['episode_step']
}
if __name__ == '__main__':
FLAGS = PARSER.parse_args()
# every thread gets an own physical thread
os.environ["OMP_NUM_THREADS"] = "1"
if FLAGS.gpu_ids != "":
os.environ["CUDA_VISIBLE_DEVICES"] = FLAGS.gpu_ids
main(FLAGS)
| [
2,
15069,
12131,
3899,
449,
504,
2395,
74,
198,
2,
198,
2,
49962,
739,
262,
24843,
13789,
11,
10628,
362,
13,
15,
357,
1169,
366,
34156,
15341,
198,
2,
345,
743,
407,
779,
428,
2393,
2845,
287,
11846,
351,
262,
13789,
13,
198,
2,
921,
743,
7330,
257,
4866,
286,
262,
13789,
379,
198,
2,
198,
2,
220,
220,
220,
220,
2638,
1378,
2503,
13,
43073,
13,
2398,
14,
677,
4541,
14,
43,
2149,
24290,
12,
17,
13,
15,
198,
2,
198,
2,
17486,
2672,
416,
9723,
1099,
393,
4987,
284,
287,
3597,
11,
3788,
198,
2,
9387,
739,
262,
13789,
318,
9387,
319,
281,
366,
1921,
3180,
1,
29809,
1797,
11,
198,
2,
42881,
34764,
11015,
6375,
7102,
49828,
11053,
3963,
15529,
509,
12115,
11,
2035,
4911,
393,
17142,
13,
198,
2,
4091,
262,
13789,
329,
262,
2176,
3303,
15030,
21627,
290,
198,
2,
11247,
739,
262,
13789,
13,
198,
2,
198,
2,
279,
2645,
600,
25,
15560,
28,
28920,
12,
15390,
8841,
198,
37811,
198,
37811,
198,
11748,
1822,
29572,
198,
11748,
28686,
198,
198,
11748,
11550,
198,
11748,
28034,
198,
198,
6738,
764,
268,
12103,
1330,
2039,
85,
49855,
263,
198,
6738,
764,
45938,
1330,
35884,
7934,
198,
6738,
764,
31391,
1330,
3311,
2875,
198,
198,
27082,
35009,
796,
1822,
29572,
13,
28100,
1713,
46677,
7,
11213,
2625,
20519,
15884,
354,
62,
5188,
1961,
62,
7836,
4943,
198,
198,
2,
4096,
6460,
198,
27082,
35009,
13,
2860,
62,
49140,
7203,
3672,
1600,
4277,
2625,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1037,
2625,
20468,
6800,
1438,
11,
26235,
284,
2858,
4686,
19570,
198,
27082,
35009,
13,
2860,
62,
49140,
10786,
12,
85,
3256,
705,
438,
19011,
577,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1037,
11639,
18557,
82,
1080,
20731,
284,
3141,
1627,
2637,
1343,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
7248,
1377,
4798,
62,
3849,
2100,
329,
1271,
286,
3047,
36835,
82,
1022,
20842,
2637,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2223,
11639,
8095,
62,
7942,
11537,
198,
27082,
35009,
13,
2860,
62,
49140,
7203,
438,
23350,
62,
20214,
1600,
4277,
28,
11024,
11,
2099,
28,
600,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1037,
2625,
14957,
2858,
4831,
19570,
198,
27082,
35009,
13,
2860,
62,
49140,
7203,
438,
24330,
1600,
2099,
28,
2536,
11,
4277,
2625,
31737,
448,
2949,
35439,
74,
541,
12,
85,
19,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1037,
2625,
38,
4948,
2858,
19570,
198,
27082,
35009,
13,
2860,
62,
49140,
10786,
438,
4798,
62,
3849,
2100,
3256,
4277,
28,
940,
11,
2099,
28,
600,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1037,
11639,
15057,
286,
3047,
36835,
82,
1022,
20842,
2637,
8,
198,
27082,
35009,
13,
2860,
62,
49140,
7203,
438,
82,
9586,
343,
1600,
4277,
28,
418,
13,
6978,
13,
22179,
7,
418,
13,
268,
2268,
13,
1136,
7203,
39069,
12340,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6404,
82,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9078,
13165,
354,
62,
28826,
62,
45895,
33809,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2099,
28,
2536,
11,
1037,
2625,
30016,
26672,
810,
6306,
1366,
481,
307,
7448,
19570,
198,
27082,
35009,
13,
2860,
62,
49140,
10786,
438,
13287,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2223,
11639,
8095,
62,
7942,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1037,
2625,
49,
7338,
281,
4471,
355,
9381,
11,
366,
1343,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
611,
262,
6264,
1366,
5201,
351,
257,
649,
966,
1700,
19570,
198,
27082,
35009,
13,
2860,
62,
49140,
10786,
438,
9806,
62,
27908,
62,
13664,
3256,
4277,
28,
15,
11,
2099,
28,
600,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1037,
2625,
4834,
27087,
257,
5415,
9381,
4129,
526,
1343,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
49,
437,
1586,
318,
13973,
11,
611,
6264,
1366,
12229,
428,
6115,
19570,
198,
27082,
35009,
13,
2860,
62,
49140,
10786,
438,
46999,
62,
2340,
3256,
4277,
2625,
1600,
2099,
28,
2536,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1037,
11639,
32,
39650,
12,
25512,
515,
1351,
286,
269,
15339,
220,
2340,
428,
1430,
318,
10431,
284,
779,
2637,
8,
628,
198,
198,
4299,
1388,
7,
33152,
2599,
198,
220,
220,
220,
37227,
36,
2100,
4985,
257,
2746,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
611,
9701,
13,
3672,
6624,
366,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
9701,
13,
3672,
796,
9701,
13,
24330,
628,
220,
220,
220,
9701,
13,
12853,
62,
6978,
796,
28686,
13,
6978,
13,
22179,
7,
33152,
13,
82,
9586,
343,
11,
9701,
13,
3672,
8,
198,
220,
220,
220,
9701,
13,
19849,
62,
6978,
796,
4808,
1136,
62,
19849,
62,
6978,
7,
33152,
8,
198,
220,
220,
220,
611,
9701,
13,
19849,
62,
6978,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
628,
220,
220,
220,
9701,
13,
18206,
62,
6978,
796,
28686,
13,
6978,
13,
22179,
7,
33152,
13,
12853,
62,
6978,
11,
705,
18206,
11537,
628,
220,
220,
220,
1303,
2251,
290,
14441,
2858,
198,
220,
220,
220,
17365,
62,
48183,
263,
796,
2039,
85,
49855,
263,
7,
33152,
13,
24330,
11,
352,
8,
198,
220,
220,
220,
17365,
796,
17365,
62,
48183,
263,
13,
48183,
3419,
58,
15,
60,
628,
220,
220,
220,
1303,
2746,
198,
220,
220,
220,
2746,
796,
35884,
7934,
7,
198,
220,
220,
220,
220,
220,
220,
220,
17365,
62,
48183,
263,
13,
24330,
62,
10951,
17816,
672,
3168,
341,
62,
13200,
6,
4083,
43358,
11,
198,
220,
220,
220,
220,
220,
220,
220,
17365,
62,
48183,
263,
13,
24330,
62,
10951,
17816,
2673,
62,
13200,
6,
4083,
77,
198,
220,
220,
220,
1267,
628,
220,
220,
220,
2746,
13,
2220,
62,
5219,
62,
11600,
7,
13165,
354,
13,
2220,
7,
33152,
13,
19849,
62,
6978,
4008,
198,
220,
220,
220,
2746,
13,
18206,
3419,
628,
220,
220,
220,
38156,
796,
3311,
2875,
7,
21928,
62,
6978,
28,
33152,
13,
18206,
62,
6978,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8543,
28,
33152,
13,
13287,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3509,
62,
27908,
62,
13664,
28,
33152,
13,
9806,
62,
27908,
62,
13664,
8,
628,
220,
220,
220,
4808,
3849,
2673,
62,
26268,
7,
33152,
11,
2746,
11,
17365,
11,
38156,
8,
628,
198,
4299,
4808,
3849,
2673,
62,
26268,
7,
33152,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2746,
25,
28034,
13,
20471,
13,
26796,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17365,
25,
11550,
13,
4834,
85,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
38156,
25,
3311,
2875,
2599,
198,
220,
220,
220,
37227,
1273,
5889,
10375,
9052,
628,
220,
220,
220,
40117,
198,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
9701,
25,
4600,
14933,
10223,
63,
198,
220,
220,
220,
220,
220,
220,
220,
34771,
355,
1100,
416,
262,
4578,
30751,
13,
198,
220,
220,
220,
2746,
25,
1058,
9078,
25,
26801,
25,
63,
13165,
354,
13,
20471,
13,
26796,
63,
198,
220,
220,
220,
220,
220,
220,
220,
9485,
15884,
354,
2746,
284,
13446,
13,
198,
220,
220,
220,
17365,
25,
1058,
9078,
25,
4871,
25,
63,
1360,
76,
13,
4834,
85,
63,
198,
220,
220,
220,
220,
220,
220,
220,
1052,
2858,
355,
29013,
416,
262,
1058,
9078,
25,
4871,
25,
63,
93,
4834,
85,
49855,
263,
44646,
198,
220,
220,
220,
6264,
25,
1058,
9078,
25,
4871,
25,
63,
93,
6690,
2875,
63,
198,
220,
220,
220,
220,
220,
220,
220,
317,
38156,
326,
17259,
290,
4406,
1366,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1303,
279,
2645,
600,
25,
15560,
28,
24326,
12,
15526,
198,
220,
220,
220,
4831,
796,
657,
198,
220,
220,
220,
8640,
796,
657,
198,
220,
220,
220,
1181,
796,
17365,
13,
36733,
3419,
628,
220,
220,
220,
4471,
62,
7890,
796,
1391,
6,
38668,
62,
312,
10354,
8640,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
7783,
10354,
657,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
13664,
10354,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
981,
4831,
1279,
9701,
13,
23350,
62,
20214,
25,
198,
220,
220,
220,
220,
220,
220,
220,
5418,
62,
11600,
796,
2746,
7,
5219,
38381,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
1181,
796,
17365,
13,
9662,
7,
18206,
62,
11600,
17816,
2673,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
4831,
15853,
352,
628,
220,
220,
220,
220,
220,
220,
220,
611,
9701,
13,
19011,
577,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
42135,
25,
4064,
19,
67,
30826,
27064,
4064,
19,
67,
1,
4064,
357,
5219,
17816,
38668,
62,
9662,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1181,
17816,
38668,
62,
7783,
20520,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
611,
9701,
13,
13287,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2496,
5485,
685,
39,
11,
370,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5739,
796,
1181,
17816,
14535,
6,
7131,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
38156,
13557,
22105,
62,
14535,
7,
14535,
11,
8794,
28,
25101,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
1181,
17816,
28060,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8640,
15853,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
38156,
13,
6404,
10786,
538,
8052,
3256,
4471,
62,
7890,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
9701,
13,
13287,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
38156,
13,
22105,
62,
25386,
62,
312,
796,
8640,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
38156,
13557,
22105,
62,
38668,
7,
9122,
62,
7783,
28,
25101,
8,
628,
220,
220,
220,
220,
220,
220,
220,
4471,
62,
7890,
796,
1391,
6,
38668,
62,
312,
10354,
8640,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
7783,
10354,
1181,
17816,
38668,
62,
7783,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
13664,
10354,
1181,
17816,
38668,
62,
9662,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1782,
628,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
9977,
4760,
50,
796,
350,
27415,
1137,
13,
29572,
62,
22046,
3419,
198,
220,
220,
220,
1303,
790,
4704,
3011,
281,
898,
3518,
4704,
198,
220,
220,
220,
28686,
13,
268,
2268,
14692,
2662,
47,
62,
41359,
62,
4221,
15675,
50,
8973,
796,
366,
16,
1,
198,
220,
220,
220,
611,
9977,
4760,
50,
13,
46999,
62,
2340,
14512,
366,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
28686,
13,
268,
2268,
14692,
43633,
5631,
62,
29817,
34563,
62,
39345,
34444,
8973,
796,
9977,
4760,
50,
13,
46999,
62,
2340,
198,
220,
220,
220,
1388,
7,
38948,
50,
8,
198
] | 2.227253 | 2,341 |
# main code that contains the neural network setup
# policy + critic updates
# see ddpg.py for other details in the network
from ddpg import DDPGAgent
import torch.nn.functional as F
import torch
from utilities import soft_update, transpose_to_tensor, transpose_list
import numpy as np
#device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
device = 'cpu'
| [
2,
1388,
2438,
326,
4909,
262,
17019,
3127,
9058,
198,
2,
2450,
1343,
4014,
5992,
198,
2,
766,
49427,
6024,
13,
9078,
329,
584,
3307,
287,
262,
3127,
198,
198,
6738,
49427,
6024,
1330,
360,
6322,
9273,
6783,
198,
11748,
28034,
13,
20471,
13,
45124,
355,
376,
198,
11748,
28034,
198,
6738,
20081,
1330,
2705,
62,
19119,
11,
1007,
3455,
62,
1462,
62,
83,
22854,
11,
1007,
3455,
62,
4868,
198,
11748,
299,
32152,
355,
45941,
198,
2,
25202,
796,
28034,
13,
25202,
7203,
66,
15339,
1,
611,
28034,
13,
66,
15339,
13,
271,
62,
15182,
3419,
2073,
366,
36166,
4943,
198,
25202,
796,
705,
36166,
6,
628,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
628,
628,
198
] | 2.786667 | 150 |
from dataclasses import dataclass
from typing import (
Optional,
)
import pytorch_lightning as pl
from hydra.core.config_store import ConfigStore
from omegaconf import MISSING
from torch.utils.data import DataLoader
from torchaudio.datasets import LibriMix
from torchrecipes.core.conf import DataModuleConf
from torchrecipes.utils.config_utils import (
config_entry,
get_class_config_method,
)
from .test_dataset import TestDataset
from .utils import CollateFn
@dataclass
cs = ConfigStore().instance()
cs.store(
group="schema/datamodule",
name="librimix_datamodule_conf",
node=LibriMixDataModuleConf,
package="datamodule",
)
| [
6738,
4818,
330,
28958,
1330,
4818,
330,
31172,
198,
6738,
19720,
1330,
357,
198,
220,
220,
220,
32233,
11,
198,
8,
198,
198,
11748,
12972,
13165,
354,
62,
2971,
768,
355,
458,
198,
6738,
25039,
13,
7295,
13,
11250,
62,
8095,
1330,
17056,
22658,
198,
6738,
267,
28917,
7807,
69,
1330,
49684,
2751,
198,
6738,
28034,
13,
26791,
13,
7890,
1330,
6060,
17401,
198,
6738,
28034,
24051,
13,
19608,
292,
1039,
1330,
7980,
380,
35608,
198,
6738,
28034,
8344,
18636,
13,
7295,
13,
10414,
1330,
6060,
26796,
18546,
198,
6738,
28034,
8344,
18636,
13,
26791,
13,
11250,
62,
26791,
1330,
357,
198,
220,
220,
220,
4566,
62,
13000,
11,
198,
220,
220,
220,
651,
62,
4871,
62,
11250,
62,
24396,
11,
198,
8,
198,
198,
6738,
764,
9288,
62,
19608,
292,
316,
1330,
6208,
27354,
292,
316,
198,
6738,
764,
26791,
1330,
7778,
378,
37,
77,
628,
198,
198,
31,
19608,
330,
31172,
628,
198,
6359,
796,
17056,
22658,
22446,
39098,
3419,
198,
6359,
13,
8095,
7,
198,
220,
220,
220,
1448,
2625,
15952,
2611,
14,
19608,
321,
375,
2261,
1600,
198,
220,
220,
220,
1438,
2625,
75,
2889,
320,
844,
62,
19608,
321,
375,
2261,
62,
10414,
1600,
198,
220,
220,
220,
10139,
28,
25835,
380,
35608,
6601,
26796,
18546,
11,
198,
220,
220,
220,
5301,
2625,
19608,
321,
375,
2261,
1600,
198,
8,
198
] | 2.920354 | 226 |
from typing import Optional, TypedDict, Union
| [
6738,
19720,
1330,
32233,
11,
17134,
276,
35,
713,
11,
4479,
628,
628,
628
] | 3.642857 | 14 |
import math
# We do a straightforward computation thanks to Python's built-in arbitrary precision integer type.
def problem020():
"""
n! means n × (n − 1) × ... × 3 × 2 × 1
For example, 10! = 10 × 9 × ... × 3 × 2 × 1 = 3628800,
and the sum of the digits in the number 10! is 3 + 6 + 2 + 8 + 8 + 0 + 0 =
27.
Find the sum of the digits in the number 100!
"""
n = math.factorial(100)
ans = sum(int(c) for c in str(n))
return ans
if __name__ == "__main__":
print(problem020())
| [
11748,
10688,
628,
198,
2,
775,
466,
257,
15836,
29964,
5176,
284,
11361,
338,
3170,
12,
259,
14977,
15440,
18253,
2099,
13,
198,
4299,
1917,
33618,
33529,
198,
220,
220,
220,
37227,
628,
198,
220,
220,
220,
299,
0,
1724,
299,
13958,
357,
77,
9746,
352,
8,
13958,
2644,
13958,
513,
13958,
362,
13958,
352,
628,
220,
220,
220,
220,
220,
220,
1114,
1672,
11,
838,
0,
796,
838,
13958,
860,
13958,
2644,
13958,
513,
13958,
362,
13958,
352,
796,
4570,
2078,
7410,
11,
198,
220,
220,
220,
220,
220,
220,
290,
262,
2160,
286,
262,
19561,
287,
262,
1271,
838,
0,
318,
513,
1343,
718,
1343,
362,
1343,
807,
1343,
807,
1343,
657,
1343,
657,
796,
198,
220,
220,
220,
220,
220,
220,
2681,
13,
628,
220,
220,
220,
220,
220,
220,
9938,
262,
2160,
286,
262,
19561,
287,
262,
1271,
1802,
0,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
299,
796,
10688,
13,
22584,
5132,
7,
3064,
8,
198,
220,
220,
220,
9093,
796,
2160,
7,
600,
7,
66,
8,
329,
269,
287,
965,
7,
77,
4008,
198,
220,
220,
220,
1441,
9093,
628,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
3601,
7,
45573,
33618,
28955,
198
] | 2.574163 | 209 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
###############################################################################
# Copyright Kitware Inc. and Contributors
# Distributed under the Apache License, 2.0 (apache.org/licenses/LICENSE-2.0)
# See accompanying Copyright.txt and LICENSE files for details
###############################################################################
from girder_worker.docker.tasks import docker_run
from girder_worker.docker.transforms import VolumePath
from girder_worker.docker.transforms.girder import (
GirderFileIdToVolume,
GirderUploadVolumePathToFolder,
GirderFolderIdToVolume,
)
from .common import (
addJobInfo,
createDockerRunArguments,
createGirderClient,
createUploadMetadata,
)
from ..constants import DockerImage
def runMetrics(
initWorkingSetName,
stepName,
requestInfo,
jobId,
outputFolder,
referenceFolder,
referencePrefix,
dtmFile,
dsmFile,
clsFile,
mtlFile,
):
"""
Run a Girder Worker job to compute metrics on output files.
Requirements:
- Danesfield Docker image is available on host
:param initWorkingSetName: The name of the top-level working set.
:type initWorkingSetName: str
:param stepName: The name of the step.
:type stepName: str (DanesfieldStep)
:param requestInfo: HTTP request and authorization info.
:type requestInfo: RequestInfo
:param jobId: Job ID.
:type jobId: str
:param outputFolder: Output folder document.
:type outputFolder: dict
:param referenceFolder: Reference directory.
:type referenceFolder: dict
:param referencePrefix: Reference file prefix.
:type referencePrefix: str
:param dtmFile: DTM file document.
:type dtmFile: dict
:param dsmFile: DSM file document.
:type dsmFile: dict
:param clsFile: CLS file document.
:type clsFile: dict
:param mtlFile: MTL file document.
:type mtlFile: dict
:returns: Job document.
"""
gc = createGirderClient(requestInfo)
if referencePrefix == "STANDARD":
# We know that there's no reference data with this selection
containerArgs = ["echo", "No ground truth selected for scoring"]
asyncResult = docker_run.delay(
**createDockerRunArguments(
image=DockerImage.DANESFIELD,
containerArgs=containerArgs,
jobTitle="[%s] Run metrics" % initWorkingSetName,
jobType=stepName,
user=requestInfo.user,
)
)
else:
# Otherwise we assume the reference data exists, and try to
# run the metrics
outputVolumePath = VolumePath("__output__")
# Docker container arguments
containerArgs = [
"danesfield/tools/run_metrics.py",
"--output-dir",
outputVolumePath,
"--ref-dir",
GirderFolderIdToVolume(referenceFolder["_id"], gc=gc),
"--ref-prefix",
referencePrefix,
"--dsm",
GirderFileIdToVolume(dsmFile["_id"], gc=gc),
"--cls",
GirderFileIdToVolume(clsFile["_id"], gc=gc),
"--mtl",
GirderFileIdToVolume(mtlFile["_id"], gc=gc),
"--dtm",
GirderFileIdToVolume(dtmFile["_id"], gc=gc),
]
# Result hooks
# - Upload output files to output folder
# - Provide upload metadata
upload_kwargs = createUploadMetadata(jobId, stepName)
resultHooks = [
GirderUploadVolumePathToFolder(
outputVolumePath,
outputFolder["_id"],
upload_kwargs=upload_kwargs,
gc=gc,
)
]
asyncResult = docker_run.delay(
**createDockerRunArguments(
image=DockerImage.DANESFIELD,
containerArgs=containerArgs,
jobTitle="[%s] Run metrics" % initWorkingSetName,
jobType=stepName,
user=requestInfo.user,
resultHooks=resultHooks,
)
)
# Add info for job event listeners
job = asyncResult.job
job = addJobInfo(job, jobId=jobId, stepName=stepName)
return job
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
198,
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
198,
29113,
29113,
7804,
4242,
21017,
198,
2,
15069,
10897,
1574,
3457,
13,
290,
25767,
669,
198,
2,
4307,
6169,
739,
262,
24843,
13789,
11,
362,
13,
15,
357,
43073,
13,
2398,
14,
677,
4541,
14,
43,
2149,
24290,
12,
17,
13,
15,
8,
198,
2,
4091,
19249,
15069,
13,
14116,
290,
38559,
24290,
3696,
329,
3307,
198,
29113,
29113,
7804,
4242,
21017,
198,
198,
6738,
37370,
1082,
62,
28816,
13,
45986,
13,
83,
6791,
1330,
36253,
62,
5143,
198,
6738,
37370,
1082,
62,
28816,
13,
45986,
13,
7645,
23914,
1330,
14701,
15235,
198,
6738,
37370,
1082,
62,
28816,
13,
45986,
13,
7645,
23914,
13,
70,
343,
1082,
1330,
357,
198,
220,
220,
220,
23837,
1082,
8979,
7390,
2514,
31715,
11,
198,
220,
220,
220,
23837,
1082,
41592,
31715,
15235,
2514,
41092,
11,
198,
220,
220,
220,
23837,
1082,
41092,
7390,
2514,
31715,
11,
198,
8,
198,
198,
6738,
764,
11321,
1330,
357,
198,
220,
220,
220,
751,
33308,
12360,
11,
198,
220,
220,
220,
2251,
35,
12721,
10987,
28100,
2886,
11,
198,
220,
220,
220,
2251,
38,
343,
1082,
11792,
11,
198,
220,
220,
220,
2251,
41592,
9171,
14706,
11,
198,
8,
198,
6738,
11485,
9979,
1187,
1330,
25716,
5159,
628,
198,
4299,
1057,
9171,
10466,
7,
198,
220,
220,
220,
2315,
28516,
7248,
5376,
11,
198,
220,
220,
220,
2239,
5376,
11,
198,
220,
220,
220,
2581,
12360,
11,
198,
220,
220,
220,
1693,
7390,
11,
198,
220,
220,
220,
5072,
41092,
11,
198,
220,
220,
220,
4941,
41092,
11,
198,
220,
220,
220,
4941,
36698,
844,
11,
198,
220,
220,
220,
288,
17209,
8979,
11,
198,
220,
220,
220,
288,
5796,
8979,
11,
198,
220,
220,
220,
537,
82,
8979,
11,
198,
220,
220,
220,
285,
28781,
8979,
11,
198,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
5660,
257,
23837,
1082,
35412,
1693,
284,
24061,
20731,
319,
5072,
3696,
13,
628,
220,
220,
220,
24422,
25,
198,
220,
220,
220,
532,
6035,
274,
3245,
25716,
2939,
318,
1695,
319,
2583,
628,
220,
220,
220,
1058,
17143,
2315,
28516,
7248,
5376,
25,
383,
1438,
286,
262,
1353,
12,
5715,
1762,
900,
13,
198,
220,
220,
220,
1058,
4906,
2315,
28516,
7248,
5376,
25,
965,
198,
220,
220,
220,
1058,
17143,
2239,
5376,
25,
383,
1438,
286,
262,
2239,
13,
198,
220,
220,
220,
1058,
4906,
2239,
5376,
25,
965,
357,
35,
7305,
3245,
8600,
8,
198,
220,
220,
220,
1058,
17143,
2581,
12360,
25,
14626,
2581,
290,
19601,
7508,
13,
198,
220,
220,
220,
1058,
4906,
2581,
12360,
25,
19390,
12360,
198,
220,
220,
220,
1058,
17143,
1693,
7390,
25,
15768,
4522,
13,
198,
220,
220,
220,
1058,
4906,
1693,
7390,
25,
965,
198,
220,
220,
220,
1058,
17143,
5072,
41092,
25,
25235,
9483,
3188,
13,
198,
220,
220,
220,
1058,
4906,
5072,
41092,
25,
8633,
198,
220,
220,
220,
1058,
17143,
4941,
41092,
25,
20984,
8619,
13,
198,
220,
220,
220,
1058,
4906,
4941,
41092,
25,
8633,
198,
220,
220,
220,
1058,
17143,
4941,
36698,
844,
25,
20984,
2393,
21231,
13,
198,
220,
220,
220,
1058,
4906,
4941,
36698,
844,
25,
965,
198,
220,
220,
220,
1058,
17143,
288,
17209,
8979,
25,
360,
15972,
2393,
3188,
13,
198,
220,
220,
220,
1058,
4906,
288,
17209,
8979,
25,
8633,
198,
220,
220,
220,
1058,
17143,
288,
5796,
8979,
25,
37297,
2393,
3188,
13,
198,
220,
220,
220,
1058,
4906,
288,
5796,
8979,
25,
8633,
198,
220,
220,
220,
1058,
17143,
537,
82,
8979,
25,
39241,
2393,
3188,
13,
198,
220,
220,
220,
1058,
4906,
537,
82,
8979,
25,
8633,
198,
220,
220,
220,
1058,
17143,
285,
28781,
8979,
25,
337,
14990,
2393,
3188,
13,
198,
220,
220,
220,
1058,
4906,
285,
28781,
8979,
25,
8633,
198,
220,
220,
220,
1058,
7783,
82,
25,
15768,
3188,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
308,
66,
796,
2251,
38,
343,
1082,
11792,
7,
25927,
12360,
8,
628,
220,
220,
220,
611,
4941,
36698,
844,
6624,
366,
2257,
6981,
9795,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
775,
760,
326,
612,
338,
645,
4941,
1366,
351,
428,
6356,
198,
220,
220,
220,
220,
220,
220,
220,
9290,
42035,
796,
14631,
30328,
1600,
366,
2949,
2323,
3872,
6163,
329,
9689,
8973,
628,
220,
220,
220,
220,
220,
220,
220,
30351,
23004,
796,
36253,
62,
5143,
13,
40850,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12429,
17953,
35,
12721,
10987,
28100,
2886,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2939,
28,
35,
12721,
5159,
13,
35,
1565,
1546,
44603,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9290,
42035,
28,
34924,
42035,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1693,
19160,
2625,
58,
4,
82,
60,
5660,
20731,
1,
4064,
2315,
28516,
7248,
5376,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1693,
6030,
28,
9662,
5376,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2836,
28,
25927,
12360,
13,
7220,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
15323,
356,
7048,
262,
4941,
1366,
7160,
11,
290,
1949,
284,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
1057,
262,
20731,
198,
220,
220,
220,
220,
220,
220,
220,
5072,
31715,
15235,
796,
14701,
15235,
7203,
834,
22915,
834,
4943,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
25716,
9290,
7159,
198,
220,
220,
220,
220,
220,
220,
220,
9290,
42035,
796,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
67,
7305,
3245,
14,
31391,
14,
5143,
62,
4164,
10466,
13,
9078,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
438,
22915,
12,
15908,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
31715,
15235,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
438,
5420,
12,
15908,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
23837,
1082,
41092,
7390,
2514,
31715,
7,
35790,
41092,
14692,
62,
312,
33116,
308,
66,
28,
36484,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
438,
5420,
12,
40290,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4941,
36698,
844,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
438,
67,
5796,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
23837,
1082,
8979,
7390,
2514,
31715,
7,
67,
5796,
8979,
14692,
62,
312,
33116,
308,
66,
28,
36484,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
438,
565,
82,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
23837,
1082,
8979,
7390,
2514,
31715,
7,
565,
82,
8979,
14692,
62,
312,
33116,
308,
66,
28,
36484,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
438,
16762,
75,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
23837,
1082,
8979,
7390,
2514,
31715,
7,
16762,
75,
8979,
14692,
62,
312,
33116,
308,
66,
28,
36484,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
438,
67,
17209,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
23837,
1082,
8979,
7390,
2514,
31715,
7,
67,
17209,
8979,
14692,
62,
312,
33116,
308,
66,
28,
36484,
828,
198,
220,
220,
220,
220,
220,
220,
220,
2361,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
25414,
26569,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
532,
36803,
5072,
3696,
284,
5072,
9483,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
532,
44290,
9516,
20150,
198,
220,
220,
220,
220,
220,
220,
220,
9516,
62,
46265,
22046,
796,
2251,
41592,
9171,
14706,
7,
21858,
7390,
11,
2239,
5376,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1255,
39,
31085,
796,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
23837,
1082,
41592,
31715,
15235,
2514,
41092,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
31715,
15235,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
41092,
14692,
62,
312,
33116,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9516,
62,
46265,
22046,
28,
25850,
62,
46265,
22046,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
308,
66,
28,
36484,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2361,
628,
220,
220,
220,
220,
220,
220,
220,
30351,
23004,
796,
36253,
62,
5143,
13,
40850,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12429,
17953,
35,
12721,
10987,
28100,
2886,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2939,
28,
35,
12721,
5159,
13,
35,
1565,
1546,
44603,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9290,
42035,
28,
34924,
42035,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1693,
19160,
2625,
58,
4,
82,
60,
5660,
20731,
1,
4064,
2315,
28516,
7248,
5376,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1693,
6030,
28,
9662,
5376,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2836,
28,
25927,
12360,
13,
7220,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
39,
31085,
28,
20274,
39,
31085,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
220,
220,
220,
1303,
3060,
7508,
329,
1693,
1785,
22054,
198,
220,
220,
220,
1693,
796,
30351,
23004,
13,
21858,
198,
220,
220,
220,
1693,
796,
751,
33308,
12360,
7,
21858,
11,
1693,
7390,
28,
21858,
7390,
11,
2239,
5376,
28,
9662,
5376,
8,
628,
220,
220,
220,
1441,
1693,
198
] | 2.360973 | 1,809 |
# -*- coding: utf-8 -*-
from setuptools import setup
try: # Pour pip >= 10
from pip._internal.req import parse_requirements
except ImportError: # For pip <= 9
from pip.req import parse_requirements
# Based on http://peterdowns.com/posts/first-time-with-pypi.html
__version__ = '0.0.5' # Should match with __init.py__
_NOM_PACKAGE = 'amazonscraper'
_URL_GITHUB = 'https://github.com/tducret/amazon-scraper-python'
_DESCRIPTION = 'Package to search for products on Amazon and extract \
some useful information (title, ratings, number of reviews)'
_MOTS_CLES = ['api', 'amazon', 'python', 'amazonscraper', 'parsing',
'python-wrapper', 'scraping', 'scraper', 'parser']
_SCRIPTS = ['amazon2csv']
# To delete here + 'scripts' dans setup()
# if no command is used in the package
install_reqs = parse_requirements('requirements.txt', session='hack')
requirements = [str(ir.req) for ir in install_reqs]
setup(
name=_NOM_PACKAGE,
packages=[_NOM_PACKAGE],
package_data={},
scripts=_SCRIPTS,
version=__version__,
license='MIT',
platforms='Posix; MacOS X',
description=_DESCRIPTION,
long_description=_DESCRIPTION,
author='Thibault Ducret',
author_email='[email protected]',
url=_URL_GITHUB,
download_url='%s/tarball/%s' % (_URL_GITHUB, __version__),
keywords=_MOTS_CLES,
setup_requires=requirements,
install_requires=requirements,
classifiers=['Programming Language :: Python :: 3'],
python_requires='>=3',
tests_require=['pytest'],
)
# ------------------------------------------
# To upload a new version on pypi
# ------------------------------------------
# Make sure everything was pushed (with a git status)
# (or git commit --am "Comment" and git push)
# git tag VERSION -m "Comment"
# git push --tags
# Do a generation test on the pypi test repository
# python3 setup.py sdist register -r pypitest
# Upload test of the package on the pypi test repository
# python3 setup.py sdist upload -r pypitest
# Upload of the package on the official pypi repository
# python3 setup.py sdist upload -r pypi
# If you need to delete a tag
# git push --delete origin VERSION
# git tag -d VERSION
| [
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
6738,
900,
37623,
10141,
1330,
9058,
198,
28311,
25,
220,
1303,
39128,
7347,
18189,
838,
198,
220,
220,
220,
422,
7347,
13557,
32538,
13,
42180,
1330,
21136,
62,
8897,
18883,
198,
16341,
17267,
12331,
25,
220,
1303,
1114,
7347,
19841,
860,
198,
220,
220,
220,
422,
7347,
13,
42180,
1330,
21136,
62,
8897,
18883,
198,
198,
2,
13403,
319,
2638,
1378,
79,
2357,
30371,
13,
785,
14,
24875,
14,
11085,
12,
2435,
12,
4480,
12,
79,
4464,
72,
13,
6494,
198,
198,
834,
9641,
834,
796,
705,
15,
13,
15,
13,
20,
6,
220,
1303,
10358,
2872,
351,
11593,
15003,
13,
9078,
834,
198,
62,
45,
2662,
62,
47,
8120,
11879,
796,
705,
45983,
684,
66,
38545,
6,
198,
62,
21886,
62,
38,
10554,
10526,
796,
705,
5450,
1378,
12567,
13,
785,
14,
83,
6077,
1186,
14,
33103,
12,
1416,
38545,
12,
29412,
6,
198,
62,
30910,
40165,
796,
705,
27813,
284,
2989,
329,
3186,
319,
6186,
290,
7925,
3467,
198,
11246,
4465,
1321,
357,
7839,
11,
10109,
11,
1271,
286,
8088,
33047,
198,
62,
44,
33472,
62,
5097,
1546,
796,
37250,
15042,
3256,
705,
33103,
3256,
705,
29412,
3256,
705,
45983,
684,
66,
38545,
3256,
705,
79,
945,
278,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
29412,
12,
48553,
3256,
705,
1416,
2416,
278,
3256,
705,
1416,
38545,
3256,
705,
48610,
20520,
198,
62,
6173,
32618,
4694,
796,
37250,
33103,
17,
40664,
20520,
198,
2,
1675,
12233,
994,
1343,
705,
46521,
6,
288,
504,
9058,
3419,
198,
2,
611,
645,
3141,
318,
973,
287,
262,
5301,
198,
198,
17350,
62,
42180,
82,
796,
21136,
62,
8897,
18883,
10786,
8897,
18883,
13,
14116,
3256,
6246,
11639,
31153,
11537,
198,
8897,
18883,
796,
685,
2536,
7,
343,
13,
42180,
8,
329,
4173,
287,
2721,
62,
42180,
82,
60,
198,
198,
40406,
7,
198,
220,
220,
220,
1438,
28,
62,
45,
2662,
62,
47,
8120,
11879,
11,
198,
220,
220,
220,
10392,
28,
29795,
45,
2662,
62,
47,
8120,
11879,
4357,
198,
220,
220,
220,
5301,
62,
7890,
34758,
5512,
198,
220,
220,
220,
14750,
28,
62,
6173,
32618,
4694,
11,
198,
220,
220,
220,
2196,
28,
834,
9641,
834,
11,
198,
220,
220,
220,
5964,
11639,
36393,
3256,
198,
220,
220,
220,
9554,
11639,
21604,
844,
26,
4100,
2640,
1395,
3256,
198,
220,
220,
220,
6764,
28,
62,
30910,
40165,
11,
198,
220,
220,
220,
890,
62,
11213,
28,
62,
30910,
40165,
11,
198,
220,
220,
220,
1772,
11639,
817,
571,
1721,
24165,
1186,
3256,
198,
220,
220,
220,
1772,
62,
12888,
11639,
400,
571,
1721,
13,
6077,
1186,
31,
14816,
13,
785,
3256,
198,
220,
220,
220,
19016,
28,
62,
21886,
62,
38,
10554,
10526,
11,
198,
220,
220,
220,
4321,
62,
6371,
11639,
4,
82,
14,
18870,
1894,
14,
4,
82,
6,
4064,
44104,
21886,
62,
38,
10554,
10526,
11,
11593,
9641,
834,
828,
198,
220,
220,
220,
26286,
28,
62,
44,
33472,
62,
5097,
1546,
11,
198,
220,
220,
220,
9058,
62,
47911,
28,
8897,
18883,
11,
198,
220,
220,
220,
2721,
62,
47911,
28,
8897,
18883,
11,
198,
220,
220,
220,
1398,
13350,
28,
17816,
15167,
2229,
15417,
7904,
11361,
7904,
513,
6,
4357,
198,
220,
220,
220,
21015,
62,
47911,
11639,
29,
28,
18,
3256,
198,
220,
220,
220,
5254,
62,
46115,
28,
17816,
9078,
9288,
6,
4357,
198,
8,
198,
198,
2,
20368,
35937,
198,
2,
1675,
9516,
257,
649,
2196,
319,
279,
4464,
72,
198,
2,
20368,
35937,
198,
2,
6889,
1654,
2279,
373,
7121,
357,
4480,
257,
17606,
3722,
8,
198,
2,
357,
273,
17606,
4589,
1377,
321,
366,
21357,
1,
290,
17606,
4574,
8,
198,
2,
17606,
7621,
44156,
2849,
532,
76,
366,
21357,
1,
198,
2,
17606,
4574,
1377,
31499,
198,
198,
2,
2141,
257,
5270,
1332,
319,
262,
279,
4464,
72,
1332,
16099,
198,
2,
21015,
18,
9058,
13,
9078,
264,
17080,
7881,
532,
81,
279,
4464,
270,
395,
198,
198,
2,
36803,
1332,
286,
262,
5301,
319,
262,
279,
4464,
72,
1332,
16099,
198,
2,
21015,
18,
9058,
13,
9078,
264,
17080,
9516,
532,
81,
279,
4464,
270,
395,
198,
198,
2,
36803,
286,
262,
5301,
319,
262,
1743,
279,
4464,
72,
16099,
198,
2,
21015,
18,
9058,
13,
9078,
264,
17080,
9516,
532,
81,
279,
4464,
72,
198,
198,
2,
1002,
345,
761,
284,
12233,
257,
7621,
198,
2,
17606,
4574,
1377,
33678,
8159,
44156,
2849,
198,
2,
17606,
7621,
532,
67,
44156,
2849,
198
] | 2.885526 | 760 |
"""
Test profiles app
"""
from django.urls import reverse
from authors.apps.profiles.tests.test_base import BaseTestCase
from .test_data import (new_user, update_profile)
class TestProfile(BaseTestCase):
"""Handles tests for the user profile feature/app"""
def test_get_user_profile(self):
"""This test checks to see that a specific profile can be retrived"""
self.register_user(new_user)
url = reverse('profiles:get_profile', kwargs={'username': 'testuser12'})
response = self.client.get(url)
self.assertEquals(response.status_code, 200)
def test_non_existant_profile(self):
"""Tests for a non existant profile"""
url = reverse('profiles:get_profile', kwargs={'username': 'testuser12'})
response = self.client.get(url)
self.assertEquals(response.status_code, 400)
def test_update_user_profile(self):
"""Tests updating user profile"""
self.authorize_user()
url = reverse('profiles:update_profile', kwargs={'username': 'testuser12'})
response = self.client.put(url, update_profile, format='json')
self.assertEqual(response.status_code, 200)
def test_list_all_users_profiles(self):
"""Tests retriving all profiles"""
self.authorize_user()
url = reverse('profiles:users_profiles')
response = self.client.get(url)
self.assertEquals(response.status_code, 200)
def test_incorrect_user_update_profile(self):
"""Test user trying to update another users profile"""
self.create_user()
url = reverse('profiles:update_profile', kwargs={'username': 'testuser12'})
response = self.client.put(url, update_profile, format='json')
self.assertEquals(response.status_code, 403)
def test_authorized_get_authors_list(self):
"""Test an authorised user getting authors list showing profiles of existing authors """
self.authorize_user()
url = reverse('profiles:authors_list')
response = self.client.get(url)
self.assertEquals(response.status_code, 200)
def test_unauthorized_get_authors_list(self):
"""Test an unauthorised user getting authors list showing profiles of existing authors """
url = reverse('profiles:authors_list')
response = self.client.get(url)
self.assertEquals(response.status_code, 403)
def test_authorized_user_using_wrong_request_method_to_get_authors_list(self):
"""Test authorized user getting authors list using wrong request method"""
self.authorize_user()
url = reverse('profiles:authors_list')
response = self.client.post(url)
self.assertEquals(response.status_code, 405)
def test_unauthorized_user_using_wrong_request_method_to_get_authors_list(self):
"""Test unauthorized user getting authors list using wrong request method"""
url = reverse('profiles:authors_list')
response = self.client.post(url)
self.assertEquals(response.status_code, 403)
def test_correct_authors_list_data_is_returned(self):
"""Test the correct data that is returned in the authors list"""
self.authorize_user()
url = reverse('profiles:authors_list')
response = self.client.get(url)
self.assertEquals(response.data[0]['email'], '[email protected]')
self.assertEquals(response.data[0]['username'], 'testuser12')
self.assertIn('email', response.data[0]['profile'])
self.assertIn('username', response.data[0]['profile'])
self.assertIn('image', response.data[0]['profile'])
self.assertIn('bio', response.data[0]['profile'])
self.assertEquals(response.status_code, 200)
| [
37811,
198,
14402,
16545,
598,
198,
37811,
198,
6738,
42625,
14208,
13,
6371,
82,
1330,
9575,
198,
198,
6738,
7035,
13,
18211,
13,
5577,
2915,
13,
41989,
13,
9288,
62,
8692,
1330,
7308,
14402,
20448,
198,
198,
6738,
764,
9288,
62,
7890,
1330,
357,
3605,
62,
7220,
11,
4296,
62,
13317,
8,
628,
198,
4871,
6208,
37046,
7,
14881,
14402,
20448,
2599,
198,
220,
220,
220,
37227,
12885,
829,
5254,
329,
262,
2836,
7034,
3895,
14,
1324,
37811,
628,
220,
220,
220,
825,
1332,
62,
1136,
62,
7220,
62,
13317,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
1212,
1332,
8794,
284,
766,
326,
257,
2176,
7034,
460,
307,
1005,
36207,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30238,
62,
7220,
7,
3605,
62,
7220,
8,
198,
220,
220,
220,
220,
220,
220,
220,
19016,
796,
9575,
10786,
5577,
2915,
25,
1136,
62,
13317,
3256,
479,
86,
22046,
34758,
6,
29460,
10354,
705,
9288,
7220,
1065,
6,
30072,
198,
220,
220,
220,
220,
220,
220,
220,
2882,
796,
2116,
13,
16366,
13,
1136,
7,
6371,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
23588,
874,
7,
26209,
13,
13376,
62,
8189,
11,
939,
8,
628,
220,
220,
220,
825,
1332,
62,
13159,
62,
1069,
10167,
62,
13317,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
51,
3558,
329,
257,
1729,
2152,
415,
7034,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
19016,
796,
9575,
10786,
5577,
2915,
25,
1136,
62,
13317,
3256,
479,
86,
22046,
34758,
6,
29460,
10354,
705,
9288,
7220,
1065,
6,
30072,
198,
220,
220,
220,
220,
220,
220,
220,
2882,
796,
2116,
13,
16366,
13,
1136,
7,
6371,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
23588,
874,
7,
26209,
13,
13376,
62,
8189,
11,
7337,
8,
628,
220,
220,
220,
825,
1332,
62,
19119,
62,
7220,
62,
13317,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
51,
3558,
19698,
2836,
7034,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
9800,
1096,
62,
7220,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
19016,
796,
9575,
10786,
5577,
2915,
25,
19119,
62,
13317,
3256,
479,
86,
22046,
34758,
6,
29460,
10354,
705,
9288,
7220,
1065,
6,
30072,
198,
220,
220,
220,
220,
220,
220,
220,
2882,
796,
2116,
13,
16366,
13,
1996,
7,
6371,
11,
4296,
62,
13317,
11,
5794,
11639,
17752,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
26209,
13,
13376,
62,
8189,
11,
939,
8,
628,
220,
220,
220,
825,
1332,
62,
4868,
62,
439,
62,
18417,
62,
5577,
2915,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
51,
3558,
37715,
1075,
477,
16545,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
9800,
1096,
62,
7220,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
19016,
796,
9575,
10786,
5577,
2915,
25,
18417,
62,
5577,
2915,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2882,
796,
2116,
13,
16366,
13,
1136,
7,
6371,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
23588,
874,
7,
26209,
13,
13376,
62,
8189,
11,
939,
8,
628,
220,
220,
220,
825,
1332,
62,
1939,
47315,
62,
7220,
62,
19119,
62,
13317,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
2836,
2111,
284,
4296,
1194,
2985,
7034,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
17953,
62,
7220,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
19016,
796,
9575,
10786,
5577,
2915,
25,
19119,
62,
13317,
3256,
479,
86,
22046,
34758,
6,
29460,
10354,
705,
9288,
7220,
1065,
6,
30072,
198,
220,
220,
220,
220,
220,
220,
220,
2882,
796,
2116,
13,
16366,
13,
1996,
7,
6371,
11,
4296,
62,
13317,
11,
5794,
11639,
17752,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
23588,
874,
7,
26209,
13,
13376,
62,
8189,
11,
38210,
8,
628,
220,
220,
220,
825,
1332,
62,
19721,
62,
1136,
62,
41617,
62,
4868,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
281,
39019,
2836,
1972,
7035,
1351,
4478,
16545,
286,
4683,
7035,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
9800,
1096,
62,
7220,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
19016,
796,
9575,
10786,
5577,
2915,
25,
41617,
62,
4868,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2882,
796,
2116,
13,
16366,
13,
1136,
7,
6371,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
23588,
874,
7,
26209,
13,
13376,
62,
8189,
11,
939,
8,
628,
220,
220,
220,
825,
1332,
62,
9613,
1457,
1143,
62,
1136,
62,
41617,
62,
4868,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
281,
555,
9800,
1417,
2836,
1972,
7035,
1351,
4478,
16545,
286,
4683,
7035,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
19016,
796,
9575,
10786,
5577,
2915,
25,
41617,
62,
4868,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2882,
796,
2116,
13,
16366,
13,
1136,
7,
6371,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
23588,
874,
7,
26209,
13,
13376,
62,
8189,
11,
38210,
8,
628,
220,
220,
220,
825,
1332,
62,
19721,
62,
7220,
62,
3500,
62,
36460,
62,
25927,
62,
24396,
62,
1462,
62,
1136,
62,
41617,
62,
4868,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
10435,
2836,
1972,
7035,
1351,
1262,
2642,
2581,
2446,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
9800,
1096,
62,
7220,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
19016,
796,
9575,
10786,
5577,
2915,
25,
41617,
62,
4868,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2882,
796,
2116,
13,
16366,
13,
7353,
7,
6371,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
23588,
874,
7,
26209,
13,
13376,
62,
8189,
11,
36966,
8,
628,
220,
220,
220,
825,
1332,
62,
9613,
1457,
1143,
62,
7220,
62,
3500,
62,
36460,
62,
25927,
62,
24396,
62,
1462,
62,
1136,
62,
41617,
62,
4868,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
22959,
2836,
1972,
7035,
1351,
1262,
2642,
2581,
2446,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
19016,
796,
9575,
10786,
5577,
2915,
25,
41617,
62,
4868,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2882,
796,
2116,
13,
16366,
13,
7353,
7,
6371,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
23588,
874,
7,
26209,
13,
13376,
62,
8189,
11,
38210,
8,
628,
220,
220,
220,
825,
1332,
62,
30283,
62,
41617,
62,
4868,
62,
7890,
62,
271,
62,
7783,
276,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
262,
3376,
1366,
326,
318,
4504,
287,
262,
7035,
1351,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
9800,
1096,
62,
7220,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
19016,
796,
9575,
10786,
5577,
2915,
25,
41617,
62,
4868,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2882,
796,
2116,
13,
16366,
13,
1136,
7,
6371,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
23588,
874,
7,
26209,
13,
7890,
58,
15,
7131,
6,
12888,
6,
4357,
705,
9288,
7220,
31,
14816,
13,
785,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
23588,
874,
7,
26209,
13,
7890,
58,
15,
7131,
6,
29460,
6,
4357,
705,
9288,
7220,
1065,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
818,
10786,
12888,
3256,
2882,
13,
7890,
58,
15,
7131,
6,
13317,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
818,
10786,
29460,
3256,
2882,
13,
7890,
58,
15,
7131,
6,
13317,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
818,
10786,
9060,
3256,
2882,
13,
7890,
58,
15,
7131,
6,
13317,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
818,
10786,
65,
952,
3256,
2882,
13,
7890,
58,
15,
7131,
6,
13317,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
23588,
874,
7,
26209,
13,
13376,
62,
8189,
11,
939,
8,
198
] | 2.655271 | 1,404 |
"""
Given an array A of non-negative integers, half of the integers in A are
odd, and half of the integers are even.
Sort the array so that whenever A[i] is odd, i is odd; and whenever A[i]
is even, i is even.
You may return any answer array that satisfies this condition.
Example:
Input: [4,2,5,7]
Output: [4,5,2,7]
Explanation: [4,7,2,5], [2,5,4,7], [2,7,4,5] would also have been accepted.
Note:
1. 2 <= A.length <= 20000
2. A.length % 2 == 0
3. 0 <= A[i] <= 1000
"""
#Difficulty: Easy
#61 / 61 test cases passed.
#Runtime: 212 ms
#Memory Usage: 16.4 MB
#Runtime: 212 ms, faster than 92.97% of Python3 online submissions for Sort Array By Parity II.
#Memory Usage: 16.4 MB, less than 39.20% of Python3 online submissions for Sort Array By Parity II.
| [
37811,
198,
220,
220,
220,
11259,
281,
7177,
317,
286,
1729,
12,
31591,
37014,
11,
2063,
286,
262,
37014,
287,
317,
389,
220,
198,
220,
220,
220,
5629,
11,
290,
2063,
286,
262,
37014,
389,
772,
13,
198,
220,
220,
220,
33947,
262,
7177,
523,
326,
8797,
317,
58,
72,
60,
318,
5629,
11,
1312,
318,
5629,
26,
290,
8797,
317,
58,
72,
60,
220,
198,
220,
220,
220,
318,
772,
11,
1312,
318,
772,
13,
198,
220,
220,
220,
921,
743,
1441,
597,
3280,
7177,
326,
45104,
428,
4006,
13,
628,
220,
220,
220,
17934,
25,
198,
220,
220,
220,
23412,
25,
685,
19,
11,
17,
11,
20,
11,
22,
60,
198,
220,
220,
220,
25235,
25,
685,
19,
11,
20,
11,
17,
11,
22,
60,
198,
220,
220,
220,
50125,
341,
25,
685,
19,
11,
22,
11,
17,
11,
20,
4357,
685,
17,
11,
20,
11,
19,
11,
22,
4357,
685,
17,
11,
22,
11,
19,
11,
20,
60,
561,
635,
423,
587,
6292,
13,
628,
220,
220,
220,
5740,
25,
198,
220,
220,
220,
220,
220,
220,
220,
352,
13,
362,
19841,
317,
13,
13664,
19841,
939,
405,
198,
220,
220,
220,
220,
220,
220,
220,
362,
13,
317,
13,
13664,
4064,
362,
6624,
657,
198,
220,
220,
220,
220,
220,
220,
220,
513,
13,
657,
19841,
317,
58,
72,
60,
19841,
8576,
198,
37811,
198,
2,
28813,
22402,
25,
16789,
198,
2,
5333,
1220,
8454,
1332,
2663,
3804,
13,
198,
2,
41006,
25,
23679,
13845,
198,
2,
30871,
29566,
25,
1467,
13,
19,
10771,
198,
198,
2,
41006,
25,
23679,
13845,
11,
5443,
621,
10190,
13,
5607,
4,
286,
11361,
18,
2691,
22129,
329,
33947,
15690,
2750,
2547,
414,
2873,
13,
198,
2,
30871,
29566,
25,
1467,
13,
19,
10771,
11,
1342,
621,
5014,
13,
1238,
4,
286,
11361,
18,
2691,
22129,
329,
33947,
15690,
2750,
2547,
414,
2873,
13,
198
] | 2.609524 | 315 |
import mysql.connector
mydb = mysql.connector.connect(
host="localhost",
user="root",
passwd="root",
auth_plugin='mysql_native_password',
database='project'
)
print(mydb)
mycursor = mydb.cursor()
thisdict = {
"brand": 6,
"model": 8,
"year": 10
}
print(thisdict)
for i in thisdict.items():
word = i[0]
count = i[1]
sql = "INSERT INTO project (word, count) VALUES (%s, %s)"
val = (word,count)
mycursor.execute(sql, val)
mydb.commit()
print(mycursor.rowcount, "record inserted.")
| [
11748,
48761,
13,
8443,
273,
201,
198,
201,
198,
1820,
9945,
796,
48761,
13,
8443,
273,
13,
8443,
7,
201,
198,
220,
2583,
2625,
36750,
1600,
201,
198,
220,
2836,
2625,
15763,
1600,
201,
198,
220,
1208,
16993,
2625,
15763,
1600,
201,
198,
220,
6284,
62,
33803,
11639,
28744,
13976,
62,
30191,
62,
28712,
3256,
201,
198,
220,
6831,
11639,
16302,
6,
201,
198,
8,
201,
198,
201,
198,
4798,
7,
1820,
9945,
8,
201,
198,
201,
198,
1820,
66,
21471,
796,
616,
9945,
13,
66,
21471,
3419,
201,
198,
201,
198,
5661,
11600,
796,
1391,
201,
198,
220,
366,
17938,
1298,
718,
11,
201,
198,
220,
366,
19849,
1298,
807,
11,
201,
198,
220,
366,
1941,
1298,
838,
201,
198,
92,
201,
198,
4798,
7,
5661,
11600,
8,
201,
198,
201,
198,
1640,
1312,
287,
428,
11600,
13,
23814,
33529,
201,
198,
220,
220,
220,
1573,
796,
1312,
58,
15,
60,
201,
198,
220,
220,
220,
954,
796,
1312,
58,
16,
60,
201,
198,
220,
220,
220,
44161,
796,
366,
20913,
17395,
39319,
1628,
357,
4775,
11,
954,
8,
26173,
35409,
37633,
82,
11,
4064,
82,
16725,
201,
198,
220,
220,
220,
1188,
796,
357,
4775,
11,
9127,
8,
201,
198,
220,
220,
220,
616,
66,
21471,
13,
41049,
7,
25410,
11,
1188,
8,
201,
198,
201,
198,
1820,
9945,
13,
41509,
3419,
201,
198,
201,
198,
4798,
7,
1820,
66,
21471,
13,
808,
9127,
11,
366,
22105,
18846,
19570,
201,
198
] | 2.26749 | 243 |
import mechanize
if __name__=="__main__":
main() | [
11748,
3962,
1096,
198,
220,
220,
220,
220,
198,
361,
11593,
3672,
834,
855,
1,
834,
12417,
834,
1298,
198,
220,
220,
220,
1388,
3419
] | 2.28 | 25 |
# -*- coding: utf-8 -*-
## STOLEN from libmagic man page
MAGIC_NONE = 0x000000 # No flags
MAGIC_DEBUG = 0x000001 # Turn on debugging
MAGIC_SYMLINK = 0x000002 # Follow symlinks
MAGIC_COMPRESS = 0x000004 # Check inside compressed files
MAGIC_DEVICES = 0x000008 # Look at the contents of devices
MAGIC_MIME = 0x000010 # Return a mime string
MAGIC_MIME_ENCODING = 0x000400 # Return the MIME encoding
MAGIC_CONTINUE = 0x000020 # Return all matches
MAGIC_CHECK = 0x000040 # Print warnings to stderr
MAGIC_PRESERVE_ATIME = 0x000080 # Restore access time on exit
MAGIC_RAW = 0x000100 # Don't translate unprintable chars
MAGIC_ERROR = 0x000200 # Handle ENOENT etc as real errors
MAGIC_NO_CHECK_COMPRESS = 0x001000 # Don't check for compressed files
MAGIC_NO_CHECK_TAR = 0x002000 # Don't check for tar files
MAGIC_NO_CHECK_SOFT = 0x004000 # Don't check magic entries
MAGIC_NO_CHECK_APPTYPE = 0x008000 # Don't check application type
MAGIC_NO_CHECK_ELF = 0x010000 # Don't check for elf details
MAGIC_NO_CHECK_ASCII = 0x020000 # Don't check for ascii files
MAGIC_NO_CHECK_TROFF = 0x040000 # Don't check ascii/troff
MAGIC_NO_CHECK_FORTRAN = 0x080000 # Don't check ascii/fortran
MAGIC_NO_CHECK_TOKENS = 0x100000 # Don't check ascii/tokens
| [
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
2235,
3563,
3535,
1677,
422,
9195,
32707,
582,
2443,
198,
198,
45820,
2149,
62,
45,
11651,
796,
657,
87,
10535,
1303,
1400,
9701,
198,
198,
45820,
2149,
62,
30531,
796,
657,
87,
2388,
486,
1303,
6756,
319,
28769,
198,
198,
45820,
2149,
62,
23060,
5805,
17248,
796,
657,
87,
20483,
17,
1303,
7281,
5659,
28751,
198,
198,
45820,
2149,
62,
9858,
32761,
796,
657,
87,
20483,
19,
1303,
6822,
2641,
25388,
3696,
198,
198,
45820,
2149,
62,
39345,
34444,
796,
657,
87,
20483,
23,
1303,
6803,
379,
262,
10154,
286,
4410,
198,
198,
45820,
2149,
62,
44,
12789,
796,
657,
87,
2388,
940,
1303,
8229,
257,
285,
524,
4731,
198,
198,
45820,
2149,
62,
44,
12789,
62,
24181,
3727,
2751,
796,
657,
87,
830,
7029,
1303,
8229,
262,
337,
12789,
21004,
198,
198,
45820,
2149,
62,
37815,
1268,
8924,
796,
657,
87,
2388,
1238,
1303,
8229,
477,
7466,
198,
198,
45820,
2149,
62,
50084,
796,
657,
87,
2388,
1821,
1303,
12578,
14601,
284,
336,
1082,
81,
198,
198,
45820,
2149,
62,
48296,
1137,
6089,
62,
1404,
12789,
796,
657,
87,
2388,
1795,
1303,
42019,
1895,
640,
319,
8420,
198,
198,
45820,
2149,
62,
20530,
796,
657,
87,
18005,
405,
1303,
2094,
470,
15772,
555,
4798,
540,
34534,
198,
198,
45820,
2149,
62,
24908,
796,
657,
87,
830,
2167,
1303,
33141,
12964,
46,
3525,
3503,
355,
1103,
8563,
198,
198,
45820,
2149,
62,
15285,
62,
50084,
62,
9858,
32761,
796,
657,
87,
8298,
830,
1303,
2094,
470,
2198,
329,
25388,
3696,
198,
198,
45820,
2149,
62,
15285,
62,
50084,
62,
51,
1503,
796,
657,
87,
405,
11024,
1303,
2094,
470,
2198,
329,
13422,
3696,
198,
198,
45820,
2149,
62,
15285,
62,
50084,
62,
15821,
9792,
796,
657,
87,
22914,
830,
1303,
2094,
470,
2198,
5536,
12784,
198,
198,
45820,
2149,
62,
15285,
62,
50084,
62,
24805,
25216,
796,
657,
87,
25257,
830,
1303,
2094,
470,
2198,
3586,
2099,
198,
198,
45820,
2149,
62,
15285,
62,
50084,
62,
37738,
796,
657,
87,
486,
2388,
1303,
2094,
470,
2198,
329,
23878,
3307,
198,
198,
45820,
2149,
62,
15285,
62,
50084,
62,
42643,
3978,
796,
657,
87,
44613,
405,
1303,
2094,
470,
2198,
329,
355,
979,
72,
3696,
198,
198,
45820,
2149,
62,
15285,
62,
50084,
62,
5446,
27977,
796,
657,
87,
3023,
2388,
1303,
2094,
470,
2198,
355,
979,
72,
14,
23528,
487,
198,
198,
45820,
2149,
62,
15285,
62,
50084,
62,
13775,
5446,
1565,
796,
657,
87,
2919,
2388,
1303,
2094,
470,
2198,
355,
979,
72,
14,
3319,
2596,
198,
198,
45820,
2149,
62,
15285,
62,
50084,
62,
10468,
42,
16938,
796,
657,
87,
3064,
830,
1303,
2094,
470,
2198,
355,
979,
72,
14,
83,
482,
641,
198
] | 2.706522 | 460 |
import os
import time
import logging
import sys
from threading import Thread
from youtube_transcript_api import YouTubeTranscriptApi
from yt_concate.pipeline.steps.step import Step
| [
11748,
28686,
198,
11748,
640,
198,
11748,
18931,
198,
11748,
25064,
198,
198,
6738,
4704,
278,
1330,
14122,
198,
6738,
35116,
62,
7645,
6519,
62,
15042,
1330,
7444,
8291,
6519,
32,
14415,
198,
6738,
331,
83,
62,
1102,
66,
378,
13,
79,
541,
4470,
13,
20214,
13,
9662,
1330,
5012,
628
] | 3.588235 | 51 |
import unittest
from aws_cdk_test_synth.test_synth import TestSynth
if __name__ == '__main__':
unittest.main()
| [
11748,
555,
715,
395,
198,
6738,
3253,
82,
62,
10210,
74,
62,
9288,
62,
28869,
400,
13,
9288,
62,
28869,
400,
1330,
6208,
29934,
400,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
555,
715,
395,
13,
12417,
3419,
198
] | 2.416667 | 48 |
#! -*- encoding: utf-8 -*-
"""
Some simple helper scripts to aid in distributed job management.
"""
from multiprocessing import Process
from itertools import islice, product, izip_longest
import sqlite3
import datetime
import sys
import time
import numpy as np
#dbname = 'fullsupport_temp.db'
#conn = sqlite3.connect(dbname)
#c = conn.cursor()
#c.execute("""
# CREATE TABLE IF NOT EXISTS machines (n int, k int, id int);
#""")
FREE, RESERVED, BUSY, DONE = 'free', 'reserved', 'busy', 'done'
# https://docs.python.org/2/library/itertools.html#recipes
def grouper(iterable, n, fillvalue=None):
"Collect data into fixed-length chunks or blocks"
# grouper('ABCDEFG', 3, 'x') --> ABC DEF Gxx
args = [iter(iterable)] * n
return izip_longest(fillvalue=fillvalue, *args)
class JobManager(object):
"""
Simple job manager across many processes.
"""
def __init__(self, filename, nProc=1):
"""
Parameters
----------
filename : str
The db to use for job management.
"""
conn = sqlite3.connect(filename)
with conn:
conn.execute("""
CREATE TABLE IF NOT EXISTS jobs (job int unique, status text);
""")
self.filename = filename
self.conn = conn
self.nProc = nProc
self.processes = []
self.stagger = None
def insert_job(self, job_id):
"""
Adds a job.
"""
row = (job_id, FREE)
with self.conn as conn:
statement = 'INSERT OR IGNORE INTO jobs VALUES (?, ?)'
conn.execute(statement, row)
def reserve_job(self, job_id, insert=True):
"""
Reserve a particular job.
"""
# First make sure the job exists in the database.
if insert:
self.insert_job(job_id)
# Now make sure it is FREE.
with self.conn as conn:
statement = 'SELECT status from jobs where job = ?'
status = conn.execute(statement, [job_id]).fetchone()
if status is None:
raise Exception('Unknown job: {0}'.format(i))
else:
status = status[0]
if status == FREE:
# Cannot call update_status(). This might screw up the transaction
# that we entered via the context manager.
statement = """INSERT OR REPLACE INTO jobs(job, status)
VALUES(?, ?)"""
conn.execute(statement, (job_id, RESERVED))
reserved = True
else:
reserved = False
return reserved, status
def mark_busy_as_free(self):
"""
Mark all busy sources as free.
This is sometimes necessary when jobs failed abruptly.
"""
with self.conn as conn:
statement = """UPDATE jobs SET status = ? where status = ?"""
conn.execute(statement, [FREE, BUSY])
def parent(self):
"""
User-implemented function to launch processes.
"""
free = self.find_free()
while len(free) > 0:
if self.busy_count() >= self.nProc:
time.sleep(30)
continue
free = self.find_free()
if len(free):
self.launch_child(job_id=free[0], args=None)
if __name__ == '__main__':
run_test()
| [
2,
0,
532,
9,
12,
21004,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
37811,
198,
4366,
2829,
31904,
14750,
284,
6133,
287,
9387,
1693,
4542,
13,
198,
198,
37811,
198,
198,
6738,
18540,
305,
919,
278,
1330,
10854,
198,
6738,
340,
861,
10141,
1330,
318,
75,
501,
11,
1720,
11,
220,
528,
541,
62,
6511,
395,
198,
11748,
44161,
578,
18,
198,
11748,
4818,
8079,
198,
11748,
25064,
198,
11748,
640,
198,
198,
11748,
299,
32152,
355,
45941,
198,
198,
2,
9945,
3672,
796,
705,
12853,
11284,
62,
29510,
13,
9945,
6,
198,
2,
37043,
796,
44161,
578,
18,
13,
8443,
7,
9945,
3672,
8,
198,
2,
66,
796,
48260,
13,
66,
21471,
3419,
198,
2,
66,
13,
41049,
7203,
15931,
198,
2,
220,
220,
220,
29244,
6158,
43679,
16876,
5626,
7788,
1797,
4694,
8217,
357,
77,
493,
11,
479,
493,
11,
4686,
493,
1776,
198,
2,
15931,
4943,
198,
198,
39274,
11,
15731,
1137,
53,
1961,
11,
43949,
56,
11,
360,
11651,
796,
705,
5787,
3256,
705,
411,
8520,
3256,
705,
10885,
88,
3256,
705,
28060,
6,
198,
198,
2,
3740,
1378,
31628,
13,
29412,
13,
2398,
14,
17,
14,
32016,
14,
270,
861,
10141,
13,
6494,
2,
8344,
18636,
198,
4299,
1132,
525,
7,
2676,
540,
11,
299,
11,
6070,
8367,
28,
14202,
2599,
198,
220,
220,
220,
366,
31337,
1366,
656,
5969,
12,
13664,
22716,
393,
7021,
1,
198,
220,
220,
220,
1303,
1132,
525,
10786,
24694,
7206,
30386,
3256,
513,
11,
705,
87,
11537,
14610,
9738,
23449,
402,
5324,
198,
220,
220,
220,
26498,
796,
685,
2676,
7,
2676,
540,
15437,
1635,
299,
198,
220,
220,
220,
1441,
220,
528,
541,
62,
6511,
395,
7,
20797,
8367,
28,
20797,
8367,
11,
1635,
22046,
8,
198,
198,
4871,
15768,
13511,
7,
15252,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
17427,
1693,
4706,
1973,
867,
7767,
13,
628,
220,
220,
220,
37227,
198,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
29472,
11,
299,
2964,
66,
28,
16,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
40117,
198,
220,
220,
220,
220,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
220,
220,
220,
220,
29472,
1058,
965,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
20613,
284,
779,
329,
1693,
4542,
13,
628,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
48260,
796,
44161,
578,
18,
13,
8443,
7,
34345,
8,
198,
220,
220,
220,
220,
220,
220,
220,
351,
48260,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
48260,
13,
41049,
7203,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
29244,
6158,
43679,
16876,
5626,
7788,
1797,
4694,
3946,
357,
21858,
493,
3748,
11,
3722,
2420,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
13538,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
34345,
796,
29472,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
37043,
796,
48260,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
77,
2964,
66,
796,
299,
2964,
66,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
14681,
274,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
301,
7928,
796,
6045,
628,
220,
220,
220,
825,
7550,
62,
21858,
7,
944,
11,
1693,
62,
312,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
34333,
257,
1693,
13,
628,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
5752,
796,
357,
21858,
62,
312,
11,
17189,
8,
198,
220,
220,
220,
220,
220,
220,
220,
351,
2116,
13,
37043,
355,
48260,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2643,
796,
705,
20913,
17395,
6375,
28730,
6965,
39319,
3946,
26173,
35409,
32843,
5633,
33047,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
48260,
13,
41049,
7,
26090,
11,
5752,
8,
628,
220,
220,
220,
825,
11515,
62,
21858,
7,
944,
11,
1693,
62,
312,
11,
7550,
28,
17821,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
12224,
257,
1948,
1693,
13,
628,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
3274,
787,
1654,
262,
1693,
7160,
287,
262,
6831,
13,
198,
220,
220,
220,
220,
220,
220,
220,
611,
7550,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
28463,
62,
21858,
7,
21858,
62,
312,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
2735,
787,
1654,
340,
318,
17189,
13,
198,
220,
220,
220,
220,
220,
220,
220,
351,
2116,
13,
37043,
355,
48260,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2643,
796,
705,
46506,
3722,
422,
3946,
810,
1693,
796,
5633,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3722,
796,
48260,
13,
41049,
7,
26090,
11,
685,
21858,
62,
312,
35944,
69,
7569,
505,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
3722,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
35528,
10786,
20035,
1693,
25,
1391,
15,
92,
4458,
18982,
7,
72,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3722,
796,
3722,
58,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
3722,
6624,
17189,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
26003,
869,
4296,
62,
13376,
22446,
770,
1244,
9580,
510,
262,
8611,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
326,
356,
5982,
2884,
262,
4732,
4706,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2643,
796,
37227,
20913,
17395,
6375,
45285,
11598,
39319,
3946,
7,
21858,
11,
3722,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26173,
35409,
7,
21747,
41349,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
48260,
13,
41049,
7,
26090,
11,
357,
21858,
62,
312,
11,
15731,
1137,
53,
1961,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10395,
796,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10395,
796,
10352,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
10395,
11,
3722,
628,
220,
220,
220,
825,
1317,
62,
10885,
88,
62,
292,
62,
5787,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2940,
477,
8179,
4237,
355,
1479,
13,
628,
220,
220,
220,
220,
220,
220,
220,
770,
318,
3360,
3306,
618,
3946,
4054,
25891,
13,
628,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
351,
2116,
13,
37043,
355,
48260,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2643,
796,
37227,
16977,
3946,
25823,
3722,
796,
5633,
810,
3722,
796,
220,
1701,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
48260,
13,
41049,
7,
26090,
11,
685,
39274,
11,
43949,
56,
12962,
628,
220,
220,
220,
825,
2560,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
11787,
12,
320,
1154,
12061,
2163,
284,
4219,
7767,
13,
628,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1479,
796,
2116,
13,
19796,
62,
5787,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
981,
18896,
7,
5787,
8,
1875,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
10885,
88,
62,
9127,
3419,
18189,
2116,
13,
77,
2964,
66,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
640,
13,
42832,
7,
1270,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1479,
796,
2116,
13,
19796,
62,
5787,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
5787,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
35681,
62,
9410,
7,
21858,
62,
312,
28,
5787,
58,
15,
4357,
26498,
28,
14202,
8,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
1057,
62,
9288,
3419,
198
] | 2.180831 | 1,565 |
import pytest
import logging
from multiprocessing.process import current_process
from threading import current_thread
import time
logging.basicConfig(filename="log.txt", filemode="w")
log = logging.getLogger()
log.setLevel(logging.DEBUG)
handler = logging.StreamHandler()
handler.setLevel(logging.DEBUG)
formatter = logging.Formatter("%(levelname)s - %(message)s")
handler.setFormatter(formatter)
log.addHandler(handler)
| [
11748,
12972,
9288,
198,
11748,
18931,
198,
6738,
18540,
305,
919,
278,
13,
14681,
1330,
1459,
62,
14681,
198,
6738,
4704,
278,
1330,
1459,
62,
16663,
198,
11748,
640,
198,
198,
6404,
2667,
13,
35487,
16934,
7,
34345,
2625,
6404,
13,
14116,
1600,
2393,
14171,
2625,
86,
4943,
198,
6404,
796,
18931,
13,
1136,
11187,
1362,
3419,
198,
6404,
13,
2617,
4971,
7,
6404,
2667,
13,
30531,
8,
198,
198,
30281,
796,
18931,
13,
12124,
25060,
3419,
198,
30281,
13,
2617,
4971,
7,
6404,
2667,
13,
30531,
8,
198,
687,
1436,
796,
18931,
13,
8479,
1436,
7203,
4,
7,
5715,
3672,
8,
82,
532,
4064,
7,
20500,
8,
82,
4943,
198,
30281,
13,
2617,
8479,
1436,
7,
687,
1436,
8,
198,
6404,
13,
2860,
25060,
7,
30281,
8,
628
] | 3.286822 | 129 |
import time
# class App:
import time
route = Route()
in_route = Bus()
while True:
main_input = input("(n)ew Route, (s)how, (c)hoose, (q)uit : ")
if main_input == "n":
route_name = input("Enter route name : ")
route.add_route(route_name)
for i in range(len(route.all_route)):
print(f"Round {i+1} : {route.all_route[i]}")
elif main_input == "s":
for i in range(len(route.all_route)):
print(f"Round {i+1} : {route.all_route[i]}")
elif main_input == "c":
choose_route_number = int(input("Enter a route number: "))
while True:
choose_input = input("(a)dd bus, (p)rint, (r)un/stop, (m)ain menu : ")
if choose_input == "a":
bus_code = input("Bus Code : ")
in_route.in_route(bus_code)
in_route.status("Stop")
in_route.time([0,0])
elif choose_input == "p":
in_route.display_route(choose_route_number)
elif choose_input == "r":
in_route.run()
in_route.display_route(choose_route_number)
elif choose_input == "m":
break
# while True:
# menu = input("(s)tart, (e)lapse, (q)uit: ")
# if menu == "s":
# start = current_time()
# elif menu == "e":
# elapse = current_time() - start
# print(f"{elapse:.0f} seconds")
# elif menu == "q":
# stop = current_time()
# difference = int(stop-start)
# print(f'Total {difference} seconds')
# break
# else:
# print("Incorrect Menu") | [
11748,
640,
628,
628,
198,
2,
1398,
2034,
25,
198,
198,
11748,
640,
198,
198,
38629,
796,
18956,
3419,
198,
259,
62,
38629,
796,
5869,
3419,
198,
4514,
6407,
25,
198,
220,
220,
220,
1388,
62,
15414,
796,
5128,
7203,
7,
77,
8,
413,
18956,
11,
357,
82,
8,
4919,
11,
357,
66,
8,
8873,
577,
11,
357,
80,
8,
5013,
1058,
366,
8,
198,
220,
220,
220,
611,
1388,
62,
15414,
6624,
366,
77,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
6339,
62,
3672,
796,
5128,
7203,
17469,
6339,
1438,
1058,
366,
8,
198,
220,
220,
220,
220,
220,
220,
220,
6339,
13,
2860,
62,
38629,
7,
38629,
62,
3672,
8,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
2837,
7,
11925,
7,
38629,
13,
439,
62,
38629,
8,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
69,
1,
22685,
1391,
72,
10,
16,
92,
1058,
1391,
38629,
13,
439,
62,
38629,
58,
72,
48999,
4943,
198,
220,
220,
220,
1288,
361,
1388,
62,
15414,
6624,
366,
82,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
2837,
7,
11925,
7,
38629,
13,
439,
62,
38629,
8,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
69,
1,
22685,
1391,
72,
10,
16,
92,
1058,
1391,
38629,
13,
439,
62,
38629,
58,
72,
48999,
4943,
198,
220,
220,
220,
1288,
361,
1388,
62,
15414,
6624,
366,
66,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
3853,
62,
38629,
62,
17618,
796,
493,
7,
15414,
7203,
17469,
257,
6339,
1271,
25,
366,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
981,
6407,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3853,
62,
15414,
796,
5128,
7203,
7,
64,
8,
1860,
1323,
11,
357,
79,
8,
22272,
11,
357,
81,
8,
403,
14,
11338,
11,
357,
76,
8,
391,
6859,
1058,
366,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
3853,
62,
15414,
6624,
366,
64,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1323,
62,
8189,
796,
5128,
7203,
16286,
6127,
1058,
366,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
287,
62,
38629,
13,
259,
62,
38629,
7,
10885,
62,
8189,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
287,
62,
38629,
13,
13376,
7203,
19485,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
287,
62,
38629,
13,
2435,
26933,
15,
11,
15,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
3853,
62,
15414,
6624,
366,
79,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
287,
62,
38629,
13,
13812,
62,
38629,
7,
6679,
577,
62,
38629,
62,
17618,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
3853,
62,
15414,
6624,
366,
81,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
287,
62,
38629,
13,
5143,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
287,
62,
38629,
13,
13812,
62,
38629,
7,
6679,
577,
62,
38629,
62,
17618,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
3853,
62,
15414,
6624,
366,
76,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2270,
628,
628,
628,
198,
2,
981,
6407,
25,
198,
2,
220,
220,
220,
220,
6859,
796,
5128,
7203,
7,
82,
8,
83,
433,
11,
357,
68,
8,
75,
7512,
11,
357,
80,
8,
5013,
25,
366,
8,
198,
2,
220,
220,
220,
220,
611,
6859,
6624,
366,
82,
1298,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
923,
796,
1459,
62,
2435,
3419,
198,
2,
220,
220,
220,
220,
1288,
361,
6859,
6624,
366,
68,
1298,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
1288,
7512,
796,
1459,
62,
2435,
3419,
532,
923,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
69,
1,
90,
417,
7512,
25,
13,
15,
69,
92,
4201,
4943,
198,
2,
220,
220,
220,
220,
1288,
361,
6859,
6624,
366,
80,
1298,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
2245,
796,
1459,
62,
2435,
3419,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
3580,
796,
493,
7,
11338,
12,
9688,
8,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
69,
6,
14957,
1391,
26069,
1945,
92,
4201,
11537,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
2270,
198,
2,
220,
220,
220,
220,
2073,
25,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
818,
30283,
21860,
4943
] | 1.928826 | 843 |
import re
import requests
import urllib
from UAList import fetchUA, fetchAgent
from urllib.parse import quote
from urllib.request import urlopen
from urllib.error import URLError, HTTPError
from termcolor import colored
from proxies_list import fetch_proxy
from requests.auth import HTTPBasicAuth
from pwn import listen
import threading
import time
import pathlib
import os
# It sends the url as is without decoding it first, so that it can bypass filters that look for ..
# Checks if the url is valid
# Strips all HTML tags from the HTTP response
# Checks for directory traversal
# Checks for Remote Code Execution with php headers
# Checks if it can retrieve files with the php filter
# Checks if the PHPSESSID cookie can be exploited
| [
11748,
302,
198,
11748,
7007,
198,
11748,
2956,
297,
571,
198,
6738,
471,
1847,
396,
1330,
21207,
34970,
11,
21207,
36772,
198,
6738,
2956,
297,
571,
13,
29572,
1330,
9577,
198,
6738,
2956,
297,
571,
13,
25927,
1330,
19016,
9654,
198,
6738,
2956,
297,
571,
13,
18224,
1330,
37902,
2538,
81,
1472,
11,
14626,
12331,
198,
6738,
3381,
8043,
1330,
16396,
198,
6738,
41775,
62,
4868,
1330,
21207,
62,
36436,
198,
6738,
7007,
13,
18439,
1330,
14626,
26416,
30515,
198,
6738,
279,
675,
1330,
6004,
198,
11748,
4704,
278,
198,
11748,
640,
198,
11748,
3108,
8019,
198,
11748,
28686,
220,
628,
628,
628,
628,
628,
197,
2,
632,
12800,
262,
19016,
355,
318,
1231,
39938,
340,
717,
11,
523,
326,
340,
460,
17286,
16628,
326,
804,
329,
11485,
628,
628,
198,
197,
2,
47719,
611,
262,
19016,
318,
4938,
628,
628,
198,
197,
197,
197,
628,
198,
197,
197,
197,
198,
197,
2,
26137,
862,
477,
11532,
15940,
422,
262,
14626,
2882,
197,
628,
628,
198,
197,
2,
47719,
329,
8619,
33038,
282,
628,
628,
198,
197,
2,
47719,
329,
21520,
6127,
37497,
351,
39347,
24697,
198,
197,
198,
197,
198,
197,
198,
197,
2,
47719,
611,
340,
460,
19818,
3696,
351,
262,
39347,
8106,
197,
628,
628,
198,
197,
2,
47719,
611,
262,
9370,
3705,
7597,
2389,
19751,
460,
307,
21514,
628,
628
] | 3.549107 | 224 |
import os
import check_manifest
from .base import Tool, Issue
IGNORE_MSGS = (
'lists of files in version control and sdist match',
)
class CheckManifestTool(Tool):
"""
Uses the check-manifest script to detect discrepancies or problems with
your project's MANIFEST.in file.
"""
@classmethod
@classmethod
| [
198,
11748,
28686,
198,
198,
11748,
2198,
62,
805,
8409,
198,
198,
6738,
764,
8692,
1330,
16984,
11,
18232,
628,
198,
16284,
6965,
62,
5653,
14313,
796,
357,
198,
220,
220,
220,
705,
20713,
286,
3696,
287,
2196,
1630,
290,
264,
17080,
2872,
3256,
198,
8,
628,
628,
198,
4871,
6822,
5124,
8409,
25391,
7,
25391,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
36965,
262,
2198,
12,
805,
8409,
4226,
284,
4886,
42420,
393,
2761,
351,
198,
220,
220,
220,
534,
1628,
338,
17254,
5064,
6465,
13,
259,
2393,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
2488,
4871,
24396,
628,
220,
220,
220,
2488,
4871,
24396,
628
] | 3.035398 | 113 |
import sys
import pandas as pd
import sqlalchemy as sql
# Extract data
def load_data(messages_filepath, categories_filepath):
"""
the function creates two DateFrame from two input arguments, and it merges them in one DateFrame
:param messages_filepath: the path of messages CSV file
:param categories_filepath: the path of categories CSV file
:return: one DataFrame with messages and categories merged
"""
categories_df = pd.read_csv(categories_filepath)
disasters_df = pd.read_csv(messages_filepath)
df = pd.merge(categories_df, disasters_df, on='id')
return df
# Transform data
def clean_data(df):
"""
The function cleans the DataFrame. In particular, converts the encoded categories. Each category becomes a
boolean column.
:param df: the DataFrame to clean
:return: the cleaned DataFrame
"""
values_columns = list()
categories = {'id'}
for row_categories_encoded in df.itertuples():
row = {'id': row_categories_encoded.id}
for category_encoded in row_categories_encoded.categories.split(';'):
category, value = category_encoded.split('-')
row[category] = (value == '1')
categories.add(category)
values_columns.append(row)
categories_df = pd.DataFrame(values_columns, columns=categories, index=df.index)
df = df.merge(categories_df, on='id')
df.drop(columns=['original', 'categories'], inplace=True)
return df
# Load data
def save_data(df, database_filename):
"""
The function stores the data inside a SQLite Database
:param df: The DataFrame to store
:param database_filename: the path of database
:return: None
"""
engine = sql.create_engine("sqlite:///" + database_filename)
df.to_sql("message_with_categories", engine, if_exists="replace", index=False)
if __name__ == '__main__':
main()
| [
11748,
25064,
198,
198,
11748,
19798,
292,
355,
279,
67,
198,
11748,
44161,
282,
26599,
355,
44161,
628,
198,
2,
29677,
1366,
198,
4299,
3440,
62,
7890,
7,
37348,
1095,
62,
7753,
6978,
11,
9376,
62,
7753,
6978,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
262,
2163,
8075,
734,
7536,
19778,
422,
734,
5128,
7159,
11,
290,
340,
4017,
3212,
606,
287,
530,
7536,
19778,
198,
220,
220,
220,
1058,
17143,
6218,
62,
7753,
6978,
25,
262,
3108,
286,
6218,
44189,
2393,
198,
220,
220,
220,
1058,
17143,
9376,
62,
7753,
6978,
25,
262,
3108,
286,
9376,
44189,
2393,
198,
220,
220,
220,
1058,
7783,
25,
530,
6060,
19778,
351,
6218,
290,
9376,
23791,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
9376,
62,
7568,
796,
279,
67,
13,
961,
62,
40664,
7,
66,
26129,
62,
7753,
6978,
8,
198,
220,
220,
220,
24193,
62,
7568,
796,
279,
67,
13,
961,
62,
40664,
7,
37348,
1095,
62,
7753,
6978,
8,
198,
220,
220,
220,
47764,
796,
279,
67,
13,
647,
469,
7,
66,
26129,
62,
7568,
11,
24193,
62,
7568,
11,
319,
11639,
312,
11537,
198,
220,
220,
220,
1441,
47764,
628,
198,
2,
26981,
1366,
198,
4299,
3424,
62,
7890,
7,
7568,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
383,
2163,
20658,
262,
6060,
19778,
13,
554,
1948,
11,
26161,
262,
30240,
9376,
13,
5501,
6536,
4329,
257,
198,
220,
220,
220,
25131,
5721,
13,
198,
220,
220,
220,
1058,
17143,
47764,
25,
262,
6060,
19778,
284,
3424,
198,
220,
220,
220,
1058,
7783,
25,
262,
20750,
6060,
19778,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
3815,
62,
28665,
82,
796,
1351,
3419,
198,
220,
220,
220,
9376,
796,
1391,
6,
312,
6,
92,
198,
220,
220,
220,
329,
5752,
62,
66,
26129,
62,
12685,
9043,
287,
47764,
13,
270,
861,
84,
2374,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
5752,
796,
1391,
6,
312,
10354,
5752,
62,
66,
26129,
62,
12685,
9043,
13,
312,
92,
198,
220,
220,
220,
220,
220,
220,
220,
329,
6536,
62,
12685,
9043,
287,
5752,
62,
66,
26129,
62,
12685,
9043,
13,
66,
26129,
13,
35312,
10786,
26,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6536,
11,
1988,
796,
6536,
62,
12685,
9043,
13,
35312,
10786,
12,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5752,
58,
22872,
60,
796,
357,
8367,
6624,
705,
16,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9376,
13,
2860,
7,
22872,
8,
198,
220,
220,
220,
220,
220,
220,
220,
3815,
62,
28665,
82,
13,
33295,
7,
808,
8,
198,
220,
220,
220,
9376,
62,
7568,
796,
279,
67,
13,
6601,
19778,
7,
27160,
62,
28665,
82,
11,
15180,
28,
66,
26129,
11,
6376,
28,
7568,
13,
9630,
8,
198,
220,
220,
220,
47764,
796,
47764,
13,
647,
469,
7,
66,
26129,
62,
7568,
11,
319,
11639,
312,
11537,
198,
220,
220,
220,
47764,
13,
14781,
7,
28665,
82,
28,
17816,
14986,
3256,
705,
66,
26129,
6,
4357,
287,
5372,
28,
17821,
8,
198,
220,
220,
220,
1441,
47764,
628,
198,
2,
8778,
1366,
198,
4299,
3613,
62,
7890,
7,
7568,
11,
6831,
62,
34345,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
383,
2163,
7000,
262,
1366,
2641,
257,
16363,
578,
24047,
198,
220,
220,
220,
1058,
17143,
47764,
25,
383,
6060,
19778,
284,
3650,
198,
220,
220,
220,
1058,
17143,
6831,
62,
34345,
25,
262,
3108,
286,
6831,
198,
220,
220,
220,
1058,
7783,
25,
6045,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
3113,
796,
44161,
13,
17953,
62,
18392,
7203,
25410,
578,
1378,
30487,
1343,
6831,
62,
34345,
8,
198,
220,
220,
220,
47764,
13,
1462,
62,
25410,
7203,
20500,
62,
4480,
62,
66,
26129,
1600,
3113,
11,
611,
62,
1069,
1023,
2625,
33491,
1600,
6376,
28,
25101,
8,
628,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
1388,
3419,
198
] | 2.79056 | 678 |
# This Software (Dioptra) is being made available as a public service by the
# National Institute of Standards and Technology (NIST), an Agency of the United
# States Department of Commerce. This software was developed in part by employees of
# NIST and in part by NIST contractors. Copyright in portions of this software that
# were developed by NIST contractors has been licensed or assigned to NIST. Pursuant
# to Title 17 United States Code Section 105, works of NIST employees are not
# subject to copyright protection in the United States. However, NIST may hold
# international copyright in software created by its employees and domestic
# copyright (or licensing rights) in portions of software that were assigned or
# licensed to NIST. To the extent that NIST holds copyright in this software, it is
# being made available under the Creative Commons Attribution 4.0 International
# license (CC BY 4.0). The disclaimers of the CC BY 4.0 license apply to all parts
# of the software developed or licensed by NIST.
#
# ACCESS THE FULL CC BY 4.0 LICENSE HERE:
# https://creativecommons.org/licenses/by/4.0/legalcode
import datetime
from dataclasses import dataclass
from typing import BinaryIO, List, Optional
import pytest
import structlog
from _pytest.monkeypatch import MonkeyPatch
from flask import Flask
from flask_sqlalchemy import SQLAlchemy
from freezegun import freeze_time
from structlog.stdlib import BoundLogger
from werkzeug.datastructures import FileStorage
from mitre.securingai.restapi.job.service import JobService
from mitre.securingai.restapi.models import Job, JobFormData
from mitre.securingai.restapi.shared.rq.service import RQService
from mitre.securingai.restapi.shared.s3.service import S3Service
LOGGER: BoundLogger = structlog.stdlib.get_logger()
@dataclass
@pytest.fixture
@pytest.fixture
@pytest.fixture
@freeze_time("2020-08-17T18:46:28.717559")
@freeze_time("2020-08-17T18:46:28.717559")
| [
2,
770,
10442,
357,
18683,
8738,
430,
8,
318,
852,
925,
1695,
355,
257,
1171,
2139,
416,
262,
198,
2,
2351,
5136,
286,
20130,
290,
8987,
357,
45,
8808,
828,
281,
7732,
286,
262,
1578,
198,
2,
1829,
2732,
286,
16127,
13,
770,
3788,
373,
4166,
287,
636,
416,
4409,
286,
198,
2,
399,
8808,
290,
287,
636,
416,
399,
8808,
17736,
13,
15069,
287,
16690,
286,
428,
3788,
326,
198,
2,
547,
4166,
416,
399,
8808,
17736,
468,
587,
11971,
393,
8686,
284,
399,
8808,
13,
34089,
84,
415,
198,
2,
284,
11851,
1596,
1578,
1829,
6127,
7275,
13343,
11,
2499,
286,
399,
8808,
4409,
389,
407,
198,
2,
2426,
284,
6634,
4800,
287,
262,
1578,
1829,
13,
2102,
11,
399,
8808,
743,
1745,
198,
2,
3230,
6634,
287,
3788,
2727,
416,
663,
4409,
290,
5928,
198,
2,
6634,
357,
273,
15665,
2489,
8,
287,
16690,
286,
3788,
326,
547,
8686,
393,
198,
2,
11971,
284,
399,
8808,
13,
1675,
262,
6287,
326,
399,
8808,
6622,
6634,
287,
428,
3788,
11,
340,
318,
198,
2,
852,
925,
1695,
739,
262,
17404,
13815,
45336,
604,
13,
15,
4037,
198,
2,
5964,
357,
4093,
11050,
604,
13,
15,
737,
383,
28468,
364,
286,
262,
12624,
11050,
604,
13,
15,
5964,
4174,
284,
477,
3354,
198,
2,
286,
262,
3788,
4166,
393,
11971,
416,
399,
8808,
13,
198,
2,
198,
2,
15859,
7597,
3336,
34958,
12624,
11050,
604,
13,
15,
38559,
24290,
15698,
25,
198,
2,
3740,
1378,
20123,
425,
9503,
684,
13,
2398,
14,
677,
4541,
14,
1525,
14,
19,
13,
15,
14,
18011,
8189,
198,
11748,
4818,
8079,
198,
6738,
4818,
330,
28958,
1330,
4818,
330,
31172,
198,
6738,
19720,
1330,
45755,
9399,
11,
7343,
11,
32233,
198,
198,
11748,
12972,
9288,
198,
11748,
2878,
6404,
198,
6738,
4808,
9078,
9288,
13,
49572,
17147,
1330,
26997,
33952,
198,
6738,
42903,
1330,
46947,
198,
6738,
42903,
62,
25410,
282,
26599,
1330,
16363,
2348,
26599,
198,
6738,
1479,
89,
1533,
403,
1330,
16611,
62,
2435,
198,
6738,
2878,
6404,
13,
19282,
8019,
1330,
30149,
11187,
1362,
198,
6738,
266,
9587,
2736,
1018,
13,
19608,
459,
1356,
942,
1330,
9220,
31425,
198,
198,
6738,
10255,
260,
13,
2363,
870,
1872,
13,
2118,
15042,
13,
21858,
13,
15271,
1330,
15768,
16177,
198,
6738,
10255,
260,
13,
2363,
870,
1872,
13,
2118,
15042,
13,
27530,
1330,
15768,
11,
15768,
8479,
6601,
198,
6738,
10255,
260,
13,
2363,
870,
1872,
13,
2118,
15042,
13,
28710,
13,
81,
80,
13,
15271,
1330,
371,
48,
16177,
198,
6738,
10255,
260,
13,
2363,
870,
1872,
13,
2118,
15042,
13,
28710,
13,
82,
18,
13,
15271,
1330,
311,
18,
16177,
198,
198,
25294,
30373,
25,
30149,
11187,
1362,
796,
2878,
6404,
13,
19282,
8019,
13,
1136,
62,
6404,
1362,
3419,
628,
198,
31,
19608,
330,
31172,
628,
198,
31,
9078,
9288,
13,
69,
9602,
628,
198,
31,
9078,
9288,
13,
69,
9602,
628,
198,
31,
9078,
9288,
13,
69,
9602,
628,
198,
198,
31,
5787,
2736,
62,
2435,
7203,
42334,
12,
2919,
12,
1558,
51,
1507,
25,
3510,
25,
2078,
13,
22,
1558,
38605,
4943,
628,
198,
31,
5787,
2736,
62,
2435,
7203,
42334,
12,
2919,
12,
1558,
51,
1507,
25,
3510,
25,
2078,
13,
22,
1558,
38605,
4943,
198
] | 3.594444 | 540 |
import time
def get_primes7(n):
"""
standard optimized sieve algorithm to get a list of prime numbers
--- this is the function to compare your functions against! ---
"""
if n < 2: return []
if n == 2: return [2]
# do only odd numbers starting at 3
s = list(range(3, n+1, 2))
# n**0.5 simpler than math.sqr(n)
mroot = n ** 0.5
half = len(s)
i = 0
m = 3
while m <= mroot:
if s[i]:
j = (m*m-3)//2 # int div
s[j] = 0
while j < half:
s[j] = 0
j += m
i = i+1
m = 2*i+3
return [2]+[x for x in s if x]
start = time.time()
for t in list(range(10)):
res = get_primes7(10000000)
print("Found", len(res), "prime numbers.")
end = time.time()
ellapsed = end - start
print("Execution time:", ellapsed)
| [
11748,
640,
198,
198,
4299,
651,
62,
1050,
999,
22,
7,
77,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
3210,
23392,
264,
12311,
11862,
284,
651,
257,
1351,
286,
6994,
3146,
198,
220,
220,
220,
11420,
428,
318,
262,
2163,
284,
8996,
534,
5499,
1028,
0,
11420,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
611,
299,
1279,
362,
25,
220,
1441,
17635,
198,
220,
220,
220,
611,
299,
6624,
362,
25,
1441,
685,
17,
60,
198,
220,
220,
220,
1303,
466,
691,
5629,
3146,
3599,
379,
513,
198,
220,
220,
220,
264,
796,
1351,
7,
9521,
7,
18,
11,
299,
10,
16,
11,
362,
4008,
198,
220,
220,
220,
1303,
299,
1174,
15,
13,
20,
18599,
621,
10688,
13,
31166,
81,
7,
77,
8,
198,
220,
220,
220,
285,
15763,
796,
299,
12429,
657,
13,
20,
198,
220,
220,
220,
2063,
796,
18896,
7,
82,
8,
198,
220,
220,
220,
1312,
796,
657,
198,
220,
220,
220,
285,
796,
513,
198,
220,
220,
220,
981,
285,
19841,
285,
15763,
25,
198,
220,
220,
220,
220,
220,
220,
220,
611,
264,
58,
72,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
474,
796,
357,
76,
9,
76,
12,
18,
8,
1003,
17,
220,
1303,
493,
2659,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
264,
58,
73,
60,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
981,
474,
1279,
2063,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
264,
58,
73,
60,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
474,
15853,
285,
198,
220,
220,
220,
220,
220,
220,
220,
1312,
796,
1312,
10,
16,
198,
220,
220,
220,
220,
220,
220,
220,
285,
796,
362,
9,
72,
10,
18,
198,
220,
220,
220,
1441,
685,
17,
48688,
58,
87,
329,
2124,
287,
264,
611,
2124,
60,
198,
198,
9688,
796,
640,
13,
2435,
3419,
198,
1640,
256,
287,
1351,
7,
9521,
7,
940,
8,
2599,
198,
220,
220,
220,
581,
796,
651,
62,
1050,
999,
22,
7,
16,
24598,
8,
198,
220,
220,
220,
3601,
7203,
21077,
1600,
18896,
7,
411,
828,
366,
35505,
3146,
19570,
198,
437,
796,
640,
13,
2435,
3419,
198,
198,
695,
28361,
796,
886,
532,
923,
198,
198,
4798,
7203,
23002,
1009,
640,
25,
1600,
30004,
28361,
8,
198
] | 2.060386 | 414 |
from flask import Flask, request, redirect, url_for, render_template, session, jsonify
from flask_api import FlaskAPI, status, exceptions
from app.api import api
import cgi
import os
import jinja2
''' para separar un string por espacios o comas '''
import re
env = jinja2.Environment()
env.globals.update(zip=zip)
app = FlaskAPI(__name__)
app.jinja_env.filters['zip'] = zip
app.secret_key = "super secret key" # La llave para la sesion
APP_ROOT = os.path.dirname(os.path.abspath(__file__))
@app.route("/", methods=['GET','POST'])
@app.route('/home', methods=['GET','POST'])
def home():
''' Si el usuario ya hizo login, recupera su nombre. Si no ha hecho login y entro directo a /home, regresalo al login screen '''
if 'user' in session:
username = session['user']
else:
return redirect(url_for('login'))
mongodb = api.API()
data = mongodb.get()
paths = []
owners = []
names = []
locations = []
descriptions = []
tags = []
if request.method == 'POST' and 'Title' in request.form:
title = request.form['Title']
lugar = request.form['Lugar']
desc = request.form['Desc']
tags = request.form['Tags']
target = os.path.join(APP_ROOT, 'static/images')
target_db = 'static/images'
if not os.path.isdir(target):
os.mkdir(target)
for upload in request.files.getlist("file"):
filename = upload.filename
# This is to verify files are supported
ext = os.path.splitext(filename)[1]
if (ext == ".jpg") or (ext == ".png") or (ext == ".jpeg"):
destination = "/".join([target, filename])
destination_db = "/".join([target_db, filename])
upload.save(destination)
split_tags = re.split('; |, | |,|;', tags)
insertResult = mongodb.insertImage(username, destination_db, title, desc, lugar, split_tags)
return redirect(url_for('home'))
if request.method == 'POST' and 'Lugar_filter' in request.form:
lugar = request.form['Lugar_filter']
owner = request.form['Owner']
tag = request.form['Tag']
data = mongodb.getByFilter(lugar,owner,tag)
if request.method == 'POST' and 'Title_borrar' in request.form:
titulo = request.form['Title_borrar']
mongodb.removeSpecificImage(titulo, username)
data = mongodb.get()
for i in range(len(data)):
paths.append(data[i]['picture'])
owners.append(data[i]['owner'])
names.append(data[i]['name'])
locations.append(data[i]['location'])
descriptions.append(data[i]['description'])
tags.append(data[i]['tags'])
return render_template('home.html', user=username, paths=paths, owners=owners, names=names, locations=locations, descriptions=descriptions, tags=tags)
@app.route("/signUp", methods=['POST','GET'])
@app.route("/logOut")
@app.route("/delete")
if __name__ == "__main__":
app.run(host="0.0.0.0")
| [
6738,
42903,
1330,
46947,
11,
2581,
11,
18941,
11,
19016,
62,
1640,
11,
8543,
62,
28243,
11,
6246,
11,
33918,
1958,
198,
6738,
42903,
62,
15042,
1330,
46947,
17614,
11,
3722,
11,
13269,
198,
6738,
598,
13,
15042,
1330,
40391,
198,
11748,
269,
12397,
198,
11748,
28686,
198,
11748,
474,
259,
6592,
17,
198,
7061,
6,
31215,
2880,
283,
555,
4731,
16964,
15024,
330,
4267,
267,
401,
292,
705,
7061,
198,
11748,
302,
220,
198,
198,
24330,
796,
474,
259,
6592,
17,
13,
31441,
3419,
198,
24330,
13,
4743,
672,
874,
13,
19119,
7,
13344,
28,
13344,
8,
198,
198,
1324,
796,
46947,
17614,
7,
834,
3672,
834,
8,
198,
1324,
13,
18594,
6592,
62,
24330,
13,
10379,
1010,
17816,
13344,
20520,
796,
19974,
198,
198,
1324,
13,
21078,
62,
2539,
796,
366,
16668,
3200,
1994,
1,
1303,
4689,
32660,
1015,
31215,
8591,
264,
274,
295,
198,
198,
24805,
62,
13252,
2394,
796,
28686,
13,
6978,
13,
15908,
3672,
7,
418,
13,
6978,
13,
397,
2777,
776,
7,
834,
7753,
834,
4008,
198,
198,
31,
1324,
13,
38629,
7203,
14,
1600,
5050,
28,
17816,
18851,
41707,
32782,
6,
12962,
198,
198,
31,
1324,
13,
38629,
10786,
14,
11195,
3256,
5050,
28,
17816,
18851,
41707,
32782,
6,
12962,
198,
4299,
1363,
33529,
198,
220,
220,
220,
705,
7061,
15638,
1288,
514,
84,
4982,
21349,
289,
41282,
17594,
11,
664,
48568,
64,
424,
299,
2381,
260,
13,
15638,
645,
387,
339,
6679,
17594,
331,
920,
305,
1277,
78,
257,
1220,
11195,
11,
842,
411,
7335,
435,
17594,
3159,
705,
7061,
198,
220,
220,
220,
611,
705,
7220,
6,
287,
6246,
25,
198,
220,
220,
220,
220,
220,
220,
220,
20579,
796,
6246,
17816,
7220,
20520,
198,
220,
220,
220,
2073,
25,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
18941,
7,
6371,
62,
1640,
10786,
38235,
6,
4008,
220,
628,
220,
220,
220,
285,
506,
375,
65,
796,
40391,
13,
17614,
3419,
198,
220,
220,
220,
1366,
796,
285,
506,
375,
65,
13,
1136,
3419,
198,
220,
220,
220,
13532,
796,
17635,
198,
220,
220,
220,
4393,
796,
17635,
198,
220,
220,
220,
3891,
796,
17635,
198,
220,
220,
220,
7064,
796,
17635,
198,
220,
220,
220,
16969,
796,
17635,
198,
220,
220,
220,
15940,
796,
17635,
628,
220,
220,
220,
611,
2581,
13,
24396,
6624,
705,
32782,
6,
290,
705,
19160,
6,
287,
2581,
13,
687,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3670,
796,
2581,
13,
687,
17816,
19160,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
300,
35652,
796,
2581,
13,
687,
17816,
43,
35652,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
1715,
796,
2581,
13,
687,
17816,
24564,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
15940,
796,
2581,
13,
687,
17816,
36142,
20520,
628,
220,
220,
220,
220,
220,
220,
220,
2496,
796,
28686,
13,
6978,
13,
22179,
7,
24805,
62,
13252,
2394,
11,
705,
12708,
14,
17566,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2496,
62,
9945,
796,
705,
12708,
14,
17566,
6,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
28686,
13,
6978,
13,
9409,
343,
7,
16793,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
28686,
13,
28015,
15908,
7,
16793,
8,
198,
220,
220,
220,
220,
220,
220,
220,
329,
9516,
287,
2581,
13,
16624,
13,
1136,
4868,
7203,
7753,
1,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
29472,
796,
9516,
13,
34345,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
770,
318,
284,
11767,
3696,
389,
4855,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1070,
796,
28686,
13,
6978,
13,
22018,
578,
742,
7,
34345,
38381,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
357,
2302,
6624,
27071,
9479,
4943,
393,
357,
2302,
6624,
27071,
11134,
4943,
393,
357,
2302,
6624,
27071,
73,
22071,
1,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10965,
796,
12813,
1911,
22179,
26933,
16793,
11,
29472,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10965,
62,
9945,
796,
12813,
1911,
22179,
26933,
16793,
62,
9945,
11,
29472,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9516,
13,
21928,
7,
16520,
1883,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6626,
62,
31499,
796,
302,
13,
35312,
10786,
26,
930,
11,
930,
930,
11,
91,
26,
3256,
15940,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7550,
23004,
796,
285,
506,
375,
65,
13,
28463,
5159,
7,
29460,
11,
10965,
62,
9945,
11,
3670,
11,
1715,
11,
300,
35652,
11,
6626,
62,
31499,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
18941,
7,
6371,
62,
1640,
10786,
11195,
6,
4008,
628,
220,
220,
220,
611,
2581,
13,
24396,
6624,
705,
32782,
6,
290,
705,
43,
35652,
62,
24455,
6,
287,
2581,
13,
687,
25,
198,
220,
220,
220,
220,
220,
220,
220,
300,
35652,
796,
2581,
13,
687,
17816,
43,
35652,
62,
24455,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
4870,
796,
2581,
13,
687,
17816,
42419,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
7621,
796,
2581,
13,
687,
17816,
24835,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1366,
796,
285,
506,
375,
65,
13,
1136,
3886,
22417,
7,
75,
35652,
11,
18403,
11,
12985,
8,
628,
220,
220,
220,
611,
2581,
13,
24396,
6624,
705,
32782,
6,
290,
705,
19160,
62,
2865,
20040,
6,
287,
2581,
13,
687,
25,
198,
220,
220,
220,
220,
220,
220,
220,
5259,
43348,
796,
2581,
13,
687,
17816,
19160,
62,
2865,
20040,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
285,
506,
375,
65,
13,
28956,
32419,
5159,
7,
83,
270,
43348,
11,
20579,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1366,
796,
285,
506,
375,
65,
13,
1136,
3419,
628,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
329,
1312,
287,
2837,
7,
11925,
7,
7890,
8,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
13532,
13,
33295,
7,
7890,
58,
72,
7131,
6,
34053,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
4393,
13,
33295,
7,
7890,
58,
72,
7131,
6,
18403,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
3891,
13,
33295,
7,
7890,
58,
72,
7131,
6,
3672,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
7064,
13,
33295,
7,
7890,
58,
72,
7131,
6,
24886,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
16969,
13,
33295,
7,
7890,
58,
72,
7131,
6,
11213,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
15940,
13,
33295,
7,
7890,
58,
72,
7131,
6,
31499,
6,
12962,
628,
220,
220,
220,
220,
198,
220,
220,
220,
1441,
8543,
62,
28243,
10786,
11195,
13,
6494,
3256,
2836,
28,
29460,
11,
13532,
28,
6978,
82,
11,
4393,
28,
15605,
11,
3891,
28,
14933,
11,
7064,
28,
17946,
602,
11,
16969,
28,
20147,
1968,
507,
11,
15940,
28,
31499,
8,
198,
198,
31,
1324,
13,
38629,
7203,
14,
12683,
4933,
1600,
5050,
28,
17816,
32782,
41707,
18851,
6,
12962,
198,
198,
31,
1324,
13,
38629,
7203,
14,
6404,
7975,
4943,
198,
198,
31,
1324,
13,
38629,
7203,
14,
33678,
4943,
198,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
598,
13,
5143,
7,
4774,
2625,
15,
13,
15,
13,
15,
13,
15,
4943,
198
] | 2.338426 | 1,309 |
# @Author: Saadettin Yasir AKEL <developer>
# @Date: 2019-01-20T18:00:40+03:00
# @Email: [email protected]
# @Project: Harpiya Kurumsal Yönetim Sistemi
# @Filename: moka_success.py
# @Last modified by: developer
# @Last modified time: 2019-01-20T21:12:47+03:00
# @License: MIT License. See license.txt
# @Copyright: Harpiya Yazılım Teknolojileri
from __future__ import unicode_literals
import frappe
| [
2,
2488,
13838,
25,
10318,
324,
3087,
259,
25957,
343,
15837,
3698,
1279,
16244,
263,
29,
198,
2,
2488,
10430,
25,
220,
220,
13130,
12,
486,
12,
1238,
51,
1507,
25,
405,
25,
1821,
10,
3070,
25,
405,
198,
2,
2488,
15333,
25,
220,
331,
292,
343,
31,
71,
5117,
21008,
13,
785,
198,
2,
2488,
16775,
25,
2113,
14415,
3972,
18132,
5700,
282,
575,
9101,
3262,
320,
311,
396,
43967,
198,
2,
2488,
35063,
25,
285,
17411,
62,
13138,
13,
9078,
198,
2,
2488,
5956,
9518,
416,
25,
220,
220,
8517,
198,
2,
2488,
5956,
9518,
640,
25,
13130,
12,
486,
12,
1238,
51,
2481,
25,
1065,
25,
2857,
10,
3070,
25,
405,
198,
2,
2488,
34156,
25,
17168,
13789,
13,
4091,
5964,
13,
14116,
198,
2,
2488,
15269,
25,
2113,
14415,
3972,
35856,
30102,
75,
30102,
76,
33516,
77,
349,
13210,
5329,
72,
628,
198,
198,
6738,
11593,
37443,
834,
1330,
28000,
1098,
62,
17201,
874,
198,
198,
11748,
5306,
27768,
198
] | 2.493902 | 164 |
import unittest
from unittest import mock
import datetime
from pyopentsdb import tsdb
from pyopentsdb import errors
from pyopentsdb.query import tsdb_query_metrics_validation
from tests.testutils import get_mock_requests_post, mock_tsdb_connection_error_post, mock_unexpected_error_post
from tests.testutils import GeneralUrlTestCase, get_mock_utils_requests_post
# todo: unify repeating test
| [
11748,
555,
715,
395,
198,
6738,
555,
715,
395,
1330,
15290,
198,
11748,
4818,
8079,
198,
198,
6738,
12972,
404,
658,
9945,
1330,
40379,
9945,
198,
6738,
12972,
404,
658,
9945,
1330,
8563,
198,
6738,
12972,
404,
658,
9945,
13,
22766,
1330,
40379,
9945,
62,
22766,
62,
4164,
10466,
62,
12102,
341,
198,
198,
6738,
5254,
13,
9288,
26791,
1330,
651,
62,
76,
735,
62,
8897,
3558,
62,
7353,
11,
15290,
62,
912,
9945,
62,
38659,
62,
18224,
62,
7353,
11,
15290,
62,
403,
40319,
62,
18224,
62,
7353,
198,
6738,
5254,
13,
9288,
26791,
1330,
3611,
28165,
14402,
20448,
11,
651,
62,
76,
735,
62,
26791,
62,
8897,
3558,
62,
7353,
198,
198,
2,
284,
4598,
25,
555,
1958,
20394,
1332,
628,
628
] | 3.217742 | 124 |
# encoding: utf-8
import ckan.lib.base as base
CACHE_PARAMETERS = ['__cache', '__no_cache__']
| [
2,
21004,
25,
3384,
69,
12,
23,
198,
198,
11748,
269,
27541,
13,
8019,
13,
8692,
355,
2779,
198,
198,
34,
2246,
13909,
62,
27082,
2390,
2767,
4877,
796,
37250,
834,
23870,
3256,
705,
834,
3919,
62,
23870,
834,
20520,
628
] | 2.365854 | 41 |
CONSUMER_KEY = 'paste consumer key here'
CONSUMER_SECRET = 'paste consumer secret here'
ACCESS_TOKEN = 'paste access token here'
ACCESS_TOKEN_SECRET = 'paste access token secret here' | [
10943,
50,
5883,
1137,
62,
20373,
796,
705,
34274,
7172,
1994,
994,
6,
198,
10943,
50,
5883,
1137,
62,
23683,
26087,
796,
705,
34274,
7172,
3200,
994,
6,
198,
26861,
7597,
62,
10468,
43959,
796,
705,
34274,
1895,
11241,
994,
6,
198,
26861,
7597,
62,
10468,
43959,
62,
23683,
26087,
796,
705,
34274,
1895,
11241,
3200,
994,
6
] | 3.155172 | 58 |
import pytest
from chalice.test import Client
from botocore.stub import Stubber
@pytest.fixture(autouse=True)
@pytest.fixture
@pytest.fixture
@pytest.fixture
| [
11748,
12972,
9288,
198,
6738,
442,
282,
501,
13,
9288,
1330,
20985,
198,
6738,
10214,
420,
382,
13,
301,
549,
1330,
41135,
527,
628,
198,
31,
9078,
9288,
13,
69,
9602,
7,
2306,
1076,
28,
17821,
8,
628,
198,
31,
9078,
9288,
13,
69,
9602,
628,
198,
31,
9078,
9288,
13,
69,
9602,
628,
198,
31,
9078,
9288,
13,
69,
9602,
628
] | 2.693548 | 62 |
########################################
## Adventure Bot "Dennis" ##
## commands/help.py ##
## Copyright 2012-2013 PariahSoft LLC ##
########################################
## **********
## Permission is hereby granted, free of charge, to any person obtaining a copy
## of this software and associated documentation files (the "Software"), to
## deal in the Software without restriction, including without limitation the
## rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
## sell copies of the Software, and to permit persons to whom the Software is
## furnished to do so, subject to the following conditions:
##
## The above copyright notice and this permission notice shall be included in
## all copies or substantial portions of the Software.
##
## THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
## IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
## FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
## AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
## LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
## FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
## IN THE SOFTWARE.
## **********
################
# Help Command #
################
from helpers import *
### Help Entries ###
help_entries = [
["help", "help [command]", "List commands or give usage for specified command."],
["join", "join <pass>", "Authenticate and join the game. Creates account with pass on first join."],
["quit", "quit", "Leave the game."],
["say", "say <text>", "Say something in the current room's chat."],
["shout", "shout <text>", "Say something in the entire world's chat."],
["roll", "roll <min> <max>", "Roll a random number between min and max."],
["me", "me <text>", "Perform an action in the current room's chat."],
["look", "look [item|player]", "Look at current room, or specified item or player."],
["go", "go [exit]", "List exits in current room or use specified exit."],
["list", "list [name]", "List all rooms, or return the ID of the named room."],
["self", "self", "Look at yourself."],
["self SET", "self SET name|desc <text>", "Set your own name or description."],
["mkroom", "mkroom <name>", "Create a new named room and return its ID."],
["room", "room", "Look at the current room."],
["room SET", "room SET name|desc|lock|owner <text>", "Set current room's name, description, lock flag, or owner."],
["room UNLINK", "room UNLINK", "Remove all exits to the current room. Must be room owner."],
["exit", "exit", "List the current room's exits."],
["exit SET", "exit SET <id> <name>", "Create named exit in current room to specified room ID."],
["exit DEL", "exit DEL <name>", "Delete the named exit from current room."],
["mkitem", "mkitem <name>", "Create a new named item and return its ID."],
["item", "item", "List items in current room."],
["item SET", "item SET <id> name|desc <text>", "Set the item's name or description."],
["item DEL", "item DEL <id>", "Delete the named item from current room."],
["tp", "tp <id>", "Warp to the specified room by ID."],
["version", "version", "Print bot info and version."],
]
| [
29113,
7804,
198,
2235,
9553,
18579,
366,
35,
10679,
1,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
22492,
198,
2235,
9729,
14,
16794,
13,
9078,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
22492,
198,
2235,
15069,
2321,
12,
6390,
2547,
9520,
18380,
11419,
22492,
198,
29113,
7804,
198,
198,
2235,
220,
4557,
1174,
198,
2235,
2448,
3411,
318,
29376,
7520,
11,
1479,
286,
3877,
11,
284,
597,
1048,
16727,
257,
4866,
220,
198,
2235,
286,
428,
3788,
290,
3917,
10314,
3696,
357,
1169,
366,
25423,
12340,
284,
220,
198,
2235,
1730,
287,
262,
10442,
1231,
17504,
11,
1390,
1231,
17385,
262,
220,
198,
2235,
2489,
284,
779,
11,
4866,
11,
13096,
11,
20121,
11,
7715,
11,
14983,
11,
850,
43085,
11,
290,
14,
273,
220,
198,
2235,
3677,
9088,
286,
262,
10442,
11,
290,
284,
8749,
6506,
284,
4150,
262,
10442,
318,
220,
198,
2235,
30760,
284,
466,
523,
11,
2426,
284,
262,
1708,
3403,
25,
198,
2235,
198,
2235,
383,
2029,
6634,
4003,
290,
428,
7170,
4003,
2236,
307,
3017,
287,
220,
198,
2235,
477,
9088,
393,
8904,
16690,
286,
262,
10442,
13,
198,
2235,
198,
2235,
3336,
47466,
3180,
36592,
2389,
1961,
366,
1921,
3180,
1600,
42881,
34764,
56,
3963,
15529,
509,
12115,
11,
7788,
32761,
6375,
220,
198,
2235,
8959,
49094,
11,
47783,
2751,
21728,
5626,
40880,
5390,
3336,
34764,
11015,
3963,
34482,
3398,
1565,
5603,
25382,
11,
220,
198,
2235,
376,
46144,
7473,
317,
16652,
2149,
37232,
33079,
48933,
5357,
44521,
1268,
10913,
2751,
12529,
13,
3268,
8005,
49261,
50163,
3336,
220,
198,
2235,
37195,
20673,
6375,
27975,
38162,
9947,
367,
15173,
4877,
9348,
43031,
19146,
7473,
15529,
47666,
3955,
11,
29506,
25552,
6375,
25401,
220,
198,
2235,
43031,
25382,
11,
7655,
2767,
16879,
3268,
3537,
40282,
3963,
27342,
10659,
11,
309,
9863,
6375,
25401,
54,
24352,
11,
5923,
1797,
2751,
220,
198,
2235,
16034,
11,
16289,
3963,
6375,
3268,
7102,
45,
24565,
13315,
3336,
47466,
6375,
3336,
23210,
6375,
25401,
5550,
1847,
20754,
220,
198,
2235,
3268,
3336,
47466,
13,
198,
2235,
220,
4557,
1174,
198,
198,
14468,
198,
2,
10478,
9455,
1303,
198,
14468,
198,
198,
6738,
49385,
1330,
1635,
198,
198,
21017,
10478,
7232,
1678,
44386,
198,
198,
16794,
62,
298,
1678,
796,
685,
198,
197,
14692,
16794,
1600,
366,
16794,
685,
21812,
60,
1600,
366,
8053,
9729,
393,
1577,
8748,
329,
7368,
3141,
526,
4357,
198,
197,
14692,
22179,
1600,
366,
22179,
1279,
6603,
29,
1600,
366,
47649,
5344,
290,
4654,
262,
983,
13,
7921,
274,
1848,
351,
1208,
319,
717,
4654,
526,
4357,
198,
197,
14692,
47391,
1600,
366,
47391,
1600,
366,
35087,
262,
983,
526,
4357,
198,
197,
14692,
16706,
1600,
366,
16706,
1279,
5239,
29,
1600,
366,
25515,
1223,
287,
262,
1459,
2119,
338,
8537,
526,
4357,
198,
197,
14692,
1477,
448,
1600,
366,
1477,
448,
1279,
5239,
29,
1600,
366,
25515,
1223,
287,
262,
2104,
995,
338,
8537,
526,
4357,
198,
197,
14692,
2487,
1600,
366,
2487,
1279,
1084,
29,
1279,
9806,
29,
1600,
366,
26869,
257,
4738,
1271,
1022,
949,
290,
3509,
526,
4357,
198,
197,
14692,
1326,
1600,
366,
1326,
1279,
5239,
29,
1600,
366,
5990,
687,
281,
2223,
287,
262,
1459,
2119,
338,
8537,
526,
4357,
198,
197,
14692,
5460,
1600,
366,
5460,
685,
9186,
91,
7829,
60,
1600,
366,
8567,
379,
1459,
2119,
11,
393,
7368,
2378,
393,
2137,
526,
4357,
198,
197,
14692,
2188,
1600,
366,
2188,
685,
37023,
60,
1600,
366,
8053,
30151,
287,
1459,
2119,
393,
779,
7368,
8420,
526,
4357,
198,
197,
14692,
4868,
1600,
366,
4868,
685,
3672,
60,
1600,
366,
8053,
477,
9519,
11,
393,
1441,
262,
4522,
286,
262,
3706,
2119,
526,
4357,
198,
197,
14692,
944,
1600,
366,
944,
1600,
366,
8567,
379,
3511,
526,
4357,
198,
197,
14692,
944,
25823,
1600,
366,
944,
25823,
1438,
91,
20147,
1279,
5239,
29,
1600,
366,
7248,
534,
898,
1438,
393,
6764,
526,
4357,
198,
197,
14692,
28015,
3823,
1600,
366,
28015,
3823,
1279,
3672,
29,
1600,
366,
16447,
257,
649,
3706,
2119,
290,
1441,
663,
4522,
526,
4357,
198,
197,
14692,
3823,
1600,
366,
3823,
1600,
366,
8567,
379,
262,
1459,
2119,
526,
4357,
198,
197,
14692,
3823,
25823,
1600,
366,
3823,
25823,
1438,
91,
20147,
91,
5354,
91,
18403,
1279,
5239,
29,
1600,
366,
7248,
1459,
2119,
338,
1438,
11,
6764,
11,
5793,
6056,
11,
393,
4870,
526,
4357,
198,
197,
14692,
3823,
4725,
43,
17248,
1600,
366,
3823,
4725,
43,
17248,
1600,
366,
27914,
477,
30151,
284,
262,
1459,
2119,
13,
12039,
307,
2119,
4870,
526,
4357,
198,
197,
14692,
37023,
1600,
366,
37023,
1600,
366,
8053,
262,
1459,
2119,
338,
30151,
526,
4357,
198,
197,
14692,
37023,
25823,
1600,
366,
37023,
25823,
1279,
312,
29,
1279,
3672,
29,
1600,
366,
16447,
3706,
8420,
287,
1459,
2119,
284,
7368,
2119,
4522,
526,
4357,
198,
197,
14692,
37023,
28163,
1600,
366,
37023,
28163,
1279,
3672,
29,
1600,
366,
38727,
262,
3706,
8420,
422,
1459,
2119,
526,
4357,
198,
197,
14692,
28015,
9186,
1600,
366,
28015,
9186,
1279,
3672,
29,
1600,
366,
16447,
257,
649,
3706,
2378,
290,
1441,
663,
4522,
526,
4357,
198,
197,
14692,
9186,
1600,
366,
9186,
1600,
366,
8053,
3709,
287,
1459,
2119,
526,
4357,
198,
197,
14692,
9186,
25823,
1600,
366,
9186,
25823,
1279,
312,
29,
1438,
91,
20147,
1279,
5239,
29,
1600,
366,
7248,
262,
2378,
338,
1438,
393,
6764,
526,
4357,
198,
197,
14692,
9186,
28163,
1600,
366,
9186,
28163,
1279,
312,
29,
1600,
366,
38727,
262,
3706,
2378,
422,
1459,
2119,
526,
4357,
198,
197,
14692,
34788,
1600,
366,
34788,
1279,
312,
29,
1600,
366,
54,
5117,
284,
262,
7368,
2119,
416,
4522,
526,
4357,
198,
197,
14692,
9641,
1600,
366,
9641,
1600,
366,
18557,
10214,
7508,
290,
2196,
526,
4357,
198,
60,
628
] | 3.380412 | 970 |
import sys
from setuptools import setup
setup(
name="micropython-europi",
version="0.4.0",
description="EuroPi module for MicroPython",
long_description="""The EuroPi is a fully user reprogrammable EuroRack module based on the Raspberry Pi Pico, which allows users to process inputs and controls to produce outputs based on code written in Python.""",
url="https://github.com/Allen-Synthesis/EuroPi",
author="Allen Synthesis",
author_email="[email protected]",
license="Apache 2.0",
py_modules=[
"bootloader",
"calibrate",
"europi_script",
"europi",
"ui",
],
install_requires=[],
) | [
11748,
25064,
198,
198,
6738,
900,
37623,
10141,
1330,
9058,
198,
198,
40406,
7,
198,
220,
220,
220,
1438,
2625,
9383,
1773,
7535,
12,
44252,
14415,
1600,
198,
220,
220,
220,
2196,
2625,
15,
13,
19,
13,
15,
1600,
198,
220,
220,
220,
6764,
2625,
14398,
38729,
8265,
329,
4527,
37906,
1600,
198,
220,
220,
220,
890,
62,
11213,
2625,
15931,
464,
1898,
38729,
318,
257,
3938,
2836,
1128,
39529,
44102,
1898,
49,
441,
8265,
1912,
319,
262,
24244,
13993,
350,
3713,
11,
543,
3578,
2985,
284,
1429,
17311,
290,
6973,
284,
4439,
23862,
1912,
319,
2438,
3194,
287,
11361,
32203,
1600,
198,
220,
220,
220,
19016,
2625,
5450,
1378,
12567,
13,
785,
14,
39989,
12,
13940,
429,
8497,
14,
14398,
38729,
1600,
198,
220,
220,
220,
1772,
2625,
39989,
26375,
8497,
1600,
198,
220,
220,
220,
1772,
62,
12888,
2625,
32057,
31,
439,
641,
44411,
13,
1073,
13,
2724,
1600,
198,
220,
220,
220,
5964,
2625,
25189,
4891,
362,
13,
15,
1600,
198,
220,
220,
220,
12972,
62,
18170,
41888,
198,
220,
220,
220,
220,
220,
220,
220,
366,
18769,
29356,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
9948,
2889,
378,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
44252,
14415,
62,
12048,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
44252,
14415,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
9019,
1600,
198,
220,
220,
220,
16589,
198,
220,
220,
220,
2721,
62,
47911,
41888,
4357,
198,
8
] | 2.722892 | 249 |
from .core import *
from .rxtransform import *
from .models.all import *
from .labeller.all import *
| [
6738,
764,
7295,
1330,
1635,
198,
6738,
764,
81,
742,
26084,
687,
1330,
1635,
198,
6738,
764,
27530,
13,
439,
1330,
1635,
198,
6738,
764,
23912,
12368,
13,
439,
1330,
1635,
198
] | 3.15625 | 32 |
import pygame
from .settings import *
from .player import Player
from .udpserver_connection import UDPServerConnection
from server.settings import ADDR, PORT
pygame.init()
username = input("Enter username to join (4 characters max): ")
if username == "":
print("Empty username!")
exit()
elif len(username) > 4:
print("Username too long!")
exit()
conn = UDPServerConnection(ADDR, PORT)
player = conn.join(username)
display = pygame.display.set_mode((DISPLAY_WIDTH, DISPLAY_HEIGHT))
pygame.display.set_caption("Multiplayer Cubes")
try:
run = True
clock = pygame.time.Clock()
while run:
clock.tick(FPS)
for e in pygame.event.get():
if e.type == pygame.QUIT:
run = False
player.move()
player.check_collision()
display.fill(BG_COLOR)
player.draw(display)
conn.update(player, display)
pygame.display.update()
except KeyboardInterrupt:
pygame.quit()
conn.leave(player)
exit()
pygame.quit()
conn.leave(player)
| [
11748,
12972,
6057,
198,
6738,
764,
33692,
1330,
1635,
198,
6738,
764,
7829,
1330,
7853,
198,
6738,
764,
463,
862,
18497,
62,
38659,
1330,
43700,
3705,
18497,
32048,
198,
6738,
4382,
13,
33692,
1330,
5984,
7707,
11,
350,
9863,
628,
198,
9078,
6057,
13,
15003,
3419,
198,
198,
29460,
796,
5128,
7203,
17469,
20579,
284,
4654,
357,
19,
3435,
3509,
2599,
366,
8,
198,
361,
20579,
6624,
366,
1298,
198,
220,
220,
220,
3601,
7203,
40613,
20579,
2474,
8,
198,
220,
220,
220,
8420,
3419,
198,
417,
361,
18896,
7,
29460,
8,
1875,
604,
25,
198,
220,
220,
220,
3601,
7203,
5842,
13292,
1165,
890,
2474,
8,
198,
220,
220,
220,
8420,
3419,
198,
198,
37043,
796,
43700,
3705,
18497,
32048,
7,
2885,
7707,
11,
350,
9863,
8,
198,
7829,
796,
48260,
13,
22179,
7,
29460,
8,
198,
198,
13812,
796,
12972,
6057,
13,
13812,
13,
2617,
62,
14171,
19510,
26288,
31519,
62,
54,
2389,
4221,
11,
13954,
31519,
62,
13909,
9947,
4008,
198,
9078,
6057,
13,
13812,
13,
2617,
62,
6888,
1159,
7203,
29800,
7829,
7070,
274,
4943,
198,
198,
28311,
25,
198,
220,
220,
220,
1057,
796,
6407,
198,
220,
220,
220,
8801,
796,
12972,
6057,
13,
2435,
13,
44758,
3419,
198,
220,
220,
220,
981,
1057,
25,
198,
220,
220,
220,
220,
220,
220,
220,
8801,
13,
42298,
7,
37,
3705,
8,
198,
220,
220,
220,
220,
220,
220,
220,
329,
304,
287,
12972,
6057,
13,
15596,
13,
1136,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
304,
13,
4906,
6624,
12972,
6057,
13,
10917,
2043,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1057,
796,
10352,
628,
220,
220,
220,
220,
220,
220,
220,
2137,
13,
21084,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
2137,
13,
9122,
62,
26000,
1166,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
628,
220,
220,
220,
220,
220,
220,
220,
3359,
13,
20797,
7,
40469,
62,
46786,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2137,
13,
19334,
7,
13812,
8,
198,
220,
220,
220,
220,
220,
220,
220,
48260,
13,
19119,
7,
7829,
11,
3359,
8,
198,
220,
220,
220,
220,
220,
220,
220,
12972,
6057,
13,
13812,
13,
19119,
3419,
198,
16341,
31973,
9492,
3622,
25,
198,
220,
220,
220,
12972,
6057,
13,
47391,
3419,
198,
220,
220,
220,
48260,
13,
47408,
7,
7829,
8,
198,
220,
220,
220,
8420,
3419,
198,
198,
9078,
6057,
13,
47391,
3419,
198,
37043,
13,
47408,
7,
7829,
8,
198
] | 2.457944 | 428 |
from .BaseRequest import BaseRequest
class AddDefaultPermissionsRequest(BaseRequest):
"""
Add default permissions request for generating API requests to Tableau Server.
Note: update this class in the future to define the valid capability names based on the permissions object passed.
:param ts_connection: The Tableau Server connection object.
:type ts_connection: class
:param user_capability_dict: The dict defining user capabilities / permissions.
:type user_capability_dict: dict
:param group_capability_dict: The dict defining group capabilities / permissions.
:type group_capability_dict: dict
:param user_id: The user ID.
:type user_id: string
:param group_id: The group ID.
:type group_id: string
"""
@property
@property
@staticmethod
@property
@property
| [
6738,
764,
14881,
18453,
1330,
7308,
18453,
628,
198,
4871,
3060,
19463,
5990,
8481,
18453,
7,
14881,
18453,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
3060,
4277,
21627,
2581,
329,
15453,
7824,
7007,
284,
8655,
559,
9652,
13,
198,
220,
220,
220,
5740,
25,
4296,
428,
1398,
287,
262,
2003,
284,
8160,
262,
4938,
12971,
3891,
1912,
319,
262,
21627,
2134,
3804,
13,
628,
220,
220,
220,
1058,
17143,
40379,
62,
38659,
25,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
8655,
559,
9652,
4637,
2134,
13,
198,
220,
220,
220,
1058,
4906,
40379,
62,
38659,
25,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1398,
198,
220,
220,
220,
1058,
17143,
2836,
62,
11128,
1799,
62,
11600,
25,
220,
220,
220,
383,
8633,
16215,
2836,
9889,
1220,
21627,
13,
198,
220,
220,
220,
1058,
4906,
2836,
62,
11128,
1799,
62,
11600,
25,
220,
220,
220,
220,
8633,
198,
220,
220,
220,
1058,
17143,
1448,
62,
11128,
1799,
62,
11600,
25,
220,
220,
383,
8633,
16215,
1448,
9889,
1220,
21627,
13,
198,
220,
220,
220,
1058,
4906,
1448,
62,
11128,
1799,
62,
11600,
25,
220,
220,
220,
8633,
198,
220,
220,
220,
1058,
17143,
2836,
62,
312,
25,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
2836,
4522,
13,
198,
220,
220,
220,
1058,
4906,
2836,
62,
312,
25,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4731,
198,
220,
220,
220,
1058,
17143,
1448,
62,
312,
25,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
1448,
4522,
13,
198,
220,
220,
220,
1058,
4906,
1448,
62,
312,
25,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4731,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
2488,
26745,
628,
220,
220,
220,
2488,
26745,
628,
220,
220,
220,
2488,
12708,
24396,
628,
220,
220,
220,
2488,
26745,
628,
220,
220,
220,
2488,
26745,
198
] | 2.712644 | 348 |
import os
import glob
import pandas as pd
file_pattern = ':dir/*:year.csv'
proc_dir = 'processed'
buoys_file = os.path.join(proc_dir, 'icoads_buoys_ships.csv')
years = ['2015']
data = None
if not os.path.isdir(proc_dir):
os.mkdir(proc_dir)
for year in years:
print('Processing year', year)
pattern = file_pattern.replace(':dir', '.') \
.replace(':year', year)
files = glob.glob(pattern)
for file in files:
print(' Processing file', file)
df = pd.read_csv(file).loc[:, ['Identification',
'Latitude', 'Longitude']]
df['Longitude'] = [l if l <= 180 else l - 360
for l in df['Longitude'].values]
df.drop_duplicates(inplace=True)
print(' ', len(df), 'buoys/ships found in file!')
if data is not None:
data = pd.concat([data, df], ignore_index=True)
else:
data = df
data.columns = ['id', 'lat', 'lon']
data['id'] = data['id'].str.strip()
data.drop_duplicates('id', inplace=True)
print('Sorting records of processed file(s)')
data.sort_values(by=['id'], ascending=True, inplace=True)
print('Saving file', buoys_file)
data.to_csv(buoys_file, index=False)
print('\nDone!')
| [
11748,
28686,
198,
11748,
15095,
198,
11748,
19798,
292,
355,
279,
67,
628,
198,
7753,
62,
33279,
796,
705,
25,
15908,
15211,
25,
1941,
13,
40664,
6,
198,
36942,
62,
15908,
796,
705,
14681,
276,
6,
198,
11110,
19417,
62,
7753,
796,
28686,
13,
6978,
13,
22179,
7,
36942,
62,
15908,
11,
705,
291,
1170,
82,
62,
11110,
19417,
62,
26313,
13,
40664,
11537,
198,
19002,
796,
37250,
4626,
20520,
198,
198,
7890,
796,
6045,
198,
198,
361,
407,
28686,
13,
6978,
13,
9409,
343,
7,
36942,
62,
15908,
2599,
198,
220,
220,
220,
28686,
13,
28015,
15908,
7,
36942,
62,
15908,
8,
198,
198,
1640,
614,
287,
812,
25,
198,
220,
220,
220,
3601,
10786,
18709,
278,
614,
3256,
614,
8,
198,
220,
220,
220,
3912,
796,
2393,
62,
33279,
13,
33491,
7,
10354,
15908,
3256,
705,
2637,
8,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
764,
33491,
7,
10354,
1941,
3256,
614,
8,
198,
220,
220,
220,
3696,
796,
15095,
13,
4743,
672,
7,
33279,
8,
628,
220,
220,
220,
329,
2393,
287,
3696,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
220,
28403,
2393,
3256,
2393,
8,
198,
220,
220,
220,
220,
220,
220,
220,
47764,
796,
279,
67,
13,
961,
62,
40664,
7,
7753,
737,
17946,
58,
45299,
37250,
33234,
2649,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24220,
3984,
3256,
705,
14617,
3984,
6,
11907,
198,
220,
220,
220,
220,
220,
220,
220,
47764,
17816,
14617,
3984,
20520,
796,
685,
75,
611,
300,
19841,
11546,
2073,
300,
532,
11470,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
300,
287,
47764,
17816,
14617,
3984,
6,
4083,
27160,
60,
198,
220,
220,
220,
220,
220,
220,
220,
47764,
13,
14781,
62,
646,
489,
16856,
7,
259,
5372,
28,
17821,
8,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
220,
220,
46083,
18896,
7,
7568,
828,
705,
11110,
19417,
14,
26313,
1043,
287,
2393,
0,
11537,
628,
220,
220,
220,
220,
220,
220,
220,
611,
1366,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1366,
796,
279,
67,
13,
1102,
9246,
26933,
7890,
11,
47764,
4357,
8856,
62,
9630,
28,
17821,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1366,
796,
47764,
198,
198,
7890,
13,
28665,
82,
796,
37250,
312,
3256,
705,
15460,
3256,
705,
14995,
20520,
198,
7890,
17816,
312,
20520,
796,
1366,
17816,
312,
6,
4083,
2536,
13,
36311,
3419,
198,
7890,
13,
14781,
62,
646,
489,
16856,
10786,
312,
3256,
287,
5372,
28,
17821,
8,
198,
198,
4798,
10786,
50,
24707,
4406,
286,
13686,
2393,
7,
82,
8,
11537,
198,
7890,
13,
30619,
62,
27160,
7,
1525,
28,
17816,
312,
6,
4357,
41988,
28,
17821,
11,
287,
5372,
28,
17821,
8,
198,
198,
4798,
10786,
50,
2703,
2393,
3256,
809,
19417,
62,
7753,
8,
198,
7890,
13,
1462,
62,
40664,
7,
11110,
19417,
62,
7753,
11,
6376,
28,
25101,
8,
198,
198,
4798,
10786,
59,
77,
45677,
0,
11537,
198
] | 2.159864 | 588 |
#!/usr/bin/env python3
# Software License Agreement (BSD License)
#
# Copyright (c) 2020, UFACTORY, Inc.
# All rights reserved.
#
# Author: Vinman <[email protected]> <[email protected]>
import os
import math
import time
import warnings
from collections.abc import Iterable
from ..core.config.x_config import XCONF
from ..core.utils.log import logger
from .base import Base
from .gripper import Gripper
from .track import Track
from .base_board import BaseBoard
from .servo import Servo
from .record import Record
from .robotiq import RobotIQ
from .ft_sensor import FtSensor
from .parse import GcodeParser
from .code import APIState
from .decorator import xarm_is_connected, xarm_is_ready, xarm_wait_until_not_pause, xarm_wait_until_cmdnum_lt_max
from .utils import to_radian
try:
from ..tools.blockly_tool import BlocklyTool
except:
print('import BlocklyTool module failed')
BlocklyTool = None
gcode_p = GcodeParser()
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
18,
198,
2,
10442,
13789,
12729,
357,
21800,
13789,
8,
198,
2,
198,
2,
15069,
357,
66,
8,
12131,
11,
471,
37,
10659,
15513,
11,
3457,
13,
198,
2,
1439,
2489,
10395,
13,
198,
2,
198,
2,
6434,
25,
11820,
805,
1279,
7114,
805,
13,
21006,
31,
3603,
652,
13,
535,
29,
1279,
7114,
805,
13,
66,
549,
31,
14816,
13,
785,
29,
198,
198,
11748,
28686,
198,
11748,
10688,
198,
11748,
640,
198,
11748,
14601,
198,
6738,
17268,
13,
39305,
1330,
40806,
540,
198,
6738,
11485,
7295,
13,
11250,
13,
87,
62,
11250,
1330,
1395,
10943,
37,
198,
6738,
11485,
7295,
13,
26791,
13,
6404,
1330,
49706,
198,
6738,
764,
8692,
1330,
7308,
198,
6738,
764,
70,
380,
2848,
1330,
20914,
2848,
198,
6738,
764,
11659,
1330,
17762,
198,
6738,
764,
8692,
62,
3526,
1330,
7308,
29828,
198,
6738,
764,
3168,
78,
1330,
3116,
78,
198,
6738,
764,
22105,
1330,
13266,
198,
6738,
764,
22609,
5092,
80,
1330,
16071,
33866,
198,
6738,
764,
701,
62,
82,
22854,
1330,
45231,
47864,
198,
6738,
764,
29572,
1330,
402,
8189,
46677,
198,
6738,
764,
8189,
1330,
7824,
9012,
198,
6738,
764,
12501,
273,
1352,
1330,
2124,
1670,
62,
271,
62,
15236,
11,
2124,
1670,
62,
271,
62,
1493,
11,
2124,
1670,
62,
17077,
62,
28446,
62,
1662,
62,
32125,
11,
2124,
1670,
62,
17077,
62,
28446,
62,
28758,
22510,
62,
2528,
62,
9806,
198,
6738,
764,
26791,
1330,
284,
62,
6335,
666,
198,
28311,
25,
198,
220,
220,
220,
422,
11485,
31391,
13,
9967,
306,
62,
25981,
1330,
9726,
306,
25391,
198,
16341,
25,
198,
220,
220,
220,
3601,
10786,
11748,
9726,
306,
25391,
8265,
4054,
11537,
198,
220,
220,
220,
9726,
306,
25391,
796,
6045,
198,
198,
70,
8189,
62,
79,
796,
402,
8189,
46677,
3419,
628
] | 3.098684 | 304 |
# Base class for scalar quantities (single value evolving in time)
#
import matplotlib.pyplot as plt
import numpy as np
from . OutputException import OutputException
from . UnknownQuantity import UnknownQuantity
| [
2,
7308,
1398,
329,
16578,
283,
17794,
357,
29762,
1988,
21568,
287,
640,
8,
198,
2,
198,
198,
11748,
2603,
29487,
8019,
13,
9078,
29487,
355,
458,
83,
198,
11748,
299,
32152,
355,
45941,
198,
198,
6738,
764,
25235,
16922,
1330,
25235,
16922,
198,
6738,
764,
16185,
31208,
1330,
16185,
31208,
628,
628
] | 4.09434 | 53 |
from logging.config import dictConfig
import yaml
from pkg_resources import resource_stream
from workflow import logger, __version__
from workflow.builder import process_project
from workflow.config import Config
dictConfig(yaml.load(resource_stream(__name__, 'log.yml')))
if __name__ == '__main__':
c = Config()
logger.info('Azkaban Workflow Builder and Uploader version %s.' % __version__)
process_project(c.get_session(), c.name, c.definition, c.extra_properties, c.version, c.files)
| [
6738,
18931,
13,
11250,
1330,
8633,
16934,
198,
198,
11748,
331,
43695,
198,
6738,
279,
10025,
62,
37540,
1330,
8271,
62,
5532,
198,
198,
6738,
30798,
1330,
49706,
11,
11593,
9641,
834,
198,
6738,
30798,
13,
38272,
1330,
1429,
62,
16302,
198,
6738,
30798,
13,
11250,
1330,
17056,
198,
198,
11600,
16934,
7,
88,
43695,
13,
2220,
7,
31092,
62,
5532,
7,
834,
3672,
834,
11,
705,
6404,
13,
88,
4029,
6,
22305,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
269,
796,
17056,
3419,
198,
220,
220,
220,
49706,
13,
10951,
10786,
26903,
74,
45094,
5521,
11125,
35869,
290,
36803,
263,
2196,
4064,
82,
2637,
4064,
11593,
9641,
834,
8,
198,
220,
220,
220,
1429,
62,
16302,
7,
66,
13,
1136,
62,
29891,
22784,
269,
13,
3672,
11,
269,
13,
46758,
11,
269,
13,
26086,
62,
48310,
11,
269,
13,
9641,
11,
269,
13,
16624,
8,
198
] | 3.224359 | 156 |
import os,sys,random,json,timeit
from collections import defaultdict
filename_dict = dict()
filelist = []
feature_weights = defaultdict(int)
avg_weights = defaultdict(int)
json_dict = defaultdict(int)
if __name__ == '__main__':
start = timeit.default_timer()
with open('train.json',mode='r',encoding=None) as fp:
json_data = json.loads(fp.read())
file_name = 1
for each_item in json_data:
print(each_item["sentiment"])
if(each_item["sentiment"] == 0):
filename_dict[file_name] = {'label': 1, 'tokens': each_item["tokens"], 'filename':file_name}
filelist.append(file_name)
file_name += 1
else:
filename_dict[file_name] = {'label': -1, 'tokens': each_item["tokens"], 'filename':file_name}
filelist.append(file_name)
file_name += 1
learn_model()
with open('per_model_final.txt', 'w') as fp:
fp.write(json.dumps(json_dict))
total_time = timeit.default_timer() - start
print(total_time) | [
11748,
28686,
11,
17597,
11,
25120,
11,
17752,
11,
2435,
270,
201,
198,
6738,
17268,
1330,
4277,
11600,
201,
198,
201,
198,
34345,
62,
11600,
796,
8633,
3419,
201,
198,
7753,
4868,
796,
17635,
201,
198,
30053,
62,
43775,
796,
4277,
11600,
7,
600,
8,
201,
198,
615,
70,
62,
43775,
796,
4277,
11600,
7,
600,
8,
201,
198,
17752,
62,
11600,
796,
4277,
11600,
7,
600,
8,
201,
198,
201,
198,
201,
198,
201,
198,
201,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
201,
198,
201,
198,
220,
220,
220,
923,
796,
640,
270,
13,
12286,
62,
45016,
3419,
201,
198,
220,
220,
220,
351,
1280,
10786,
27432,
13,
17752,
3256,
14171,
11639,
81,
3256,
12685,
7656,
28,
14202,
8,
355,
277,
79,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
33918,
62,
7890,
796,
33918,
13,
46030,
7,
46428,
13,
961,
28955,
201,
198,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2393,
62,
3672,
796,
352,
201,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1123,
62,
9186,
287,
33918,
62,
7890,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
27379,
62,
9186,
14692,
34086,
3681,
8973,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
7,
27379,
62,
9186,
14692,
34086,
3681,
8973,
6624,
657,
2599,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
29472,
62,
11600,
58,
7753,
62,
3672,
60,
796,
1391,
6,
18242,
10354,
352,
11,
705,
83,
482,
641,
10354,
1123,
62,
9186,
14692,
83,
482,
641,
33116,
705,
34345,
10354,
7753,
62,
3672,
92,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2393,
4868,
13,
33295,
7,
7753,
62,
3672,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2393,
62,
3672,
15853,
352,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
29472,
62,
11600,
58,
7753,
62,
3672,
60,
796,
1391,
6,
18242,
10354,
532,
16,
11,
705,
83,
482,
641,
10354,
1123,
62,
9186,
14692,
83,
482,
641,
33116,
705,
34345,
10354,
7753,
62,
3672,
92,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2393,
4868,
13,
33295,
7,
7753,
62,
3672,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2393,
62,
3672,
15853,
352,
201,
198,
220,
220,
220,
2193,
62,
19849,
3419,
201,
198,
220,
220,
220,
351,
1280,
10786,
525,
62,
19849,
62,
20311,
13,
14116,
3256,
705,
86,
11537,
355,
277,
79,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
277,
79,
13,
13564,
7,
17752,
13,
67,
8142,
7,
17752,
62,
11600,
4008,
201,
198,
220,
220,
220,
2472,
62,
2435,
796,
640,
270,
13,
12286,
62,
45016,
3419,
532,
923,
201,
198,
220,
220,
220,
3601,
7,
23350,
62,
2435,
8
] | 2.084586 | 532 |
from .default import Experiment
coil20 = Experiment(
arch='alexnet',
hidden_dim=1024,
verbose=True,
log_dir='./logs/mytest',
device='cuda',
extra_record=True,
opt='adam',
epochs=50,
lr=1e-3,
batch_size=24,
cluster_hidden_dim=512,
ds_name='coil-20',
img_size=128,
input_channels=[1, 1, 1],
views=3,
clustering_loss_type='ddc',
num_cluster=20,
fusion_act='relu',
use_bn=True,
contrastive_type='simclr',
projection_layers=2,
projection_dim=512,
prediction_hidden_dim=0, # Just for simsiam.
contrastive_lambda=0.01,
temperature=0.1,
seed=0,
)
| [
6738,
764,
12286,
1330,
29544,
198,
198,
1073,
346,
1238,
796,
29544,
7,
198,
220,
220,
220,
3934,
11639,
1000,
87,
3262,
3256,
198,
220,
220,
220,
7104,
62,
27740,
28,
35500,
11,
198,
220,
220,
220,
15942,
577,
28,
17821,
11,
198,
220,
220,
220,
2604,
62,
15908,
28,
4458,
14,
6404,
82,
14,
1820,
9288,
3256,
198,
220,
220,
220,
3335,
11639,
66,
15339,
3256,
198,
220,
220,
220,
3131,
62,
22105,
28,
17821,
11,
198,
220,
220,
220,
2172,
11639,
324,
321,
3256,
198,
220,
220,
220,
36835,
82,
28,
1120,
11,
198,
220,
220,
220,
300,
81,
28,
16,
68,
12,
18,
11,
198,
220,
220,
220,
15458,
62,
7857,
28,
1731,
11,
198,
220,
220,
220,
13946,
62,
30342,
62,
27740,
28,
25836,
11,
198,
220,
220,
220,
288,
82,
62,
3672,
11639,
1073,
346,
12,
1238,
3256,
198,
220,
220,
220,
33705,
62,
7857,
28,
12762,
11,
198,
220,
220,
220,
5128,
62,
354,
8961,
41888,
16,
11,
352,
11,
352,
4357,
198,
220,
220,
220,
5009,
28,
18,
11,
198,
220,
220,
220,
32966,
1586,
62,
22462,
62,
4906,
11639,
1860,
66,
3256,
198,
220,
220,
220,
997,
62,
565,
5819,
28,
1238,
11,
198,
220,
220,
220,
21748,
62,
529,
11639,
260,
2290,
3256,
198,
220,
220,
220,
779,
62,
9374,
28,
17821,
11,
198,
220,
220,
220,
6273,
425,
62,
4906,
11639,
14323,
565,
81,
3256,
198,
220,
220,
220,
20128,
62,
75,
6962,
28,
17,
11,
198,
220,
220,
220,
20128,
62,
27740,
28,
25836,
11,
198,
220,
220,
220,
17724,
62,
30342,
62,
27740,
28,
15,
11,
220,
1303,
2329,
329,
985,
82,
1789,
13,
198,
220,
220,
220,
6273,
425,
62,
50033,
28,
15,
13,
486,
11,
198,
220,
220,
220,
5951,
28,
15,
13,
16,
11,
198,
220,
220,
220,
9403,
28,
15,
11,
198,
8,
198
] | 2.080645 | 310 |
from pyramid.authentication import AuthTktAuthenticationPolicy
from pyramid.authorization import ACLAuthorizationPolicy
from .models import User
| [
6738,
27944,
13,
41299,
3299,
1330,
26828,
51,
21841,
47649,
3299,
36727,
198,
6738,
27944,
13,
9800,
1634,
1330,
17382,
13838,
1634,
36727,
198,
198,
6738,
764,
27530,
1330,
11787,
628
] | 4.741935 | 31 |
import argparse
import json
from wechat import WeChat
if __name__ == '__main__':
main()
| [
11748,
1822,
29572,
198,
11748,
33918,
198,
198,
6738,
356,
17006,
1330,
775,
30820,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
1388,
3419,
198
] | 2.848485 | 33 |
# Overrides
from .base import * # noqa: F401
SECRET_KEY = 'za#q^j+$6frru&3*)b0yl=#9wmue%rf38akqux(fjvl-&zy@_l'
DEBUG = True
ALLOWED_HOSTS = ['*']
RUNSERVERPLUS_SERVER_ADDRESS_PORT = '0.0.0.0:8000'
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': os.environ.get('DATABASE_NAME'),
'USER': os.environ.get('DATABASE_USER'),
'PASSWORD': os.environ.get('DATABASE_PASSWORD'),
'HOST': os.environ.get('DATABASE_HOST'),
'PORT': os.environ.get('DATABASE_PORT'),
'OPTIONS': {
'sql_mode': 'strict_trans_tables',
}
}
}
ENVIRON_APPS = [
'wkhtmltopdf',
'corsheaders',
]
INSTALLED_APPS += ENVIRON_APPS
WKHTMLTOPDF_CMD = 'D:\\Tools\\wkhtmltopdf\\bin'
MIDDLEWARE.insert(0, 'corsheaders.middleware.CorsMiddleware')
CORS_ALLOW_ALL_ORIGINS = True | [
2,
3827,
81,
1460,
198,
6738,
764,
8692,
1330,
1635,
220,
1303,
645,
20402,
25,
376,
21844,
198,
198,
23683,
26087,
62,
20373,
796,
705,
4496,
2,
80,
61,
73,
10,
3,
21,
8310,
622,
5,
18,
28104,
65,
15,
2645,
46249,
24,
26377,
518,
4,
41871,
2548,
461,
421,
87,
7,
69,
73,
19279,
12,
5,
7357,
31,
62,
75,
6,
198,
198,
30531,
796,
6407,
198,
198,
7036,
3913,
1961,
62,
39,
10892,
50,
796,
37250,
9,
20520,
198,
198,
49,
4944,
35009,
5959,
6489,
2937,
62,
35009,
5959,
62,
2885,
7707,
7597,
62,
15490,
796,
705,
15,
13,
15,
13,
15,
13,
15,
25,
33942,
6,
198,
198,
35,
1404,
6242,
1921,
1546,
796,
1391,
198,
220,
220,
220,
705,
12286,
10354,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
26808,
8881,
10354,
705,
28241,
14208,
13,
9945,
13,
1891,
2412,
13,
28744,
13976,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
20608,
10354,
28686,
13,
268,
2268,
13,
1136,
10786,
35,
1404,
6242,
11159,
62,
20608,
33809,
198,
220,
220,
220,
220,
220,
220,
220,
705,
29904,
10354,
28686,
13,
268,
2268,
13,
1136,
10786,
35,
1404,
6242,
11159,
62,
29904,
33809,
198,
220,
220,
220,
220,
220,
220,
220,
705,
47924,
54,
12532,
10354,
28686,
13,
268,
2268,
13,
1136,
10786,
35,
1404,
6242,
11159,
62,
47924,
54,
12532,
33809,
198,
220,
220,
220,
220,
220,
220,
220,
705,
39,
10892,
10354,
28686,
13,
268,
2268,
13,
1136,
10786,
35,
1404,
6242,
11159,
62,
39,
10892,
33809,
198,
220,
220,
220,
220,
220,
220,
220,
705,
15490,
10354,
28686,
13,
268,
2268,
13,
1136,
10786,
35,
1404,
6242,
11159,
62,
15490,
33809,
198,
220,
220,
220,
220,
220,
220,
220,
705,
3185,
51,
11053,
10354,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
25410,
62,
14171,
10354,
705,
301,
2012,
62,
7645,
62,
83,
2977,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
1782,
198,
92,
198,
198,
1677,
53,
4663,
1340,
62,
2969,
3705,
796,
685,
198,
220,
220,
220,
705,
43021,
19211,
2528,
404,
7568,
3256,
198,
220,
220,
220,
705,
66,
669,
50145,
3256,
198,
60,
198,
198,
38604,
7036,
1961,
62,
2969,
3705,
15853,
12964,
53,
4663,
1340,
62,
2969,
3705,
198,
198,
54,
42,
28656,
35222,
8068,
62,
34,
12740,
796,
705,
35,
25,
6852,
33637,
6852,
43021,
19211,
2528,
404,
7568,
6852,
8800,
6,
198,
198,
44,
2389,
35,
2538,
33746,
13,
28463,
7,
15,
11,
705,
66,
669,
50145,
13,
27171,
1574,
13,
34,
669,
34621,
1574,
11537,
198,
198,
34,
20673,
62,
7036,
3913,
62,
7036,
62,
1581,
3528,
20913,
796,
6407
] | 1.886918 | 451 |
# Author: Aniruddha Gokhale
# Created: Fall 2019
# Modified: Spring 2021
#
# Purpose: demonstrate publishing of topic data type using flatbuffers
#
# Here our topic comprises a sequence number, a timestamp, and a data buffer
# of several uint32 numbers (whose value is not relevant to us)
# The different packages we need in this Python sample code
import os
import sys
import time
import serialize as sz # this is the package we have defined in the file serialize.py
import zmq
# This is the main method
if __name__ == '__main__':
main()
| [
2,
220,
6434,
25,
1052,
343,
4185,
3099,
402,
482,
71,
1000,
198,
2,
220,
15622,
25,
7218,
13130,
198,
2,
220,
40499,
25,
8225,
33448,
198,
2,
198,
2,
220,
32039,
25,
10176,
12407,
286,
7243,
1366,
2099,
1262,
6228,
36873,
364,
198,
2,
198,
2,
220,
3423,
674,
7243,
28800,
257,
8379,
1271,
11,
257,
41033,
11,
290,
257,
1366,
11876,
198,
2,
220,
286,
1811,
20398,
2624,
3146,
357,
38159,
1988,
318,
407,
5981,
284,
514,
8,
198,
198,
2,
383,
1180,
10392,
356,
761,
287,
428,
11361,
6291,
2438,
198,
11748,
28686,
198,
11748,
25064,
198,
11748,
640,
198,
11748,
11389,
1096,
355,
264,
89,
220,
1303,
428,
318,
262,
5301,
356,
423,
5447,
287,
262,
2393,
11389,
1096,
13,
9078,
198,
11748,
1976,
76,
80,
198,
198,
2,
770,
318,
262,
1388,
2446,
198,
220,
220,
220,
220,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
1388,
3419,
198
] | 3.459627 | 161 |
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
import fire
import zipfile
import requests
from tqdm import tqdm
from pathlib import Path
from loguru import logger
if __name__ == "__main__":
fire.Fire(GetData)
| [
2,
220,
15069,
357,
66,
8,
5413,
10501,
13,
198,
2,
220,
49962,
739,
262,
17168,
13789,
13,
198,
198,
11748,
2046,
198,
11748,
19974,
7753,
198,
11748,
7007,
198,
6738,
256,
80,
36020,
1330,
256,
80,
36020,
198,
6738,
3108,
8019,
1330,
10644,
198,
6738,
2604,
14717,
1330,
49706,
628,
198,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
2046,
13,
13543,
7,
3855,
6601,
8,
198
] | 3.266667 | 75 |
# coding: utf-8
"""Elliptic Curve Signature Algorithms."""
from __future__ import unicode_literals
from cryptography.hazmat.backends import default_backend
from cryptography.hazmat.primitives import hashes
from cryptography.hazmat.primitives.asymmetric import ec
| [
2,
19617,
25,
3384,
69,
12,
23,
198,
37811,
30639,
10257,
291,
46300,
34894,
978,
7727,
907,
526,
15931,
198,
6738,
11593,
37443,
834,
1330,
28000,
1098,
62,
17201,
874,
628,
198,
6738,
45898,
13,
71,
1031,
6759,
13,
1891,
2412,
1330,
4277,
62,
1891,
437,
198,
6738,
45898,
13,
71,
1031,
6759,
13,
19795,
20288,
1330,
46621,
198,
6738,
45898,
13,
71,
1031,
6759,
13,
19795,
20288,
13,
4107,
3020,
19482,
1330,
9940,
628
] | 3.546667 | 75 |
# coding=utf-8
# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from mpu import layers
from commons import set_random_seed
from commons import print_separator
from commons import initialize_distributed
import mpu
from torch.nn.parameter import Parameter
import torch.nn.init as init
import torch
import random
import sys
sys.path.append("../..")
if __name__ == '__main__':
torch.backends.cudnn.deterministic = True
torch.backends.cudnn.benchmark = False
initialize_distributed()
world_size = torch.distributed.get_world_size()
print_separator('test initialize affine weight')
model_parallel_size = 1
while model_parallel_size <= world_size:
test_initialize_affine_weight(model_parallel_size)
model_parallel_size *= 2
model_parallel_size = 1
while model_parallel_size <= world_size:
print_separator('test parallel embedding')
test_parallel_embedding(model_parallel_size)
model_parallel_size *= 2
print_separator('test column-parallel linear')
model_parallel_size = 1
while model_parallel_size <= world_size:
test_column_parallel_linear(model_parallel_size)
model_parallel_size *= 2
print_separator('test row-parallel linear')
model_parallel_size = 1
while model_parallel_size <= world_size:
test_row_parallel_linear(model_parallel_size)
model_parallel_size *= 2
print_separator('test parallel self-attention')
model_parallel_size = 1
while model_parallel_size <= world_size:
test_parallel_self_attention(model_parallel_size)
model_parallel_size *= 2
print_separator('test parallel transformer')
model_parallel_size = 1
while model_parallel_size <= world_size:
test_parallel_transformer_layer(model_parallel_size)
model_parallel_size *= 2
| [
2,
19617,
28,
40477,
12,
23,
198,
2,
15069,
357,
66,
8,
12131,
11,
15127,
23929,
44680,
6234,
13,
220,
1439,
2489,
10395,
13,
198,
2,
198,
2,
49962,
739,
262,
24843,
13789,
11,
10628,
362,
13,
15,
357,
1169,
366,
34156,
15341,
198,
2,
345,
743,
407,
779,
428,
2393,
2845,
287,
11846,
351,
262,
13789,
13,
198,
2,
921,
743,
7330,
257,
4866,
286,
262,
13789,
379,
198,
2,
198,
2,
220,
220,
220,
220,
2638,
1378,
2503,
13,
43073,
13,
2398,
14,
677,
4541,
14,
43,
2149,
24290,
12,
17,
13,
15,
198,
2,
198,
2,
17486,
2672,
416,
9723,
1099,
393,
4987,
284,
287,
3597,
11,
3788,
198,
2,
9387,
739,
262,
13789,
318,
9387,
319,
281,
366,
1921,
3180,
1,
29809,
1797,
11,
198,
2,
42881,
34764,
11015,
6375,
7102,
49828,
11053,
3963,
15529,
509,
12115,
11,
2035,
4911,
393,
17142,
13,
198,
2,
4091,
262,
13789,
329,
262,
2176,
3303,
15030,
21627,
290,
198,
2,
11247,
739,
262,
13789,
13,
198,
198,
6738,
285,
19944,
1330,
11685,
198,
6738,
36523,
1330,
900,
62,
25120,
62,
28826,
198,
6738,
36523,
1330,
3601,
62,
25512,
1352,
198,
6738,
36523,
1330,
41216,
62,
17080,
6169,
198,
11748,
285,
19944,
198,
6738,
28034,
13,
20471,
13,
17143,
2357,
1330,
25139,
2357,
198,
11748,
28034,
13,
20471,
13,
15003,
355,
2315,
198,
11748,
28034,
198,
11748,
4738,
198,
11748,
25064,
198,
17597,
13,
6978,
13,
33295,
7203,
40720,
492,
4943,
628,
628,
628,
628,
628,
628,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
628,
220,
220,
220,
28034,
13,
1891,
2412,
13,
66,
463,
20471,
13,
67,
2357,
49228,
796,
6407,
198,
220,
220,
220,
28034,
13,
1891,
2412,
13,
66,
463,
20471,
13,
26968,
4102,
796,
10352,
628,
220,
220,
220,
41216,
62,
17080,
6169,
3419,
198,
220,
220,
220,
995,
62,
7857,
796,
28034,
13,
17080,
6169,
13,
1136,
62,
6894,
62,
7857,
3419,
628,
220,
220,
220,
3601,
62,
25512,
1352,
10786,
9288,
41216,
1527,
500,
3463,
11537,
198,
220,
220,
220,
2746,
62,
1845,
29363,
62,
7857,
796,
352,
198,
220,
220,
220,
981,
2746,
62,
1845,
29363,
62,
7857,
19841,
995,
62,
7857,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1332,
62,
36733,
1096,
62,
2001,
500,
62,
6551,
7,
19849,
62,
1845,
29363,
62,
7857,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2746,
62,
1845,
29363,
62,
7857,
1635,
28,
362,
628,
220,
220,
220,
2746,
62,
1845,
29363,
62,
7857,
796,
352,
198,
220,
220,
220,
981,
2746,
62,
1845,
29363,
62,
7857,
19841,
995,
62,
7857,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
62,
25512,
1352,
10786,
9288,
10730,
11525,
12083,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
1332,
62,
1845,
29363,
62,
20521,
12083,
7,
19849,
62,
1845,
29363,
62,
7857,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2746,
62,
1845,
29363,
62,
7857,
1635,
28,
362,
628,
220,
220,
220,
3601,
62,
25512,
1352,
10786,
9288,
5721,
12,
1845,
29363,
14174,
11537,
198,
220,
220,
220,
2746,
62,
1845,
29363,
62,
7857,
796,
352,
198,
220,
220,
220,
981,
2746,
62,
1845,
29363,
62,
7857,
19841,
995,
62,
7857,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1332,
62,
28665,
62,
1845,
29363,
62,
29127,
7,
19849,
62,
1845,
29363,
62,
7857,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2746,
62,
1845,
29363,
62,
7857,
1635,
28,
362,
628,
220,
220,
220,
3601,
62,
25512,
1352,
10786,
9288,
5752,
12,
1845,
29363,
14174,
11537,
198,
220,
220,
220,
2746,
62,
1845,
29363,
62,
7857,
796,
352,
198,
220,
220,
220,
981,
2746,
62,
1845,
29363,
62,
7857,
19841,
995,
62,
7857,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1332,
62,
808,
62,
1845,
29363,
62,
29127,
7,
19849,
62,
1845,
29363,
62,
7857,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2746,
62,
1845,
29363,
62,
7857,
1635,
28,
362,
628,
220,
220,
220,
3601,
62,
25512,
1352,
10786,
9288,
10730,
2116,
12,
1078,
1463,
11537,
198,
220,
220,
220,
2746,
62,
1845,
29363,
62,
7857,
796,
352,
198,
220,
220,
220,
981,
2746,
62,
1845,
29363,
62,
7857,
19841,
995,
62,
7857,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1332,
62,
1845,
29363,
62,
944,
62,
1078,
1463,
7,
19849,
62,
1845,
29363,
62,
7857,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2746,
62,
1845,
29363,
62,
7857,
1635,
28,
362,
628,
220,
220,
220,
3601,
62,
25512,
1352,
10786,
9288,
10730,
47385,
11537,
198,
220,
220,
220,
2746,
62,
1845,
29363,
62,
7857,
796,
352,
198,
220,
220,
220,
981,
2746,
62,
1845,
29363,
62,
7857,
19841,
995,
62,
7857,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1332,
62,
1845,
29363,
62,
7645,
16354,
62,
29289,
7,
19849,
62,
1845,
29363,
62,
7857,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2746,
62,
1845,
29363,
62,
7857,
1635,
28,
362,
198
] | 2.893029 | 832 |
"""
Lib load modules for pyndv
"""
import logging
from pyndv import core
logging.basicConfig(format="%(levelname)s: %(message)s", level=logging.INFO)
__all__ = core
| [
37811,
198,
25835,
3440,
13103,
329,
12972,
358,
85,
198,
37811,
628,
198,
11748,
18931,
198,
198,
6738,
12972,
358,
85,
1330,
4755,
198,
198,
6404,
2667,
13,
35487,
16934,
7,
18982,
2625,
4,
7,
5715,
3672,
8,
82,
25,
4064,
7,
20500,
8,
82,
1600,
1241,
28,
6404,
2667,
13,
10778,
8,
628,
198,
834,
439,
834,
796,
4755,
198
] | 2.803279 | 61 |
import matplotlib
matplotlib.use('agg')
from glob import glob
import numpy as np
import matplotlib.pyplot as plt
import pandas as pd
import matplotlib.patches as mpatches
from statsmodels.distributions.empirical_distribution import ECDF
from scipy.stats import ranksums
from scipy.stats import ttest_ind
from scipy.stats import mannwhitneyu
# returns list of genes that have expression above 0 for cell type within 10,000 bp from tss
# find gene expression for individual annotated peak set
# x[-3:-1] refer to gene expression for B cells, Monocytes, and T cells
# x[15] refers to the gene's name
# x[9] refers to TSS distance
filepaths=glob("*.anno")
rand=False
inter=False
cell_type=""
assay=""
expr_dict={}
offset_dict={"t_cell":1,"b_cell":3,"mono":2}
for file in filepaths:
if "rand" in file:
rand=True
else:
rand=False
if "inter" in file:
inter=True
else:
inter=False
if "t_cell" in file:
cell_type="t_cell"
if "b_cell" in file:
cell_type="b_cell"
if "mono" in file:
cell_type="mono"
if "dnase" in file:
assay="dnase"
if "atac" in file:
assay="atac"
offset=offset_dict[cell_type]
if rand:
cand_name=file
comp_name=[x for x in filepaths if "rand" not in x and cell_type in x]
cand=find_cands(cand_name,offset)
comp=find_cands(comp_name,offset)
filtered_cand={x:cand[x] for x in cand if x not in comp.keys()}
else:
cand_name=file
comp_name=[x for x in filepaths if "rand" not in x and cell_type in x and assay not in x]
cand=find_cands(cand_name,offset)
comp=find_cands(comp_name,offset)
filtered_cand={x:cand[x] for x in cand if x not in comp.keys()}
if cell_type not in expr_dict:
expr_dict[cell_type]={}
if assay not in expr_dict[cell_type]:
expr_dict[cell_type][assay]={}
if (inter,rand) not in expr_dict[cell_type][assay]:
expr_dict[cell_type][assay][(inter,rand)]=filtered_cand
assay_dict={"dnase":0,"atac":1}
assay_col={"dnase":'tomato',"atac":'skyblue'}
title_dict={"t_cell":"T cell","b_cell":"B cell","mono":"Monocyte"}
plt.rcParams.update({'font.size': 14})
for i in expr_dict:
fig = plt.figure(figsize=(4, 6))
ax = fig.add_subplot(111)
ax.spines['top'].set_color('none')
ax.spines['bottom'].set_color('none')
ax.spines['left'].set_color('none')
ax.spines['right'].set_color('none')
ax.tick_params(labelcolor='w', top='off', bottom='off', left='off', right='off')
count=1
for j in ["dnase","atac"]:
# for k in [False,True]:
ax1=fig.add_subplot(2,1,count)
assay=[x[3-offset_dict[i]] for x in list(expr_dict[i][j][(False,False)].values())]
rand_assay=[x[3-offset_dict[i]] for x in list(expr_dict[i][j][(False,True)].values())]
assay=[x for x in assay if x >100]
rand_assay=[x for x in rand_assay if x >100]
bp_dict={1:[x for x in assay],2:[x for x in rand_assay]}
bp=ax1.boxplot(bp_dict.values(),showfliers=False)
ax1.plot(np.random.normal(1,0.02,size=len(assay)),[x for x in assay],'.',color=assay_col[j],alpha=0.2)
ax1.plot(np.random.normal(2,0.02,size=len(rand_assay)),[x for x in rand_assay],'.',color='#c39999',alpha=0.2)
bp['medians'][0].set_color('navy')
bp['medians'][1].set_color('navy')
# ax1.set_xticklabels(["assay","random"])
ax1.text(1,np.max(ax1.get_ybound())+100,"p-value = "+str(np.around(mannwhitneyu(bp_dict[1],bp_dict[2],alternative="greater").pvalue,5)),fontsize=10)
count+=1
# if k==False:
# ax1.set_ylabel({"dnase":"DNase","atac":"ATAC"}[j])
if j=="atac":
ax1.set_xticklabels(["scATAC","random"])
# ax1.set_xlabel({False:"unique",True:"specific"}[k])
if j=="dnase":
ax1.set_xticklabels(["iscDNase","random"])
# if j=="dnase" and k==True:
# dnase_patch = mpatches.Patch(color='tomato', label='DNase')
# atac_patch = mpatches.Patch(color='skyblue', label='ATAC')
# intersect_patch = mpatches.Patch(color='#c39999', label='random')
# ax1.legend(handles=[dnase_patch,atac_patch,intersect_patch], frameon=False,handlelength=0.7,loc='upper center')
ax1.spines['right'].set_visible(False)
ax1.spines['top'].set_visible(False)
# ax.set_xlabel("",labelpad=20)
ax.set_ylabel("Gene expression (RPKM)",labelpad=20)
plt.tight_layout()
plt.savefig("../../../../Figures/Figure3/"+i+"_expr.png")
| [
11748,
2603,
29487,
8019,
198,
6759,
29487,
8019,
13,
1904,
10786,
9460,
11537,
198,
198,
6738,
15095,
1330,
15095,
198,
11748,
299,
32152,
355,
45941,
198,
11748,
2603,
29487,
8019,
13,
9078,
29487,
355,
458,
83,
198,
11748,
19798,
292,
355,
279,
67,
198,
11748,
2603,
29487,
8019,
13,
8071,
2052,
355,
285,
8071,
2052,
198,
6738,
9756,
27530,
13,
17080,
2455,
507,
13,
368,
4063,
605,
62,
17080,
3890,
1330,
13182,
8068,
198,
6738,
629,
541,
88,
13,
34242,
1330,
9803,
5700,
198,
6738,
629,
541,
88,
13,
34242,
1330,
256,
9288,
62,
521,
198,
6738,
629,
541,
88,
13,
34242,
1330,
582,
77,
1929,
270,
1681,
84,
198,
198,
2,
5860,
1351,
286,
10812,
326,
423,
5408,
2029,
657,
329,
2685,
2099,
1626,
838,
11,
830,
275,
79,
422,
256,
824,
198,
2,
1064,
9779,
5408,
329,
1981,
24708,
515,
9103,
900,
220,
198,
2,
2124,
58,
12,
18,
21912,
16,
60,
3522,
284,
9779,
5408,
329,
347,
4778,
11,
2892,
30309,
11,
290,
309,
4778,
198,
2,
2124,
58,
1314,
60,
10229,
284,
262,
9779,
338,
1438,
198,
2,
2124,
58,
24,
60,
10229,
284,
309,
5432,
5253,
220,
220,
198,
198,
7753,
6978,
82,
28,
4743,
672,
7203,
24620,
1236,
78,
4943,
198,
198,
25192,
28,
25101,
198,
3849,
28,
25101,
198,
3846,
62,
4906,
33151,
198,
562,
323,
33151,
198,
198,
31937,
62,
11600,
34758,
92,
198,
28968,
62,
11600,
28,
4895,
83,
62,
3846,
1298,
16,
553,
65,
62,
3846,
1298,
18,
553,
2144,
78,
1298,
17,
92,
198,
198,
1640,
2393,
287,
2393,
6978,
82,
25,
198,
197,
361,
366,
25192,
1,
287,
2393,
25,
198,
197,
197,
25192,
28,
17821,
198,
197,
17772,
25,
198,
197,
197,
25192,
28,
25101,
198,
197,
361,
366,
3849,
1,
287,
2393,
25,
198,
197,
197,
3849,
28,
17821,
198,
197,
17772,
25,
198,
197,
197,
3849,
28,
25101,
198,
197,
361,
366,
83,
62,
3846,
1,
287,
2393,
25,
198,
197,
197,
3846,
62,
4906,
2625,
83,
62,
3846,
1,
198,
197,
361,
366,
65,
62,
3846,
1,
287,
2393,
25,
198,
197,
197,
3846,
62,
4906,
2625,
65,
62,
3846,
1,
198,
197,
361,
366,
2144,
78,
1,
287,
2393,
25,
198,
197,
197,
3846,
62,
4906,
2625,
2144,
78,
1,
198,
197,
361,
366,
32656,
589,
1,
287,
2393,
25,
198,
197,
197,
562,
323,
2625,
32656,
589,
1,
198,
197,
361,
366,
265,
330,
1,
287,
2393,
25,
198,
197,
197,
562,
323,
2625,
265,
330,
1,
198,
197,
28968,
28,
28968,
62,
11600,
58,
3846,
62,
4906,
60,
628,
197,
361,
43720,
25,
198,
197,
197,
46188,
62,
3672,
28,
7753,
198,
197,
197,
5589,
62,
3672,
41888,
87,
329,
2124,
287,
2393,
6978,
82,
611,
366,
25192,
1,
407,
287,
2124,
290,
2685,
62,
4906,
287,
2124,
60,
198,
197,
197,
46188,
28,
19796,
62,
66,
1746,
7,
46188,
62,
3672,
11,
28968,
8,
198,
197,
197,
5589,
28,
19796,
62,
66,
1746,
7,
5589,
62,
3672,
11,
28968,
8,
198,
197,
197,
10379,
4400,
62,
46188,
34758,
87,
25,
46188,
58,
87,
60,
329,
2124,
287,
2658,
611,
2124,
407,
287,
552,
13,
13083,
3419,
92,
198,
197,
17772,
25,
198,
197,
197,
46188,
62,
3672,
28,
7753,
198,
197,
197,
5589,
62,
3672,
41888,
87,
329,
2124,
287,
2393,
6978,
82,
611,
366,
25192,
1,
407,
287,
2124,
290,
2685,
62,
4906,
287,
2124,
290,
40575,
407,
287,
2124,
60,
198,
197,
197,
46188,
28,
19796,
62,
66,
1746,
7,
46188,
62,
3672,
11,
28968,
8,
198,
197,
197,
5589,
28,
19796,
62,
66,
1746,
7,
5589,
62,
3672,
11,
28968,
8,
198,
197,
197,
10379,
4400,
62,
46188,
34758,
87,
25,
46188,
58,
87,
60,
329,
2124,
287,
2658,
611,
2124,
407,
287,
552,
13,
13083,
3419,
92,
198,
197,
361,
2685,
62,
4906,
407,
287,
44052,
62,
11600,
25,
198,
197,
197,
31937,
62,
11600,
58,
3846,
62,
4906,
22241,
90,
92,
198,
197,
361,
40575,
407,
287,
44052,
62,
11600,
58,
3846,
62,
4906,
5974,
198,
197,
197,
31937,
62,
11600,
58,
3846,
62,
4906,
7131,
562,
323,
22241,
90,
92,
198,
197,
361,
357,
3849,
11,
25192,
8,
407,
287,
44052,
62,
11600,
58,
3846,
62,
4906,
7131,
562,
323,
5974,
198,
197,
197,
31937,
62,
11600,
58,
3846,
62,
4906,
7131,
562,
323,
7131,
7,
3849,
11,
25192,
15437,
28,
10379,
4400,
62,
46188,
198,
198,
562,
323,
62,
11600,
28,
4895,
32656,
589,
1298,
15,
553,
265,
330,
1298,
16,
92,
198,
562,
323,
62,
4033,
28,
4895,
32656,
589,
1298,
6,
39532,
5549,
40264,
265,
330,
1298,
6,
15688,
17585,
6,
92,
198,
7839,
62,
11600,
28,
4895,
83,
62,
3846,
2404,
51,
2685,
2430,
65,
62,
3846,
2404,
33,
2685,
2430,
2144,
78,
2404,
9069,
43320,
20662,
198,
198,
489,
83,
13,
6015,
10044,
4105,
13,
19119,
15090,
6,
10331,
13,
7857,
10354,
1478,
30072,
198,
198,
1640,
1312,
287,
44052,
62,
11600,
25,
198,
197,
5647,
796,
458,
83,
13,
26875,
7,
5647,
7857,
16193,
19,
11,
718,
4008,
198,
197,
897,
796,
2336,
13,
2860,
62,
7266,
29487,
7,
16243,
8,
198,
197,
897,
13,
2777,
1127,
17816,
4852,
6,
4083,
2617,
62,
8043,
10786,
23108,
11537,
198,
197,
897,
13,
2777,
1127,
17816,
22487,
6,
4083,
2617,
62,
8043,
10786,
23108,
11537,
198,
197,
897,
13,
2777,
1127,
17816,
9464,
6,
4083,
2617,
62,
8043,
10786,
23108,
11537,
198,
197,
897,
13,
2777,
1127,
17816,
3506,
6,
4083,
2617,
62,
8043,
10786,
23108,
11537,
198,
197,
897,
13,
42298,
62,
37266,
7,
18242,
8043,
11639,
86,
3256,
1353,
11639,
2364,
3256,
4220,
11639,
2364,
3256,
1364,
11639,
2364,
3256,
826,
11639,
2364,
11537,
198,
197,
9127,
28,
16,
198,
197,
1640,
474,
287,
14631,
32656,
589,
2430,
265,
330,
1,
5974,
198,
2,
197,
197,
1640,
479,
287,
685,
25101,
11,
17821,
5974,
198,
197,
197,
897,
16,
28,
5647,
13,
2860,
62,
7266,
29487,
7,
17,
11,
16,
11,
9127,
8,
198,
197,
197,
562,
323,
41888,
87,
58,
18,
12,
28968,
62,
11600,
58,
72,
11907,
329,
2124,
287,
1351,
7,
31937,
62,
11600,
58,
72,
7131,
73,
7131,
7,
25101,
11,
25101,
25295,
27160,
3419,
15437,
198,
197,
197,
25192,
62,
562,
323,
41888,
87,
58,
18,
12,
28968,
62,
11600,
58,
72,
11907,
329,
2124,
287,
1351,
7,
31937,
62,
11600,
58,
72,
7131,
73,
7131,
7,
25101,
11,
17821,
25295,
27160,
3419,
15437,
628,
197,
197,
562,
323,
41888,
87,
329,
2124,
287,
40575,
611,
2124,
1875,
3064,
60,
198,
197,
197,
25192,
62,
562,
323,
41888,
87,
329,
2124,
287,
43720,
62,
562,
323,
611,
2124,
1875,
3064,
60,
628,
197,
197,
46583,
62,
11600,
34758,
16,
33250,
87,
329,
2124,
287,
40575,
4357,
17,
33250,
87,
329,
2124,
287,
43720,
62,
562,
323,
48999,
628,
198,
197,
197,
46583,
28,
897,
16,
13,
3524,
29487,
7,
46583,
62,
11600,
13,
27160,
22784,
12860,
2704,
3183,
28,
25101,
8,
198,
197,
197,
897,
16,
13,
29487,
7,
37659,
13,
25120,
13,
11265,
7,
16,
11,
15,
13,
2999,
11,
7857,
28,
11925,
7,
562,
323,
36911,
58,
87,
329,
2124,
287,
40575,
60,
4032,
2637,
11,
8043,
28,
562,
323,
62,
4033,
58,
73,
4357,
26591,
28,
15,
13,
17,
8,
198,
197,
197,
897,
16,
13,
29487,
7,
37659,
13,
25120,
13,
11265,
7,
17,
11,
15,
13,
2999,
11,
7857,
28,
11925,
7,
25192,
62,
562,
323,
36911,
58,
87,
329,
2124,
287,
43720,
62,
562,
323,
60,
4032,
2637,
11,
8043,
11639,
2,
66,
18,
24214,
3256,
26591,
28,
15,
13,
17,
8,
628,
197,
197,
46583,
17816,
1150,
1547,
6,
7131,
15,
4083,
2617,
62,
8043,
10786,
77,
2830,
11537,
198,
197,
197,
46583,
17816,
1150,
1547,
6,
7131,
16,
4083,
2617,
62,
8043,
10786,
77,
2830,
11537,
198,
198,
2,
197,
197,
897,
16,
13,
2617,
62,
742,
624,
23912,
1424,
7,
14692,
562,
323,
2430,
25120,
8973,
8,
198,
197,
197,
897,
16,
13,
5239,
7,
16,
11,
37659,
13,
9806,
7,
897,
16,
13,
1136,
62,
88,
7784,
28955,
10,
3064,
553,
79,
12,
8367,
796,
43825,
2536,
7,
37659,
13,
14145,
7,
9038,
1929,
270,
1681,
84,
7,
46583,
62,
11600,
58,
16,
4357,
46583,
62,
11600,
58,
17,
4357,
33645,
876,
2625,
18223,
263,
11074,
79,
8367,
11,
20,
36911,
10331,
7857,
28,
940,
8,
198,
197,
197,
9127,
47932,
16,
198,
198,
2,
197,
197,
361,
479,
855,
25101,
25,
198,
2,
197,
197,
197,
197,
897,
16,
13,
2617,
62,
2645,
9608,
7,
4895,
32656,
589,
2404,
35504,
589,
2430,
265,
330,
2404,
1404,
2246,
20662,
58,
73,
12962,
198,
197,
197,
361,
474,
855,
1,
265,
330,
1298,
198,
197,
197,
197,
897,
16,
13,
2617,
62,
742,
624,
23912,
1424,
7,
14692,
1416,
1404,
2246,
2430,
25120,
8973,
8,
198,
2,
197,
197,
197,
897,
16,
13,
2617,
62,
87,
18242,
15090,
25101,
11097,
34642,
1600,
17821,
11097,
11423,
20662,
58,
74,
12962,
198,
197,
197,
361,
474,
855,
1,
32656,
589,
1298,
198,
197,
197,
197,
897,
16,
13,
2617,
62,
742,
624,
23912,
1424,
7,
14692,
2304,
35504,
589,
2430,
25120,
8973,
8,
198,
2,
197,
197,
361,
474,
855,
1,
32656,
589,
1,
290,
479,
855,
17821,
25,
198,
2,
197,
197,
197,
32656,
589,
62,
17147,
796,
285,
8071,
2052,
13,
33952,
7,
8043,
11639,
39532,
5549,
3256,
6167,
11639,
35504,
589,
11537,
198,
2,
197,
197,
197,
265,
330,
62,
17147,
796,
285,
8071,
2052,
13,
33952,
7,
8043,
11639,
15688,
17585,
3256,
6167,
11639,
1404,
2246,
11537,
198,
2,
197,
197,
197,
3849,
8831,
62,
17147,
796,
285,
8071,
2052,
13,
33952,
7,
8043,
11639,
2,
66,
18,
24214,
3256,
6167,
11639,
25120,
11537,
198,
2,
197,
197,
197,
897,
16,
13,
1455,
437,
7,
4993,
829,
41888,
32656,
589,
62,
17147,
11,
265,
330,
62,
17147,
11,
3849,
8831,
62,
17147,
4357,
5739,
261,
28,
25101,
11,
28144,
13664,
28,
15,
13,
22,
11,
17946,
11639,
45828,
3641,
11537,
198,
197,
197,
897,
16,
13,
2777,
1127,
17816,
3506,
6,
4083,
2617,
62,
23504,
7,
25101,
8,
198,
197,
197,
897,
16,
13,
2777,
1127,
17816,
4852,
6,
4083,
2617,
62,
23504,
7,
25101,
8,
198,
2,
197,
897,
13,
2617,
62,
87,
18242,
7203,
1600,
18242,
15636,
28,
1238,
8,
198,
197,
897,
13,
2617,
62,
2645,
9608,
7203,
39358,
5408,
357,
20031,
42,
44,
42501,
18242,
15636,
28,
1238,
8,
198,
197,
489,
83,
13,
33464,
62,
39786,
3419,
198,
197,
489,
83,
13,
21928,
5647,
7203,
40720,
40720,
40720,
40720,
14989,
942,
14,
11337,
18,
30487,
10,
72,
10,
1,
62,
31937,
13,
11134,
4943,
628,
628,
628
] | 2.341011 | 1,780 |
from setuptools import setup
setup(
name='pso-nn',
version='',
packages=['pso'],
package_dir={'': 'src'},
url='',
license='',
author='Marcio Carvalho',
author_email='[email protected]',
description='',
check_format=True,
# Enable type checking
test_mypy=False,
# Enable linting at build time
test_flake8=True,
)
| [
6738,
900,
37623,
10141,
1330,
9058,
198,
198,
40406,
7,
198,
220,
220,
220,
1438,
11639,
79,
568,
12,
20471,
3256,
198,
220,
220,
220,
2196,
11639,
3256,
198,
220,
220,
220,
10392,
28,
17816,
79,
568,
6,
4357,
198,
220,
220,
220,
5301,
62,
15908,
34758,
7061,
25,
705,
10677,
6,
5512,
198,
220,
220,
220,
19016,
11639,
3256,
198,
220,
220,
220,
5964,
11639,
3256,
198,
220,
220,
220,
1772,
11639,
22697,
952,
1879,
2100,
8873,
3256,
198,
220,
220,
220,
1772,
62,
12888,
11639,
3876,
732,
694,
31,
14816,
13,
785,
3256,
198,
220,
220,
220,
6764,
11639,
3256,
198,
220,
220,
220,
2198,
62,
18982,
28,
17821,
11,
198,
220,
220,
220,
1303,
27882,
2099,
10627,
198,
220,
220,
220,
1332,
62,
1820,
9078,
28,
25101,
11,
198,
220,
220,
220,
1303,
27882,
300,
600,
278,
379,
1382,
640,
198,
220,
220,
220,
1332,
62,
47597,
23,
28,
17821,
11,
198,
8,
198
] | 2.350318 | 157 |
from prime import primelist, primecheck
from itertools import product
from time import time
# ATTEMPT 2 (FASTER)
t1 = time()
prime_list = set(primelist(10**4))
for p1, p2 in product(prime_list, repeat=2):
if p2 > p1:
if thingy(p1, p2):
for p3 in prime_list:
if p3 > p2:
if thingy(p1, p3) and thingy(p2, p3):
for p4 in prime_list:
if p4 > p3:
if thingy(p1, p4) and thingy(p2, p4) and thingy(p3, p4):
for p5 in prime_list:
if (
thingy(p1, p5)
and thingy(p2, p5)
and thingy(p3, p5)
and thingy(p4, p5)
):
print(p1 + p2 + p3 + p4 + p5)
print(f"Process completed in {time()-t1}s")
raise SystemExit
# ATTEMPT 1 (TAKES YEARS, SHOULD STILL WORK)
# t1=time()
# prime_list=primelist(10**4)
# for p1,p2,p3,p4,p5 in product(prime_list,repeat=5):
# if p5>p4>p3>p2>p1:
# if all(thingy(a,b) for a,b in product([p1,p2,p3,p4,p5],repeat=2)):
# print(sum([p1,p2,p3,p4,p5]))
# print(f'Process completed in {time()-t1}s')
# raise SystemExit
| [
6738,
6994,
1330,
2684,
46331,
11,
6994,
9122,
198,
6738,
340,
861,
10141,
1330,
1720,
198,
6738,
640,
1330,
640,
628,
198,
198,
2,
26195,
3620,
11571,
362,
357,
37,
1921,
5781,
8,
198,
83,
16,
796,
640,
3419,
198,
35505,
62,
4868,
796,
900,
7,
19795,
46331,
7,
940,
1174,
19,
4008,
198,
1640,
279,
16,
11,
279,
17,
287,
1720,
7,
35505,
62,
4868,
11,
9585,
28,
17,
2599,
198,
220,
220,
220,
611,
279,
17,
1875,
279,
16,
25,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1517,
88,
7,
79,
16,
11,
279,
17,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
279,
18,
287,
6994,
62,
4868,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
279,
18,
1875,
279,
17,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1517,
88,
7,
79,
16,
11,
279,
18,
8,
290,
1517,
88,
7,
79,
17,
11,
279,
18,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
279,
19,
287,
6994,
62,
4868,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
279,
19,
1875,
279,
18,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1517,
88,
7,
79,
16,
11,
279,
19,
8,
290,
1517,
88,
7,
79,
17,
11,
279,
19,
8,
290,
1517,
88,
7,
79,
18,
11,
279,
19,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
279,
20,
287,
6994,
62,
4868,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1517,
88,
7,
79,
16,
11,
279,
20,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
290,
1517,
88,
7,
79,
17,
11,
279,
20,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
290,
1517,
88,
7,
79,
18,
11,
279,
20,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
290,
1517,
88,
7,
79,
19,
11,
279,
20,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15179,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
79,
16,
1343,
279,
17,
1343,
279,
18,
1343,
279,
19,
1343,
279,
20,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
69,
1,
18709,
5668,
287,
1391,
2435,
3419,
12,
83,
16,
92,
82,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
4482,
30337,
628,
198,
2,
26195,
3620,
11571,
352,
357,
5603,
42,
1546,
32914,
50,
11,
40312,
3563,
8267,
30936,
8,
198,
2,
256,
16,
28,
2435,
3419,
198,
2,
6994,
62,
4868,
28,
19795,
46331,
7,
940,
1174,
19,
8,
198,
2,
329,
279,
16,
11,
79,
17,
11,
79,
18,
11,
79,
19,
11,
79,
20,
287,
1720,
7,
35505,
62,
4868,
11,
44754,
28,
20,
2599,
198,
2,
220,
220,
220,
220,
611,
279,
20,
29,
79,
19,
29,
79,
18,
29,
79,
17,
29,
79,
16,
25,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
611,
477,
7,
1197,
88,
7,
64,
11,
65,
8,
329,
257,
11,
65,
287,
1720,
26933,
79,
16,
11,
79,
17,
11,
79,
18,
11,
79,
19,
11,
79,
20,
4357,
44754,
28,
17,
8,
2599,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
16345,
26933,
79,
16,
11,
79,
17,
11,
79,
18,
11,
79,
19,
11,
79,
20,
60,
4008,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
69,
6,
18709,
5668,
287,
1391,
2435,
3419,
12,
83,
16,
92,
82,
11537,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
4482,
30337,
198
] | 1.480769 | 1,040 |
import argparse
import matplotlib.pyplot as plt
import numpy as np
import os
import pickle
from sklearn.decomposition import PCA
import sys
import tqdm
import yaml
import PoseGenerator
if __name__=='__main__':
main()
| [
11748,
1822,
29572,
198,
11748,
2603,
29487,
8019,
13,
9078,
29487,
355,
458,
83,
198,
11748,
299,
32152,
355,
45941,
198,
11748,
28686,
198,
11748,
2298,
293,
198,
6738,
1341,
35720,
13,
12501,
296,
9150,
1330,
4217,
32,
198,
11748,
25064,
198,
11748,
256,
80,
36020,
198,
11748,
331,
43695,
198,
198,
11748,
37557,
8645,
1352,
198,
198,
361,
11593,
3672,
834,
855,
6,
834,
12417,
834,
10354,
198,
220,
220,
1388,
3419,
198
] | 3 | 74 |
import pathlib
import time
import yaml
import itertools
import copy
from jimmy.constructors.math_constructors import build_range, build_lin_space, build_log_space, sum_nodes
from jimmy.constructors.path_constructors import home_path, unique_path, make_absolute, join_paths, make_path, find_glob
from jimmy.constructors.constructors import join, jimmy_constructor, time_stamp
from jimmy.jimmy_dict import JimmyDict
default_constructors = {'tag:yaml.org,2002:map': jimmy_constructor,
'!join': join,
'!time-stamp': time_stamp,
'!join-paths': join_paths,
'!glob': find_glob,
'!home': home_path,
'!unique-path': unique_path,
'!path': make_path,
'!absolute-path': make_absolute,
'!sum': sum_nodes,
'!range': build_range,
'!log-space': build_log_space,
'!lin-space': build_lin_space
}
| [
11748,
3108,
8019,
198,
11748,
640,
198,
198,
11748,
331,
43695,
198,
11748,
340,
861,
10141,
198,
11748,
4866,
198,
6738,
474,
320,
1820,
13,
41571,
669,
13,
11018,
62,
41571,
669,
1330,
1382,
62,
9521,
11,
1382,
62,
2815,
62,
13200,
11,
1382,
62,
6404,
62,
13200,
11,
2160,
62,
77,
4147,
198,
6738,
474,
320,
1820,
13,
41571,
669,
13,
6978,
62,
41571,
669,
1330,
1363,
62,
6978,
11,
3748,
62,
6978,
11,
787,
62,
48546,
11,
4654,
62,
6978,
82,
11,
787,
62,
6978,
11,
1064,
62,
4743,
672,
198,
6738,
474,
320,
1820,
13,
41571,
669,
13,
41571,
669,
1330,
4654,
11,
474,
320,
1820,
62,
41571,
273,
11,
640,
62,
301,
696,
198,
6738,
474,
320,
1820,
13,
73,
320,
1820,
62,
11600,
1330,
12963,
35,
713,
628,
628,
198,
12286,
62,
41571,
669,
796,
1391,
6,
12985,
25,
88,
43695,
13,
2398,
11,
16942,
25,
8899,
10354,
474,
320,
1820,
62,
41571,
273,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
0,
22179,
10354,
4654,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
0,
2435,
12,
301,
696,
10354,
640,
62,
301,
696,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
0,
22179,
12,
6978,
82,
10354,
4654,
62,
6978,
82,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
0,
4743,
672,
10354,
1064,
62,
4743,
672,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
0,
11195,
10354,
1363,
62,
6978,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
0,
34642,
12,
6978,
10354,
3748,
62,
6978,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
0,
6978,
10354,
787,
62,
6978,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
0,
48546,
12,
6978,
10354,
787,
62,
48546,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
0,
16345,
10354,
2160,
62,
77,
4147,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
0,
9521,
10354,
1382,
62,
9521,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
0,
6404,
12,
13200,
10354,
1382,
62,
6404,
62,
13200,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
0,
2815,
12,
13200,
10354,
1382,
62,
2815,
62,
13200,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1782,
628,
628,
628,
628,
198
] | 1.856902 | 594 |
"""
给定 n 个非负整数 a1,a2,...,an,每个数代表坐标中的一个点 (i, ai) 。在坐标内画 n 条垂直线,垂直线 i 的两个端点分别为 (i, ai) 和 (i, 0)。找出其中的
两条线,使得它们与 x 轴共同构成的容器可以容纳最多的水。
说明:你不能倾斜容器,且 n 的值至少为 2。
Ex:
input: [1,8,6,2,5,4,8,3,7]
output: 49
"""
"""
My thinking:采取动态规划的方法,我们在由线段长度构成的数组中使用两个指针,一个放在开始,一个置于末尾。最初我们考虑由最外围两条线段构成的区域。现在如果我
们试图将指向较长线段的指针向内侧移动,矩形区域的面积将受限于较短的线段而不会获得任何增加。但是,在同样的条件下,移动指向较短线段的指针尽管造成了矩形宽度
的减小,但却可能会有助于面积的增大。
"""
| [
37811,
198,
163,
119,
247,
22522,
248,
299,
220,
10310,
103,
165,
251,
252,
164,
112,
253,
46763,
112,
46763,
108,
257,
16,
171,
120,
234,
64,
17,
171,
120,
234,
986,
171,
120,
234,
272,
171,
120,
234,
162,
107,
237,
10310,
103,
46763,
108,
47987,
26193,
101,
161,
251,
238,
43718,
229,
40792,
21410,
31660,
10310,
103,
163,
224,
117,
357,
72,
11,
257,
72,
8,
220,
16764,
28839,
101,
161,
251,
238,
43718,
229,
37863,
227,
18796,
119,
299,
10545,
251,
94,
161,
252,
224,
33566,
112,
163,
118,
123,
171,
120,
234,
161,
252,
224,
33566,
112,
163,
118,
123,
1312,
13328,
248,
226,
10310,
97,
10310,
103,
44165,
107,
163,
224,
117,
26344,
228,
26344,
104,
10310,
118,
357,
72,
11,
257,
72,
8,
10263,
240,
234,
357,
72,
11,
657,
8,
16764,
33699,
122,
49035,
118,
17739,
114,
40792,
21410,
198,
10310,
97,
30266,
94,
163,
118,
123,
171,
120,
234,
45635,
36181,
245,
22522,
225,
20015,
105,
10310,
236,
2124,
5525,
121,
112,
17739,
109,
28938,
234,
162,
252,
226,
22755,
238,
21410,
22522,
117,
161,
247,
101,
20998,
107,
20015,
98,
22522,
117,
163,
118,
111,
17312,
222,
13783,
248,
21410,
36365,
112,
16764,
198,
46237,
112,
23626,
236,
171,
120,
248,
19526,
254,
38834,
47797,
121,
161,
222,
122,
23877,
250,
22522,
117,
161,
247,
101,
171,
120,
234,
10310,
242,
299,
13328,
248,
226,
161,
222,
120,
164,
229,
111,
22887,
239,
10310,
118,
362,
16764,
198,
3109,
25,
198,
15414,
25,
685,
16,
11,
23,
11,
21,
11,
17,
11,
20,
11,
19,
11,
23,
11,
18,
11,
22,
60,
198,
22915,
25,
5125,
198,
37811,
198,
198,
37811,
198,
3666,
3612,
25,
34932,
229,
20998,
244,
27950,
101,
45250,
223,
164,
100,
226,
161,
7134,
21410,
43095,
37345,
243,
171,
120,
234,
22755,
239,
20015,
105,
28839,
101,
18796,
109,
163,
118,
123,
162,
106,
113,
165,
243,
123,
41753,
99,
162,
252,
226,
22755,
238,
21410,
46763,
108,
163,
119,
226,
40792,
45635,
18796,
101,
10310,
97,
10310,
103,
162,
234,
229,
165,
240,
230,
171,
120,
234,
31660,
10310,
103,
162,
242,
122,
28839,
101,
28156,
222,
34650,
233,
171,
120,
234,
31660,
10310,
103,
163,
121,
106,
12859,
236,
17312,
104,
22887,
122,
16764,
17312,
222,
26344,
251,
22755,
239,
20015,
105,
32003,
225,
164,
247,
239,
18796,
109,
17312,
222,
13783,
244,
32368,
112,
10310,
97,
30266,
94,
163,
118,
123,
162,
106,
113,
162,
252,
226,
22755,
238,
21410,
44293,
118,
161,
253,
253,
16764,
163,
236,
108,
28839,
101,
36685,
224,
162,
252,
250,
22755,
239,
198,
20015,
105,
46237,
243,
32368,
122,
49546,
162,
234,
229,
28938,
239,
164,
122,
225,
165,
243,
123,
163,
118,
123,
162,
106,
113,
21410,
162,
234,
229,
165,
240,
230,
28938,
239,
37863,
227,
160,
122,
100,
163,
100,
119,
27950,
101,
171,
120,
234,
163,
253,
102,
37605,
95,
44293,
118,
161,
253,
253,
21410,
165,
251,
95,
163,
100,
107,
49546,
20998,
245,
165,
247,
238,
12859,
236,
164,
122,
225,
163,
253,
255,
21410,
163,
118,
123,
162,
106,
113,
32003,
234,
38834,
27670,
248,
164,
236,
115,
36181,
245,
20015,
119,
19526,
243,
161,
95,
252,
27950,
254,
16764,
19526,
228,
42468,
171,
120,
234,
28839,
101,
28938,
234,
43718,
115,
21410,
30266,
94,
20015,
114,
10310,
233,
171,
120,
234,
163,
100,
119,
27950,
101,
162,
234,
229,
28938,
239,
164,
122,
225,
163,
253,
255,
163,
118,
123,
162,
106,
113,
21410,
162,
234,
229,
165,
240,
230,
22887,
121,
163,
106,
94,
34460,
254,
22755,
238,
12859,
228,
163,
253,
102,
37605,
95,
22522,
121,
41753,
99,
198,
21410,
49035,
237,
22887,
237,
171,
120,
234,
19526,
228,
39355,
112,
20998,
107,
47797,
121,
27670,
248,
17312,
231,
27950,
102,
12859,
236,
165,
251,
95,
163,
100,
107,
21410,
161,
95,
252,
32014,
16764,
198,
37811,
198
] | 0.598462 | 650 |
import struct
from spec_const import SPEC_PTR_SIZE
# int
# ptr
# str
| [
11748,
2878,
198,
198,
6738,
1020,
62,
9979,
1330,
28196,
62,
47,
5446,
62,
33489,
628,
198,
2,
493,
628,
198,
198,
2,
50116,
628,
198,
2,
965,
198
] | 2.655172 | 29 |
import random
import re
import requests
import telegram
from telegram.ext import run_async
import src.config as config
from src.commands.khaleesi.khaleesi import Khaleesi
from src.commands.khaleesi.random_khaleesi import RandomKhaleesi
from src.commands.orzik import orzik_correction
from src.commands.welcome import send_welcome
from src.config import CMDS, CONFIG
from src.models.chat_user import ChatUser
from src.models.igor_weekly import IgorWeekly
from src.models.leave_collector import LeaveCollector
from src.models.pidor_weekly import PidorWeekly
from src.models.user import User
from src.modules.antimat.mat_notify import mat_notify
from src.modules.bayanometer import Bayanometer
from src.modules.instagram import process_message_for_instagram
from src.modules.last_word import last_word
from src.modules.tiktok import process_message_for_tiktok
from src.modules.twitter import process_message_for_twitter
from src.utils.cache import cache, TWO_DAYS, USER_CACHE_EXPIRE, pure_cache
from src.utils.handlers_decorators import chat_guard, collect_stats, command_guard
from src.utils.handlers_helpers import is_command_enabled_for_chat, \
check_command_is_off
from src.utils.logger_helpers import get_logger
from src.utils.time_helpers import get_current_monday_str, today_str
logger = get_logger(__name__)
re_img = re.compile(r"\.(jpg|jpeg|png)$", re.IGNORECASE)
re_gdeleha = re.compile(r"(где л[её]ха|л[её]ха где)[!?.]*\s*$", re.IGNORECASE | re.MULTILINE)
re_suicide = re.compile(r"\S*с[уиаы][иые]ц+[иые][тд]\S*", re.IGNORECASE)
@run_async
@chat_guard
@run_async
@run_async
@run_async
@run_async
@chat_guard
@collect_stats
@command_guard
def message_reactions(bot: telegram.Bot, update: telegram.Update) -> None:
"""
Реакция на текст в сообщении
"""
msg = update.message.text
if msg is None:
return
chat_id = update.message.chat_id
msg_lower = msg.lower()
msg_id = update.message.message_id
user_id = update.message.from_user.id
if msg_lower == 'сы':
send_random_sticker(bot, chat_id, [
'BQADAgADpAADbUmmAAGH7b4k7tGlngI',
'BQADAgADoAADbUmmAAF4FOlT87nh6wI',
])
return
if msg_lower == 'без':
send_random_sticker(bot, chat_id, [
'BQADAgADXgADRd4ECHiiriOI0A51Ag',
'BQADAgADWgADRd4ECHfSw52J6tn5Ag',
'BQADAgADXAADRd4ECC4HwcwErfUcAg',
'BQADAgADzQADRd4ECNFByeY4RuioAg',
])
return
if msg_lower == 'кек':
send_random_sticker_from_stickerset(bot, chat_id, 'Kekopack')
return
if is_command_enabled_for_chat(chat_id, 'suicide') and re_suicide.search(msg_lower):
bot.send_sticker(chat_id, 'CAADAgAD3wEAAsBnlArDbqe-dxMlpgI')
return
if is_command_enabled_for_chat(chat_id, CMDS['common']['orzik']['name']) \
and not check_command_is_off(chat_id, CMDS['common']['orzik']['name']) \
and 'орзик' in msg_lower:
orzik_correction(bot, update)
if is_command_enabled_for_chat(chat_id, CMDS['common']['gdeleha']['name']) \
and re_gdeleha.search(msg_lower):
send_gdeleha(bot, chat_id, msg_id, user_id)
return
words_lower = msg_lower.split()
if 'пидор' in words_lower and is_command_enabled_for_chat(chat_id, 'пидор'):
send_pidor(bot, update)
@run_async
def update_stickers(_: telegram.Bot, update: telegram.Update) -> None:
"""
Добавление стикера в использованные
"""
if not update.message.sticker:
return
cache_key = f'pipinder:monday_stickersets:{get_current_monday_str()}'
monday_stickersets = set(cache.get(cache_key, set()))
monday_stickersets.add(update.message.sticker.set_name)
cache.set(cache_key, monday_stickersets, time=USER_CACHE_EXPIRE)
def check_photos_in_urls(bot: telegram.Bot, update: telegram.Update) -> None:
"""
Парсит entities сообщения на случай если картинка указана ссылкой.
"""
entities = update.message.parse_entities()
for entity, entity_text in entities.items():
if entity.type == 'url':
if re_img.search(entity_text):
photo_reactions(bot, update, img_url=entity_text)
return
def photo_reactions(bot: telegram.Bot, update: telegram.Update, img_url=None):
"""
Вычисляем объекты на фотке.
"""
if not is_command_enabled_for_chat(update.message.chat_id, 'photo_reactions'):
return
key_media_group = f'media_group_reacted:{update.message.media_group_id}'
if update.message.media_group_id and cache.get(key_media_group):
return
if config.google_vision_client:
call_cats_vision_api(bot, update, key_media_group, img_url)
if is_command_enabled_for_chat(update.message.chat_id, 'osenya'):
call_osenya(bot, update, key_media_group, img_url)
@run_async
# noinspection PyPackageRequirements
@run_async
def call_cats_vision_api(bot: telegram.Bot, update: telegram.Update, key_media_group: str,
img_url=None):
"""
Используется google vision api:
* https://cloud.google.com/vision/
* https://cloud.google.com/vision/docs/reference/libraries
* https://googlecloudplatform.github.io/google-cloud-python/latest/vision/index.html
"""
chat_id = update.message.chat_id
# если урл картинки не задан, то сами берем самую большую фотку из сообщения
# гугл апи, почему-то, перестал принимать ссылки телеги, нам приходится самим загружать ему фото
if img_url is None:
from google.cloud.vision import types as google_types
file = bot.get_file(update.message.photo[-1].file_id)
content = bytes(file.download_as_bytearray())
# noinspection PyUnresolvedReferences
image = google_types.Image(content=content)
# но если передана ссылка, то и гуглу отдаем только ссылку
# чтобы не заниматься самим вопросом загрузки каких-то непонятных ссылок
# а если гугл не сможет ее открыть -- ну не судьба
else:
image = {'source': {'image_uri': img_url}}
# noinspection PyPackageRequirements
from google.cloud import vision
# обращаемся к апи детектирования объектов на фото
try:
logger.debug(f"[google vision] parse img {img_url}")
client = config.google_vision_client
response = client.annotate_image({
'image': image,
'features': [{'type': vision.enums.Feature.Type.LABEL_DETECTION, 'max_results': 30}],
})
except Exception as ex:
logger.error(ex)
return
# если на фото кот
cat = any(re.search(r"\bcats?\b", label.description, re.IGNORECASE) for label in
response.label_annotations)
if cat:
logger.debug(f"[google vision] cat found")
if update.message.media_group_id:
if cache.get(key_media_group):
return
cache.set(key_media_group, True, time=TWO_DAYS)
msg_id = update.message.message_id
bot.sendMessage(chat_id, CONFIG.get("cat_tag", "Это же кошак 🐈"),
reply_to_message_id=msg_id)
return
logger.debug(f"[google vision] cat not found")
| [
11748,
4738,
198,
11748,
302,
198,
198,
11748,
7007,
198,
11748,
573,
30536,
198,
6738,
573,
30536,
13,
2302,
1330,
1057,
62,
292,
13361,
198,
198,
11748,
12351,
13,
11250,
355,
4566,
198,
6738,
12351,
13,
9503,
1746,
13,
14636,
1000,
46551,
13,
14636,
1000,
46551,
1330,
5311,
1000,
46551,
198,
6738,
12351,
13,
9503,
1746,
13,
14636,
1000,
46551,
13,
25120,
62,
14636,
1000,
46551,
1330,
14534,
33155,
1000,
46551,
198,
6738,
12351,
13,
9503,
1746,
13,
273,
47303,
1330,
393,
47303,
62,
10215,
8243,
198,
6738,
12351,
13,
9503,
1746,
13,
86,
9571,
1330,
3758,
62,
86,
9571,
198,
6738,
12351,
13,
11250,
1330,
16477,
5258,
11,
25626,
198,
6738,
12351,
13,
27530,
13,
17006,
62,
7220,
1330,
24101,
12982,
198,
6738,
12351,
13,
27530,
13,
36274,
62,
45291,
1330,
46157,
20916,
306,
198,
6738,
12351,
13,
27530,
13,
47408,
62,
33327,
273,
1330,
17446,
31337,
273,
198,
6738,
12351,
13,
27530,
13,
35317,
273,
62,
45291,
1330,
350,
312,
273,
20916,
306,
198,
6738,
12351,
13,
27530,
13,
7220,
1330,
11787,
198,
6738,
12351,
13,
18170,
13,
415,
320,
265,
13,
6759,
62,
1662,
1958,
1330,
2603,
62,
1662,
1958,
198,
6738,
12351,
13,
18170,
13,
65,
22931,
15635,
1330,
4696,
272,
15635,
198,
6738,
12351,
13,
18170,
13,
8625,
6713,
1330,
1429,
62,
20500,
62,
1640,
62,
8625,
6713,
198,
6738,
12351,
13,
18170,
13,
12957,
62,
4775,
1330,
938,
62,
4775,
198,
6738,
12351,
13,
18170,
13,
83,
1134,
83,
482,
1330,
1429,
62,
20500,
62,
1640,
62,
83,
1134,
83,
482,
198,
6738,
12351,
13,
18170,
13,
6956,
1330,
1429,
62,
20500,
62,
1640,
62,
6956,
198,
6738,
12351,
13,
26791,
13,
23870,
1330,
12940,
11,
35288,
62,
26442,
50,
11,
1294,
1137,
62,
34,
2246,
13909,
62,
6369,
11901,
2200,
11,
5899,
62,
23870,
198,
6738,
12351,
13,
26791,
13,
4993,
8116,
62,
12501,
273,
2024,
1330,
8537,
62,
14864,
11,
2824,
62,
34242,
11,
3141,
62,
14864,
198,
6738,
12351,
13,
26791,
13,
4993,
8116,
62,
16794,
364,
1330,
318,
62,
21812,
62,
25616,
62,
1640,
62,
17006,
11,
3467,
198,
220,
220,
220,
2198,
62,
21812,
62,
271,
62,
2364,
198,
6738,
12351,
13,
26791,
13,
6404,
1362,
62,
16794,
364,
1330,
651,
62,
6404,
1362,
198,
6738,
12351,
13,
26791,
13,
2435,
62,
16794,
364,
1330,
651,
62,
14421,
62,
76,
3204,
62,
2536,
11,
1909,
62,
2536,
198,
198,
6404,
1362,
796,
651,
62,
6404,
1362,
7,
834,
3672,
834,
8,
198,
260,
62,
9600,
796,
302,
13,
5589,
576,
7,
81,
1,
59,
12195,
9479,
91,
73,
22071,
91,
11134,
8,
3,
1600,
302,
13,
16284,
1581,
2943,
11159,
8,
198,
260,
62,
70,
2934,
293,
3099,
796,
302,
13,
5589,
576,
7,
81,
18109,
140,
111,
43666,
16843,
12466,
119,
58,
16843,
141,
239,
60,
141,
227,
16142,
91,
30143,
58,
16843,
141,
239,
60,
141,
227,
16142,
12466,
111,
43666,
16843,
38381,
22857,
8183,
9,
59,
82,
9,
3,
1600,
302,
13,
16284,
1581,
2943,
11159,
930,
302,
13,
44,
16724,
4146,
8881,
8,
198,
260,
62,
2385,
5285,
796,
302,
13,
5589,
576,
7,
81,
1,
59,
50,
9,
21727,
58,
35072,
18849,
16142,
45035,
7131,
18849,
45035,
16843,
60,
141,
228,
10,
58,
18849,
45035,
16843,
7131,
20375,
43666,
60,
59,
50,
9,
1600,
302,
13,
16284,
1581,
2943,
11159,
8,
628,
198,
31,
5143,
62,
292,
13361,
198,
31,
17006,
62,
14864,
628,
198,
31,
5143,
62,
292,
13361,
628,
198,
31,
5143,
62,
292,
13361,
628,
198,
31,
5143,
62,
292,
13361,
628,
198,
31,
5143,
62,
292,
13361,
628,
198,
31,
17006,
62,
14864,
198,
31,
33327,
62,
34242,
198,
31,
21812,
62,
14864,
198,
4299,
3275,
62,
260,
4658,
7,
13645,
25,
573,
30536,
13,
20630,
11,
4296,
25,
573,
30536,
13,
10260,
8,
4613,
6045,
25,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
12466,
254,
16843,
16142,
31583,
141,
228,
18849,
40623,
12466,
121,
16142,
220,
20375,
16843,
31583,
21727,
20375,
12466,
110,
220,
21727,
15166,
25443,
109,
141,
231,
16843,
22177,
18849,
18849,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
31456,
796,
4296,
13,
20500,
13,
5239,
198,
220,
220,
220,
611,
31456,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
628,
220,
220,
220,
8537,
62,
312,
796,
4296,
13,
20500,
13,
17006,
62,
312,
198,
220,
220,
220,
31456,
62,
21037,
796,
31456,
13,
21037,
3419,
198,
220,
220,
220,
31456,
62,
312,
796,
4296,
13,
20500,
13,
20500,
62,
312,
198,
220,
220,
220,
2836,
62,
312,
796,
4296,
13,
20500,
13,
6738,
62,
7220,
13,
312,
198,
220,
220,
220,
611,
31456,
62,
21037,
6624,
705,
21727,
45035,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
3758,
62,
25120,
62,
13915,
263,
7,
13645,
11,
8537,
62,
312,
11,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
33,
48,
2885,
10262,
2885,
79,
32,
2885,
65,
52,
3020,
3838,
17511,
22,
65,
19,
74,
22,
83,
9861,
782,
40,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
33,
48,
2885,
10262,
2885,
78,
32,
2885,
65,
52,
3020,
38540,
19,
6080,
75,
51,
5774,
77,
71,
21,
86,
40,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
33761,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
198,
220,
220,
220,
611,
31456,
62,
21037,
6624,
705,
140,
109,
16843,
140,
115,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
3758,
62,
25120,
62,
13915,
263,
7,
13645,
11,
8537,
62,
312,
11,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
33,
48,
2885,
10262,
2885,
55,
70,
2885,
49,
67,
19,
2943,
17250,
14783,
46,
40,
15,
32,
4349,
10262,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
33,
48,
2885,
10262,
2885,
54,
70,
2885,
49,
67,
19,
25994,
69,
10462,
4309,
41,
21,
34106,
20,
10262,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
33,
48,
2885,
10262,
2885,
55,
32,
2885,
49,
67,
19,
2943,
34,
19,
39,
86,
66,
86,
9139,
69,
52,
66,
10262,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
33,
48,
2885,
10262,
2885,
89,
48,
2885,
49,
67,
19,
2943,
21870,
3886,
68,
56,
19,
40464,
952,
10262,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
33761,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
198,
220,
220,
220,
611,
31456,
62,
21037,
6624,
705,
31583,
16843,
31583,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
3758,
62,
25120,
62,
13915,
263,
62,
6738,
62,
13915,
364,
316,
7,
13645,
11,
8537,
62,
312,
11,
705,
42,
988,
404,
441,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
198,
220,
220,
220,
611,
318,
62,
21812,
62,
25616,
62,
1640,
62,
17006,
7,
17006,
62,
312,
11,
705,
2385,
5285,
11537,
290,
302,
62,
2385,
5285,
13,
12947,
7,
19662,
62,
21037,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
10214,
13,
21280,
62,
13915,
263,
7,
17006,
62,
312,
11,
705,
8141,
2885,
10262,
2885,
18,
86,
16412,
1722,
33,
21283,
3163,
43832,
80,
68,
12,
34350,
44,
75,
6024,
40,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
198,
220,
220,
220,
611,
318,
62,
21812,
62,
25616,
62,
1640,
62,
17006,
7,
17006,
62,
312,
11,
16477,
5258,
17816,
11321,
6,
7131,
6,
273,
47303,
6,
7131,
6,
3672,
6,
12962,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
290,
407,
2198,
62,
21812,
62,
271,
62,
2364,
7,
17006,
62,
312,
11,
16477,
5258,
17816,
11321,
6,
7131,
6,
273,
47303,
6,
7131,
6,
3672,
6,
12962,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
290,
705,
15166,
21169,
140,
115,
18849,
31583,
6,
287,
31456,
62,
21037,
25,
198,
220,
220,
220,
220,
220,
220,
220,
393,
47303,
62,
10215,
8243,
7,
13645,
11,
4296,
8,
198,
220,
220,
220,
611,
318,
62,
21812,
62,
25616,
62,
1640,
62,
17006,
7,
17006,
62,
312,
11,
16477,
5258,
17816,
11321,
6,
7131,
6,
70,
2934,
293,
3099,
6,
7131,
6,
3672,
6,
12962,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
290,
302,
62,
70,
2934,
293,
3099,
13,
12947,
7,
19662,
62,
21037,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
3758,
62,
70,
2934,
293,
3099,
7,
13645,
11,
8537,
62,
312,
11,
31456,
62,
312,
11,
2836,
62,
312,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
628,
220,
220,
220,
2456,
62,
21037,
796,
31456,
62,
21037,
13,
35312,
3419,
198,
220,
220,
220,
611,
705,
140,
123,
18849,
43666,
15166,
21169,
6,
287,
2456,
62,
21037,
290,
318,
62,
21812,
62,
25616,
62,
1640,
62,
17006,
7,
17006,
62,
312,
11,
705,
140,
123,
18849,
43666,
15166,
21169,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
3758,
62,
35317,
273,
7,
13645,
11,
4296,
8,
628,
628,
198,
198,
31,
5143,
62,
292,
13361,
198,
4299,
4296,
62,
13915,
364,
28264,
25,
573,
30536,
13,
20630,
11,
4296,
25,
573,
30536,
13,
10260,
8,
4613,
6045,
25,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
12466,
242,
25443,
109,
16142,
38857,
30143,
16843,
22177,
18849,
16843,
220,
21727,
20375,
18849,
31583,
16843,
21169,
16142,
12466,
110,
12466,
116,
21727,
140,
123,
25443,
119,
45367,
140,
115,
25443,
110,
16142,
22177,
22177,
45035,
16843,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
611,
407,
4296,
13,
20500,
13,
13915,
263,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
198,
220,
220,
220,
12940,
62,
2539,
796,
277,
6,
79,
541,
5540,
25,
76,
3204,
62,
13915,
364,
1039,
29164,
1136,
62,
14421,
62,
76,
3204,
62,
2536,
3419,
92,
6,
198,
220,
220,
220,
285,
3204,
62,
13915,
364,
1039,
796,
900,
7,
23870,
13,
1136,
7,
23870,
62,
2539,
11,
900,
3419,
4008,
198,
220,
220,
220,
285,
3204,
62,
13915,
364,
1039,
13,
2860,
7,
19119,
13,
20500,
13,
13915,
263,
13,
2617,
62,
3672,
8,
198,
220,
220,
220,
12940,
13,
2617,
7,
23870,
62,
2539,
11,
285,
3204,
62,
13915,
364,
1039,
11,
640,
28,
29904,
62,
34,
2246,
13909,
62,
6369,
11901,
2200,
8,
628,
198,
198,
4299,
2198,
62,
24729,
62,
259,
62,
6371,
82,
7,
13645,
25,
573,
30536,
13,
20630,
11,
4296,
25,
573,
30536,
13,
10260,
8,
4613,
6045,
25,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
12466,
253,
16142,
21169,
21727,
18849,
20375,
12066,
220,
21727,
15166,
25443,
109,
141,
231,
16843,
22177,
18849,
40623,
12466,
121,
16142,
220,
21727,
30143,
35072,
141,
229,
16142,
140,
117,
12466,
113,
21727,
30143,
18849,
12466,
118,
16142,
21169,
20375,
18849,
22177,
31583,
16142,
220,
35072,
31583,
16142,
140,
115,
16142,
22177,
16142,
220,
21727,
21727,
45035,
30143,
31583,
25443,
117,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
12066,
796,
4296,
13,
20500,
13,
29572,
62,
298,
871,
3419,
198,
220,
220,
220,
329,
9312,
11,
9312,
62,
5239,
287,
12066,
13,
23814,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
611,
9312,
13,
4906,
6624,
705,
6371,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
302,
62,
9600,
13,
12947,
7,
26858,
62,
5239,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4590,
62,
260,
4658,
7,
13645,
11,
4296,
11,
33705,
62,
6371,
28,
26858,
62,
5239,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
628,
198,
4299,
4590,
62,
260,
4658,
7,
13645,
25,
573,
30536,
13,
20630,
11,
4296,
25,
573,
30536,
13,
10260,
11,
33705,
62,
6371,
28,
14202,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
12466,
240,
45035,
141,
229,
18849,
21727,
30143,
40623,
16843,
43108,
12466,
122,
140,
109,
141,
232,
16843,
31583,
20375,
45035,
12466,
121,
16142,
220,
141,
226,
15166,
20375,
31583,
16843,
13,
628,
220,
220,
220,
37227,
198,
220,
220,
220,
611,
407,
318,
62,
21812,
62,
25616,
62,
1640,
62,
17006,
7,
19119,
13,
20500,
13,
17006,
62,
312,
11,
705,
23074,
62,
260,
4658,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
628,
220,
220,
220,
1994,
62,
11431,
62,
8094,
796,
277,
1101,
5507,
62,
8094,
62,
260,
23800,
29164,
19119,
13,
20500,
13,
11431,
62,
8094,
62,
312,
92,
6,
198,
220,
220,
220,
611,
4296,
13,
20500,
13,
11431,
62,
8094,
62,
312,
290,
12940,
13,
1136,
7,
2539,
62,
11431,
62,
8094,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
628,
220,
220,
220,
611,
4566,
13,
13297,
62,
10178,
62,
16366,
25,
198,
220,
220,
220,
220,
220,
220,
220,
869,
62,
24619,
62,
10178,
62,
15042,
7,
13645,
11,
4296,
11,
1994,
62,
11431,
62,
8094,
11,
33705,
62,
6371,
8,
628,
220,
220,
220,
611,
318,
62,
21812,
62,
25616,
62,
1640,
62,
17006,
7,
19119,
13,
20500,
13,
17006,
62,
312,
11,
705,
5233,
3972,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
869,
62,
5233,
3972,
7,
13645,
11,
4296,
11,
1994,
62,
11431,
62,
8094,
11,
33705,
62,
6371,
8,
628,
198,
31,
5143,
62,
292,
13361,
198,
198,
2,
645,
1040,
14978,
9485,
27813,
42249,
198,
31,
5143,
62,
292,
13361,
198,
4299,
869,
62,
24619,
62,
10178,
62,
15042,
7,
13645,
25,
573,
30536,
13,
20630,
11,
4296,
25,
573,
30536,
13,
10260,
11,
1994,
62,
11431,
62,
8094,
25,
965,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
33705,
62,
6371,
28,
14202,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
12466,
246,
21727,
140,
123,
25443,
119,
45367,
140,
115,
35072,
16843,
20375,
21727,
40623,
23645,
5761,
40391,
25,
198,
220,
220,
220,
1635,
3740,
1378,
17721,
13,
13297,
13,
785,
14,
10178,
14,
198,
220,
220,
220,
1635,
3740,
1378,
17721,
13,
13297,
13,
785,
14,
10178,
14,
31628,
14,
35790,
14,
75,
11127,
198,
220,
220,
220,
1635,
3740,
1378,
13297,
17721,
24254,
13,
12567,
13,
952,
14,
13297,
12,
17721,
12,
29412,
14,
42861,
14,
10178,
14,
9630,
13,
6494,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
8537,
62,
312,
796,
4296,
13,
20500,
13,
17006,
62,
312,
628,
220,
220,
220,
1303,
12466,
113,
21727,
30143,
18849,
220,
35072,
21169,
30143,
12466,
118,
16142,
21169,
20375,
18849,
22177,
31583,
18849,
12466,
121,
16843,
12466,
115,
16142,
43666,
16142,
22177,
11,
220,
20375,
15166,
220,
21727,
16142,
43108,
18849,
12466,
109,
16843,
21169,
16843,
43108,
220,
21727,
16142,
43108,
35072,
141,
236,
12466,
109,
25443,
119,
45367,
141,
230,
35072,
141,
236,
220,
141,
226,
15166,
20375,
31583,
35072,
12466,
116,
140,
115,
220,
21727,
15166,
25443,
109,
141,
231,
16843,
22177,
18849,
40623,
198,
220,
220,
220,
1303,
12466,
111,
35072,
140,
111,
30143,
12466,
108,
140,
123,
18849,
11,
12466,
123,
15166,
141,
229,
16843,
43108,
35072,
12,
20375,
15166,
11,
12466,
123,
16843,
21169,
16843,
21727,
20375,
16142,
30143,
12466,
123,
21169,
18849,
22177,
18849,
43108,
16142,
20375,
45367,
220,
21727,
21727,
45035,
30143,
31583,
18849,
220,
20375,
16843,
30143,
16843,
140,
111,
18849,
11,
12466,
121,
16142,
43108,
12466,
123,
21169,
18849,
141,
227,
25443,
112,
18849,
20375,
21727,
40623,
220,
21727,
16142,
43108,
18849,
43108,
12466,
115,
16142,
140,
111,
21169,
35072,
140,
114,
16142,
20375,
45367,
12466,
113,
43108,
35072,
220,
141,
226,
15166,
20375,
15166,
198,
220,
220,
220,
611,
33705,
62,
6371,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
422,
23645,
13,
17721,
13,
10178,
1330,
3858,
355,
23645,
62,
19199,
198,
220,
220,
220,
220,
220,
220,
220,
2393,
796,
10214,
13,
1136,
62,
7753,
7,
19119,
13,
20500,
13,
23074,
58,
12,
16,
4083,
7753,
62,
312,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2695,
796,
9881,
7,
7753,
13,
15002,
62,
292,
62,
1525,
83,
451,
2433,
28955,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
645,
1040,
14978,
9485,
3118,
411,
5634,
19927,
198,
220,
220,
220,
220,
220,
220,
220,
2939,
796,
23645,
62,
19199,
13,
5159,
7,
11299,
28,
11299,
8,
198,
220,
220,
220,
1303,
12466,
121,
15166,
12466,
113,
21727,
30143,
18849,
12466,
123,
16843,
21169,
16843,
43666,
16142,
22177,
16142,
220,
21727,
21727,
45035,
30143,
31583,
16142,
11,
220,
20375,
15166,
12466,
116,
12466,
111,
35072,
140,
111,
30143,
35072,
12466,
122,
20375,
43666,
16142,
16843,
43108,
220,
20375,
25443,
119,
45367,
31583,
15166,
220,
21727,
21727,
45035,
30143,
31583,
35072,
198,
220,
220,
220,
1303,
220,
141,
229,
20375,
25443,
109,
45035,
12466,
121,
16843,
12466,
115,
16142,
22177,
18849,
43108,
16142,
20375,
45367,
21727,
40623,
220,
21727,
16142,
43108,
18849,
43108,
12466,
110,
25443,
123,
21169,
15166,
21727,
25443,
120,
12466,
115,
16142,
140,
111,
21169,
35072,
140,
115,
31583,
18849,
12466,
118,
16142,
31583,
18849,
141,
227,
12,
20375,
15166,
12466,
121,
16843,
140,
123,
15166,
22177,
40623,
20375,
22177,
45035,
141,
227,
220,
21727,
21727,
45035,
30143,
25443,
118,
198,
220,
220,
220,
1303,
12466,
108,
12466,
113,
21727,
30143,
18849,
12466,
111,
35072,
140,
111,
30143,
12466,
121,
16843,
220,
21727,
43108,
25443,
114,
16843,
20375,
12466,
113,
16843,
12466,
122,
20375,
31583,
21169,
45035,
20375,
45367,
1377,
12466,
121,
35072,
12466,
121,
16843,
220,
21727,
35072,
43666,
45367,
140,
109,
16142,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2939,
796,
1391,
6,
10459,
10354,
1391,
6,
9060,
62,
9900,
10354,
33705,
62,
6371,
11709,
628,
220,
220,
220,
1303,
645,
1040,
14978,
9485,
27813,
42249,
198,
220,
220,
220,
422,
23645,
13,
17721,
1330,
5761,
198,
220,
220,
220,
1303,
12466,
122,
140,
109,
21169,
16142,
141,
231,
16142,
16843,
43108,
21727,
40623,
12466,
118,
12466,
108,
140,
123,
18849,
12466,
112,
16843,
20375,
16843,
31583,
20375,
18849,
21169,
25443,
110,
16142,
22177,
18849,
40623,
12466,
122,
140,
109,
141,
232,
16843,
31583,
20375,
25443,
110,
12466,
121,
16142,
220,
141,
226,
15166,
20375,
15166,
198,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
49706,
13,
24442,
7,
69,
17912,
13297,
5761,
60,
21136,
33705,
1391,
9600,
62,
6371,
92,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
5456,
796,
4566,
13,
13297,
62,
10178,
62,
16366,
198,
220,
220,
220,
220,
220,
220,
220,
2882,
796,
5456,
13,
34574,
378,
62,
9060,
15090,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9060,
10354,
2939,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
40890,
10354,
685,
90,
6,
4906,
10354,
5761,
13,
268,
5700,
13,
38816,
13,
6030,
13,
48780,
3698,
62,
35,
2767,
24565,
11,
705,
9806,
62,
43420,
10354,
1542,
92,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
32092,
198,
220,
220,
220,
2845,
35528,
355,
409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
49706,
13,
18224,
7,
1069,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
628,
220,
220,
220,
1303,
12466,
113,
21727,
30143,
18849,
12466,
121,
16142,
220,
141,
226,
15166,
20375,
15166,
12466,
118,
15166,
20375,
198,
220,
220,
220,
3797,
796,
597,
7,
260,
13,
12947,
7,
81,
1,
59,
15630,
1381,
30,
59,
65,
1600,
6167,
13,
11213,
11,
302,
13,
16284,
1581,
2943,
11159,
8,
329,
6167,
287,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2882,
13,
18242,
62,
34574,
602,
8,
198,
220,
220,
220,
611,
3797,
25,
198,
220,
220,
220,
220,
220,
220,
220,
49706,
13,
24442,
7,
69,
17912,
13297,
5761,
60,
3797,
1043,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
611,
4296,
13,
20500,
13,
11431,
62,
8094,
62,
312,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
12940,
13,
1136,
7,
2539,
62,
11431,
62,
8094,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12940,
13,
2617,
7,
2539,
62,
11431,
62,
8094,
11,
6407,
11,
640,
28,
34551,
46,
62,
26442,
50,
8,
198,
220,
220,
220,
220,
220,
220,
220,
31456,
62,
312,
796,
4296,
13,
20500,
13,
20500,
62,
312,
198,
220,
220,
220,
220,
220,
220,
220,
10214,
13,
21280,
12837,
7,
17006,
62,
312,
11,
25626,
13,
1136,
7203,
9246,
62,
12985,
1600,
366,
140,
255,
20375,
15166,
12466,
114,
16843,
12466,
118,
15166,
141,
230,
16142,
31583,
12520,
238,
230,
12340,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10971,
62,
1462,
62,
20500,
62,
312,
28,
19662,
62,
312,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
198,
220,
220,
220,
49706,
13,
24442,
7,
69,
17912,
13297,
5761,
60,
3797,
407,
1043,
4943,
628,
198
] | 2.017998 | 3,556 |
from transformers import DistilBertForSequenceClassification, DistilBertModel
| [
6738,
6121,
364,
1330,
4307,
346,
33,
861,
1890,
44015,
594,
9487,
2649,
11,
4307,
346,
33,
861,
17633,
198
] | 3.9 | 20 |
# -*- coding: utf-8 -*-
import sys
import Patterns as p
import Nodes
module = sys.modules[__name__]
for i in Nodes.TWO_OP:
setattr(module, i[0] + "Expr", BinaryGen(i[0] + "Expr", i[1]))
for i in Nodes.ONE_OP:
setattr(module, i[0] + "Expr", UnaryGen(i[0] + "Expr", i[1]))
| [
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
198,
11748,
25064,
198,
11748,
47020,
355,
279,
198,
11748,
399,
4147,
628,
628,
628,
198,
220,
220,
220,
220,
628,
628,
628,
628,
198,
198,
21412,
796,
25064,
13,
18170,
58,
834,
3672,
834,
60,
198,
1640,
1312,
287,
399,
4147,
13,
34551,
46,
62,
3185,
25,
198,
220,
220,
220,
900,
35226,
7,
21412,
11,
1312,
58,
15,
60,
1343,
366,
3109,
1050,
1600,
45755,
13746,
7,
72,
58,
15,
60,
1343,
366,
3109,
1050,
1600,
1312,
58,
16,
60,
4008,
198,
1640,
1312,
287,
399,
4147,
13,
11651,
62,
3185,
25,
198,
220,
220,
220,
900,
35226,
7,
21412,
11,
1312,
58,
15,
60,
1343,
366,
3109,
1050,
1600,
791,
560,
13746,
7,
72,
58,
15,
60,
1343,
366,
3109,
1050,
1600,
1312,
58,
16,
60,
4008,
198
] | 2.068966 | 145 |
# b表示bytes
print('ABC'.encode('ascii'))
print('ABC'.encode('utf-8'))
print('中文'.encode('utf-8'))
a = b'\xe4\xb8\xad\xff'.decode('utf-8',errors='ignore')
print(a)
print(len(a),len(b'\xe4\xb8\xad'),len('中'.encode('utf-8')))
print('中文测试正常')
# r表示内部字符默认不转义
print(r'seek\t\n\\')
print('''line1
line2
line3''')
print(r'''line1
line2
line3''')
print( """str4
str5
""")
# 字符串格式化
a = 'aging rate: %d%%'
print(a % 3.5)
print('age: %d, name: %s' % (25, '然然'))
print('{0}成绩提升了{1:.2f}%'.format('童童', 5.2316))
# format
str1 = 'my name is {0}, I am {1} years old. Please call me {0}'.format('陈明',12)
print(str1)
print(not '')
| [
2,
275,
26193,
101,
163,
97,
118,
33661,
198,
4798,
10786,
24694,
4458,
268,
8189,
10786,
292,
979,
72,
6,
4008,
198,
4798,
10786,
24694,
4458,
268,
8189,
10786,
40477,
12,
23,
6,
4008,
198,
4798,
10786,
40792,
23877,
229,
4458,
268,
8189,
10786,
40477,
12,
23,
6,
4008,
198,
64,
796,
275,
6,
59,
27705,
19,
59,
30894,
23,
59,
87,
324,
59,
47596,
4458,
12501,
1098,
10786,
40477,
12,
23,
3256,
48277,
11639,
46430,
11537,
198,
4798,
7,
64,
8,
198,
4798,
7,
11925,
7,
64,
828,
11925,
7,
65,
6,
59,
27705,
19,
59,
30894,
23,
59,
87,
324,
33809,
11925,
10786,
40792,
4458,
268,
8189,
10786,
40477,
12,
23,
6,
22305,
198,
4798,
10786,
40792,
23877,
229,
38184,
233,
46237,
243,
29826,
96,
30585,
116,
11537,
198,
198,
2,
374,
26193,
101,
163,
97,
118,
37863,
227,
32849,
101,
27764,
245,
163,
105,
99,
165,
119,
246,
164,
106,
97,
38834,
164,
121,
105,
20046,
231,
198,
4798,
7,
81,
338,
68,
988,
59,
83,
59,
77,
6852,
11537,
198,
4798,
7,
7061,
6,
1370,
16,
198,
1370,
17,
198,
1370,
18,
7061,
11537,
198,
4798,
7,
81,
7061,
6,
1370,
16,
198,
1370,
17,
198,
1370,
18,
7061,
11537,
198,
4798,
7,
37227,
2536,
19,
198,
2536,
20,
198,
15931,
4943,
628,
198,
2,
10263,
255,
245,
163,
105,
99,
10310,
110,
43718,
120,
28156,
237,
44293,
244,
198,
64,
796,
705,
3039,
2494,
25,
4064,
67,
16626,
6,
198,
4798,
7,
64,
4064,
513,
13,
20,
8,
198,
4798,
10786,
496,
25,
4064,
67,
11,
1438,
25,
4064,
82,
6,
4064,
357,
1495,
11,
705,
47078,
114,
47078,
114,
6,
4008,
198,
4798,
10786,
90,
15,
92,
22755,
238,
163,
119,
102,
162,
237,
238,
39355,
229,
12859,
228,
90,
16,
25,
13,
17,
69,
92,
4,
4458,
18982,
10786,
44165,
98,
44165,
98,
3256,
642,
13,
1954,
1433,
4008,
198,
2,
5794,
198,
2536,
16,
796,
705,
1820,
1438,
318,
1391,
15,
5512,
314,
716,
1391,
16,
92,
812,
1468,
13,
4222,
869,
502,
1391,
15,
92,
4458,
18982,
10786,
165,
247,
230,
23626,
236,
3256,
1065,
8,
198,
4798,
7,
2536,
16,
8,
198,
198,
4798,
7,
1662,
10148,
8,
198
] | 1.666667 | 369 |
import binascii
import datetime
import json
import os
import re
import sys
from Crypto import Random
from Crypto.Cipher import AES
from Crypto.Hash import SHA256
from Crypto.Protocol.KDF import PBKDF1
from Crypto.Util import Counter
from flask import Flask, request
from flask_sqlalchemy import SQLAlchemy
BASE_DIR = os.getcwd()
sys.path.append(BASE_DIR)
from honeyvault_config import (SECURITY_PARAM, SECURITY_PARAM_IN_BASE64,
STATIC_DOMAIN_LIST, DEBUG,
HONEY_VAULT_TOTAL_CIPHER_SIZE)
try:
import OpenSSL
except ImportError:
print("** Install pyopenssl **")
sys.path.append('/usr/lib64/python2.6/site-packages/')
# TODO: will fix this later
app = Flask(__name__)
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///honeyserver.db'
db = SQLAlchemy(app)
PRIVATE_HONEY_ENC_KEY = b"trha0Hmu@!$"
PRIVATE_SALT = b"lukkaitlabon"[:8]
EMAIL_REG = re.compile(r"""
[a-z0-9!#$%&'*+?^_~-]+(?:\.[a-z0-9!#$%&'*+?^_`{|}~-]+)*
@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?
""", re.MULTILINE)
b2a_base64 = lambda x: binascii.b2a_base64(x)[:-1]
global_saltgen_aes = do_crypto_setup()
global_randfl = Random.new()
# mp_hash = hash(mp, slat_pub)
@app.route("/")
@app.route("/register", methods=['POST'])
@app.route('/verify', methods=['POST'])
@app.route('/write', methods=['POST'])
@app.route('/read', methods=['POST'])
@app.route('/refresh', methods=['POST'])
@app.route('/getdomains', methods=['POST'])
if __name__ == "__main__":
import os
if not os.path.exists('honeyserver.db'):
db.create_all()
if not os.path.exists('server/server.key') or \
not os.path.exists('server/server.crt'):
print("Cannot find:", BASE_DIR + '/server/server.key')
exit(0)
app.run(debug=True,
# ssl_context=(BASE_DIR+'/server/server.crt', BASE_DIR+'/server/server.key')
)
| [
11748,
9874,
292,
979,
72,
198,
11748,
4818,
8079,
198,
11748,
33918,
198,
11748,
28686,
198,
11748,
302,
198,
11748,
25064,
198,
6738,
36579,
1330,
14534,
198,
6738,
36579,
13,
34,
10803,
1330,
34329,
198,
6738,
36579,
13,
26257,
1330,
25630,
11645,
198,
6738,
36579,
13,
19703,
4668,
13,
42,
8068,
1330,
30524,
42,
8068,
16,
198,
6738,
36579,
13,
18274,
346,
1330,
15034,
198,
198,
6738,
42903,
1330,
46947,
11,
2581,
198,
6738,
42903,
62,
25410,
282,
26599,
1330,
16363,
2348,
26599,
198,
198,
33,
11159,
62,
34720,
796,
28686,
13,
1136,
66,
16993,
3419,
198,
17597,
13,
6978,
13,
33295,
7,
33,
11159,
62,
34720,
8,
198,
6738,
12498,
85,
1721,
62,
11250,
1330,
357,
23683,
4261,
9050,
62,
27082,
2390,
11,
10729,
4261,
9050,
62,
27082,
2390,
62,
1268,
62,
33,
11159,
2414,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15486,
2149,
62,
39170,
29833,
62,
45849,
11,
16959,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
367,
48399,
62,
11731,
16724,
62,
51,
27510,
62,
34,
4061,
16879,
62,
33489,
8,
198,
198,
28311,
25,
198,
220,
220,
220,
1330,
4946,
31127,
198,
16341,
17267,
12331,
25,
198,
220,
220,
220,
3601,
7203,
1174,
15545,
12972,
44813,
6649,
12429,
4943,
198,
220,
220,
220,
25064,
13,
6978,
13,
33295,
10786,
14,
14629,
14,
8019,
2414,
14,
29412,
17,
13,
21,
14,
15654,
12,
43789,
14,
11537,
198,
2,
16926,
46,
25,
481,
4259,
428,
1568,
628,
198,
1324,
796,
46947,
7,
834,
3672,
834,
8,
198,
1324,
13,
11250,
17816,
17861,
1847,
3398,
3620,
56,
62,
35,
1404,
6242,
11159,
62,
47269,
20520,
796,
705,
25410,
578,
1378,
14,
71,
505,
893,
18497,
13,
9945,
6,
198,
9945,
796,
16363,
2348,
26599,
7,
1324,
8,
198,
198,
4805,
3824,
6158,
62,
39,
48399,
62,
24181,
62,
20373,
796,
275,
1,
2213,
3099,
15,
39,
30300,
31,
0,
3,
1,
198,
4805,
3824,
6158,
62,
50,
31429,
796,
275,
1,
2290,
28747,
4548,
23912,
261,
17912,
25,
23,
60,
198,
27630,
4146,
62,
31553,
796,
302,
13,
5589,
576,
7,
81,
37811,
198,
58,
64,
12,
89,
15,
12,
24,
0,
29953,
4,
5,
6,
9,
10,
30,
61,
62,
93,
12,
60,
33747,
30,
7479,
3693,
64,
12,
89,
15,
12,
24,
0,
29953,
4,
5,
6,
9,
10,
30,
61,
62,
63,
90,
91,
92,
93,
12,
48688,
27493,
198,
31,
7,
27514,
58,
64,
12,
89,
15,
12,
24,
16151,
27514,
58,
64,
12,
89,
15,
12,
24,
12,
60,
9,
58,
64,
12,
89,
15,
12,
24,
12962,
30,
59,
2014,
10,
58,
64,
12,
89,
15,
12,
24,
16151,
27514,
58,
64,
12,
89,
15,
12,
24,
12,
60,
9,
58,
64,
12,
89,
15,
12,
24,
12962,
30,
198,
15931,
1600,
302,
13,
44,
16724,
4146,
8881,
8,
628,
198,
65,
17,
64,
62,
8692,
2414,
796,
37456,
2124,
25,
9874,
292,
979,
72,
13,
65,
17,
64,
62,
8692,
2414,
7,
87,
38381,
21912,
16,
60,
628,
628,
198,
20541,
62,
82,
2501,
5235,
62,
64,
274,
796,
466,
62,
29609,
78,
62,
40406,
3419,
198,
20541,
62,
25192,
2704,
796,
14534,
13,
3605,
3419,
628,
628,
628,
628,
628,
628,
198,
2,
29034,
62,
17831,
796,
12234,
7,
3149,
11,
1017,
265,
62,
12984,
8,
628,
628,
198,
31,
1324,
13,
38629,
7203,
14,
4943,
628,
198,
31,
1324,
13,
38629,
7203,
14,
30238,
1600,
5050,
28,
17816,
32782,
6,
12962,
628,
198,
31,
1324,
13,
38629,
10786,
14,
332,
1958,
3256,
5050,
28,
17816,
32782,
6,
12962,
628,
198,
31,
1324,
13,
38629,
10786,
14,
13564,
3256,
5050,
28,
17816,
32782,
6,
12962,
628,
198,
31,
1324,
13,
38629,
10786,
14,
961,
3256,
5050,
28,
17816,
32782,
6,
12962,
628,
198,
31,
1324,
13,
38629,
10786,
14,
5420,
3447,
3256,
5050,
28,
17816,
32782,
6,
12962,
628,
198,
31,
1324,
13,
38629,
10786,
14,
1136,
3438,
1299,
3256,
5050,
28,
17816,
32782,
6,
12962,
628,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
1330,
28686,
628,
220,
220,
220,
611,
407,
28686,
13,
6978,
13,
1069,
1023,
10786,
71,
505,
893,
18497,
13,
9945,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
20613,
13,
17953,
62,
439,
3419,
198,
220,
220,
220,
611,
407,
28686,
13,
6978,
13,
1069,
1023,
10786,
15388,
14,
15388,
13,
2539,
11537,
393,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
407,
28686,
13,
6978,
13,
1069,
1023,
10786,
15388,
14,
15388,
13,
6098,
83,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
34,
34574,
1064,
25,
1600,
49688,
62,
34720,
1343,
31051,
15388,
14,
15388,
13,
2539,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
8420,
7,
15,
8,
628,
220,
220,
220,
598,
13,
5143,
7,
24442,
28,
17821,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
264,
6649,
62,
22866,
16193,
33,
11159,
62,
34720,
10,
26488,
15388,
14,
15388,
13,
6098,
83,
3256,
49688,
62,
34720,
10,
26488,
15388,
14,
15388,
13,
2539,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198
] | 2.12 | 925 |
"""
Demo/test program for the MQTT utilities.
See https://github.com/sensemakersamsterdam/astroplant_explorer
"""
# (c) Sensemakersams.org and others. See https://github.com/sensemakersamsterdam/astroplant_explorer
# Author: Gijs Mos
#
##
# H O W T O U S E
#
# Edit configuration.json and pick a nice 'ae_id' for yourself.
#
# Now start a terminal window #1 on your Pi and run:
# python 1_mqtt_receiver_demo.py
# To monitor MQTT traffic open a second terminal window #2 and run:
# mosquitto_sub -v -t "#"
# Then open a terminal window #3 and run:
# python 1_mqtt_sender_demo.py
# This should get things starting. You can run rhe 1_mqtt_sender_demo.py
# repeatedly. The 1_mqtt_receiver_demo and mosquitto_sub will show the
# messages each time you run it.
# And if you want to send the stop-request to the 1_mqtt_receiver_demo.py, run
# python 1_mqtt_stop_demo.py
# in terminal window #3.
# The mosquitto_sub in terminal #2 you can abort with control-c.
###
# Warning: if import of ae_* module(s) fails, then you need to set up PYTHONPATH.
# To test start python, import sys and type sys.path. The ae 'lib' directory
# should be included in the printed path
# From the standard time library we now import the function sleep()
from time import sleep
# From the mqtt library we import the AE_Local_MQTT class which contains a bunch
# of functions we will use in this script
from ae_util.mqtt import AE_Local_MQTT
# Here we initialize our local MQTT agent.
# It imports your MQTT settings automatically from the configuration.json file.
loc_mqtt = AE_Local_MQTT()
# And now we activate the MQTT connection.
loc_mqtt.setup()
# Further down this program loops, doing the same code over and over again, until
# we set the following global variable to 'True'
stop = False
# Now we define a so-called call-back function. This fuction is automatically
# executed when 'something' happens. What 'something' is in this case comes
# further down. Here we just define that we do a print when 'something' happens.
# And here we have more of the same. It will be executed when 'another something'
# happens. And the print out is also a wee bit different.
# And here in number three. It will be called when 'something #3' happens.
# But it is different than the ones before. It actually does something.
# It sets the variable 'stop' to 'True'. Look again at the explanation
# a couple of lines higher when we initialized the 'stop' variable.
# what do you think that will happen when this function runs?
# In this script we want to recaive MQTT messages. So we need to tell MQTT what
# we want it to send to us. We do this by subscribing to so called 'topics'
# The topic '#' is special. It just means everything. Aren't we greedy?
# We also tell MQTT to stash the incoming messages for us for later pick-up.
loc_mqtt.subscribe('#', None) # All messages ques without callback
# ANd here we will do another subscription. This time the topic needs to start
# with 'aap/'. Remember that '#' means anything, so we subscribe to 'aap/one'
# and 'aap/two' and indefinately more.
# and this time we also tell mqtt to run the function 'cb1' when we actually
# get a message with a topic that starts with 'aap/'.
# So (please read the coment back where cb1() was defined), the 'something'
# for 'cb1()' is nothing other than recieving a message with a topic that starts
# with 'aap/'.
loc_mqtt.subscribe('aap/#', cb1)
# And the 'another something' we need to happen for 'cb2()' to run is nothing more
# than receiving a message with a topic starting with 'aap/noot/'.
# But hey, 'aap/noot' also starts with 'aap/'. And this is will trigger the 'cb1()'
# call back too. So if I send 'aap/noot/yes', then both cb1() and cb2() will be
# run. But if I send 'aap/hello', then only cb1() will run.
loc_mqtt.subscribe('aap/noot/#', cb2)
# And now the 3rd one for the 'control/stop' topic. When we get exactly this one,
# we will run the 'cb_stop()' call-back. Which will .....
loc_mqtt.subscribe('control/stop', cb_stop)
# Finally our main loop. Which will run until 'stop' will be set to
# true, or alternatively when we do a manual abort with contol-c
print('Abort with control-c to end prematurely.')
try:
while not stop:
# Remember that we also did a subscription to '#', meaning
# everything. And without a call-back. Which means that MQTT
# will stash incoming messages for later pick-up?
# Well, in the line below we check and get the oldest
# message in the stash, and -if found- print its content.
sub_topic, payload, rec_time = loc_mqtt.get_message()
if sub_topic is not None:
print('Dequeued:', sub_topic, payload, rec_time)
sleep(0.1)
except KeyboardInterrupt:
print('\nManually aborted....\nBye bye')
| [
37811,
198,
11522,
78,
14,
9288,
1430,
329,
262,
337,
48,
15751,
20081,
13,
198,
6214,
3740,
1378,
12567,
13,
785,
14,
33819,
6620,
321,
22506,
14,
459,
305,
15060,
62,
20676,
11934,
198,
37811,
198,
198,
2,
357,
66,
8,
24956,
6620,
4105,
13,
2398,
290,
1854,
13,
4091,
3740,
1378,
12567,
13,
785,
14,
33819,
6620,
321,
22506,
14,
459,
305,
15060,
62,
20676,
11934,
198,
2,
6434,
25,
402,
2926,
82,
5826,
198,
2,
198,
198,
2235,
198,
2,
220,
367,
440,
370,
220,
220,
309,
440,
220,
471,
311,
412,
198,
2,
198,
2,
5312,
8398,
13,
17752,
290,
2298,
257,
3621,
705,
3609,
62,
312,
6,
329,
3511,
13,
198,
2,
198,
2,
2735,
923,
257,
12094,
4324,
1303,
16,
319,
534,
13993,
290,
1057,
25,
198,
2,
220,
220,
220,
220,
220,
220,
21015,
352,
62,
76,
80,
926,
62,
260,
39729,
62,
9536,
78,
13,
9078,
198,
2,
1675,
5671,
337,
48,
15751,
4979,
1280,
257,
1218,
12094,
4324,
1303,
17,
290,
1057,
25,
198,
2,
220,
220,
220,
220,
220,
220,
22263,
37606,
62,
7266,
532,
85,
532,
83,
25113,
1,
198,
2,
3244,
1280,
257,
12094,
4324,
1303,
18,
290,
1057,
25,
198,
2,
220,
220,
220,
220,
220,
220,
21015,
352,
62,
76,
80,
926,
62,
82,
2194,
62,
9536,
78,
13,
9078,
198,
2,
770,
815,
651,
1243,
3599,
13,
921,
460,
1057,
374,
258,
352,
62,
76,
80,
926,
62,
82,
2194,
62,
9536,
78,
13,
9078,
198,
2,
7830,
13,
383,
352,
62,
76,
80,
926,
62,
260,
39729,
62,
9536,
78,
290,
22263,
37606,
62,
7266,
481,
905,
262,
198,
2,
6218,
1123,
640,
345,
1057,
340,
13,
198,
2,
843,
611,
345,
765,
284,
3758,
262,
2245,
12,
25927,
284,
262,
352,
62,
76,
80,
926,
62,
260,
39729,
62,
9536,
78,
13,
9078,
11,
1057,
198,
2,
220,
220,
220,
220,
220,
220,
21015,
352,
62,
76,
80,
926,
62,
11338,
62,
9536,
78,
13,
9078,
198,
2,
287,
12094,
4324,
1303,
18,
13,
198,
2,
383,
22263,
37606,
62,
7266,
287,
12094,
1303,
17,
345,
460,
15614,
351,
1630,
12,
66,
13,
198,
198,
21017,
198,
2,
15932,
25,
611,
1330,
286,
257,
68,
62,
9,
8265,
7,
82,
8,
10143,
11,
788,
345,
761,
284,
900,
510,
350,
56,
4221,
1340,
34219,
13,
198,
2,
1675,
1332,
923,
21015,
11,
1330,
25064,
290,
2099,
25064,
13,
6978,
13,
383,
257,
68,
705,
8019,
6,
8619,
198,
2,
815,
307,
3017,
287,
262,
10398,
3108,
198,
198,
2,
3574,
262,
3210,
640,
5888,
356,
783,
1330,
262,
2163,
3993,
3419,
198,
6738,
640,
1330,
3993,
198,
198,
2,
3574,
262,
285,
80,
926,
5888,
356,
1330,
262,
25603,
62,
14565,
62,
49215,
15751,
1398,
543,
4909,
257,
7684,
198,
2,
286,
5499,
356,
481,
779,
287,
428,
4226,
198,
6738,
257,
68,
62,
22602,
13,
76,
80,
926,
1330,
25603,
62,
14565,
62,
49215,
15751,
628,
198,
2,
3423,
356,
41216,
674,
1957,
337,
48,
15751,
5797,
13,
198,
2,
632,
17944,
534,
337,
48,
15751,
6460,
6338,
422,
262,
8398,
13,
17752,
2393,
13,
198,
17946,
62,
76,
80,
926,
796,
25603,
62,
14565,
62,
49215,
15751,
3419,
198,
198,
2,
843,
783,
356,
15155,
262,
337,
48,
15751,
4637,
13,
198,
17946,
62,
76,
80,
926,
13,
40406,
3419,
628,
198,
2,
7735,
866,
428,
1430,
23607,
11,
1804,
262,
976,
2438,
625,
290,
625,
757,
11,
1566,
198,
2,
356,
900,
262,
1708,
3298,
7885,
284,
705,
17821,
6,
198,
11338,
796,
10352,
198,
198,
2,
2735,
356,
8160,
257,
523,
12,
7174,
869,
12,
1891,
2163,
13,
770,
277,
8110,
318,
6338,
198,
2,
10945,
618,
705,
18927,
6,
4325,
13,
220,
1867,
705,
18927,
6,
318,
287,
428,
1339,
2058,
198,
2,
2252,
866,
13,
3423,
356,
655,
8160,
326,
356,
466,
257,
3601,
618,
705,
18927,
6,
4325,
13,
628,
198,
2,
843,
994,
356,
423,
517,
286,
262,
976,
13,
632,
481,
307,
10945,
618,
705,
29214,
1223,
6,
198,
2,
4325,
13,
843,
262,
3601,
503,
318,
635,
257,
43671,
1643,
1180,
13,
628,
198,
2,
843,
994,
287,
1271,
1115,
13,
632,
481,
307,
1444,
618,
705,
18927,
1303,
18,
6,
4325,
13,
198,
2,
887,
340,
318,
1180,
621,
262,
3392,
878,
13,
632,
1682,
857,
1223,
13,
198,
2,
632,
5621,
262,
7885,
705,
11338,
6,
284,
705,
17821,
4458,
6803,
757,
379,
262,
7468,
198,
2,
257,
3155,
286,
3951,
2440,
618,
356,
23224,
262,
705,
11338,
6,
7885,
13,
198,
2,
644,
466,
345,
892,
326,
481,
1645,
618,
428,
2163,
4539,
30,
628,
198,
198,
2,
554,
428,
4226,
356,
765,
284,
664,
64,
425,
337,
48,
15751,
6218,
13,
1406,
356,
761,
284,
1560,
337,
48,
15751,
644,
198,
2,
356,
765,
340,
284,
3758,
284,
514,
13,
775,
466,
428,
416,
18412,
284,
523,
1444,
705,
4852,
873,
6,
198,
2,
383,
7243,
705,
2,
6,
318,
2041,
13,
632,
655,
1724,
2279,
13,
9843,
470,
356,
31828,
30,
198,
2,
775,
635,
1560,
337,
48,
15751,
284,
38305,
262,
15619,
6218,
329,
514,
329,
1568,
2298,
12,
929,
13,
198,
17946,
62,
76,
80,
926,
13,
7266,
12522,
10786,
2,
3256,
6045,
8,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1439,
6218,
627,
274,
1231,
23838,
198,
198,
2,
3537,
67,
994,
356,
481,
466,
1194,
14569,
13,
770,
640,
262,
7243,
2476,
284,
923,
198,
2,
351,
705,
64,
499,
14,
4458,
11436,
326,
705,
2,
6,
1724,
1997,
11,
523,
356,
12383,
284,
705,
64,
499,
14,
505,
6,
198,
2,
290,
705,
64,
499,
14,
11545,
6,
290,
16536,
48618,
517,
13,
198,
2,
290,
428,
640,
356,
635,
1560,
285,
80,
926,
284,
1057,
262,
2163,
705,
21101,
16,
6,
618,
356,
1682,
198,
2,
651,
257,
3275,
351,
257,
7243,
326,
4940,
351,
705,
64,
499,
14,
4458,
198,
2,
1406,
357,
29688,
1100,
262,
401,
298,
736,
810,
269,
65,
16,
3419,
373,
5447,
828,
262,
705,
18927,
6,
198,
2,
329,
705,
21101,
16,
3419,
6,
318,
2147,
584,
621,
664,
30749,
257,
3275,
351,
257,
7243,
326,
4940,
198,
2,
351,
705,
64,
499,
14,
4458,
198,
17946,
62,
76,
80,
926,
13,
7266,
12522,
10786,
64,
499,
31113,
3256,
269,
65,
16,
8,
198,
198,
2,
843,
262,
705,
29214,
1223,
6,
356,
761,
284,
1645,
329,
705,
21101,
17,
3419,
6,
284,
1057,
318,
2147,
517,
198,
2,
621,
6464,
257,
3275,
351,
257,
7243,
3599,
351,
705,
64,
499,
14,
77,
1025,
14,
4458,
198,
2,
887,
17207,
11,
705,
64,
499,
14,
77,
1025,
6,
635,
4940,
351,
705,
64,
499,
14,
4458,
843,
428,
318,
481,
7616,
262,
705,
21101,
16,
3419,
6,
198,
2,
869,
736,
1165,
13,
1406,
611,
314,
3758,
705,
64,
499,
14,
77,
1025,
14,
8505,
3256,
788,
1111,
269,
65,
16,
3419,
290,
269,
65,
17,
3419,
481,
307,
198,
2,
1057,
13,
220,
887,
611,
314,
3758,
705,
64,
499,
14,
31373,
3256,
788,
691,
269,
65,
16,
3419,
481,
1057,
13,
198,
17946,
62,
76,
80,
926,
13,
7266,
12522,
10786,
64,
499,
14,
77,
1025,
31113,
3256,
269,
65,
17,
8,
198,
198,
2,
843,
783,
262,
513,
4372,
530,
329,
262,
705,
13716,
14,
11338,
6,
7243,
13,
1649,
356,
651,
3446,
428,
530,
11,
198,
2,
356,
481,
1057,
262,
705,
21101,
62,
11338,
3419,
6,
869,
12,
1891,
13,
9022,
481,
11485,
986,
198,
17946,
62,
76,
80,
926,
13,
7266,
12522,
10786,
13716,
14,
11338,
3256,
269,
65,
62,
11338,
8,
198,
198,
2,
9461,
674,
1388,
9052,
13,
9022,
481,
1057,
1566,
705,
11338,
6,
481,
307,
900,
284,
198,
2,
2081,
11,
393,
46596,
618,
356,
466,
257,
10107,
15614,
351,
542,
349,
12,
66,
198,
4798,
10786,
4826,
419,
351,
1630,
12,
66,
284,
886,
41370,
2637,
8,
198,
28311,
25,
198,
220,
220,
220,
981,
407,
2245,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
11436,
326,
356,
635,
750,
257,
14569,
284,
705,
2,
3256,
3616,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
2279,
13,
843,
1231,
257,
869,
12,
1891,
13,
9022,
1724,
326,
337,
48,
15751,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
481,
38305,
15619,
6218,
329,
1568,
2298,
12,
929,
30,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
3894,
11,
287,
262,
1627,
2174,
356,
2198,
290,
651,
262,
13325,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
3275,
287,
262,
38305,
11,
290,
532,
361,
1043,
12,
3601,
663,
2695,
13,
198,
220,
220,
220,
220,
220,
220,
220,
850,
62,
26652,
11,
21437,
11,
664,
62,
2435,
796,
1179,
62,
76,
80,
926,
13,
1136,
62,
20500,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
611,
850,
62,
26652,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
5005,
4188,
1739,
25,
3256,
850,
62,
26652,
11,
21437,
11,
664,
62,
2435,
8,
198,
220,
220,
220,
220,
220,
220,
220,
3993,
7,
15,
13,
16,
8,
198,
16341,
31973,
9492,
3622,
25,
198,
220,
220,
220,
3601,
10786,
59,
77,
5124,
935,
46847,
1106,
59,
77,
3886,
68,
33847,
11537,
198
] | 3.101542 | 1,556 |
import socketserver
import errno
import struct
from codebase.common.member import Member
from codebase.server.taskmanager import TaskManager
| [
11748,
37037,
18497,
198,
11748,
11454,
3919,
198,
11748,
2878,
198,
6738,
2438,
8692,
13,
11321,
13,
19522,
1330,
10239,
198,
6738,
2438,
8692,
13,
15388,
13,
35943,
37153,
1330,
15941,
13511,
628
] | 4.30303 | 33 |
# -*- coding: utf-8 -*-
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
from bokeh.plotting import figure as _figure,show,Figure
from bokeh.models import ColumnDataSource
from bokeh.layouts import gridplot
from bokeh.palettes import brewer
from bokeh.transform import jitter
from bokeh.models.annotations import Span,Label,BoxAnnotation
from inspect import isfunction
import sys
import re
import warnings
warnings.filterwarnings('ignore')
#查看
## 查看信息 主要在jupyter中使用
# 查看 信息
## 查看相关性信息
from scipy import stats
#处理
## 处理异常
def filterIQR(data,cols,out_cols=[],filter_count = 1,whis = 3):
"""
col 需要过滤的列
out_cols 为额外输出的列
filter_count 循环过滤异常的次数
### 今后在添加
err_per :当异常占整体 多少时候结束,
还需要加最大过滤次数或当样本数量为谋值结束限制
"""
if not isinstance(cols,(list,tuple,str)):
raise TypeError('cols 可以为 list,tuple,str类型')
if isinstance(cols,str):
cols = [cols]
if not isinstance(out_cols,(list,tuple,str)):
raise TypeError('out_cols 可以为 list,tuple,str类型')
if isinstance(out_cols,str):
out_cols = [out_cols]
d = {}
for col in cols:
new_out_cols = out_cols.copy()
new_out_cols.append(col)
temp_data = data[new_out_cols]
for i in range(filter_count):
q1 = temp_data[col].quantile(q = 0.25)
q3 = temp_data[col].quantile(q = 0.75)
iqr = q3 - q1
floor = q1 - iqr * whis
ceil = q3 + iqr * whis
temp_data = temp_data[(temp_data[col] > floor) & (temp_data[col] < ceil )][new_out_cols]
d[col] = data[(data[col] > floor) & (data[col] < ceil )][new_out_cols]
return d
##清除左右为空的字符串
##提取唯一字段
"""
传入Series 适合需要拆分的数据
"""
## 转换为gephi数据
#图表分析
## 数据分析用图
def showPie(d_pie,title=None, exp = None, labels = None, cmap=None, size=1.5,figsize=(4,4), textfmt='%.2f%%',
textdis=0.6, labeldis = 1.1, shadow = False, rot=None, frame=False,rot_clock=False ,ax=None,**kwargs):
"""
d_pie: 数据
exp (explode): 指定每部分的偏移量
labels: 标签
cmap: 颜色
textfmt: 饼图上的数据标签显示方式
textdis: 每个饼切片的中心距离 与 text显示位置比例
labeldis: 被画饼标记的直径,默认值:1.1
shadow: 阴影
rot: 开始角度
size(radius): 半径
frame:图框
rot_clock: 指定指针方向,顺时针或者 (默认)逆时针
"""
plt.rcParams["patch.force_edgecolor"] = False
plt.rcParams['figure.figsize'] = figsize
if isinstance(cmap,str):
cmap = brewer[cmap][len(d_pie)]
if not labels:
labels = d_pie.index
d_pie.plot.pie(
explode = exp,
labels = labels,
colors=cmap,
autopct='%.2f%%',
pctdistance=textdis,
labeldistance = labeldis,
shadow = shadow,
startangle=rot,
radius=size,
frame=False,
counterclock = not rot_clock,
ax=ax,
**kwargs
)
if ax:
ax.set(aspect="equal")
if title:
ax.set_title(title ,fontsize=14)
else:
plt.axis('equal')
if title:
plt.title(title ,fontsize=14)
# 色板
CMAP = ','.join(sorted(brewer.keys()))
pal = brewer
temp = {}
## 添加 反转 cmap
for cols in brewer:
temp[cols+"_r"] = {}
for i in brewer[cols]:
temp[cols+"_r"][i] = brewer[cols][i] #bokeh 的色板顺序和 seaborn 相反
brewer[cols][i] = list(reversed( brewer[cols][i]))
brewer.update(temp)
del temp
# bokeh 的figure 无参数提示, 用有参数的函数包装下
def figure(plot_width,plot_height,title=None,
x_axis_label = None, y_axis_label =None,
x_range=None,y_range=None,toolbar_location="right",tooltips = None,
tools = None,
**kwargs
):
"""
toolbar_location="above"|"below"|"right"|"left"
"hover,pan,box_zoom,box_select,lasso_select, wheel_zoom,crosshair,save,reset"
p.line(df.index,df[col],line_width=2, color=color, alpha=0.8,legend = col,
muted_color=color, muted_alpha=0.2)
"""
if not tools:
tools = "pan,box_select, wheel_zoom,crosshair,save,reset"
if tooltips:
tools = "hover,"+tools
return _figure(title=title,plot_width=plot_width,plot_height=plot_height,
x_axis_label = x_axis_label, y_axis_label =y_axis_label,
x_range=x_range,y_range=y_range,toolbar_location=toolbar_location,
tools = tools,tooltips = tooltips,**kwargs)
# 作图默认主题
## matplotlib 部分
plt_theme = {"monokai":"_plt_monokai_theme",}
@_plt_default_params
## bokeh 部分
bokeh_theme = {"dash":"_fig_dash"}
## 全部由此函数统一调用
| [
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
198,
11748,
299,
32152,
355,
45941,
198,
11748,
19798,
292,
355,
279,
67,
198,
11748,
2603,
29487,
8019,
13,
9078,
29487,
355,
458,
83,
198,
11748,
384,
397,
1211,
355,
3013,
82,
628,
198,
6738,
1489,
365,
71,
13,
29487,
889,
1330,
3785,
355,
4808,
26875,
11,
12860,
11,
11337,
198,
6738,
1489,
365,
71,
13,
27530,
1330,
29201,
6601,
7416,
198,
6738,
1489,
365,
71,
13,
10724,
5269,
1330,
10706,
29487,
198,
6738,
1489,
365,
71,
13,
18596,
23014,
1330,
47695,
220,
198,
6738,
1489,
365,
71,
13,
35636,
1330,
474,
1967,
198,
6738,
1489,
365,
71,
13,
27530,
13,
34574,
602,
1330,
49101,
11,
33986,
11,
14253,
2025,
38983,
198,
198,
6738,
10104,
1330,
318,
8818,
198,
11748,
25064,
198,
198,
11748,
302,
198,
198,
11748,
14601,
198,
40539,
654,
13,
24455,
40539,
654,
10786,
46430,
11537,
628,
198,
2,
162,
253,
98,
40367,
233,
198,
2235,
10545,
253,
98,
40367,
233,
46479,
94,
162,
223,
107,
220,
10310,
119,
17358,
223,
28839,
101,
73,
929,
88,
353,
40792,
45635,
18796,
101,
628,
198,
198,
2,
10545,
253,
98,
40367,
233,
220,
46479,
94,
162,
223,
107,
198,
220,
220,
220,
220,
198,
220,
220,
220,
220,
198,
198,
2235,
10545,
253,
98,
40367,
233,
33566,
116,
17739,
111,
45250,
100,
46479,
94,
162,
223,
107,
198,
6738,
629,
541,
88,
1330,
9756,
628,
198,
2,
13783,
226,
49426,
228,
198,
2235,
36469,
226,
49426,
228,
28156,
224,
30585,
116,
198,
4299,
8106,
33866,
49,
7,
7890,
11,
4033,
82,
11,
448,
62,
4033,
82,
41888,
4357,
24455,
62,
9127,
796,
352,
11,
1929,
271,
796,
513,
2599,
628,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
951,
16268,
250,
222,
17358,
223,
32573,
229,
162,
119,
97,
21410,
26344,
245,
198,
220,
220,
220,
220,
220,
220,
220,
503,
62,
4033,
82,
220,
10310,
118,
165,
95,
251,
13783,
244,
164,
122,
241,
49035,
118,
21410,
26344,
245,
198,
220,
220,
220,
220,
220,
220,
220,
8106,
62,
9127,
10263,
122,
103,
163,
236,
107,
32573,
229,
162,
119,
97,
28156,
224,
30585,
116,
21410,
162,
105,
94,
46763,
108,
628,
220,
220,
220,
220,
220,
220,
220,
44386,
220,
20015,
232,
28938,
236,
28839,
101,
162,
115,
119,
27950,
254,
198,
220,
220,
220,
220,
220,
220,
220,
11454,
62,
525,
27332,
120,
248,
37605,
241,
28156,
224,
30585,
116,
39355,
254,
46763,
112,
19526,
241,
36469,
248,
22887,
239,
33768,
114,
161,
222,
247,
163,
119,
241,
30266,
253,
171,
120,
234,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5525,
123,
246,
165,
250,
222,
17358,
223,
27950,
254,
17312,
222,
32014,
32573,
229,
162,
119,
97,
162,
105,
94,
46763,
108,
22755,
244,
37605,
241,
43718,
115,
17312,
105,
46763,
108,
34932,
237,
10310,
118,
164,
108,
233,
161,
222,
120,
163,
119,
241,
30266,
253,
165,
247,
238,
26344,
114,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
198,
220,
220,
220,
611,
407,
318,
39098,
7,
4033,
82,
11,
7,
4868,
11,
83,
29291,
11,
2536,
8,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
5298,
5994,
12331,
10786,
4033,
82,
10263,
237,
107,
20015,
98,
10310,
118,
1351,
11,
83,
29291,
11,
2536,
163,
109,
119,
161,
252,
233,
11537,
198,
220,
220,
220,
611,
318,
39098,
7,
4033,
82,
11,
2536,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
951,
82,
796,
685,
4033,
82,
60,
198,
220,
220,
220,
611,
407,
318,
39098,
7,
448,
62,
4033,
82,
11,
7,
4868,
11,
83,
29291,
11,
2536,
8,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
5298,
5994,
12331,
10786,
448,
62,
4033,
82,
10263,
237,
107,
20015,
98,
10310,
118,
1351,
11,
83,
29291,
11,
2536,
163,
109,
119,
161,
252,
233,
11537,
198,
220,
220,
220,
611,
318,
39098,
7,
448,
62,
4033,
82,
11,
2536,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
503,
62,
4033,
82,
796,
685,
448,
62,
4033,
82,
60,
198,
220,
220,
220,
220,
198,
220,
220,
220,
288,
796,
23884,
198,
220,
220,
220,
329,
951,
287,
951,
82,
25,
198,
220,
220,
220,
220,
220,
220,
220,
649,
62,
448,
62,
4033,
82,
796,
503,
62,
4033,
82,
13,
30073,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
649,
62,
448,
62,
4033,
82,
13,
33295,
7,
4033,
8,
198,
220,
220,
220,
220,
220,
220,
220,
20218,
62,
7890,
796,
1366,
58,
3605,
62,
448,
62,
4033,
82,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
2837,
7,
24455,
62,
9127,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10662,
16,
796,
20218,
62,
7890,
58,
4033,
4083,
40972,
576,
7,
80,
796,
657,
13,
1495,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10662,
18,
796,
20218,
62,
7890,
58,
4033,
4083,
40972,
576,
7,
80,
796,
657,
13,
2425,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1312,
80,
81,
796,
10662,
18,
532,
10662,
16,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4314,
796,
10662,
16,
532,
1312,
80,
81,
1635,
12563,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2906,
346,
796,
10662,
18,
1343,
1312,
80,
81,
1635,
12563,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
20218,
62,
7890,
796,
20218,
62,
7890,
58,
7,
29510,
62,
7890,
58,
4033,
60,
1875,
4314,
8,
1222,
357,
29510,
62,
7890,
58,
4033,
60,
1279,
2906,
346,
1267,
7131,
3605,
62,
448,
62,
4033,
82,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
288,
58,
4033,
60,
796,
1366,
58,
7,
7890,
58,
4033,
60,
1875,
4314,
8,
1222,
357,
7890,
58,
4033,
60,
1279,
2906,
346,
1267,
7131,
3605,
62,
448,
62,
4033,
82,
60,
198,
220,
220,
220,
1441,
288,
198,
198,
2235,
162,
116,
227,
165,
247,
97,
32432,
99,
20998,
111,
10310,
118,
163,
102,
118,
21410,
27764,
245,
163,
105,
99,
10310,
110,
198,
198,
2235,
162,
237,
238,
20998,
244,
161,
242,
107,
31660,
27764,
245,
162,
106,
113,
220,
198,
37811,
198,
27670,
254,
17739,
98,
27996,
16268,
222,
224,
28938,
230,
165,
250,
222,
17358,
223,
162,
233,
228,
26344,
228,
21410,
46763,
108,
162,
235,
106,
198,
37811,
198,
198,
2235,
5525,
121,
105,
162,
235,
95,
10310,
118,
469,
34846,
46763,
108,
162,
235,
106,
628,
198,
2,
32368,
122,
26193,
101,
26344,
228,
162,
252,
238,
198,
198,
2235,
10545,
243,
108,
162,
235,
106,
26344,
228,
162,
252,
238,
18796,
101,
32368,
122,
628,
198,
4299,
905,
48223,
7,
67,
62,
21749,
11,
7839,
28,
14202,
11,
1033,
796,
6045,
11,
14722,
796,
6045,
11,
269,
8899,
28,
14202,
11,
2546,
28,
16,
13,
20,
11,
5647,
7857,
16193,
19,
11,
19,
828,
2420,
69,
16762,
11639,
7225,
17,
69,
16626,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2420,
6381,
28,
15,
13,
21,
11,
2248,
68,
335,
271,
796,
352,
13,
16,
11,
9082,
796,
10352,
11,
5724,
28,
14202,
11,
5739,
28,
25101,
11,
10599,
62,
15750,
28,
25101,
837,
897,
28,
14202,
11,
1174,
46265,
22046,
2599,
198,
220,
220,
220,
220,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
288,
62,
21749,
25,
10545,
243,
108,
162,
235,
106,
198,
220,
220,
220,
220,
220,
220,
220,
1033,
357,
20676,
1098,
2599,
220,
10545,
234,
229,
22522,
248,
162,
107,
237,
32849,
101,
26344,
228,
21410,
161,
223,
237,
163,
100,
119,
34932,
237,
198,
220,
220,
220,
220,
220,
220,
220,
14722,
25,
220,
220,
220,
220,
220,
220,
220,
220,
10545,
254,
229,
163,
255,
122,
198,
220,
220,
220,
220,
220,
220,
220,
269,
8899,
25,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16268,
95,
250,
164,
231,
110,
198,
220,
220,
220,
220,
220,
220,
220,
2420,
69,
16762,
25,
220,
220,
220,
220,
220,
220,
220,
16268,
98,
120,
32368,
122,
41468,
21410,
46763,
108,
162,
235,
106,
43718,
229,
163,
255,
122,
23626,
122,
163,
97,
118,
43095,
28156,
237,
198,
220,
220,
220,
220,
220,
220,
220,
2420,
6381,
25,
220,
220,
220,
220,
220,
220,
220,
10545,
107,
237,
10310,
103,
165,
98,
120,
26344,
229,
31965,
229,
21410,
40792,
33232,
225,
164,
115,
251,
163,
99,
119,
220,
10310,
236,
2420,
23626,
122,
163,
97,
118,
19526,
235,
163,
121,
106,
162,
107,
242,
160,
122,
233,
198,
220,
220,
220,
220,
220,
220,
220,
2248,
68,
335,
271,
25,
220,
220,
220,
220,
220,
220,
5525,
95,
104,
18796,
119,
165,
98,
120,
43718,
229,
164,
106,
108,
21410,
33566,
112,
36181,
226,
11,
165,
119,
246,
164,
106,
97,
161,
222,
120,
171,
120,
248,
16,
13,
16,
198,
220,
220,
220,
220,
220,
220,
220,
9082,
25,
220,
220,
220,
220,
220,
220,
220,
220,
16268,
246,
112,
37605,
109,
198,
220,
220,
220,
220,
220,
220,
220,
5724,
25,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10263,
120,
222,
34650,
233,
164,
100,
240,
41753,
99,
198,
220,
220,
220,
220,
220,
220,
220,
2546,
7,
42172,
2599,
220,
220,
10263,
235,
232,
36181,
226,
198,
220,
220,
220,
220,
220,
220,
220,
5739,
171,
120,
248,
32368,
122,
162,
94,
228,
198,
220,
220,
220,
220,
220,
220,
220,
5724,
62,
15750,
25,
220,
220,
220,
220,
220,
10545,
234,
229,
22522,
248,
162,
234,
229,
165,
240,
230,
43095,
28938,
239,
171,
120,
234,
165,
94,
118,
33768,
114,
165,
240,
230,
22755,
244,
38519,
357,
165,
119,
246,
164,
106,
97,
8,
34460,
228,
33768,
114,
165,
240,
230,
628,
220,
220,
220,
37227,
198,
220,
220,
220,
458,
83,
13,
6015,
10044,
4105,
14692,
17147,
13,
3174,
62,
14907,
8043,
8973,
796,
10352,
198,
220,
220,
220,
458,
83,
13,
6015,
10044,
4105,
17816,
26875,
13,
5647,
7857,
20520,
796,
2336,
7857,
198,
220,
220,
220,
611,
318,
39098,
7,
66,
8899,
11,
2536,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
269,
8899,
796,
47695,
58,
66,
8899,
7131,
11925,
7,
67,
62,
21749,
15437,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
611,
407,
14722,
25,
198,
220,
220,
220,
220,
220,
220,
220,
14722,
796,
288,
62,
21749,
13,
9630,
198,
220,
220,
220,
220,
198,
220,
220,
220,
288,
62,
21749,
13,
29487,
13,
21749,
7,
198,
220,
220,
220,
220,
220,
220,
22818,
796,
1033,
11,
198,
220,
220,
220,
220,
220,
220,
14722,
796,
14722,
11,
198,
220,
220,
220,
220,
220,
220,
7577,
28,
66,
8899,
11,
198,
220,
220,
220,
220,
220,
220,
22320,
310,
11639,
7225,
17,
69,
16626,
3256,
198,
220,
220,
220,
220,
220,
220,
279,
310,
30246,
28,
5239,
6381,
11,
198,
220,
220,
220,
220,
220,
220,
2248,
68,
335,
9311,
796,
2248,
68,
335,
271,
11,
198,
220,
220,
220,
220,
220,
220,
9082,
796,
9082,
11,
198,
220,
220,
220,
220,
220,
220,
923,
9248,
28,
10599,
11,
198,
220,
220,
220,
220,
220,
220,
16874,
28,
7857,
11,
198,
220,
220,
220,
220,
220,
220,
5739,
28,
25101,
11,
198,
220,
220,
220,
220,
220,
220,
3753,
15750,
796,
407,
5724,
62,
15750,
11,
198,
220,
220,
220,
220,
220,
220,
7877,
28,
897,
11,
198,
220,
220,
220,
220,
220,
220,
12429,
46265,
22046,
198,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
611,
7877,
25,
198,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
2617,
7,
292,
806,
2625,
40496,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
611,
3670,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
2617,
62,
7839,
7,
7839,
837,
10331,
7857,
28,
1415,
8,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
458,
83,
13,
22704,
10786,
40496,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
611,
3670,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
458,
83,
13,
7839,
7,
7839,
837,
10331,
7857,
28,
1415,
8,
628,
220,
198,
198,
2,
5525,
231,
110,
30266,
123,
198,
198,
24187,
2969,
796,
705,
4032,
13,
22179,
7,
82,
9741,
7,
11269,
263,
13,
13083,
3419,
4008,
198,
18596,
796,
47695,
198,
29510,
796,
23884,
198,
198,
2235,
10545,
115,
119,
27950,
254,
10263,
237,
235,
164,
121,
105,
269,
8899,
198,
1640,
951,
82,
287,
47695,
25,
198,
220,
220,
220,
20218,
58,
4033,
82,
10,
1,
62,
81,
8973,
796,
23884,
198,
220,
220,
220,
329,
1312,
287,
47695,
58,
4033,
82,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
20218,
58,
4033,
82,
10,
1,
62,
81,
1,
7131,
72,
60,
796,
47695,
58,
4033,
82,
7131,
72,
60,
220,
220,
220,
1303,
65,
2088,
71,
13328,
248,
226,
164,
231,
110,
30266,
123,
165,
94,
118,
41753,
237,
161,
240,
234,
384,
397,
1211,
13328,
249,
116,
20998,
235,
198,
220,
220,
220,
220,
220,
220,
220,
47695,
58,
4033,
82,
7131,
72,
60,
796,
1351,
7,
260,
690,
276,
7,
47695,
58,
4033,
82,
7131,
72,
60,
4008,
198,
198,
11269,
263,
13,
19119,
7,
29510,
8,
198,
12381,
20218,
628,
220,
220,
220,
220,
220,
220,
220,
220,
628,
198,
2,
1489,
365,
71,
13328,
248,
226,
26875,
10545,
245,
254,
20998,
224,
46763,
108,
162,
237,
238,
163,
97,
118,
171,
120,
234,
13328,
242,
101,
17312,
231,
20998,
224,
46763,
108,
21410,
49035,
121,
46763,
108,
44293,
227,
35318,
10310,
233,
198,
4299,
3785,
7,
29487,
62,
10394,
11,
29487,
62,
17015,
11,
7839,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
62,
22704,
62,
18242,
796,
6045,
11,
331,
62,
22704,
62,
18242,
796,
14202,
11,
220,
220,
198,
220,
220,
220,
2124,
62,
9521,
28,
14202,
11,
88,
62,
9521,
28,
14202,
11,
25981,
5657,
62,
24886,
2625,
3506,
1600,
25981,
41315,
796,
6045,
11,
198,
220,
220,
220,
4899,
796,
6045,
11,
198,
220,
220,
220,
12429,
46265,
22046,
198,
220,
220,
220,
15179,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
50149,
62,
24886,
2625,
29370,
1,
91,
1,
35993,
1,
91,
1,
3506,
1,
91,
1,
9464,
1,
198,
220,
220,
220,
220,
220,
220,
220,
366,
43753,
11,
6839,
11,
3524,
62,
89,
4207,
11,
3524,
62,
19738,
11,
75,
28372,
62,
19738,
11,
7825,
62,
89,
4207,
11,
19692,
27108,
11,
21928,
11,
42503,
1,
198,
220,
220,
220,
220,
220,
220,
220,
279,
13,
1370,
7,
7568,
13,
9630,
11,
7568,
58,
4033,
4357,
1370,
62,
10394,
28,
17,
11,
3124,
28,
8043,
11,
17130,
28,
15,
13,
23,
11,
1455,
437,
796,
951,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
38952,
62,
8043,
28,
8043,
11,
38952,
62,
26591,
28,
15,
13,
17,
8,
220,
628,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
198,
220,
220,
220,
611,
407,
4899,
25,
198,
220,
220,
220,
220,
220,
220,
220,
4899,
796,
366,
6839,
11,
3524,
62,
19738,
11,
7825,
62,
89,
4207,
11,
19692,
27108,
11,
21928,
11,
42503,
1,
198,
220,
220,
220,
611,
2891,
41315,
25,
198,
220,
220,
220,
220,
220,
220,
220,
4899,
796,
366,
43753,
553,
10,
31391,
628,
220,
220,
220,
1441,
4808,
26875,
7,
7839,
28,
7839,
11,
29487,
62,
10394,
28,
29487,
62,
10394,
11,
29487,
62,
17015,
28,
29487,
62,
17015,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
62,
22704,
62,
18242,
796,
2124,
62,
22704,
62,
18242,
11,
331,
62,
22704,
62,
18242,
796,
88,
62,
22704,
62,
18242,
11,
220,
220,
198,
220,
220,
220,
2124,
62,
9521,
28,
87,
62,
9521,
11,
88,
62,
9521,
28,
88,
62,
9521,
11,
25981,
5657,
62,
24886,
28,
25981,
5657,
62,
24886,
11,
198,
220,
220,
220,
4899,
796,
4899,
11,
25981,
41315,
796,
2891,
41315,
11,
1174,
46265,
22046,
8,
628,
198,
198,
2,
220,
43291,
32368,
122,
165,
119,
246,
164,
106,
97,
10310,
119,
165,
95,
246,
198,
198,
2235,
2603,
29487,
8019,
16268,
225,
101,
26344,
228,
198,
489,
83,
62,
43810,
796,
19779,
2144,
482,
1872,
2404,
62,
489,
83,
62,
2144,
482,
1872,
62,
43810,
1600,
92,
198,
220,
220,
220,
220,
198,
198,
31,
62,
489,
83,
62,
12286,
62,
37266,
628,
198,
2235,
1489,
365,
71,
16268,
225,
101,
26344,
228,
198,
65,
2088,
71,
62,
43810,
796,
19779,
42460,
2404,
62,
5647,
62,
42460,
20662,
198,
198,
2235,
10263,
227,
101,
32849,
101,
18796,
109,
29826,
97,
49035,
121,
46763,
108,
163,
119,
253,
31660,
164,
108,
225,
18796,
101,
628
] | 1.623404 | 2,897 |
from smpp.twisted.protocol import SMPPServerProtocol
from smpp.pdu import pdu_types
from zope.interface import Interface
from twisted.internet.protocol import ServerFactory
# Jasmin update: direct import of UsernamePassword instead of cred
from twisted.cred.credentials import UsernamePassword
from twisted.cred import error
from twisted.internet import defer
import logging
import collections
LOG_CATEGORY="smpp.twisted.server"
#pylint: disable=inherit-non-class
# Jasmin update: using UsernamePassword instead of cred.credentials.UsernamePassword
| [
6738,
895,
381,
13,
4246,
6347,
13,
11235,
4668,
1330,
311,
7378,
3705,
18497,
19703,
4668,
201,
198,
6738,
895,
381,
13,
79,
646,
1330,
279,
646,
62,
19199,
201,
198,
201,
198,
6738,
1976,
3008,
13,
39994,
1330,
26491,
201,
198,
201,
198,
6738,
19074,
13,
37675,
13,
11235,
4668,
1330,
9652,
22810,
201,
198,
2,
21961,
1084,
4296,
25,
1277,
1330,
286,
50069,
35215,
2427,
286,
2600,
201,
198,
6738,
19074,
13,
66,
445,
13,
66,
445,
14817,
1330,
50069,
35215,
201,
198,
6738,
19074,
13,
66,
445,
1330,
4049,
201,
198,
6738,
19074,
13,
37675,
1330,
29135,
201,
198,
201,
198,
11748,
18931,
201,
198,
11748,
17268,
201,
198,
201,
198,
201,
198,
25294,
62,
34,
6158,
38,
15513,
2625,
5796,
381,
13,
4246,
6347,
13,
15388,
1,
201,
198,
201,
198,
2,
79,
2645,
600,
25,
15560,
28,
259,
372,
270,
12,
13159,
12,
4871,
201,
198,
201,
198,
2,
21961,
1084,
4296,
25,
1262,
50069,
35215,
2427,
286,
2600,
13,
66,
445,
14817,
13,
5842,
13292,
35215,
201,
198
] | 3.310345 | 174 |
#!/usr/bin/env python
import math
import rospy
from geometry_msgs.msg import Pose, Quaternion, Vector3
from moveit_commander import RobotCommander, MoveGroupCommander
from tf.transformations import quaternion_from_euler, euler_from_quaternion
def euler_to_quaternion(euler):
"""Converts euler angles to quaternion.
euler: geometry_msgs/Vector3
quaternion: geometry_msgs/Quaternion
"""
q = quaternion_from_euler(euler.x, euler.y, euler.z)
return Quaternion(x=q[0], y=q[1], z=q[2], w=q[3])
def quaternion_to_euler(quaternion):
"""Converts quaternion to euler angles.
quarternion: geometry_msgs/Quaternion
euler: geometry_msgs/Vector3
"""
e = euler_from_quaternion(
(quaternion.x, quaternion.y, quaternion.z, quaternion.w))
return Vector3(x=e[0], y=e[1], z=e[2])
def wiggle():
"""Executes wiggle motions."""
rospy.init_node("moveit_command_sender", disable_signals=True)
robot = RobotCommander()
rarm = MoveGroupCommander("arm_right")
# get current status
larm = MoveGroupCommander("arm_left")
rarm_initial_pose = rarm.get_current_pose().pose
rarm_initial_joint_values = rarm.get_current_joint_values()
larm_initial_pose = larm.get_current_pose().pose
larm_initial_joint_values = larm.get_current_joint_values()
# set maximum velocity and acceleration
rarm.set_max_velocity_scaling_factor(1.0)
rarm.set_max_acceleration_scaling_factor(1.0)
larm.set_max_velocity_scaling_factor(1.0)
larm.set_max_acceleration_scaling_factor(1.0)
# generate poses
for_pose_r = Pose()
for_pose_r.position.x = rarm_initial_pose.position.x + 0.1
for_pose_r.position.y = rarm_initial_pose.position.y
for_pose_r.position.z = rarm_initial_pose.position.z - 0.1
current_euler = quaternion_to_euler(rarm_initial_pose.orientation)
for_euler = Vector3()
for_euler.x = current_euler.x + math.radians(20.0)
for_euler.y = current_euler.y
for_euler.z = current_euler.z
for_pose_r.orientation = euler_to_quaternion(for_euler)
back_pose_r = Pose()
back_pose_r.position.x = rarm_initial_pose.position.x - 0.1
back_pose_r.position.y = rarm_initial_pose.position.y
back_pose_r.position.z = rarm_initial_pose.position.z - 0.1
current_euler = quaternion_to_euler(rarm_initial_pose.orientation)
back_euler = Vector3()
back_euler.x = current_euler.x + math.radians(-20.0)
back_euler.y = current_euler.y
back_euler.z = current_euler.z
back_pose_r.orientation = euler_to_quaternion(back_euler)
for_pose_l = Pose()
for_pose_l.position.x = larm_initial_pose.position.x + 0.1
for_pose_l.position.y = larm_initial_pose.position.y
for_pose_l.position.z = larm_initial_pose.position.z - 0.1
current_euler = quaternion_to_euler(larm_initial_pose.orientation)
for_euler = Vector3()
for_euler.x = current_euler.x + math.radians(-20.0)
for_euler.y = current_euler.y
for_euler.z = current_euler.z
for_pose_l.orientation = euler_to_quaternion(for_euler)
back_pose_l = Pose()
back_pose_l.position.x = larm_initial_pose.position.x - 0.1
back_pose_l.position.y = larm_initial_pose.position.y
back_pose_l.position.z = larm_initial_pose.position.z - 0.1
current_euler = quaternion_to_euler(larm_initial_pose.orientation)
back_euler = Vector3()
back_euler.x = current_euler.x + math.radians(20.0)
back_euler.y = current_euler.y
back_euler.z = current_euler.z
back_pose_l.orientation = euler_to_quaternion(back_euler)
# execute wiggle motions using both arms
rospy.loginfo("Start right arm wiggle motions...")
cnt = 0
while cnt < 2:
rospy.loginfo("Right arm is moving...")
rarm.set_pose_target(for_pose_r)
rarm.go()
rospy.sleep(rospy.Duration.from_sec(1))
rarm.set_pose_target(back_pose_r)
rarm.go()
rospy.sleep(rospy.Duration.from_sec(1))
cnt += 1
rospy.loginfo("Start left arm wiggle motions...")
cnt = 0
while cnt < 2:
rospy.loginfo("Left arm is moving...")
larm.set_pose_target(for_pose_l)
larm.go()
rospy.sleep(rospy.Duration.from_sec(1))
larm.set_pose_target(back_pose_l)
larm.go()
rospy.sleep(rospy.Duration.from_sec(1))
cnt += 1
# initialize joints
rospy.loginfo("Initializing both arm joint values...")
rarm.set_joint_value_target(rarm_initial_joint_values)
rarm.go()
rospy.sleep(rospy.Duration.from_sec(1))
larm.set_joint_value_target(larm_initial_joint_values)
larm.go()
rospy.sleep(rospy.Duration.from_sec(1))
rospy.signal_shutdown("Finished.")
if __name__ == '__main__':
try:
wiggle()
except rospy.ROSInterruptException:
pass
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
198,
198,
11748,
10688,
198,
11748,
686,
2777,
88,
198,
6738,
22939,
62,
907,
14542,
13,
19662,
1330,
37557,
11,
2264,
9205,
295,
11,
20650,
18,
198,
6738,
1445,
270,
62,
9503,
4066,
1330,
16071,
6935,
4066,
11,
10028,
13247,
6935,
4066,
198,
6738,
48700,
13,
35636,
602,
1330,
627,
9205,
295,
62,
6738,
62,
68,
18173,
11,
304,
18173,
62,
6738,
62,
421,
9205,
295,
628,
198,
4299,
304,
18173,
62,
1462,
62,
421,
9205,
295,
7,
68,
18173,
2599,
198,
220,
220,
220,
37227,
3103,
24040,
304,
18173,
18333,
284,
627,
9205,
295,
13,
628,
220,
220,
220,
304,
18173,
25,
22939,
62,
907,
14542,
14,
38469,
18,
198,
220,
220,
220,
627,
9205,
295,
25,
22939,
62,
907,
14542,
14,
4507,
9205,
295,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
10662,
796,
627,
9205,
295,
62,
6738,
62,
68,
18173,
7,
68,
18173,
13,
87,
11,
304,
18173,
13,
88,
11,
304,
18173,
13,
89,
8,
198,
220,
220,
220,
1441,
2264,
9205,
295,
7,
87,
28,
80,
58,
15,
4357,
331,
28,
80,
58,
16,
4357,
1976,
28,
80,
58,
17,
4357,
266,
28,
80,
58,
18,
12962,
628,
198,
4299,
627,
9205,
295,
62,
1462,
62,
68,
18173,
7,
421,
9205,
295,
2599,
198,
220,
220,
220,
37227,
3103,
24040,
627,
9205,
295,
284,
304,
18173,
18333,
13,
628,
220,
220,
220,
36343,
759,
295,
25,
22939,
62,
907,
14542,
14,
4507,
9205,
295,
198,
220,
220,
220,
304,
18173,
25,
22939,
62,
907,
14542,
14,
38469,
18,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
304,
796,
304,
18173,
62,
6738,
62,
421,
9205,
295,
7,
198,
220,
220,
220,
220,
220,
220,
220,
357,
421,
9205,
295,
13,
87,
11,
627,
9205,
295,
13,
88,
11,
627,
9205,
295,
13,
89,
11,
627,
9205,
295,
13,
86,
4008,
198,
220,
220,
220,
1441,
20650,
18,
7,
87,
28,
68,
58,
15,
4357,
331,
28,
68,
58,
16,
4357,
1976,
28,
68,
58,
17,
12962,
628,
198,
4299,
266,
24082,
33529,
198,
220,
220,
220,
37227,
23002,
1769,
266,
24082,
25530,
526,
15931,
198,
220,
220,
220,
686,
2777,
88,
13,
15003,
62,
17440,
7203,
21084,
270,
62,
21812,
62,
82,
2194,
1600,
15560,
62,
12683,
874,
28,
17821,
8,
198,
220,
220,
220,
9379,
796,
16071,
6935,
4066,
3419,
198,
220,
220,
220,
374,
1670,
796,
10028,
13247,
6935,
4066,
7203,
1670,
62,
3506,
4943,
628,
220,
220,
220,
1303,
651,
1459,
3722,
198,
220,
220,
220,
300,
1670,
796,
10028,
13247,
6935,
4066,
7203,
1670,
62,
9464,
4943,
198,
220,
220,
220,
374,
1670,
62,
36733,
62,
3455,
796,
374,
1670,
13,
1136,
62,
14421,
62,
3455,
22446,
3455,
198,
220,
220,
220,
374,
1670,
62,
36733,
62,
73,
1563,
62,
27160,
796,
374,
1670,
13,
1136,
62,
14421,
62,
73,
1563,
62,
27160,
3419,
198,
220,
220,
220,
300,
1670,
62,
36733,
62,
3455,
796,
300,
1670,
13,
1136,
62,
14421,
62,
3455,
22446,
3455,
198,
220,
220,
220,
300,
1670,
62,
36733,
62,
73,
1563,
62,
27160,
796,
300,
1670,
13,
1136,
62,
14421,
62,
73,
1563,
62,
27160,
3419,
628,
220,
220,
220,
1303,
900,
5415,
15432,
290,
20309,
198,
220,
220,
220,
374,
1670,
13,
2617,
62,
9806,
62,
626,
11683,
62,
1416,
4272,
62,
31412,
7,
16,
13,
15,
8,
198,
220,
220,
220,
374,
1670,
13,
2617,
62,
9806,
62,
330,
7015,
341,
62,
1416,
4272,
62,
31412,
7,
16,
13,
15,
8,
198,
220,
220,
220,
300,
1670,
13,
2617,
62,
9806,
62,
626,
11683,
62,
1416,
4272,
62,
31412,
7,
16,
13,
15,
8,
198,
220,
220,
220,
300,
1670,
13,
2617,
62,
9806,
62,
330,
7015,
341,
62,
1416,
4272,
62,
31412,
7,
16,
13,
15,
8,
628,
220,
220,
220,
1303,
7716,
17313,
198,
220,
220,
220,
329,
62,
3455,
62,
81,
796,
37557,
3419,
198,
220,
220,
220,
329,
62,
3455,
62,
81,
13,
9150,
13,
87,
796,
374,
1670,
62,
36733,
62,
3455,
13,
9150,
13,
87,
1343,
657,
13,
16,
198,
220,
220,
220,
329,
62,
3455,
62,
81,
13,
9150,
13,
88,
796,
374,
1670,
62,
36733,
62,
3455,
13,
9150,
13,
88,
198,
220,
220,
220,
329,
62,
3455,
62,
81,
13,
9150,
13,
89,
796,
374,
1670,
62,
36733,
62,
3455,
13,
9150,
13,
89,
532,
657,
13,
16,
198,
220,
220,
220,
1459,
62,
68,
18173,
796,
627,
9205,
295,
62,
1462,
62,
68,
18173,
7,
81,
1670,
62,
36733,
62,
3455,
13,
13989,
341,
8,
198,
220,
220,
220,
329,
62,
68,
18173,
796,
20650,
18,
3419,
198,
220,
220,
220,
329,
62,
68,
18173,
13,
87,
796,
1459,
62,
68,
18173,
13,
87,
1343,
10688,
13,
6335,
1547,
7,
1238,
13,
15,
8,
198,
220,
220,
220,
329,
62,
68,
18173,
13,
88,
796,
1459,
62,
68,
18173,
13,
88,
198,
220,
220,
220,
329,
62,
68,
18173,
13,
89,
796,
1459,
62,
68,
18173,
13,
89,
198,
220,
220,
220,
329,
62,
3455,
62,
81,
13,
13989,
341,
796,
304,
18173,
62,
1462,
62,
421,
9205,
295,
7,
1640,
62,
68,
18173,
8,
628,
220,
220,
220,
736,
62,
3455,
62,
81,
796,
37557,
3419,
198,
220,
220,
220,
736,
62,
3455,
62,
81,
13,
9150,
13,
87,
796,
374,
1670,
62,
36733,
62,
3455,
13,
9150,
13,
87,
532,
657,
13,
16,
198,
220,
220,
220,
736,
62,
3455,
62,
81,
13,
9150,
13,
88,
796,
374,
1670,
62,
36733,
62,
3455,
13,
9150,
13,
88,
198,
220,
220,
220,
736,
62,
3455,
62,
81,
13,
9150,
13,
89,
796,
374,
1670,
62,
36733,
62,
3455,
13,
9150,
13,
89,
532,
657,
13,
16,
198,
220,
220,
220,
1459,
62,
68,
18173,
796,
627,
9205,
295,
62,
1462,
62,
68,
18173,
7,
81,
1670,
62,
36733,
62,
3455,
13,
13989,
341,
8,
198,
220,
220,
220,
736,
62,
68,
18173,
796,
20650,
18,
3419,
198,
220,
220,
220,
736,
62,
68,
18173,
13,
87,
796,
1459,
62,
68,
18173,
13,
87,
1343,
10688,
13,
6335,
1547,
32590,
1238,
13,
15,
8,
198,
220,
220,
220,
736,
62,
68,
18173,
13,
88,
796,
1459,
62,
68,
18173,
13,
88,
198,
220,
220,
220,
736,
62,
68,
18173,
13,
89,
796,
1459,
62,
68,
18173,
13,
89,
198,
220,
220,
220,
736,
62,
3455,
62,
81,
13,
13989,
341,
796,
304,
18173,
62,
1462,
62,
421,
9205,
295,
7,
1891,
62,
68,
18173,
8,
628,
220,
220,
220,
329,
62,
3455,
62,
75,
796,
37557,
3419,
198,
220,
220,
220,
329,
62,
3455,
62,
75,
13,
9150,
13,
87,
796,
300,
1670,
62,
36733,
62,
3455,
13,
9150,
13,
87,
1343,
657,
13,
16,
198,
220,
220,
220,
329,
62,
3455,
62,
75,
13,
9150,
13,
88,
796,
300,
1670,
62,
36733,
62,
3455,
13,
9150,
13,
88,
198,
220,
220,
220,
329,
62,
3455,
62,
75,
13,
9150,
13,
89,
796,
300,
1670,
62,
36733,
62,
3455,
13,
9150,
13,
89,
532,
657,
13,
16,
198,
220,
220,
220,
1459,
62,
68,
18173,
796,
627,
9205,
295,
62,
1462,
62,
68,
18173,
7,
75,
1670,
62,
36733,
62,
3455,
13,
13989,
341,
8,
198,
220,
220,
220,
329,
62,
68,
18173,
796,
20650,
18,
3419,
198,
220,
220,
220,
329,
62,
68,
18173,
13,
87,
796,
1459,
62,
68,
18173,
13,
87,
1343,
10688,
13,
6335,
1547,
32590,
1238,
13,
15,
8,
198,
220,
220,
220,
329,
62,
68,
18173,
13,
88,
796,
1459,
62,
68,
18173,
13,
88,
198,
220,
220,
220,
329,
62,
68,
18173,
13,
89,
796,
1459,
62,
68,
18173,
13,
89,
198,
220,
220,
220,
329,
62,
3455,
62,
75,
13,
13989,
341,
796,
304,
18173,
62,
1462,
62,
421,
9205,
295,
7,
1640,
62,
68,
18173,
8,
628,
220,
220,
220,
736,
62,
3455,
62,
75,
796,
37557,
3419,
198,
220,
220,
220,
736,
62,
3455,
62,
75,
13,
9150,
13,
87,
796,
300,
1670,
62,
36733,
62,
3455,
13,
9150,
13,
87,
532,
657,
13,
16,
198,
220,
220,
220,
736,
62,
3455,
62,
75,
13,
9150,
13,
88,
796,
300,
1670,
62,
36733,
62,
3455,
13,
9150,
13,
88,
198,
220,
220,
220,
736,
62,
3455,
62,
75,
13,
9150,
13,
89,
796,
300,
1670,
62,
36733,
62,
3455,
13,
9150,
13,
89,
532,
657,
13,
16,
198,
220,
220,
220,
1459,
62,
68,
18173,
796,
627,
9205,
295,
62,
1462,
62,
68,
18173,
7,
75,
1670,
62,
36733,
62,
3455,
13,
13989,
341,
8,
198,
220,
220,
220,
736,
62,
68,
18173,
796,
20650,
18,
3419,
198,
220,
220,
220,
736,
62,
68,
18173,
13,
87,
796,
1459,
62,
68,
18173,
13,
87,
1343,
10688,
13,
6335,
1547,
7,
1238,
13,
15,
8,
198,
220,
220,
220,
736,
62,
68,
18173,
13,
88,
796,
1459,
62,
68,
18173,
13,
88,
198,
220,
220,
220,
736,
62,
68,
18173,
13,
89,
796,
1459,
62,
68,
18173,
13,
89,
198,
220,
220,
220,
736,
62,
3455,
62,
75,
13,
13989,
341,
796,
304,
18173,
62,
1462,
62,
421,
9205,
295,
7,
1891,
62,
68,
18173,
8,
628,
220,
220,
220,
1303,
12260,
266,
24082,
25530,
1262,
1111,
5101,
198,
220,
220,
220,
686,
2777,
88,
13,
6404,
10951,
7203,
10434,
826,
3211,
266,
24082,
25530,
9313,
8,
198,
220,
220,
220,
269,
429,
796,
657,
198,
220,
220,
220,
981,
269,
429,
1279,
362,
25,
198,
220,
220,
220,
220,
220,
220,
220,
686,
2777,
88,
13,
6404,
10951,
7203,
11028,
3211,
318,
3867,
9313,
8,
198,
220,
220,
220,
220,
220,
220,
220,
374,
1670,
13,
2617,
62,
3455,
62,
16793,
7,
1640,
62,
3455,
62,
81,
8,
198,
220,
220,
220,
220,
220,
220,
220,
374,
1670,
13,
2188,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
686,
2777,
88,
13,
42832,
7,
305,
2777,
88,
13,
26054,
13,
6738,
62,
2363,
7,
16,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
374,
1670,
13,
2617,
62,
3455,
62,
16793,
7,
1891,
62,
3455,
62,
81,
8,
198,
220,
220,
220,
220,
220,
220,
220,
374,
1670,
13,
2188,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
686,
2777,
88,
13,
42832,
7,
305,
2777,
88,
13,
26054,
13,
6738,
62,
2363,
7,
16,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
269,
429,
15853,
352,
628,
220,
220,
220,
686,
2777,
88,
13,
6404,
10951,
7203,
10434,
1364,
3211,
266,
24082,
25530,
9313,
8,
198,
220,
220,
220,
269,
429,
796,
657,
198,
220,
220,
220,
981,
269,
429,
1279,
362,
25,
198,
220,
220,
220,
220,
220,
220,
220,
686,
2777,
88,
13,
6404,
10951,
7203,
18819,
3211,
318,
3867,
9313,
8,
198,
220,
220,
220,
220,
220,
220,
220,
300,
1670,
13,
2617,
62,
3455,
62,
16793,
7,
1640,
62,
3455,
62,
75,
8,
198,
220,
220,
220,
220,
220,
220,
220,
300,
1670,
13,
2188,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
686,
2777,
88,
13,
42832,
7,
305,
2777,
88,
13,
26054,
13,
6738,
62,
2363,
7,
16,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
300,
1670,
13,
2617,
62,
3455,
62,
16793,
7,
1891,
62,
3455,
62,
75,
8,
198,
220,
220,
220,
220,
220,
220,
220,
300,
1670,
13,
2188,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
686,
2777,
88,
13,
42832,
7,
305,
2777,
88,
13,
26054,
13,
6738,
62,
2363,
7,
16,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
269,
429,
15853,
352,
628,
220,
220,
220,
1303,
41216,
24039,
198,
220,
220,
220,
686,
2777,
88,
13,
6404,
10951,
7203,
24243,
2890,
1111,
3211,
6466,
3815,
9313,
8,
198,
220,
220,
220,
374,
1670,
13,
2617,
62,
73,
1563,
62,
8367,
62,
16793,
7,
81,
1670,
62,
36733,
62,
73,
1563,
62,
27160,
8,
198,
220,
220,
220,
374,
1670,
13,
2188,
3419,
198,
220,
220,
220,
686,
2777,
88,
13,
42832,
7,
305,
2777,
88,
13,
26054,
13,
6738,
62,
2363,
7,
16,
4008,
198,
220,
220,
220,
300,
1670,
13,
2617,
62,
73,
1563,
62,
8367,
62,
16793,
7,
75,
1670,
62,
36733,
62,
73,
1563,
62,
27160,
8,
198,
220,
220,
220,
300,
1670,
13,
2188,
3419,
198,
220,
220,
220,
686,
2777,
88,
13,
42832,
7,
305,
2777,
88,
13,
26054,
13,
6738,
62,
2363,
7,
16,
4008,
198,
220,
220,
220,
686,
2777,
88,
13,
12683,
282,
62,
49625,
2902,
7203,
18467,
1348,
19570,
628,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
266,
24082,
3419,
198,
220,
220,
220,
2845,
686,
2777,
88,
13,
49,
2640,
9492,
3622,
16922,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1208,
198
] | 2.245195 | 2,133 |
import numpy as np
from matplotlib import cm
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
from scipy.signal import welch
from itertools import islice
import matplotlib as mpl
from scipy.spatial import distance
from sklearn.linear_model import LinearRegression
from scipy.ndimage import gaussian_filter1d
from src.features.helpers_vis import LinearReg
| [
11748,
299,
32152,
355,
45941,
198,
6738,
2603,
29487,
8019,
1330,
12067,
198,
11748,
2603,
29487,
8019,
13,
9078,
29487,
355,
458,
83,
198,
6738,
285,
489,
62,
25981,
74,
896,
13,
76,
29487,
18,
67,
1330,
12176,
274,
18,
35,
198,
6738,
629,
541,
88,
13,
12683,
282,
1330,
5029,
354,
198,
6738,
340,
861,
10141,
1330,
318,
75,
501,
198,
11748,
2603,
29487,
8019,
355,
285,
489,
198,
6738,
629,
541,
88,
13,
2777,
34961,
1330,
5253,
198,
6738,
1341,
35720,
13,
29127,
62,
19849,
1330,
44800,
8081,
2234,
198,
6738,
629,
541,
88,
13,
358,
9060,
1330,
31986,
31562,
62,
24455,
16,
67,
198,
6738,
12351,
13,
40890,
13,
16794,
364,
62,
4703,
1330,
44800,
8081,
628,
628,
628
] | 3.139344 | 122 |
from pyvista import examples
dataset = examples.load_airplane()
dataset.plot()
| [
6738,
12972,
85,
12523,
1330,
6096,
198,
19608,
292,
316,
796,
6096,
13,
2220,
62,
958,
14382,
3419,
198,
19608,
292,
316,
13,
29487,
3419,
198
] | 3.038462 | 26 |
from dataclasses import dataclass
from typing import Optional
import numpy as np
from qtpy.QtWidgets import QWidget
from vispy import scene
from ..tree import Annotation, Edge
from .base_plotter import TreePlotterQWidgetBase
__all__ = ["VisPyPlotter"]
@dataclass
class VisPyPlotter(TreePlotterQWidgetBase):
"""
Tree plotter using pyqtgraph as the plotting backend.
Attributes
----------
canvas : vispy.scene.SceneCanvas
Main plotting canvas
tree : TreeVisual
The tree.
"""
def __init__(self):
"""
Setup the plot canvas..
"""
self.canvas = scene.SceneCanvas(keys=None, size=(300, 1200))
self.view = self.canvas.central_widget.add_view()
self.view.camera = scene.PanZoomCamera()
self.tree = TreeVisual(parent=None)
self.view.add(self.tree)
@property
def bounds(self) -> Bounds:
"""
Return (xmin, ymin, xmax, ymax) bounds of the drawn tree. This does
not include any annoatations.
"""
xs = np.concatenate([track.pos[:, 0] for id, track in self.tree.tracks.items()])
ys = np.concatenate([track.pos[:, 1] for id, track in self.tree.tracks.items()])
return Bounds(
xmin=np.min(xs), ymin=np.min(ys), xmax=np.max(xs), ymax=np.max(ys)
)
def autoscale_view(self) -> None:
"""Scale the canvas so all branches are in view."""
xs = np.concatenate([track.pos[:, 0] for id, track in self.tree.tracks.items()])
ys = np.concatenate([track.pos[:, 1] for id, track in self.tree.tracks.items()])
padding = 0.1
width, height = np.ptp(xs), np.ptp(ys)
rect = (
np.min(xs) - padding * width,
np.min(ys) - padding * height,
width * (1 + 2 * padding),
height * (1 + 2 * padding),
)
self.view.camera.rect = rect
def update_colors(self) -> None:
"""
Update plotted track colors from the colors in self.edges.
"""
for e in self.edges:
if e.id is not None:
self.tree.set_branch_color(e.id, e.color)
def add_branch(self, e: Edge) -> None:
"""
Add a single branch to the tree.
"""
self.tree.add_track(e.id, np.column_stack((e.y, e.x)), e.color)
self.autoscale_view()
def add_annotation(self, a: Annotation) -> None:
"""
Add a single label to the tree.
"""
self.tree.add_annotation(a.x, a.y, a.label, a.color)
class TreeVisual(scene.visuals.Compound):
"""
Tree visual that stores branches as sub-visuals.
"""
def set_branch_color(self, branch_id: int, color: np.ndarray) -> None:
"""
Set the color of an individual branch.
"""
self.tracks[branch_id].set_data(color=color)
def add_track(self, id: Optional[int], pos: np.ndarray, color: np.ndarray) -> None:
"""
Parameters
----------
id :
Track ID.
pos :
Array of shape (2, 2) specifying vertex coordinates.
color :
Array of shape (n, 4) specifying RGBA values in range [0, 1] along
the track.
"""
if id is None:
visual = scene.visuals.Line(pos=pos, color=color, width=3)
else:
# Split up line into individual time steps so color can vary
# along the line
ys = np.arange(pos[0, 1], pos[1, 1] + 1)
xs = np.ones(ys.size) * pos[0, 0]
visual = scene.visuals.Line(
pos=np.column_stack((xs, ys)), color=color, width=3
)
self.tracks[id] = visual
self.add_subvisual(visual)
self.subvisuals.append(visual)
def clear(self) -> None:
"""Remove all tracks."""
while self.subvisuals:
subvisual = self.subvisuals.pop()
self.remove_subvisual(subvisual)
| [
6738,
4818,
330,
28958,
1330,
4818,
330,
31172,
198,
6738,
19720,
1330,
32233,
198,
198,
11748,
299,
32152,
355,
45941,
198,
6738,
10662,
83,
9078,
13,
48,
83,
54,
312,
11407,
1330,
1195,
38300,
198,
6738,
1490,
9078,
1330,
3715,
198,
198,
6738,
11485,
21048,
1330,
1052,
38983,
11,
13113,
198,
6738,
764,
8692,
62,
29487,
353,
1330,
12200,
43328,
353,
48,
38300,
14881,
198,
198,
834,
439,
834,
796,
14631,
15854,
20519,
43328,
353,
8973,
628,
198,
31,
19608,
330,
31172,
628,
198,
4871,
6911,
20519,
43328,
353,
7,
27660,
43328,
353,
48,
38300,
14881,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
12200,
7110,
353,
1262,
12972,
80,
25297,
1470,
355,
262,
29353,
30203,
13,
628,
220,
220,
220,
49213,
198,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
21978,
1058,
1490,
9078,
13,
29734,
13,
36542,
6090,
11017,
198,
220,
220,
220,
220,
220,
220,
220,
8774,
29353,
21978,
198,
220,
220,
220,
5509,
1058,
12200,
36259,
198,
220,
220,
220,
220,
220,
220,
220,
383,
5509,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
31122,
262,
7110,
21978,
492,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
5171,
11017,
796,
3715,
13,
36542,
6090,
11017,
7,
13083,
28,
14202,
11,
2546,
16193,
6200,
11,
24938,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
1177,
796,
2116,
13,
5171,
11017,
13,
31463,
62,
42655,
13,
2860,
62,
1177,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
1177,
13,
25695,
796,
3715,
13,
15730,
57,
4207,
35632,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
21048,
796,
12200,
36259,
7,
8000,
28,
14202,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
1177,
13,
2860,
7,
944,
13,
21048,
8,
628,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
22303,
7,
944,
8,
4613,
347,
3733,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
8229,
357,
87,
1084,
11,
331,
1084,
11,
2124,
9806,
11,
331,
9806,
8,
22303,
286,
262,
7428,
5509,
13,
770,
857,
198,
220,
220,
220,
220,
220,
220,
220,
407,
2291,
597,
1529,
15073,
602,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2124,
82,
796,
45941,
13,
1102,
9246,
268,
378,
26933,
11659,
13,
1930,
58,
45299,
657,
60,
329,
4686,
11,
2610,
287,
2116,
13,
21048,
13,
46074,
13,
23814,
3419,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
331,
82,
796,
45941,
13,
1102,
9246,
268,
378,
26933,
11659,
13,
1930,
58,
45299,
352,
60,
329,
4686,
11,
2610,
287,
2116,
13,
21048,
13,
46074,
13,
23814,
3419,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
347,
3733,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
1084,
28,
37659,
13,
1084,
7,
34223,
828,
331,
1084,
28,
37659,
13,
1084,
7,
893,
828,
2124,
9806,
28,
37659,
13,
9806,
7,
34223,
828,
331,
9806,
28,
37659,
13,
9806,
7,
893,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
220,
220,
220,
825,
1960,
17500,
1000,
62,
1177,
7,
944,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
29990,
262,
21978,
523,
477,
13737,
389,
287,
1570,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
2124,
82,
796,
45941,
13,
1102,
9246,
268,
378,
26933,
11659,
13,
1930,
58,
45299,
657,
60,
329,
4686,
11,
2610,
287,
2116,
13,
21048,
13,
46074,
13,
23814,
3419,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
331,
82,
796,
45941,
13,
1102,
9246,
268,
378,
26933,
11659,
13,
1930,
58,
45299,
352,
60,
329,
4686,
11,
2610,
287,
2116,
13,
21048,
13,
46074,
13,
23814,
3419,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
24511,
796,
657,
13,
16,
198,
220,
220,
220,
220,
220,
220,
220,
9647,
11,
6001,
796,
45941,
13,
457,
79,
7,
34223,
828,
45941,
13,
457,
79,
7,
893,
8,
198,
220,
220,
220,
220,
220,
220,
220,
13621,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
45941,
13,
1084,
7,
34223,
8,
532,
24511,
1635,
9647,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
45941,
13,
1084,
7,
893,
8,
532,
24511,
1635,
6001,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9647,
1635,
357,
16,
1343,
362,
1635,
24511,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6001,
1635,
357,
16,
1343,
362,
1635,
24511,
828,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
1177,
13,
25695,
13,
2554,
796,
13621,
628,
220,
220,
220,
825,
4296,
62,
4033,
669,
7,
944,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
10133,
37515,
2610,
7577,
422,
262,
7577,
287,
2116,
13,
276,
3212,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
329,
304,
287,
2116,
13,
276,
3212,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
304,
13,
312,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
21048,
13,
2617,
62,
1671,
3702,
62,
8043,
7,
68,
13,
312,
11,
304,
13,
8043,
8,
628,
220,
220,
220,
825,
751,
62,
1671,
3702,
7,
944,
11,
304,
25,
13113,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
3060,
257,
2060,
8478,
284,
262,
5509,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
21048,
13,
2860,
62,
11659,
7,
68,
13,
312,
11,
45941,
13,
28665,
62,
25558,
19510,
68,
13,
88,
11,
304,
13,
87,
36911,
304,
13,
8043,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2306,
17500,
1000,
62,
1177,
3419,
628,
220,
220,
220,
825,
751,
62,
1236,
14221,
7,
944,
11,
257,
25,
1052,
38983,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
3060,
257,
2060,
6167,
284,
262,
5509,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
21048,
13,
2860,
62,
1236,
14221,
7,
64,
13,
87,
11,
257,
13,
88,
11,
257,
13,
18242,
11,
257,
13,
8043,
8,
628,
198,
4871,
12200,
36259,
7,
29734,
13,
41464,
82,
13,
7293,
633,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
12200,
5874,
326,
7000,
13737,
355,
850,
12,
41464,
82,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
825,
900,
62,
1671,
3702,
62,
8043,
7,
944,
11,
8478,
62,
312,
25,
493,
11,
3124,
25,
45941,
13,
358,
18747,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
5345,
262,
3124,
286,
281,
1981,
8478,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
46074,
58,
1671,
3702,
62,
312,
4083,
2617,
62,
7890,
7,
8043,
28,
8043,
8,
628,
220,
220,
220,
825,
751,
62,
11659,
7,
944,
11,
4686,
25,
32233,
58,
600,
4357,
1426,
25,
45941,
13,
358,
18747,
11,
3124,
25,
45941,
13,
358,
18747,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
40117,
198,
220,
220,
220,
220,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
220,
220,
220,
220,
4686,
1058,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17762,
4522,
13,
198,
220,
220,
220,
220,
220,
220,
220,
1426,
1058,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15690,
286,
5485,
357,
17,
11,
362,
8,
31577,
37423,
22715,
13,
198,
220,
220,
220,
220,
220,
220,
220,
3124,
1058,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15690,
286,
5485,
357,
77,
11,
604,
8,
31577,
34359,
4339,
3815,
287,
2837,
685,
15,
11,
352,
60,
1863,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
262,
2610,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
611,
4686,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5874,
796,
3715,
13,
41464,
82,
13,
13949,
7,
1930,
28,
1930,
11,
3124,
28,
8043,
11,
9647,
28,
18,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
27758,
510,
1627,
656,
1981,
640,
4831,
523,
3124,
460,
7565,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1863,
262,
1627,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
331,
82,
796,
45941,
13,
283,
858,
7,
1930,
58,
15,
11,
352,
4357,
1426,
58,
16,
11,
352,
60,
1343,
352,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
82,
796,
45941,
13,
1952,
7,
893,
13,
7857,
8,
1635,
1426,
58,
15,
11,
657,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5874,
796,
3715,
13,
41464,
82,
13,
13949,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1426,
28,
37659,
13,
28665,
62,
25558,
19510,
34223,
11,
331,
82,
36911,
3124,
28,
8043,
11,
9647,
28,
18,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
46074,
58,
312,
60,
796,
5874,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2860,
62,
7266,
41464,
7,
41464,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
7266,
41464,
82,
13,
33295,
7,
41464,
8,
628,
220,
220,
220,
825,
1598,
7,
944,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
27914,
477,
8339,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
981,
2116,
13,
7266,
41464,
82,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
850,
41464,
796,
2116,
13,
7266,
41464,
82,
13,
12924,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
28956,
62,
7266,
41464,
7,
7266,
41464,
8,
198
] | 2.150514 | 1,847 |
# !/usr/bin/env python3
#-*- coding:utf-8 -*-
"""
Foreign exange PLN, Euro ,USDT , BTC
"""
from urllib.request import urlopen
from json import load
from argparse import ArgumentParser
from bittrex.bittrex import Ask
if __name__ == '__main__':
currencies = all_rates()
ask = Ask('usdt-btc')
btc = ask.marketsummary()
btc = btc["Last"]
pln_usd = 1 / currencies["USD"]
pln_eur = 1 / currencies["EUR"]
btc_pln = btc * pln_usd
print("usd:", format(pln_usd, '.2f'))
print("eur:", format(pln_eur, '.2f'))
print("btc:", format(btc_pln, '.2f'))
p = ArgumentParser()
p.add_argument("amount", help="450")
args = p.parse_args()
if args.amount:
amount = args.amount
print(amount, "usd", format(float(amount) * pln_usd, '.1f'), 'PLN')
print(amount, "eur", format(float(amount) * pln_eur, '.1f'), 'PLN')
print(amount, "btc", format(float(amount) * btc, '.1f'), 'USD')
| [
2,
5145,
14,
14629,
14,
8800,
14,
24330,
21015,
18,
198,
2,
12,
9,
12,
19617,
25,
40477,
12,
23,
532,
9,
12,
198,
198,
37811,
198,
8708,
409,
858,
9297,
45,
11,
1898,
837,
2937,
24544,
837,
14503,
198,
37811,
198,
198,
6738,
2956,
297,
571,
13,
25927,
1330,
19016,
9654,
198,
6738,
33918,
1330,
3440,
198,
6738,
1822,
29572,
1330,
45751,
46677,
198,
6738,
275,
715,
21510,
13,
65,
715,
21510,
1330,
16981,
628,
628,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
19247,
796,
477,
62,
9700,
3419,
198,
220,
220,
220,
1265,
796,
16981,
10786,
385,
28664,
12,
18347,
66,
11537,
198,
220,
220,
220,
275,
23047,
796,
1265,
13,
34162,
388,
6874,
3419,
198,
220,
220,
220,
275,
23047,
796,
275,
23047,
14692,
5956,
8973,
198,
220,
220,
220,
458,
77,
62,
385,
67,
796,
352,
1220,
19247,
14692,
29072,
8973,
198,
220,
220,
220,
458,
77,
62,
23365,
796,
352,
1220,
19247,
14692,
36,
4261,
8973,
198,
220,
220,
220,
275,
23047,
62,
489,
77,
796,
275,
23047,
1635,
458,
77,
62,
385,
67,
628,
220,
220,
220,
3601,
7203,
385,
67,
25,
1600,
5794,
7,
489,
77,
62,
385,
67,
11,
45302,
17,
69,
6,
4008,
198,
220,
220,
220,
3601,
7203,
23365,
25,
1600,
5794,
7,
489,
77,
62,
23365,
11,
45302,
17,
69,
6,
4008,
198,
220,
220,
220,
3601,
7203,
18347,
66,
25,
1600,
5794,
7,
18347,
66,
62,
489,
77,
11,
45302,
17,
69,
6,
4008,
628,
220,
220,
220,
279,
796,
45751,
46677,
3419,
198,
220,
220,
220,
279,
13,
2860,
62,
49140,
7203,
17287,
1600,
1037,
2625,
17885,
4943,
198,
220,
220,
220,
26498,
796,
279,
13,
29572,
62,
22046,
3419,
628,
220,
220,
220,
611,
26498,
13,
17287,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2033,
796,
26498,
13,
17287,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
17287,
11,
366,
385,
67,
1600,
5794,
7,
22468,
7,
17287,
8,
1635,
458,
77,
62,
385,
67,
11,
45302,
16,
69,
33809,
705,
6489,
45,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
17287,
11,
366,
23365,
1600,
5794,
7,
22468,
7,
17287,
8,
1635,
458,
77,
62,
23365,
11,
45302,
16,
69,
33809,
705,
6489,
45,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
17287,
11,
366,
18347,
66,
1600,
5794,
7,
22468,
7,
17287,
8,
1635,
275,
23047,
11,
45302,
16,
69,
33809,
705,
29072,
11537,
198
] | 2.26969 | 419 |
from django.contrib import admin
from django.urls import path, include
from main_app.views import handler404 as page_not_found
from django.conf.urls import url
from django.conf import settings
from django.views.static import serve
from django.views.generic import TemplateView
admin.site.site_header = "Developer: Jonak"
admin.site.site_title = ""
admin.site.index_title = "JAK Website"
sitemaps = {}
urlpatterns = [
path("admin/", admin.site.urls),
path(r"", include("main_app.urls")),
path("", include("pwa.urls")),
path("your_profile/", include("your_profile.urls")),
path("announcements/", include("announcements.urls")),
url(r"^$", page_not_found, name="page_not_found"),
url(r"^media/(?P<path>.*)$", serve, {"document_root": settings.MEDIA_ROOT}),
url(r"^static/(?P<path>.*)$", serve, {"document_root": settings.STATIC_ROOT}),
]
handler404 = "main_app.views.handler404"
| [
6738,
42625,
14208,
13,
3642,
822,
1330,
13169,
198,
6738,
42625,
14208,
13,
6371,
82,
1330,
3108,
11,
2291,
198,
6738,
1388,
62,
1324,
13,
33571,
1330,
21360,
26429,
355,
2443,
62,
1662,
62,
9275,
198,
6738,
42625,
14208,
13,
10414,
13,
6371,
82,
1330,
19016,
198,
6738,
42625,
14208,
13,
10414,
1330,
6460,
198,
6738,
42625,
14208,
13,
33571,
13,
12708,
1330,
4691,
198,
6738,
42625,
14208,
13,
33571,
13,
41357,
1330,
37350,
7680,
198,
198,
28482,
13,
15654,
13,
15654,
62,
25677,
796,
366,
45351,
25,
5966,
461,
1,
198,
28482,
13,
15654,
13,
15654,
62,
7839,
796,
13538,
198,
28482,
13,
15654,
13,
9630,
62,
7839,
796,
366,
41,
10206,
15887,
1,
198,
198,
82,
9186,
1686,
796,
23884,
198,
198,
6371,
33279,
82,
796,
685,
198,
220,
220,
220,
3108,
7203,
28482,
14,
1600,
13169,
13,
15654,
13,
6371,
82,
828,
198,
220,
220,
220,
3108,
7,
81,
1,
1600,
2291,
7203,
12417,
62,
1324,
13,
6371,
82,
4943,
828,
198,
220,
220,
220,
3108,
7203,
1600,
2291,
7203,
79,
10247,
13,
6371,
82,
4943,
828,
198,
220,
220,
220,
3108,
7203,
14108,
62,
13317,
14,
1600,
2291,
7203,
14108,
62,
13317,
13,
6371,
82,
4943,
828,
198,
220,
220,
220,
3108,
7203,
1236,
8652,
902,
14,
1600,
2291,
7203,
1236,
8652,
902,
13,
6371,
82,
4943,
828,
198,
220,
220,
220,
19016,
7,
81,
1,
61,
3,
1600,
2443,
62,
1662,
62,
9275,
11,
1438,
2625,
7700,
62,
1662,
62,
9275,
12340,
198,
220,
220,
220,
19016,
7,
81,
1,
61,
11431,
29006,
30,
47,
27,
6978,
29,
15885,
8,
3,
1600,
4691,
11,
19779,
22897,
62,
15763,
1298,
6460,
13,
30733,
3539,
62,
13252,
2394,
92,
828,
198,
220,
220,
220,
19016,
7,
81,
1,
61,
12708,
29006,
30,
47,
27,
6978,
29,
15885,
8,
3,
1600,
4691,
11,
19779,
22897,
62,
15763,
1298,
6460,
13,
35744,
2149,
62,
13252,
2394,
92,
828,
198,
60,
198,
198,
30281,
26429,
796,
366,
12417,
62,
1324,
13,
33571,
13,
30281,
26429,
1,
198
] | 2.706231 | 337 |
# -*- coding: utf-8 -*-
"""reVX PLEXOS unit test module
"""
from click.testing import CliRunner
import os
import pytest
import pandas as pd
from pandas.testing import assert_series_equal
import tempfile
import traceback
from rex.utilities.loggers import LOGGERS
from reVX import TESTDATADIR
from reVX.utilities.region_classifier import RegionClassifier
from reVX.cli import main
META_PATH = os.path.join(TESTDATADIR, 'classification/meta.csv')
REGIONS_PATH = os.path.join(TESTDATADIR, 'classification/us_states.shp')
RESULTS_PATH = os.path.join(TESTDATADIR, 'classification/new_meta.csv')
REGIONS_LABEL = 'NAME'
@pytest.fixture(scope="module")
def runner():
"""
cli runner
"""
return CliRunner()
def test_region_classification():
"""Test the rpm clustering pipeline and run a baseline validation."""
classification = RegionClassifier.run(meta_path=META_PATH,
regions=REGIONS_PATH,
regions_label=REGIONS_LABEL,
force=True)
test_labels = classification[REGIONS_LABEL]
valid_labels = pd.read_csv(RESULTS_PATH)[REGIONS_LABEL]
assert_series_equal(test_labels, valid_labels)
def test_cli(runner):
"""
Test CLI
"""
valid_labels = pd.read_csv(RESULTS_PATH)[REGIONS_LABEL]
with tempfile.TemporaryDirectory() as td:
out_path = os.path.join(td, 'test.csv')
result = runner.invoke(main, ['region-classifier',
'-mp', META_PATH,
'-rp', REGIONS_PATH,
'-rl', REGIONS_LABEL,
'-o', out_path,
'-f'])
msg = ('Failed with error {}'
.format(traceback.print_exception(*result.exc_info)))
assert result.exit_code == 0, msg
test_labels = pd.read_csv(out_path)[REGIONS_LABEL]
assert_series_equal(test_labels, valid_labels)
LOGGERS.clear()
def execute_pytest(capture='all', flags='-rapP'):
"""Execute module as pytest with detailed summary report.
Parameters
----------
capture : str
Log or stdout/stderr capture option. ex: log (only logger),
all (includes stdout/stderr)
flags : str
Which tests to show logs and results for.
"""
fname = os.path.basename(__file__)
pytest.main(['-q', '--show-capture={}'.format(capture), fname, flags])
if __name__ == '__main__':
execute_pytest()
| [
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
37811,
260,
53,
55,
350,
2538,
55,
2640,
4326,
1332,
8265,
198,
37811,
198,
6738,
3904,
13,
33407,
1330,
1012,
72,
49493,
198,
11748,
28686,
198,
11748,
12972,
9288,
198,
11748,
19798,
292,
355,
279,
67,
198,
6738,
19798,
292,
13,
33407,
1330,
6818,
62,
25076,
62,
40496,
198,
11748,
20218,
7753,
198,
11748,
12854,
1891,
198,
198,
6738,
302,
87,
13,
315,
2410,
13,
6404,
5355,
1330,
41605,
38,
4877,
198,
198,
6738,
302,
53,
55,
1330,
43001,
35,
1404,
2885,
4663,
198,
6738,
302,
53,
55,
13,
315,
2410,
13,
36996,
62,
4871,
7483,
1330,
17718,
9487,
7483,
198,
6738,
302,
53,
55,
13,
44506,
1330,
1388,
628,
198,
44,
20892,
62,
34219,
796,
28686,
13,
6978,
13,
22179,
7,
51,
6465,
35,
1404,
2885,
4663,
11,
705,
4871,
2649,
14,
28961,
13,
40664,
11537,
198,
31553,
11053,
62,
34219,
796,
28686,
13,
6978,
13,
22179,
7,
51,
6465,
35,
1404,
2885,
4663,
11,
705,
4871,
2649,
14,
385,
62,
27219,
13,
1477,
79,
11537,
198,
46274,
62,
34219,
796,
28686,
13,
6978,
13,
22179,
7,
51,
6465,
35,
1404,
2885,
4663,
11,
705,
4871,
2649,
14,
3605,
62,
28961,
13,
40664,
11537,
198,
198,
31553,
11053,
62,
48780,
3698,
796,
705,
20608,
6,
628,
198,
31,
9078,
9288,
13,
69,
9602,
7,
29982,
2625,
21412,
4943,
198,
4299,
17490,
33529,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
537,
72,
17490,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1441,
1012,
72,
49493,
3419,
628,
198,
4299,
1332,
62,
36996,
62,
4871,
2649,
33529,
198,
220,
220,
220,
37227,
14402,
262,
37542,
32966,
1586,
11523,
290,
1057,
257,
14805,
21201,
526,
15931,
628,
220,
220,
220,
17923,
796,
17718,
9487,
7483,
13,
5143,
7,
28961,
62,
6978,
28,
44,
20892,
62,
34219,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7652,
28,
31553,
11053,
62,
34219,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7652,
62,
18242,
28,
31553,
11053,
62,
48780,
3698,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2700,
28,
17821,
8,
628,
220,
220,
220,
1332,
62,
23912,
1424,
796,
17923,
58,
31553,
11053,
62,
48780,
3698,
60,
198,
220,
220,
220,
4938,
62,
23912,
1424,
796,
279,
67,
13,
961,
62,
40664,
7,
46274,
62,
34219,
38381,
31553,
11053,
62,
48780,
3698,
60,
198,
220,
220,
220,
6818,
62,
25076,
62,
40496,
7,
9288,
62,
23912,
1424,
11,
4938,
62,
23912,
1424,
8,
628,
198,
4299,
1332,
62,
44506,
7,
16737,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
6208,
43749,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
4938,
62,
23912,
1424,
796,
279,
67,
13,
961,
62,
40664,
7,
46274,
62,
34219,
38381,
31553,
11053,
62,
48780,
3698,
60,
198,
220,
220,
220,
351,
20218,
7753,
13,
12966,
5551,
43055,
3419,
355,
41560,
25,
198,
220,
220,
220,
220,
220,
220,
220,
503,
62,
6978,
796,
28686,
13,
6978,
13,
22179,
7,
8671,
11,
705,
9288,
13,
40664,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
1255,
796,
17490,
13,
37669,
7,
12417,
11,
37250,
36996,
12,
4871,
7483,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
12,
3149,
3256,
337,
20892,
62,
34219,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
12,
81,
79,
3256,
23337,
11053,
62,
34219,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
12,
45895,
3256,
23337,
11053,
62,
48780,
3698,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
12,
78,
3256,
503,
62,
6978,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
12,
69,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
31456,
796,
19203,
37,
6255,
351,
4049,
23884,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
764,
18982,
7,
40546,
1891,
13,
4798,
62,
1069,
4516,
46491,
20274,
13,
41194,
62,
10951,
22305,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
1255,
13,
37023,
62,
8189,
6624,
657,
11,
31456,
628,
220,
220,
220,
220,
220,
220,
220,
1332,
62,
23912,
1424,
796,
279,
67,
13,
961,
62,
40664,
7,
448,
62,
6978,
38381,
31553,
11053,
62,
48780,
3698,
60,
628,
220,
220,
220,
6818,
62,
25076,
62,
40496,
7,
9288,
62,
23912,
1424,
11,
4938,
62,
23912,
1424,
8,
628,
220,
220,
220,
41605,
38,
4877,
13,
20063,
3419,
628,
198,
4299,
12260,
62,
9078,
9288,
7,
27144,
495,
11639,
439,
3256,
9701,
11639,
12,
2416,
47,
6,
2599,
198,
220,
220,
220,
37227,
23002,
1133,
8265,
355,
12972,
9288,
351,
6496,
10638,
989,
13,
628,
220,
220,
220,
40117,
198,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
8006,
1058,
965,
198,
220,
220,
220,
220,
220,
220,
220,
5972,
393,
14367,
448,
14,
301,
1082,
81,
8006,
3038,
13,
409,
25,
2604,
357,
8807,
49706,
828,
198,
220,
220,
220,
220,
220,
220,
220,
477,
357,
42813,
14367,
448,
14,
301,
1082,
81,
8,
198,
220,
220,
220,
9701,
1058,
965,
198,
220,
220,
220,
220,
220,
220,
220,
9022,
5254,
284,
905,
17259,
290,
2482,
329,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
277,
3672,
796,
28686,
13,
6978,
13,
12093,
12453,
7,
834,
7753,
834,
8,
198,
220,
220,
220,
12972,
9288,
13,
12417,
7,
17816,
12,
80,
3256,
705,
438,
12860,
12,
27144,
495,
34758,
92,
4458,
18982,
7,
27144,
495,
828,
277,
3672,
11,
9701,
12962,
628,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
12260,
62,
9078,
9288,
3419,
198
] | 2.155071 | 1,193 |
new='\nNew Message'
savefile=open('first.txt','a')
savefile.write(new)
savefile.close()
| [
3605,
11639,
59,
77,
3791,
16000,
6,
201,
198,
21928,
7753,
28,
9654,
10786,
11085,
13,
14116,
41707,
64,
11537,
201,
198,
21928,
7753,
13,
13564,
7,
3605,
8,
201,
198,
21928,
7753,
13,
19836,
3419,
201,
198
] | 2.421053 | 38 |
# -*- coding: utf-8 -*-
from . import pos_category
from . import product_import_batch
from . import product_cierres_import_batch | [
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
198,
6738,
764,
1330,
1426,
62,
22872,
198,
6738,
764,
1330,
1720,
62,
11748,
62,
43501,
198,
6738,
764,
1330,
1720,
62,
66,
959,
411,
62,
11748,
62,
43501
] | 3 | 43 |
# -*- coding: utf-8 -*-
"""
Created on Thu Jan 6 09:24:13 2022
@author: kawta
"""
import tensorflow.keras
import keras
import numpy as np
from tensorflow.keras.models import Sequential
from tensorflow.keras.layers import Dense, Dropout, Flatten
from tensorflow.keras.layers import Conv2D, MaxPooling2D
import matplotlib.pyplot as plt
import tensorflow as tf
from tensorflow.keras import regularizers
###############################################################################
###############################################################################
############# E X E M P L E N°1 A V E C C I F A R - 1 0 #################
###############################################################################
###############################################################################
# Load CIFAR10 dataset
(x_train, y_train), (x_test, y_test) = keras.datasets.cifar10.load_data()
#assert x_train.shape == (50000, 32, 32, 3)
#assert x_test.shape == (10000, 32, 32, 3)
#assert y_train.shape == (50000, 1)
#assert y_test.shape == (10000, 1)
# Model configuration for CIFAR-10 data
img_width, img_height, num_channels = 32, 32, 3
input_shape = (img_height, img_width, num_channels)
print(x_train.shape)
###############################################################################
###############################################################################
# Add number of channels to CIFAR-10 data
#x_train = x_train.reshape((len(x_train), img_height, img_width, num_channels))
#x_test = x_test.reshape((len(x_test), img_height, img_width, num_channels))
# Parse numbers as floats
x_train = x_train.astype('float32') ## Permet de changer l'encodage couleur d'une image ( float 32 peut être changé en float 6 / ou float 6 = les chiffres correspondent à des 'bits')
x_test = x_test.astype('float32')
# Normalize data
x_train = x_train / 255
x_test = x_test / 255
# Convert target vectors to categorical targets
y_train = tensorflow.keras.utils.to_categorical(y_train, 10)
y_test = tensorflow.keras.utils.to_categorical(y_test, 10)
# Create the model
model = Sequential()
model.add(Conv2D(32, kernel_size=(3, 3), activation='relu', input_shape=input_shape, activity_regularizer=regularizers.l1_l2(l1=0.01, l2=0.01)))
model.add(MaxPooling2D(pool_size=(2, 2)))
model.add(Dropout(0.25))
model.add(Conv2D(64, kernel_size=(3, 3), activation='relu', activity_regularizer=regularizers.l1_l2(l1=0.01, l2=0.01)))
model.add(MaxPooling2D(pool_size=(2, 2)))
model.add(Dropout(0.25))
model.add(Flatten())
model.add(Dense(256, activation='relu', activity_regularizer=regularizers.l1_l2(l1=0.01, l2=0.01)))
model.add(Dense(10, activation='softmax', activity_regularizer=regularizers.l1_l2(l1=0.01, l2=0.01)))
# Create the model
#model = Sequential()
#model.add(Conv2D(32, kernel_size=(3, 3), activation='relu', x_train.shape=x_train.shape, kernel_regularizer=tf.regularizers.L1(0.01), bias_regularizer=tf.regularizers.L1(0.01)))
#model.add(MaxPooling2D(pool_size=(2, 2)))
#model.add(Dropout(0.25))
#model.add(Conv2D(64, kernel_size=(3, 3), activation='relu', kernel_regularizer=regularizers.l1(0.01), bias_regularizer=regularizers.l1(0.01)))
#model.add(MaxPooling2D(pool_size=(2, 2)))
#model.add(Dropout(0.25))
#model.add(Flatten())
#model.add(Dense(256, activation='relu', kernel_regularizer=regularizers.l1(0.01), bias_regularizer=regularizers.l1(0.01)))
#model.add(Dense(no_classes, activation='softmax', kernel_regularizer=regularizers.l1(0.01), bias_regularizer=regularizers.l1(0.01)))
### Compile the model
model.compile(loss=tensorflow.keras.losses.categorical_crossentropy,
optimizer=tensorflow.keras.optimizers.Adam(learning_rate=0.1),
metrics=['accuracy'])
# Fit data to model
history = model.fit(x_train, y_train,
batch_size=50,
epochs=50,
verbose=1,
validation_split=0.2)
# Generate generalization metrics
score = model.evaluate(x_test, y_test, verbose=0)
print(f'Test loss: {score[0]} / Test accuracy: {score[1]}')
# Plot history: Loss
plt.plot(history.history['loss'], label='Training data')
plt.plot(history.history['val_loss'], label='Validation data')
plt.title('L1/L2 Activity Loss')
plt.ylabel('Loss value')
plt.xlabel('No. epoch')
plt.legend(loc="upper left")
plt.show()
# Plot history: Accuracy
plt.plot(history.history['acc'], label='Training data')
plt.plot(history.history['val_acc'], label='Validation data')
plt.title('L1/L2 Activity Accuracy')
plt.ylabel('%')
plt.xlabel('No. epoch')
plt.legend(loc="upper left")
plt.show()
###############################################################################
###############################################################################
############# E X E M P L E N°2 A V E C C I F A R - 10 ##############
###############################################################################
###############################################################################
import tensorflow.keras
import keras
import numpy as np
from tensorflow.keras.models import Sequential
from tensorflow.keras.layers import Dense, Dropout, Flatten
from tensorflow.keras.layers import Conv2D, MaxPooling2D
import matplotlib.pyplot as plt
import tensorflow as tf
from tensorflow.keras import regularizers
# Load CIFAR10 dataset
(x_train, y_train), (x_test, y_test) = keras.datasets.cifar10.load_data()
# Model configuration for CIFAR-10 data
img_width, img_height, num_channels = 32, 32, 3
input_shape = (img_height, img_width, num_channels)
print(x_train.shape)
# Normalize data
x_train = x_train / 255
x_test = x_test / 255
# Convert target vectors to categorical targets
y_train = tensorflow.keras.utils.to_categorical(y_train, 10)
y_test = tensorflow.keras.utils.to_categorical(y_test, 10)
# Create the model
model = Sequential()
model.add(Conv2D(32, kernel_size=(3, 3), activation='relu', input_shape=input_shape, activity_regularizer=regularizers.l1_l2(l1=0.04, l2=0.01)))
model.add(MaxPooling2D(pool_size=(2, 2)))
model.add(Dropout(0.025))
model.add(Conv2D(64, kernel_size=(3, 3), activation='relu', activity_regularizer=regularizers.l1_l2(l1=0.04, l2=0.01)))
model.add(MaxPooling2D(pool_size=(2, 2)))
model.add(Dropout(0.025))
model.add(Flatten())
model.add(Dense(256, activation='relu', activity_regularizer=regularizers.l1_l2(l1=0.04, l2=0.01)))
model.add(Dense(10, activation='softmax', activity_regularizer=regularizers.l1_l2(l1=0.04, l2=0.01)))
### Compile the model
model.compile(loss=tensorflow.keras.losses.categorical_crossentropy,
optimizer=tensorflow.keras.optimizers.Adam(),
metrics=['accuracy'])
# Fit data to model
history = model.fit(x_train, y_train,
batch_size=50,
epochs=50,
verbose=1,
validation_split=0.2)
# Generate generalization metrics
score = model.evaluate(x_test, y_test, verbose=0)
print(f'Test loss: {score[0]} / Test accuracy: {score[1]}')
# Plot history: Loss
plt.plot(history.history['loss'], label='Training data')
plt.plot(history.history['val_loss'], label='Validation data')
plt.title('L1/L2 Activity Loss')
plt.ylabel('Loss value')
plt.xlabel('No. epoch')
plt.legend(loc="upper left")
plt.show()
# Plot history: Accuracy
plt.plot(history.history['acc'], label='Training data')
plt.plot(history.history['val_acc'], label='Validation data')
plt.title('L1/L2 Activity Accuracy')
plt.ylabel('%')
plt.xlabel('No. epoch')
plt.legend(loc="upper left")
plt.show()
| [
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
37811,
198,
41972,
319,
26223,
2365,
220,
718,
7769,
25,
1731,
25,
1485,
33160,
198,
198,
31,
9800,
25,
479,
707,
8326,
198,
37811,
628,
198,
198,
11748,
11192,
273,
11125,
13,
6122,
292,
198,
11748,
41927,
292,
198,
11748,
299,
32152,
355,
45941,
198,
6738,
11192,
273,
11125,
13,
6122,
292,
13,
27530,
1330,
24604,
1843,
198,
6738,
11192,
273,
11125,
13,
6122,
292,
13,
75,
6962,
1330,
360,
1072,
11,
14258,
448,
11,
1610,
41769,
198,
6738,
11192,
273,
11125,
13,
6122,
292,
13,
75,
6962,
1330,
34872,
17,
35,
11,
5436,
27201,
278,
17,
35,
198,
11748,
2603,
29487,
8019,
13,
9078,
29487,
355,
458,
83,
198,
11748,
11192,
273,
11125,
355,
48700,
198,
6738,
11192,
273,
11125,
13,
6122,
292,
1330,
3218,
11341,
628,
198,
198,
29113,
29113,
7804,
4242,
21017,
198,
29113,
29113,
7804,
4242,
21017,
198,
7804,
4242,
2,
412,
1395,
412,
337,
350,
406,
412,
220,
220,
220,
399,
7200,
16,
220,
317,
569,
412,
327,
220,
220,
327,
314,
376,
317,
371,
532,
352,
657,
1303,
14468,
198,
29113,
29113,
7804,
4242,
21017,
198,
29113,
29113,
7804,
4242,
21017,
198,
198,
2,
8778,
327,
5064,
1503,
940,
27039,
198,
7,
87,
62,
27432,
11,
331,
62,
27432,
828,
357,
87,
62,
9288,
11,
331,
62,
9288,
8,
796,
41927,
292,
13,
19608,
292,
1039,
13,
66,
361,
283,
940,
13,
2220,
62,
7890,
3419,
198,
2,
30493,
2124,
62,
27432,
13,
43358,
6624,
357,
20,
2388,
11,
3933,
11,
3933,
11,
513,
8,
198,
2,
30493,
2124,
62,
9288,
13,
43358,
6624,
357,
49388,
11,
3933,
11,
3933,
11,
513,
8,
198,
2,
30493,
331,
62,
27432,
13,
43358,
6624,
357,
20,
2388,
11,
352,
8,
198,
2,
30493,
331,
62,
9288,
13,
43358,
6624,
357,
49388,
11,
352,
8,
198,
198,
2,
9104,
8398,
329,
327,
5064,
1503,
12,
940,
1366,
198,
9600,
62,
10394,
11,
33705,
62,
17015,
11,
997,
62,
354,
8961,
796,
3933,
11,
3933,
11,
513,
198,
15414,
62,
43358,
796,
357,
9600,
62,
17015,
11,
33705,
62,
10394,
11,
997,
62,
354,
8961,
8,
198,
4798,
7,
87,
62,
27432,
13,
43358,
8,
198,
198,
29113,
29113,
7804,
4242,
21017,
198,
29113,
29113,
7804,
4242,
21017,
198,
198,
2,
3060,
1271,
286,
9619,
284,
327,
5064,
1503,
12,
940,
1366,
198,
2,
87,
62,
27432,
796,
2124,
62,
27432,
13,
3447,
1758,
19510,
11925,
7,
87,
62,
27432,
828,
33705,
62,
17015,
11,
33705,
62,
10394,
11,
997,
62,
354,
8961,
4008,
198,
2,
87,
62,
9288,
220,
796,
2124,
62,
9288,
13,
3447,
1758,
19510,
11925,
7,
87,
62,
9288,
828,
33705,
62,
17015,
11,
33705,
62,
10394,
11,
997,
62,
354,
8961,
4008,
628,
198,
2,
2547,
325,
3146,
355,
36016,
198,
87,
62,
27432,
796,
2124,
62,
27432,
13,
459,
2981,
10786,
22468,
2624,
11537,
22492,
2448,
4164,
390,
1488,
263,
300,
6,
12685,
375,
496,
2284,
293,
333,
288,
6,
1726,
2939,
357,
12178,
3933,
613,
315,
6184,
103,
33945,
1488,
2634,
551,
12178,
718,
1220,
267,
84,
12178,
718,
796,
10287,
442,
733,
411,
21076,
28141,
748,
705,
9895,
11537,
198,
87,
62,
9288,
796,
2124,
62,
9288,
13,
459,
2981,
10786,
22468,
2624,
11537,
628,
198,
2,
14435,
1096,
1366,
198,
87,
62,
27432,
796,
2124,
62,
27432,
1220,
14280,
198,
87,
62,
9288,
796,
2124,
62,
9288,
1220,
14280,
628,
198,
2,
38240,
2496,
30104,
284,
4253,
12409,
6670,
198,
88,
62,
27432,
796,
11192,
273,
11125,
13,
6122,
292,
13,
26791,
13,
1462,
62,
66,
2397,
12409,
7,
88,
62,
27432,
11,
838,
8,
198,
88,
62,
9288,
796,
11192,
273,
11125,
13,
6122,
292,
13,
26791,
13,
1462,
62,
66,
2397,
12409,
7,
88,
62,
9288,
11,
838,
8,
628,
198,
2,
13610,
262,
2746,
198,
19849,
796,
24604,
1843,
3419,
198,
19849,
13,
2860,
7,
3103,
85,
17,
35,
7,
2624,
11,
9720,
62,
7857,
16193,
18,
11,
513,
828,
14916,
11639,
260,
2290,
3256,
5128,
62,
43358,
28,
15414,
62,
43358,
11,
3842,
62,
16338,
7509,
28,
16338,
11341,
13,
75,
16,
62,
75,
17,
7,
75,
16,
28,
15,
13,
486,
11,
300,
17,
28,
15,
13,
486,
22305,
198,
19849,
13,
2860,
7,
11518,
27201,
278,
17,
35,
7,
7742,
62,
7857,
16193,
17,
11,
362,
22305,
198,
19849,
13,
2860,
7,
26932,
448,
7,
15,
13,
1495,
4008,
198,
19849,
13,
2860,
7,
3103,
85,
17,
35,
7,
2414,
11,
9720,
62,
7857,
16193,
18,
11,
513,
828,
14916,
11639,
260,
2290,
3256,
3842,
62,
16338,
7509,
28,
16338,
11341,
13,
75,
16,
62,
75,
17,
7,
75,
16,
28,
15,
13,
486,
11,
300,
17,
28,
15,
13,
486,
22305,
198,
19849,
13,
2860,
7,
11518,
27201,
278,
17,
35,
7,
7742,
62,
7857,
16193,
17,
11,
362,
22305,
198,
19849,
13,
2860,
7,
26932,
448,
7,
15,
13,
1495,
4008,
198,
19849,
13,
2860,
7,
7414,
41769,
28955,
198,
19849,
13,
2860,
7,
35,
1072,
7,
11645,
11,
14916,
11639,
260,
2290,
3256,
3842,
62,
16338,
7509,
28,
16338,
11341,
13,
75,
16,
62,
75,
17,
7,
75,
16,
28,
15,
13,
486,
11,
300,
17,
28,
15,
13,
486,
22305,
198,
19849,
13,
2860,
7,
35,
1072,
7,
940,
11,
14916,
11639,
4215,
9806,
3256,
3842,
62,
16338,
7509,
28,
16338,
11341,
13,
75,
16,
62,
75,
17,
7,
75,
16,
28,
15,
13,
486,
11,
300,
17,
28,
15,
13,
486,
22305,
628,
198,
198,
2,
13610,
262,
2746,
198,
2,
19849,
796,
24604,
1843,
3419,
198,
2,
19849,
13,
2860,
7,
3103,
85,
17,
35,
7,
2624,
11,
9720,
62,
7857,
16193,
18,
11,
513,
828,
14916,
11639,
260,
2290,
3256,
2124,
62,
27432,
13,
43358,
28,
87,
62,
27432,
13,
43358,
11,
9720,
62,
16338,
7509,
28,
27110,
13,
16338,
11341,
13,
43,
16,
7,
15,
13,
486,
828,
10690,
62,
16338,
7509,
28,
27110,
13,
16338,
11341,
13,
43,
16,
7,
15,
13,
486,
22305,
198,
2,
19849,
13,
2860,
7,
11518,
27201,
278,
17,
35,
7,
7742,
62,
7857,
16193,
17,
11,
362,
22305,
198,
2,
19849,
13,
2860,
7,
26932,
448,
7,
15,
13,
1495,
4008,
198,
2,
19849,
13,
2860,
7,
3103,
85,
17,
35,
7,
2414,
11,
9720,
62,
7857,
16193,
18,
11,
513,
828,
14916,
11639,
260,
2290,
3256,
9720,
62,
16338,
7509,
28,
16338,
11341,
13,
75,
16,
7,
15,
13,
486,
828,
10690,
62,
16338,
7509,
28,
16338,
11341,
13,
75,
16,
7,
15,
13,
486,
22305,
198,
2,
19849,
13,
2860,
7,
11518,
27201,
278,
17,
35,
7,
7742,
62,
7857,
16193,
17,
11,
362,
22305,
198,
2,
19849,
13,
2860,
7,
26932,
448,
7,
15,
13,
1495,
4008,
198,
2,
19849,
13,
2860,
7,
7414,
41769,
28955,
198,
2,
19849,
13,
2860,
7,
35,
1072,
7,
11645,
11,
14916,
11639,
260,
2290,
3256,
9720,
62,
16338,
7509,
28,
16338,
11341,
13,
75,
16,
7,
15,
13,
486,
828,
10690,
62,
16338,
7509,
28,
16338,
11341,
13,
75,
16,
7,
15,
13,
486,
22305,
198,
2,
19849,
13,
2860,
7,
35,
1072,
7,
3919,
62,
37724,
11,
14916,
11639,
4215,
9806,
3256,
9720,
62,
16338,
7509,
28,
16338,
11341,
13,
75,
16,
7,
15,
13,
486,
828,
10690,
62,
16338,
7509,
28,
16338,
11341,
13,
75,
16,
7,
15,
13,
486,
22305,
198,
198,
21017,
3082,
576,
262,
2746,
220,
198,
19849,
13,
5589,
576,
7,
22462,
28,
83,
22854,
11125,
13,
6122,
292,
13,
22462,
274,
13,
66,
2397,
12409,
62,
19692,
298,
28338,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6436,
7509,
28,
83,
22854,
11125,
13,
6122,
292,
13,
40085,
11341,
13,
23159,
7,
40684,
62,
4873,
28,
15,
13,
16,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
20731,
28,
17816,
4134,
23843,
6,
12962,
198,
198,
2,
25048,
1366,
284,
2746,
198,
23569,
796,
2746,
13,
11147,
7,
87,
62,
27432,
11,
331,
62,
27432,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15458,
62,
7857,
28,
1120,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
36835,
82,
28,
1120,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15942,
577,
28,
16,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
21201,
62,
35312,
28,
15,
13,
17,
8,
628,
198,
2,
2980,
378,
2276,
1634,
20731,
198,
26675,
796,
2746,
13,
49786,
7,
87,
62,
9288,
11,
331,
62,
9288,
11,
15942,
577,
28,
15,
8,
198,
4798,
7,
69,
6,
14402,
2994,
25,
1391,
26675,
58,
15,
48999,
1220,
6208,
9922,
25,
1391,
26675,
58,
16,
48999,
11537,
628,
198,
2,
28114,
2106,
25,
22014,
198,
489,
83,
13,
29487,
7,
23569,
13,
23569,
17816,
22462,
6,
4357,
6167,
11639,
44357,
1366,
11537,
198,
489,
83,
13,
29487,
7,
23569,
13,
23569,
17816,
2100,
62,
22462,
6,
4357,
6167,
11639,
7762,
24765,
1366,
11537,
198,
489,
83,
13,
7839,
10786,
43,
16,
14,
43,
17,
24641,
22014,
11537,
198,
489,
83,
13,
2645,
9608,
10786,
43,
793,
1988,
11537,
198,
489,
83,
13,
87,
18242,
10786,
2949,
13,
36835,
11537,
198,
489,
83,
13,
1455,
437,
7,
17946,
2625,
45828,
1364,
4943,
198,
489,
83,
13,
12860,
3419,
198,
198,
2,
28114,
2106,
25,
33222,
198,
489,
83,
13,
29487,
7,
23569,
13,
23569,
17816,
4134,
6,
4357,
6167,
11639,
44357,
1366,
11537,
198,
489,
83,
13,
29487,
7,
23569,
13,
23569,
17816,
2100,
62,
4134,
6,
4357,
6167,
11639,
7762,
24765,
1366,
11537,
198,
489,
83,
13,
7839,
10786,
43,
16,
14,
43,
17,
24641,
33222,
11537,
198,
489,
83,
13,
2645,
9608,
10786,
4,
11537,
198,
489,
83,
13,
87,
18242,
10786,
2949,
13,
36835,
11537,
198,
489,
83,
13,
1455,
437,
7,
17946,
2625,
45828,
1364,
4943,
198,
489,
83,
13,
12860,
3419,
628,
628,
628,
628,
198,
29113,
29113,
7804,
4242,
21017,
198,
29113,
29113,
7804,
4242,
21017,
198,
7804,
4242,
2,
412,
1395,
412,
337,
350,
406,
412,
220,
220,
220,
220,
220,
399,
7200,
17,
220,
220,
317,
569,
412,
327,
220,
220,
327,
314,
376,
317,
371,
532,
838,
220,
1303,
7804,
4242,
2,
198,
29113,
29113,
7804,
4242,
21017,
198,
29113,
29113,
7804,
4242,
21017,
628,
198,
11748,
11192,
273,
11125,
13,
6122,
292,
198,
11748,
41927,
292,
198,
11748,
299,
32152,
355,
45941,
198,
6738,
11192,
273,
11125,
13,
6122,
292,
13,
27530,
1330,
24604,
1843,
198,
6738,
11192,
273,
11125,
13,
6122,
292,
13,
75,
6962,
1330,
360,
1072,
11,
14258,
448,
11,
1610,
41769,
198,
6738,
11192,
273,
11125,
13,
6122,
292,
13,
75,
6962,
1330,
34872,
17,
35,
11,
5436,
27201,
278,
17,
35,
198,
11748,
2603,
29487,
8019,
13,
9078,
29487,
355,
458,
83,
198,
11748,
11192,
273,
11125,
355,
48700,
198,
6738,
11192,
273,
11125,
13,
6122,
292,
1330,
3218,
11341,
628,
198,
2,
8778,
327,
5064,
1503,
940,
27039,
198,
7,
87,
62,
27432,
11,
331,
62,
27432,
828,
357,
87,
62,
9288,
11,
331,
62,
9288,
8,
796,
41927,
292,
13,
19608,
292,
1039,
13,
66,
361,
283,
940,
13,
2220,
62,
7890,
3419,
628,
198,
2,
9104,
8398,
329,
327,
5064,
1503,
12,
940,
1366,
198,
9600,
62,
10394,
11,
33705,
62,
17015,
11,
997,
62,
354,
8961,
796,
3933,
11,
3933,
11,
513,
198,
15414,
62,
43358,
796,
357,
9600,
62,
17015,
11,
33705,
62,
10394,
11,
997,
62,
354,
8961,
8,
198,
4798,
7,
87,
62,
27432,
13,
43358,
8,
628,
198,
2,
14435,
1096,
1366,
198,
87,
62,
27432,
796,
2124,
62,
27432,
1220,
14280,
198,
87,
62,
9288,
796,
2124,
62,
9288,
1220,
14280,
628,
198,
2,
38240,
2496,
30104,
284,
4253,
12409,
6670,
198,
88,
62,
27432,
796,
11192,
273,
11125,
13,
6122,
292,
13,
26791,
13,
1462,
62,
66,
2397,
12409,
7,
88,
62,
27432,
11,
838,
8,
198,
88,
62,
9288,
796,
11192,
273,
11125,
13,
6122,
292,
13,
26791,
13,
1462,
62,
66,
2397,
12409,
7,
88,
62,
9288,
11,
838,
8,
628,
198,
2,
13610,
262,
2746,
198,
19849,
796,
24604,
1843,
3419,
198,
19849,
13,
2860,
7,
3103,
85,
17,
35,
7,
2624,
11,
9720,
62,
7857,
16193,
18,
11,
513,
828,
14916,
11639,
260,
2290,
3256,
5128,
62,
43358,
28,
15414,
62,
43358,
11,
3842,
62,
16338,
7509,
28,
16338,
11341,
13,
75,
16,
62,
75,
17,
7,
75,
16,
28,
15,
13,
3023,
11,
300,
17,
28,
15,
13,
486,
22305,
198,
19849,
13,
2860,
7,
11518,
27201,
278,
17,
35,
7,
7742,
62,
7857,
16193,
17,
11,
362,
22305,
198,
19849,
13,
2860,
7,
26932,
448,
7,
15,
13,
36629,
4008,
198,
19849,
13,
2860,
7,
3103,
85,
17,
35,
7,
2414,
11,
9720,
62,
7857,
16193,
18,
11,
513,
828,
14916,
11639,
260,
2290,
3256,
3842,
62,
16338,
7509,
28,
16338,
11341,
13,
75,
16,
62,
75,
17,
7,
75,
16,
28,
15,
13,
3023,
11,
300,
17,
28,
15,
13,
486,
22305,
198,
19849,
13,
2860,
7,
11518,
27201,
278,
17,
35,
7,
7742,
62,
7857,
16193,
17,
11,
362,
22305,
198,
19849,
13,
2860,
7,
26932,
448,
7,
15,
13,
36629,
4008,
198,
19849,
13,
2860,
7,
7414,
41769,
28955,
198,
19849,
13,
2860,
7,
35,
1072,
7,
11645,
11,
14916,
11639,
260,
2290,
3256,
3842,
62,
16338,
7509,
28,
16338,
11341,
13,
75,
16,
62,
75,
17,
7,
75,
16,
28,
15,
13,
3023,
11,
300,
17,
28,
15,
13,
486,
22305,
198,
19849,
13,
2860,
7,
35,
1072,
7,
940,
11,
14916,
11639,
4215,
9806,
3256,
3842,
62,
16338,
7509,
28,
16338,
11341,
13,
75,
16,
62,
75,
17,
7,
75,
16,
28,
15,
13,
3023,
11,
300,
17,
28,
15,
13,
486,
22305,
198,
198,
21017,
3082,
576,
262,
2746,
220,
198,
198,
19849,
13,
5589,
576,
7,
22462,
28,
83,
22854,
11125,
13,
6122,
292,
13,
22462,
274,
13,
66,
2397,
12409,
62,
19692,
298,
28338,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6436,
7509,
28,
83,
22854,
11125,
13,
6122,
292,
13,
40085,
11341,
13,
23159,
22784,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
20731,
28,
17816,
4134,
23843,
6,
12962,
198,
198,
2,
25048,
1366,
284,
2746,
198,
23569,
796,
2746,
13,
11147,
7,
87,
62,
27432,
11,
331,
62,
27432,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15458,
62,
7857,
28,
1120,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
36835,
82,
28,
1120,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15942,
577,
28,
16,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
21201,
62,
35312,
28,
15,
13,
17,
8,
628,
628,
198,
2,
2980,
378,
2276,
1634,
20731,
198,
26675,
796,
2746,
13,
49786,
7,
87,
62,
9288,
11,
331,
62,
9288,
11,
15942,
577,
28,
15,
8,
198,
4798,
7,
69,
6,
14402,
2994,
25,
1391,
26675,
58,
15,
48999,
1220,
6208,
9922,
25,
1391,
26675,
58,
16,
48999,
11537,
628,
198,
2,
28114,
2106,
25,
22014,
198,
489,
83,
13,
29487,
7,
23569,
13,
23569,
17816,
22462,
6,
4357,
6167,
11639,
44357,
1366,
11537,
198,
489,
83,
13,
29487,
7,
23569,
13,
23569,
17816,
2100,
62,
22462,
6,
4357,
6167,
11639,
7762,
24765,
1366,
11537,
198,
489,
83,
13,
7839,
10786,
43,
16,
14,
43,
17,
24641,
22014,
11537,
198,
489,
83,
13,
2645,
9608,
10786,
43,
793,
1988,
11537,
198,
489,
83,
13,
87,
18242,
10786,
2949,
13,
36835,
11537,
198,
489,
83,
13,
1455,
437,
7,
17946,
2625,
45828,
1364,
4943,
198,
489,
83,
13,
12860,
3419,
198,
198,
2,
28114,
2106,
25,
33222,
198,
489,
83,
13,
29487,
7,
23569,
13,
23569,
17816,
4134,
6,
4357,
6167,
11639,
44357,
1366,
11537,
198,
489,
83,
13,
29487,
7,
23569,
13,
23569,
17816,
2100,
62,
4134,
6,
4357,
6167,
11639,
7762,
24765,
1366,
11537,
198,
489,
83,
13,
7839,
10786,
43,
16,
14,
43,
17,
24641,
33222,
11537,
198,
489,
83,
13,
2645,
9608,
10786,
4,
11537,
198,
489,
83,
13,
87,
18242,
10786,
2949,
13,
36835,
11537,
198,
489,
83,
13,
1455,
437,
7,
17946,
2625,
45828,
1364,
4943,
198,
489,
83,
13,
12860,
3419,
628,
628,
628,
628,
628,
628,
628,
628,
628,
628
] | 2.73161 | 2,746 |
import torch
import torch.nn.functional as F
import torch_scatter
from torch_geometric.nn import global_add_pool, global_mean_pool, global_max_pool, GlobalAttention
from conv import GNN_node
| [
11748,
28034,
198,
11748,
28034,
13,
20471,
13,
45124,
355,
376,
198,
11748,
28034,
62,
1416,
1436,
198,
6738,
28034,
62,
469,
16996,
13,
20471,
1330,
3298,
62,
2860,
62,
7742,
11,
3298,
62,
32604,
62,
7742,
11,
3298,
62,
9806,
62,
7742,
11,
8060,
8086,
1463,
198,
198,
6738,
3063,
1330,
402,
6144,
62,
17440,
628,
628,
628,
628
] | 3.316667 | 60 |
"""
Tools to facilitate working with force fields in OpenMM
"""
| [
37811,
198,
33637,
284,
15570,
1762,
351,
2700,
7032,
287,
4946,
12038,
198,
37811,
198
] | 4.266667 | 15 |
# Definition for singly-linked list.
# class ListNode:
# def __init__(self, x):
# self.val = x
# self.next = None
| [
2,
30396,
329,
1702,
306,
12,
25614,
1351,
13,
198,
2,
1398,
7343,
19667,
25,
198,
2,
220,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
2124,
2599,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2100,
796,
2124,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
19545,
796,
6045,
198
] | 2.196721 | 61 |
"""
Common resource for stomach annotation terms.
"""
# convention: preferred name, preferred id, followed by any other ids and alternative names
stomach_terms = [
( "body of stomach", "UBERON:0001161", " FMA:14560", "ILX:0724929"),
( "cardia of stomach", "UBERON:0001162", " FMA:14561", "ILX:0729096"),
( "duodenum", "UBERON:0002114", " FMA:7206", "ILX:0726125"),
( "duodenum on greater curvature", "None"),
( "esophagus", "UBERON:0001043", "FMA: 7131", "ILX:0735017"),
( "esophagogastric junction", "UBERON:0007650", "FMA: 9434", "ILX:0733910"),
( "forestomach-glandular stomach junction", "UBERON:0012270", "ILX:0729974"),
( "forestomach-glandular stomach junction on inner wall", "None"),
( "forestomach-glandular stomach junction on outer wall", "None"),
( "fundus of stomach", "UBERON:0001160", " FMA:14559", "ILX:0724443"),
( "gastro-esophagal junction on lesser curvature", "None"),
( "junction between fundus and body on greater curvature", "None"),
( "limiting ridge on greater curvature", "None"),
( "pylorus", "UBERON:0001166", " FMA:14581", "ILX:0734150"),
( "pyloric antrum", "UBERON:0001165", " FMA:14579", "ILX:0728672"),
( "pylorus on greater curvature", "None"),
( "stomach", "UBERON:0000945", "FMA:7148", "ILX:0736697")
]
def get_stomach_term(name : str):
"""
Find term by matching name to any identifier held for a term.
Raise exception if name not found.
:return ( preferred name, preferred id )
"""
for term in stomach_terms:
if name in term:
return ( term[0], term[1] )
raise NameError("Stomach annotation term '" + name + "' not found.")
| [
37811,
198,
17227,
8271,
329,
11384,
23025,
2846,
13,
198,
37811,
198,
198,
2,
9831,
25,
9871,
1438,
11,
9871,
4686,
11,
3940,
416,
597,
584,
220,
2340,
290,
5559,
3891,
198,
301,
10806,
62,
38707,
796,
685,
198,
220,
220,
220,
357,
366,
2618,
286,
11384,
1600,
366,
10526,
1137,
1340,
25,
18005,
25948,
1600,
366,
376,
5673,
25,
18781,
1899,
1600,
366,
4146,
55,
25,
2998,
21626,
1959,
12340,
198,
220,
220,
220,
357,
366,
9517,
544,
286,
11384,
1600,
366,
10526,
1137,
1340,
25,
18005,
25061,
1600,
366,
376,
5673,
25,
1415,
47915,
1600,
366,
4146,
55,
25,
2998,
1959,
2931,
21,
12340,
198,
220,
220,
220,
357,
366,
646,
375,
44709,
1600,
366,
10526,
1137,
1340,
25,
34215,
16562,
1600,
366,
376,
5673,
25,
22,
22136,
1600,
366,
4146,
55,
25,
2998,
2075,
11623,
12340,
198,
220,
220,
220,
357,
366,
646,
375,
44709,
319,
3744,
46171,
1300,
1600,
366,
14202,
12340,
198,
220,
220,
220,
357,
366,
274,
2522,
31111,
1600,
366,
10526,
1137,
1340,
25,
18005,
48768,
1600,
366,
37,
5673,
25,
767,
22042,
1600,
366,
4146,
55,
25,
2998,
2327,
29326,
12340,
198,
220,
220,
220,
357,
366,
274,
2522,
37300,
459,
1173,
35037,
1600,
366,
10526,
1137,
1340,
25,
830,
4304,
1120,
1600,
366,
37,
5673,
25,
10048,
2682,
1600,
366,
4146,
55,
25,
2998,
29626,
940,
12340,
198,
220,
220,
220,
357,
366,
29623,
10806,
12,
70,
1044,
934,
11384,
35037,
1600,
366,
10526,
1137,
1340,
25,
405,
1065,
20233,
1600,
366,
4146,
55,
25,
2998,
22579,
4524,
12340,
198,
220,
220,
220,
357,
366,
29623,
10806,
12,
70,
1044,
934,
11384,
35037,
319,
8434,
3355,
1600,
366,
14202,
12340,
198,
220,
220,
220,
357,
366,
29623,
10806,
12,
70,
1044,
934,
11384,
35037,
319,
12076,
3355,
1600,
366,
14202,
12340,
198,
220,
220,
220,
357,
366,
10990,
385,
286,
11384,
1600,
366,
10526,
1137,
1340,
25,
18005,
14198,
1600,
366,
376,
5673,
25,
1415,
38605,
1600,
366,
4146,
55,
25,
2998,
1731,
34938,
12340,
198,
220,
220,
220,
357,
366,
70,
459,
305,
12,
274,
2522,
363,
282,
35037,
319,
14494,
46171,
1300,
1600,
366,
14202,
12340,
198,
220,
220,
220,
357,
366,
73,
4575,
1022,
1814,
385,
290,
1767,
319,
3744,
46171,
1300,
1600,
366,
14202,
12340,
198,
220,
220,
220,
357,
366,
2475,
1780,
32525,
319,
3744,
46171,
1300,
1600,
366,
14202,
12340,
198,
220,
220,
220,
357,
366,
79,
2645,
15125,
1600,
366,
10526,
1137,
1340,
25,
18005,
23055,
1600,
366,
376,
5673,
25,
1415,
48630,
1600,
366,
4146,
55,
25,
2998,
2682,
8628,
12340,
198,
220,
220,
220,
357,
366,
79,
2645,
8146,
1885,
6582,
1600,
366,
10526,
1137,
1340,
25,
18005,
20986,
1600,
366,
376,
5673,
25,
1415,
41734,
1600,
366,
4146,
55,
25,
2998,
2078,
43864,
12340,
198,
220,
220,
220,
357,
366,
79,
2645,
15125,
319,
3744,
46171,
1300,
1600,
366,
14202,
12340,
198,
220,
220,
220,
357,
366,
301,
10806,
1600,
366,
10526,
1137,
1340,
25,
2388,
24,
2231,
1600,
366,
37,
5673,
25,
22,
18294,
1600,
366,
4146,
55,
25,
2998,
2623,
40035,
4943,
198,
220,
220,
220,
2361,
198,
198,
4299,
651,
62,
301,
10806,
62,
4354,
7,
3672,
1058,
965,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
9938,
3381,
416,
12336,
1438,
284,
597,
27421,
2714,
329,
257,
3381,
13,
198,
220,
220,
220,
35123,
6631,
611,
1438,
407,
1043,
13,
198,
220,
220,
220,
1058,
7783,
357,
9871,
1438,
11,
9871,
4686,
1267,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
329,
3381,
287,
11384,
62,
38707,
25,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1438,
287,
3381,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
357,
3381,
58,
15,
4357,
3381,
58,
16,
60,
1267,
198,
220,
220,
220,
5298,
6530,
12331,
7203,
1273,
10806,
23025,
3381,
705,
1,
1343,
1438,
1343,
24018,
407,
1043,
19570,
198
] | 2.582822 | 652 |
import numpy as np
import torch
from mohou.utils import splitting_slices
| [
11748,
299,
32152,
355,
45941,
198,
11748,
28034,
198,
198,
6738,
285,
1219,
280,
13,
26791,
1330,
26021,
62,
82,
677,
274,
628
] | 3.26087 | 23 |
'''
Coded by Z1 :)
More features are underway! Email questions/concerns/feature requests
at [email protected] or via twitter: @z1rk4
'''
from tweepy.streaming import StreamListener
from tweepy import OAuthHandler
from tweepy import Stream
from tweepy import API
from tweepy import Cursor
import tweepy
import time
import datetime
import numpy as np
import config
found_tweets = []
measured_date = str(datetime.datetime.today())[0:8] + str(int(str(datetime.datetime.today())[8:10]) - 5)
TIME_SLEEP = 150 #Do not lower past 100, or you will get ratelimited
iterations = 0
if __name__ == "__main__":
user_name = input("Enter your Twitter username: ")
try:
information = retrieve_credentials(user_name)
consumer_key = information[0]
consumer_secret = information[1]
access_token = information[2]
access_token_secret = information[3]
except KeyError:
print("\n\nCould not find credentials for '" + user_name + "'. Did you update access_tokens in config.py with correct credentials?\n\n")
raise SystemExit
auth = tweepy.OAuthHandler(consumer_key, consumer_secret)
auth.set_access_token(access_token, access_token_secret)
api = tweepy.API(auth, wait_on_rate_limit=True)
while True:
measured_date = str(datetime.datetime.today())[0:8] + str(int(str(datetime.datetime.today())[8:10]) - 5)
counter, follow_ct, like_ct, rt_ct, reply_ct = 0, 0, 0, 0, 0
try:
keyword_tweets = np.array([get_relevant_tweets(keywrd, measured_date) for keywrd in config.keywords])
except tweepy.TweepError:
print("\n\nError fetching tweets. Your account may be temporarily limited. Log into your account, remove limitations, and retry.\n\n")
raise SystemExit
user_tweets = np.array([get_tweets_from_user(handle) for handle in config.account_names])
filtered_keyword_tweets = []
filtered_user_tweets = []
for list_ in keyword_tweets:
for twt in list_:
filtered_keyword_tweets.append(twt)
for list_ in user_tweets:
for twt in list_:
filtered_user_tweets.append(twt)
filtered_keyword_tweets = np.array(filtered_keyword_tweets)
filtered_user_tweets = np.array(filtered_user_tweets)
total_tweets = np.concatenate((filtered_user_tweets, filtered_keyword_tweets))
for tweet in total_tweets:
reply = ""
found_tweets.append(tweet)
latest_tweet = tweet
tweet_text = latest_tweet.text.lower()
try:
tweet.user.follow()
screen_names = [mention["screen_name"] for mention in tweet.entities["user_mentions"]]
for user in screen_names:
api.create_friendship(user)
follow_ct += 1
follow_ct += 1
except tweepy.TweepError:
pass
except StopIteration:
break
if "retweet" in tweet_text or "rt" in tweet_text:
try:
tweet.retweet()
rt_ct += 1
except tweepy.TweepError:
pass
except StopIteration:
break
if "like" in tweet_text:
try:
tweet.favorite()
like_ct += 1
except tweepy.TweepError:
pass
except StopIteration:
break
if "tag 1" in tweet_text or "tag one" in tweet_text or "tag a" in tweet_text:
reply += "@" + config.tag_users[0] + " "
if "tag 2" in tweet_text or "tag two" in tweet_text:
reply += "@" + config.tag_users[0] + " "
reply += "@" + config.tag_users[1] + " "
if "tag 3" in tweet_text or "tag three" in tweet_text:
reply += "@" + config.tag_users[0] + " "
reply += "@" + config.tag_users[1] + " "
reply += "@" + config.tag_users[2] + " "
if len(config.trade_link) > 0 or len(config.wax_trade_link) > 0:
for kw in config.link_paste_keywords:
if kw in tweet_text:
if "steam" in tweet_text:
reply += config.trade_link + " "
elif "wax" in tweet_text or "express" in tweet_text:
reply += config.link_paste_keywords + " "
if len(config.datdrop_profile_link) > 0:
if "datdrop" in tweet_text and "profile" in tweet_text:
reply += config.datdrop_profile_link + " "
if len(config.custom_replies) > 0:
for custom_keyword in config.custom_replies:
if custom_keyword.lower() in tweet_text:
reply += config.custom_replies[custom_keyword] + " "
if len(reply) > 0:
try:
reply_to_tweet = "@" + str(tweet.user.screen_name) + " " + reply
api.update_status(reply_to_tweet, in_reply_to_status_id = tweet.id)
reply_ct += 1
except tweepy.TweepError:
pass
except StopIteration:
break
counter += 1
iterations += 1
print(iterations, "iterations have passed,", counter, "new tweets found,", follow_ct, "new users followed,", like_ct, "new tweets liked,", rt_ct, "new tweets retweeted,", reply_ct, "new tweets replied to.")
time.sleep(TIME_SLEEP)
| [
7061,
6,
198,
34,
9043,
416,
1168,
16,
14373,
198,
198,
5167,
3033,
389,
17715,
0,
9570,
2683,
14,
1102,
30903,
82,
14,
30053,
7007,
220,
198,
265,
1017,
1555,
400,
1018,
6042,
31,
14816,
13,
785,
393,
2884,
17044,
25,
2488,
89,
16,
81,
74,
19,
198,
198,
7061,
6,
198,
198,
6738,
4184,
538,
88,
13,
5532,
278,
1330,
13860,
33252,
198,
6738,
4184,
538,
88,
1330,
440,
30515,
25060,
198,
6738,
4184,
538,
88,
1330,
13860,
198,
6738,
4184,
538,
88,
1330,
7824,
198,
6738,
4184,
538,
88,
1330,
327,
21471,
198,
11748,
4184,
538,
88,
198,
11748,
640,
198,
11748,
4818,
8079,
198,
11748,
299,
32152,
355,
45941,
198,
11748,
4566,
198,
198,
9275,
62,
83,
732,
1039,
796,
17635,
198,
1326,
34006,
62,
4475,
796,
965,
7,
19608,
8079,
13,
19608,
8079,
13,
40838,
28955,
58,
15,
25,
23,
60,
1343,
965,
7,
600,
7,
2536,
7,
19608,
8079,
13,
19608,
8079,
13,
40838,
28955,
58,
23,
25,
940,
12962,
532,
642,
8,
198,
34694,
62,
50,
2538,
8905,
796,
6640,
1303,
5211,
407,
2793,
1613,
1802,
11,
393,
345,
481,
651,
2494,
10698,
198,
2676,
602,
796,
657,
628,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
628,
220,
220,
220,
2836,
62,
3672,
796,
5128,
7203,
17469,
534,
3009,
20579,
25,
366,
8,
198,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1321,
796,
19818,
62,
66,
445,
14817,
7,
7220,
62,
3672,
8,
628,
220,
220,
220,
220,
220,
220,
220,
7172,
62,
2539,
796,
1321,
58,
15,
60,
220,
198,
220,
220,
220,
220,
220,
220,
220,
7172,
62,
21078,
796,
1321,
58,
16,
60,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1895,
62,
30001,
796,
1321,
58,
17,
60,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1895,
62,
30001,
62,
21078,
796,
1321,
58,
18,
60,
220,
628,
220,
220,
220,
2845,
7383,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
59,
77,
59,
77,
23722,
407,
1064,
18031,
329,
705,
1,
1343,
2836,
62,
3672,
1343,
366,
4458,
7731,
345,
4296,
1895,
62,
83,
482,
641,
287,
4566,
13,
9078,
351,
3376,
18031,
30,
59,
77,
59,
77,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
5298,
4482,
30337,
628,
220,
220,
220,
6284,
796,
4184,
538,
88,
13,
23621,
1071,
25060,
7,
49827,
62,
2539,
11,
7172,
62,
21078,
8,
198,
220,
220,
220,
6284,
13,
2617,
62,
15526,
62,
30001,
7,
15526,
62,
30001,
11,
1895,
62,
30001,
62,
21078,
8,
198,
220,
220,
220,
40391,
796,
4184,
538,
88,
13,
17614,
7,
18439,
11,
4043,
62,
261,
62,
4873,
62,
32374,
28,
17821,
8,
198,
220,
220,
220,
220,
198,
220,
220,
220,
981,
6407,
25,
198,
220,
220,
220,
220,
220,
220,
220,
8630,
62,
4475,
796,
965,
7,
19608,
8079,
13,
19608,
8079,
13,
40838,
28955,
58,
15,
25,
23,
60,
1343,
965,
7,
600,
7,
2536,
7,
19608,
8079,
13,
19608,
8079,
13,
40838,
28955,
58,
23,
25,
940,
12962,
532,
642,
8,
198,
220,
220,
220,
220,
220,
220,
220,
3753,
11,
1061,
62,
310,
11,
588,
62,
310,
11,
374,
83,
62,
310,
11,
10971,
62,
310,
796,
657,
11,
657,
11,
657,
11,
657,
11,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
21179,
62,
83,
732,
1039,
796,
45941,
13,
18747,
26933,
1136,
62,
49659,
62,
83,
732,
1039,
7,
2539,
86,
4372,
11,
8630,
62,
4475,
8,
329,
1994,
86,
4372,
287,
4566,
13,
2539,
10879,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
4184,
538,
88,
13,
32665,
538,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
59,
77,
59,
77,
12331,
21207,
278,
12665,
13,
3406,
1848,
743,
307,
13413,
3614,
13,
5972,
656,
534,
1848,
11,
4781,
11247,
11,
290,
1005,
563,
13,
59,
77,
59,
77,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
4482,
30337,
628,
220,
220,
220,
220,
220,
220,
220,
2836,
62,
83,
732,
1039,
796,
45941,
13,
18747,
26933,
1136,
62,
83,
732,
1039,
62,
6738,
62,
7220,
7,
28144,
8,
329,
5412,
287,
4566,
13,
23317,
62,
14933,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
29083,
62,
2539,
4775,
62,
83,
732,
1039,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
29083,
62,
7220,
62,
83,
732,
1039,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1351,
62,
287,
21179,
62,
83,
732,
1039,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
665,
83,
287,
1351,
62,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
29083,
62,
2539,
4775,
62,
83,
732,
1039,
13,
33295,
7,
4246,
83,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1351,
62,
287,
2836,
62,
83,
732,
1039,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
665,
83,
287,
1351,
62,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
29083,
62,
7220,
62,
83,
732,
1039,
13,
33295,
7,
4246,
83,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
29083,
62,
2539,
4775,
62,
83,
732,
1039,
796,
45941,
13,
18747,
7,
10379,
4400,
62,
2539,
4775,
62,
83,
732,
1039,
8,
198,
220,
220,
220,
220,
220,
220,
220,
29083,
62,
7220,
62,
83,
732,
1039,
796,
45941,
13,
18747,
7,
10379,
4400,
62,
7220,
62,
83,
732,
1039,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
2472,
62,
83,
732,
1039,
796,
45941,
13,
1102,
9246,
268,
378,
19510,
10379,
4400,
62,
7220,
62,
83,
732,
1039,
11,
29083,
62,
2539,
4775,
62,
83,
732,
1039,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
329,
6126,
287,
2472,
62,
83,
732,
1039,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10971,
796,
13538,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1043,
62,
83,
732,
1039,
13,
33295,
7,
83,
7277,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3452,
62,
83,
7277,
796,
6126,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6126,
62,
5239,
796,
3452,
62,
83,
7277,
13,
5239,
13,
21037,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6126,
13,
7220,
13,
27780,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3159,
62,
14933,
796,
685,
434,
295,
14692,
9612,
62,
3672,
8973,
329,
3068,
287,
6126,
13,
298,
871,
14692,
7220,
62,
434,
507,
8973,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
2836,
287,
3159,
62,
14933,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
40391,
13,
17953,
62,
6726,
6720,
7,
7220,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1061,
62,
310,
15853,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1061,
62,
310,
15853,
352,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2845,
4184,
538,
88,
13,
32665,
538,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1208,
198,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2845,
13707,
29993,
341,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2270,
220,
220,
220,
220,
628,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
366,
1186,
7277,
1,
287,
6126,
62,
5239,
393,
366,
17034,
1,
287,
6126,
62,
5239,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6126,
13,
1186,
7277,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
374,
83,
62,
310,
15853,
352,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2845,
4184,
538,
88,
13,
32665,
538,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1208,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2845,
13707,
29993,
341,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2270,
628,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
366,
2339,
1,
287,
6126,
62,
5239,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6126,
13,
35200,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
588,
62,
310,
15853,
352,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2845,
4184,
538,
88,
13,
32665,
538,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1208,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2845,
13707,
29993,
341,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2270,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
366,
12985,
352,
1,
287,
6126,
62,
5239,
393,
366,
12985,
530,
1,
287,
6126,
62,
5239,
393,
366,
12985,
257,
1,
287,
6126,
62,
5239,
25,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10971,
15853,
44212,
1,
1343,
4566,
13,
12985,
62,
18417,
58,
15,
60,
1343,
366,
366,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
366,
12985,
362,
1,
287,
6126,
62,
5239,
393,
366,
12985,
734,
1,
287,
6126,
62,
5239,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10971,
15853,
44212,
1,
1343,
4566,
13,
12985,
62,
18417,
58,
15,
60,
1343,
366,
366,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10971,
15853,
44212,
1,
1343,
4566,
13,
12985,
62,
18417,
58,
16,
60,
1343,
366,
366,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
366,
12985,
513,
1,
287,
6126,
62,
5239,
393,
366,
12985,
1115,
1,
287,
6126,
62,
5239,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10971,
15853,
44212,
1,
1343,
4566,
13,
12985,
62,
18417,
58,
15,
60,
1343,
366,
366,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10971,
15853,
44212,
1,
1343,
4566,
13,
12985,
62,
18417,
58,
16,
60,
1343,
366,
366,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10971,
15853,
44212,
1,
1343,
4566,
13,
12985,
62,
18417,
58,
17,
60,
1343,
366,
366,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
11250,
13,
25351,
62,
8726,
8,
1875,
657,
393,
18896,
7,
11250,
13,
86,
897,
62,
25351,
62,
8726,
8,
1875,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
479,
86,
287,
4566,
13,
8726,
62,
34274,
62,
2539,
10879,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
479,
86,
287,
6126,
62,
5239,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
366,
21465,
1,
287,
6126,
62,
5239,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10971,
15853,
4566,
13,
25351,
62,
8726,
1343,
366,
366,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
366,
86,
897,
1,
287,
6126,
62,
5239,
393,
366,
42712,
1,
287,
6126,
62,
5239,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10971,
15853,
4566,
13,
8726,
62,
34274,
62,
2539,
10879,
1343,
366,
366,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
11250,
13,
19608,
14781,
62,
13317,
62,
8726,
8,
1875,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
366,
19608,
14781,
1,
287,
6126,
62,
5239,
290,
366,
13317,
1,
287,
6126,
62,
5239,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10971,
15853,
4566,
13,
19608,
14781,
62,
13317,
62,
8726,
1343,
366,
366,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
11250,
13,
23144,
62,
35666,
444,
8,
1875,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
2183,
62,
2539,
4775,
287,
4566,
13,
23144,
62,
35666,
444,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2183,
62,
2539,
4775,
13,
21037,
3419,
287,
6126,
62,
5239,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10971,
15853,
4566,
13,
23144,
62,
35666,
444,
58,
23144,
62,
2539,
4775,
60,
1343,
366,
366,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
47768,
8,
1875,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10971,
62,
1462,
62,
83,
7277,
796,
44212,
1,
1343,
965,
7,
83,
7277,
13,
7220,
13,
9612,
62,
3672,
8,
1343,
366,
366,
1343,
10971,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
40391,
13,
19119,
62,
13376,
7,
47768,
62,
1462,
62,
83,
7277,
11,
287,
62,
47768,
62,
1462,
62,
13376,
62,
312,
796,
6126,
13,
312,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10971,
62,
310,
15853,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2845,
4184,
538,
88,
13,
32665,
538,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1208,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2845,
13707,
29993,
341,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2270,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3753,
15853,
352,
628,
220,
220,
220,
220,
220,
220,
220,
34820,
15853,
352,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
2676,
602,
11,
366,
2676,
602,
423,
3804,
553,
11,
3753,
11,
366,
3605,
12665,
1043,
553,
11,
1061,
62,
310,
11,
366,
3605,
2985,
3940,
553,
11,
588,
62,
310,
11,
366,
3605,
12665,
8288,
553,
11,
374,
83,
62,
310,
11,
366,
3605,
12665,
38814,
276,
553,
11,
10971,
62,
310,
11,
366,
3605,
12665,
8712,
284,
19570,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
640,
13,
42832,
7,
34694,
62,
50,
2538,
8905,
8,
198,
220,
220,
220,
220,
198
] | 1.954802 | 3,009 |
#
# __COPYRIGHT__
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to
# permit persons to whom the Software is furnished to do so, subject to
# the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
# KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
# WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#
from __future__ import print_function
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
import sys
import unittest
import copy
import TestCmd
import TestUnit
from SCons.Tool.msvs import *
from SCons.Tool.MSCommon.vs import SupportedVSList
import SCons.Util
import SCons.Warnings
from SCons.Tool.MSCommon.common import debug
from SCons.Tool.MSCommon import get_default_version, \
query_versions
from SCons.Tool.msvs import _GenerateV6DSP, _GenerateV7DSP, _GenerateV10DSP
regdata_6a = r'''[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio]
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\6.0]
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\6.0\ServicePacks]
"sp3"=""
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\6.0\Setup]
"VsCommonDir"="C:\Program Files\Microsoft Visual Studio\Common"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\6.0\Setup\Microsoft Developer Network Library - Visual Studio 6.0a]
"ProductDir"="C:\Program Files\Microsoft Visual Studio\MSDN98\98VSa\1033"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\6.0\Setup\Microsoft Visual C++]
"ProductDir"="C:\Program Files\Microsoft Visual Studio\VC98"
'''.split('\n')
regdata_6b = r'''[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio]
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\6.0]
"InstallDir"="C:\VS6\Common\IDE\IDE98"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\6.0\ServicePacks]
"sp5"=""
"latest"=dword:00000005
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\6.0\Setup]
"VsCommonDir"="C:\VS6\Common"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\6.0\Setup\Microsoft Visual Basic]
"ProductDir"="C:\VS6\VB98"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\6.0\Setup\Microsoft Visual C++]
"ProductDir"="C:\VS6\VC98"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\6.0\Setup\Microsoft Visual Studio]
"ProductDir"="C:\VS6"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\6.0\Setup\Microsoft VSEE Client]
"ProductDir"="C:\VS6\Common\Tools"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\6.0\Setup\Visual Studio 98]
'''.split('\n')
regdata_7 = r'''
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.0]
"InstallDir"="C:\Program Files\Microsoft Visual Studio .NET\Common7\IDE\"
"Source Directories"="C:\Program Files\Microsoft Visual Studio .NET\Vc7\crt\;C:\Program Files\Microsoft Visual Studio .NET\Vc7\atlmfc\src\mfc\;C:\Program Files\Microsoft Visual Studio .NET\Vc7\atlmfc\src\atl\"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.0\InstalledProducts]
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.0\InstalledProducts\CrystalReports]
@="#15007"
"Package"="{F05E92C6-8346-11D3-B4AD-00A0C9B04E7B}"
"ProductDetails"="#15009"
"LogoID"="0"
"PID"="#15008"
"UseInterface"=dword:00000001
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.0\InstalledProducts\Visual Basic.NET]
@=""
"DefaultProductAttribute"="VB"
"Package"="{164B10B9-B200-11D0-8C61-00A0C91E29D5}"
"UseInterface"=dword:00000001
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.0\InstalledProducts\Visual C#]
@=""
"Package"="{FAE04EC1-301F-11d3-BF4B-00C04F79EFBC}"
"UseInterface"=dword:00000001
"DefaultProductAttribute"="C#"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.0\InstalledProducts\VisualC++]
"UseInterface"=dword:00000001
"Package"="{F1C25864-3097-11D2-A5C5-00C04F7968B4}"
"DefaultProductAttribute"="VC"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.0\Setup]
"Dbghelp_path"="C:\Program Files\Microsoft Visual Studio .NET\Common7\IDE\"
"dw_dir"="C:\Program Files\Microsoft Visual Studio .NET\Common7\IDE\"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.0\Setup\MSDN]
"ProductDir"="C:\Program Files\Microsoft Visual Studio .NET\Msdn\1033\"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.0\Setup\Servicing\SKU]
"Visual Studio .NET Professional - English"="{D0610409-7D65-11D5-A54F-0090278A1BB8}"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.0\Setup\VB]
"ProductDir"="C:\Program Files\Microsoft Visual Studio .NET\Vb7\"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.0\Setup\VC]
"ProductDir"="C:\Program Files\Microsoft Visual Studio .NET\Vc7\"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.0\Setup\VC#]
"ProductDir"="C:\Program Files\Microsoft Visual Studio .NET\VC#\"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.0\Setup\Visual Studio .NET Professional - English]
"InstallSuccess"=dword:00000001
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.0\Setup\VS]
"EnvironmentDirectory"="C:\Program Files\Microsoft Visual Studio .NET\Common7\IDE\"
"EnvironmentPath"="C:\Program Files\Microsoft Visual Studio .NET\Common7\IDE\devenv.exe"
"VS7EnvironmentLocation"="C:\Program Files\Microsoft Visual Studio .NET\Common7\IDE\devenv.exe"
"MSMDir"="C:\Program Files\Common Files\Merge Modules\"
"ProductDir"="C:\Program Files\Microsoft Visual Studio .NET\"
"VS7CommonBinDir"="C:\Program Files\Microsoft Visual Studio .NET\Common7\Tools\"
"VS7CommonDir"="C:\Program Files\Microsoft Visual Studio .NET\Common7\"
"VSUpdateDir"="C:\Program Files\Microsoft Visual Studio .NET\Setup\VSUpdate\"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.0\Setup\VS\BuildNumber]
"1033"="7.0.9466"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.0\Setup\VS\Pro]
"ProductDir"="C:\Program Files\Microsoft Visual Studio .NET\"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.0\VC]
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.0\VC\VC_OBJECTS_PLATFORM_INFO]
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.0\VC\VC_OBJECTS_PLATFORM_INFO\Win32]
@="{A54AAE91-30C2-11D3-87BF-A04A4CC10000}"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.0\VC\VC_OBJECTS_PLATFORM_INFO\Win32\Directories]
"Path Dirs"="$(VCInstallDir)bin;$(VSInstallDir)Common7\Tools\bin\prerelease;$(VSInstallDir)Common7\Tools\bin;$(VSInstallDir)Common7\tools;$(VSInstallDir)Common7\ide;C:\Program Files\HTML Help Workshop\;$(FrameworkSDKDir)bin;$(FrameworkDir)$(FrameworkVersion);C:\perl\bin;C:\cygwin\bin;c:\cygwin\usr\bin;C:\bin;C:\program files\perforce;C:\cygwin\usr\local\bin\i686-pc-cygwin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem"
"Library Dirs"="$(VCInstallDir)lib;$(VCInstallDir)atlmfc\lib;$(VCInstallDir)PlatformSDK\lib\prerelease;$(VCInstallDir)PlatformSDK\lib;$(FrameworkSDKDir)lib"
"Include Dirs"="$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(VCInstallDir)PlatformSDK\include\prerelease;$(VCInstallDir)PlatformSDK\include;$(FrameworkSDKDir)include"
"Source Dirs"="$(VCInstallDir)atlmfc\src\mfc;$(VCInstallDir)atlmfc\src\atl;$(VCInstallDir)crt\src"
"Reference Dirs"=""
'''.split('\n')
regdata_7_1 = r'''
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.1]
@=""
"Source Directories"="C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\crt\src\;C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\src\mfc\;C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\src\atl\"
"ThisVersionSolutionCLSID"="{246C57AE-40DD-4d6b-9E8D-B0F5757BB2A8}"
"ThisVersionDTECLSID"="{8CD2DD97-4EC1-4bc4-9359-89A3EEDD57A6}"
"InstallDir"="C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE\"
"CLR Version"="v1.1.4322"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.1\InstalledProducts]
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.1\InstalledProducts\Smart Device Extensions]
"UseInterface"=dword:00000001
"VS7InstallDir"="C:\Program Files\Microsoft Visual Studio .NET 2003\"
"VBDeviceInstallDir"="C:\Program Files\Microsoft Visual Studio .NET 2003\VB7\"
"CSharpDeviceInstallDir"="C:\Program Files\Microsoft Visual Studio .NET 2003\VC#\"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.1\InstalledProducts\Visual Basic.NET]
"UseInterface"=dword:00000001
"Package"="{164B10B9-B200-11D0-8C61-00A0C91E29D5}"
"DefaultProductAttribute"="VB"
@=""
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.1\InstalledProducts\Visual C#]
"DefaultProductAttribute"="C#"
"UseInterface"=dword:00000001
"Package"="{FAE04EC1-301F-11D3-BF4B-00C04F79EFBC}"
@=""
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.1\InstalledProducts\Visual JSharp]
@=""
"Package"="{E6FDF8B0-F3D1-11D4-8576-0002A516ECE8}"
"UseInterface"=dword:00000001
"DefaultProductAttribute"="Visual JSharp"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.1\InstalledProducts\VisualC++]
"UseInterface"=dword:00000001
"Package"="{F1C25864-3097-11D2-A5C5-00C04F7968B4}"
"DefaultProductAttribute"="VC"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.1\Setup]
"Dbghelp_path"="C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE\"
"dw_dir"="C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE\"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.1\Setup\CSDPROJ]
"ProductDir"="C:\Program Files\Microsoft Visual Studio .NET 2003\VC#\"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.1\Setup\JSHPROJ]
"ProductDir"="C:\Program Files\Microsoft Visual Studio .NET 2003\VJ#\"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.1\Setup\Servicing]
"CurrentSULevel"=dword:00000000
"CurrentSPLevel"=dword:00000000
"Server Path"=""
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.1\Setup\Servicing\Package]
"FxSDK"=""
"VB"=""
"VC"=""
"VCS"=""
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.1\Setup\Servicing\SKU]
"Visual Studio .NET Professional 2003 - English"="{20610409-CA18-41A6-9E21-A93AE82EE7C5}"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.1\Setup\VB]
"ProductDir"="C:\Program Files\Microsoft Visual Studio .NET 2003\Vb7\"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.1\Setup\VBDPROJ]
"ProductDir"="C:\Program Files\Microsoft Visual Studio .NET 2003\Vb7\"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.1\Setup\VC]
"ProductDir"="C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.1\Setup\VC#]
"ProductDir"="C:\Program Files\Microsoft Visual Studio .NET 2003\VC#\"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.1\Setup\Visual Studio .NET Professional 2003 - English]
"InstallSuccess"=dword:00000001
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.1\Setup\VS]
"EnvironmentDirectory"="C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE\"
"EnvironmentPath"="C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE\devenv.exe"
"VS7EnvironmentLocation"="C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE\devenv.exe"
"MSMDir"="C:\Program Files\Common Files\Merge Modules\"
"VS7CommonBinDir"="C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\"
"VS7CommonDir"="C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\"
"ProductDir"="C:\Program Files\Microsoft Visual Studio .NET 2003\"
"VSUpdateDir"="C:\Program Files\Microsoft Visual Studio .NET 2003\Setup\VSUpdate\"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.1\Setup\VS\BuildNumber]
"1033"="7.1.3088"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.1\Setup\VS\Pro]
"ProductDir"="C:\Program Files\Microsoft Visual Studio .NET 2003\"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.1\VC]
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.1\VC\VC_OBJECTS_PLATFORM_INFO]
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.1\VC\VC_OBJECTS_PLATFORM_INFO\Win32]
@="{759354D0-6B42-4705-AFFB-56E34D2BC3D4}"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.1\VC\VC_OBJECTS_PLATFORM_INFO\Win32\Directories]
"Path Dirs"="$(VCInstallDir)bin;$(VSInstallDir)Common7\Tools\bin\prerelease;$(VSInstallDir)Common7\Tools\bin;$(VSInstallDir)Common7\tools;$(VSInstallDir)Common7\ide;C:\Program Files\HTML Help Workshop\;$(FrameworkSDKDir)bin;$(FrameworkDir)$(FrameworkVersion);C:\Perl\bin\;c:\bin;c:\cygwin\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\Avid;C:\Program Files\backburner 2\;C:\Program Files\cvsnt;C:\Program Files\Subversion\bin;C:\Program Files\Common Files\Adobe\AGL;C:\Program Files\HTMLDoc"
"Library Dirs"="$(VCInstallDir)lib;$(VCInstallDir)atlmfc\lib;$(VCInstallDir)PlatformSDK\lib\prerelease;$(VCInstallDir)PlatformSDK\lib;$(FrameworkSDKDir)lib"
"Include Dirs"="$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(VCInstallDir)PlatformSDK\include\prerelease;$(VCInstallDir)PlatformSDK\include;$(FrameworkSDKDir)include"
"Source Dirs"="$(VCInstallDir)atlmfc\src\mfc;$(VCInstallDir)atlmfc\src\atl;$(VCInstallDir)crt\src"
"Reference Dirs"="$(FrameWorkDir)$(FrameWorkVersion)"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.1\VC\VC_OBJECTS_PLATFORM_INFO\Win32\ToolDefaultExtensionLists]
"VCCLCompilerTool"="*.cpp;*.cxx;*.cc;*.c"
"VCLinkerTool"="*.obj;*.res;*.lib;*.rsc"
"VCLibrarianTool"="*.obj;*.res;*.lib;*.rsc"
"VCMIDLTool"="*.idl;*.odl"
"VCCustomBuildTool"="*.bat"
"VCResourceCompilerTool"="*.rc"
"VCPreBuildEventTool"="*.bat"
"VCPreLinkEventTool"="*.bat"
"VCPostBuildEventTool"="*.bat"
"VCBscMakeTool"="*.sbr"
"VCNMakeTool"=""
"VCWebServiceProxyGeneratorTool"="*.discomap"
"VCWebDeploymentTool"=""
"VCALinkTool"="*.resources"
"VCManagedResourceCompilerTool"="*.resx"
"VCXMLDataGeneratorTool"="*.xsd"
"VCManagedWrapperGeneratorTool"=""
"VCAuxiliaryManagedWrapperGeneratorTool"=""
"VCPrimaryInteropTool"=""
'''.split('\n')
regdata_8exp = r'''
[HKEY_LOCAL_MACHINE\Software\Microsoft\VCExpress\8.0]
"CLR Version"="v2.0.50727"
"ApplicationID"="VCExpress"
"SecurityAppID"="{741726F6-1EAE-4680-86A6-6085E8872CF8}"
"InstallDir"="C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\"
"EnablePreloadCLR"=dword:00000001
"RestoreAppPath"=dword:00000001
[HKEY_LOCAL_MACHINE\Software\Microsoft\VCExpress\8.0\InstalledProducts]
[HKEY_LOCAL_MACHINE\Software\Microsoft\VCExpress\8.0\InstalledProducts\Microsoft Visual C++]
"UseInterface"=dword:00000001
"Package"="{F1C25864-3097-11D2-A5C5-00C04F7968B4}"
"DefaultProductAttribute"="VC"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VCExpress\8.0\Setup]
[HKEY_LOCAL_MACHINE\Software\Microsoft\VCExpress\8.0\Setup\VC]
"ProductDir"="C:\Program Files\Microsoft Visual Studio 8\VC\"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VCExpress\8.0\Setup\VS]
"ProductDir"="C:\Program Files\Microsoft Visual Studio 8\"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VCExpress\8.0\VC]
[HKEY_LOCAL_MACHINE\Software\Microsoft\VCExpress\8.0\VC\VC_OBJECTS_PLATFORM_INFO]
[HKEY_LOCAL_MACHINE\Software\Microsoft\VCExpress\8.0\VC\VC_OBJECTS_PLATFORM_INFO\Win32]
@="{72f11281-2429-11d7-8bf6-00b0d03daa06}"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VCExpress\8.0\VC\VC_OBJECTS_PLATFORM_INFO\Win32\ToolDefaultExtensionLists]
"VCCLCompilerTool"="*.cpp;*.cxx;*.cc;*.c"
"VCLinkerTool"="*.obj;*.res;*.lib;*.rsc;*.licenses"
"VCLibrarianTool"="*.obj;*.res;*.lib;*.rsc"
"VCMIDLTool"="*.idl;*.odl"
"VCCustomBuildTool"="*.bat"
"VCResourceCompilerTool"="*.rc"
"VCPreBuildEventTool"="*.bat"
"VCPreLinkEventTool"="*.bat"
"VCPostBuildEventTool"="*.bat"
"VCBscMakeTool"="*.sbr"
"VCFxCopTool"="*.dll;*.exe"
"VCNMakeTool"=""
"VCWebServiceProxyGeneratorTool"="*.discomap"
"VCWebDeploymentTool"=""
"VCALinkTool"="*.resources"
"VCManagedResourceCompilerTool"="*.resx"
"VCXMLDataGeneratorTool"="*.xsd"
"VCManifestTool"="*.manifest"
"VCXDCMakeTool"="*.xdc"
'''.split('\n')
regdata_80 = r'''
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0]
"CLR Version"="v2.0.50727"
"ApplicationID"="VisualStudio"
"ThisVersionDTECLSID"="{BA018599-1DB3-44f9-83B4-461454C84BF8}"
"ThisVersionSolutionCLSID"="{1B2EEDD6-C203-4d04-BD59-78906E3E8AAB}"
"SecurityAppID"="{DF99D4F5-9F04-4CEF-9D39-095821B49C77}"
"InstallDir"="C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\"
"EnablePreloadCLR"=dword:00000001
"RestoreAppPath"=dword:00000001
"Source Directories"="C:\Program Files\Microsoft Visual Studio 8\VC\crt\src\;C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\src\mfc\;C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\src\atl\;C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\include\"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0\InstalledProducts]
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0\InstalledProducts\Microsoft Visual C++]
"UseInterface"=dword:00000001
"Package"="{F1C25864-3097-11D2-A5C5-00C04F7968B4}"
"DefaultProductAttribute"="VC"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0\Setup]
"Dbghelp_path"="C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0\Setup\EF]
"ProductDir"="C:\Program Files\Microsoft Visual Studio 8\EnterpriseFrameworks\"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0\Setup\Microsoft Visual Studio 2005 Professional Edition - ENU]
"SrcPath"="d:\vs\"
"InstallSuccess"=dword:00000001
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0\Setup\VC]
"ProductDir"="C:\Program Files\Microsoft Visual Studio 8\VC\"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0\Setup\VS]
"ProductDir"="C:\Program Files\Microsoft Visual Studio 8\"
"VS7EnvironmentLocation"="C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\devenv.exe"
"EnvironmentPath"="C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\devenv.exe"
"EnvironmentDirectory"="C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\"
"VS7CommonDir"="C:\Program Files\Microsoft Visual Studio 8\Common7\"
"VS7CommonBinDir"="C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0\Setup\VS\BuildNumber]
"1033"="8.0.50727.42"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0\Setup\VS\Pro]
"ProductDir"="C:\Program Files\Microsoft Visual Studio 8\"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0\VC]
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0\VC\VC_OBJECTS_PLATFORM_INFO]
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0\VC\VC_OBJECTS_PLATFORM_INFO\Win32]
@="{72f11281-2429-11d7-8bf6-00b0d03daa06}"
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0\VC\VC_OBJECTS_PLATFORM_INFO\Win32\ToolDefaultExtensionLists]
"VCCLCompilerTool"="*.cpp;*.cxx;*.cc;*.c"
"VCLinkerTool"="*.obj;*.res;*.lib;*.rsc;*.licenses"
"VCLibrarianTool"="*.obj;*.res;*.lib;*.rsc"
"VCMIDLTool"="*.idl;*.odl"
"VCCustomBuildTool"="*.bat"
"VCResourceCompilerTool"="*.rc"
"VCPreBuildEventTool"="*.bat"
"VCPreLinkEventTool"="*.bat"
"VCPostBuildEventTool"="*.bat"
"VCBscMakeTool"="*.sbr"
"VCFxCopTool"="*.dll;*.exe"
"VCNMakeTool"=""
"VCWebServiceProxyGeneratorTool"="*.discomap"
"VCWebDeploymentTool"=""
"VCALinkTool"="*.resources"
"VCManagedResourceCompilerTool"="*.resx"
"VCXMLDataGeneratorTool"="*.xsd"
"VCManifestTool"="*.manifest"
"VCXDCMakeTool"="*.xdc"
'''.split('\n')
regdata_cv = r'''[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion]
"ProgramFilesDir"="C:\Program Files"
"CommonFilesDir"="C:\Program Files\Common Files"
"MediaPath"="C:\WINDOWS\Media"
'''.split('\n')
regdata_none = []
class RegKey(object):
"""key class for storing an 'open' registry key"""
# Warning: this is NOT case-insensitive, unlike the Windows registry.
# So e.g. HKLM\Software is NOT the same key as HKLM\SOFTWARE.
class RegNode(object):
"""node in the dummy registry"""
class DummyRegistry(object):
"""registry class for storing fake registry attributes"""
def __init__(self,data):
"""parse input data into the fake registry"""
self.root = RegNode('REGISTRY')
self.root.addKey('HKEY_LOCAL_MACHINE')
self.root.addKey('HKEY_CURRENT_USER')
self.root.addKey('HKEY_USERS')
self.root.addKey('HKEY_CLASSES_ROOT')
self.parse(data)
class msvsTestCase(unittest.TestCase):
"""This test case is run several times with different defaults.
See its subclasses below."""
def test_get_default_version(self):
"""Test retrieval of the default visual studio version"""
debug("Testing for default version %s"%self.default_version)
env = DummyEnv()
v1 = get_default_version(env)
if v1:
assert env['MSVS_VERSION'] == self.default_version, \
("env['MSVS_VERSION'] != self.default_version",
env['MSVS_VERSION'],self.default_version)
assert env['MSVS']['VERSION'] == self.default_version, \
("env['MSVS']['VERSION'] != self.default_version",
env['MSVS']['VERSION'], self.default_version)
assert v1 == self.default_version, (self.default_version, v1)
env = DummyEnv({'MSVS_VERSION':'7.0'})
v2 = get_default_version(env)
assert env['MSVS_VERSION'] == '7.0', env['MSVS_VERSION']
assert env['MSVS']['VERSION'] == '7.0', env['MSVS']['VERSION']
assert v2 == '7.0', v2
env = DummyEnv()
v3 = get_default_version(env)
if v3 == '7.1':
override = '7.0'
else:
override = '7.1'
env['MSVS_VERSION'] = override
v3 = get_default_version(env)
assert env['MSVS_VERSION'] == override, env['MSVS_VERSION']
assert env['MSVS']['VERSION'] == override, env['MSVS']['VERSION']
assert v3 == override, v3
def _TODO_test_merge_default_version(self):
"""Test the merge_default_version() function"""
pass
def test_query_versions(self):
"""Test retrieval of the list of visual studio versions"""
v1 = query_versions()
assert not v1 or str(v1[0]) == self.highest_version, \
(v1, self.highest_version)
assert len(v1) == self.number_of_versions, v1
def test_config_generation(self):
"""Test _DSPGenerator.__init__(...)"""
if not self.highest_version :
return
# Initialize 'static' variables
version_num, suite = msvs_parse_version(self.highest_version)
if version_num >= 10.0:
function_test = _GenerateV10DSP
elif version_num >= 7.0:
function_test = _GenerateV7DSP
else:
function_test = _GenerateV6DSP
str_function_test = str(function_test.__init__)
dspfile = 'test.dsp'
source = 'test.cpp'
# Create the cmdargs test list
list_variant = ['Debug|Win32','Release|Win32',
'Debug|x64', 'Release|x64']
list_cmdargs = ['debug=True target_arch=32',
'debug=False target_arch=32',
'debug=True target_arch=x64',
'debug=False target_arch=x64']
# Tuple list : (parameter, dictionary of expected result per variant)
tests_cmdargs = [(None, dict.fromkeys(list_variant, '')),
('', dict.fromkeys(list_variant, '')),
(list_cmdargs[0], dict.fromkeys(list_variant, list_cmdargs[0])),
(list_cmdargs, dict(list(zip(list_variant, list_cmdargs))))]
# Run the test for each test case
for param_cmdargs, expected_cmdargs in tests_cmdargs:
debug('Testing %s. with :\n variant = %s \n cmdargs = "%s"' % \
(str_function_test, list_variant, param_cmdargs))
param_configs = []
expected_configs = {}
for platform in ['Win32', 'x64']:
for variant in ['Debug', 'Release']:
variant_platform = '%s|%s' % (variant, platform)
runfile = '%s\\%s\\test.exe' % (platform, variant)
buildtarget = '%s\\%s\\test.exe' % (platform, variant)
outdir = '%s\\%s' % (platform, variant)
# Create parameter list for this variant_platform
param_configs.append([variant_platform, runfile, buildtarget, outdir])
# Create expected dictionary result for this variant_platform
expected_configs[variant_platform] = \
{'variant': variant, 'platform': platform,
'runfile': runfile,
'buildtarget': buildtarget,
'outdir': outdir,
'cmdargs': expected_cmdargs[variant_platform]}
# Create parameter environment with final parameter dictionary
param_dict = dict(list(zip(('variant', 'runfile', 'buildtarget', 'outdir'),
[list(l) for l in zip(*param_configs)])))
param_dict['cmdargs'] = param_cmdargs
# Hack to be able to run the test with a 'DummyEnv'
env = _DummyEnv(param_dict)
env['MSVSSCONSCRIPT'] = ''
env['MSVS_VERSION'] = self.highest_version
# Call function to test
genDSP = function_test(dspfile, source, env)
# Check expected result
self.assertListEqual(list(genDSP.configs.keys()), list(expected_configs.keys()))
for key in list(genDSP.configs.keys()):
self.assertDictEqual(genDSP.configs[key].__dict__, expected_configs[key])
class msvs6aTestCase(msvsTestCase):
"""Test MSVS 6 Registry"""
registry = DummyRegistry(regdata_6a + regdata_cv)
default_version = '6.0'
highest_version = '6.0'
number_of_versions = 1
install_locs = {
'6.0' : {'VSINSTALLDIR': 'C:\\Program Files\\Microsoft Visual Studio\\VC98', 'VCINSTALLDIR': 'C:\\Program Files\\Microsoft Visual Studio\\VC98\\Bin'},
'7.0' : {},
'7.1' : {},
'8.0' : {},
'8.0Exp' : {},
}
default_install_loc = install_locs['6.0']
class msvs6bTestCase(msvsTestCase):
"""Test Other MSVS 6 Registry"""
registry = DummyRegistry(regdata_6b + regdata_cv)
default_version = '6.0'
highest_version = '6.0'
number_of_versions = 1
install_locs = {
'6.0' : {'VSINSTALLDIR': 'C:\\VS6\\VC98', 'VCINSTALLDIR': 'C:\\VS6\\VC98\\Bin'},
'7.0' : {},
'7.1' : {},
'8.0' : {},
'8.0Exp' : {},
}
default_install_loc = install_locs['6.0']
class msvs6and7TestCase(msvsTestCase):
"""Test MSVS 6 & 7 Registry"""
registry = DummyRegistry(regdata_6b + regdata_7 + regdata_cv)
default_version = '7.0'
highest_version = '7.0'
number_of_versions = 2
install_locs = {
'6.0' : {'VSINSTALLDIR': 'C:\\VS6\\VC98',
'VCINSTALLDIR': 'C:\\VS6\\VC98\\Bin'},
'7.0' : {'VSINSTALLDIR': 'C:\\Program Files\\Microsoft Visual Studio .NET\\Common7',
'VCINSTALLDIR': 'C:\\Program Files\\Microsoft Visual Studio .NET\\Common7\\Tools'},
'7.1' : {},
'8.0' : {},
'8.0Exp' : {},
}
default_install_loc = install_locs['7.0']
class msvs7TestCase(msvsTestCase):
"""Test MSVS 7 Registry"""
registry = DummyRegistry(regdata_7 + regdata_cv)
default_version = '7.0'
highest_version = '7.0'
number_of_versions = 1
install_locs = {
'6.0' : {},
'7.0' : {'VSINSTALLDIR': 'C:\\Program Files\\Microsoft Visual Studio .NET\\Common7',
'VCINSTALLDIR': 'C:\\Program Files\\Microsoft Visual Studio .NET\\Common7\\Tools'},
'7.1' : {},
'8.0' : {},
'8.0Exp' : {},
}
default_install_loc = install_locs['7.0']
class msvs71TestCase(msvsTestCase):
"""Test MSVS 7.1 Registry"""
registry = DummyRegistry(regdata_7_1 + regdata_cv)
default_version = '7.1'
highest_version = '7.1'
number_of_versions = 1
install_locs = {
'6.0' : {},
'7.0' : {},
'7.1' : {'VSINSTALLDIR': 'C:\\Program Files\\Microsoft Visual Studio .NET 2003\\Common7',
'VCINSTALLDIR': 'C:\\Program Files\\Microsoft Visual Studio .NET 2003\\Common7\\Tools'},
'8.0' : {},
'8.0Exp' : {},
}
default_install_loc = install_locs['7.1']
class msvs8ExpTestCase(msvsTestCase): # XXX: only one still not working
"""Test MSVS 8 Express Registry"""
registry = DummyRegistry(regdata_8exp + regdata_cv)
default_version = '8.0Exp'
highest_version = '8.0Exp'
number_of_versions = 1
install_locs = {
'6.0' : {},
'7.0' : {},
'7.1' : {},
'8.0' : {},
'8.0Exp' : {'VSINSTALLDIR': 'C:\\Program Files\\Microsoft Visual Studio 8',
'VCINSTALLDIR': 'C:\\Program Files\\Microsoft Visual Studio 8\\VC'},
}
default_install_loc = install_locs['8.0Exp']
class msvs80TestCase(msvsTestCase):
"""Test MSVS 8 Registry"""
registry = DummyRegistry(regdata_80 + regdata_cv)
default_version = '8.0'
highest_version = '8.0'
number_of_versions = 1
install_locs = {
'6.0' : {},
'7.0' : {},
'7.1' : {},
'8.0' : {'VSINSTALLDIR': 'C:\\Program Files\\Microsoft Visual Studio 8',
'VCINSTALLDIR': 'C:\\Program Files\\Microsoft Visual Studio 8\\VC'},
'8.0Exp' : {},
}
default_install_loc = install_locs['8.0']
class msvsEmptyTestCase(msvsTestCase):
"""Test Empty Registry"""
registry = DummyRegistry(regdata_none)
default_version = SupportedVSList[0].version
highest_version = None
number_of_versions = 0
install_locs = {
'6.0' : {},
'7.0' : {},
'7.1' : {},
'8.0' : {},
'8.0Exp' : {},
}
default_install_loc = install_locs['8.0Exp']
if __name__ == "__main__":
# only makes sense to test this on win32
if sys.platform != 'win32':
sys.stdout.write("NO RESULT for msvsTests.py: '%s' is not win32\n" % sys.platform)
sys.exit(0)
SCons.Util.RegOpenKeyEx = DummyOpenKeyEx
SCons.Util.RegEnumKey = DummyEnumKey
SCons.Util.RegEnumValue = DummyEnumValue
SCons.Util.RegQueryValueEx = DummyQueryValue
SCons.Tool.MSCommon.vc.find_vc_pdir_vswhere = DummyVsWhere
os.path.exists = DummyExists # make sure all files exist :-)
os.path.isfile = DummyExists # make sure all files are files :-)
os.path.isdir = DummyExists # make sure all dirs are dirs :-)
exit_val = 0
test_classes = [
msvs6aTestCase,
msvs6bTestCase,
msvs6and7TestCase,
msvs7TestCase,
msvs71TestCase,
msvs8ExpTestCase,
msvs80TestCase,
msvsEmptyTestCase,
]
for test_class in test_classes:
print("TEST: ", test_class.__doc__)
back_osenv = copy.deepcopy(os.environ)
try:
# XXX: overriding the os.environ is bad, but doing it
# correctly is too complicated for now. Those tests should
# be fixed
for k in ['VS71COMNTOOLS',
'VS80COMNTOOLS',
'VS90COMNTOOLS']:
if k in os.environ:
del os.environ[k]
suite = unittest.makeSuite(test_class, 'test_')
if not TestUnit.cli.get_runner()().run(suite).wasSuccessful():
exit_val = 1
finally:
os.env = back_osenv
sys.exit(exit_val)
# Local Variables:
# tab-width:4
# indent-tabs-mode:nil
# End:
# vim: set expandtab tabstop=4 shiftwidth=4:
| [
2,
198,
2,
11593,
34,
3185,
38162,
9947,
834,
198,
2,
198,
2,
2448,
3411,
318,
29376,
7520,
11,
1479,
286,
3877,
11,
284,
597,
1048,
16727,
198,
2,
257,
4866,
286,
428,
3788,
290,
3917,
10314,
3696,
357,
1169,
198,
2,
366,
25423,
12340,
284,
1730,
287,
262,
10442,
1231,
17504,
11,
1390,
198,
2,
1231,
17385,
262,
2489,
284,
779,
11,
4866,
11,
13096,
11,
20121,
11,
7715,
11,
198,
2,
14983,
11,
850,
43085,
11,
290,
14,
273,
3677,
9088,
286,
262,
10442,
11,
290,
284,
198,
2,
8749,
6506,
284,
4150,
262,
10442,
318,
30760,
284,
466,
523,
11,
2426,
284,
198,
2,
262,
1708,
3403,
25,
198,
2,
198,
2,
383,
2029,
6634,
4003,
290,
428,
7170,
4003,
2236,
307,
3017,
198,
2,
287,
477,
9088,
393,
8904,
16690,
286,
262,
10442,
13,
198,
2,
198,
2,
3336,
47466,
3180,
36592,
2389,
1961,
366,
1921,
3180,
1600,
42881,
34764,
56,
3963,
15529,
198,
2,
509,
12115,
11,
7788,
32761,
6375,
8959,
49094,
11,
47783,
2751,
21728,
5626,
40880,
5390,
3336,
198,
2,
34764,
11015,
3963,
34482,
3398,
1565,
5603,
25382,
11,
376,
46144,
7473,
317,
16652,
2149,
37232,
33079,
48933,
5357,
198,
2,
44521,
1268,
10913,
2751,
12529,
13,
3268,
8005,
49261,
50163,
3336,
37195,
20673,
6375,
27975,
38162,
9947,
367,
15173,
4877,
9348,
198,
2,
43031,
19146,
7473,
15529,
47666,
3955,
11,
29506,
25552,
6375,
25401,
43031,
25382,
11,
7655,
2767,
16879,
3268,
3537,
40282,
198,
2,
3963,
27342,
10659,
11,
309,
9863,
6375,
25401,
54,
24352,
11,
5923,
1797,
2751,
16034,
11,
16289,
3963,
6375,
3268,
7102,
45,
24565,
198,
2,
13315,
3336,
47466,
6375,
3336,
23210,
6375,
25401,
5550,
1847,
20754,
3268,
3336,
47466,
13,
198,
2,
198,
6738,
11593,
37443,
834,
1330,
3601,
62,
8818,
198,
198,
834,
260,
10178,
834,
796,
366,
834,
25664,
834,
11593,
2200,
29817,
2849,
834,
11593,
35,
6158,
834,
11593,
7206,
18697,
31054,
834,
1,
198,
198,
11748,
28686,
198,
11748,
25064,
198,
11748,
555,
715,
395,
198,
11748,
4866,
198,
198,
11748,
6208,
40109,
198,
11748,
6208,
26453,
198,
198,
6738,
6374,
684,
13,
25391,
13,
907,
14259,
1330,
1635,
198,
6738,
6374,
684,
13,
25391,
13,
5653,
17227,
13,
14259,
1330,
36848,
20304,
8053,
198,
11748,
6374,
684,
13,
18274,
346,
198,
11748,
6374,
684,
13,
54,
1501,
654,
198,
198,
6738,
6374,
684,
13,
25391,
13,
5653,
17227,
13,
11321,
1330,
14257,
198,
198,
6738,
6374,
684,
13,
25391,
13,
5653,
17227,
1330,
651,
62,
12286,
62,
9641,
11,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12405,
62,
47178,
198,
6738,
6374,
684,
13,
25391,
13,
907,
14259,
1330,
4808,
8645,
378,
53,
21,
35,
4303,
11,
4808,
8645,
378,
53,
22,
35,
4303,
11,
4808,
8645,
378,
53,
940,
35,
4303,
198,
198,
2301,
7890,
62,
21,
64,
796,
374,
7061,
6,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
60,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
21,
13,
15,
60,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
21,
13,
15,
59,
16177,
47,
4595,
60,
198,
1,
2777,
18,
1,
33151,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
21,
13,
15,
59,
40786,
60,
198,
1,
23266,
17227,
35277,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
59,
17227,
1,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
21,
13,
15,
59,
40786,
59,
15905,
23836,
7311,
10074,
532,
15612,
11733,
718,
13,
15,
64,
60,
198,
1,
15667,
35277,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
59,
5653,
35504,
4089,
59,
4089,
20304,
64,
59,
940,
2091,
1,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
21,
13,
15,
59,
40786,
59,
15905,
15612,
327,
4880,
60,
198,
1,
15667,
35277,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
59,
15922,
4089,
1,
198,
7061,
4458,
35312,
10786,
59,
77,
11537,
198,
198,
2301,
7890,
62,
21,
65,
796,
374,
7061,
6,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
60,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
21,
13,
15,
60,
198,
1,
15798,
35277,
1,
2625,
34,
7479,
20304,
21,
59,
17227,
59,
14114,
59,
14114,
4089,
1,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
21,
13,
15,
59,
16177,
47,
4595,
60,
198,
1,
2777,
20,
1,
33151,
198,
1,
42861,
1,
28,
67,
4775,
25,
24598,
20,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
21,
13,
15,
59,
40786,
60,
198,
1,
23266,
17227,
35277,
1,
2625,
34,
7479,
20304,
21,
59,
17227,
1,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
21,
13,
15,
59,
40786,
59,
15905,
15612,
14392,
60,
198,
1,
15667,
35277,
1,
2625,
34,
7479,
20304,
21,
59,
44526,
4089,
1,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
21,
13,
15,
59,
40786,
59,
15905,
15612,
327,
4880,
60,
198,
1,
15667,
35277,
1,
2625,
34,
7479,
20304,
21,
59,
15922,
4089,
1,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
21,
13,
15,
59,
40786,
59,
15905,
15612,
11733,
60,
198,
1,
15667,
35277,
1,
2625,
34,
7479,
20304,
21,
1,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
21,
13,
15,
59,
40786,
59,
15905,
569,
36078,
20985,
60,
198,
1,
15667,
35277,
1,
2625,
34,
7479,
20304,
21,
59,
17227,
59,
33637,
1,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
21,
13,
15,
59,
40786,
59,
36259,
11733,
9661,
60,
198,
7061,
4458,
35312,
10786,
59,
77,
11537,
198,
198,
2301,
7890,
62,
22,
796,
374,
7061,
6,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
22,
13,
15,
60,
198,
1,
15798,
35277,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
764,
12884,
59,
17227,
22,
59,
14114,
7879,
198,
1,
7416,
4128,
1749,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
764,
12884,
59,
53,
66,
22,
59,
6098,
83,
59,
26,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
764,
12884,
59,
53,
66,
22,
59,
25864,
76,
16072,
59,
10677,
59,
76,
16072,
59,
26,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
764,
12884,
59,
53,
66,
22,
59,
25864,
76,
16072,
59,
10677,
59,
25864,
7879,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
22,
13,
15,
59,
6310,
4262,
48650,
60,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
22,
13,
15,
59,
6310,
4262,
48650,
59,
43752,
37844,
60,
198,
31,
25698,
1314,
25816,
1,
198,
1,
27813,
1,
2625,
90,
37,
2713,
36,
5892,
34,
21,
12,
23,
30557,
12,
1157,
35,
18,
12,
33,
19,
2885,
12,
405,
32,
15,
34,
24,
33,
3023,
36,
22,
33,
36786,
198,
1,
15667,
24259,
1,
25698,
1314,
28694,
1,
198,
1,
11187,
78,
2389,
1,
2625,
15,
1,
198,
1,
47,
2389,
1,
25698,
1314,
25257,
1,
198,
1,
11041,
39317,
1,
28,
67,
4775,
25,
10535,
486,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
22,
13,
15,
59,
6310,
4262,
48650,
59,
36259,
14392,
13,
12884,
60,
198,
31,
33151,
198,
1,
19463,
15667,
33682,
1,
2625,
44526,
1,
198,
1,
27813,
1,
2625,
90,
23237,
33,
940,
33,
24,
12,
33,
2167,
12,
1157,
35,
15,
12,
23,
34,
5333,
12,
405,
32,
15,
34,
6420,
36,
1959,
35,
20,
36786,
198,
1,
11041,
39317,
1,
28,
67,
4775,
25,
10535,
486,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
22,
13,
15,
59,
6310,
4262,
48650,
59,
36259,
327,
2,
60,
198,
31,
33151,
198,
1,
27813,
1,
2625,
90,
7708,
36,
3023,
2943,
16,
12,
18938,
37,
12,
1157,
67,
18,
12,
29499,
19,
33,
12,
405,
34,
3023,
37,
3720,
25425,
2749,
36786,
198,
1,
11041,
39317,
1,
28,
67,
4775,
25,
10535,
486,
198,
1,
19463,
15667,
33682,
1,
2625,
34,
2,
1,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
22,
13,
15,
59,
6310,
4262,
48650,
59,
36259,
34,
4880,
60,
198,
1,
11041,
39317,
1,
28,
67,
4775,
25,
10535,
486,
198,
1,
27813,
1,
2625,
90,
37,
16,
34,
25600,
2414,
12,
1270,
5607,
12,
1157,
35,
17,
12,
32,
20,
34,
20,
12,
405,
34,
3023,
37,
3720,
3104,
33,
19,
36786,
198,
1,
19463,
15667,
33682,
1,
2625,
15922,
1,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
22,
13,
15,
59,
40786,
60,
198,
1,
35,
35904,
16794,
62,
6978,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
764,
12884,
59,
17227,
22,
59,
14114,
7879,
198,
1,
67,
86,
62,
15908,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
764,
12884,
59,
17227,
22,
59,
14114,
7879,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
22,
13,
15,
59,
40786,
59,
5653,
35504,
60,
198,
1,
15667,
35277,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
764,
12884,
59,
10128,
32656,
59,
940,
2091,
7879,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
22,
13,
15,
59,
40786,
59,
11838,
6345,
59,
18831,
52,
60,
198,
1,
36259,
11733,
764,
12884,
18612,
532,
3594,
1,
2625,
90,
35,
3312,
940,
29416,
12,
22,
35,
2996,
12,
1157,
35,
20,
12,
32,
4051,
37,
12,
405,
3829,
25870,
32,
16,
15199,
23,
36786,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
22,
13,
15,
59,
40786,
59,
44526,
60,
198,
1,
15667,
35277,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
764,
12884,
59,
53,
65,
22,
7879,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
22,
13,
15,
59,
40786,
59,
15922,
60,
198,
1,
15667,
35277,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
764,
12884,
59,
53,
66,
22,
7879,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
22,
13,
15,
59,
40786,
59,
15922,
2,
60,
198,
1,
15667,
35277,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
764,
12884,
59,
15922,
2,
7879,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
22,
13,
15,
59,
40786,
59,
36259,
11733,
764,
12884,
18612,
532,
3594,
60,
198,
1,
15798,
33244,
1,
28,
67,
4775,
25,
10535,
486,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
22,
13,
15,
59,
40786,
59,
20304,
60,
198,
1,
31441,
43055,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
764,
12884,
59,
17227,
22,
59,
14114,
7879,
198,
1,
31441,
15235,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
764,
12884,
59,
17227,
22,
59,
14114,
59,
2934,
574,
85,
13,
13499,
1,
198,
1,
20304,
22,
31441,
14749,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
764,
12884,
59,
17227,
22,
59,
14114,
59,
2934,
574,
85,
13,
13499,
1,
198,
1,
5653,
12740,
343,
1,
2625,
34,
7479,
15167,
13283,
59,
17227,
13283,
59,
13102,
469,
3401,
5028,
7879,
198,
1,
15667,
35277,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
764,
12884,
7879,
198,
1,
20304,
22,
17227,
33,
259,
35277,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
764,
12884,
59,
17227,
22,
59,
33637,
7879,
198,
1,
20304,
22,
17227,
35277,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
764,
12884,
59,
17227,
22,
7879,
198,
1,
20304,
10260,
35277,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
764,
12884,
59,
40786,
59,
20304,
10260,
7879,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
22,
13,
15,
59,
40786,
59,
20304,
59,
15580,
15057,
60,
198,
1,
940,
2091,
1,
2625,
22,
13,
15,
13,
5824,
2791,
1,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
22,
13,
15,
59,
40786,
59,
20304,
59,
2964,
60,
198,
1,
15667,
35277,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
764,
12884,
7879,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
22,
13,
15,
59,
15922,
60,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
22,
13,
15,
59,
15922,
59,
15922,
62,
9864,
41,
2943,
4694,
62,
6489,
1404,
21389,
62,
10778,
60,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
22,
13,
15,
59,
15922,
59,
15922,
62,
9864,
41,
2943,
4694,
62,
6489,
1404,
21389,
62,
10778,
59,
16643,
2624,
60,
198,
31,
2625,
90,
32,
4051,
3838,
36,
6420,
12,
1270,
34,
17,
12,
1157,
35,
18,
12,
5774,
29499,
12,
32,
3023,
32,
19,
4093,
49388,
36786,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
22,
13,
15,
59,
15922,
59,
15922,
62,
9864,
41,
2943,
4694,
62,
6489,
1404,
21389,
62,
10778,
59,
16643,
2624,
59,
13470,
1749,
60,
198,
1,
15235,
360,
17062,
1,
2625,
3,
7,
15922,
15798,
35277,
8,
8800,
26,
3,
7,
20304,
15798,
35277,
8,
17227,
22,
59,
33637,
59,
8800,
59,
3866,
20979,
26,
3,
7,
20304,
15798,
35277,
8,
17227,
22,
59,
33637,
59,
8800,
26,
3,
7,
20304,
15798,
35277,
8,
17227,
22,
59,
31391,
26,
3,
7,
20304,
15798,
35277,
8,
17227,
22,
59,
485,
26,
34,
7479,
15167,
13283,
59,
28656,
10478,
26701,
59,
26,
3,
7,
21055,
6433,
10305,
42,
35277,
8,
8800,
26,
3,
7,
21055,
6433,
35277,
8,
3,
7,
21055,
6433,
14815,
1776,
34,
7479,
525,
75,
59,
8800,
26,
34,
7479,
948,
70,
5404,
59,
8800,
26,
66,
7479,
948,
70,
5404,
59,
14629,
59,
8800,
26,
34,
7479,
8800,
26,
34,
7479,
23065,
3696,
59,
525,
3174,
26,
34,
7479,
948,
70,
5404,
59,
14629,
59,
12001,
59,
8800,
59,
72,
33808,
12,
14751,
12,
948,
70,
5404,
26,
34,
7479,
33207,
59,
10057,
2624,
26,
34,
7479,
33207,
26,
34,
7479,
33207,
59,
11964,
2624,
59,
54,
65,
368,
1,
198,
1,
23377,
360,
17062,
1,
2625,
3,
7,
15922,
15798,
35277,
8,
8019,
26,
3,
7,
15922,
15798,
35277,
8,
25864,
76,
16072,
59,
8019,
26,
3,
7,
15922,
15798,
35277,
8,
37148,
10305,
42,
59,
8019,
59,
3866,
20979,
26,
3,
7,
15922,
15798,
35277,
8,
37148,
10305,
42,
59,
8019,
26,
3,
7,
21055,
6433,
10305,
42,
35277,
8,
8019,
1,
198,
1,
818,
9152,
360,
17062,
1,
2625,
3,
7,
15922,
15798,
35277,
8,
17256,
26,
3,
7,
15922,
15798,
35277,
8,
25864,
76,
16072,
59,
17256,
26,
3,
7,
15922,
15798,
35277,
8,
37148,
10305,
42,
59,
17256,
59,
3866,
20979,
26,
3,
7,
15922,
15798,
35277,
8,
37148,
10305,
42,
59,
17256,
26,
3,
7,
21055,
6433,
10305,
42,
35277,
8,
17256,
1,
198,
1,
7416,
360,
17062,
1,
2625,
3,
7,
15922,
15798,
35277,
8,
25864,
76,
16072,
59,
10677,
59,
76,
16072,
26,
3,
7,
15922,
15798,
35277,
8,
25864,
76,
16072,
59,
10677,
59,
25864,
26,
3,
7,
15922,
15798,
35277,
8,
6098,
83,
59,
10677,
1,
198,
1,
26687,
360,
17062,
1,
33151,
198,
7061,
4458,
35312,
10786,
59,
77,
11537,
198,
198,
2301,
7890,
62,
22,
62,
16,
796,
374,
7061,
6,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
22,
13,
16,
60,
198,
31,
33151,
198,
1,
7416,
4128,
1749,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
764,
12884,
5816,
59,
53,
66,
22,
59,
6098,
83,
59,
10677,
59,
26,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
764,
12884,
5816,
59,
53,
66,
22,
59,
25864,
76,
16072,
59,
10677,
59,
76,
16072,
59,
26,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
764,
12884,
5816,
59,
53,
66,
22,
59,
25864,
76,
16072,
59,
10677,
59,
25864,
7879,
198,
1,
1212,
14815,
46344,
5097,
50,
2389,
1,
2625,
90,
26912,
34,
3553,
14242,
12,
1821,
16458,
12,
19,
67,
21,
65,
12,
24,
36,
23,
35,
12,
33,
15,
37,
36189,
22,
15199,
17,
32,
23,
36786,
198,
1,
1212,
14815,
24544,
2943,
6561,
2389,
1,
2625,
90,
23,
8610,
17,
16458,
5607,
12,
19,
2943,
16,
12,
19,
15630,
19,
12,
24,
30743,
12,
4531,
32,
18,
41841,
35,
3553,
32,
21,
36786,
198,
1,
15798,
35277,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
764,
12884,
5816,
59,
17227,
22,
59,
14114,
7879,
198,
1,
5097,
49,
10628,
1,
2625,
85,
16,
13,
16,
13,
3559,
1828,
1,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
22,
13,
16,
59,
6310,
4262,
48650,
60,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
22,
13,
16,
59,
6310,
4262,
48650,
59,
25610,
16232,
49751,
60,
198,
1,
11041,
39317,
1,
28,
67,
4775,
25,
10535,
486,
198,
1,
20304,
22,
15798,
35277,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
764,
12884,
5816,
7879,
198,
1,
44526,
24728,
15798,
35277,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
764,
12884,
5816,
59,
44526,
22,
7879,
198,
1,
34,
44336,
24728,
15798,
35277,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
764,
12884,
5816,
59,
15922,
2,
7879,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
22,
13,
16,
59,
6310,
4262,
48650,
59,
36259,
14392,
13,
12884,
60,
198,
1,
11041,
39317,
1,
28,
67,
4775,
25,
10535,
486,
198,
1,
27813,
1,
2625,
90,
23237,
33,
940,
33,
24,
12,
33,
2167,
12,
1157,
35,
15,
12,
23,
34,
5333,
12,
405,
32,
15,
34,
6420,
36,
1959,
35,
20,
36786,
198,
1,
19463,
15667,
33682,
1,
2625,
44526,
1,
198,
31,
33151,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
22,
13,
16,
59,
6310,
4262,
48650,
59,
36259,
327,
2,
60,
198,
1,
19463,
15667,
33682,
1,
2625,
34,
2,
1,
198,
1,
11041,
39317,
1,
28,
67,
4775,
25,
10535,
486,
198,
1,
27813,
1,
2625,
90,
7708,
36,
3023,
2943,
16,
12,
18938,
37,
12,
1157,
35,
18,
12,
29499,
19,
33,
12,
405,
34,
3023,
37,
3720,
25425,
2749,
36786,
198,
31,
33151,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
22,
13,
16,
59,
6310,
4262,
48650,
59,
36259,
449,
44336,
60,
198,
31,
33151,
198,
1,
27813,
1,
2625,
90,
36,
21,
37,
8068,
23,
33,
15,
12,
37,
18,
35,
16,
12,
1157,
35,
19,
12,
23,
37452,
12,
34215,
32,
47493,
2943,
36,
23,
36786,
198,
1,
11041,
39317,
1,
28,
67,
4775,
25,
10535,
486,
198,
1,
19463,
15667,
33682,
1,
2625,
36259,
449,
44336,
1,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
22,
13,
16,
59,
6310,
4262,
48650,
59,
36259,
34,
4880,
60,
198,
1,
11041,
39317,
1,
28,
67,
4775,
25,
10535,
486,
198,
1,
27813,
1,
2625,
90,
37,
16,
34,
25600,
2414,
12,
1270,
5607,
12,
1157,
35,
17,
12,
32,
20,
34,
20,
12,
405,
34,
3023,
37,
3720,
3104,
33,
19,
36786,
198,
1,
19463,
15667,
33682,
1,
2625,
15922,
1,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
22,
13,
16,
59,
40786,
60,
198,
1,
35,
35904,
16794,
62,
6978,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
764,
12884,
5816,
59,
17227,
22,
59,
14114,
7879,
198,
1,
67,
86,
62,
15908,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
764,
12884,
5816,
59,
17227,
22,
59,
14114,
7879,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
22,
13,
16,
59,
40786,
59,
7902,
35,
31190,
41,
60,
198,
1,
15667,
35277,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
764,
12884,
5816,
59,
15922,
2,
7879,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
22,
13,
16,
59,
40786,
59,
41,
9693,
31190,
41,
60,
198,
1,
15667,
35277,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
764,
12884,
5816,
59,
53,
41,
2,
7879,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
22,
13,
16,
59,
40786,
59,
11838,
6345,
60,
198,
1,
11297,
12564,
4971,
1,
28,
67,
4775,
25,
8269,
198,
1,
11297,
4303,
4971,
1,
28,
67,
4775,
25,
8269,
198,
1,
10697,
10644,
1,
33151,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
22,
13,
16,
59,
40786,
59,
11838,
6345,
59,
27813,
60,
198,
1,
37,
87,
10305,
42,
1,
33151,
198,
1,
44526,
1,
33151,
198,
1,
15922,
1,
33151,
198,
1,
53,
7902,
1,
33151,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
22,
13,
16,
59,
40786,
59,
11838,
6345,
59,
18831,
52,
60,
198,
1,
36259,
11733,
764,
12884,
18612,
5816,
532,
3594,
1,
2625,
90,
22136,
940,
29416,
12,
8141,
1507,
12,
3901,
32,
21,
12,
24,
36,
2481,
12,
32,
6052,
14242,
6469,
6500,
22,
34,
20,
36786,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
22,
13,
16,
59,
40786,
59,
44526,
60,
198,
1,
15667,
35277,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
764,
12884,
5816,
59,
53,
65,
22,
7879,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
22,
13,
16,
59,
40786,
59,
53,
14529,
31190,
41,
60,
198,
1,
15667,
35277,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
764,
12884,
5816,
59,
53,
65,
22,
7879,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
22,
13,
16,
59,
40786,
59,
15922,
60,
198,
1,
15667,
35277,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
764,
12884,
5816,
59,
53,
66,
22,
7879,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
22,
13,
16,
59,
40786,
59,
15922,
2,
60,
198,
1,
15667,
35277,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
764,
12884,
5816,
59,
15922,
2,
7879,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
22,
13,
16,
59,
40786,
59,
36259,
11733,
764,
12884,
18612,
5816,
532,
3594,
60,
198,
1,
15798,
33244,
1,
28,
67,
4775,
25,
10535,
486,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
22,
13,
16,
59,
40786,
59,
20304,
60,
198,
1,
31441,
43055,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
764,
12884,
5816,
59,
17227,
22,
59,
14114,
7879,
198,
1,
31441,
15235,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
764,
12884,
5816,
59,
17227,
22,
59,
14114,
59,
2934,
574,
85,
13,
13499,
1,
198,
1,
20304,
22,
31441,
14749,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
764,
12884,
5816,
59,
17227,
22,
59,
14114,
59,
2934,
574,
85,
13,
13499,
1,
198,
1,
5653,
12740,
343,
1,
2625,
34,
7479,
15167,
13283,
59,
17227,
13283,
59,
13102,
469,
3401,
5028,
7879,
198,
1,
20304,
22,
17227,
33,
259,
35277,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
764,
12884,
5816,
59,
17227,
22,
59,
33637,
7879,
198,
1,
20304,
22,
17227,
35277,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
764,
12884,
5816,
59,
17227,
22,
7879,
198,
1,
15667,
35277,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
764,
12884,
5816,
7879,
198,
1,
20304,
10260,
35277,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
764,
12884,
5816,
59,
40786,
59,
20304,
10260,
7879,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
22,
13,
16,
59,
40786,
59,
20304,
59,
15580,
15057,
60,
198,
1,
940,
2091,
1,
2625,
22,
13,
16,
13,
1270,
3459,
1,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
22,
13,
16,
59,
40786,
59,
20304,
59,
2964,
60,
198,
1,
15667,
35277,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
764,
12884,
5816,
7879,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
22,
13,
16,
59,
15922,
60,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
22,
13,
16,
59,
15922,
59,
15922,
62,
9864,
41,
2943,
4694,
62,
6489,
1404,
21389,
62,
10778,
60,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
22,
13,
16,
59,
15922,
59,
15922,
62,
9864,
41,
2943,
4694,
62,
6489,
1404,
21389,
62,
10778,
59,
16643,
2624,
60,
198,
31,
2625,
90,
38314,
32182,
35,
15,
12,
21,
33,
3682,
12,
27790,
20,
12,
32,
5777,
33,
12,
3980,
36,
2682,
35,
17,
2749,
18,
35,
19,
36786,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
22,
13,
16,
59,
15922,
59,
15922,
62,
9864,
41,
2943,
4694,
62,
6489,
1404,
21389,
62,
10778,
59,
16643,
2624,
59,
13470,
1749,
60,
198,
1,
15235,
360,
17062,
1,
2625,
3,
7,
15922,
15798,
35277,
8,
8800,
26,
3,
7,
20304,
15798,
35277,
8,
17227,
22,
59,
33637,
59,
8800,
59,
3866,
20979,
26,
3,
7,
20304,
15798,
35277,
8,
17227,
22,
59,
33637,
59,
8800,
26,
3,
7,
20304,
15798,
35277,
8,
17227,
22,
59,
31391,
26,
3,
7,
20304,
15798,
35277,
8,
17227,
22,
59,
485,
26,
34,
7479,
15167,
13283,
59,
28656,
10478,
26701,
59,
26,
3,
7,
21055,
6433,
10305,
42,
35277,
8,
8800,
26,
3,
7,
21055,
6433,
35277,
8,
3,
7,
21055,
6433,
14815,
1776,
34,
7479,
5990,
75,
59,
8800,
59,
26,
66,
7479,
8800,
26,
66,
7479,
948,
70,
5404,
59,
8800,
26,
34,
7479,
33207,
59,
10057,
2624,
26,
34,
7479,
33207,
26,
34,
7479,
33207,
59,
11964,
2624,
59,
54,
65,
368,
26,
34,
7479,
15167,
13283,
59,
17227,
13283,
59,
7355,
312,
26,
34,
7479,
15167,
13283,
59,
1891,
10899,
263,
362,
59,
26,
34,
7479,
15167,
13283,
59,
66,
14259,
429,
26,
34,
7479,
15167,
13283,
59,
7004,
9641,
59,
8800,
26,
34,
7479,
15167,
13283,
59,
17227,
13283,
59,
2782,
5910,
59,
4760,
43,
26,
34,
7479,
15167,
13283,
59,
28656,
23579,
1,
198,
1,
23377,
360,
17062,
1,
2625,
3,
7,
15922,
15798,
35277,
8,
8019,
26,
3,
7,
15922,
15798,
35277,
8,
25864,
76,
16072,
59,
8019,
26,
3,
7,
15922,
15798,
35277,
8,
37148,
10305,
42,
59,
8019,
59,
3866,
20979,
26,
3,
7,
15922,
15798,
35277,
8,
37148,
10305,
42,
59,
8019,
26,
3,
7,
21055,
6433,
10305,
42,
35277,
8,
8019,
1,
198,
1,
818,
9152,
360,
17062,
1,
2625,
3,
7,
15922,
15798,
35277,
8,
17256,
26,
3,
7,
15922,
15798,
35277,
8,
25864,
76,
16072,
59,
17256,
26,
3,
7,
15922,
15798,
35277,
8,
37148,
10305,
42,
59,
17256,
59,
3866,
20979,
26,
3,
7,
15922,
15798,
35277,
8,
37148,
10305,
42,
59,
17256,
26,
3,
7,
21055,
6433,
10305,
42,
35277,
8,
17256,
1,
198,
1,
7416,
360,
17062,
1,
2625,
3,
7,
15922,
15798,
35277,
8,
25864,
76,
16072,
59,
10677,
59,
76,
16072,
26,
3,
7,
15922,
15798,
35277,
8,
25864,
76,
16072,
59,
10677,
59,
25864,
26,
3,
7,
15922,
15798,
35277,
8,
6098,
83,
59,
10677,
1,
198,
1,
26687,
360,
17062,
1,
2625,
3,
7,
19778,
12468,
35277,
8,
3,
7,
19778,
12468,
14815,
16725,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
22,
13,
16,
59,
15922,
59,
15922,
62,
9864,
41,
2943,
4694,
62,
6489,
1404,
21389,
62,
10778,
59,
16643,
2624,
59,
25391,
19463,
11627,
3004,
43,
1023,
60,
198,
1,
53,
4093,
5639,
3361,
5329,
25391,
1,
2625,
24620,
20322,
26,
24620,
66,
5324,
26,
24620,
535,
26,
24620,
66,
1,
198,
1,
53,
5097,
24275,
25391,
1,
2625,
24620,
26801,
26,
24620,
411,
26,
24620,
8019,
26,
24620,
81,
1416,
1,
198,
1,
53,
5097,
35808,
25391,
1,
2625,
24620,
26801,
26,
24620,
411,
26,
24620,
8019,
26,
24620,
81,
1416,
1,
198,
1,
15922,
44,
2389,
43,
25391,
1,
2625,
24620,
312,
75,
26,
24620,
375,
75,
1,
198,
1,
53,
4093,
1824,
15580,
25391,
1,
2625,
24620,
8664,
1,
198,
1,
15922,
26198,
7293,
5329,
25391,
1,
2625,
24620,
6015,
1,
198,
1,
15922,
6719,
15580,
9237,
25391,
1,
2625,
24620,
8664,
1,
198,
1,
15922,
6719,
11280,
9237,
25391,
1,
2625,
24620,
8664,
1,
198,
1,
15922,
6307,
15580,
9237,
25391,
1,
2625,
24620,
8664,
1,
198,
1,
15922,
33,
1416,
12050,
25391,
1,
2625,
24620,
82,
1671,
1,
198,
1,
15922,
45,
12050,
25391,
1,
33151,
198,
1,
15922,
13908,
16177,
44148,
8645,
1352,
25391,
1,
2625,
24620,
6381,
785,
499,
1,
198,
1,
15922,
13908,
49322,
434,
25391,
1,
33151,
198,
1,
15922,
1847,
676,
25391,
1,
2625,
24620,
37540,
1,
198,
1,
15922,
5124,
1886,
26198,
7293,
5329,
25391,
1,
2625,
24620,
411,
87,
1,
198,
1,
15922,
55,
5805,
6601,
8645,
1352,
25391,
1,
2625,
24620,
87,
21282,
1,
198,
1,
15922,
5124,
1886,
36918,
2848,
8645,
1352,
25391,
1,
33151,
198,
1,
53,
8141,
2821,
28129,
5124,
1886,
36918,
2848,
8645,
1352,
25391,
1,
33151,
198,
1,
53,
8697,
3036,
560,
9492,
404,
25391,
1,
33151,
198,
7061,
4458,
35312,
10786,
59,
77,
11537,
198,
198,
2301,
7890,
62,
23,
11201,
796,
374,
7061,
6,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
15922,
38839,
59,
23,
13,
15,
60,
198,
1,
5097,
49,
10628,
1,
2625,
85,
17,
13,
15,
13,
35378,
1983,
1,
198,
1,
23416,
2389,
1,
2625,
15922,
38839,
1,
198,
1,
24074,
4677,
2389,
1,
2625,
90,
4524,
1558,
2075,
37,
21,
12,
16,
36,
14242,
12,
3510,
1795,
12,
4521,
32,
21,
12,
1899,
5332,
36,
3459,
4761,
22495,
23,
36786,
198,
1,
15798,
35277,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
807,
59,
17227,
22,
59,
14114,
7879,
198,
1,
36695,
6719,
2220,
5097,
49,
1,
28,
67,
4775,
25,
10535,
486,
198,
1,
19452,
382,
4677,
15235,
1,
28,
67,
4775,
25,
10535,
486,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
15922,
38839,
59,
23,
13,
15,
59,
6310,
4262,
48650,
60,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
15922,
38839,
59,
23,
13,
15,
59,
6310,
4262,
48650,
59,
15905,
15612,
327,
4880,
60,
198,
1,
11041,
39317,
1,
28,
67,
4775,
25,
10535,
486,
198,
1,
27813,
1,
2625,
90,
37,
16,
34,
25600,
2414,
12,
1270,
5607,
12,
1157,
35,
17,
12,
32,
20,
34,
20,
12,
405,
34,
3023,
37,
3720,
3104,
33,
19,
36786,
198,
1,
19463,
15667,
33682,
1,
2625,
15922,
1,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
15922,
38839,
59,
23,
13,
15,
59,
40786,
60,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
15922,
38839,
59,
23,
13,
15,
59,
40786,
59,
15922,
60,
198,
1,
15667,
35277,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
807,
59,
15922,
7879,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
15922,
38839,
59,
23,
13,
15,
59,
40786,
59,
20304,
60,
198,
1,
15667,
35277,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
807,
7879,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
15922,
38839,
59,
23,
13,
15,
59,
15922,
60,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
15922,
38839,
59,
23,
13,
15,
59,
15922,
59,
15922,
62,
9864,
41,
2943,
4694,
62,
6489,
1404,
21389,
62,
10778,
60,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
15922,
38839,
59,
23,
13,
15,
59,
15922,
59,
15922,
62,
9864,
41,
2943,
4694,
62,
6489,
1404,
21389,
62,
10778,
59,
16643,
2624,
60,
198,
31,
2625,
90,
4761,
69,
14686,
6659,
12,
1731,
1959,
12,
1157,
67,
22,
12,
23,
19881,
21,
12,
405,
65,
15,
67,
3070,
6814,
64,
3312,
36786,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
15922,
38839,
59,
23,
13,
15,
59,
15922,
59,
15922,
62,
9864,
41,
2943,
4694,
62,
6489,
1404,
21389,
62,
10778,
59,
16643,
2624,
59,
25391,
19463,
11627,
3004,
43,
1023,
60,
198,
1,
53,
4093,
5639,
3361,
5329,
25391,
1,
2625,
24620,
20322,
26,
24620,
66,
5324,
26,
24620,
535,
26,
24620,
66,
1,
198,
1,
53,
5097,
24275,
25391,
1,
2625,
24620,
26801,
26,
24620,
411,
26,
24620,
8019,
26,
24620,
81,
1416,
26,
24620,
677,
4541,
1,
198,
1,
53,
5097,
35808,
25391,
1,
2625,
24620,
26801,
26,
24620,
411,
26,
24620,
8019,
26,
24620,
81,
1416,
1,
198,
1,
15922,
44,
2389,
43,
25391,
1,
2625,
24620,
312,
75,
26,
24620,
375,
75,
1,
198,
1,
53,
4093,
1824,
15580,
25391,
1,
2625,
24620,
8664,
1,
198,
1,
15922,
26198,
7293,
5329,
25391,
1,
2625,
24620,
6015,
1,
198,
1,
15922,
6719,
15580,
9237,
25391,
1,
2625,
24620,
8664,
1,
198,
1,
15922,
6719,
11280,
9237,
25391,
1,
2625,
24620,
8664,
1,
198,
1,
15922,
6307,
15580,
9237,
25391,
1,
2625,
24620,
8664,
1,
198,
1,
15922,
33,
1416,
12050,
25391,
1,
2625,
24620,
82,
1671,
1,
198,
1,
15922,
37,
87,
13379,
25391,
1,
2625,
24620,
12736,
26,
24620,
13499,
1,
198,
1,
15922,
45,
12050,
25391,
1,
33151,
198,
1,
15922,
13908,
16177,
44148,
8645,
1352,
25391,
1,
2625,
24620,
6381,
785,
499,
1,
198,
1,
15922,
13908,
49322,
434,
25391,
1,
33151,
198,
1,
15922,
1847,
676,
25391,
1,
2625,
24620,
37540,
1,
198,
1,
15922,
5124,
1886,
26198,
7293,
5329,
25391,
1,
2625,
24620,
411,
87,
1,
198,
1,
15922,
55,
5805,
6601,
8645,
1352,
25391,
1,
2625,
24620,
87,
21282,
1,
198,
1,
15922,
5124,
8409,
25391,
1,
2625,
24620,
805,
8409,
1,
198,
1,
15922,
55,
9697,
12050,
25391,
1,
2625,
24620,
87,
17896,
1,
198,
7061,
4458,
35312,
10786,
59,
77,
11537,
198,
198,
2301,
7890,
62,
1795,
796,
374,
7061,
6,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
23,
13,
15,
60,
198,
1,
5097,
49,
10628,
1,
2625,
85,
17,
13,
15,
13,
35378,
1983,
1,
198,
1,
23416,
2389,
1,
2625,
36259,
41501,
1,
198,
1,
1212,
14815,
24544,
2943,
6561,
2389,
1,
2625,
90,
4339,
486,
5332,
2079,
12,
16,
11012,
18,
12,
2598,
69,
24,
12,
5999,
33,
19,
12,
3510,
1415,
4051,
34,
5705,
29499,
23,
36786,
198,
1,
1212,
14815,
46344,
5097,
50,
2389,
1,
2625,
90,
16,
33,
17,
41841,
35,
21,
12,
34,
22416,
12,
19,
67,
3023,
12,
14529,
3270,
12,
40401,
3312,
36,
18,
36,
23,
3838,
33,
36786,
198,
1,
24074,
4677,
2389,
1,
2625,
90,
8068,
2079,
35,
19,
37,
20,
12,
24,
37,
3023,
12,
19,
5222,
37,
12,
24,
35,
2670,
12,
2931,
3365,
2481,
33,
2920,
34,
3324,
36786,
198,
1,
15798,
35277,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
807,
59,
17227,
22,
59,
14114,
7879,
198,
1,
36695,
6719,
2220,
5097,
49,
1,
28,
67,
4775,
25,
10535,
486,
198,
1,
19452,
382,
4677,
15235,
1,
28,
67,
4775,
25,
10535,
486,
198,
1,
7416,
4128,
1749,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
807,
59,
15922,
59,
6098,
83,
59,
10677,
59,
26,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
807,
59,
15922,
59,
25864,
76,
16072,
59,
10677,
59,
76,
16072,
59,
26,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
807,
59,
15922,
59,
25864,
76,
16072,
59,
10677,
59,
25864,
59,
26,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
807,
59,
15922,
59,
25864,
76,
16072,
59,
17256,
7879,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
23,
13,
15,
59,
6310,
4262,
48650,
60,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
23,
13,
15,
59,
6310,
4262,
48650,
59,
15905,
15612,
327,
4880,
60,
198,
1,
11041,
39317,
1,
28,
67,
4775,
25,
10535,
486,
198,
1,
27813,
1,
2625,
90,
37,
16,
34,
25600,
2414,
12,
1270,
5607,
12,
1157,
35,
17,
12,
32,
20,
34,
20,
12,
405,
34,
3023,
37,
3720,
3104,
33,
19,
36786,
198,
1,
19463,
15667,
33682,
1,
2625,
15922,
1,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
23,
13,
15,
59,
40786,
60,
198,
1,
35,
35904,
16794,
62,
6978,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
807,
59,
17227,
22,
59,
14114,
7879,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
23,
13,
15,
59,
40786,
59,
25425,
60,
198,
1,
15667,
35277,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
807,
59,
17469,
7919,
42026,
7879,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
23,
13,
15,
59,
40786,
59,
15905,
15612,
11733,
5075,
18612,
5061,
532,
12964,
52,
60,
198,
1,
50,
6015,
15235,
1,
2625,
67,
7479,
14259,
7879,
198,
1,
15798,
33244,
1,
28,
67,
4775,
25,
10535,
486,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
23,
13,
15,
59,
40786,
59,
15922,
60,
198,
1,
15667,
35277,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
807,
59,
15922,
7879,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
23,
13,
15,
59,
40786,
59,
20304,
60,
198,
1,
15667,
35277,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
807,
7879,
198,
1,
20304,
22,
31441,
14749,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
807,
59,
17227,
22,
59,
14114,
59,
2934,
574,
85,
13,
13499,
1,
198,
1,
31441,
15235,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
807,
59,
17227,
22,
59,
14114,
59,
2934,
574,
85,
13,
13499,
1,
198,
1,
31441,
43055,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
807,
59,
17227,
22,
59,
14114,
7879,
198,
1,
20304,
22,
17227,
35277,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
807,
59,
17227,
22,
7879,
198,
1,
20304,
22,
17227,
33,
259,
35277,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
807,
59,
17227,
22,
59,
33637,
7879,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
23,
13,
15,
59,
40786,
59,
20304,
59,
15580,
15057,
60,
198,
1,
940,
2091,
1,
2625,
23,
13,
15,
13,
35378,
1983,
13,
3682,
1,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
23,
13,
15,
59,
40786,
59,
20304,
59,
2964,
60,
198,
1,
15667,
35277,
1,
2625,
34,
7479,
15167,
13283,
59,
15905,
15612,
11733,
807,
7879,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
23,
13,
15,
59,
15922,
60,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
23,
13,
15,
59,
15922,
59,
15922,
62,
9864,
41,
2943,
4694,
62,
6489,
1404,
21389,
62,
10778,
60,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
23,
13,
15,
59,
15922,
59,
15922,
62,
9864,
41,
2943,
4694,
62,
6489,
1404,
21389,
62,
10778,
59,
16643,
2624,
60,
198,
31,
2625,
90,
4761,
69,
14686,
6659,
12,
1731,
1959,
12,
1157,
67,
22,
12,
23,
19881,
21,
12,
405,
65,
15,
67,
3070,
6814,
64,
3312,
36786,
198,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
36259,
41501,
59,
23,
13,
15,
59,
15922,
59,
15922,
62,
9864,
41,
2943,
4694,
62,
6489,
1404,
21389,
62,
10778,
59,
16643,
2624,
59,
25391,
19463,
11627,
3004,
43,
1023,
60,
198,
1,
53,
4093,
5639,
3361,
5329,
25391,
1,
2625,
24620,
20322,
26,
24620,
66,
5324,
26,
24620,
535,
26,
24620,
66,
1,
198,
1,
53,
5097,
24275,
25391,
1,
2625,
24620,
26801,
26,
24620,
411,
26,
24620,
8019,
26,
24620,
81,
1416,
26,
24620,
677,
4541,
1,
198,
1,
53,
5097,
35808,
25391,
1,
2625,
24620,
26801,
26,
24620,
411,
26,
24620,
8019,
26,
24620,
81,
1416,
1,
198,
1,
15922,
44,
2389,
43,
25391,
1,
2625,
24620,
312,
75,
26,
24620,
375,
75,
1,
198,
1,
53,
4093,
1824,
15580,
25391,
1,
2625,
24620,
8664,
1,
198,
1,
15922,
26198,
7293,
5329,
25391,
1,
2625,
24620,
6015,
1,
198,
1,
15922,
6719,
15580,
9237,
25391,
1,
2625,
24620,
8664,
1,
198,
1,
15922,
6719,
11280,
9237,
25391,
1,
2625,
24620,
8664,
1,
198,
1,
15922,
6307,
15580,
9237,
25391,
1,
2625,
24620,
8664,
1,
198,
1,
15922,
33,
1416,
12050,
25391,
1,
2625,
24620,
82,
1671,
1,
198,
1,
15922,
37,
87,
13379,
25391,
1,
2625,
24620,
12736,
26,
24620,
13499,
1,
198,
1,
15922,
45,
12050,
25391,
1,
33151,
198,
1,
15922,
13908,
16177,
44148,
8645,
1352,
25391,
1,
2625,
24620,
6381,
785,
499,
1,
198,
1,
15922,
13908,
49322,
434,
25391,
1,
33151,
198,
1,
15922,
1847,
676,
25391,
1,
2625,
24620,
37540,
1,
198,
1,
15922,
5124,
1886,
26198,
7293,
5329,
25391,
1,
2625,
24620,
411,
87,
1,
198,
1,
15922,
55,
5805,
6601,
8645,
1352,
25391,
1,
2625,
24620,
87,
21282,
1,
198,
1,
15922,
5124,
8409,
25391,
1,
2625,
24620,
805,
8409,
1,
198,
1,
15922,
55,
9697,
12050,
25391,
1,
2625,
24620,
87,
17896,
1,
198,
7061,
4458,
35312,
10786,
59,
77,
11537,
198,
198,
2301,
7890,
62,
33967,
796,
374,
7061,
6,
58,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
59,
25423,
59,
15905,
59,
11209,
59,
11297,
14815,
60,
198,
1,
15167,
25876,
35277,
1,
2625,
34,
7479,
15167,
13283,
1,
198,
1,
17227,
25876,
35277,
1,
2625,
34,
7479,
15167,
13283,
59,
17227,
13283,
1,
198,
1,
13152,
15235,
1,
2625,
34,
7479,
33207,
59,
13152,
1,
198,
7061,
4458,
35312,
10786,
59,
77,
11537,
628,
198,
2301,
7890,
62,
23108,
796,
17635,
198,
198,
4871,
3310,
9218,
7,
15252,
2599,
198,
220,
220,
220,
37227,
2539,
1398,
329,
23069,
281,
705,
9654,
6,
20478,
1994,
37811,
198,
198,
2,
15932,
25,
428,
318,
5626,
1339,
12,
1040,
18464,
11,
5023,
262,
3964,
20478,
13,
198,
2,
1406,
304,
13,
70,
13,
31440,
31288,
59,
25423,
318,
5626,
262,
976,
1994,
355,
31440,
31288,
59,
15821,
37485,
13,
198,
4871,
3310,
19667,
7,
15252,
2599,
198,
220,
220,
220,
37227,
17440,
287,
262,
31548,
20478,
37811,
198,
198,
4871,
360,
13513,
8081,
4592,
7,
15252,
2599,
198,
220,
220,
220,
37227,
2301,
4592,
1398,
329,
23069,
8390,
20478,
12608,
37811,
198,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
7890,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
29572,
5128,
1366,
656,
262,
8390,
20478,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
15763,
796,
3310,
19667,
10786,
31553,
1797,
40405,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
15763,
13,
2860,
9218,
10786,
39,
20373,
62,
29701,
1847,
62,
44,
16219,
8881,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
15763,
13,
2860,
9218,
10786,
39,
20373,
62,
34,
39237,
62,
29904,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
15763,
13,
2860,
9218,
10786,
39,
20373,
62,
2937,
4877,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
15763,
13,
2860,
9218,
10786,
39,
20373,
62,
31631,
1546,
62,
13252,
2394,
11537,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
29572,
7,
7890,
8,
198,
198,
4871,
13845,
14259,
14402,
20448,
7,
403,
715,
395,
13,
14402,
20448,
2599,
198,
220,
220,
220,
37227,
1212,
1332,
1339,
318,
1057,
1811,
1661,
351,
1180,
26235,
13,
198,
220,
220,
220,
4091,
663,
850,
37724,
2174,
526,
15931,
628,
220,
220,
220,
825,
1332,
62,
1136,
62,
12286,
62,
9641,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
45069,
286,
262,
4277,
5874,
8034,
2196,
37811,
628,
220,
220,
220,
220,
220,
220,
220,
14257,
7203,
44154,
329,
4277,
2196,
4064,
82,
1,
4,
944,
13,
12286,
62,
9641,
8,
198,
220,
220,
220,
220,
220,
220,
220,
17365,
796,
360,
13513,
4834,
85,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
410,
16,
796,
651,
62,
12286,
62,
9641,
7,
24330,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
410,
16,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
17365,
17816,
5653,
20304,
62,
43717,
20520,
6624,
2116,
13,
12286,
62,
9641,
11,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5855,
24330,
17816,
5653,
20304,
62,
43717,
20520,
14512,
2116,
13,
12286,
62,
9641,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17365,
17816,
5653,
20304,
62,
43717,
6,
4357,
944,
13,
12286,
62,
9641,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
17365,
17816,
5653,
20304,
6,
7131,
6,
43717,
20520,
6624,
2116,
13,
12286,
62,
9641,
11,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5855,
24330,
17816,
5653,
20304,
6,
7131,
6,
43717,
20520,
14512,
2116,
13,
12286,
62,
9641,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17365,
17816,
5653,
20304,
6,
7131,
6,
43717,
6,
4357,
2116,
13,
12286,
62,
9641,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
410,
16,
6624,
2116,
13,
12286,
62,
9641,
11,
357,
944,
13,
12286,
62,
9641,
11,
410,
16,
8,
628,
220,
220,
220,
220,
220,
220,
220,
17365,
796,
360,
13513,
4834,
85,
15090,
6,
5653,
20304,
62,
43717,
10354,
6,
22,
13,
15,
6,
30072,
198,
220,
220,
220,
220,
220,
220,
220,
410,
17,
796,
651,
62,
12286,
62,
9641,
7,
24330,
8,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
17365,
17816,
5653,
20304,
62,
43717,
20520,
6624,
705,
22,
13,
15,
3256,
17365,
17816,
5653,
20304,
62,
43717,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
17365,
17816,
5653,
20304,
6,
7131,
6,
43717,
20520,
6624,
705,
22,
13,
15,
3256,
17365,
17816,
5653,
20304,
6,
7131,
6,
43717,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
410,
17,
6624,
705,
22,
13,
15,
3256,
410,
17,
628,
220,
220,
220,
220,
220,
220,
220,
17365,
796,
360,
13513,
4834,
85,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
410,
18,
796,
651,
62,
12286,
62,
9641,
7,
24330,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
410,
18,
6624,
705,
22,
13,
16,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
20957,
796,
705,
22,
13,
15,
6,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
20957,
796,
705,
22,
13,
16,
6,
198,
220,
220,
220,
220,
220,
220,
220,
17365,
17816,
5653,
20304,
62,
43717,
20520,
796,
20957,
198,
220,
220,
220,
220,
220,
220,
220,
410,
18,
796,
651,
62,
12286,
62,
9641,
7,
24330,
8,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
17365,
17816,
5653,
20304,
62,
43717,
20520,
6624,
20957,
11,
17365,
17816,
5653,
20304,
62,
43717,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
17365,
17816,
5653,
20304,
6,
7131,
6,
43717,
20520,
6624,
20957,
11,
17365,
17816,
5653,
20304,
6,
7131,
6,
43717,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
410,
18,
6624,
20957,
11,
410,
18,
628,
220,
220,
220,
825,
4808,
51,
3727,
46,
62,
9288,
62,
647,
469,
62,
12286,
62,
9641,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
262,
20121,
62,
12286,
62,
9641,
3419,
2163,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
1208,
628,
220,
220,
220,
825,
1332,
62,
22766,
62,
47178,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
45069,
286,
262,
1351,
286,
5874,
8034,
6300,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
410,
16,
796,
12405,
62,
47178,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
407,
410,
16,
393,
965,
7,
85,
16,
58,
15,
12962,
6624,
2116,
13,
35323,
62,
9641,
11,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
85,
16,
11,
2116,
13,
35323,
62,
9641,
8,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
18896,
7,
85,
16,
8,
6624,
2116,
13,
17618,
62,
1659,
62,
47178,
11,
410,
16,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
825,
1332,
62,
11250,
62,
20158,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
4808,
35,
4303,
8645,
1352,
13,
834,
15003,
834,
7,
23029,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
2116,
13,
35323,
62,
9641,
1058,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
20768,
1096,
705,
12708,
6,
9633,
198,
220,
220,
220,
220,
220,
220,
220,
2196,
62,
22510,
11,
18389,
796,
13845,
14259,
62,
29572,
62,
9641,
7,
944,
13,
35323,
62,
9641,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2196,
62,
22510,
18189,
838,
13,
15,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2163,
62,
9288,
796,
4808,
8645,
378,
53,
940,
35,
4303,
198,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
2196,
62,
22510,
18189,
767,
13,
15,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2163,
62,
9288,
796,
4808,
8645,
378,
53,
22,
35,
4303,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2163,
62,
9288,
796,
4808,
8645,
378,
53,
21,
35,
4303,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
965,
62,
8818,
62,
9288,
796,
965,
7,
8818,
62,
9288,
13,
834,
15003,
834,
8,
198,
220,
220,
220,
220,
220,
220,
220,
288,
2777,
7753,
796,
705,
9288,
13,
67,
2777,
6,
198,
220,
220,
220,
220,
220,
220,
220,
2723,
796,
705,
9288,
13,
20322,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
13610,
262,
23991,
22046,
1332,
1351,
198,
220,
220,
220,
220,
220,
220,
220,
1351,
62,
25641,
415,
796,
37250,
27509,
91,
16643,
2624,
41707,
26362,
91,
16643,
2624,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
27509,
91,
87,
2414,
3256,
705,
26362,
91,
87,
2414,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
1351,
62,
28758,
22046,
796,
37250,
24442,
28,
17821,
2496,
62,
998,
28,
2624,
3256,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24442,
28,
25101,
2496,
62,
998,
28,
2624,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24442,
28,
17821,
2496,
62,
998,
28,
87,
2414,
3256,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24442,
28,
25101,
2496,
62,
998,
28,
87,
2414,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
309,
29291,
1351,
1058,
220,
220,
357,
17143,
2357,
11,
220,
220,
220,
220,
220,
220,
220,
22155,
286,
2938,
1255,
583,
15304,
8,
198,
220,
220,
220,
220,
220,
220,
220,
5254,
62,
28758,
22046,
796,
47527,
14202,
11,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8633,
13,
6738,
13083,
7,
4868,
62,
25641,
415,
11,
10148,
36911,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19203,
3256,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8633,
13,
6738,
13083,
7,
4868,
62,
25641,
415,
11,
10148,
36911,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
4868,
62,
28758,
22046,
58,
15,
4357,
8633,
13,
6738,
13083,
7,
4868,
62,
25641,
415,
11,
1351,
62,
28758,
22046,
58,
15,
12962,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
4868,
62,
28758,
22046,
11,
220,
220,
220,
8633,
7,
4868,
7,
13344,
7,
4868,
62,
25641,
415,
11,
1351,
62,
28758,
22046,
35514,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
5660,
262,
1332,
329,
1123,
1332,
1339,
198,
220,
220,
220,
220,
220,
220,
220,
329,
5772,
62,
28758,
22046,
11,
2938,
62,
28758,
22046,
287,
5254,
62,
28758,
22046,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14257,
10786,
44154,
4064,
82,
13,
351,
1058,
59,
77,
220,
15304,
796,
4064,
82,
3467,
77,
220,
23991,
22046,
796,
36521,
82,
30543,
4064,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
2536,
62,
8818,
62,
9288,
11,
1351,
62,
25641,
415,
11,
5772,
62,
28758,
22046,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5772,
62,
11250,
82,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2938,
62,
11250,
82,
796,
23884,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
3859,
287,
37250,
16643,
2624,
3256,
705,
87,
2414,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
15304,
287,
37250,
27509,
3256,
705,
26362,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15304,
62,
24254,
796,
705,
4,
82,
91,
4,
82,
6,
4064,
357,
25641,
415,
11,
3859,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1057,
7753,
796,
705,
4,
82,
6852,
4,
82,
6852,
9288,
13,
13499,
6,
4064,
357,
24254,
11,
15304,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1382,
16793,
796,
705,
4,
82,
6852,
4,
82,
6852,
9288,
13,
13499,
6,
4064,
357,
24254,
11,
15304,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
503,
15908,
796,
705,
4,
82,
6852,
4,
82,
6,
4064,
357,
24254,
11,
15304,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
13610,
11507,
1351,
329,
428,
15304,
62,
24254,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5772,
62,
11250,
82,
13,
33295,
26933,
25641,
415,
62,
24254,
11,
1057,
7753,
11,
1382,
16793,
11,
503,
15908,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
13610,
2938,
22155,
1255,
329,
428,
15304,
62,
24254,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2938,
62,
11250,
82,
58,
25641,
415,
62,
24254,
60,
796,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1391,
6,
25641,
415,
10354,
15304,
11,
705,
24254,
10354,
3859,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
5143,
7753,
10354,
1057,
7753,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
11249,
16793,
10354,
1382,
16793,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
448,
15908,
10354,
503,
15908,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
28758,
22046,
10354,
2938,
62,
28758,
22046,
58,
25641,
415,
62,
24254,
48999,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
13610,
11507,
2858,
351,
2457,
11507,
22155,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5772,
62,
11600,
796,
8633,
7,
4868,
7,
13344,
7,
10786,
25641,
415,
3256,
705,
5143,
7753,
3256,
705,
11249,
16793,
3256,
705,
448,
15908,
33809,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
685,
4868,
7,
75,
8,
329,
300,
287,
19974,
46491,
17143,
62,
11250,
82,
15437,
22305,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5772,
62,
11600,
17816,
28758,
22046,
20520,
796,
5772,
62,
28758,
22046,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
18281,
284,
307,
1498,
284,
1057,
262,
1332,
351,
257,
705,
35,
13513,
4834,
85,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17365,
796,
4808,
35,
13513,
4834,
85,
7,
17143,
62,
11600,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17365,
17816,
5653,
53,
5432,
10943,
6173,
46023,
20520,
796,
10148,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17365,
17816,
5653,
20304,
62,
43717,
20520,
796,
2116,
13,
35323,
62,
9641,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
4889,
2163,
284,
1332,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2429,
35,
4303,
796,
2163,
62,
9288,
7,
67,
2777,
7753,
11,
2723,
11,
17365,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
6822,
2938,
1255,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
8053,
36,
13255,
7,
4868,
7,
5235,
35,
4303,
13,
11250,
82,
13,
13083,
3419,
828,
1351,
7,
40319,
62,
11250,
82,
13,
13083,
3419,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1994,
287,
1351,
7,
5235,
35,
4303,
13,
11250,
82,
13,
13083,
3419,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
35,
713,
36,
13255,
7,
5235,
35,
4303,
13,
11250,
82,
58,
2539,
4083,
834,
11600,
834,
11,
2938,
62,
11250,
82,
58,
2539,
12962,
198,
198,
4871,
13845,
14259,
21,
64,
14402,
20448,
7,
907,
14259,
14402,
20448,
2599,
198,
220,
220,
220,
37227,
14402,
6579,
20304,
718,
33432,
37811,
198,
220,
220,
220,
20478,
796,
360,
13513,
8081,
4592,
7,
2301,
7890,
62,
21,
64,
1343,
842,
7890,
62,
33967,
8,
198,
220,
220,
220,
4277,
62,
9641,
796,
705,
21,
13,
15,
6,
198,
220,
220,
220,
4511,
62,
9641,
796,
705,
21,
13,
15,
6,
198,
220,
220,
220,
1271,
62,
1659,
62,
47178,
796,
352,
198,
220,
220,
220,
2721,
62,
17946,
82,
796,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
21,
13,
15,
6,
1058,
1391,
6,
20304,
38604,
7036,
34720,
10354,
705,
34,
25,
6852,
15167,
13283,
6852,
15905,
15612,
11733,
6852,
15922,
4089,
3256,
705,
15922,
38604,
7036,
34720,
10354,
705,
34,
25,
6852,
15167,
13283,
6852,
15905,
15612,
11733,
6852,
15922,
4089,
6852,
33,
259,
6,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
705,
22,
13,
15,
6,
1058,
1391,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
705,
22,
13,
16,
6,
1058,
1391,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
705,
23,
13,
15,
6,
1058,
1391,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
705,
23,
13,
15,
16870,
6,
1058,
1391,
5512,
198,
220,
220,
220,
1782,
198,
220,
220,
220,
4277,
62,
17350,
62,
17946,
796,
2721,
62,
17946,
82,
17816,
21,
13,
15,
20520,
198,
198,
4871,
13845,
14259,
21,
65,
14402,
20448,
7,
907,
14259,
14402,
20448,
2599,
198,
220,
220,
220,
37227,
14402,
3819,
6579,
20304,
718,
33432,
37811,
198,
220,
220,
220,
20478,
796,
360,
13513,
8081,
4592,
7,
2301,
7890,
62,
21,
65,
1343,
842,
7890,
62,
33967,
8,
198,
220,
220,
220,
4277,
62,
9641,
796,
705,
21,
13,
15,
6,
198,
220,
220,
220,
4511,
62,
9641,
796,
705,
21,
13,
15,
6,
198,
220,
220,
220,
1271,
62,
1659,
62,
47178,
796,
352,
198,
220,
220,
220,
2721,
62,
17946,
82,
796,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
21,
13,
15,
6,
1058,
1391,
6,
20304,
38604,
7036,
34720,
10354,
705,
34,
25,
6852,
20304,
21,
6852,
15922,
4089,
3256,
705,
15922,
38604,
7036,
34720,
10354,
705,
34,
25,
6852,
20304,
21,
6852,
15922,
4089,
6852,
33,
259,
6,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
705,
22,
13,
15,
6,
1058,
1391,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
705,
22,
13,
16,
6,
1058,
1391,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
705,
23,
13,
15,
6,
1058,
1391,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
705,
23,
13,
15,
16870,
6,
1058,
1391,
5512,
198,
220,
220,
220,
1782,
198,
220,
220,
220,
4277,
62,
17350,
62,
17946,
796,
2721,
62,
17946,
82,
17816,
21,
13,
15,
20520,
198,
198,
4871,
13845,
14259,
21,
392,
22,
14402,
20448,
7,
907,
14259,
14402,
20448,
2599,
198,
220,
220,
220,
37227,
14402,
6579,
20304,
718,
1222,
767,
33432,
37811,
198,
220,
220,
220,
20478,
796,
360,
13513,
8081,
4592,
7,
2301,
7890,
62,
21,
65,
1343,
842,
7890,
62,
22,
1343,
842,
7890,
62,
33967,
8,
198,
220,
220,
220,
4277,
62,
9641,
796,
705,
22,
13,
15,
6,
198,
220,
220,
220,
4511,
62,
9641,
796,
705,
22,
13,
15,
6,
198,
220,
220,
220,
1271,
62,
1659,
62,
47178,
796,
362,
198,
220,
220,
220,
2721,
62,
17946,
82,
796,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
21,
13,
15,
6,
1058,
1391,
6,
20304,
38604,
7036,
34720,
10354,
705,
34,
25,
6852,
20304,
21,
6852,
15922,
4089,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
15922,
38604,
7036,
34720,
10354,
705,
34,
25,
6852,
20304,
21,
6852,
15922,
4089,
6852,
33,
259,
6,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
705,
22,
13,
15,
6,
1058,
1391,
6,
20304,
38604,
7036,
34720,
10354,
705,
34,
25,
6852,
15167,
13283,
6852,
15905,
15612,
11733,
764,
12884,
6852,
17227,
22,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
15922,
38604,
7036,
34720,
10354,
705,
34,
25,
6852,
15167,
13283,
6852,
15905,
15612,
11733,
764,
12884,
6852,
17227,
22,
6852,
33637,
6,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
705,
22,
13,
16,
6,
1058,
1391,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
705,
23,
13,
15,
6,
1058,
1391,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
705,
23,
13,
15,
16870,
6,
1058,
1391,
5512,
198,
220,
220,
220,
1782,
198,
220,
220,
220,
4277,
62,
17350,
62,
17946,
796,
2721,
62,
17946,
82,
17816,
22,
13,
15,
20520,
198,
198,
4871,
13845,
14259,
22,
14402,
20448,
7,
907,
14259,
14402,
20448,
2599,
198,
220,
220,
220,
37227,
14402,
6579,
20304,
767,
33432,
37811,
198,
220,
220,
220,
20478,
796,
360,
13513,
8081,
4592,
7,
2301,
7890,
62,
22,
1343,
842,
7890,
62,
33967,
8,
198,
220,
220,
220,
4277,
62,
9641,
796,
705,
22,
13,
15,
6,
198,
220,
220,
220,
4511,
62,
9641,
796,
705,
22,
13,
15,
6,
198,
220,
220,
220,
1271,
62,
1659,
62,
47178,
796,
352,
198,
220,
220,
220,
2721,
62,
17946,
82,
796,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
21,
13,
15,
6,
1058,
1391,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
705,
22,
13,
15,
6,
1058,
1391,
6,
20304,
38604,
7036,
34720,
10354,
705,
34,
25,
6852,
15167,
13283,
6852,
15905,
15612,
11733,
764,
12884,
6852,
17227,
22,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
15922,
38604,
7036,
34720,
10354,
705,
34,
25,
6852,
15167,
13283,
6852,
15905,
15612,
11733,
764,
12884,
6852,
17227,
22,
6852,
33637,
6,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
705,
22,
13,
16,
6,
1058,
1391,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
705,
23,
13,
15,
6,
1058,
1391,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
705,
23,
13,
15,
16870,
6,
1058,
1391,
5512,
198,
220,
220,
220,
1782,
198,
220,
220,
220,
4277,
62,
17350,
62,
17946,
796,
2721,
62,
17946,
82,
17816,
22,
13,
15,
20520,
198,
198,
4871,
13845,
14259,
4869,
14402,
20448,
7,
907,
14259,
14402,
20448,
2599,
198,
220,
220,
220,
37227,
14402,
6579,
20304,
767,
13,
16,
33432,
37811,
198,
220,
220,
220,
20478,
796,
360,
13513,
8081,
4592,
7,
2301,
7890,
62,
22,
62,
16,
1343,
842,
7890,
62,
33967,
8,
198,
220,
220,
220,
4277,
62,
9641,
796,
705,
22,
13,
16,
6,
198,
220,
220,
220,
4511,
62,
9641,
796,
705,
22,
13,
16,
6,
198,
220,
220,
220,
1271,
62,
1659,
62,
47178,
796,
352,
198,
220,
220,
220,
2721,
62,
17946,
82,
796,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
21,
13,
15,
6,
1058,
1391,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
705,
22,
13,
15,
6,
1058,
1391,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
705,
22,
13,
16,
6,
1058,
1391,
6,
20304,
38604,
7036,
34720,
10354,
705,
34,
25,
6852,
15167,
13283,
6852,
15905,
15612,
11733,
764,
12884,
5816,
6852,
17227,
22,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
15922,
38604,
7036,
34720,
10354,
705,
34,
25,
6852,
15167,
13283,
6852,
15905,
15612,
11733,
764,
12884,
5816,
6852,
17227,
22,
6852,
33637,
6,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
705,
23,
13,
15,
6,
1058,
1391,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
705,
23,
13,
15,
16870,
6,
1058,
1391,
5512,
198,
220,
220,
220,
1782,
198,
220,
220,
220,
4277,
62,
17350,
62,
17946,
796,
2721,
62,
17946,
82,
17816,
22,
13,
16,
20520,
198,
198,
4871,
13845,
14259,
23,
16870,
14402,
20448,
7,
907,
14259,
14402,
20448,
2599,
1303,
27713,
25,
691,
530,
991,
407,
1762,
198,
220,
220,
220,
37227,
14402,
6579,
20304,
807,
10604,
33432,
37811,
198,
220,
220,
220,
20478,
796,
360,
13513,
8081,
4592,
7,
2301,
7890,
62,
23,
11201,
1343,
842,
7890,
62,
33967,
8,
198,
220,
220,
220,
4277,
62,
9641,
796,
705,
23,
13,
15,
16870,
6,
198,
220,
220,
220,
4511,
62,
9641,
796,
705,
23,
13,
15,
16870,
6,
198,
220,
220,
220,
1271,
62,
1659,
62,
47178,
796,
352,
198,
220,
220,
220,
2721,
62,
17946,
82,
796,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
21,
13,
15,
6,
1058,
1391,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
705,
22,
13,
15,
6,
1058,
1391,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
705,
22,
13,
16,
6,
1058,
1391,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
705,
23,
13,
15,
6,
1058,
1391,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
705,
23,
13,
15,
16870,
6,
1058,
1391,
6,
20304,
38604,
7036,
34720,
10354,
705,
34,
25,
6852,
15167,
13283,
6852,
15905,
15612,
11733,
807,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
15922,
38604,
7036,
34720,
10354,
705,
34,
25,
6852,
15167,
13283,
6852,
15905,
15612,
11733,
807,
6852,
15922,
6,
5512,
198,
220,
220,
220,
1782,
198,
220,
220,
220,
4277,
62,
17350,
62,
17946,
796,
2721,
62,
17946,
82,
17816,
23,
13,
15,
16870,
20520,
198,
198,
4871,
13845,
14259,
1795,
14402,
20448,
7,
907,
14259,
14402,
20448,
2599,
198,
220,
220,
220,
37227,
14402,
6579,
20304,
807,
33432,
37811,
198,
220,
220,
220,
20478,
796,
360,
13513,
8081,
4592,
7,
2301,
7890,
62,
1795,
1343,
842,
7890,
62,
33967,
8,
198,
220,
220,
220,
4277,
62,
9641,
796,
705,
23,
13,
15,
6,
198,
220,
220,
220,
4511,
62,
9641,
796,
705,
23,
13,
15,
6,
198,
220,
220,
220,
1271,
62,
1659,
62,
47178,
796,
352,
198,
220,
220,
220,
2721,
62,
17946,
82,
796,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
21,
13,
15,
6,
1058,
1391,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
705,
22,
13,
15,
6,
1058,
1391,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
705,
22,
13,
16,
6,
1058,
1391,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
705,
23,
13,
15,
6,
1058,
1391,
6,
20304,
38604,
7036,
34720,
10354,
705,
34,
25,
6852,
15167,
13283,
6852,
15905,
15612,
11733,
807,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
15922,
38604,
7036,
34720,
10354,
705,
34,
25,
6852,
15167,
13283,
6852,
15905,
15612,
11733,
807,
6852,
15922,
6,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
705,
23,
13,
15,
16870,
6,
1058,
1391,
5512,
198,
220,
220,
220,
1782,
198,
220,
220,
220,
4277,
62,
17350,
62,
17946,
796,
2721,
62,
17946,
82,
17816,
23,
13,
15,
20520,
198,
198,
4871,
13845,
14259,
40613,
14402,
20448,
7,
907,
14259,
14402,
20448,
2599,
198,
220,
220,
220,
37227,
14402,
33523,
33432,
37811,
198,
220,
220,
220,
20478,
796,
360,
13513,
8081,
4592,
7,
2301,
7890,
62,
23108,
8,
198,
220,
220,
220,
4277,
62,
9641,
796,
36848,
20304,
8053,
58,
15,
4083,
9641,
198,
220,
220,
220,
4511,
62,
9641,
796,
6045,
198,
220,
220,
220,
1271,
62,
1659,
62,
47178,
796,
657,
198,
220,
220,
220,
2721,
62,
17946,
82,
796,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
21,
13,
15,
6,
1058,
1391,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
705,
22,
13,
15,
6,
1058,
1391,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
705,
22,
13,
16,
6,
1058,
1391,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
705,
23,
13,
15,
6,
1058,
1391,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
705,
23,
13,
15,
16870,
6,
1058,
1391,
5512,
198,
220,
220,
220,
1782,
198,
220,
220,
220,
4277,
62,
17350,
62,
17946,
796,
2721,
62,
17946,
82,
17816,
23,
13,
15,
16870,
20520,
198,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
628,
220,
220,
220,
1303,
691,
1838,
2565,
284,
1332,
428,
319,
1592,
2624,
198,
220,
220,
220,
611,
25064,
13,
24254,
14512,
705,
5404,
2624,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
19282,
448,
13,
13564,
7203,
15285,
15731,
16724,
329,
13845,
14259,
51,
3558,
13,
9078,
25,
220,
705,
4,
82,
6,
318,
407,
1592,
2624,
59,
77,
1,
4064,
25064,
13,
24254,
8,
198,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
37023,
7,
15,
8,
628,
220,
220,
220,
6374,
684,
13,
18274,
346,
13,
8081,
11505,
9218,
3109,
220,
220,
220,
796,
360,
13513,
11505,
9218,
3109,
198,
220,
220,
220,
6374,
684,
13,
18274,
346,
13,
8081,
4834,
388,
9218,
220,
220,
220,
220,
220,
796,
360,
13513,
4834,
388,
9218,
198,
220,
220,
220,
6374,
684,
13,
18274,
346,
13,
8081,
4834,
388,
11395,
220,
220,
220,
796,
360,
13513,
4834,
388,
11395,
198,
220,
220,
220,
6374,
684,
13,
18274,
346,
13,
8081,
20746,
11395,
3109,
796,
360,
13513,
20746,
11395,
198,
220,
220,
220,
6374,
684,
13,
25391,
13,
5653,
17227,
13,
28435,
13,
19796,
62,
28435,
62,
79,
15908,
62,
85,
2032,
1456,
796,
360,
13513,
23266,
8496,
628,
220,
220,
220,
28686,
13,
6978,
13,
1069,
1023,
796,
360,
13513,
3109,
1023,
1303,
787,
1654,
477,
3696,
2152,
47226,
198,
220,
220,
220,
28686,
13,
6978,
13,
4468,
576,
796,
360,
13513,
3109,
1023,
1303,
787,
1654,
477,
3696,
389,
3696,
47226,
198,
220,
220,
220,
28686,
13,
6978,
13,
9409,
343,
220,
796,
360,
13513,
3109,
1023,
1303,
787,
1654,
477,
288,
17062,
389,
288,
17062,
47226,
628,
220,
220,
220,
8420,
62,
2100,
796,
657,
628,
220,
220,
220,
1332,
62,
37724,
796,
685,
198,
220,
220,
220,
220,
220,
220,
220,
13845,
14259,
21,
64,
14402,
20448,
11,
198,
220,
220,
220,
220,
220,
220,
220,
13845,
14259,
21,
65,
14402,
20448,
11,
198,
220,
220,
220,
220,
220,
220,
220,
13845,
14259,
21,
392,
22,
14402,
20448,
11,
198,
220,
220,
220,
220,
220,
220,
220,
13845,
14259,
22,
14402,
20448,
11,
198,
220,
220,
220,
220,
220,
220,
220,
13845,
14259,
4869,
14402,
20448,
11,
198,
220,
220,
220,
220,
220,
220,
220,
13845,
14259,
23,
16870,
14402,
20448,
11,
198,
220,
220,
220,
220,
220,
220,
220,
13845,
14259,
1795,
14402,
20448,
11,
198,
220,
220,
220,
220,
220,
220,
220,
13845,
14259,
40613,
14402,
20448,
11,
198,
220,
220,
220,
2361,
628,
220,
220,
220,
329,
1332,
62,
4871,
287,
1332,
62,
37724,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
51,
6465,
25,
33172,
1332,
62,
4871,
13,
834,
15390,
834,
8,
198,
220,
220,
220,
220,
220,
220,
220,
736,
62,
5233,
85,
796,
4866,
13,
22089,
30073,
7,
418,
13,
268,
2268,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
27713,
25,
44987,
262,
28686,
13,
268,
2268,
318,
2089,
11,
475,
1804,
340,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
9380,
318,
1165,
8253,
329,
783,
13,
5845,
5254,
815,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
307,
5969,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
479,
287,
37250,
20304,
4869,
9858,
45,
10468,
3535,
50,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
20304,
1795,
9858,
45,
10468,
3535,
50,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
20304,
3829,
9858,
45,
10468,
3535,
50,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
479,
287,
28686,
13,
268,
2268,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1619,
28686,
13,
268,
2268,
58,
74,
60,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
18389,
796,
555,
715,
395,
13,
15883,
5606,
578,
7,
9288,
62,
4871,
11,
705,
9288,
62,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
407,
6208,
26453,
13,
44506,
13,
1136,
62,
16737,
3419,
22446,
5143,
7,
2385,
578,
737,
9776,
33244,
913,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8420,
62,
2100,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
3443,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
28686,
13,
24330,
796,
736,
62,
5233,
85,
628,
220,
220,
220,
25064,
13,
37023,
7,
37023,
62,
2100,
8,
198,
198,
2,
10714,
15965,
2977,
25,
198,
2,
7400,
12,
10394,
25,
19,
198,
2,
33793,
12,
8658,
82,
12,
14171,
25,
45991,
198,
2,
5268,
25,
198,
2,
43907,
25,
900,
4292,
8658,
7400,
11338,
28,
19,
6482,
10394,
28,
19,
25,
198
] | 2.366044 | 13,553 |
# !/usr/bin/env python
# -*- coding: utf-8 -*-
# ======================================================================================================================
# The MIT License (MIT)
# ======================================================================================================================
# Copyright (c) 2016 [Marco Aurélio Prado - [email protected]]
# ======================================================================================================================
from flask_bcrypt import Bcrypt
from flask_sqlalchemy import SQLAlchemy
from flask_mail import Mail
bcrypt = Bcrypt()
db = SQLAlchemy()
mail = Mail()
| [
2,
5145,
14,
14629,
14,
8800,
14,
24330,
21015,
198,
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
2,
38093,
10052,
4770,
1421,
28,
198,
2,
383,
17168,
13789,
357,
36393,
8,
198,
2,
38093,
10052,
4770,
1421,
28,
198,
2,
15069,
357,
66,
8,
1584,
685,
37179,
15412,
2634,
48590,
1736,
4533,
532,
1667,
1073,
13,
79,
9310,
85,
31,
14816,
13,
785,
60,
198,
2,
38093,
10052,
4770,
1421,
28,
198,
6738,
42903,
62,
15630,
6012,
1330,
347,
29609,
198,
6738,
42903,
62,
25410,
282,
26599,
1330,
16363,
2348,
26599,
198,
6738,
42903,
62,
4529,
1330,
11099,
198,
198,
15630,
6012,
796,
347,
29609,
3419,
198,
9945,
796,
16363,
2348,
26599,
3419,
198,
4529,
796,
11099,
3419,
198
] | 5.166667 | 126 |
from interpreter import Interpreter
interpreter = Interpreter()
print(interpreter.evaluate_expression("ap send ( 2 , 1 , ( ) )").print())
print(
interpreter.evaluate_expression(
"ap send ( 3 , 1 , ( 1 , 2 , 3 , 4 ) )").print())
print(interpreter.evaluate_expression("ap send ( 4 , 1 , ( ) )").print()) | [
6738,
28846,
1330,
4225,
3866,
353,
198,
198,
3849,
3866,
353,
796,
4225,
3866,
353,
3419,
198,
198,
4798,
7,
3849,
3866,
353,
13,
49786,
62,
38011,
7203,
499,
3758,
357,
362,
837,
352,
837,
357,
1267,
1267,
11074,
4798,
28955,
198,
198,
4798,
7,
198,
220,
220,
220,
28846,
13,
49786,
62,
38011,
7,
198,
220,
220,
220,
220,
220,
220,
220,
366,
499,
3758,
357,
513,
837,
352,
837,
357,
352,
837,
362,
837,
513,
837,
604,
1267,
1267,
11074,
4798,
28955,
198,
198,
4798,
7,
3849,
3866,
353,
13,
49786,
62,
38011,
7203,
499,
3758,
357,
604,
837,
352,
837,
357,
1267,
1267,
11074,
4798,
28955
] | 2.908257 | 109 |
from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _
| [
6738,
42625,
14208,
13,
18211,
1330,
2034,
16934,
198,
6738,
42625,
14208,
13,
26791,
13,
41519,
1330,
651,
5239,
62,
75,
12582,
355,
4808,
198
] | 3.56 | 25 |
import os
basedir = os.path.abspath(os.path.dirname(__file__))
| [
11748,
28686,
198,
198,
3106,
343,
796,
28686,
13,
6978,
13,
397,
2777,
776,
7,
418,
13,
6978,
13,
15908,
3672,
7,
834,
7753,
834,
4008,
198
] | 2.37037 | 27 |
#!/usr/bin/python
try:
from gpxpy import gpx
except ImportError:
print("gpxpy not found - please run: pip install gpxpy")
sys.exit()
| [
2,
48443,
14629,
14,
8800,
14,
29412,
198,
198,
28311,
25,
198,
220,
220,
220,
422,
308,
8416,
9078,
1330,
308,
8416,
198,
16341,
17267,
12331,
25,
198,
220,
220,
220,
3601,
7203,
70,
8416,
9078,
407,
1043,
532,
3387,
1057,
25,
7347,
2721,
308,
8416,
9078,
4943,
198,
220,
220,
220,
25064,
13,
37023,
3419,
198
] | 2.561404 | 57 |
import sys, os
from FlokAlgorithmLocal import FlokDataFrame, FlokAlgorithmLocal
import json
import cv2
#在flok流程中会执行这个main函数
if __name__ == "__main__":
all_info = json.loads(sys.argv[1])
# all_info = {
# "input": ["data/test.jpg"],
# "inputFormat": ["jpg"],
# "inputLocation":["local_fs"],
# "output": ["data/noise.jpg"],
# "outputFormat": ["jpg"],
# "outputLocation":["local_fs"],
# "parameters": {"type": "gaussian"}#gaussian, localvar, poisson, salt, pepper, s&p, speckle
# }
# 获取参数
params = all_info["parameters"]
inputPaths = all_info["input"]
inputTypes = all_info["inputFormat"]
inputLocation = all_info["inputLocation"]
outputPaths = all_info["output"]
outputTypes = all_info["outputFormat"]
outputLocation = all_info["outputLocation"]
algorithm = Batch_ImageRemoveUnclear()
# 先读取上个算子的输出,返回值是FlokDataFrame。
dataSet = algorithm.read(inputPaths,inputTypes,inputLocation,outputPaths,outputTypes)
# 运行算子的处理逻辑
result = algorithm.run(dataSet, params)
# 将结果写入到磁盘,会由下一个算子.read()读取
algorithm.write(outputPaths,result,outputTypes,outputLocation) | [
11748,
25064,
11,
28686,
201,
198,
6738,
1610,
482,
2348,
42289,
14565,
1330,
1610,
482,
6601,
19778,
11,
1610,
482,
2348,
42289,
14565,
201,
198,
11748,
33918,
201,
198,
11748,
269,
85,
17,
201,
198,
2,
28839,
101,
2704,
482,
38184,
223,
163,
101,
233,
40792,
27670,
248,
33699,
100,
26193,
234,
32573,
247,
10310,
103,
12417,
49035,
121,
46763,
108,
201,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
201,
198,
220,
220,
220,
477,
62,
10951,
796,
33918,
13,
46030,
7,
17597,
13,
853,
85,
58,
16,
12962,
201,
198,
201,
198,
220,
220,
220,
1303,
477,
62,
10951,
796,
1391,
201,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
366,
15414,
1298,
14631,
7890,
14,
9288,
13,
9479,
33116,
201,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
366,
15414,
26227,
1298,
14631,
9479,
33116,
201,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
366,
15414,
14749,
26358,
12001,
62,
9501,
33116,
201,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
366,
22915,
1298,
14631,
7890,
14,
3919,
786,
13,
9479,
33116,
201,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
366,
22915,
26227,
1298,
14631,
9479,
33116,
201,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
366,
22915,
14749,
26358,
12001,
62,
9501,
33116,
201,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
366,
17143,
7307,
1298,
19779,
4906,
1298,
366,
4908,
31562,
20662,
2,
4908,
31562,
11,
1957,
7785,
11,
745,
30927,
11,
8268,
11,
13385,
11,
264,
5,
79,
11,
693,
694,
293,
201,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
1782,
201,
198,
220,
220,
220,
1303,
5525,
236,
115,
20998,
244,
20998,
224,
46763,
108,
201,
198,
220,
220,
220,
42287,
796,
477,
62,
10951,
14692,
17143,
7307,
8973,
201,
198,
220,
220,
220,
5128,
15235,
82,
796,
477,
62,
10951,
14692,
15414,
8973,
201,
198,
220,
220,
220,
5128,
31431,
796,
477,
62,
10951,
14692,
15414,
26227,
8973,
201,
198,
220,
220,
220,
5128,
14749,
796,
477,
62,
10951,
14692,
15414,
14749,
8973,
201,
198,
220,
220,
220,
5072,
15235,
82,
796,
477,
62,
10951,
14692,
22915,
8973,
201,
198,
220,
220,
220,
5072,
31431,
796,
477,
62,
10951,
14692,
22915,
26227,
8973,
201,
198,
220,
220,
220,
5072,
14749,
796,
477,
62,
10951,
14692,
22915,
14749,
8973,
201,
198,
220,
220,
220,
11862,
796,
347,
963,
62,
5159,
27914,
3118,
20063,
3419,
201,
198,
220,
220,
220,
1303,
10263,
227,
42062,
107,
119,
20998,
244,
41468,
10310,
103,
163,
106,
245,
36310,
21410,
164,
122,
241,
49035,
118,
171,
120,
234,
32573,
242,
32368,
252,
161,
222,
120,
42468,
7414,
482,
6601,
19778,
16764,
201,
198,
220,
220,
220,
1366,
7248,
796,
11862,
13,
961,
7,
15414,
15235,
82,
11,
15414,
31431,
11,
15414,
14749,
11,
22915,
15235,
82,
11,
22915,
31431,
8,
201,
198,
220,
220,
220,
1303,
5525,
123,
238,
26193,
234,
163,
106,
245,
36310,
21410,
13783,
226,
49426,
228,
34460,
119,
164,
122,
239,
201,
198,
220,
220,
220,
1255,
796,
11862,
13,
5143,
7,
7890,
7248,
11,
42287,
8,
201,
198,
220,
220,
220,
1303,
10263,
108,
228,
163,
119,
241,
162,
252,
250,
37863,
247,
17739,
98,
26344,
108,
163,
96,
223,
33566,
246,
171,
120,
234,
27670,
248,
18796,
109,
10310,
233,
31660,
10310,
103,
163,
106,
245,
36310,
13,
961,
3419,
46237,
119,
20998,
244,
201,
198,
220,
220,
220,
11862,
13,
13564,
7,
22915,
15235,
82,
11,
20274,
11,
22915,
31431,
11,
22915,
14749,
8
] | 2.05802 | 586 |
from configs.pathConfig import DATABASE_PATH
from peewee import (
SqliteDatabase,
Model,
IntegerField
)
'''
UserLevel表,用于管理用户权限等级
'''
DB = SqliteDatabase(DATABASE_PATH)
| [
6738,
4566,
82,
13,
6978,
16934,
1330,
360,
1404,
6242,
11159,
62,
34219,
198,
6738,
613,
413,
1453,
1330,
357,
198,
220,
220,
220,
311,
13976,
578,
38105,
11,
198,
220,
220,
220,
9104,
11,
198,
220,
220,
220,
34142,
15878,
198,
8,
198,
198,
7061,
6,
198,
12982,
4971,
26193,
101,
171,
120,
234,
18796,
101,
12859,
236,
163,
106,
94,
49426,
228,
18796,
101,
22755,
115,
30266,
225,
165,
247,
238,
163,
255,
231,
163,
118,
100,
198,
7061,
6,
198,
198,
11012,
796,
311,
13976,
578,
38105,
7,
35,
1404,
6242,
11159,
62,
34219,
8,
628
] | 1.858586 | 99 |
from flask import (
render_template,
Response,
redirect,
jsonify,
request,
url_for,
Flask,
g
)
from flask_jwt_extended import (
unset_access_cookies,
create_access_token,
set_access_cookies,
unset_jwt_cookies,
get_jwt_identity,
jwt_required,
jwt_manager,
JWTManager,
get_jwt
)
from datetime import datetime, timedelta
from flask_sqlalchemy import SQLAlchemy
from passlib.hash import pbkdf2_sha256
from influxdb import InfluxDBClient
from flask_mqtt import Mqtt
from bot import Bot
import traceback
import logging
import json
import os
# ------- Logging -------------
logging.basicConfig(
filename='/log/logfile.log',
level=logging.INFO,
format='%(asctime)s : %(levelname)s : %(message)s'
)
# ------- Variables ------------
# Bot usage
RUN_BOT = True
# Name of the measurement from the sensor
MEASUREMENT = 'airquality'
# Broker params
BROKER = 'broker'
STATE_NAME = 'state'
TOPIC = 'airsensor/#'
SENSOR_ONLINE_MSG = "online"
SENSOR_OFFLINE_MSG = "offline"
# InfluxDB params
INFLUX_DB_DATABASE = 'airquality'
INFLUX_DB_HOST = 'database'
INFLUX_DB_PORT = 8086
INFLUX_DB_USER = os.environ['INFLUXDB_API_USER']
INFLUX_DB_PASSWORD = os.environ['INFLUXDB_API_PASSWORD']
TELEGRAM_BOT_TOKEN = os.environ['TELEGRAM_BOT_TOKEN']
# -------- Queries -------------
LINE = 'select mean("pm25") from "airquality" where time > now() - 24h group by time(2m), "name" fill(none)'
BAR = 'select mean("pm25") from "airquality" where time > now() - 24h group by "name"'
# -------- App Config ----------
app = Flask(__name__)
app.config["JWT_ACCESS_TOKEN_EXPIRES"] = timedelta(minutes=45)
app.config["JWT_SECRET_KEY"] = os.environ['JWT_SECRET_KEY']
app.config["JWT_TOKEN_LOCATION"] = ["headers", "cookies"]
app.config['JWT_COOKIE_CSRF_PROTECT'] = True
app.config['JWT_REFRESH_COOKIE_PATH'] = '/'
app.config['JWT_ACCESS_COOKIE_PATH'] = '/'
app.config["JWT_COOKIE_SECURE"] = True
app.config['SQLALCHEMY_DATABASE_URI'] = "sqlite:///db/appdb.db"
app.config['SECRET_KEY'] = os.environ['API_SECRET_KEY']
app.config['MQTT_BROKER_URL'] = 'broker'
app.config['MQTT_BROKER_PORT'] = 1883
app.config['MQTT_USERNAME'] = os.environ['MOSQUITTO_USERNAME']
app.config['MQTT_PASSWORD'] = os.environ['MOSQUITTO_PASSWORD']
app.config['MQTT_KEEPALIVE'] = 5
app.config['MQTT_TLS_ENABLED'] = False
# ----------- TOOLS -----------
jwt = JWTManager(app)
mqtt = Mqtt(app)
sensor_list = dict()
influxbot = None
mqttinflux = None
b = Bot(TELEGRAM_BOT_TOKEN)
db = SQLAlchemy(app)
blacklist = set()
# -------- DB Models -----------
# -------- Bot Callbacks --------
def bind_callback(chat_id, username, params):
"""
Binds a user by associating its username to its
chat_id. This is needed in order to send notifications
to the user
"""
user = TelegramUser.query.filter_by(username=username).first()
if not user:
return
if not user.chat_id:
user.chat_id = chat_id
db.session.commit()
b.push_notification("Great, you're ready to go!", [chat_id])
return
if user.chat_id == chat_id:
b.push_notification("You're already binded!", [chat_id])
return
b.push_notification("There's no binding available, sorry", [chat_id])
def status_callback(chat_id, _, params):
"""
Responds to the /status command if the user is binded.
Returns the status about all the sensor or about a single
sensor if specified
"""
user = TelegramUser.query.filter_by(chat_id=chat_id).first()
if not user:
return
tmp_list = sensor_list.copy()
# If there's no known sensor
if len(tmp_list) == 0:
b.push_notification(
"You have no sensors registered to the network",
[chat_id]
)
return
# If it's just /status sends actual status for each known sensor
if len(params) == 1:
global_msg = ""
for sensor in tmp_list.values():
global_msg += (
f"Your sensor {sensor['name']} "
f"is {sensor['status']}\n\n"
)
b.push_notification(global_msg, [chat_id])
return
# Otherwise, sends actual status for the requested sensor
for sensor in tmp_list.values():
if sensor['name'] == params[1]:
b.push_notification(
f"The sensor {sensor['name']} "
f"is {sensor['status']}",
[chat_id]
)
return
# Otherwise the requested sensor doesn't exist
b.push_notification("Seems like there's no sensor with that name", [chat_id])
def info_callback(chat_id, _, params):
"""
Responds to the /info command if the user is binded.
Returns info about the requested sensor.
"""
users = TelegramUser.query.filter_by(chat_id=chat_id).all()
chat_ids = [usr.chat_id for usr in users]
if chat_id not in chat_ids:
return
# If no sensor name is specified, requests for one and returns
if len(params) == 1:
b.push_notification(
"Please specify the sensor name. "
"You can list them with /status",
[chat_id]
)
return
# Extracts sensor name
name = params[1]
res = get_bot_influx().query('select last("pm25"), "quality" from "airquality" where time > now() - 1m and "name"=$name',
bind_params={'name': name})
data = list(res.get_points(measurement='airquality'))
if len(data) == 0:
b.push_notification("I have no recent updates from that sensor", [chat_id])
return
q = data[0]
quality = ""
if q['quality'] == '2':
quality = "🔴"
elif q['quality'] == '1':
quality = "🟠"
else:
quality = "🟢"
value = q['last']
b.push_notification(
f"Name: {name}\n\n"
f"Quality: {quality}\n\n"
f"Value: {value}",
[chat_id]
)
# -------- MQTT ----------
def declare_sensor_status(uid, name, status):
"""
Registers a sensor status (online or offline).
If the sensor is not known, creates an entry
in the sensor collection
"""
if uid not in sensor_list.keys():
sensor_list[uid] = {
'status': status,
'name': name,
'pm25': -1,
'quality': -1
}
else:
sensor_list[uid]['status'] = status
def update_values(uid, pm25, quality, name, ip):
"""
Updates last known sensor update
[uid] : sensor id (ie VINDRIKTNING-54F9AE)
[pm25] : air quaity measured
[quality] : quality class (0,1,2)
[name] : sensor name
[ip] : the ip of the sensor in the local network
"""
global sensor_list
# If for some reasons the sensor is not known, it's registered as an online sensor
if uid not in sensor_list.keys():
# entry with invalid params
declare_sensor_status(uid, name, 'online')
logging.info(f"New entry for {uid} added in sensor list")
# params are updated
actual_quality = sensor_list[uid]['quality']
sensor_list[uid]['pm25'] = pm25
sensor_list[uid]['quality'] = quality
sensor_list[uid]['name'] = name
# If quality differs from the previous one a notification is pushed
if actual_quality != quality:
# logging.debug("Pushing notification")
if quality == 0:
msg = f"🟢 The air quality in {name} is getting good"
elif quality == 1:
msg = f"🟠 The air quality in {name} is getting unpleasant"
else:
msg = f"🔴 The air quality in {name} is getting unacceptable"
# logging.info(f"Sensor {name} ({ip}) is triggering a notification")
users = TelegramUser.query.all()
b.push_notification(msg, [user.chat_id for user in users if user.chat_id is not None])
logging.info(f"Sensor {name} pushed a notification")
@mqtt.on_message()
def on_message(client, userdata, message):
"""
MQTT Callback which defines the main routine
when a message on the subscribed topic is
received. In this case, topic is airsensor/#
so every subtopic's message will be received too
"""
try:
# Splits the topic
topic = message.topic.split("/")
# Decodes the message
msg = message.payload.decode()
# Extracts sensor UID and subtopic name
sensor_name = topic[1]
sensor_subtopic = topic[-1]
except Exception as e:
logging.warning(
f"Received invalid message on {'/'.join(topic)}"
)
traceback.print_exc()
return
# If the topic is about availability and
# message is offline, it means that the
# sensor has gone offline
if sensor_subtopic == SENSOR_ONLINE_MSG:
logging.warning(
f"{msg} connected to the network."
)
declare_sensor_status(sensor_name, msg, SENSOR_ONLINE_MSG)
return
# If the topic is about availability and message is online, it means
# that the sensor is online
if sensor_subtopic == SENSOR_OFFLINE_MSG:
logging.info(
f"{msg} disconnected from the network"
)
declare_sensor_status(sensor_name, msg, SENSOR_OFFLINE_MSG)
return
# If the topic is about state the message
# should be a json with updates about the sensor state
if sensor_subtopic == STATE_NAME:
try:
# JSON is loaded from string msg
msg = json.loads(msg)
points = [{
'measurement': MEASUREMENT,
'time': datetime.now(),
'fields': {
"pm25": msg['pm25']
},
'tags': {
'quality': msg['quality'],
'name': msg['name'],
'ip': msg['ip']
}
}]
get_mqtt_influx().write_points(points)
# Updating last known sensor values (triggers notifications)
update_values(
sensor_name,
msg['pm25'],
msg['quality'],
msg['name'],
msg['ip']
)
except Exception as e:
traceback.print_exc()
logging.error(
f"Couldn't perform update query for "
f"{sensor_name} with msg: {msg}. Stacktrace: \n\n"
f"{traceback.format_exc()}"
)
# This is how connection is supposed to happen, but due to undefined
# behaviours of FlaskMQTT sometimes the event is not catched and the
# api doesn't subscribe to the topic
# @mqtt.on_connect()
# def handle_connect(client, userdata, flags, rc):
# mqtt.subscribe(TOPIC)
# logging.info("Subscribed to general topic")
# Starting bot and subscribing to mqtt topic
if RUN_BOT:
b.on('/status', status_callback)
b.on('/info', info_callback)
b.on('/bind', bind_callback)
b.on('/start', start_callback)
b.run()
logging.info("Bot is online")
logging.info("Subscribed to general topic")
mqtt.subscribe(TOPIC)
# -------- Utilities -----------
def get_influx():
"""
Returns influxDB connection instance for the app
execution context.
"""
influx = getattr(g, '_influx', None)
if not influx:
try:
influx = InfluxDBClient(
INFLUX_DB_HOST,
INFLUX_DB_PORT,
INFLUX_DB_USER,
INFLUX_DB_PASSWORD,
INFLUX_DB_DATABASE
)
influx.switch_database(INFLUX_DB_DATABASE)
except Exception as e:
pass
return influx
def get_bot_influx():
"""
Returns influxDB connection instance for TelegramBot
exceution context in order to query last sensor value
"""
global influxbot
if not influxbot:
try:
influxbot = InfluxDBClient(
INFLUX_DB_HOST,
INFLUX_DB_PORT,
INFLUX_DB_USER,
INFLUX_DB_PASSWORD,
INFLUX_DB_DATABASE
)
influxbot.switch_database(INFLUX_DB_DATABASE)
except Exception as e:
pass
return influxbot
def get_mqtt_influx():
"""
Returns influxDB connection instance for TelegramBot
exceution context in order to query last sensor value
"""
global mqttinflux
if not mqttinflux:
try:
mqttinflux = InfluxDBClient(
INFLUX_DB_HOST,
INFLUX_DB_PORT,
INFLUX_DB_USER,
INFLUX_DB_PASSWORD,
INFLUX_DB_DATABASE
)
mqttinflux.switch_database(INFLUX_DB_DATABASE)
except Exception as e:
pass
return mqttinflux
def defaultconverter(o):
"""
Defines a datetime converter for json serialization
"""
if isinstance(o, datetime):
return o.__str__()
# -------- Endpoints -----------
@jwt.token_in_blocklist_loader
@app.after_request
@app.errorhandler(403)
@app.errorhandler(404)
@app.errorhandler(405)
@jwt.expired_token_loader
@app.route('/')
@jwt_required(optional=True)
def entry_point():
"""
Entry point route. Redirects to login if not logged
otherwise displays charts
"""
current_identity = get_jwt_identity()
if current_identity:
user = User.query.filter_by(id=current_identity).first()
if not user:
return redirect('/logout')
return render_template('charts.html', logged=True, admin=user.is_admin)
else:
return render_template('login.html', logged=False, admin=False)
@app.route('/api/data/line')
@jwt_required()
def dataline():
"""
Returns data in order to produce line chart if
the requestor is authorized
"""
res = get_influx().query(LINE)
if not res:
return {'status': 'data_unreachable'}, 500
data = []
for key, value in res.items():
data.append({
'name': key[1]['name'],
'points': [{'x': p['time'], 'y': p['mean']} for p in value]
})
return Response(
json.dumps(data),
mimetype='application/json'
)
@app.route('/api/data/bar')
@jwt_required()
def databar():
"""
Returns data in order to produce bar plot if
the requestor is authorized
"""
res = get_influx().query(BAR)
if not res:
return {'status': 'data_unreachable'}, 500
chart_x = [v[1]['name'] for v in res.keys()]
chart_y = [v[0]['mean'] for v in res]
chart_data = [{'name': name, 'median': median} for name, median in zip(chart_x, chart_y)]
return Response(
json.dumps(chart_data),
mimetype='application/json'
)
@app.route("/api/telegram", methods=['GET', 'POST', 'DELETE'])
@jwt_required()
@app.route("/api/users", methods=['GET', 'POST', 'DELETE', 'PUT'])
@jwt_required()
def users_api():
"""
Allows to create, delete, update users informations
"""
current_identity = get_jwt_identity()
if not current_identity:
return redirect('/login', logged=False, admin=False)
requestor = User.query.filter_by(id=current_identity).first()
if not requestor:
return redirect('/'),
if not requestor.is_admin:
return redirect('/'),
if request.method == 'GET':
users = User.query.all()
response = [{'username': user.name, 'is_admin': user.is_admin} for user in users if user.name != requestor.name]
return jsonify(response), 200
if request.method == 'POST':
try:
jreq = request.get_json()
username = jreq['username']
new_password = jreq['newPassword']
password = jreq['reqPassword']
is_admin = jreq['newAdmin']
except Exception as e:
return jsonify({'msg': 'Bad request'}), 400
if not pbkdf2_sha256.verify(password, requestor.password):
return jsonify({'msg': 'Wrong password'}), 401
match = User.query.filter_by(name=username).first()
if not match:
new_user = User(name=username, password=pbkdf2_sha256.hash(new_password), is_admin=is_admin)
db.session.add(new_user)
db.session.commit()
return jsonify({'msg': 'Added user'}), 200
return jsonify({'msg': 'User already exists'}), 409
if request.method == 'PUT':
try:
jreq = request.get_json()
username = jreq['username']
password = jreq['reqPassword']
new_password = jreq.get('newPassword', None)
new_is_admin = jreq['newAdmin']
except Exception as e:
return jsonify({'msg': 'Bad request'}), 400
if not pbkdf2_sha256.verify(password, requestor.password):
return jsonify({'msg': 'Wrong password'}), 401
match = User.query.filter_by(name=username).first()
if not match:
return jsonify({'msg': 'User not exists'}), 409
if new_password is not None:
match.password = pbkdf2_sha256.hash(new_password)
match.is_admin = new_is_admin
db.session.commit()
return jsonify({'msg': 'User updated'}), 200
if request.method == 'DELETE':
try:
jreq = request.get_json()
username = jreq['username']
except Exception as e:
return jsonify({'msg': 'Bad request'}), 400
if username == requestor.name:
return jsonify({'msg': 'Trying to delete current user'}), 409
match = User.query.filter_by(name=username).first()
if not match:
return jsonify({'msg': 'User not found'}), 409
if match.id == current_identity:
unset_jwt_cookies()
return jsonify({'msg': 'Cannot delete current user'}), 100
db.session.delete(match)
db.session.commit()
return jsonify({'msg': 'Deleted user'}), 200
@app.route("/telegram", methods=['GET'])
@jwt_required(optional=True)
def telegram():
"""
Sends telegram user page table if authenticated.
Otherwise redirects to the login page
"""
current_identity = get_jwt_identity()
if current_identity:
user = User.query.filter_by(id=current_identity).first()
if user.is_admin:
return render_template('telegram.html', logged=True, admin=True)
return redirect('/')
@app.route("/users", methods=['GET'])
@jwt_required(optional=True)
def users():
"""
Sends telegram user page table if authenticated.
Otherwise redirects to the login page
"""
current_identity = get_jwt_identity()
if current_identity:
user = User.query.filter_by(id=current_identity).first()
if user.is_admin:
return render_template('users.html', logged=True, admin=True)
return redirect('/')
@app.route("/me", methods=['GET'])
@jwt_required()
def me():
"""
Sends user's profile page
"""
current_identity = get_jwt_identity()
if current_identity:
me = User.query.filter_by(id=current_identity).first()
return render_template('profile.html', logged=True, admin=me.is_admin, username=me.name)
return render_template('login.html', logged=False, admin=False)
@app.route("/api/me", methods=['PUT'])
@jwt_required()
def api_me():
"""
Updates user's informations
"""
current_identity = get_jwt_identity()
if not current_identity:
return jsonify({'msg': 'Not authorized'}), 403
user = User.query.filter_by(id=current_identity).first()
if not user:
return jsonify({'msg': 'User not found'}), 404
try:
jreq = request.get_json()
username = jreq['username']
req_password = jreq['reqPassword']
new_password = jreq['newPassword']
except Exception as e:
return jsonify({'msg': 'Bad request'}), 400
if pbkdf2_sha256.verify(req_password, user.password):
if new_password != "" and new_password != None:
user.password = pbkdf2_sha256.hash(new_password)
if username != "" and username != None and username != user.name:
user.name = username
db.session.commit()
return jsonify({'msg': 'Updated'}), 200
return jsonify({'msg': 'Wrong password'}), 400
@app.route("/api/auth", methods=['POST'])
def auth_api():
"""
Handles jwt authorization
"""
try:
jreq = request.get_json()
username = jreq['username']
password = jreq['password']
except Exception as e:
return jsonify({'msg': 'Bad request'}), 400
try:
logging.debug("Checking user for auth request")
user = User.query.filter_by(name=username).first()
except Exception as e:
logging.debug("error 500")
logging.debug(f"{traceback.format_exc()}")
if not user:
return jsonify({'msg': 'Unknown user'}), 409
if not pbkdf2_sha256.verify(password, user.password):
return jsonify({'msg': 'Wrong password'}), 401
response = jsonify({"msg": "login successful"})
access_token = create_access_token(identity=user.id)
set_access_cookies(response, access_token)
return response
@app.route("/login", methods=['GET'])
@jwt_required(optional=True)
def login():
"""
Sends login page template
"""
current_identity = get_jwt_identity()
if current_identity:
return redirect('/')
return render_template('login.html', admin=False)
@app.route('/logout', methods=['GET'])
@jwt_required()
def logout():
"""
Handles user logout by deleting
the httponly cookie containing the token
"""
response = redirect('/')
jti = get_jwt()['jti']
blacklist.add(jti)
unset_jwt_cookies(response)
return response
# Run the app
if __name__ == "__main__":
# Binds bot to callback
app.run()
| [
6738,
42903,
1330,
357,
198,
220,
220,
220,
8543,
62,
28243,
11,
198,
220,
220,
220,
18261,
11,
198,
220,
220,
220,
18941,
11,
198,
220,
220,
220,
33918,
1958,
11,
220,
198,
220,
220,
220,
2581,
11,
198,
220,
220,
220,
19016,
62,
1640,
11,
198,
220,
220,
220,
46947,
11,
198,
220,
220,
220,
308,
198,
8,
198,
198,
6738,
42903,
62,
73,
46569,
62,
2302,
1631,
1330,
357,
198,
220,
220,
220,
555,
2617,
62,
15526,
62,
27916,
444,
11,
198,
220,
220,
220,
2251,
62,
15526,
62,
30001,
11,
198,
220,
220,
220,
900,
62,
15526,
62,
27916,
444,
11,
198,
220,
220,
220,
555,
2617,
62,
73,
46569,
62,
27916,
444,
11,
198,
220,
220,
220,
651,
62,
73,
46569,
62,
738,
414,
11,
198,
220,
220,
220,
474,
46569,
62,
35827,
11,
198,
220,
220,
220,
474,
46569,
62,
37153,
11,
198,
220,
220,
220,
449,
39386,
13511,
11,
198,
220,
220,
220,
651,
62,
73,
46569,
198,
8,
198,
198,
6738,
4818,
8079,
1330,
4818,
8079,
11,
28805,
12514,
198,
6738,
42903,
62,
25410,
282,
26599,
1330,
16363,
2348,
26599,
198,
6738,
1208,
8019,
13,
17831,
1330,
279,
65,
74,
7568,
17,
62,
26270,
11645,
198,
6738,
25065,
9945,
1330,
4806,
22564,
11012,
11792,
198,
6738,
42903,
62,
76,
80,
926,
1330,
337,
80,
926,
198,
6738,
10214,
1330,
18579,
198,
11748,
12854,
1891,
198,
11748,
18931,
198,
11748,
33918,
198,
11748,
28686,
628,
198,
2,
35656,
5972,
2667,
220,
32501,
628,
198,
6404,
2667,
13,
35487,
16934,
7,
198,
220,
220,
220,
29472,
11639,
14,
6404,
14,
6404,
7753,
13,
6404,
3256,
220,
198,
220,
220,
220,
1241,
28,
6404,
2667,
13,
10778,
11,
198,
220,
220,
220,
5794,
11639,
4,
7,
292,
310,
524,
8,
82,
1058,
4064,
7,
5715,
3672,
8,
82,
1058,
4064,
7,
20500,
8,
82,
6,
198,
8,
198,
198,
2,
35656,
15965,
2977,
220,
10541,
198,
198,
2,
18579,
8748,
198,
49,
4944,
62,
33,
2394,
796,
6407,
220,
198,
198,
2,
6530,
286,
262,
15558,
422,
262,
12694,
220,
198,
11682,
1921,
11335,
10979,
796,
705,
958,
13237,
6,
198,
198,
2,
2806,
6122,
42287,
198,
11473,
11380,
1137,
796,
705,
7957,
6122,
6,
198,
44724,
62,
20608,
796,
705,
5219,
6,
198,
35222,
2149,
796,
705,
3468,
22854,
31113,
6,
220,
198,
50,
16938,
1581,
62,
1340,
24027,
62,
5653,
38,
796,
366,
25119,
1,
198,
50,
16938,
1581,
62,
19238,
3697,
8881,
62,
5653,
38,
796,
366,
2364,
1370,
1,
198,
198,
2,
4806,
22564,
11012,
42287,
198,
1268,
3697,
31235,
62,
11012,
62,
35,
1404,
6242,
11159,
796,
705,
958,
13237,
6,
198,
1268,
3697,
31235,
62,
11012,
62,
39,
10892,
796,
705,
48806,
6,
198,
1268,
3697,
31235,
62,
11012,
62,
15490,
796,
41241,
21,
198,
1268,
3697,
31235,
62,
11012,
62,
29904,
796,
28686,
13,
268,
2268,
17816,
1268,
3697,
31235,
11012,
62,
17614,
62,
29904,
20520,
198,
1268,
3697,
31235,
62,
11012,
62,
47924,
54,
12532,
796,
28686,
13,
268,
2268,
17816,
1268,
3697,
31235,
11012,
62,
17614,
62,
47924,
54,
12532,
20520,
198,
9328,
2538,
10761,
2390,
62,
33,
2394,
62,
10468,
43959,
796,
28686,
13,
268,
2268,
17816,
9328,
2538,
10761,
2390,
62,
33,
2394,
62,
10468,
43959,
20520,
628,
198,
2,
24200,
2264,
10640,
220,
32501,
198,
198,
24027,
796,
705,
19738,
1612,
7203,
4426,
1495,
4943,
422,
366,
958,
13237,
1,
810,
640,
1875,
783,
3419,
532,
1987,
71,
1448,
416,
640,
7,
17,
76,
828,
366,
3672,
1,
6070,
7,
23108,
33047,
198,
33,
1503,
796,
705,
19738,
1612,
7203,
4426,
1495,
4943,
422,
366,
958,
13237,
1,
810,
640,
1875,
783,
3419,
532,
1987,
71,
1448,
416,
366,
3672,
30543,
198,
198,
2,
24200,
2034,
17056,
24200,
438,
198,
198,
1324,
796,
46947,
7,
834,
3672,
834,
8,
198,
1324,
13,
11250,
14692,
41,
39386,
62,
26861,
7597,
62,
10468,
43959,
62,
49864,
4663,
1546,
8973,
796,
28805,
12514,
7,
1084,
1769,
28,
2231,
8,
198,
1324,
13,
11250,
14692,
41,
39386,
62,
23683,
26087,
62,
20373,
8973,
796,
28686,
13,
268,
2268,
17816,
41,
39386,
62,
23683,
26087,
62,
20373,
20520,
198,
1324,
13,
11250,
14692,
41,
39386,
62,
10468,
43959,
62,
29701,
6234,
8973,
796,
14631,
50145,
1600,
366,
27916,
444,
8973,
198,
1324,
13,
11250,
17816,
41,
39386,
62,
34,
15308,
10008,
62,
7902,
32754,
62,
4805,
2394,
9782,
20520,
796,
6407,
220,
198,
1324,
13,
11250,
17816,
41,
39386,
62,
2200,
10913,
44011,
62,
34,
15308,
10008,
62,
34219,
20520,
796,
31051,
6,
198,
1324,
13,
11250,
17816,
41,
39386,
62,
26861,
7597,
62,
34,
15308,
10008,
62,
34219,
20520,
796,
31051,
6,
198,
1324,
13,
11250,
14692,
41,
39386,
62,
34,
15308,
10008,
62,
23683,
11335,
8973,
796,
6407,
220,
198,
198,
1324,
13,
11250,
17816,
17861,
1847,
3398,
3620,
56,
62,
35,
1404,
6242,
11159,
62,
47269,
20520,
796,
366,
25410,
578,
1378,
14,
9945,
14,
1324,
9945,
13,
9945,
1,
198,
198,
1324,
13,
11250,
17816,
23683,
26087,
62,
20373,
20520,
796,
28686,
13,
268,
2268,
17816,
17614,
62,
23683,
26087,
62,
20373,
20520,
198,
198,
1324,
13,
11250,
17816,
49215,
15751,
62,
11473,
11380,
1137,
62,
21886,
20520,
796,
705,
7957,
6122,
6,
220,
198,
1324,
13,
11250,
17816,
49215,
15751,
62,
11473,
11380,
1137,
62,
15490,
20520,
796,
1248,
5999,
220,
220,
198,
1324,
13,
11250,
17816,
49215,
15751,
62,
29904,
20608,
20520,
796,
28686,
13,
268,
2268,
17816,
44,
2640,
10917,
2043,
10468,
62,
29904,
20608,
20520,
198,
1324,
13,
11250,
17816,
49215,
15751,
62,
47924,
54,
12532,
20520,
796,
28686,
13,
268,
2268,
17816,
44,
2640,
10917,
2043,
10468,
62,
47924,
54,
12532,
20520,
198,
1324,
13,
11250,
17816,
49215,
15751,
62,
42,
35238,
1847,
9306,
20520,
796,
642,
198,
1324,
13,
11250,
17816,
49215,
15751,
62,
51,
6561,
62,
1677,
6242,
30465,
20520,
796,
10352,
628,
198,
2,
24200,
6329,
5390,
3535,
50,
24200,
6329,
198,
198,
73,
46569,
796,
449,
39386,
13511,
7,
1324,
8,
198,
76,
80,
926,
796,
337,
80,
926,
7,
1324,
8,
198,
82,
22854,
62,
4868,
796,
8633,
3419,
198,
10745,
22564,
13645,
796,
6045,
198,
76,
80,
926,
10745,
22564,
796,
6045,
198,
65,
796,
18579,
7,
9328,
2538,
10761,
2390,
62,
33,
2394,
62,
10468,
43959,
8,
198,
9945,
796,
16363,
2348,
26599,
7,
1324,
8,
198,
13424,
4868,
796,
900,
3419,
198,
198,
2,
24200,
20137,
32329,
24200,
6329,
628,
198,
198,
2,
24200,
18579,
4889,
10146,
24200,
198,
198,
4299,
11007,
62,
47423,
7,
17006,
62,
312,
11,
20579,
11,
42287,
2599,
628,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
41211,
82,
257,
2836,
416,
2570,
803,
663,
20579,
284,
663,
198,
220,
220,
220,
220,
220,
220,
220,
8537,
62,
312,
13,
770,
318,
2622,
287,
1502,
284,
3758,
19605,
198,
220,
220,
220,
220,
220,
220,
220,
284,
262,
2836,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
2836,
796,
50203,
12982,
13,
22766,
13,
24455,
62,
1525,
7,
29460,
28,
29460,
737,
11085,
3419,
220,
628,
220,
220,
220,
611,
407,
2836,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
198,
220,
220,
220,
198,
220,
220,
220,
611,
407,
2836,
13,
17006,
62,
312,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2836,
13,
17006,
62,
312,
796,
8537,
62,
312,
198,
220,
220,
220,
220,
220,
220,
220,
20613,
13,
29891,
13,
41509,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
275,
13,
14689,
62,
1662,
2649,
7203,
13681,
11,
345,
821,
3492,
284,
467,
40754,
685,
17006,
62,
312,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
628,
220,
220,
220,
611,
2836,
13,
17006,
62,
312,
6624,
8537,
62,
312,
25,
198,
220,
220,
220,
220,
220,
220,
220,
275,
13,
14689,
62,
1662,
2649,
7203,
1639,
821,
1541,
11007,
276,
40754,
685,
17006,
62,
312,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
628,
220,
220,
220,
275,
13,
14689,
62,
1662,
2649,
7203,
1858,
338,
645,
12765,
1695,
11,
7926,
1600,
685,
17006,
62,
312,
12962,
628,
198,
4299,
3722,
62,
47423,
7,
17006,
62,
312,
11,
4808,
11,
42287,
2599,
628,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
10328,
24764,
284,
262,
1220,
13376,
3141,
611,
262,
2836,
318,
11007,
276,
13,
198,
220,
220,
220,
220,
220,
220,
220,
16409,
262,
3722,
546,
477,
262,
12694,
393,
546,
257,
2060,
198,
220,
220,
220,
220,
220,
220,
220,
12694,
611,
7368,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
2836,
796,
50203,
12982,
13,
22766,
13,
24455,
62,
1525,
7,
17006,
62,
312,
28,
17006,
62,
312,
737,
11085,
3419,
220,
198,
220,
220,
220,
220,
198,
220,
220,
220,
611,
407,
2836,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
628,
220,
220,
220,
45218,
62,
4868,
796,
12694,
62,
4868,
13,
30073,
3419,
628,
220,
220,
220,
1303,
1002,
612,
338,
645,
1900,
12694,
198,
220,
220,
220,
611,
18896,
7,
22065,
62,
4868,
8,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
275,
13,
14689,
62,
1662,
2649,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
1639,
423,
645,
15736,
6823,
284,
262,
3127,
1600,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
685,
17006,
62,
312,
60,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
628,
220,
220,
220,
1303,
1002,
340,
338,
655,
1220,
13376,
12800,
4036,
3722,
329,
1123,
1900,
12694,
198,
220,
220,
220,
611,
18896,
7,
37266,
8,
6624,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3298,
62,
19662,
796,
13538,
198,
220,
220,
220,
220,
220,
220,
220,
329,
12694,
287,
45218,
62,
4868,
13,
27160,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3298,
62,
19662,
15853,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
1,
7120,
12694,
1391,
82,
22854,
17816,
3672,
20520,
92,
366,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
1,
271,
1391,
82,
22854,
17816,
13376,
20520,
32239,
77,
59,
77,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
275,
13,
14689,
62,
1662,
2649,
7,
20541,
62,
19662,
11,
685,
17006,
62,
312,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
628,
220,
220,
220,
1303,
15323,
11,
12800,
4036,
3722,
329,
262,
9167,
12694,
198,
220,
220,
220,
329,
12694,
287,
45218,
62,
4868,
13,
27160,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
611,
12694,
17816,
3672,
20520,
6624,
42287,
58,
16,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
13,
14689,
62,
1662,
2649,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
1,
464,
12694,
1391,
82,
22854,
17816,
3672,
20520,
92,
366,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
1,
271,
1391,
82,
22854,
17816,
13376,
20520,
92,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
685,
17006,
62,
312,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
628,
220,
220,
220,
1303,
15323,
262,
9167,
12694,
1595,
470,
2152,
198,
220,
220,
220,
275,
13,
14689,
62,
1662,
2649,
7203,
4653,
5232,
588,
612,
338,
645,
12694,
351,
326,
1438,
1600,
685,
17006,
62,
312,
12962,
198,
220,
220,
220,
198,
198,
4299,
7508,
62,
47423,
7,
17006,
62,
312,
11,
4808,
11,
42287,
2599,
628,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
10328,
24764,
284,
262,
1220,
10951,
3141,
611,
262,
2836,
318,
11007,
276,
13,
198,
220,
220,
220,
220,
220,
220,
220,
16409,
7508,
546,
262,
9167,
12694,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
2985,
796,
50203,
12982,
13,
22766,
13,
24455,
62,
1525,
7,
17006,
62,
312,
28,
17006,
62,
312,
737,
439,
3419,
198,
220,
220,
220,
8537,
62,
2340,
796,
685,
14629,
13,
17006,
62,
312,
329,
514,
81,
287,
2985,
60,
628,
220,
220,
220,
611,
8537,
62,
312,
407,
287,
8537,
62,
2340,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
628,
220,
220,
220,
1303,
1002,
645,
12694,
1438,
318,
7368,
11,
7007,
329,
530,
290,
5860,
198,
220,
220,
220,
611,
18896,
7,
37266,
8,
6624,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
275,
13,
14689,
62,
1662,
2649,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
5492,
11986,
262,
12694,
1438,
13,
366,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
1639,
460,
1351,
606,
351,
1220,
13376,
1600,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
685,
17006,
62,
312,
60,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
628,
220,
220,
220,
1303,
29677,
82,
12694,
1438,
198,
220,
220,
220,
1438,
796,
42287,
58,
16,
60,
628,
220,
220,
220,
581,
796,
651,
62,
13645,
62,
10745,
22564,
22446,
22766,
10786,
19738,
938,
7203,
4426,
1495,
12340,
366,
13237,
1,
422,
366,
958,
13237,
1,
810,
640,
1875,
783,
3419,
532,
352,
76,
290,
366,
3672,
1,
43641,
3672,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11007,
62,
37266,
34758,
6,
3672,
10354,
1438,
30072,
628,
220,
220,
220,
1366,
796,
1351,
7,
411,
13,
1136,
62,
13033,
7,
1326,
5015,
434,
11639,
958,
13237,
6,
4008,
628,
220,
220,
220,
611,
18896,
7,
7890,
8,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
275,
13,
14689,
62,
1662,
2649,
7203,
40,
423,
645,
2274,
5992,
422,
326,
12694,
1600,
685,
17006,
62,
312,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
628,
220,
220,
220,
10662,
796,
1366,
58,
15,
60,
198,
220,
220,
220,
220,
198,
220,
220,
220,
3081,
796,
13538,
198,
220,
220,
220,
611,
10662,
17816,
13237,
20520,
6624,
705,
17,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
3081,
796,
366,
8582,
242,
112,
1,
198,
220,
220,
220,
1288,
361,
10662,
17816,
13237,
20520,
6624,
705,
16,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
3081,
796,
366,
8582,
253,
254,
1,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3081,
796,
366,
8582,
253,
95,
1,
628,
220,
220,
220,
1988,
796,
10662,
17816,
12957,
20520,
220,
628,
220,
220,
220,
275,
13,
14689,
62,
1662,
2649,
7,
198,
220,
220,
220,
220,
220,
220,
220,
277,
1,
5376,
25,
1391,
3672,
32239,
77,
59,
77,
1,
198,
220,
220,
220,
220,
220,
220,
220,
277,
1,
35013,
25,
1391,
13237,
32239,
77,
59,
77,
1,
198,
220,
220,
220,
220,
220,
220,
220,
277,
1,
11395,
25,
1391,
8367,
92,
1600,
220,
198,
220,
220,
220,
220,
220,
220,
220,
685,
17006,
62,
312,
60,
198,
220,
220,
220,
1267,
628,
198,
198,
2,
24200,
220,
220,
337,
48,
15751,
220,
220,
220,
24200,
438,
198,
198,
4299,
13627,
62,
82,
22854,
62,
13376,
7,
27112,
11,
1438,
11,
3722,
2599,
628,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
3310,
6223,
257,
12694,
3722,
357,
25119,
393,
18043,
737,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1002,
262,
12694,
318,
407,
1900,
11,
8075,
281,
5726,
220,
198,
220,
220,
220,
220,
220,
220,
220,
287,
262,
12694,
4947,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
198,
220,
220,
220,
611,
334,
312,
407,
287,
12694,
62,
4868,
13,
13083,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
12694,
62,
4868,
58,
27112,
60,
796,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
13376,
10354,
3722,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
3672,
10354,
1438,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
4426,
1495,
10354,
532,
16,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
13237,
10354,
532,
16,
198,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
12694,
62,
4868,
58,
27112,
7131,
6,
13376,
20520,
796,
3722,
628,
198,
4299,
4296,
62,
27160,
7,
27112,
11,
9114,
1495,
11,
3081,
11,
1438,
11,
20966,
2599,
628,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
28090,
938,
1900,
12694,
4296,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
685,
27112,
60,
220,
220,
220,
220,
1058,
220,
12694,
4686,
357,
494,
569,
12115,
7112,
42176,
15871,
12,
4051,
37,
24,
14242,
8,
198,
220,
220,
220,
220,
220,
220,
220,
685,
4426,
1495,
60,
220,
220,
220,
1058,
220,
1633,
627,
64,
414,
8630,
198,
220,
220,
220,
220,
220,
220,
220,
685,
13237,
60,
1058,
220,
3081,
1398,
357,
15,
11,
16,
11,
17,
8,
198,
220,
220,
220,
220,
220,
220,
220,
685,
3672,
60,
220,
220,
220,
1058,
220,
12694,
1438,
220,
198,
220,
220,
220,
220,
220,
220,
220,
685,
541,
60,
220,
220,
220,
220,
220,
1058,
220,
262,
20966,
286,
262,
12694,
287,
262,
1957,
3127,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
3298,
12694,
62,
4868,
628,
198,
220,
220,
220,
1303,
1002,
329,
617,
3840,
262,
12694,
318,
407,
1900,
11,
340,
338,
6823,
355,
281,
2691,
12694,
198,
220,
220,
220,
611,
334,
312,
407,
287,
12694,
62,
4868,
13,
13083,
33529,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
5726,
351,
12515,
42287,
220,
198,
220,
220,
220,
220,
220,
220,
220,
13627,
62,
82,
22854,
62,
13376,
7,
27112,
11,
1438,
11,
705,
25119,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
18931,
13,
10951,
7,
69,
1,
3791,
5726,
329,
1391,
27112,
92,
2087,
287,
12694,
1351,
4943,
628,
220,
220,
220,
1303,
42287,
389,
6153,
220,
198,
220,
220,
220,
4036,
62,
13237,
796,
12694,
62,
4868,
58,
27112,
7131,
6,
13237,
20520,
198,
220,
220,
220,
12694,
62,
4868,
58,
27112,
7131,
6,
4426,
1495,
20520,
796,
9114,
1495,
198,
220,
220,
220,
12694,
62,
4868,
58,
27112,
7131,
6,
13237,
20520,
796,
3081,
198,
220,
220,
220,
12694,
62,
4868,
58,
27112,
7131,
6,
3672,
20520,
796,
1438,
628,
198,
220,
220,
220,
1303,
1002,
3081,
24242,
422,
262,
2180,
530,
257,
14483,
318,
7121,
628,
220,
220,
220,
611,
4036,
62,
13237,
14512,
3081,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
18931,
13,
24442,
7203,
47,
8023,
14483,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
611,
3081,
6624,
657,
25,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31456,
796,
277,
1,
8582,
253,
95,
383,
1633,
3081,
287,
1391,
3672,
92,
318,
1972,
922,
1,
198,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
3081,
6624,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31456,
796,
277,
1,
8582,
253,
254,
383,
1633,
3081,
287,
1391,
3672,
92,
318,
1972,
22029,
1,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31456,
796,
277,
1,
8582,
242,
112,
383,
1633,
3081,
287,
1391,
3672,
92,
318,
1972,
18010,
1,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
1849,
6404,
2667,
13,
10951,
7,
69,
1,
47864,
1391,
3672,
92,
37913,
541,
30072,
318,
26555,
257,
14483,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
2985,
796,
50203,
12982,
13,
22766,
13,
439,
3419,
220,
198,
220,
220,
220,
220,
220,
220,
220,
275,
13,
14689,
62,
1662,
2649,
7,
19662,
11,
685,
7220,
13,
17006,
62,
312,
329,
2836,
287,
2985,
611,
2836,
13,
17006,
62,
312,
318,
407,
6045,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
18931,
13,
10951,
7,
69,
1,
47864,
1391,
3672,
92,
7121,
257,
14483,
4943,
628,
198,
31,
76,
80,
926,
13,
261,
62,
20500,
3419,
198,
4299,
319,
62,
20500,
7,
16366,
11,
2836,
7890,
11,
3275,
2599,
628,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
337,
48,
15751,
4889,
1891,
543,
15738,
262,
1388,
8027,
220,
198,
220,
220,
220,
220,
220,
220,
220,
618,
257,
3275,
319,
262,
45794,
7243,
318,
220,
198,
220,
220,
220,
220,
220,
220,
220,
2722,
13,
554,
428,
1339,
11,
7243,
318,
37112,
22854,
31113,
220,
198,
220,
220,
220,
220,
220,
220,
220,
523,
790,
850,
26652,
338,
3275,
481,
307,
2722,
1165,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
13341,
896,
262,
7243,
198,
220,
220,
220,
220,
220,
220,
220,
7243,
796,
3275,
13,
26652,
13,
35312,
7203,
14,
4943,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
4280,
4147,
262,
3275,
198,
220,
220,
220,
220,
220,
220,
220,
31456,
796,
3275,
13,
15577,
2220,
13,
12501,
1098,
3419,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
29677,
82,
12694,
25105,
290,
850,
26652,
1438,
198,
220,
220,
220,
220,
220,
220,
220,
12694,
62,
3672,
796,
7243,
58,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
12694,
62,
7266,
26652,
796,
7243,
58,
12,
16,
60,
198,
220,
220,
220,
2845,
35528,
355,
304,
25,
198,
220,
220,
220,
220,
220,
220,
220,
18931,
13,
43917,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
1,
3041,
6471,
12515,
3275,
319,
1391,
26488,
4458,
22179,
7,
26652,
8,
36786,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
12854,
1891,
13,
4798,
62,
41194,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
628,
198,
220,
220,
220,
1303,
1002,
262,
7243,
318,
546,
11500,
290,
220,
198,
220,
220,
220,
1303,
3275,
318,
18043,
11,
340,
1724,
326,
262,
220,
198,
220,
220,
220,
1303,
12694,
468,
3750,
18043,
628,
220,
220,
220,
611,
12694,
62,
7266,
26652,
6624,
311,
16938,
1581,
62,
1340,
24027,
62,
5653,
38,
25,
198,
220,
220,
220,
220,
220,
220,
220,
18931,
13,
43917,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
1,
90,
19662,
92,
5884,
284,
262,
3127,
526,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
13627,
62,
82,
22854,
62,
13376,
7,
82,
22854,
62,
3672,
11,
31456,
11,
311,
16938,
1581,
62,
1340,
24027,
62,
5653,
38,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
628,
220,
220,
220,
1303,
1002,
262,
7243,
318,
546,
11500,
290,
3275,
318,
2691,
11,
340,
1724,
198,
220,
220,
220,
1303,
326,
262,
12694,
318,
2691,
628,
220,
220,
220,
611,
12694,
62,
7266,
26652,
6624,
311,
16938,
1581,
62,
19238,
3697,
8881,
62,
5653,
38,
25,
198,
220,
220,
220,
220,
220,
220,
220,
18931,
13,
10951,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
1,
90,
19662,
92,
220,
28597,
422,
262,
3127,
1,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
220,
198,
220,
220,
220,
220,
220,
220,
220,
13627,
62,
82,
22854,
62,
13376,
7,
82,
22854,
62,
3672,
11,
31456,
11,
311,
16938,
1581,
62,
19238,
3697,
8881,
62,
5653,
38,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
628,
198,
220,
220,
220,
1303,
1002,
262,
7243,
318,
546,
1181,
262,
3275,
220,
198,
220,
220,
220,
1303,
815,
307,
257,
33918,
351,
5992,
546,
262,
12694,
1181,
628,
220,
220,
220,
611,
12694,
62,
7266,
26652,
6624,
35454,
62,
20608,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
19449,
318,
9639,
422,
4731,
31456,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31456,
796,
33918,
13,
46030,
7,
19662,
8,
220,
220,
220,
220,
220,
220,
220,
220,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2173,
796,
685,
90,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
1326,
5015,
434,
10354,
11948,
1921,
11335,
10979,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
2435,
10354,
4818,
8079,
13,
2197,
22784,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
25747,
10354,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
4426,
1495,
1298,
31456,
17816,
4426,
1495,
20520,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
31499,
10354,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
13237,
10354,
31456,
17816,
13237,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
3672,
10354,
31456,
17816,
3672,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
541,
10354,
31456,
17816,
541,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1782,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
651,
62,
76,
80,
926,
62,
10745,
22564,
22446,
13564,
62,
13033,
7,
13033,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3205,
38734,
938,
1900,
12694,
3815,
357,
2213,
328,
5355,
19605,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4296,
62,
27160,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12694,
62,
3672,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31456,
17816,
4426,
1495,
6,
4357,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31456,
17816,
13237,
6,
4357,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31456,
17816,
3672,
6,
4357,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31456,
17816,
541,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
35528,
355,
304,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12854,
1891,
13,
4798,
62,
41194,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
18931,
13,
18224,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
1,
23722,
77,
470,
1620,
4296,
12405,
329,
366,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
1,
90,
82,
22854,
62,
3672,
92,
351,
31456,
25,
1391,
19662,
27422,
23881,
40546,
25,
3467,
77,
59,
77,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
1,
90,
40546,
1891,
13,
18982,
62,
41194,
3419,
36786,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
198,
2,
770,
318,
703,
4637,
318,
4385,
284,
1645,
11,
475,
2233,
284,
28721,
198,
2,
38975,
286,
46947,
49215,
15751,
3360,
262,
1785,
318,
407,
3797,
1740,
290,
262,
220,
198,
2,
40391,
1595,
470,
12383,
284,
262,
7243,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
2,
2488,
76,
80,
926,
13,
261,
62,
8443,
3419,
198,
2,
825,
5412,
62,
8443,
7,
16366,
11,
2836,
7890,
11,
9701,
11,
48321,
2599,
198,
2,
220,
220,
220,
220,
285,
80,
926,
13,
7266,
12522,
7,
35222,
2149,
8,
198,
2,
220,
220,
220,
220,
18931,
13,
10951,
7203,
7004,
47495,
284,
2276,
7243,
4943,
628,
198,
2,
17962,
10214,
290,
18412,
284,
285,
80,
926,
7243,
198,
361,
32494,
62,
33,
2394,
25,
198,
220,
220,
220,
275,
13,
261,
10786,
14,
13376,
3256,
3722,
62,
47423,
8,
198,
220,
220,
220,
275,
13,
261,
10786,
14,
10951,
3256,
7508,
62,
47423,
8,
198,
220,
220,
220,
275,
13,
261,
10786,
14,
21653,
3256,
11007,
62,
47423,
8,
198,
220,
220,
220,
275,
13,
261,
10786,
14,
9688,
3256,
923,
62,
47423,
8,
198,
220,
220,
220,
275,
13,
5143,
3419,
198,
220,
220,
220,
18931,
13,
10951,
7203,
20630,
318,
2691,
4943,
198,
198,
6404,
2667,
13,
10951,
7203,
7004,
47495,
284,
2276,
7243,
4943,
198,
76,
80,
926,
13,
7266,
12522,
7,
35222,
2149,
8,
628,
198,
2,
24200,
41086,
24200,
6329,
198,
198,
4299,
651,
62,
10745,
22564,
33529,
628,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
16409,
25065,
11012,
4637,
4554,
329,
262,
598,
198,
220,
220,
220,
220,
220,
220,
220,
9706,
4732,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
25065,
796,
651,
35226,
7,
70,
11,
705,
62,
10745,
22564,
3256,
6045,
8,
198,
220,
220,
220,
611,
407,
25065,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
25065,
796,
4806,
22564,
11012,
11792,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3268,
3697,
31235,
62,
11012,
62,
39,
10892,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3268,
3697,
31235,
62,
11012,
62,
15490,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3268,
3697,
31235,
62,
11012,
62,
29904,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3268,
3697,
31235,
62,
11012,
62,
47924,
54,
12532,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3268,
3697,
31235,
62,
11012,
62,
35,
1404,
6242,
11159,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
25065,
13,
31943,
62,
48806,
7,
1268,
3697,
31235,
62,
11012,
62,
35,
1404,
6242,
11159,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
35528,
355,
304,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1208,
198,
220,
220,
220,
1441,
25065,
628,
198,
4299,
651,
62,
13645,
62,
10745,
22564,
33529,
628,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
16409,
25065,
11012,
4637,
4554,
329,
50203,
20630,
198,
220,
220,
220,
220,
220,
220,
220,
43748,
1009,
4732,
287,
1502,
284,
12405,
938,
12694,
1988,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
3298,
25065,
13645,
198,
220,
220,
220,
611,
407,
25065,
13645,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
25065,
13645,
796,
4806,
22564,
11012,
11792,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3268,
3697,
31235,
62,
11012,
62,
39,
10892,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3268,
3697,
31235,
62,
11012,
62,
15490,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3268,
3697,
31235,
62,
11012,
62,
29904,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3268,
3697,
31235,
62,
11012,
62,
47924,
54,
12532,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3268,
3697,
31235,
62,
11012,
62,
35,
1404,
6242,
11159,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
25065,
13645,
13,
31943,
62,
48806,
7,
1268,
3697,
31235,
62,
11012,
62,
35,
1404,
6242,
11159,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
35528,
355,
304,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1208,
198,
220,
220,
220,
1441,
25065,
13645,
628,
198,
4299,
651,
62,
76,
80,
926,
62,
10745,
22564,
33529,
628,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
16409,
25065,
11012,
4637,
4554,
329,
50203,
20630,
198,
220,
220,
220,
220,
220,
220,
220,
43748,
1009,
4732,
287,
1502,
284,
12405,
938,
12694,
1988,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
3298,
285,
80,
926,
10745,
22564,
198,
220,
220,
220,
611,
407,
285,
80,
926,
10745,
22564,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
285,
80,
926,
10745,
22564,
796,
4806,
22564,
11012,
11792,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3268,
3697,
31235,
62,
11012,
62,
39,
10892,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3268,
3697,
31235,
62,
11012,
62,
15490,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3268,
3697,
31235,
62,
11012,
62,
29904,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3268,
3697,
31235,
62,
11012,
62,
47924,
54,
12532,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3268,
3697,
31235,
62,
11012,
62,
35,
1404,
6242,
11159,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
285,
80,
926,
10745,
22564,
13,
31943,
62,
48806,
7,
1268,
3697,
31235,
62,
11012,
62,
35,
1404,
6242,
11159,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
35528,
355,
304,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1208,
198,
220,
220,
220,
1441,
285,
80,
926,
10745,
22564,
628,
198,
4299,
4277,
1102,
332,
353,
7,
78,
2599,
198,
220,
220,
220,
220,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2896,
1127,
257,
4818,
8079,
38394,
329,
33918,
11389,
1634,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
198,
220,
220,
220,
611,
318,
39098,
7,
78,
11,
4818,
8079,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
267,
13,
834,
2536,
834,
3419,
628,
198,
198,
2,
24200,
5268,
13033,
24200,
6329,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
198,
31,
73,
46569,
13,
30001,
62,
259,
62,
9967,
4868,
62,
29356,
628,
198,
31,
1324,
13,
8499,
62,
25927,
628,
220,
198,
31,
1324,
13,
18224,
30281,
7,
31552,
8,
198,
220,
198,
220,
198,
31,
1324,
13,
18224,
30281,
7,
26429,
8,
628,
198,
31,
1324,
13,
18224,
30281,
7,
26598,
8,
628,
198,
31,
73,
46569,
13,
1069,
6474,
62,
30001,
62,
29356,
628,
198,
31,
1324,
13,
38629,
10786,
14,
11537,
198,
31,
73,
46569,
62,
35827,
7,
25968,
28,
17821,
8,
198,
4299,
5726,
62,
4122,
33529,
628,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
21617,
966,
6339,
13,
2297,
1060,
82,
284,
17594,
611,
407,
18832,
198,
220,
220,
220,
220,
220,
220,
220,
4306,
11298,
15907,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
1459,
62,
738,
414,
796,
651,
62,
73,
46569,
62,
738,
414,
3419,
198,
220,
220,
220,
220,
198,
220,
220,
220,
611,
1459,
62,
738,
414,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2836,
796,
11787,
13,
22766,
13,
24455,
62,
1525,
7,
312,
28,
14421,
62,
738,
414,
737,
11085,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
611,
407,
2836,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
18941,
10786,
14,
6404,
448,
11537,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
8543,
62,
28243,
10786,
354,
5889,
13,
6494,
3256,
18832,
28,
17821,
11,
13169,
28,
7220,
13,
271,
62,
28482,
8,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
8543,
62,
28243,
10786,
38235,
13,
6494,
3256,
18832,
28,
25101,
11,
13169,
28,
25101,
8,
628,
198,
31,
1324,
13,
38629,
10786,
14,
15042,
14,
7890,
14,
1370,
11537,
198,
31,
73,
46569,
62,
35827,
3419,
198,
4299,
4818,
20663,
33529,
628,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
16409,
1366,
287,
1502,
284,
4439,
1627,
8262,
611,
198,
220,
220,
220,
220,
220,
220,
220,
262,
2581,
273,
318,
10435,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
581,
796,
651,
62,
10745,
22564,
22446,
22766,
7,
24027,
8,
628,
220,
220,
220,
611,
407,
581,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
1391,
6,
13376,
10354,
705,
7890,
62,
403,
16250,
540,
6,
5512,
5323,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1366,
796,
17635,
198,
220,
220,
220,
220,
198,
220,
220,
220,
329,
1994,
11,
1988,
287,
581,
13,
23814,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
1366,
13,
33295,
15090,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
3672,
10354,
1994,
58,
16,
7131,
6,
3672,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
13033,
10354,
685,
90,
6,
87,
10354,
279,
17816,
2435,
6,
4357,
705,
88,
10354,
279,
17816,
32604,
20520,
92,
329,
279,
287,
1988,
60,
198,
220,
220,
220,
220,
220,
220,
220,
32092,
628,
220,
220,
220,
1441,
18261,
7,
198,
220,
220,
220,
220,
220,
220,
220,
33918,
13,
67,
8142,
7,
7890,
828,
198,
220,
220,
220,
220,
220,
220,
220,
17007,
2963,
431,
11639,
31438,
14,
17752,
6,
198,
220,
220,
220,
1267,
628,
198,
31,
1324,
13,
38629,
10786,
14,
15042,
14,
7890,
14,
5657,
11537,
198,
31,
73,
46569,
62,
35827,
3419,
198,
4299,
4818,
397,
283,
33529,
628,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
16409,
1366,
287,
1502,
284,
4439,
2318,
7110,
611,
220,
198,
220,
220,
220,
220,
220,
220,
220,
262,
2581,
273,
318,
10435,
198,
220,
220,
220,
37227,
220,
628,
220,
220,
220,
581,
796,
651,
62,
10745,
22564,
22446,
22766,
7,
33,
1503,
8,
628,
220,
220,
220,
611,
407,
581,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
1391,
6,
13376,
10354,
705,
7890,
62,
403,
16250,
540,
6,
5512,
5323,
198,
220,
220,
220,
220,
198,
220,
220,
220,
8262,
62,
87,
796,
685,
85,
58,
16,
7131,
6,
3672,
20520,
329,
410,
287,
581,
13,
13083,
3419,
60,
220,
198,
220,
220,
220,
8262,
62,
88,
796,
685,
85,
58,
15,
7131,
6,
32604,
20520,
329,
410,
287,
581,
60,
198,
220,
220,
220,
8262,
62,
7890,
796,
685,
90,
6,
3672,
10354,
1438,
11,
705,
1150,
666,
10354,
14288,
92,
329,
1438,
11,
14288,
287,
19974,
7,
40926,
62,
87,
11,
8262,
62,
88,
15437,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1441,
18261,
7,
198,
220,
220,
220,
220,
220,
220,
220,
33918,
13,
67,
8142,
7,
40926,
62,
7890,
828,
198,
220,
220,
220,
220,
220,
220,
220,
17007,
2963,
431,
11639,
31438,
14,
17752,
6,
198,
220,
220,
220,
1267,
628,
198,
31,
1324,
13,
38629,
7203,
14,
15042,
14,
660,
30536,
1600,
5050,
28,
17816,
18851,
3256,
705,
32782,
3256,
705,
7206,
2538,
9328,
6,
12962,
198,
31,
73,
46569,
62,
35827,
3419,
628,
198,
31,
1324,
13,
38629,
7203,
14,
15042,
14,
18417,
1600,
5050,
28,
17816,
18851,
3256,
705,
32782,
3256,
705,
7206,
2538,
9328,
3256,
705,
30076,
6,
12962,
198,
31,
73,
46569,
62,
35827,
3419,
198,
4299,
2985,
62,
15042,
33529,
198,
220,
220,
220,
220,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
40402,
284,
2251,
11,
12233,
11,
4296,
2985,
4175,
602,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
1459,
62,
738,
414,
796,
651,
62,
73,
46569,
62,
738,
414,
3419,
198,
220,
220,
220,
611,
407,
1459,
62,
738,
414,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
18941,
10786,
14,
38235,
3256,
18832,
28,
25101,
11,
13169,
28,
25101,
8,
628,
220,
220,
220,
2581,
273,
796,
11787,
13,
22766,
13,
24455,
62,
1525,
7,
312,
28,
14421,
62,
738,
414,
737,
11085,
3419,
628,
220,
220,
220,
611,
407,
2581,
273,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
18941,
10786,
14,
33809,
628,
220,
220,
220,
611,
407,
2581,
273,
13,
271,
62,
28482,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
18941,
10786,
14,
33809,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
611,
2581,
13,
24396,
6624,
705,
18851,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
2985,
796,
11787,
13,
22766,
13,
439,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
2882,
796,
685,
90,
6,
29460,
10354,
2836,
13,
3672,
11,
705,
271,
62,
28482,
10354,
2836,
13,
271,
62,
28482,
92,
329,
2836,
287,
2985,
611,
2836,
13,
3672,
14512,
2581,
273,
13,
3672,
60,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
33918,
1958,
7,
26209,
828,
939,
220,
628,
220,
220,
220,
611,
2581,
13,
24396,
6624,
705,
32782,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
474,
42180,
796,
2581,
13,
1136,
62,
17752,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
20579,
796,
474,
42180,
17816,
29460,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
649,
62,
28712,
796,
474,
42180,
17816,
3605,
35215,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9206,
796,
474,
42180,
17816,
42180,
35215,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
318,
62,
28482,
796,
474,
42180,
17816,
3605,
46787,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
35528,
355,
304,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
33918,
1958,
15090,
6,
19662,
10354,
705,
22069,
2581,
6,
92,
828,
7337,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
279,
65,
74,
7568,
17,
62,
26270,
11645,
13,
332,
1958,
7,
28712,
11,
2581,
273,
13,
28712,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
33918,
1958,
15090,
6,
19662,
10354,
705,
39213,
506,
9206,
6,
92,
828,
22219,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
2872,
796,
11787,
13,
22766,
13,
24455,
62,
1525,
7,
3672,
28,
29460,
737,
11085,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
2872,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
649,
62,
7220,
796,
11787,
7,
3672,
28,
29460,
11,
9206,
28,
40842,
74,
7568,
17,
62,
26270,
11645,
13,
17831,
7,
3605,
62,
28712,
828,
318,
62,
28482,
28,
271,
62,
28482,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
20613,
13,
29891,
13,
2860,
7,
3605,
62,
7220,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
20613,
13,
29891,
13,
41509,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
33918,
1958,
15090,
6,
19662,
10354,
705,
13003,
2836,
6,
92,
828,
939,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
33918,
1958,
15090,
6,
19662,
10354,
705,
12982,
1541,
7160,
6,
92,
828,
48132,
628,
220,
220,
220,
611,
2581,
13,
24396,
6624,
705,
30076,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
474,
42180,
796,
2581,
13,
1136,
62,
17752,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
20579,
796,
474,
42180,
17816,
29460,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9206,
796,
474,
42180,
17816,
42180,
35215,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
649,
62,
28712,
796,
474,
42180,
13,
1136,
10786,
3605,
35215,
3256,
6045,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
649,
62,
271,
62,
28482,
796,
474,
42180,
17816,
3605,
46787,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
35528,
355,
304,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
33918,
1958,
15090,
6,
19662,
10354,
705,
22069,
2581,
6,
92,
828,
7337,
628,
220,
220,
220,
220,
220,
220,
220,
611,
407,
279,
65,
74,
7568,
17,
62,
26270,
11645,
13,
332,
1958,
7,
28712,
11,
2581,
273,
13,
28712,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
33918,
1958,
15090,
6,
19662,
10354,
705,
39213,
506,
9206,
6,
92,
828,
22219,
628,
220,
220,
220,
220,
220,
220,
220,
2872,
796,
11787,
13,
22766,
13,
24455,
62,
1525,
7,
3672,
28,
29460,
737,
11085,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
2872,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
33918,
1958,
15090,
6,
19662,
10354,
705,
12982,
407,
7160,
6,
92,
828,
48132,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
611,
649,
62,
28712,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2872,
13,
28712,
796,
279,
65,
74,
7568,
17,
62,
26270,
11645,
13,
17831,
7,
3605,
62,
28712,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
2872,
13,
271,
62,
28482,
796,
649,
62,
271,
62,
28482,
628,
220,
220,
220,
220,
220,
220,
220,
20613,
13,
29891,
13,
41509,
3419,
220,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
33918,
1958,
15090,
6,
19662,
10354,
705,
12982,
6153,
6,
92,
828,
939,
198,
220,
220,
220,
220,
198,
220,
220,
220,
611,
2581,
13,
24396,
6624,
705,
7206,
2538,
9328,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
474,
42180,
796,
2581,
13,
1136,
62,
17752,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
20579,
796,
474,
42180,
17816,
29460,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
35528,
355,
304,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
33918,
1958,
15090,
6,
19662,
10354,
705,
22069,
2581,
6,
92,
828,
7337,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
611,
20579,
6624,
2581,
273,
13,
3672,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
33918,
1958,
15090,
6,
19662,
10354,
705,
51,
14992,
284,
12233,
1459,
2836,
6,
92,
828,
48132,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
2872,
796,
11787,
13,
22766,
13,
24455,
62,
1525,
7,
3672,
28,
29460,
737,
11085,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
611,
407,
2872,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
33918,
1958,
15090,
6,
19662,
10354,
705,
12982,
407,
1043,
6,
92,
828,
48132,
628,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2872,
13,
312,
6624,
1459,
62,
738,
414,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
555,
2617,
62,
73,
46569,
62,
27916,
444,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
33918,
1958,
15090,
6,
19662,
10354,
705,
34,
34574,
12233,
1459,
2836,
6,
92,
828,
1802,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
20613,
13,
29891,
13,
33678,
7,
15699,
8,
198,
220,
220,
220,
220,
220,
220,
220,
20613,
13,
29891,
13,
41509,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
33918,
1958,
15090,
6,
19662,
10354,
705,
5005,
33342,
2836,
6,
92,
828,
939,
628,
198,
31,
1324,
13,
38629,
7203,
14,
660,
30536,
1600,
5050,
28,
17816,
18851,
6,
12962,
198,
31,
73,
46569,
62,
35827,
7,
25968,
28,
17821,
8,
198,
4299,
573,
30536,
33529,
628,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
311,
2412,
573,
30536,
2836,
2443,
3084,
611,
44529,
13,
198,
220,
220,
220,
220,
220,
220,
220,
15323,
18941,
82,
284,
262,
17594,
2443,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
1459,
62,
738,
414,
796,
651,
62,
73,
46569,
62,
738,
414,
3419,
198,
220,
220,
220,
611,
1459,
62,
738,
414,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2836,
796,
11787,
13,
22766,
13,
24455,
62,
1525,
7,
312,
28,
14421,
62,
738,
414,
737,
11085,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2836,
13,
271,
62,
28482,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
8543,
62,
28243,
10786,
660,
30536,
13,
6494,
3256,
18832,
28,
17821,
11,
13169,
28,
17821,
8,
198,
220,
220,
220,
1441,
18941,
10786,
14,
11537,
628,
198,
31,
1324,
13,
38629,
7203,
14,
18417,
1600,
5050,
28,
17816,
18851,
6,
12962,
198,
31,
73,
46569,
62,
35827,
7,
25968,
28,
17821,
8,
198,
4299,
2985,
33529,
628,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
311,
2412,
573,
30536,
2836,
2443,
3084,
611,
44529,
13,
198,
220,
220,
220,
220,
220,
220,
220,
15323,
18941,
82,
284,
262,
17594,
2443,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
1459,
62,
738,
414,
796,
651,
62,
73,
46569,
62,
738,
414,
3419,
628,
220,
220,
220,
611,
1459,
62,
738,
414,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2836,
796,
11787,
13,
22766,
13,
24455,
62,
1525,
7,
312,
28,
14421,
62,
738,
414,
737,
11085,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2836,
13,
271,
62,
28482,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
8543,
62,
28243,
10786,
18417,
13,
6494,
3256,
18832,
28,
17821,
11,
13169,
28,
17821,
8,
198,
220,
220,
220,
1441,
18941,
10786,
14,
11537,
628,
198,
31,
1324,
13,
38629,
7203,
14,
1326,
1600,
5050,
28,
17816,
18851,
6,
12962,
198,
31,
73,
46569,
62,
35827,
3419,
198,
4299,
502,
33529,
198,
220,
220,
220,
220,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
311,
2412,
2836,
338,
7034,
2443,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1459,
62,
738,
414,
796,
651,
62,
73,
46569,
62,
738,
414,
3419,
628,
220,
220,
220,
611,
1459,
62,
738,
414,
25,
198,
220,
220,
220,
220,
220,
220,
220,
502,
796,
11787,
13,
22766,
13,
24455,
62,
1525,
7,
312,
28,
14421,
62,
738,
414,
737,
11085,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
8543,
62,
28243,
10786,
13317,
13,
6494,
3256,
18832,
28,
17821,
11,
13169,
28,
1326,
13,
271,
62,
28482,
11,
20579,
28,
1326,
13,
3672,
8,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1441,
8543,
62,
28243,
10786,
38235,
13,
6494,
3256,
18832,
28,
25101,
11,
13169,
28,
25101,
8,
628,
198,
31,
1324,
13,
38629,
7203,
14,
15042,
14,
1326,
1600,
5050,
28,
17816,
30076,
6,
12962,
198,
31,
73,
46569,
62,
35827,
3419,
198,
4299,
40391,
62,
1326,
33529,
198,
220,
220,
220,
220,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
28090,
2836,
338,
4175,
602,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1459,
62,
738,
414,
796,
651,
62,
73,
46569,
62,
738,
414,
3419,
198,
220,
220,
220,
220,
198,
220,
220,
220,
611,
407,
1459,
62,
738,
414,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
33918,
1958,
15090,
6,
19662,
10354,
705,
3673,
10435,
6,
92,
828,
38210,
198,
220,
220,
220,
220,
198,
220,
220,
220,
2836,
796,
11787,
13,
22766,
13,
24455,
62,
1525,
7,
312,
28,
14421,
62,
738,
414,
737,
11085,
3419,
198,
220,
220,
220,
220,
198,
220,
220,
220,
611,
407,
2836,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
33918,
1958,
15090,
6,
19662,
10354,
705,
12982,
407,
1043,
6,
92,
828,
32320,
628,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
474,
42180,
796,
2581,
13,
1136,
62,
17752,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
20579,
796,
474,
42180,
17816,
29460,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
43089,
62,
28712,
796,
474,
42180,
17816,
42180,
35215,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
649,
62,
28712,
796,
474,
42180,
17816,
3605,
35215,
20520,
198,
220,
220,
220,
2845,
35528,
355,
304,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
33918,
1958,
15090,
6,
19662,
10354,
705,
22069,
2581,
6,
92,
828,
7337,
198,
220,
220,
220,
220,
198,
220,
220,
220,
611,
279,
65,
74,
7568,
17,
62,
26270,
11645,
13,
332,
1958,
7,
42180,
62,
28712,
11,
2836,
13,
28712,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
611,
649,
62,
28712,
14512,
13538,
290,
649,
62,
28712,
14512,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2836,
13,
28712,
796,
279,
65,
74,
7568,
17,
62,
26270,
11645,
13,
17831,
7,
3605,
62,
28712,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
611,
20579,
14512,
13538,
290,
20579,
14512,
6045,
290,
20579,
14512,
2836,
13,
3672,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2836,
13,
3672,
796,
20579,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
20613,
13,
29891,
13,
41509,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
33918,
1958,
15090,
6,
19662,
10354,
705,
17354,
6,
92,
828,
939,
628,
220,
220,
220,
1441,
33918,
1958,
15090,
6,
19662,
10354,
705,
39213,
506,
9206,
6,
92,
828,
7337,
628,
198,
31,
1324,
13,
38629,
7203,
14,
15042,
14,
18439,
1600,
5050,
28,
17816,
32782,
6,
12962,
198,
4299,
6284,
62,
15042,
33529,
628,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
7157,
829,
474,
46569,
19601,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
474,
42180,
796,
2581,
13,
1136,
62,
17752,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
20579,
796,
474,
42180,
17816,
29460,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
9206,
796,
474,
42180,
17816,
28712,
20520,
198,
220,
220,
220,
2845,
35528,
355,
304,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
33918,
1958,
15090,
6,
19662,
10354,
705,
22069,
2581,
6,
92,
828,
7337,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
18931,
13,
24442,
7203,
9787,
278,
2836,
329,
6284,
2581,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
2836,
796,
11787,
13,
22766,
13,
24455,
62,
1525,
7,
3672,
28,
29460,
737,
11085,
3419,
198,
220,
220,
220,
2845,
35528,
355,
304,
25,
198,
220,
220,
220,
220,
220,
220,
220,
18931,
13,
24442,
7203,
18224,
5323,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
18931,
13,
24442,
7,
69,
1,
90,
40546,
1891,
13,
18982,
62,
41194,
3419,
92,
4943,
628,
220,
220,
220,
611,
407,
2836,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
33918,
1958,
15090,
6,
19662,
10354,
705,
20035,
2836,
6,
92,
828,
48132,
198,
220,
220,
220,
220,
198,
220,
220,
220,
611,
407,
279,
65,
74,
7568,
17,
62,
26270,
11645,
13,
332,
1958,
7,
28712,
11,
2836,
13,
28712,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
33918,
1958,
15090,
6,
19662,
10354,
705,
39213,
506,
9206,
6,
92,
828,
22219,
198,
220,
220,
220,
220,
198,
220,
220,
220,
2882,
796,
33918,
1958,
7,
4895,
19662,
1298,
366,
38235,
4388,
20662,
8,
198,
220,
220,
220,
1895,
62,
30001,
796,
2251,
62,
15526,
62,
30001,
7,
738,
414,
28,
7220,
13,
312,
8,
198,
220,
220,
220,
900,
62,
15526,
62,
27916,
444,
7,
26209,
11,
1895,
62,
30001,
8,
198,
220,
220,
220,
1441,
2882,
198,
198,
31,
1324,
13,
38629,
7203,
14,
38235,
1600,
5050,
28,
17816,
18851,
6,
12962,
198,
31,
73,
46569,
62,
35827,
7,
25968,
28,
17821,
8,
198,
4299,
17594,
33529,
628,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
311,
2412,
17594,
2443,
11055,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
1459,
62,
738,
414,
796,
651,
62,
73,
46569,
62,
738,
414,
3419,
198,
220,
220,
220,
220,
198,
220,
220,
220,
611,
1459,
62,
738,
414,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
18941,
10786,
14,
11537,
198,
220,
220,
220,
1441,
8543,
62,
28243,
10786,
38235,
13,
6494,
3256,
13169,
28,
25101,
8,
628,
198,
31,
1324,
13,
38629,
10786,
14,
6404,
448,
3256,
5050,
28,
17816,
18851,
6,
12962,
198,
31,
73,
46569,
62,
35827,
3419,
198,
4299,
2604,
448,
33529,
198,
220,
220,
220,
220,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
7157,
829,
2836,
2604,
448,
416,
34817,
198,
220,
220,
220,
220,
220,
220,
220,
262,
2638,
8807,
19751,
7268,
262,
11241,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
2882,
796,
18941,
10786,
14,
11537,
198,
220,
220,
220,
474,
20259,
796,
651,
62,
73,
46569,
3419,
17816,
73,
20259,
20520,
198,
220,
220,
220,
38810,
13,
2860,
7,
73,
20259,
8,
198,
220,
220,
220,
555,
2617,
62,
73,
46569,
62,
27916,
444,
7,
26209,
8,
198,
220,
220,
220,
1441,
2882,
628,
198,
2,
5660,
262,
598,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1303,
41211,
82,
10214,
284,
23838,
198,
220,
220,
220,
598,
13,
5143,
3419,
198
] | 2.210954 | 10,225 |
#Copyright (c) 2020 Jan Kiefer
#THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
#IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
#FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
#AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
#LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
#OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
#SOFTWARE.
import math | [
2,
15269,
357,
66,
8,
12131,
2365,
509,
2086,
263,
198,
2,
10970,
47466,
3180,
36592,
2389,
1961,
366,
1921,
3180,
1600,
42881,
34764,
56,
3963,
15529,
509,
12115,
11,
7788,
32761,
6375,
198,
2,
3955,
49094,
11,
47783,
2751,
21728,
5626,
40880,
5390,
3336,
34764,
11015,
3963,
34482,
3398,
1565,
5603,
25382,
11,
198,
2,
37,
46144,
7473,
317,
16652,
2149,
37232,
33079,
48933,
5357,
44521,
1268,
10913,
2751,
12529,
13,
3268,
8005,
49261,
50163,
3336,
198,
2,
32,
24318,
20673,
6375,
27975,
38162,
9947,
367,
15173,
4877,
9348,
43031,
19146,
7473,
15529,
47666,
3955,
11,
29506,
25552,
6375,
25401,
198,
2,
43,
3539,
25382,
11,
7655,
2767,
16879,
3268,
3537,
40282,
3963,
27342,
10659,
11,
309,
9863,
6375,
25401,
54,
24352,
11,
5923,
1797,
2751,
16034,
11,
198,
2,
12425,
3963,
6375,
3268,
7102,
45,
24565,
13315,
3336,
47466,
6375,
3336,
23210,
6375,
25401,
5550,
1847,
20754,
3268,
3336,
198,
2,
15821,
37485,
13,
198,
198,
11748,
10688
] | 3.19375 | 160 |
soma = 0
for n in range (85,908):
if n%2==0:
print(n)
soma+=n
print ("Soma:",soma)
| [
82,
6086,
796,
657,
198,
1640,
299,
287,
2837,
357,
5332,
11,
24,
2919,
2599,
198,
220,
220,
220,
611,
299,
4,
17,
855,
15,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
77,
8,
198,
220,
220,
220,
220,
220,
220,
220,
3870,
64,
47932,
77,
198,
4798,
5855,
50,
6086,
25,
1600,
82,
6086,
8,
220,
220,
220,
220,
220,
220,
220,
220,
198
] | 1.608696 | 69 |
i = input("Enter the number : ")
print("Sum of first and last digit of number =", int(i[0]) + int(i[-1]))
| [
72,
796,
5128,
7203,
17469,
262,
1271,
1058,
366,
8,
198,
4798,
7203,
13065,
286,
717,
290,
938,
16839,
286,
1271,
796,
1600,
493,
7,
72,
58,
15,
12962,
1343,
493,
7,
72,
58,
12,
16,
60,
4008,
198
] | 2.717949 | 39 |
"""scons.Node.FS
File system nodes.
These Nodes represent the canonical external objects that people think
of when they think of building software: files and directories.
This holds a "default_fs" variable that should be initialized with an FS
that can be used by scripts or modules looking for the canonical default.
"""
#
# Copyright (c) 2001 - 2017 The SCons Foundation
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to
# permit persons to whom the Software is furnished to do so, subject to
# the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
# KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
# WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
from __future__ import print_function
__revision__ = "src/engine/SCons/Node/FS.py test_bb:4352:bbcd2cfee2dd 2017/08/21 13:59:47 bdbaddog"
import fnmatch
import os
import re
import shutil
import stat
import sys
import time
import codecs
import SCons.Action
import SCons.Debug
from SCons.Debug import logInstanceCreation
import SCons.Errors
import SCons.Memoize
import SCons.Node
import SCons.Node.Alias
import SCons.Subst
import SCons.Util
import SCons.Warnings
from SCons.Debug import Trace
print_duplicate = 0
def sconsign_dir(node):
"""Return the .sconsign file info for this directory,
creating it first if necessary."""
if not node._sconsign:
import SCons.SConsign
node._sconsign = SCons.SConsign.ForDirectory(node)
return node._sconsign
_sconsign_map = {0 : sconsign_none,
1 : sconsign_dir}
class EntryProxyAttributeError(AttributeError):
"""
An AttributeError subclass for recording and displaying the name
of the underlying Entry involved in an AttributeError exception.
"""
# The max_drift value: by default, use a cached signature value for
# any file that's been untouched for more than two days.
default_max_drift = 2*24*60*60
#
# We stringify these file system Nodes a lot. Turning a file system Node
# into a string is non-trivial, because the final string representation
# can depend on a lot of factors: whether it's a derived target or not,
# whether it's linked to a repository or source directory, and whether
# there's duplication going on. The normal technique for optimizing
# calculations like this is to memoize (cache) the string value, so you
# only have to do the calculation once.
#
# A number of the above factors, however, can be set after we've already
# been asked to return a string for a Node, because a Repository() or
# VariantDir() call or the like may not occur until later in SConscript
# files. So this variable controls whether we bother trying to save
# string values for Nodes. The wrapper interface can set this whenever
# they're done mucking with Repository and VariantDir and the other stuff,
# to let this module know it can start returning saved string values
# for Nodes.
#
Save_Strings = None
#
# Avoid unnecessary function calls by recording a Boolean value that
# tells us whether or not os.path.splitdrive() actually does anything
# on this system, and therefore whether we need to bother calling it
# when looking up path names in various methods below.
#
do_splitdrive = None
_my_splitdrive =None
initialize_do_splitdrive()
# Used to avoid invoking os.path.normpath if not necessary.
needs_normpath_check = re.compile(
r'''
# We need to renormalize the path if it contains any consecutive
# '/' characters.
.*// |
# We need to renormalize the path if it contains a '..' directory.
# Note that we check for all the following cases:
#
# a) The path is a single '..'
# b) The path starts with '..'. E.g. '../' or '../moredirs'
# but we not match '..abc/'.
# c) The path ends with '..'. E.g. '/..' or 'dirs/..'
# d) The path contains a '..' in the middle.
# E.g. dirs/../moredirs
(.*/)?\.\.(?:/|$) |
# We need to renormalize the path if it contains a '.'
# directory, but NOT if it is a single '.' '/' characters. We
# do not want to match a single '.' because this case is checked
# for explicitly since this is common enough case.
#
# Note that we check for all the following cases:
#
# a) We don't match a single '.'
# b) We match if the path starts with '.'. E.g. './' or
# './moredirs' but we not match '.abc/'.
# c) We match if the path ends with '.'. E.g. '/.' or
# 'dirs/.'
# d) We match if the path contains a '.' in the middle.
# E.g. dirs/./moredirs
\./|.*/\.(?:/|$)
''',
re.VERBOSE
)
needs_normpath_match = needs_normpath_check.match
#
# SCons.Action objects for interacting with the outside world.
#
# The Node.FS methods in this module should use these actions to
# create and/or remove files and directories; they should *not* use
# os.{link,symlink,unlink,mkdir}(), etc., directly.
#
# Using these SCons.Action objects ensures that descriptions of these
# external activities are properly displayed, that the displays are
# suppressed when the -s (silent) option is used, and (most importantly)
# the actions are disabled when the the -n option is used, in which case
# there should be *no* changes to the external file system(s)...
#
# For Now disable hard & softlinks for win32
# PY3 supports them, but the rest of SCons is not ready for this
# in some cases user permissions may be required.
# TODO: See if theres a reasonable way to enable using links on win32/64
if hasattr(os, 'link') and sys.platform != 'win32':
else:
_hardlink_func = None
if hasattr(os, 'symlink') and sys.platform != 'win32':
else:
_softlink_func = None
Valid_Duplicates = ['hard-soft-copy', 'soft-hard-copy',
'hard-copy', 'soft-copy', 'copy']
Link_Funcs = [] # contains the callables of the specified duplication style
Link = SCons.Action.Action(LinkFunc, None)
LocalCopy = SCons.Action.Action(LinkFunc, LocalString)
Unlink = SCons.Action.Action(UnlinkFunc, None)
Mkdir = SCons.Action.Action(MkdirFunc, None, presub=None)
MkdirBuilder = None
_null = _Null()
# Cygwin's os.path.normcase pretends it's on a case-sensitive filesystem.
_is_cygwin = sys.platform == "cygwin"
if os.path.normcase("TeSt") == os.path.normpath("TeSt") and not _is_cygwin:
else:
diskcheck_match = DiskChecker('match', do_diskcheck_match, ignore_diskcheck_match)
diskcheckers = [
diskcheck_match,
]
class Base(SCons.Node.Node):
"""A generic class for file system entries. This class is for
when we don't know yet whether the entry being looked up is a file
or a directory. Instances of this class can morph into either
Dir or File objects by a later, more precise lookup.
Note: this class does not define __cmp__ and __hash__ for
efficiency reasons. SCons does a lot of comparing of
Node.FS.{Base,Entry,File,Dir} objects, so those operations must be
as fast as possible, which means we want to use Python's built-in
object identity comparisons.
"""
__slots__ = ['name',
'fs',
'_abspath',
'_labspath',
'_path',
'_tpath',
'_path_elements',
'dir',
'cwd',
'duplicate',
'_local',
'sbuilder',
'_proxy',
'_func_sconsign']
def __init__(self, name, directory, fs):
"""Initialize a generic Node.FS.Base object.
Call the superclass initialization, take care of setting up
our relative and absolute paths, identify our parent
directory, and indicate that this node should use
signatures."""
if SCons.Debug.track_instances: logInstanceCreation(self, 'Node.FS.Base')
SCons.Node.Node.__init__(self)
# Filenames and paths are probably reused and are intern'ed to
# save some memory.
#: Filename with extension as it was specified when the object was
#: created; to obtain filesystem path, use Python str() function
self.name = SCons.Util.silent_intern(name)
self.fs = fs #: Reference to parent Node.FS object
assert directory, "A directory must be provided"
self._abspath = None
self._labspath = None
self._path = None
self._tpath = None
self._path_elements = None
self.dir = directory
self.cwd = None # will hold the SConscript directory for target nodes
self.duplicate = directory.duplicate
self.changed_since_last_build = 2
self._func_sconsign = 0
self._func_exists = 2
self._func_rexists = 2
self._func_get_contents = 0
self._func_target_from_source = 1
self.store_info = 1
def must_be_same(self, klass):
"""
This node, which already existed, is being looked up as the
specified klass. Raise an exception if it isn't.
"""
if isinstance(self, klass) or klass is Entry:
return
raise TypeError("Tried to lookup %s '%s' as a %s." %\
(self.__class__.__name__, self.get_internal_path(), klass.__name__))
def __getattr__(self, attr):
""" Together with the node_bwcomp dict defined below,
this method provides a simple backward compatibility
layer for the Node attributes 'abspath', 'labspath',
'path', 'tpath', 'suffix' and 'path_elements'. These Node
attributes used to be directly available in v2.3 and earlier, but
have been replaced by getter methods that initialize the
single variables lazily when required, in order to save memory.
The redirection to the getters lets older Tools and
SConstruct continue to work without any additional changes,
fully transparent to the user.
Note, that __getattr__ is only called as fallback when the
requested attribute can't be found, so there should be no
speed performance penalty involved for standard builds.
"""
if attr in node_bwcomp:
return node_bwcomp[attr](self)
raise AttributeError("%r object has no attribute %r" %
(self.__class__, attr))
def __str__(self):
"""A Node.FS.Base object's string representation is its path
name."""
global Save_Strings
if Save_Strings:
return self._save_str()
return self._get_str()
def __lt__(self, other):
""" less than operator used by sorting on py3"""
return str(self) < str(other)
@SCons.Memoize.CountMethodCall
rstr = __str__
@SCons.Memoize.CountMethodCall
if hasattr(os, 'symlink'):
else:
def srcnode(self):
"""If this node is in a build path, return the node
corresponding to its source file. Otherwise, return
ourself.
"""
srcdir_list = self.dir.srcdir_list()
if srcdir_list:
srcnode = srcdir_list[0].Entry(self.name)
srcnode.must_be_same(self.__class__)
return srcnode
return self
def get_path(self, dir=None):
"""Return path relative to the current working directory of the
Node.FS.Base object that owns us."""
if not dir:
dir = self.fs.getcwd()
if self == dir:
return '.'
path_elems = self.get_path_elements()
pathname = ''
try: i = path_elems.index(dir)
except ValueError:
for p in path_elems[:-1]:
pathname += p.dirname
else:
for p in path_elems[i+1:-1]:
pathname += p.dirname
return pathname + path_elems[-1].name
def set_src_builder(self, builder):
"""Set the source code builder for this node."""
self.sbuilder = builder
if not self.has_builder():
self.builder_set(builder)
def src_builder(self):
"""Fetch the source code builder for this node.
If there isn't one, we cache the source code builder specified
for the directory (which in turn will cache the value from its
parent directory, and so on up to the file system root).
"""
try:
scb = self.sbuilder
except AttributeError:
scb = self.dir.src_builder()
self.sbuilder = scb
return scb
def get_abspath(self):
"""Get the absolute path of the file."""
return self.dir.entry_abspath(self.name)
def get_labspath(self):
"""Get the absolute path of the file."""
return self.dir.entry_labspath(self.name)
def target_from_source(self, prefix, suffix, splitext=SCons.Util.splitext):
"""
Generates a target entry that corresponds to this entry (usually
a source file) with the specified prefix and suffix.
Note that this method can be overridden dynamically for generated
files that need different behavior. See Tool/swig.py for
an example.
"""
return SCons.Node._target_from_source_map[self._func_target_from_source](self, prefix, suffix, splitext)
@SCons.Memoize.CountDictCall(_Rfindalldirs_key)
def Rfindalldirs(self, pathlist):
"""
Return all of the directories for a given path list, including
corresponding "backing" directories in any repositories.
The Node lookups are relative to this Node (typically a
directory), so memoizing result saves cycles from looking
up the same path for each target in a given directory.
"""
try:
memo_dict = self._memo['Rfindalldirs']
except KeyError:
memo_dict = {}
self._memo['Rfindalldirs'] = memo_dict
else:
try:
return memo_dict[pathlist]
except KeyError:
pass
create_dir_relative_to_self = self.Dir
result = []
for path in pathlist:
if isinstance(path, SCons.Node.Node):
result.append(path)
else:
dir = create_dir_relative_to_self(path)
result.extend(dir.get_all_rdirs())
memo_dict[pathlist] = result
return result
def RDirs(self, pathlist):
"""Search for a list of directories in the Repository list."""
cwd = self.cwd or self.fs._cwd
return cwd.Rfindalldirs(pathlist)
@SCons.Memoize.CountMethodCall
# Dict that provides a simple backward compatibility
# layer for the Node attributes 'abspath', 'labspath',
# 'path', 'tpath' and 'path_elements'.
# @see Base.__getattr__ above
node_bwcomp = {'abspath' : Base.get_abspath,
'labspath' : Base.get_labspath,
'path' : Base.get_internal_path,
'tpath' : Base.get_tpath,
'path_elements' : Base.get_path_elements,
'suffix' : Base.get_suffix}
class Entry(Base):
"""This is the class for generic Node.FS entries--that is, things
that could be a File or a Dir, but we're just not sure yet.
Consequently, the methods in this class really exist just to
transform their associated object into the right class when the
time comes, and then call the same-named method in the transformed
class."""
__slots__ = ['scanner_paths',
'cachedir_csig',
'cachesig',
'repositories',
'srcdir',
'entries',
'searched',
'_sconsign',
'variant_dirs',
'root',
'dirname',
'on_disk_entries',
'released_target_info',
'contentsig']
def disambiguate(self, must_exist=None):
"""
"""
if self.isdir():
self.__class__ = Dir
self._morph()
elif self.isfile():
self.__class__ = File
self._morph()
self.clear()
else:
# There was nothing on-disk at this location, so look in
# the src directory.
#
# We can't just use self.srcnode() straight away because
# that would create an actual Node for this file in the src
# directory, and there might not be one. Instead, use the
# dir_on_disk() method to see if there's something on-disk
# with that name, in which case we can go ahead and call
# self.srcnode() to create the right type of entry.
srcdir = self.dir.srcnode()
if srcdir != self.dir and \
srcdir.entry_exists_on_disk(self.name) and \
self.srcnode().isdir():
self.__class__ = Dir
self._morph()
elif must_exist:
msg = "No such file or directory: '%s'" % self.get_abspath()
raise SCons.Errors.UserError(msg)
else:
self.__class__ = File
self._morph()
self.clear()
return self
def rfile(self):
"""We're a generic Entry, but the caller is actually looking for
a File at this point, so morph into one."""
self.__class__ = File
self._morph()
self.clear()
return File.rfile(self)
def get_contents(self):
"""Fetch the contents of the entry. Returns the exact binary
contents of the file."""
return SCons.Node._get_contents_map[self._func_get_contents](self)
def get_text_contents(self):
"""Fetch the decoded text contents of a Unicode encoded Entry.
Since this should return the text contents from the file
system, we check to see into what sort of subclass we should
morph this Entry."""
try:
self = self.disambiguate(must_exist=1)
except SCons.Errors.UserError:
# There was nothing on disk with which to disambiguate
# this entry. Leave it as an Entry, but return a null
# string so calls to get_text_contents() in emitters and
# the like (e.g. in qt.py) don't have to disambiguate by
# hand or catch the exception.
return ''
else:
return self.get_text_contents()
def must_be_same(self, klass):
"""Called to make sure a Node is a Dir. Since we're an
Entry, we can morph into one."""
if self.__class__ is not klass:
self.__class__ = klass
self._morph()
self.clear()
# The following methods can get called before the Taskmaster has
# had a chance to call disambiguate() directly to see if this Entry
# should really be a Dir or a File. We therefore use these to call
# disambiguate() transparently (from our caller's point of view).
#
# Right now, this minimal set of methods has been derived by just
# looking at some of the methods that will obviously be called early
# in any of the various Taskmasters' calling sequences, and then
# empirically figuring out which additional methods are necessary
# to make various tests pass.
# This is for later so we can differentiate between Entry the class and Entry
# the method of the FS class.
_classEntry = Entry
glob_magic_check = re.compile('[*?[]')
class Dir(Base):
"""A class for directories in a file system.
"""
__slots__ = ['scanner_paths',
'cachedir_csig',
'cachesig',
'repositories',
'srcdir',
'entries',
'searched',
'_sconsign',
'variant_dirs',
'root',
'dirname',
'on_disk_entries',
'released_target_info',
'contentsig']
NodeInfo = DirNodeInfo
BuildInfo = DirBuildInfo
def _morph(self):
"""Turn a file system Node (either a freshly initialized directory
object or a separate Entry object) into a proper directory object.
Set up this directory's entries and hook it into the file
system tree. Specify that directories (this Node) don't use
signatures for calculating whether they're current.
"""
self.repositories = []
self.srcdir = None
self.entries = {}
self.entries['.'] = self
self.entries['..'] = self.dir
self.cwd = self
self.searched = 0
self._sconsign = None
self.variant_dirs = []
self.root = self.dir.root
self.changed_since_last_build = 3
self._func_sconsign = 1
self._func_exists = 2
self._func_get_contents = 2
self._abspath = SCons.Util.silent_intern(self.dir.entry_abspath(self.name))
self._labspath = SCons.Util.silent_intern(self.dir.entry_labspath(self.name))
if self.dir._path == '.':
self._path = SCons.Util.silent_intern(self.name)
else:
self._path = SCons.Util.silent_intern(self.dir.entry_path(self.name))
if self.dir._tpath == '.':
self._tpath = SCons.Util.silent_intern(self.name)
else:
self._tpath = SCons.Util.silent_intern(self.dir.entry_tpath(self.name))
self._path_elements = self.dir._path_elements + [self]
# For directories, we make a difference between the directory
# 'name' and the directory 'dirname'. The 'name' attribute is
# used when we need to the 'name' of the directory or
# when we it is used as the last part of a path. The 'dirname'
# is used when the directory is not the last element of the
# path. The main reason for making that distinction is that
# for RoorDir's the dirname can not be easily inferred from
# the name. For example, we have to add a '/' after a drive
# letter but not after a UNC path prefix ('//').
self.dirname = self.name + OS_SEP
# Don't just reset the executor, replace its action list,
# because it might have some pre-or post-actions that need to
# be preserved.
#
# But don't reset the executor if there is a non-null executor
# attached already. The existing executor might have other
# targets, in which case replacing the action list with a
# Mkdir action is a big mistake.
if not hasattr(self, 'executor'):
self.builder = get_MkdirBuilder()
self.get_executor().set_action_list(self.builder.action)
else:
# Prepend MkdirBuilder action to existing action list
l = self.get_executor().action_list
a = get_MkdirBuilder().action
l.insert(0, a)
self.get_executor().set_action_list(l)
def __clearRepositoryCache(self, duplicate=None):
"""Called when we change the repository(ies) for a directory.
This clears any cached information that is invalidated by changing
the repository."""
for node in list(self.entries.values()):
if node != self.dir:
if node != self and isinstance(node, Dir):
node.__clearRepositoryCache(duplicate)
else:
node.clear()
try:
del node._srcreps
except AttributeError:
pass
if duplicate is not None:
node.duplicate=duplicate
def Entry(self, name):
"""
Looks up or creates an entry node named 'name' relative to
this directory.
"""
return self.fs.Entry(name, self)
def Dir(self, name, create=True):
"""
Looks up or creates a directory node named 'name' relative to
this directory.
"""
return self.fs.Dir(name, self, create)
def File(self, name):
"""
Looks up or creates a file node named 'name' relative to
this directory.
"""
return self.fs.File(name, self)
def link(self, srcdir, duplicate):
"""Set this directory as the variant directory for the
supplied source directory."""
self.srcdir = srcdir
self.duplicate = duplicate
self.__clearRepositoryCache(duplicate)
srcdir.variant_dirs.append(self)
def getRepositories(self):
"""Returns a list of repositories for this directory.
"""
if self.srcdir and not self.duplicate:
return self.srcdir.get_all_rdirs() + self.repositories
return self.repositories
@SCons.Memoize.CountMethodCall
@SCons.Memoize.CountDictCall(_rel_path_key)
def rel_path(self, other):
"""Return a path to "other" relative to this directory.
"""
# This complicated and expensive method, which constructs relative
# paths between arbitrary Node.FS objects, is no longer used
# by SCons itself. It was introduced to store dependency paths
# in .sconsign files relative to the target, but that ended up
# being significantly inefficient.
#
# We're continuing to support the method because some SConstruct
# files out there started using it when it was available, and
# we're all about backwards compatibility..
try:
memo_dict = self._memo['rel_path']
except KeyError:
memo_dict = {}
self._memo['rel_path'] = memo_dict
else:
try:
return memo_dict[other]
except KeyError:
pass
if self is other:
result = '.'
elif not other in self._path_elements:
try:
other_dir = other.get_dir()
except AttributeError:
result = str(other)
else:
if other_dir is None:
result = other.name
else:
dir_rel_path = self.rel_path(other_dir)
if dir_rel_path == '.':
result = other.name
else:
result = dir_rel_path + OS_SEP + other.name
else:
i = self._path_elements.index(other) + 1
path_elems = ['..'] * (len(self._path_elements) - i) \
+ [n.name for n in other._path_elements[i:]]
result = OS_SEP.join(path_elems)
memo_dict[other] = result
return result
def get_found_includes(self, env, scanner, path):
"""Return this directory's implicit dependencies.
We don't bother caching the results because the scan typically
shouldn't be requested more than once (as opposed to scanning
.h file contents, which can be requested as many times as the
files is #included by other files).
"""
if not scanner:
return []
# Clear cached info for this Dir. If we already visited this
# directory on our walk down the tree (because we didn't know at
# that point it was being used as the source for another Node)
# then we may have calculated build signature before realizing
# we had to scan the disk. Now that we have to, though, we need
# to invalidate the old calculated signature so that any node
# dependent on our directory structure gets one that includes
# info about everything on disk.
self.clear()
return scanner(self, env, path)
#
# Taskmaster interface subsystem
#
def build(self, **kw):
"""A null "builder" for directories."""
global MkdirBuilder
if self.builder is not MkdirBuilder:
SCons.Node.Node.build(self, **kw)
#
#
#
def _create(self):
"""Create this directory, silently and without worrying about
whether the builder is the default or not."""
listDirs = []
parent = self
while parent:
if parent.exists():
break
listDirs.append(parent)
p = parent.up()
if p is None:
# Don't use while: - else: for this condition because
# if so, then parent is None and has no .path attribute.
raise SCons.Errors.StopError(parent._path)
parent = p
listDirs.reverse()
for dirnode in listDirs:
try:
# Don't call dirnode.build(), call the base Node method
# directly because we definitely *must* create this
# directory. The dirnode.build() method will suppress
# the build if it's the default builder.
SCons.Node.Node.build(dirnode)
dirnode.get_executor().nullify()
# The build() action may or may not have actually
# created the directory, depending on whether the -n
# option was used or not. Delete the _exists and
# _rexists attributes so they can be reevaluated.
dirnode.clear()
except OSError:
pass
def alter_targets(self):
"""Return any corresponding targets in a variant directory.
"""
return self.fs.variant_dir_target_climb(self, self, [])
def scanner_key(self):
"""A directory does not get scanned."""
return None
def get_text_contents(self):
"""We already emit things in text, so just return the binary
version."""
return self.get_contents()
def get_contents(self):
"""Return content signatures and names of all our children
separated by new-lines. Ensure that the nodes are sorted."""
return SCons.Node._get_contents_map[self._func_get_contents](self)
def get_csig(self):
"""Compute the content signature for Directory nodes. In
general, this is not needed and the content signature is not
stored in the DirNodeInfo. However, if get_contents on a Dir
node is called which has a child directory, the child
directory should return the hash of its contents."""
contents = self.get_contents()
return SCons.Util.MD5signature(contents)
def is_up_to_date(self):
"""If any child is not up-to-date, then this directory isn't,
either."""
if self.builder is not MkdirBuilder and not self.exists():
return 0
up_to_date = SCons.Node.up_to_date
for kid in self.children():
if kid.get_state() > up_to_date:
return 0
return 1
def sconsign(self):
"""Return the .sconsign file info for this directory. """
return _sconsign_map[self._func_sconsign](self)
def srcnode(self):
"""Dir has a special need for srcnode()...if we
have a srcdir attribute set, then that *is* our srcnode."""
if self.srcdir:
return self.srcdir
return Base.srcnode(self)
def get_timestamp(self):
"""Return the latest timestamp from among our children"""
stamp = 0
for kid in self.children():
if kid.get_timestamp() > stamp:
stamp = kid.get_timestamp()
return stamp
def get_abspath(self):
"""Get the absolute path of the file."""
return self._abspath
def get_labspath(self):
"""Get the absolute path of the file."""
return self._labspath
def entry_exists_on_disk(self, name):
""" Searches through the file/dir entries of the current
directory, and returns True if a physical entry with the given
name could be found.
@see rentry_exists_on_disk
"""
try:
d = self.on_disk_entries
except AttributeError:
d = {}
try:
entries = os.listdir(self._abspath)
except OSError:
pass
else:
for entry in map(_my_normcase, entries):
d[entry] = True
self.on_disk_entries = d
if sys.platform == 'win32' or sys.platform == 'cygwin':
name = _my_normcase(name)
result = d.get(name)
if result is None:
# Belt-and-suspenders for Windows: check directly for
# 8.3 file names that don't show up in os.listdir().
result = os.path.exists(self._abspath + OS_SEP + name)
d[name] = result
return result
else:
return name in d
def rentry_exists_on_disk(self, name):
""" Searches through the file/dir entries of the current
*and* all its remote directories (repos), and returns
True if a physical entry with the given name could be found.
The local directory (self) gets searched first, so
repositories take a lower precedence regarding the
searching order.
@see entry_exists_on_disk
"""
rentry_exists = self.entry_exists_on_disk(name)
if not rentry_exists:
# Search through the repository folders
norm_name = _my_normcase(name)
for rdir in self.get_all_rdirs():
try:
node = rdir.entries[norm_name]
if node:
rentry_exists = True
break
except KeyError:
if rdir.entry_exists_on_disk(name):
rentry_exists = True
break
return rentry_exists
@SCons.Memoize.CountMethodCall
@SCons.Memoize.CountDictCall(_srcdir_find_file_key)
def walk(self, func, arg):
"""
Walk this directory tree by calling the specified function
for each directory in the tree.
This behaves like the os.path.walk() function, but for in-memory
Node.FS.Dir objects. The function takes the same arguments as
the functions passed to os.path.walk():
func(arg, dirname, fnames)
Except that "dirname" will actually be the directory *Node*,
not the string. The '.' and '..' entries are excluded from
fnames. The fnames list may be modified in-place to filter the
subdirectories visited or otherwise impose a specific order.
The "arg" argument is always passed to func() and may be used
in any way (or ignored, passing None is common).
"""
entries = self.entries
names = list(entries.keys())
names.remove('.')
names.remove('..')
func(arg, self, names)
for dirname in [n for n in names if isinstance(entries[n], Dir)]:
entries[dirname].walk(func, arg)
def glob(self, pathname, ondisk=True, source=False, strings=False, exclude=None):
"""
Returns a list of Nodes (or strings) matching a specified
pathname pattern.
Pathname patterns follow UNIX shell semantics: * matches
any-length strings of any characters, ? matches any character,
and [] can enclose lists or ranges of characters. Matches do
not span directory separators.
The matches take into account Repositories, returning local
Nodes if a corresponding entry exists in a Repository (either
an in-memory Node or something on disk).
By defafult, the glob() function matches entries that exist
on-disk, in addition to in-memory Nodes. Setting the "ondisk"
argument to False (or some other non-true value) causes the glob()
function to only match in-memory Nodes. The default behavior is
to return both the on-disk and in-memory Nodes.
The "source" argument, when true, specifies that corresponding
source Nodes must be returned if you're globbing in a build
directory (initialized with VariantDir()). The default behavior
is to return Nodes local to the VariantDir().
The "strings" argument, when true, returns the matches as strings,
not Nodes. The strings are path names relative to this directory.
The "exclude" argument, if not None, must be a pattern or a list
of patterns following the same UNIX shell semantics.
Elements matching a least one pattern of this list will be excluded
from the result.
The underlying algorithm is adapted from the glob.glob() function
in the Python library (but heavily modified), and uses fnmatch()
under the covers.
"""
dirname, basename = os.path.split(pathname)
if not dirname:
result = self._glob1(basename, ondisk, source, strings)
else:
if has_glob_magic(dirname):
list = self.glob(dirname, ondisk, source, False, exclude)
else:
list = [self.Dir(dirname, create=True)]
result = []
for dir in list:
r = dir._glob1(basename, ondisk, source, strings)
if strings:
r = [os.path.join(str(dir), x) for x in r]
result.extend(r)
if exclude:
excludes = []
excludeList = SCons.Util.flatten(exclude)
for x in excludeList:
r = self.glob(x, ondisk, source, strings)
excludes.extend(r)
result = [x for x in result if not any(fnmatch.fnmatch(str(x), str(e)) for e in SCons.Util.flatten(excludes))]
return sorted(result, key=lambda a: str(a))
def _glob1(self, pattern, ondisk=True, source=False, strings=False):
"""
Globs for and returns a list of entry names matching a single
pattern in this directory.
This searches any repositories and source directories for
corresponding entries and returns a Node (or string) relative
to the current directory if an entry is found anywhere.
TODO: handle pattern with no wildcard
"""
search_dir_list = self.get_all_rdirs()
for srcdir in self.srcdir_list():
search_dir_list.extend(srcdir.get_all_rdirs())
selfEntry = self.Entry
names = []
for dir in search_dir_list:
# We use the .name attribute from the Node because the keys of
# the dir.entries dictionary are normalized (that is, all upper
# case) on case-insensitive systems like Windows.
node_names = [ v.name for k, v in dir.entries.items()
if k not in ('.', '..') ]
names.extend(node_names)
if not strings:
# Make sure the working directory (self) actually has
# entries for all Nodes in repositories or variant dirs.
for name in node_names: selfEntry(name)
if ondisk:
try:
disk_names = os.listdir(dir._abspath)
except os.error:
continue
names.extend(disk_names)
if not strings:
# We're going to return corresponding Nodes in
# the local directory, so we need to make sure
# those Nodes exist. We only want to create
# Nodes for the entries that will match the
# specified pattern, though, which means we
# need to filter the list here, even though
# the overall list will also be filtered later,
# after we exit this loop.
if pattern[0] != '.':
disk_names = [x for x in disk_names if x[0] != '.']
disk_names = fnmatch.filter(disk_names, pattern)
dirEntry = dir.Entry
for name in disk_names:
# Add './' before disk filename so that '#' at
# beginning of filename isn't interpreted.
name = './' + name
node = dirEntry(name).disambiguate()
n = selfEntry(name)
if n.__class__ != node.__class__:
n.__class__ = node.__class__
n._morph()
names = set(names)
if pattern[0] != '.':
names = [x for x in names if x[0] != '.']
names = fnmatch.filter(names, pattern)
if strings:
return names
return [self.entries[_my_normcase(n)] for n in names]
class RootDir(Dir):
"""A class for the root directory of a file system.
This is the same as a Dir class, except that the path separator
('/' or '\\') is actually part of the name, so we don't need to
add a separator when creating the path names of entries within
this directory.
"""
__slots__ = ['_lookupDict']
def _morph(self):
"""Turn a file system Node (either a freshly initialized directory
object or a separate Entry object) into a proper directory object.
Set up this directory's entries and hook it into the file
system tree. Specify that directories (this Node) don't use
signatures for calculating whether they're current.
"""
self.repositories = []
self.srcdir = None
self.entries = {}
self.entries['.'] = self
self.entries['..'] = self.dir
self.cwd = self
self.searched = 0
self._sconsign = None
self.variant_dirs = []
self.changed_since_last_build = 3
self._func_sconsign = 1
self._func_exists = 2
self._func_get_contents = 2
# Don't just reset the executor, replace its action list,
# because it might have some pre-or post-actions that need to
# be preserved.
#
# But don't reset the executor if there is a non-null executor
# attached already. The existing executor might have other
# targets, in which case replacing the action list with a
# Mkdir action is a big mistake.
if not hasattr(self, 'executor'):
self.builder = get_MkdirBuilder()
self.get_executor().set_action_list(self.builder.action)
else:
# Prepend MkdirBuilder action to existing action list
l = self.get_executor().action_list
a = get_MkdirBuilder().action
l.insert(0, a)
self.get_executor().set_action_list(l)
def _lookup_abs(self, p, klass, create=1):
"""
Fast (?) lookup of a *normalized* absolute path.
This method is intended for use by internal lookups with
already-normalized path data. For general-purpose lookups,
use the FS.Entry(), FS.Dir() or FS.File() methods.
The caller is responsible for making sure we're passed a
normalized absolute path; we merely let Python's dictionary look
up and return the One True Node.FS object for the path.
If a Node for the specified "p" doesn't already exist, and
"create" is specified, the Node may be created after recursive
invocation to find or create the parent directory or directories.
"""
k = _my_normcase(p)
try:
result = self._lookupDict[k]
except KeyError:
if not create:
msg = "No such file or directory: '%s' in '%s' (and create is False)" % (p, str(self))
raise SCons.Errors.UserError(msg)
# There is no Node for this path name, and we're allowed
# to create it.
dir_name, file_name = p.rsplit('/',1)
dir_node = self._lookup_abs(dir_name, Dir)
result = klass(file_name, dir_node, self.fs)
# Double-check on disk (as configured) that the Node we
# created matches whatever is out there in the real world.
result.diskcheck_match()
self._lookupDict[k] = result
dir_node.entries[_my_normcase(file_name)] = result
dir_node.implicit = None
else:
# There is already a Node for this path name. Allow it to
# complain if we were looking for an inappropriate type.
result.must_be_same(klass)
return result
class File(Base):
"""A class for files in a file system.
"""
__slots__ = ['scanner_paths',
'cachedir_csig',
'cachesig',
'repositories',
'srcdir',
'entries',
'searched',
'_sconsign',
'variant_dirs',
'root',
'dirname',
'on_disk_entries',
'released_target_info',
'contentsig']
NodeInfo = FileNodeInfo
BuildInfo = FileBuildInfo
md5_chunksize = 64
def Entry(self, name):
"""Create an entry node named 'name' relative to
the directory of this file."""
return self.dir.Entry(name)
def Dir(self, name, create=True):
"""Create a directory node named 'name' relative to
the directory of this file."""
return self.dir.Dir(name, create=create)
def Dirs(self, pathlist):
"""Create a list of directories relative to the SConscript
directory of this file."""
return [self.Dir(p) for p in pathlist]
def File(self, name):
"""Create a file node named 'name' relative to
the directory of this file."""
return self.dir.File(name)
def _morph(self):
"""Turn a file system node into a File object."""
self.scanner_paths = {}
if not hasattr(self, '_local'):
self._local = 0
if not hasattr(self, 'released_target_info'):
self.released_target_info = False
self.store_info = 1
self._func_exists = 4
self._func_get_contents = 3
# Initialize this Node's decider function to decide_source() because
# every file is a source file until it has a Builder attached...
self.changed_since_last_build = 4
# If there was already a Builder set on this entry, then
# we need to make sure we call the target-decider function,
# not the source-decider. Reaching in and doing this by hand
# is a little bogus. We'd prefer to handle this by adding
# an Entry.builder_set() method that disambiguates like the
# other methods, but that starts running into problems with the
# fragile way we initialize Dir Nodes with their Mkdir builders,
# yet still allow them to be overridden by the user. Since it's
# not clear right now how to fix that, stick with what works
# until it becomes clear...
if self.has_builder():
self.changed_since_last_build = 5
def get_text_contents(self):
"""
This attempts to figure out what the encoding of the text is
based upon the BOM bytes, and then decodes the contents so that
it's a valid python string.
"""
contents = self.get_contents()
# The behavior of various decode() methods and functions
# w.r.t. the initial BOM bytes is different for different
# encodings and/or Python versions. ('utf-8' does not strip
# them, but has a 'utf-8-sig' which does; 'utf-16' seems to
# strip them; etc.) Just sidestep all the complication by
# explicitly stripping the BOM before we decode().
if contents[:len(codecs.BOM_UTF8)] == codecs.BOM_UTF8:
return contents[len(codecs.BOM_UTF8):].decode('utf-8', "ignore")
if contents[:len(codecs.BOM_UTF16_LE)] == codecs.BOM_UTF16_LE:
return contents[len(codecs.BOM_UTF16_LE):].decode('utf-16-le', "ignore")
if contents[:len(codecs.BOM_UTF16_BE)] == codecs.BOM_UTF16_BE:
return contents[len(codecs.BOM_UTF16_BE):].decode('utf-16-be', "ignore")
try:
return contents.decode(errors='ignore')
except (UnicodeDecodeError, AttributeError) as e:
print(e)
print('error')
print(contents)
return contents
def get_content_hash(self):
"""
Compute and return the MD5 hash for this file.
"""
if not self.rexists():
return SCons.Util.MD5signature('')
fname = self.rfile().get_abspath()
try:
cs = SCons.Util.MD5filesignature(fname,
chunksize=SCons.Node.FS.File.md5_chunksize*1024)
except EnvironmentError as e:
if not e.filename:
e.filename = fname
raise
return cs
@SCons.Memoize.CountMethodCall
@SCons.Memoize.CountMethodCall
convert_copy_attrs = [
'bsources',
'bimplicit',
'bdepends',
'bact',
'bactsig',
'ninfo',
]
convert_sig_attrs = [
'bsourcesigs',
'bimplicitsigs',
'bdependsigs',
]
@SCons.Memoize.CountMethodCall
@SCons.Memoize.CountDictCall(_get_found_includes_key)
def get_found_includes(self, env, scanner, path):
"""Return the included implicit dependencies in this file.
Cache results so we only scan the file once per path
regardless of how many times this information is requested.
"""
memo_key = (id(env), id(scanner), path)
try:
memo_dict = self._memo['get_found_includes']
except KeyError:
memo_dict = {}
self._memo['get_found_includes'] = memo_dict
else:
try:
return memo_dict[memo_key]
except KeyError:
pass
if scanner:
result = [n.disambiguate() for n in scanner(self, env, path)]
else:
result = []
memo_dict[memo_key] = result
return result
def push_to_cache(self):
"""Try to push the node into a cache
"""
# This should get called before the Nodes' .built() method is
# called, which would clear the build signature if the file has
# a source scanner.
#
# We have to clear the local memoized values *before* we push
# the node to cache so that the memoization of the self.exists()
# return value doesn't interfere.
if self.nocache:
return
self.clear_memoized_values()
if self.exists():
self.get_build_env().get_CacheDir().push(self)
def retrieve_from_cache(self):
"""Try to retrieve the node's content from a cache
This method is called from multiple threads in a parallel build,
so only do thread safe stuff here. Do thread unsafe stuff in
built().
Returns true if the node was successfully retrieved.
"""
if self.nocache:
return None
if not self.is_derived():
return None
return self.get_build_env().get_CacheDir().retrieve(self)
def release_target_info(self):
"""Called just after this node has been marked
up-to-date or was built completely.
This is where we try to release as many target node infos
as possible for clean builds and update runs, in order
to minimize the overall memory consumption.
We'd like to remove a lot more attributes like self.sources
and self.sources_set, but they might get used
in a next build step. For example, during configuration
the source files for a built *.o file are used to figure out
which linker to use for the resulting Program (gcc vs. g++)!
That's why we check for the 'keep_targetinfo' attribute,
config Nodes and the Interactive mode just don't allow
an early release of most variables.
In the same manner, we can't simply remove the self.attributes
here. The smart linking relies on the shared flag, and some
parts of the java Tool use it to transport information
about nodes...
@see: built() and Node.release_target_info()
"""
if (self.released_target_info or SCons.Node.interactive):
return
if not hasattr(self.attributes, 'keep_targetinfo'):
# Cache some required values, before releasing
# stuff like env, executor and builder...
self.changed(allowcache=True)
self.get_contents_sig()
self.get_build_env()
# Now purge unneeded stuff to free memory...
self.executor = None
self._memo.pop('rfile', None)
self.prerequisites = None
# Cleanup lists, but only if they're empty
if not len(self.ignore_set):
self.ignore_set = None
if not len(self.implicit_set):
self.implicit_set = None
if not len(self.depends_set):
self.depends_set = None
if not len(self.ignore):
self.ignore = None
if not len(self.depends):
self.depends = None
# Mark this node as done, we only have to release
# the memory once...
self.released_target_info = True
def has_src_builder(self):
"""Return whether this Node has a source builder or not.
If this Node doesn't have an explicit source code builder, this
is where we figure out, on the fly, if there's a transparent
source code builder for it.
Note that if we found a source builder, we also set the
self.builder attribute, so that all of the methods that actually
*build* this file don't have to do anything different.
"""
try:
scb = self.sbuilder
except AttributeError:
scb = self.sbuilder = self.find_src_builder()
return scb is not None
def alter_targets(self):
"""Return any corresponding targets in a variant directory.
"""
if self.is_derived():
return [], None
return self.fs.variant_dir_target_climb(self, self.dir, [self.name])
#
# Taskmaster interface subsystem
#
def prepare(self):
"""Prepare for this file to be created."""
SCons.Node.Node.prepare(self)
if self.get_state() != SCons.Node.up_to_date:
if self.exists():
if self.is_derived() and not self.precious:
self._rmv_existing()
else:
try:
self._createDir()
except SCons.Errors.StopError as drive:
raise SCons.Errors.StopError("No drive `{}' for target `{}'.".format(drive, self))
#
#
#
def remove(self):
"""Remove this file."""
if self.exists() or self.islink():
self.fs.unlink(self.get_internal_path())
return 1
return None
@SCons.Memoize.CountMethodCall
#
# SIGNATURE SUBSYSTEM
#
def get_max_drift_csig(self):
"""
Returns the content signature currently stored for this node
if it's been unmodified longer than the max_drift value, or the
max_drift value is 0. Returns None otherwise.
"""
old = self.get_stored_info()
mtime = self.get_timestamp()
max_drift = self.fs.max_drift
if max_drift > 0:
if (time.time() - mtime) > max_drift:
try:
n = old.ninfo
if n.timestamp and n.csig and n.timestamp == mtime:
return n.csig
except AttributeError:
pass
elif max_drift == 0:
try:
return old.ninfo.csig
except AttributeError:
pass
return None
def get_csig(self):
"""
Generate a node's content signature, the digested signature
of its content.
node - the node
cache - alternate node to use for the signature cache
returns - the content signature
"""
ninfo = self.get_ninfo()
try:
return ninfo.csig
except AttributeError:
pass
csig = self.get_max_drift_csig()
if csig is None:
try:
if self.get_size() < SCons.Node.FS.File.md5_chunksize:
contents = self.get_contents()
else:
csig = self.get_content_hash()
except IOError:
# This can happen if there's actually a directory on-disk,
# which can be the case if they've disabled disk checks,
# or if an action with a File target actually happens to
# create a same-named directory by mistake.
csig = ''
else:
if not csig:
csig = SCons.Util.MD5signature(contents)
ninfo.csig = csig
return csig
#
# DECISION SUBSYSTEM
#
def built(self):
"""Called just after this File node is successfully built.
Just like for 'release_target_info' we try to release
some more target node attributes in order to minimize the
overall memory consumption.
@see: release_target_info
"""
SCons.Node.Node.built(self)
if (not SCons.Node.interactive and
not hasattr(self.attributes, 'keep_targetinfo')):
# Ensure that the build infos get computed and cached...
SCons.Node.store_info_map[self.store_info](self)
# ... then release some more variables.
self._specific_sources = False
self._labspath = None
self._save_str()
self.cwd = None
self.scanner_paths = None
def changed(self, node=None, allowcache=False):
"""
Returns if the node is up-to-date with respect to the BuildInfo
stored last time it was built.
For File nodes this is basically a wrapper around Node.changed(),
but we allow the return value to get cached after the reference
to the Executor got released in release_target_info().
@see: Node.changed()
"""
if node is None:
try:
return self._memo['changed']
except KeyError:
pass
has_changed = SCons.Node.Node.changed(self, node)
if allowcache:
self._memo['changed'] = has_changed
return has_changed
@SCons.Memoize.CountMethodCall
def get_cachedir_csig(self):
"""
Fetch a Node's content signature for purposes of computing
another Node's cachesig.
This is a wrapper around the normal get_csig() method that handles
the somewhat obscure case of using CacheDir with the -n option.
Any files that don't exist would normally be "built" by fetching
them from the cache, but the normal get_csig() method will try
to open up the local file, which doesn't exist because the -n
option meant we didn't actually pull the file from cachedir.
But since the file *does* actually exist in the cachedir, we
can use its contents for the csig.
"""
try:
return self.cachedir_csig
except AttributeError:
pass
cachedir, cachefile = self.get_build_env().get_CacheDir().cachepath(self)
if not self.exists() and cachefile and os.path.exists(cachefile):
self.cachedir_csig = SCons.Util.MD5filesignature(cachefile, \
SCons.Node.FS.File.md5_chunksize * 1024)
else:
self.cachedir_csig = self.get_csig()
return self.cachedir_csig
def get_contents_sig(self):
"""
A helper method for get_cachedir_bsig.
It computes and returns the signature for this
node's contents.
"""
try:
return self.contentsig
except AttributeError:
pass
executor = self.get_executor()
result = self.contentsig = SCons.Util.MD5signature(executor.get_contents())
return result
def get_cachedir_bsig(self):
"""
Return the signature for a cached file, including
its children.
It adds the path of the cached file to the cache signature,
because multiple targets built by the same action will all
have the same build signature, and we have to differentiate
them somehow.
"""
try:
return self.cachesig
except AttributeError:
pass
# Collect signatures for all children
children = self.children()
sigs = [n.get_cachedir_csig() for n in children]
# Append this node's signature...
sigs.append(self.get_contents_sig())
# ...and it's path
sigs.append(self.get_internal_path())
# Merge this all into a single signature
result = self.cachesig = SCons.Util.MD5collect(sigs)
return result
default_fs = None
class FileFinder(object):
"""
"""
def filedir_lookup(self, p, fd=None):
"""
A helper method for find_file() that looks up a directory for
a file we're trying to find. This only creates the Dir Node if
it exists on-disk, since if the directory doesn't exist we know
we won't find any files in it... :-)
It would be more compact to just use this as a nested function
with a default keyword argument (see the commented-out version
below), but that doesn't work unless you have nested scopes,
so we define it here just so this work under Python 1.5.2.
"""
if fd is None:
fd = self.default_filedir
dir, name = os.path.split(fd)
drive, d = _my_splitdrive(dir)
if not name and d[:1] in ('/', OS_SEP):
#return p.fs.get_root(drive).dir_on_disk(name)
return p.fs.get_root(drive)
if dir:
p = self.filedir_lookup(p, dir)
if not p:
return None
norm_name = _my_normcase(name)
try:
node = p.entries[norm_name]
except KeyError:
return p.dir_on_disk(name)
if isinstance(node, Dir):
return node
if isinstance(node, Entry):
node.must_be_same(Dir)
return node
return None
@SCons.Memoize.CountDictCall(_find_file_key)
def find_file(self, filename, paths, verbose=None):
"""
find_file(str, [Dir()]) -> [nodes]
filename - a filename to find
paths - a list of directory path *nodes* to search in. Can be
represented as a list, a tuple, or a callable that is
called with no arguments and returns the list or tuple.
returns - the node created from the found file.
Find a node corresponding to either a derived file or a file
that exists already.
Only the first file found is returned, and none is returned
if no file is found.
"""
memo_key = self._find_file_key(filename, paths)
try:
memo_dict = self._memo['find_file']
except KeyError:
memo_dict = {}
self._memo['find_file'] = memo_dict
else:
try:
return memo_dict[memo_key]
except KeyError:
pass
if verbose and not callable(verbose):
if not SCons.Util.is_String(verbose):
verbose = "find_file"
_verbose = u' %s: ' % verbose
verbose = lambda s: sys.stdout.write(_verbose + s)
filedir, filename = os.path.split(filename)
if filedir:
self.default_filedir = filedir
paths = [_f for _f in map(self.filedir_lookup, paths) if _f]
result = None
for dir in paths:
if verbose:
verbose("looking for '%s' in '%s' ...\n" % (filename, dir))
node, d = dir.srcdir_find_file(filename)
if node:
if verbose:
verbose("... FOUND '%s' in '%s'\n" % (filename, d))
result = node
break
memo_dict[memo_key] = result
return result
find_file = FileFinder().find_file
def invalidate_node_memos(targets):
"""
Invalidate the memoized values of all Nodes (files or directories)
that are associated with the given entries. Has been added to
clear the cache of nodes affected by a direct execution of an
action (e.g. Delete/Copy/Chmod). Existing Node caches become
inconsistent if the action is run through Execute(). The argument
`targets` can be a single Node object or filename, or a sequence
of Nodes/filenames.
"""
from traceback import extract_stack
# First check if the cache really needs to be flushed. Only
# actions run in the SConscript with Execute() seem to be
# affected. XXX The way to check if Execute() is in the stacktrace
# is a very dirty hack and should be replaced by a more sensible
# solution.
for f in extract_stack():
if f[2] == 'Execute' and f[0][-14:] == 'Environment.py':
break
else:
# Dont have to invalidate, so return
return
if not SCons.Util.is_List(targets):
targets = [targets]
for entry in targets:
# If the target is a Node object, clear the cache. If it is a
# filename, look up potentially existing Node object first.
try:
entry.clear_memoized_values()
except AttributeError:
# Not a Node object, try to look up Node by filename. XXX
# This creates Node objects even for those filenames which
# do not correspond to an existing Node object.
node = get_default_fs().Entry(entry)
if node:
node.clear_memoized_values()
# Local Variables:
# tab-width:4
# indent-tabs-mode:nil
# End:
# vim: set expandtab tabstop=4 shiftwidth=4:
| [
37811,
1416,
684,
13,
19667,
13,
10652,
198,
198,
8979,
1080,
13760,
13,
198,
198,
4711,
399,
4147,
2380,
262,
40091,
7097,
5563,
326,
661,
892,
198,
1659,
618,
484,
892,
286,
2615,
3788,
25,
3696,
290,
29196,
13,
198,
198,
1212,
6622,
257,
366,
12286,
62,
9501,
1,
7885,
326,
815,
307,
23224,
351,
281,
23324,
198,
5562,
460,
307,
973,
416,
14750,
393,
13103,
2045,
329,
262,
40091,
4277,
13,
198,
198,
37811,
198,
198,
2,
198,
2,
15069,
357,
66,
8,
5878,
532,
2177,
383,
6374,
684,
5693,
198,
2,
198,
2,
2448,
3411,
318,
29376,
7520,
11,
1479,
286,
3877,
11,
284,
597,
1048,
16727,
198,
2,
257,
4866,
286,
428,
3788,
290,
3917,
10314,
3696,
357,
1169,
198,
2,
366,
25423,
12340,
284,
1730,
287,
262,
10442,
1231,
17504,
11,
1390,
198,
2,
1231,
17385,
262,
2489,
284,
779,
11,
4866,
11,
13096,
11,
20121,
11,
7715,
11,
198,
2,
14983,
11,
850,
43085,
11,
290,
14,
273,
3677,
9088,
286,
262,
10442,
11,
290,
284,
198,
2,
8749,
6506,
284,
4150,
262,
10442,
318,
30760,
284,
466,
523,
11,
2426,
284,
198,
2,
262,
1708,
3403,
25,
198,
2,
198,
2,
383,
2029,
6634,
4003,
290,
428,
7170,
4003,
2236,
307,
3017,
198,
2,
287,
477,
9088,
393,
8904,
16690,
286,
262,
10442,
13,
198,
2,
198,
2,
3336,
47466,
3180,
36592,
2389,
1961,
366,
1921,
3180,
1600,
42881,
34764,
56,
3963,
15529,
198,
2,
509,
12115,
11,
7788,
32761,
6375,
8959,
49094,
11,
47783,
2751,
21728,
5626,
40880,
5390,
3336,
198,
2,
34764,
11015,
3963,
34482,
3398,
1565,
5603,
25382,
11,
376,
46144,
7473,
317,
16652,
2149,
37232,
33079,
48933,
5357,
198,
2,
44521,
1268,
10913,
2751,
12529,
13,
3268,
8005,
49261,
50163,
3336,
37195,
20673,
6375,
27975,
38162,
9947,
367,
15173,
4877,
9348,
198,
2,
43031,
19146,
7473,
15529,
47666,
3955,
11,
29506,
25552,
6375,
25401,
43031,
25382,
11,
7655,
2767,
16879,
3268,
3537,
40282,
198,
2,
3963,
27342,
10659,
11,
309,
9863,
6375,
25401,
54,
24352,
11,
5923,
1797,
2751,
16034,
11,
16289,
3963,
6375,
3268,
7102,
45,
24565,
198,
2,
13315,
3336,
47466,
6375,
3336,
23210,
6375,
25401,
5550,
1847,
20754,
3268,
3336,
47466,
13,
198,
6738,
11593,
37443,
834,
1330,
3601,
62,
8818,
198,
198,
834,
260,
10178,
834,
796,
366,
10677,
14,
18392,
14,
6173,
684,
14,
19667,
14,
10652,
13,
9078,
1332,
62,
11848,
25,
19,
33394,
25,
11848,
10210,
17,
12993,
1453,
17,
1860,
2177,
14,
2919,
14,
2481,
1511,
25,
3270,
25,
2857,
275,
9945,
2860,
519,
1,
198,
198,
11748,
24714,
15699,
198,
11748,
28686,
198,
11748,
302,
198,
11748,
4423,
346,
198,
11748,
1185,
198,
11748,
25064,
198,
11748,
640,
198,
11748,
40481,
82,
198,
198,
11748,
6374,
684,
13,
12502,
198,
11748,
6374,
684,
13,
27509,
198,
6738,
6374,
684,
13,
27509,
1330,
2604,
33384,
12443,
341,
198,
11748,
6374,
684,
13,
9139,
5965,
198,
11748,
6374,
684,
13,
13579,
78,
1096,
198,
11748,
6374,
684,
13,
19667,
198,
11748,
6374,
684,
13,
19667,
13,
40489,
198,
11748,
6374,
684,
13,
7004,
301,
198,
11748,
6374,
684,
13,
18274,
346,
198,
11748,
6374,
684,
13,
54,
1501,
654,
198,
198,
6738,
6374,
684,
13,
27509,
1330,
34912,
198,
198,
4798,
62,
646,
489,
5344,
796,
657,
628,
198,
4299,
629,
684,
570,
62,
15908,
7,
17440,
2599,
198,
220,
220,
220,
37227,
13615,
262,
764,
1416,
684,
570,
2393,
7508,
329,
428,
8619,
11,
198,
220,
220,
220,
4441,
340,
717,
611,
3306,
526,
15931,
198,
220,
220,
220,
611,
407,
10139,
13557,
1416,
684,
570,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1330,
6374,
684,
13,
6173,
684,
570,
198,
220,
220,
220,
220,
220,
220,
220,
10139,
13557,
1416,
684,
570,
796,
6374,
684,
13,
6173,
684,
570,
13,
1890,
43055,
7,
17440,
8,
198,
220,
220,
220,
1441,
10139,
13557,
1416,
684,
570,
198,
198,
62,
1416,
684,
570,
62,
8899,
796,
1391,
15,
1058,
629,
684,
570,
62,
23108,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
352,
1058,
629,
684,
570,
62,
15908,
92,
198,
198,
4871,
21617,
44148,
33682,
12331,
7,
33682,
12331,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1052,
3460,
4163,
12331,
47611,
329,
8296,
290,
19407,
262,
1438,
198,
220,
220,
220,
286,
262,
10238,
21617,
2950,
287,
281,
3460,
4163,
12331,
6631,
13,
198,
220,
220,
220,
37227,
198,
198,
2,
383,
3509,
62,
7109,
2135,
1988,
25,
220,
416,
4277,
11,
779,
257,
39986,
9877,
1988,
329,
198,
2,
597,
2393,
326,
338,
587,
36519,
329,
517,
621,
734,
1528,
13,
198,
12286,
62,
9806,
62,
7109,
2135,
796,
362,
9,
1731,
9,
1899,
9,
1899,
198,
198,
2,
198,
2,
775,
4731,
1958,
777,
2393,
1080,
399,
4147,
257,
1256,
13,
220,
36143,
257,
2393,
1080,
19081,
198,
2,
656,
257,
4731,
318,
1729,
12,
83,
15104,
498,
11,
780,
262,
2457,
4731,
10552,
198,
2,
460,
4745,
319,
257,
1256,
286,
5087,
25,
220,
1771,
340,
338,
257,
10944,
2496,
393,
407,
11,
198,
2,
1771,
340,
338,
6692,
284,
257,
16099,
393,
2723,
8619,
11,
290,
1771,
198,
2,
612,
338,
50124,
1016,
319,
13,
220,
383,
3487,
8173,
329,
45780,
198,
2,
16765,
588,
428,
318,
284,
16155,
1096,
357,
23870,
8,
262,
4731,
1988,
11,
523,
345,
198,
2,
691,
423,
284,
466,
262,
17952,
1752,
13,
198,
2,
198,
2,
317,
1271,
286,
262,
2029,
5087,
11,
2158,
11,
460,
307,
900,
706,
356,
1053,
1541,
198,
2,
587,
1965,
284,
1441,
257,
4731,
329,
257,
19081,
11,
780,
257,
1432,
13264,
3419,
393,
198,
2,
38215,
35277,
3419,
869,
393,
262,
588,
743,
407,
3051,
1566,
1568,
287,
6374,
684,
6519,
198,
2,
3696,
13,
220,
1406,
428,
7885,
6973,
1771,
356,
11393,
2111,
284,
3613,
198,
2,
4731,
3815,
329,
399,
4147,
13,
220,
383,
29908,
7071,
460,
900,
428,
8797,
198,
2,
484,
821,
1760,
285,
19296,
351,
1432,
13264,
290,
38215,
35277,
290,
262,
584,
3404,
11,
198,
2,
284,
1309,
428,
8265,
760,
340,
460,
923,
8024,
7448,
4731,
3815,
198,
2,
329,
399,
4147,
13,
198,
2,
198,
16928,
62,
13290,
654,
796,
6045,
198,
198,
2,
198,
2,
24390,
13114,
2163,
3848,
416,
8296,
257,
41146,
1988,
326,
198,
2,
4952,
514,
1771,
393,
407,
28686,
13,
6978,
13,
35312,
19472,
3419,
1682,
857,
1997,
198,
2,
319,
428,
1080,
11,
290,
4361,
1771,
356,
761,
284,
11393,
4585,
340,
198,
2,
618,
2045,
510,
3108,
3891,
287,
2972,
5050,
2174,
13,
198,
2,
198,
198,
4598,
62,
35312,
19472,
796,
6045,
198,
62,
1820,
62,
35312,
19472,
796,
14202,
198,
198,
36733,
1096,
62,
4598,
62,
35312,
19472,
3419,
198,
198,
2,
16718,
284,
3368,
39744,
28686,
13,
6978,
13,
27237,
6978,
611,
407,
3306,
13,
198,
50032,
62,
27237,
6978,
62,
9122,
796,
302,
13,
5589,
576,
7,
198,
220,
220,
220,
374,
7061,
6,
198,
220,
220,
220,
220,
220,
1303,
775,
761,
284,
8851,
6636,
1096,
262,
3108,
611,
340,
4909,
597,
12785,
198,
220,
220,
220,
220,
220,
1303,
31051,
6,
3435,
13,
198,
220,
220,
220,
220,
220,
764,
9,
1003,
930,
628,
220,
220,
220,
220,
220,
1303,
775,
761,
284,
8851,
6636,
1096,
262,
3108,
611,
340,
4909,
257,
705,
492,
6,
8619,
13,
198,
220,
220,
220,
220,
220,
1303,
5740,
326,
356,
2198,
329,
477,
262,
1708,
2663,
25,
198,
220,
220,
220,
220,
220,
1303,
198,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
257,
8,
383,
3108,
318,
257,
2060,
705,
492,
6,
198,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
275,
8,
383,
3108,
4940,
351,
705,
492,
4458,
412,
13,
70,
13,
705,
40720,
6,
393,
705,
40720,
76,
1850,
17062,
6,
198,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
475,
356,
407,
2872,
705,
492,
39305,
14,
4458,
198,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
269,
8,
383,
3108,
5645,
351,
705,
492,
4458,
412,
13,
70,
13,
31051,
492,
6,
393,
705,
15908,
82,
14,
492,
6,
198,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
288,
8,
383,
3108,
4909,
257,
705,
492,
6,
287,
262,
3504,
13,
198,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
412,
13,
70,
13,
288,
17062,
14,
40720,
76,
1850,
17062,
628,
220,
220,
220,
220,
220,
357,
15885,
14,
19427,
17405,
59,
12195,
30,
14079,
91,
3,
8,
930,
628,
220,
220,
220,
220,
220,
1303,
775,
761,
284,
8851,
6636,
1096,
262,
3108,
611,
340,
4909,
257,
705,
2637,
198,
220,
220,
220,
220,
220,
1303,
8619,
11,
475,
5626,
611,
340,
318,
257,
2060,
705,
2637,
220,
31051,
6,
3435,
13,
775,
198,
220,
220,
220,
220,
220,
1303,
466,
407,
765,
284,
2872,
257,
2060,
705,
2637,
780,
428,
1339,
318,
10667,
198,
220,
220,
220,
220,
220,
1303,
329,
11777,
1201,
428,
318,
2219,
1576,
1339,
13,
198,
220,
220,
220,
220,
220,
1303,
198,
220,
220,
220,
220,
220,
1303,
5740,
326,
356,
2198,
329,
477,
262,
1708,
2663,
25,
198,
220,
220,
220,
220,
220,
1303,
198,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
257,
8,
775,
836,
470,
2872,
257,
2060,
705,
2637,
198,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
275,
8,
775,
2872,
611,
262,
3108,
4940,
351,
705,
2637,
13,
412,
13,
70,
13,
705,
19571,
6,
393,
198,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
705,
19571,
76,
1850,
17062,
6,
475,
356,
407,
2872,
45302,
39305,
14,
4458,
198,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
269,
8,
775,
2872,
611,
262,
3108,
5645,
351,
705,
2637,
13,
412,
13,
70,
13,
31051,
2637,
393,
198,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
705,
15908,
82,
14,
2637,
198,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
288,
8,
775,
2872,
611,
262,
3108,
4909,
257,
705,
2637,
287,
262,
3504,
13,
198,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
412,
13,
70,
13,
288,
17062,
11757,
14,
76,
1850,
17062,
628,
220,
220,
220,
220,
220,
3467,
19571,
91,
15885,
14,
59,
12195,
30,
14079,
91,
3,
8,
628,
220,
220,
220,
10148,
3256,
198,
220,
220,
220,
302,
13,
5959,
33,
14058,
198,
220,
220,
220,
1267,
198,
50032,
62,
27237,
6978,
62,
15699,
796,
2476,
62,
27237,
6978,
62,
9122,
13,
15699,
198,
198,
2,
198,
2,
6374,
684,
13,
12502,
5563,
329,
24986,
351,
262,
2354,
995,
13,
198,
2,
198,
2,
383,
19081,
13,
10652,
5050,
287,
428,
8265,
815,
779,
777,
4028,
284,
198,
2,
2251,
290,
14,
273,
4781,
3696,
290,
29196,
26,
484,
815,
1635,
1662,
9,
779,
198,
2,
28686,
13,
90,
8726,
11,
1837,
4029,
676,
11,
403,
8726,
11,
28015,
15908,
92,
22784,
3503,
1539,
3264,
13,
198,
2,
198,
2,
8554,
777,
6374,
684,
13,
12502,
5563,
19047,
326,
16969,
286,
777,
198,
2,
7097,
4568,
389,
6105,
9066,
11,
326,
262,
11298,
389,
198,
2,
25822,
618,
262,
532,
82,
357,
18217,
298,
8,
3038,
318,
973,
11,
290,
357,
1712,
11003,
8,
198,
2,
262,
4028,
389,
10058,
618,
262,
262,
532,
77,
3038,
318,
973,
11,
287,
543,
1339,
198,
2,
612,
815,
307,
1635,
3919,
9,
2458,
284,
262,
7097,
2393,
1080,
7,
82,
26513,
198,
2,
198,
198,
2,
1114,
2735,
15560,
1327,
1222,
2705,
28751,
329,
1592,
2624,
198,
2,
350,
56,
18,
6971,
606,
11,
475,
262,
1334,
286,
6374,
684,
318,
407,
3492,
329,
428,
198,
2,
287,
617,
2663,
2836,
21627,
743,
307,
2672,
13,
198,
2,
16926,
46,
25,
4091,
611,
262,
411,
257,
6397,
835,
284,
7139,
1262,
6117,
319,
1592,
2624,
14,
2414,
198,
198,
361,
468,
35226,
7,
418,
11,
705,
8726,
11537,
290,
25064,
13,
24254,
14512,
705,
5404,
2624,
10354,
198,
17772,
25,
198,
220,
220,
220,
4808,
10424,
8726,
62,
20786,
796,
6045,
198,
198,
361,
468,
35226,
7,
418,
11,
705,
1837,
4029,
676,
11537,
290,
25064,
13,
24254,
14512,
705,
5404,
2624,
10354,
198,
17772,
25,
198,
220,
220,
220,
4808,
4215,
8726,
62,
20786,
796,
6045,
628,
198,
47139,
62,
35660,
489,
16856,
796,
37250,
10424,
12,
4215,
12,
30073,
3256,
705,
4215,
12,
10424,
12,
30073,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
10424,
12,
30073,
3256,
705,
4215,
12,
30073,
3256,
705,
30073,
20520,
198,
198,
11280,
62,
24629,
6359,
796,
17635,
1303,
4909,
262,
869,
2977,
286,
262,
7368,
50124,
3918,
198,
198,
11280,
796,
6374,
684,
13,
12502,
13,
12502,
7,
11280,
37,
19524,
11,
6045,
8,
198,
198,
14565,
29881,
796,
6374,
684,
13,
12502,
13,
12502,
7,
11280,
37,
19524,
11,
10714,
10100,
8,
198,
198,
3118,
8726,
796,
6374,
684,
13,
12502,
13,
12502,
7,
3118,
8726,
37,
19524,
11,
6045,
8,
198,
198,
44,
74,
15908,
796,
6374,
684,
13,
12502,
13,
12502,
7,
44,
74,
15908,
37,
19524,
11,
6045,
11,
906,
549,
28,
14202,
8,
198,
198,
44,
74,
15908,
32875,
796,
6045,
198,
198,
62,
8423,
796,
4808,
35067,
3419,
198,
198,
2,
5934,
70,
5404,
338,
28686,
13,
6978,
13,
27237,
7442,
2181,
2412,
340,
338,
319,
257,
1339,
12,
30176,
29905,
13,
198,
62,
271,
62,
948,
70,
5404,
796,
25064,
13,
24254,
6624,
366,
948,
70,
5404,
1,
198,
361,
28686,
13,
6978,
13,
27237,
7442,
7203,
6767,
1273,
4943,
6624,
28686,
13,
6978,
13,
27237,
6978,
7203,
6767,
1273,
4943,
290,
407,
4808,
271,
62,
948,
70,
5404,
25,
198,
17772,
25,
628,
628,
198,
198,
39531,
9122,
62,
15699,
796,
31664,
9787,
263,
10786,
15699,
3256,
466,
62,
39531,
9122,
62,
15699,
11,
8856,
62,
39531,
9122,
62,
15699,
8,
198,
198,
39531,
9122,
364,
796,
685,
198,
220,
220,
220,
11898,
9122,
62,
15699,
11,
198,
60,
628,
628,
198,
4871,
7308,
7,
6173,
684,
13,
19667,
13,
19667,
2599,
198,
220,
220,
220,
37227,
32,
14276,
1398,
329,
2393,
1080,
12784,
13,
220,
770,
1398,
318,
329,
198,
220,
220,
220,
618,
356,
836,
470,
760,
1865,
1771,
262,
5726,
852,
3114,
510,
318,
257,
2393,
198,
220,
220,
220,
393,
257,
8619,
13,
220,
2262,
1817,
286,
428,
1398,
460,
17488,
656,
2035,
198,
220,
220,
220,
36202,
393,
9220,
5563,
416,
257,
1568,
11,
517,
7141,
35847,
13,
628,
220,
220,
220,
5740,
25,
428,
1398,
857,
407,
8160,
11593,
48991,
834,
290,
11593,
17831,
834,
329,
198,
220,
220,
220,
9332,
3840,
13,
220,
6374,
684,
857,
257,
1256,
286,
14176,
286,
198,
220,
220,
220,
19081,
13,
10652,
13,
90,
14881,
11,
30150,
11,
8979,
11,
35277,
92,
5563,
11,
523,
883,
4560,
1276,
307,
198,
220,
220,
220,
355,
3049,
355,
1744,
11,
543,
1724,
356,
765,
284,
779,
11361,
338,
3170,
12,
259,
198,
220,
220,
220,
2134,
5369,
17909,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
11593,
6649,
1747,
834,
796,
37250,
3672,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9501,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
62,
397,
2777,
776,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
62,
23912,
2777,
776,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
62,
6978,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
62,
83,
6978,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
62,
6978,
62,
68,
3639,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
15908,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
66,
16993,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
646,
489,
5344,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
62,
12001,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
82,
38272,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
62,
36436,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
62,
20786,
62,
1416,
684,
570,
20520,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
1438,
11,
8619,
11,
43458,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
24243,
1096,
257,
14276,
19081,
13,
10652,
13,
14881,
2134,
13,
628,
220,
220,
220,
220,
220,
220,
220,
4889,
262,
2208,
4871,
37588,
11,
1011,
1337,
286,
4634,
510,
198,
220,
220,
220,
220,
220,
220,
220,
674,
3585,
290,
4112,
13532,
11,
5911,
674,
2560,
198,
220,
220,
220,
220,
220,
220,
220,
8619,
11,
290,
7603,
326,
428,
10139,
815,
779,
198,
220,
220,
220,
220,
220,
220,
220,
17239,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
611,
6374,
684,
13,
27509,
13,
11659,
62,
8625,
1817,
25,
2604,
33384,
12443,
341,
7,
944,
11,
705,
19667,
13,
10652,
13,
14881,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
6374,
684,
13,
19667,
13,
19667,
13,
834,
15003,
834,
7,
944,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
7066,
268,
1047,
290,
13532,
389,
2192,
46823,
290,
389,
1788,
6,
276,
284,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
3613,
617,
4088,
13,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
25,
7066,
12453,
351,
7552,
355,
340,
373,
7368,
618,
262,
2134,
373,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
25,
2727,
26,
284,
7330,
29905,
3108,
11,
779,
11361,
965,
3419,
2163,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
3672,
796,
6374,
684,
13,
18274,
346,
13,
18217,
298,
62,
23124,
7,
3672,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
9501,
796,
43458,
1303,
25,
20984,
284,
2560,
19081,
13,
10652,
2134,
628,
220,
220,
220,
220,
220,
220,
220,
6818,
8619,
11,
366,
32,
8619,
1276,
307,
2810,
1,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
397,
2777,
776,
796,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
23912,
2777,
776,
796,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
6978,
796,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
83,
6978,
796,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
6978,
62,
68,
3639,
796,
6045,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
15908,
796,
8619,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
66,
16993,
796,
6045,
1303,
481,
1745,
262,
6374,
684,
6519,
8619,
329,
2496,
13760,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
646,
489,
5344,
796,
8619,
13,
646,
489,
5344,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
40985,
62,
20777,
62,
12957,
62,
11249,
796,
362,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
20786,
62,
1416,
684,
570,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
20786,
62,
1069,
1023,
796,
362,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
20786,
62,
21510,
1023,
796,
362,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
20786,
62,
1136,
62,
3642,
658,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
20786,
62,
16793,
62,
6738,
62,
10459,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
8095,
62,
10951,
796,
352,
628,
220,
220,
220,
825,
1276,
62,
1350,
62,
31642,
7,
944,
11,
479,
31172,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
770,
10139,
11,
543,
1541,
11196,
11,
318,
852,
3114,
510,
355,
262,
198,
220,
220,
220,
220,
220,
220,
220,
7368,
479,
31172,
13,
220,
35123,
281,
6631,
611,
340,
2125,
470,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
611,
318,
39098,
7,
944,
11,
479,
31172,
8,
393,
479,
31172,
318,
21617,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
198,
220,
220,
220,
220,
220,
220,
220,
5298,
5994,
12331,
7203,
51,
2228,
284,
35847,
4064,
82,
705,
4,
82,
6,
355,
257,
4064,
82,
526,
4064,
59,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
944,
13,
834,
4871,
834,
13,
834,
3672,
834,
11,
2116,
13,
1136,
62,
32538,
62,
6978,
22784,
479,
31172,
13,
834,
3672,
834,
4008,
628,
220,
220,
220,
825,
11593,
1136,
35226,
834,
7,
944,
11,
708,
81,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
17083,
351,
262,
10139,
62,
65,
86,
5589,
8633,
5447,
2174,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
428,
2446,
3769,
257,
2829,
19528,
17764,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7679,
329,
262,
19081,
12608,
705,
397,
2777,
776,
3256,
705,
23912,
2777,
776,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6978,
3256,
705,
83,
6978,
3256,
705,
37333,
844,
6,
290,
705,
6978,
62,
68,
3639,
4458,
2312,
19081,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12608,
973,
284,
307,
3264,
1695,
287,
410,
17,
13,
18,
290,
2961,
11,
475,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
423,
587,
6928,
416,
651,
353,
5050,
326,
41216,
262,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2060,
9633,
37296,
813,
618,
2672,
11,
287,
1502,
284,
3613,
4088,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
2266,
4154,
284,
262,
651,
1010,
8781,
4697,
20003,
290,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
311,
42316,
2555,
284,
670,
1231,
597,
3224,
2458,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3938,
13245,
284,
262,
2836,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5740,
11,
326,
11593,
1136,
35226,
834,
318,
691,
1444,
355,
2121,
1891,
618,
262,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9167,
11688,
460,
470,
307,
1043,
11,
523,
612,
815,
307,
645,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2866,
2854,
7389,
2950,
329,
3210,
12188,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
611,
708,
81,
287,
10139,
62,
65,
86,
5589,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
10139,
62,
65,
86,
5589,
58,
35226,
16151,
944,
8,
628,
220,
220,
220,
220,
220,
220,
220,
5298,
3460,
4163,
12331,
7203,
4,
81,
2134,
468,
645,
11688,
4064,
81,
1,
4064,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
944,
13,
834,
4871,
834,
11,
708,
81,
4008,
628,
220,
220,
220,
825,
11593,
2536,
834,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
32,
19081,
13,
10652,
13,
14881,
2134,
338,
4731,
10552,
318,
663,
3108,
198,
220,
220,
220,
220,
220,
220,
220,
1438,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
3298,
12793,
62,
13290,
654,
198,
220,
220,
220,
220,
220,
220,
220,
611,
12793,
62,
13290,
654,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
21928,
62,
2536,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
1136,
62,
2536,
3419,
628,
220,
220,
220,
825,
11593,
2528,
834,
7,
944,
11,
584,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
1342,
621,
10088,
973,
416,
29407,
319,
12972,
18,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
965,
7,
944,
8,
1279,
965,
7,
847,
8,
628,
220,
220,
220,
2488,
6173,
684,
13,
13579,
78,
1096,
13,
12332,
17410,
14134,
628,
220,
220,
220,
374,
2536,
796,
11593,
2536,
834,
628,
220,
220,
220,
2488,
6173,
684,
13,
13579,
78,
1096,
13,
12332,
17410,
14134,
628,
220,
220,
220,
611,
468,
35226,
7,
418,
11,
705,
1837,
4029,
676,
6,
2599,
198,
220,
220,
220,
2073,
25,
628,
220,
220,
220,
825,
12351,
17440,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
1532,
428,
10139,
318,
287,
257,
1382,
3108,
11,
1441,
262,
10139,
198,
220,
220,
220,
220,
220,
220,
220,
11188,
284,
663,
2723,
2393,
13,
220,
15323,
11,
1441,
198,
220,
220,
220,
220,
220,
220,
220,
674,
944,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
12351,
15908,
62,
4868,
796,
2116,
13,
15908,
13,
10677,
15908,
62,
4868,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
611,
12351,
15908,
62,
4868,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12351,
17440,
796,
12351,
15908,
62,
4868,
58,
15,
4083,
30150,
7,
944,
13,
3672,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12351,
17440,
13,
27238,
62,
1350,
62,
31642,
7,
944,
13,
834,
4871,
834,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
12351,
17440,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
628,
220,
220,
220,
825,
651,
62,
6978,
7,
944,
11,
26672,
28,
14202,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
3108,
3585,
284,
262,
1459,
1762,
8619,
286,
262,
198,
220,
220,
220,
220,
220,
220,
220,
19081,
13,
10652,
13,
14881,
2134,
326,
12216,
514,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
26672,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26672,
796,
2116,
13,
9501,
13,
1136,
66,
16993,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
6624,
26672,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
705,
2637,
198,
220,
220,
220,
220,
220,
220,
220,
3108,
62,
11129,
907,
796,
2116,
13,
1136,
62,
6978,
62,
68,
3639,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
3108,
3672,
796,
10148,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
1312,
796,
3108,
62,
11129,
907,
13,
9630,
7,
15908,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
11052,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
279,
287,
3108,
62,
11129,
907,
58,
21912,
16,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3108,
3672,
15853,
279,
13,
15908,
3672,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
279,
287,
3108,
62,
11129,
907,
58,
72,
10,
16,
21912,
16,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3108,
3672,
15853,
279,
13,
15908,
3672,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
3108,
3672,
1343,
3108,
62,
11129,
907,
58,
12,
16,
4083,
3672,
628,
220,
220,
220,
825,
900,
62,
10677,
62,
38272,
7,
944,
11,
27098,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
7248,
262,
2723,
2438,
27098,
329,
428,
10139,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
82,
38272,
796,
27098,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
2116,
13,
10134,
62,
38272,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
38272,
62,
2617,
7,
38272,
8,
628,
220,
220,
220,
825,
12351,
62,
38272,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
37,
7569,
262,
2723,
2438,
27098,
329,
428,
10139,
13,
628,
220,
220,
220,
220,
220,
220,
220,
1002,
612,
2125,
470,
530,
11,
356,
12940,
262,
2723,
2438,
27098,
7368,
198,
220,
220,
220,
220,
220,
220,
220,
329,
262,
8619,
357,
4758,
287,
1210,
481,
12940,
262,
1988,
422,
663,
198,
220,
220,
220,
220,
220,
220,
220,
2560,
8619,
11,
290,
523,
319,
510,
284,
262,
2393,
1080,
6808,
737,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
629,
65,
796,
2116,
13,
82,
38272,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
3460,
4163,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
629,
65,
796,
2116,
13,
15908,
13,
10677,
62,
38272,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
82,
38272,
796,
629,
65,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
629,
65,
628,
220,
220,
220,
825,
651,
62,
397,
2777,
776,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
3855,
262,
4112,
3108,
286,
262,
2393,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
15908,
13,
13000,
62,
397,
2777,
776,
7,
944,
13,
3672,
8,
628,
220,
220,
220,
825,
651,
62,
23912,
2777,
776,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
3855,
262,
4112,
3108,
286,
262,
2393,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
15908,
13,
13000,
62,
23912,
2777,
776,
7,
944,
13,
3672,
8,
628,
220,
220,
220,
825,
2496,
62,
6738,
62,
10459,
7,
944,
11,
21231,
11,
35488,
11,
4328,
578,
742,
28,
6173,
684,
13,
18274,
346,
13,
22018,
578,
742,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
628,
220,
220,
220,
220,
220,
220,
220,
2980,
689,
257,
2496,
5726,
326,
24866,
284,
428,
5726,
357,
23073,
198,
220,
220,
220,
220,
220,
220,
220,
257,
2723,
2393,
8,
351,
262,
7368,
21231,
290,
35488,
13,
628,
220,
220,
220,
220,
220,
220,
220,
5740,
326,
428,
2446,
460,
307,
23170,
4651,
32366,
329,
7560,
198,
220,
220,
220,
220,
220,
220,
220,
3696,
326,
761,
1180,
4069,
13,
220,
4091,
16984,
14,
2032,
328,
13,
9078,
329,
198,
220,
220,
220,
220,
220,
220,
220,
281,
1672,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
6374,
684,
13,
19667,
13557,
16793,
62,
6738,
62,
10459,
62,
8899,
58,
944,
13557,
20786,
62,
16793,
62,
6738,
62,
10459,
16151,
944,
11,
21231,
11,
35488,
11,
4328,
578,
742,
8,
628,
220,
220,
220,
2488,
6173,
684,
13,
13579,
78,
1096,
13,
12332,
35,
713,
14134,
28264,
49,
19796,
282,
335,
17062,
62,
2539,
8,
198,
220,
220,
220,
825,
371,
19796,
282,
335,
17062,
7,
944,
11,
3108,
4868,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
8229,
477,
286,
262,
29196,
329,
257,
1813,
3108,
1351,
11,
1390,
198,
220,
220,
220,
220,
220,
220,
220,
11188,
366,
1891,
278,
1,
29196,
287,
597,
38072,
13,
628,
220,
220,
220,
220,
220,
220,
220,
383,
19081,
804,
4739,
389,
3585,
284,
428,
19081,
357,
48126,
257,
198,
220,
220,
220,
220,
220,
220,
220,
8619,
828,
523,
16155,
2890,
1255,
16031,
16006,
422,
2045,
198,
220,
220,
220,
220,
220,
220,
220,
510,
262,
976,
3108,
329,
1123,
2496,
287,
257,
1813,
8619,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16155,
62,
11600,
796,
2116,
13557,
11883,
78,
17816,
49,
19796,
282,
335,
17062,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
7383,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16155,
62,
11600,
796,
23884,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
11883,
78,
17816,
49,
19796,
282,
335,
17062,
20520,
796,
16155,
62,
11600,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
16155,
62,
11600,
58,
6978,
4868,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2845,
7383,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1208,
628,
220,
220,
220,
220,
220,
220,
220,
2251,
62,
15908,
62,
43762,
62,
1462,
62,
944,
796,
2116,
13,
35277,
198,
220,
220,
220,
220,
220,
220,
220,
1255,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
329,
3108,
287,
3108,
4868,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
318,
39098,
7,
6978,
11,
6374,
684,
13,
19667,
13,
19667,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
13,
33295,
7,
6978,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26672,
796,
2251,
62,
15908,
62,
43762,
62,
1462,
62,
944,
7,
6978,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
13,
2302,
437,
7,
15908,
13,
1136,
62,
439,
62,
4372,
17062,
28955,
628,
220,
220,
220,
220,
220,
220,
220,
16155,
62,
11600,
58,
6978,
4868,
60,
796,
1255,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
1255,
628,
220,
220,
220,
825,
31475,
17062,
7,
944,
11,
3108,
4868,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
18243,
329,
257,
1351,
286,
29196,
287,
262,
1432,
13264,
1351,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
269,
16993,
796,
2116,
13,
66,
16993,
393,
2116,
13,
9501,
13557,
66,
16993,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
269,
16993,
13,
49,
19796,
282,
335,
17062,
7,
6978,
4868,
8,
628,
220,
220,
220,
2488,
6173,
684,
13,
13579,
78,
1096,
13,
12332,
17410,
14134,
198,
198,
2,
360,
713,
326,
3769,
257,
2829,
19528,
17764,
198,
2,
7679,
329,
262,
19081,
12608,
705,
397,
2777,
776,
3256,
705,
23912,
2777,
776,
3256,
198,
2,
705,
6978,
3256,
705,
83,
6978,
6,
290,
705,
6978,
62,
68,
3639,
4458,
198,
2,
2488,
3826,
7308,
13,
834,
1136,
35226,
834,
2029,
198,
17440,
62,
65,
86,
5589,
796,
1391,
6,
397,
2777,
776,
6,
1058,
7308,
13,
1136,
62,
397,
2777,
776,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23912,
2777,
776,
6,
1058,
7308,
13,
1136,
62,
23912,
2777,
776,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6978,
6,
1058,
7308,
13,
1136,
62,
32538,
62,
6978,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
83,
6978,
6,
1058,
7308,
13,
1136,
62,
83,
6978,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6978,
62,
68,
3639,
6,
1058,
7308,
13,
1136,
62,
6978,
62,
68,
3639,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
37333,
844,
6,
1058,
7308,
13,
1136,
62,
37333,
844,
92,
198,
198,
4871,
21617,
7,
14881,
2599,
198,
220,
220,
220,
37227,
1212,
318,
262,
1398,
329,
14276,
19081,
13,
10652,
12784,
438,
5562,
318,
11,
1243,
198,
220,
220,
220,
326,
714,
307,
257,
9220,
393,
257,
36202,
11,
475,
356,
821,
655,
407,
1654,
1865,
13,
198,
220,
220,
220,
24982,
11,
262,
5050,
287,
428,
1398,
1107,
2152,
655,
284,
198,
220,
220,
220,
6121,
511,
3917,
2134,
656,
262,
826,
1398,
618,
262,
198,
220,
220,
220,
640,
2058,
11,
290,
788,
869,
262,
976,
12,
13190,
2446,
287,
262,
14434,
198,
220,
220,
220,
1398,
526,
15931,
628,
220,
220,
220,
11593,
6649,
1747,
834,
796,
37250,
35836,
1008,
62,
6978,
82,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
66,
2317,
343,
62,
6359,
328,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
66,
3694,
328,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
260,
1930,
270,
1749,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
10677,
15908,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
298,
1678,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
325,
283,
1740,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
62,
1416,
684,
570,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
25641,
415,
62,
15908,
82,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
15763,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
15908,
3672,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
261,
62,
39531,
62,
298,
1678,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
30147,
62,
16793,
62,
10951,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
3642,
658,
328,
20520,
628,
220,
220,
220,
825,
595,
4131,
328,
4985,
7,
944,
11,
1276,
62,
38476,
28,
14202,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
9409,
343,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
834,
4871,
834,
796,
36202,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
24503,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
2116,
13,
4468,
576,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
834,
4871,
834,
796,
9220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
24503,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
20063,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1318,
373,
2147,
319,
12,
39531,
379,
428,
4067,
11,
523,
804,
287,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
262,
12351,
8619,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
775,
460,
470,
655,
779,
2116,
13,
10677,
17440,
3419,
3892,
1497,
780,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
326,
561,
2251,
281,
4036,
19081,
329,
428,
2393,
287,
262,
12351,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
8619,
11,
290,
612,
1244,
407,
307,
530,
13,
220,
5455,
11,
779,
262,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
26672,
62,
261,
62,
39531,
3419,
2446,
284,
766,
611,
612,
338,
1223,
319,
12,
39531,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
351,
326,
1438,
11,
287,
543,
1339,
356,
460,
467,
4058,
290,
869,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2116,
13,
10677,
17440,
3419,
284,
2251,
262,
826,
2099,
286,
5726,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12351,
15908,
796,
2116,
13,
15908,
13,
10677,
17440,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
12351,
15908,
14512,
2116,
13,
15908,
290,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12351,
15908,
13,
13000,
62,
1069,
1023,
62,
261,
62,
39531,
7,
944,
13,
3672,
8,
290,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
10677,
17440,
22446,
9409,
343,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
834,
4871,
834,
796,
36202,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
24503,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
1276,
62,
38476,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31456,
796,
366,
2949,
884,
2393,
393,
8619,
25,
705,
4,
82,
29653,
4064,
2116,
13,
1136,
62,
397,
2777,
776,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
6374,
684,
13,
9139,
5965,
13,
12982,
12331,
7,
19662,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
834,
4871,
834,
796,
9220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
24503,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
20063,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
628,
220,
220,
220,
825,
374,
7753,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
1135,
821,
257,
14276,
21617,
11,
475,
262,
24955,
318,
1682,
2045,
329,
198,
220,
220,
220,
220,
220,
220,
220,
257,
9220,
379,
428,
966,
11,
523,
17488,
656,
530,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
834,
4871,
834,
796,
9220,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
24503,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
20063,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
9220,
13,
81,
7753,
7,
944,
8,
628,
220,
220,
220,
825,
651,
62,
3642,
658,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
37,
7569,
262,
10154,
286,
262,
5726,
13,
220,
16409,
262,
2748,
13934,
198,
220,
220,
220,
220,
220,
220,
220,
10154,
286,
262,
2393,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
6374,
684,
13,
19667,
13557,
1136,
62,
3642,
658,
62,
8899,
58,
944,
13557,
20786,
62,
1136,
62,
3642,
658,
16151,
944,
8,
628,
220,
220,
220,
825,
651,
62,
5239,
62,
3642,
658,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
37,
7569,
262,
875,
9043,
2420,
10154,
286,
257,
34371,
30240,
21617,
13,
628,
220,
220,
220,
220,
220,
220,
220,
4619,
428,
815,
1441,
262,
2420,
10154,
422,
262,
2393,
198,
220,
220,
220,
220,
220,
220,
220,
1080,
11,
356,
2198,
284,
766,
656,
644,
3297,
286,
47611,
356,
815,
198,
220,
220,
220,
220,
220,
220,
220,
17488,
428,
21617,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
796,
2116,
13,
6381,
4131,
328,
4985,
7,
27238,
62,
38476,
28,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
6374,
684,
13,
9139,
5965,
13,
12982,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1318,
373,
2147,
319,
11898,
351,
543,
284,
595,
4131,
328,
4985,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
428,
5726,
13,
220,
17446,
340,
355,
281,
21617,
11,
475,
1441,
257,
9242,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
4731,
523,
3848,
284,
651,
62,
5239,
62,
3642,
658,
3419,
287,
27588,
1010,
290,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
262,
588,
357,
68,
13,
70,
13,
287,
10662,
83,
13,
9078,
8,
836,
470,
423,
284,
595,
4131,
328,
4985,
416,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1021,
393,
4929,
262,
6631,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
10148,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
1136,
62,
5239,
62,
3642,
658,
3419,
628,
220,
220,
220,
825,
1276,
62,
1350,
62,
31642,
7,
944,
11,
479,
31172,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
34,
4262,
284,
787,
1654,
257,
19081,
318,
257,
36202,
13,
220,
4619,
356,
821,
281,
198,
220,
220,
220,
220,
220,
220,
220,
21617,
11,
356,
460,
17488,
656,
530,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
834,
4871,
834,
318,
407,
479,
31172,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
834,
4871,
834,
796,
479,
31172,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
24503,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
20063,
3419,
628,
220,
220,
220,
1303,
383,
1708,
5050,
460,
651,
1444,
878,
262,
15941,
9866,
468,
198,
220,
220,
220,
1303,
550,
257,
2863,
284,
869,
595,
4131,
328,
4985,
3419,
3264,
284,
766,
611,
428,
21617,
198,
220,
220,
220,
1303,
815,
1107,
307,
257,
36202,
393,
257,
9220,
13,
220,
775,
4361,
779,
777,
284,
869,
198,
220,
220,
220,
1303,
595,
4131,
328,
4985,
3419,
13245,
306,
357,
6738,
674,
24955,
338,
966,
286,
1570,
737,
198,
220,
220,
220,
1303,
198,
220,
220,
220,
1303,
6498,
783,
11,
428,
10926,
900,
286,
5050,
468,
587,
10944,
416,
655,
198,
220,
220,
220,
1303,
2045,
379,
617,
286,
262,
5050,
326,
481,
6189,
307,
1444,
1903,
198,
220,
220,
220,
1303,
287,
597,
286,
262,
2972,
15941,
40706,
6,
4585,
16311,
11,
290,
788,
198,
220,
220,
220,
1303,
18097,
1146,
22714,
503,
543,
3224,
5050,
389,
3306,
198,
220,
220,
220,
1303,
284,
787,
2972,
5254,
1208,
13,
198,
198,
2,
770,
318,
329,
1568,
523,
356,
460,
28754,
1022,
21617,
262,
1398,
290,
21617,
198,
2,
262,
2446,
286,
262,
23324,
1398,
13,
198,
62,
4871,
30150,
796,
21617,
628,
198,
198,
4743,
672,
62,
32707,
62,
9122,
796,
302,
13,
5589,
576,
10786,
58,
9,
30,
21737,
11537,
198,
198,
4871,
36202,
7,
14881,
2599,
198,
220,
220,
220,
37227,
32,
1398,
329,
29196,
287,
257,
2393,
1080,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
11593,
6649,
1747,
834,
796,
37250,
35836,
1008,
62,
6978,
82,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
66,
2317,
343,
62,
6359,
328,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
66,
3694,
328,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
260,
1930,
270,
1749,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
10677,
15908,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
298,
1678,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
325,
283,
1740,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
62,
1416,
684,
570,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
25641,
415,
62,
15908,
82,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
15763,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
15908,
3672,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
261,
62,
39531,
62,
298,
1678,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
30147,
62,
16793,
62,
10951,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
3642,
658,
328,
20520,
628,
220,
220,
220,
19081,
12360,
796,
36202,
19667,
12360,
198,
220,
220,
220,
10934,
12360,
796,
36202,
15580,
12360,
628,
220,
220,
220,
825,
4808,
24503,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
17278,
257,
2393,
1080,
19081,
357,
31336,
257,
29026,
23224,
8619,
198,
220,
220,
220,
220,
220,
220,
220,
2134,
393,
257,
4553,
21617,
2134,
8,
656,
257,
1774,
8619,
2134,
13,
628,
220,
220,
220,
220,
220,
220,
220,
5345,
510,
428,
8619,
338,
12784,
290,
8011,
340,
656,
262,
2393,
198,
220,
220,
220,
220,
220,
220,
220,
1080,
5509,
13,
220,
18291,
1958,
326,
29196,
357,
5661,
19081,
8,
836,
470,
779,
198,
220,
220,
220,
220,
220,
220,
220,
17239,
329,
26019,
1771,
484,
821,
1459,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
260,
1930,
270,
1749,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
10677,
15908,
796,
6045,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
298,
1678,
796,
23884,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
298,
1678,
17816,
2637,
60,
796,
2116,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
298,
1678,
17816,
492,
20520,
796,
2116,
13,
15908,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
66,
16993,
796,
2116,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
325,
283,
1740,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
1416,
684,
570,
796,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
25641,
415,
62,
15908,
82,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
15763,
796,
2116,
13,
15908,
13,
15763,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
40985,
62,
20777,
62,
12957,
62,
11249,
796,
513,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
20786,
62,
1416,
684,
570,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
20786,
62,
1069,
1023,
796,
362,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
20786,
62,
1136,
62,
3642,
658,
796,
362,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
397,
2777,
776,
796,
6374,
684,
13,
18274,
346,
13,
18217,
298,
62,
23124,
7,
944,
13,
15908,
13,
13000,
62,
397,
2777,
776,
7,
944,
13,
3672,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
23912,
2777,
776,
796,
6374,
684,
13,
18274,
346,
13,
18217,
298,
62,
23124,
7,
944,
13,
15908,
13,
13000,
62,
23912,
2777,
776,
7,
944,
13,
3672,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
15908,
13557,
6978,
6624,
705,
2637,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
6978,
796,
6374,
684,
13,
18274,
346,
13,
18217,
298,
62,
23124,
7,
944,
13,
3672,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
6978,
796,
6374,
684,
13,
18274,
346,
13,
18217,
298,
62,
23124,
7,
944,
13,
15908,
13,
13000,
62,
6978,
7,
944,
13,
3672,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
15908,
13557,
83,
6978,
6624,
705,
2637,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
83,
6978,
796,
6374,
684,
13,
18274,
346,
13,
18217,
298,
62,
23124,
7,
944,
13,
3672,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
83,
6978,
796,
6374,
684,
13,
18274,
346,
13,
18217,
298,
62,
23124,
7,
944,
13,
15908,
13,
13000,
62,
83,
6978,
7,
944,
13,
3672,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
6978,
62,
68,
3639,
796,
2116,
13,
15908,
13557,
6978,
62,
68,
3639,
1343,
685,
944,
60,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
1114,
29196,
11,
356,
787,
257,
3580,
1022,
262,
8619,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
705,
3672,
6,
290,
262,
8619,
705,
15908,
3672,
4458,
383,
705,
3672,
6,
11688,
318,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
973,
618,
356,
761,
284,
262,
705,
3672,
6,
286,
262,
8619,
393,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
618,
356,
340,
318,
973,
355,
262,
938,
636,
286,
257,
3108,
13,
383,
705,
15908,
3672,
6,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
318,
973,
618,
262,
8619,
318,
407,
262,
938,
5002,
286,
262,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
3108,
13,
383,
1388,
1738,
329,
1642,
326,
12941,
318,
326,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
329,
371,
2675,
35277,
338,
262,
26672,
3672,
460,
407,
307,
3538,
41240,
422,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
262,
1438,
13,
1114,
1672,
11,
356,
423,
284,
751,
257,
31051,
6,
706,
257,
3708,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
3850,
475,
407,
706,
257,
39151,
3108,
21231,
19203,
1003,
27691,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
15908,
3672,
796,
2116,
13,
3672,
1343,
7294,
62,
5188,
47,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
2094,
470,
655,
13259,
262,
3121,
273,
11,
6330,
663,
2223,
1351,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
780,
340,
1244,
423,
617,
662,
12,
273,
1281,
12,
4658,
326,
761,
284,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
307,
17232,
13,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
887,
836,
470,
13259,
262,
3121,
273,
611,
612,
318,
257,
1729,
12,
8423,
3121,
273,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
7223,
1541,
13,
383,
4683,
3121,
273,
1244,
423,
584,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
6670,
11,
287,
543,
1339,
13586,
262,
2223,
1351,
351,
257,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
24798,
15908,
2223,
318,
257,
1263,
7457,
13,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
468,
35226,
7,
944,
11,
705,
18558,
38409,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
38272,
796,
651,
62,
44,
74,
15908,
32875,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
1136,
62,
18558,
38409,
22446,
2617,
62,
2673,
62,
4868,
7,
944,
13,
38272,
13,
2673,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
19141,
437,
24798,
15908,
32875,
2223,
284,
4683,
2223,
1351,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
300,
796,
2116,
13,
1136,
62,
18558,
38409,
22446,
2673,
62,
4868,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
257,
796,
651,
62,
44,
74,
15908,
32875,
22446,
2673,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
300,
13,
28463,
7,
15,
11,
257,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
1136,
62,
18558,
38409,
22446,
2617,
62,
2673,
62,
4868,
7,
75,
8,
628,
220,
220,
220,
825,
11593,
20063,
6207,
13264,
30562,
7,
944,
11,
23418,
28,
14202,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
34,
4262,
618,
356,
1487,
262,
16099,
7,
444,
8,
329,
257,
8619,
13,
198,
220,
220,
220,
220,
220,
220,
220,
770,
37526,
597,
39986,
1321,
326,
318,
12515,
515,
416,
5609,
198,
220,
220,
220,
220,
220,
220,
220,
262,
16099,
526,
15931,
628,
220,
220,
220,
220,
220,
220,
220,
329,
10139,
287,
1351,
7,
944,
13,
298,
1678,
13,
27160,
3419,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
10139,
14512,
2116,
13,
15908,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
10139,
14512,
2116,
290,
318,
39098,
7,
17440,
11,
36202,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10139,
13,
834,
20063,
6207,
13264,
30562,
7,
646,
489,
5344,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10139,
13,
20063,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1619,
10139,
13557,
10677,
260,
862,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2845,
3460,
4163,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1208,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
23418,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10139,
13,
646,
489,
5344,
28,
646,
489,
5344,
628,
220,
220,
220,
825,
21617,
7,
944,
11,
1438,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
29403,
510,
393,
8075,
281,
5726,
10139,
3706,
705,
3672,
6,
3585,
284,
198,
220,
220,
220,
220,
220,
220,
220,
428,
8619,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
9501,
13,
30150,
7,
3672,
11,
2116,
8,
628,
220,
220,
220,
825,
36202,
7,
944,
11,
1438,
11,
2251,
28,
17821,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
29403,
510,
393,
8075,
257,
8619,
10139,
3706,
705,
3672,
6,
3585,
284,
198,
220,
220,
220,
220,
220,
220,
220,
428,
8619,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
9501,
13,
35277,
7,
3672,
11,
2116,
11,
2251,
8,
628,
220,
220,
220,
825,
9220,
7,
944,
11,
1438,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
29403,
510,
393,
8075,
257,
2393,
10139,
3706,
705,
3672,
6,
3585,
284,
198,
220,
220,
220,
220,
220,
220,
220,
428,
8619,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
9501,
13,
8979,
7,
3672,
11,
2116,
8,
628,
220,
220,
220,
825,
2792,
7,
944,
11,
12351,
15908,
11,
23418,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
7248,
428,
8619,
355,
262,
15304,
8619,
329,
262,
198,
220,
220,
220,
220,
220,
220,
220,
14275,
2723,
8619,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
10677,
15908,
796,
12351,
15908,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
646,
489,
5344,
796,
23418,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
834,
20063,
6207,
13264,
30562,
7,
646,
489,
5344,
8,
198,
220,
220,
220,
220,
220,
220,
220,
12351,
15908,
13,
25641,
415,
62,
15908,
82,
13,
33295,
7,
944,
8,
628,
220,
220,
220,
825,
651,
6207,
35061,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
35561,
257,
1351,
286,
38072,
329,
428,
8619,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
10677,
15908,
290,
407,
2116,
13,
646,
489,
5344,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
10677,
15908,
13,
1136,
62,
439,
62,
4372,
17062,
3419,
1343,
2116,
13,
260,
1930,
270,
1749,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
260,
1930,
270,
1749,
628,
220,
220,
220,
2488,
6173,
684,
13,
13579,
78,
1096,
13,
12332,
17410,
14134,
628,
220,
220,
220,
2488,
6173,
684,
13,
13579,
78,
1096,
13,
12332,
35,
713,
14134,
28264,
2411,
62,
6978,
62,
2539,
8,
198,
220,
220,
220,
825,
823,
62,
6978,
7,
944,
11,
584,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
257,
3108,
284,
366,
847,
1,
3585,
284,
428,
8619,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
770,
8253,
290,
5789,
2446,
11,
543,
34175,
3585,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
13532,
1022,
14977,
19081,
13,
10652,
5563,
11,
318,
645,
2392,
973,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
416,
6374,
684,
2346,
13,
220,
632,
373,
5495,
284,
3650,
20203,
13532,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
287,
764,
1416,
684,
570,
3696,
3585,
284,
262,
2496,
11,
475,
326,
4444,
510,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
852,
5566,
30904,
13,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
775,
821,
8282,
284,
1104,
262,
2446,
780,
617,
311,
42316,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
3696,
503,
612,
2067,
1262,
340,
618,
340,
373,
1695,
11,
290,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
356,
821,
477,
546,
16196,
17764,
492,
628,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16155,
62,
11600,
796,
2116,
13557,
11883,
78,
17816,
2411,
62,
6978,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
7383,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16155,
62,
11600,
796,
23884,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
11883,
78,
17816,
2411,
62,
6978,
20520,
796,
16155,
62,
11600,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
16155,
62,
11600,
58,
847,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2845,
7383,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1208,
628,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
318,
584,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
796,
705,
2637,
628,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
407,
584,
287,
2116,
13557,
6978,
62,
68,
3639,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
584,
62,
15908,
796,
584,
13,
1136,
62,
15908,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2845,
3460,
4163,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
796,
965,
7,
847,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
584,
62,
15908,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
796,
584,
13,
3672,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26672,
62,
2411,
62,
6978,
796,
2116,
13,
2411,
62,
6978,
7,
847,
62,
15908,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
26672,
62,
2411,
62,
6978,
6624,
705,
2637,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
796,
584,
13,
3672,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
796,
26672,
62,
2411,
62,
6978,
1343,
7294,
62,
5188,
47,
1343,
584,
13,
3672,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1312,
796,
2116,
13557,
6978,
62,
68,
3639,
13,
9630,
7,
847,
8,
1343,
352,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3108,
62,
11129,
907,
796,
37250,
492,
20520,
1635,
357,
11925,
7,
944,
13557,
6978,
62,
68,
3639,
8,
532,
1312,
8,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1343,
685,
77,
13,
3672,
329,
299,
287,
584,
13557,
6978,
62,
68,
3639,
58,
72,
25,
11907,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
796,
7294,
62,
5188,
47,
13,
22179,
7,
6978,
62,
11129,
907,
8,
628,
220,
220,
220,
220,
220,
220,
220,
16155,
62,
11600,
58,
847,
60,
796,
1255,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
1255,
628,
220,
220,
220,
825,
651,
62,
9275,
62,
42813,
7,
944,
11,
17365,
11,
27474,
11,
3108,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
428,
8619,
338,
16992,
20086,
13,
628,
220,
220,
220,
220,
220,
220,
220,
775,
836,
470,
11393,
40918,
262,
2482,
780,
262,
9367,
6032,
198,
220,
220,
220,
220,
220,
220,
220,
6584,
470,
307,
9167,
517,
621,
1752,
357,
292,
6886,
284,
21976,
198,
220,
220,
220,
220,
220,
220,
220,
764,
71,
2393,
10154,
11,
543,
460,
307,
9167,
355,
867,
1661,
355,
262,
198,
220,
220,
220,
220,
220,
220,
220,
3696,
318,
1303,
259,
10341,
416,
584,
3696,
737,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
27474,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
11459,
39986,
7508,
329,
428,
36202,
13,
220,
1002,
356,
1541,
8672,
428,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
8619,
319,
674,
2513,
866,
262,
5509,
357,
13893,
356,
1422,
470,
760,
379,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
326,
966,
340,
373,
852,
973,
355,
262,
2723,
329,
1194,
19081,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
788,
356,
743,
423,
10488,
1382,
9877,
878,
20060,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
356,
550,
284,
9367,
262,
11898,
13,
220,
2735,
326,
356,
423,
284,
11,
996,
11,
356,
761,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
284,
12515,
378,
262,
1468,
10488,
9877,
523,
326,
597,
10139,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
10795,
319,
674,
8619,
4645,
3011,
530,
326,
3407,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
7508,
546,
2279,
319,
11898,
13,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
20063,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
27474,
7,
944,
11,
17365,
11,
3108,
8,
628,
220,
220,
220,
1303,
198,
220,
220,
220,
1303,
15941,
9866,
7071,
39335,
198,
220,
220,
220,
1303,
628,
220,
220,
220,
825,
1382,
7,
944,
11,
12429,
46265,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
32,
9242,
366,
38272,
1,
329,
29196,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
3298,
24798,
15908,
32875,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
38272,
318,
407,
24798,
15908,
32875,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6374,
684,
13,
19667,
13,
19667,
13,
11249,
7,
944,
11,
12429,
46265,
8,
628,
220,
220,
220,
1303,
198,
220,
220,
220,
1303,
198,
220,
220,
220,
1303,
628,
220,
220,
220,
825,
4808,
17953,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
16447,
428,
8619,
11,
24595,
290,
1231,
18916,
546,
198,
220,
220,
220,
220,
220,
220,
220,
1771,
262,
27098,
318,
262,
4277,
393,
407,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1351,
35,
17062,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
2560,
796,
2116,
198,
220,
220,
220,
220,
220,
220,
220,
981,
2560,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2560,
13,
1069,
1023,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2270,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1351,
35,
17062,
13,
33295,
7,
8000,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
279,
796,
2560,
13,
929,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
279,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2094,
470,
779,
981,
25,
532,
2073,
25,
329,
428,
4006,
780,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
611,
523,
11,
788,
2560,
318,
6045,
290,
468,
645,
764,
6978,
11688,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
6374,
684,
13,
9139,
5965,
13,
19485,
12331,
7,
8000,
13557,
6978,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2560,
796,
279,
198,
220,
220,
220,
220,
220,
220,
220,
1351,
35,
17062,
13,
50188,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
329,
26672,
17440,
287,
1351,
35,
17062,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2094,
470,
869,
26672,
17440,
13,
11249,
22784,
869,
262,
2779,
19081,
2446,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3264,
780,
356,
4753,
1635,
27238,
9,
2251,
428,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
8619,
13,
220,
383,
26672,
17440,
13,
11249,
3419,
2446,
481,
18175,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
262,
1382,
611,
340,
338,
262,
4277,
27098,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6374,
684,
13,
19667,
13,
19667,
13,
11249,
7,
15908,
17440,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26672,
17440,
13,
1136,
62,
18558,
38409,
22446,
8423,
1958,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
383,
1382,
3419,
2223,
743,
393,
743,
407,
423,
1682,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2727,
262,
8619,
11,
6906,
319,
1771,
262,
532,
77,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3038,
373,
973,
393,
407,
13,
220,
23520,
262,
4808,
1069,
1023,
290,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
4808,
21510,
1023,
12608,
523,
484,
460,
307,
302,
18206,
6605,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26672,
17440,
13,
20063,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2845,
440,
5188,
81,
1472,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1208,
628,
220,
220,
220,
825,
8343,
62,
83,
853,
1039,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
597,
11188,
6670,
287,
257,
15304,
8619,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
9501,
13,
25641,
415,
62,
15908,
62,
16793,
62,
565,
14107,
7,
944,
11,
2116,
11,
685,
12962,
628,
220,
220,
220,
825,
27474,
62,
2539,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
32,
8619,
857,
407,
651,
28660,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
6045,
628,
220,
220,
220,
825,
651,
62,
5239,
62,
3642,
658,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
1135,
1541,
27588,
1243,
287,
2420,
11,
523,
655,
1441,
262,
13934,
198,
220,
220,
220,
220,
220,
220,
220,
2196,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
1136,
62,
3642,
658,
3419,
628,
220,
220,
220,
825,
651,
62,
3642,
658,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
2695,
17239,
290,
3891,
286,
477,
674,
1751,
198,
220,
220,
220,
220,
220,
220,
220,
11266,
416,
649,
12,
6615,
13,
48987,
326,
262,
13760,
389,
23243,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
6374,
684,
13,
19667,
13557,
1136,
62,
3642,
658,
62,
8899,
58,
944,
13557,
20786,
62,
1136,
62,
3642,
658,
16151,
944,
8,
628,
220,
220,
220,
825,
651,
62,
6359,
328,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
7293,
1133,
262,
2695,
9877,
329,
27387,
13760,
13,
554,
198,
220,
220,
220,
220,
220,
220,
220,
2276,
11,
428,
318,
407,
2622,
290,
262,
2695,
9877,
318,
407,
198,
220,
220,
220,
220,
220,
220,
220,
8574,
287,
262,
36202,
19667,
12360,
13,
2102,
11,
611,
651,
62,
3642,
658,
319,
257,
36202,
198,
220,
220,
220,
220,
220,
220,
220,
10139,
318,
1444,
543,
468,
257,
1200,
8619,
11,
262,
1200,
198,
220,
220,
220,
220,
220,
220,
220,
8619,
815,
1441,
262,
12234,
286,
663,
10154,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
10154,
796,
2116,
13,
1136,
62,
3642,
658,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
6374,
684,
13,
18274,
346,
13,
12740,
20,
12683,
1300,
7,
3642,
658,
8,
628,
220,
220,
220,
825,
318,
62,
929,
62,
1462,
62,
4475,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
1532,
597,
1200,
318,
407,
510,
12,
1462,
12,
4475,
11,
788,
428,
8619,
2125,
470,
11,
198,
220,
220,
220,
220,
220,
220,
220,
2035,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
38272,
318,
407,
24798,
15908,
32875,
290,
407,
2116,
13,
1069,
1023,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
657,
198,
220,
220,
220,
220,
220,
220,
220,
510,
62,
1462,
62,
4475,
796,
6374,
684,
13,
19667,
13,
929,
62,
1462,
62,
4475,
198,
220,
220,
220,
220,
220,
220,
220,
329,
5141,
287,
2116,
13,
17197,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
5141,
13,
1136,
62,
5219,
3419,
1875,
510,
62,
1462,
62,
4475,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
657,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
352,
628,
220,
220,
220,
825,
629,
684,
570,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
262,
764,
1416,
684,
570,
2393,
7508,
329,
428,
8619,
13,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
4808,
1416,
684,
570,
62,
8899,
58,
944,
13557,
20786,
62,
1416,
684,
570,
16151,
944,
8,
628,
220,
220,
220,
825,
12351,
17440,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
35277,
468,
257,
2041,
761,
329,
12351,
17440,
3419,
986,
361,
356,
198,
220,
220,
220,
220,
220,
220,
220,
423,
257,
12351,
15908,
11688,
900,
11,
788,
326,
1635,
271,
9,
674,
12351,
17440,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
10677,
15908,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
10677,
15908,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
7308,
13,
10677,
17440,
7,
944,
8,
628,
220,
220,
220,
825,
651,
62,
16514,
27823,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
262,
3452,
41033,
422,
1871,
674,
1751,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
17977,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
329,
5141,
287,
2116,
13,
17197,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
5141,
13,
1136,
62,
16514,
27823,
3419,
1875,
17977,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17977,
796,
5141,
13,
1136,
62,
16514,
27823,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
17977,
628,
220,
220,
220,
825,
651,
62,
397,
2777,
776,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
3855,
262,
4112,
3108,
286,
262,
2393,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
397,
2777,
776,
628,
220,
220,
220,
825,
651,
62,
23912,
2777,
776,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
3855,
262,
4112,
3108,
286,
262,
2393,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
23912,
2777,
776,
628,
220,
220,
220,
825,
5726,
62,
1069,
1023,
62,
261,
62,
39531,
7,
944,
11,
1438,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
42016,
2052,
832,
262,
2393,
14,
15908,
12784,
286,
262,
1459,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8619,
11,
290,
5860,
6407,
611,
257,
3518,
5726,
351,
262,
1813,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1438,
714,
307,
1043,
13,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
3826,
5602,
563,
62,
1069,
1023,
62,
261,
62,
39531,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
796,
2116,
13,
261,
62,
39531,
62,
298,
1678,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
3460,
4163,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
796,
23884,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12784,
796,
28686,
13,
4868,
15908,
7,
944,
13557,
397,
2777,
776,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2845,
440,
5188,
81,
1472,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1208,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
5726,
287,
3975,
28264,
1820,
62,
27237,
7442,
11,
12784,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
58,
13000,
60,
796,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
261,
62,
39531,
62,
298,
1678,
796,
288,
198,
220,
220,
220,
220,
220,
220,
220,
611,
25064,
13,
24254,
6624,
705,
5404,
2624,
6,
393,
25064,
13,
24254,
6624,
705,
948,
70,
5404,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1438,
796,
4808,
1820,
62,
27237,
7442,
7,
3672,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
796,
288,
13,
1136,
7,
3672,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1255,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
16734,
12,
392,
12,
40409,
7338,
329,
3964,
25,
220,
2198,
3264,
329,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
807,
13,
18,
2393,
3891,
326,
836,
470,
905,
510,
287,
28686,
13,
4868,
15908,
22446,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
796,
28686,
13,
6978,
13,
1069,
1023,
7,
944,
13557,
397,
2777,
776,
1343,
7294,
62,
5188,
47,
1343,
1438,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
58,
3672,
60,
796,
1255,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
1255,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
1438,
287,
288,
628,
220,
220,
220,
825,
5602,
563,
62,
1069,
1023,
62,
261,
62,
39531,
7,
944,
11,
1438,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
42016,
2052,
832,
262,
2393,
14,
15908,
12784,
286,
262,
1459,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1635,
392,
9,
477,
663,
6569,
29196,
357,
260,
1930,
828,
290,
5860,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6407,
611,
257,
3518,
5726,
351,
262,
1813,
1438,
714,
307,
1043,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
1957,
8619,
357,
944,
8,
3011,
16499,
717,
11,
523,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
38072,
1011,
257,
2793,
38177,
5115,
262,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10342,
1502,
13,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
3826,
5726,
62,
1069,
1023,
62,
261,
62,
39531,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
628,
220,
220,
220,
220,
220,
220,
220,
5602,
563,
62,
1069,
1023,
796,
2116,
13,
13000,
62,
1069,
1023,
62,
261,
62,
39531,
7,
3672,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
5602,
563,
62,
1069,
1023,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
11140,
832,
262,
16099,
24512,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2593,
62,
3672,
796,
4808,
1820,
62,
27237,
7442,
7,
3672,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
374,
15908,
287,
2116,
13,
1136,
62,
439,
62,
4372,
17062,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10139,
796,
374,
15908,
13,
298,
1678,
58,
27237,
62,
3672,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
10139,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5602,
563,
62,
1069,
1023,
796,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2270,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2845,
7383,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
374,
15908,
13,
13000,
62,
1069,
1023,
62,
261,
62,
39531,
7,
3672,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5602,
563,
62,
1069,
1023,
796,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2270,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
5602,
563,
62,
1069,
1023,
628,
220,
220,
220,
2488,
6173,
684,
13,
13579,
78,
1096,
13,
12332,
17410,
14134,
628,
220,
220,
220,
2488,
6173,
684,
13,
13579,
78,
1096,
13,
12332,
35,
713,
14134,
28264,
10677,
15908,
62,
19796,
62,
7753,
62,
2539,
8,
628,
220,
220,
220,
825,
2513,
7,
944,
11,
25439,
11,
1822,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
6857,
428,
8619,
5509,
416,
4585,
262,
7368,
2163,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1123,
8619,
287,
262,
5509,
13,
628,
220,
220,
220,
220,
220,
220,
220,
770,
39341,
588,
262,
28686,
13,
6978,
13,
11152,
3419,
2163,
11,
475,
329,
287,
12,
31673,
198,
220,
220,
220,
220,
220,
220,
220,
19081,
13,
10652,
13,
35277,
5563,
13,
220,
383,
2163,
2753,
262,
976,
7159,
355,
198,
220,
220,
220,
220,
220,
220,
220,
262,
5499,
3804,
284,
28686,
13,
6978,
13,
11152,
33529,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
25439,
7,
853,
11,
26672,
3672,
11,
277,
14933,
8,
628,
220,
220,
220,
220,
220,
220,
220,
18181,
326,
366,
15908,
3672,
1,
481,
1682,
307,
262,
8619,
1635,
19667,
25666,
198,
220,
220,
220,
220,
220,
220,
220,
407,
262,
4731,
13,
220,
383,
705,
2637,
290,
705,
492,
6,
12784,
389,
15009,
422,
198,
220,
220,
220,
220,
220,
220,
220,
277,
14933,
13,
220,
383,
277,
14933,
1351,
743,
307,
9518,
287,
12,
5372,
284,
8106,
262,
198,
220,
220,
220,
220,
220,
220,
220,
850,
12942,
1749,
8672,
393,
4306,
13551,
257,
2176,
1502,
13,
198,
220,
220,
220,
220,
220,
220,
220,
383,
366,
853,
1,
4578,
318,
1464,
3804,
284,
25439,
3419,
290,
743,
307,
973,
198,
220,
220,
220,
220,
220,
220,
220,
287,
597,
835,
357,
273,
9514,
11,
6427,
6045,
318,
2219,
737,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
12784,
796,
2116,
13,
298,
1678,
198,
220,
220,
220,
220,
220,
220,
220,
3891,
796,
1351,
7,
298,
1678,
13,
13083,
28955,
198,
220,
220,
220,
220,
220,
220,
220,
3891,
13,
28956,
10786,
2637,
8,
198,
220,
220,
220,
220,
220,
220,
220,
3891,
13,
28956,
10786,
492,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
25439,
7,
853,
11,
2116,
11,
3891,
8,
198,
220,
220,
220,
220,
220,
220,
220,
329,
26672,
3672,
287,
685,
77,
329,
299,
287,
3891,
611,
318,
39098,
7,
298,
1678,
58,
77,
4357,
36202,
8,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12784,
58,
15908,
3672,
4083,
11152,
7,
20786,
11,
1822,
8,
628,
220,
220,
220,
825,
15095,
7,
944,
11,
3108,
3672,
11,
319,
39531,
28,
17821,
11,
2723,
28,
25101,
11,
13042,
28,
25101,
11,
19607,
28,
14202,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
16409,
257,
1351,
286,
399,
4147,
357,
273,
13042,
8,
12336,
257,
7368,
198,
220,
220,
220,
220,
220,
220,
220,
3108,
3672,
3912,
13,
628,
220,
220,
220,
220,
220,
220,
220,
10644,
3672,
7572,
1061,
4725,
10426,
7582,
33815,
25,
220,
1635,
7466,
198,
220,
220,
220,
220,
220,
220,
220,
597,
12,
13664,
13042,
286,
597,
3435,
11,
5633,
7466,
597,
2095,
11,
198,
220,
220,
220,
220,
220,
220,
220,
290,
17635,
460,
13507,
577,
8341,
393,
16069,
286,
3435,
13,
220,
6550,
2052,
466,
198,
220,
220,
220,
220,
220,
220,
220,
407,
11506,
8619,
2880,
2024,
13,
628,
220,
220,
220,
220,
220,
220,
220,
383,
7466,
1011,
656,
1848,
1432,
35061,
11,
8024,
1957,
198,
220,
220,
220,
220,
220,
220,
220,
399,
4147,
611,
257,
11188,
5726,
7160,
287,
257,
1432,
13264,
357,
31336,
198,
220,
220,
220,
220,
220,
220,
220,
281,
287,
12,
31673,
19081,
393,
1223,
319,
11898,
737,
628,
220,
220,
220,
220,
220,
220,
220,
2750,
825,
1878,
586,
11,
262,
15095,
3419,
2163,
7466,
12784,
326,
2152,
198,
220,
220,
220,
220,
220,
220,
220,
319,
12,
39531,
11,
287,
3090,
284,
287,
12,
31673,
399,
4147,
13,
220,
25700,
262,
366,
623,
1984,
1,
198,
220,
220,
220,
220,
220,
220,
220,
4578,
284,
10352,
357,
273,
617,
584,
1729,
12,
7942,
1988,
8,
5640,
262,
15095,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
2163,
284,
691,
2872,
287,
12,
31673,
399,
4147,
13,
220,
383,
4277,
4069,
318,
198,
220,
220,
220,
220,
220,
220,
220,
284,
1441,
1111,
262,
319,
12,
39531,
290,
287,
12,
31673,
399,
4147,
13,
628,
220,
220,
220,
220,
220,
220,
220,
383,
366,
10459,
1,
4578,
11,
618,
2081,
11,
26052,
326,
11188,
198,
220,
220,
220,
220,
220,
220,
220,
2723,
399,
4147,
1276,
307,
4504,
611,
345,
821,
15095,
4623,
287,
257,
1382,
198,
220,
220,
220,
220,
220,
220,
220,
8619,
357,
17532,
351,
38215,
35277,
3419,
737,
220,
383,
4277,
4069,
198,
220,
220,
220,
220,
220,
220,
220,
318,
284,
1441,
399,
4147,
1957,
284,
262,
38215,
35277,
22446,
628,
220,
220,
220,
220,
220,
220,
220,
383,
366,
37336,
1,
4578,
11,
618,
2081,
11,
5860,
262,
7466,
355,
13042,
11,
198,
220,
220,
220,
220,
220,
220,
220,
407,
399,
4147,
13,
220,
383,
13042,
389,
3108,
3891,
3585,
284,
428,
8619,
13,
628,
220,
220,
220,
220,
220,
220,
220,
383,
366,
1069,
9152,
1,
4578,
11,
611,
407,
6045,
11,
1276,
307,
257,
3912,
393,
257,
1351,
198,
220,
220,
220,
220,
220,
220,
220,
286,
7572,
1708,
262,
976,
4725,
10426,
7582,
33815,
13,
198,
220,
220,
220,
220,
220,
220,
220,
26632,
12336,
257,
1551,
530,
3912,
286,
428,
1351,
481,
307,
15009,
198,
220,
220,
220,
220,
220,
220,
220,
422,
262,
1255,
13,
628,
220,
220,
220,
220,
220,
220,
220,
383,
10238,
11862,
318,
16573,
422,
262,
15095,
13,
4743,
672,
3419,
2163,
198,
220,
220,
220,
220,
220,
220,
220,
287,
262,
11361,
5888,
357,
4360,
7272,
9518,
828,
290,
3544,
24714,
15699,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
739,
262,
8698,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
26672,
3672,
11,
1615,
12453,
796,
28686,
13,
6978,
13,
35312,
7,
6978,
3672,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
26672,
3672,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
796,
2116,
13557,
4743,
672,
16,
7,
12093,
12453,
11,
319,
39531,
11,
2723,
11,
13042,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
468,
62,
4743,
672,
62,
32707,
7,
15908,
3672,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1351,
796,
2116,
13,
4743,
672,
7,
15908,
3672,
11,
319,
39531,
11,
2723,
11,
10352,
11,
19607,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1351,
796,
685,
944,
13,
35277,
7,
15908,
3672,
11,
2251,
28,
17821,
15437,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
26672,
287,
1351,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
374,
796,
26672,
13557,
4743,
672,
16,
7,
12093,
12453,
11,
319,
39531,
11,
2723,
11,
13042,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
13042,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
374,
796,
685,
418,
13,
6978,
13,
22179,
7,
2536,
7,
15908,
828,
2124,
8,
329,
2124,
287,
374,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
13,
2302,
437,
7,
81,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
19607,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
36833,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19607,
8053,
796,
6374,
684,
13,
18274,
346,
13,
2704,
41769,
7,
1069,
9152,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
2124,
287,
19607,
8053,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
374,
796,
2116,
13,
4743,
672,
7,
87,
11,
319,
39531,
11,
2723,
11,
13042,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
36833,
13,
2302,
437,
7,
81,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
796,
685,
87,
329,
2124,
287,
1255,
611,
407,
597,
7,
22184,
15699,
13,
22184,
15699,
7,
2536,
7,
87,
828,
965,
7,
68,
4008,
329,
304,
287,
6374,
684,
13,
18274,
346,
13,
2704,
41769,
7,
1069,
13955,
4008,
60,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
23243,
7,
20274,
11,
1994,
28,
50033,
257,
25,
965,
7,
64,
4008,
628,
220,
220,
220,
825,
4808,
4743,
672,
16,
7,
944,
11,
3912,
11,
319,
39531,
28,
17821,
11,
2723,
28,
25101,
11,
13042,
28,
25101,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2671,
8158,
329,
290,
5860,
257,
1351,
286,
5726,
3891,
12336,
257,
2060,
198,
220,
220,
220,
220,
220,
220,
220,
3912,
287,
428,
8619,
13,
628,
220,
220,
220,
220,
220,
220,
220,
770,
15455,
597,
38072,
290,
2723,
29196,
329,
198,
220,
220,
220,
220,
220,
220,
220,
11188,
12784,
290,
5860,
257,
19081,
357,
273,
4731,
8,
3585,
198,
220,
220,
220,
220,
220,
220,
220,
284,
262,
1459,
8619,
611,
281,
5726,
318,
1043,
6609,
13,
628,
220,
220,
220,
220,
220,
220,
220,
16926,
46,
25,
5412,
3912,
351,
645,
4295,
9517,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2989,
62,
15908,
62,
4868,
796,
2116,
13,
1136,
62,
439,
62,
4372,
17062,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
329,
12351,
15908,
287,
2116,
13,
10677,
15908,
62,
4868,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2989,
62,
15908,
62,
4868,
13,
2302,
437,
7,
10677,
15908,
13,
1136,
62,
439,
62,
4372,
17062,
28955,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
30150,
796,
2116,
13,
30150,
198,
220,
220,
220,
220,
220,
220,
220,
3891,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
329,
26672,
287,
2989,
62,
15908,
62,
4868,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
775,
779,
262,
764,
3672,
11688,
422,
262,
19081,
780,
262,
8251,
286,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
262,
26672,
13,
298,
1678,
22155,
389,
39279,
357,
5562,
318,
11,
477,
6727,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1339,
8,
319,
1339,
12,
1040,
18464,
3341,
588,
3964,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10139,
62,
14933,
796,
685,
410,
13,
3672,
329,
479,
11,
410,
287,
26672,
13,
298,
1678,
13,
23814,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
479,
407,
287,
19203,
2637,
11,
705,
492,
11537,
2361,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3891,
13,
2302,
437,
7,
17440,
62,
14933,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
407,
13042,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
6889,
1654,
262,
1762,
8619,
357,
944,
8,
1682,
468,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
12784,
329,
477,
399,
4147,
287,
38072,
393,
15304,
288,
17062,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1438,
287,
10139,
62,
14933,
25,
2116,
30150,
7,
3672,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
319,
39531,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11898,
62,
14933,
796,
28686,
13,
4868,
15908,
7,
15908,
13557,
397,
2777,
776,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2845,
28686,
13,
18224,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3891,
13,
2302,
437,
7,
39531,
62,
14933,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
407,
13042,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
775,
821,
1016,
284,
1441,
11188,
399,
4147,
287,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
262,
1957,
8619,
11,
523,
356,
761,
284,
787,
1654,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
883,
399,
4147,
2152,
13,
220,
775,
691,
765,
284,
2251,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
399,
4147,
329,
262,
12784,
326,
481,
2872,
262,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
7368,
3912,
11,
996,
11,
543,
1724,
356,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
761,
284,
8106,
262,
1351,
994,
11,
772,
996,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
262,
4045,
1351,
481,
635,
307,
29083,
1568,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
706,
356,
8420,
428,
9052,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
3912,
58,
15,
60,
14512,
705,
2637,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11898,
62,
14933,
796,
685,
87,
329,
2124,
287,
11898,
62,
14933,
611,
2124,
58,
15,
60,
14512,
705,
2637,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11898,
62,
14933,
796,
24714,
15699,
13,
24455,
7,
39531,
62,
14933,
11,
3912,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26672,
30150,
796,
26672,
13,
30150,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1438,
287,
11898,
62,
14933,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3060,
705,
19571,
6,
878,
11898,
29472,
523,
326,
705,
2,
6,
379,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3726,
286,
29472,
2125,
470,
16173,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1438,
796,
705,
19571,
6,
1343,
1438,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10139,
796,
26672,
30150,
7,
3672,
737,
6381,
4131,
328,
4985,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
796,
2116,
30150,
7,
3672,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
299,
13,
834,
4871,
834,
14512,
10139,
13,
834,
4871,
834,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
13,
834,
4871,
834,
796,
10139,
13,
834,
4871,
834,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
13557,
24503,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
3891,
796,
900,
7,
14933,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
3912,
58,
15,
60,
14512,
705,
2637,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3891,
796,
685,
87,
329,
2124,
287,
3891,
611,
2124,
58,
15,
60,
14512,
705,
2637,
60,
198,
220,
220,
220,
220,
220,
220,
220,
3891,
796,
24714,
15699,
13,
24455,
7,
14933,
11,
3912,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
13042,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
3891,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
685,
944,
13,
298,
1678,
29795,
1820,
62,
27237,
7442,
7,
77,
15437,
329,
299,
287,
3891,
60,
198,
198,
4871,
20410,
35277,
7,
35277,
2599,
198,
220,
220,
220,
37227,
32,
1398,
329,
262,
6808,
8619,
286,
257,
2393,
1080,
13,
628,
220,
220,
220,
770,
318,
262,
976,
355,
257,
36202,
1398,
11,
2845,
326,
262,
3108,
2880,
1352,
198,
220,
220,
220,
19203,
14,
6,
393,
705,
6852,
11537,
318,
1682,
636,
286,
262,
1438,
11,
523,
356,
836,
470,
761,
284,
198,
220,
220,
220,
751,
257,
2880,
1352,
618,
4441,
262,
3108,
3891,
286,
12784,
1626,
198,
220,
220,
220,
428,
8619,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
11593,
6649,
1747,
834,
796,
37250,
62,
5460,
929,
35,
713,
20520,
628,
220,
220,
220,
825,
4808,
24503,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
17278,
257,
2393,
1080,
19081,
357,
31336,
257,
29026,
23224,
8619,
198,
220,
220,
220,
220,
220,
220,
220,
2134,
393,
257,
4553,
21617,
2134,
8,
656,
257,
1774,
8619,
2134,
13,
628,
220,
220,
220,
220,
220,
220,
220,
5345,
510,
428,
8619,
338,
12784,
290,
8011,
340,
656,
262,
2393,
198,
220,
220,
220,
220,
220,
220,
220,
1080,
5509,
13,
220,
18291,
1958,
326,
29196,
357,
5661,
19081,
8,
836,
470,
779,
198,
220,
220,
220,
220,
220,
220,
220,
17239,
329,
26019,
1771,
484,
821,
1459,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
260,
1930,
270,
1749,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
10677,
15908,
796,
6045,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
298,
1678,
796,
23884,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
298,
1678,
17816,
2637,
60,
796,
2116,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
298,
1678,
17816,
492,
20520,
796,
2116,
13,
15908,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
66,
16993,
796,
2116,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
325,
283,
1740,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
1416,
684,
570,
796,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
25641,
415,
62,
15908,
82,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
40985,
62,
20777,
62,
12957,
62,
11249,
796,
513,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
20786,
62,
1416,
684,
570,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
20786,
62,
1069,
1023,
796,
362,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
20786,
62,
1136,
62,
3642,
658,
796,
362,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
2094,
470,
655,
13259,
262,
3121,
273,
11,
6330,
663,
2223,
1351,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
780,
340,
1244,
423,
617,
662,
12,
273,
1281,
12,
4658,
326,
761,
284,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
307,
17232,
13,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
887,
836,
470,
13259,
262,
3121,
273,
611,
612,
318,
257,
1729,
12,
8423,
3121,
273,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
7223,
1541,
13,
383,
4683,
3121,
273,
1244,
423,
584,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
6670,
11,
287,
543,
1339,
13586,
262,
2223,
1351,
351,
257,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
24798,
15908,
2223,
318,
257,
1263,
7457,
13,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
468,
35226,
7,
944,
11,
705,
18558,
38409,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
38272,
796,
651,
62,
44,
74,
15908,
32875,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
1136,
62,
18558,
38409,
22446,
2617,
62,
2673,
62,
4868,
7,
944,
13,
38272,
13,
2673,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
19141,
437,
24798,
15908,
32875,
2223,
284,
4683,
2223,
1351,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
300,
796,
2116,
13,
1136,
62,
18558,
38409,
22446,
2673,
62,
4868,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
257,
796,
651,
62,
44,
74,
15908,
32875,
22446,
2673,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
300,
13,
28463,
7,
15,
11,
257,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
1136,
62,
18558,
38409,
22446,
2617,
62,
2673,
62,
4868,
7,
75,
8,
628,
198,
220,
220,
220,
825,
4808,
5460,
929,
62,
8937,
7,
944,
11,
279,
11,
479,
31172,
11,
2251,
28,
16,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
12549,
357,
10091,
35847,
286,
257,
1635,
11265,
1143,
9,
4112,
3108,
13,
628,
220,
220,
220,
220,
220,
220,
220,
770,
2446,
318,
5292,
329,
779,
416,
5387,
804,
4739,
351,
198,
220,
220,
220,
220,
220,
220,
220,
1541,
12,
11265,
1143,
3108,
1366,
13,
220,
1114,
2276,
12,
29983,
804,
4739,
11,
198,
220,
220,
220,
220,
220,
220,
220,
779,
262,
23324,
13,
30150,
22784,
23324,
13,
35277,
3419,
393,
23324,
13,
8979,
3419,
5050,
13,
628,
220,
220,
220,
220,
220,
220,
220,
383,
24955,
318,
4497,
329,
1642,
1654,
356,
821,
3804,
257,
198,
220,
220,
220,
220,
220,
220,
220,
39279,
4112,
3108,
26,
356,
6974,
1309,
11361,
338,
22155,
804,
198,
220,
220,
220,
220,
220,
220,
220,
510,
290,
1441,
262,
1881,
6407,
19081,
13,
10652,
2134,
329,
262,
3108,
13,
628,
220,
220,
220,
220,
220,
220,
220,
1002,
257,
19081,
329,
262,
7368,
366,
79,
1,
1595,
470,
1541,
2152,
11,
290,
198,
220,
220,
220,
220,
220,
220,
220,
366,
17953,
1,
318,
7368,
11,
262,
19081,
743,
307,
2727,
706,
45115,
198,
220,
220,
220,
220,
220,
220,
220,
43219,
284,
1064,
393,
2251,
262,
2560,
8619,
393,
29196,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
479,
796,
4808,
1820,
62,
27237,
7442,
7,
79,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
796,
2116,
13557,
5460,
929,
35,
713,
58,
74,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
7383,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
407,
2251,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31456,
796,
366,
2949,
884,
2393,
393,
8619,
25,
705,
4,
82,
6,
287,
705,
4,
82,
6,
357,
392,
2251,
318,
10352,
16725,
4064,
357,
79,
11,
965,
7,
944,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
6374,
684,
13,
9139,
5965,
13,
12982,
12331,
7,
19662,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1318,
318,
645,
19081,
329,
428,
3108,
1438,
11,
290,
356,
821,
3142,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
284,
2251,
340,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26672,
62,
3672,
11,
2393,
62,
3672,
796,
279,
13,
3808,
489,
270,
10786,
14,
3256,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26672,
62,
17440,
796,
2116,
13557,
5460,
929,
62,
8937,
7,
15908,
62,
3672,
11,
36202,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
796,
479,
31172,
7,
7753,
62,
3672,
11,
26672,
62,
17440,
11,
2116,
13,
9501,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
11198,
12,
9122,
319,
11898,
357,
292,
17839,
8,
326,
262,
19081,
356,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2727,
7466,
4232,
318,
503,
612,
287,
262,
1103,
995,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
13,
39531,
9122,
62,
15699,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
5460,
929,
35,
713,
58,
74,
60,
796,
1255,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26672,
62,
17440,
13,
298,
1678,
29795,
1820,
62,
27237,
7442,
7,
7753,
62,
3672,
15437,
796,
1255,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26672,
62,
17440,
13,
23928,
3628,
796,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1318,
318,
1541,
257,
19081,
329,
428,
3108,
1438,
13,
220,
22507,
340,
284,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
13121,
611,
356,
547,
2045,
329,
281,
15679,
2099,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
13,
27238,
62,
1350,
62,
31642,
7,
74,
31172,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
1255,
628,
628,
198,
4871,
9220,
7,
14881,
2599,
198,
220,
220,
220,
37227,
32,
1398,
329,
3696,
287,
257,
2393,
1080,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
11593,
6649,
1747,
834,
796,
37250,
35836,
1008,
62,
6978,
82,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
66,
2317,
343,
62,
6359,
328,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
66,
3694,
328,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
260,
1930,
270,
1749,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
10677,
15908,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
298,
1678,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
325,
283,
1740,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
62,
1416,
684,
570,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
25641,
415,
62,
15908,
82,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
15763,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
15908,
3672,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
261,
62,
39531,
62,
298,
1678,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
30147,
62,
16793,
62,
10951,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
3642,
658,
328,
20520,
628,
220,
220,
220,
19081,
12360,
796,
9220,
19667,
12360,
198,
220,
220,
220,
10934,
12360,
796,
9220,
15580,
12360,
628,
220,
220,
220,
45243,
20,
62,
354,
14125,
1096,
796,
5598,
628,
220,
220,
220,
825,
21617,
7,
944,
11,
1438,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
16447,
281,
5726,
10139,
3706,
705,
3672,
6,
3585,
284,
198,
220,
220,
220,
220,
220,
220,
220,
262,
8619,
286,
428,
2393,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
15908,
13,
30150,
7,
3672,
8,
628,
220,
220,
220,
825,
36202,
7,
944,
11,
1438,
11,
2251,
28,
17821,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
16447,
257,
8619,
10139,
3706,
705,
3672,
6,
3585,
284,
198,
220,
220,
220,
220,
220,
220,
220,
262,
8619,
286,
428,
2393,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
15908,
13,
35277,
7,
3672,
11,
2251,
28,
17953,
8,
628,
220,
220,
220,
825,
360,
17062,
7,
944,
11,
3108,
4868,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
16447,
257,
1351,
286,
29196,
3585,
284,
262,
6374,
684,
6519,
198,
220,
220,
220,
220,
220,
220,
220,
8619,
286,
428,
2393,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
685,
944,
13,
35277,
7,
79,
8,
329,
279,
287,
3108,
4868,
60,
628,
220,
220,
220,
825,
9220,
7,
944,
11,
1438,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
16447,
257,
2393,
10139,
3706,
705,
3672,
6,
3585,
284,
198,
220,
220,
220,
220,
220,
220,
220,
262,
8619,
286,
428,
2393,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
15908,
13,
8979,
7,
3672,
8,
628,
220,
220,
220,
825,
4808,
24503,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
17278,
257,
2393,
1080,
10139,
656,
257,
9220,
2134,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
35836,
1008,
62,
6978,
82,
796,
23884,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
468,
35226,
7,
944,
11,
705,
62,
12001,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
12001,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
468,
35226,
7,
944,
11,
705,
30147,
62,
16793,
62,
10951,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30147,
62,
16793,
62,
10951,
796,
10352,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
8095,
62,
10951,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
20786,
62,
1069,
1023,
796,
604,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
20786,
62,
1136,
62,
3642,
658,
796,
513,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
20768,
1096,
428,
19081,
338,
875,
1304,
2163,
284,
5409,
62,
10459,
3419,
780,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
790,
2393,
318,
257,
2723,
2393,
1566,
340,
468,
257,
35869,
7223,
986,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
40985,
62,
20777,
62,
12957,
62,
11249,
796,
604,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
1002,
612,
373,
1541,
257,
35869,
900,
319,
428,
5726,
11,
788,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
356,
761,
284,
787,
1654,
356,
869,
262,
2496,
12,
12501,
1304,
2163,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
407,
262,
2723,
12,
12501,
1304,
13,
220,
797,
8103,
287,
290,
1804,
428,
416,
1021,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
318,
257,
1310,
33418,
13,
220,
775,
1549,
4702,
284,
5412,
428,
416,
4375,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
281,
21617,
13,
38272,
62,
2617,
3419,
2446,
326,
595,
4131,
328,
12632,
588,
262,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
584,
5050,
11,
475,
326,
4940,
2491,
656,
2761,
351,
262,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
21049,
835,
356,
41216,
36202,
399,
4147,
351,
511,
24798,
15908,
31606,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
1865,
991,
1249,
606,
284,
307,
23170,
4651,
416,
262,
2836,
13,
220,
4619,
340,
338,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
407,
1598,
826,
783,
703,
284,
4259,
326,
11,
4859,
351,
644,
2499,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
1566,
340,
4329,
1598,
986,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
10134,
62,
38272,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
40985,
62,
20777,
62,
12957,
62,
11249,
796,
642,
628,
220,
220,
220,
825,
651,
62,
5239,
62,
3642,
658,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
770,
6370,
284,
3785,
503,
644,
262,
21004,
286,
262,
2420,
318,
198,
220,
220,
220,
220,
220,
220,
220,
1912,
2402,
262,
347,
2662,
9881,
11,
290,
788,
875,
4147,
262,
10154,
523,
326,
198,
220,
220,
220,
220,
220,
220,
220,
340,
338,
257,
4938,
21015,
4731,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
10154,
796,
2116,
13,
1136,
62,
3642,
658,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
383,
4069,
286,
2972,
36899,
3419,
5050,
290,
5499,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
266,
13,
81,
13,
83,
13,
262,
4238,
347,
2662,
9881,
318,
1180,
329,
1180,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
2207,
375,
654,
290,
14,
273,
11361,
6300,
13,
220,
19203,
40477,
12,
23,
6,
857,
407,
10283,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
606,
11,
475,
468,
257,
705,
40477,
12,
23,
12,
82,
328,
6,
543,
857,
26,
705,
40477,
12,
1433,
6,
2331,
284,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
10283,
606,
26,
3503,
2014,
220,
2329,
9785,
395,
538,
477,
262,
45185,
416,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
11777,
37727,
262,
347,
2662,
878,
356,
36899,
22446,
198,
220,
220,
220,
220,
220,
220,
220,
611,
10154,
58,
25,
11925,
7,
19815,
721,
82,
13,
33,
2662,
62,
48504,
23,
15437,
6624,
40481,
82,
13,
33,
2662,
62,
48504,
23,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
10154,
58,
11925,
7,
19815,
721,
82,
13,
33,
2662,
62,
48504,
23,
2599,
4083,
12501,
1098,
10786,
40477,
12,
23,
3256,
366,
46430,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
611,
10154,
58,
25,
11925,
7,
19815,
721,
82,
13,
33,
2662,
62,
48504,
1433,
62,
2538,
15437,
6624,
40481,
82,
13,
33,
2662,
62,
48504,
1433,
62,
2538,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
10154,
58,
11925,
7,
19815,
721,
82,
13,
33,
2662,
62,
48504,
1433,
62,
2538,
2599,
4083,
12501,
1098,
10786,
40477,
12,
1433,
12,
293,
3256,
366,
46430,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
611,
10154,
58,
25,
11925,
7,
19815,
721,
82,
13,
33,
2662,
62,
48504,
1433,
62,
12473,
15437,
6624,
40481,
82,
13,
33,
2662,
62,
48504,
1433,
62,
12473,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
10154,
58,
11925,
7,
19815,
721,
82,
13,
33,
2662,
62,
48504,
1433,
62,
12473,
2599,
4083,
12501,
1098,
10786,
40477,
12,
1433,
12,
1350,
3256,
366,
46430,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
10154,
13,
12501,
1098,
7,
48277,
11639,
46430,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
357,
3118,
291,
1098,
10707,
1098,
12331,
11,
3460,
4163,
12331,
8,
355,
304,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
68,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
18224,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
3642,
658,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
10154,
628,
198,
220,
220,
220,
825,
651,
62,
11299,
62,
17831,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
3082,
1133,
290,
1441,
262,
10670,
20,
12234,
329,
428,
2393,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
2116,
13,
21510,
1023,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
6374,
684,
13,
18274,
346,
13,
12740,
20,
12683,
1300,
7,
7061,
8,
198,
220,
220,
220,
220,
220,
220,
220,
277,
3672,
796,
2116,
13,
81,
7753,
22446,
1136,
62,
397,
2777,
776,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
50115,
796,
6374,
684,
13,
18274,
346,
13,
12740,
20,
16624,
570,
1300,
7,
69,
3672,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
22716,
1096,
28,
6173,
684,
13,
19667,
13,
10652,
13,
8979,
13,
9132,
20,
62,
354,
14125,
1096,
9,
35500,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
9344,
12331,
355,
304,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
407,
304,
13,
34345,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
304,
13,
34345,
796,
277,
3672,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
50115,
628,
220,
220,
220,
2488,
6173,
684,
13,
13579,
78,
1096,
13,
12332,
17410,
14134,
628,
220,
220,
220,
2488,
6173,
684,
13,
13579,
78,
1096,
13,
12332,
17410,
14134,
628,
220,
220,
220,
10385,
62,
30073,
62,
1078,
3808,
796,
685,
198,
220,
220,
220,
220,
220,
220,
220,
705,
1443,
2203,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
65,
23928,
3628,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
65,
10378,
2412,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
65,
529,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
65,
8656,
328,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
77,
10951,
3256,
198,
220,
220,
220,
2361,
628,
198,
220,
220,
220,
10385,
62,
82,
328,
62,
1078,
3808,
796,
685,
198,
220,
220,
220,
220,
220,
220,
220,
705,
1443,
2203,
9235,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
65,
23928,
291,
896,
9235,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
65,
10378,
2412,
9235,
3256,
198,
220,
220,
220,
2361,
628,
220,
220,
220,
2488,
6173,
684,
13,
13579,
78,
1096,
13,
12332,
17410,
14134,
628,
220,
220,
220,
2488,
6173,
684,
13,
13579,
78,
1096,
13,
12332,
35,
713,
14134,
28264,
1136,
62,
9275,
62,
42813,
62,
2539,
8,
198,
220,
220,
220,
825,
651,
62,
9275,
62,
42813,
7,
944,
11,
17365,
11,
27474,
11,
3108,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
262,
3017,
16992,
20086,
287,
428,
2393,
13,
198,
220,
220,
220,
220,
220,
220,
220,
34088,
2482,
523,
356,
691,
9367,
262,
2393,
1752,
583,
3108,
198,
220,
220,
220,
220,
220,
220,
220,
7692,
286,
703,
867,
1661,
428,
1321,
318,
9167,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
16155,
62,
2539,
796,
357,
312,
7,
24330,
828,
4686,
7,
35836,
1008,
828,
3108,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16155,
62,
11600,
796,
2116,
13557,
11883,
78,
17816,
1136,
62,
9275,
62,
42813,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
7383,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16155,
62,
11600,
796,
23884,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
11883,
78,
17816,
1136,
62,
9275,
62,
42813,
20520,
796,
16155,
62,
11600,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
16155,
62,
11600,
58,
11883,
78,
62,
2539,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2845,
7383,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1208,
628,
220,
220,
220,
220,
220,
220,
220,
611,
27474,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
796,
685,
77,
13,
6381,
4131,
328,
4985,
3419,
329,
299,
287,
27474,
7,
944,
11,
17365,
11,
3108,
15437,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
796,
17635,
628,
220,
220,
220,
220,
220,
220,
220,
16155,
62,
11600,
58,
11883,
78,
62,
2539,
60,
796,
1255,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
1255,
628,
220,
220,
220,
825,
4574,
62,
1462,
62,
23870,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
23433,
284,
4574,
262,
10139,
656,
257,
12940,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
770,
815,
651,
1444,
878,
262,
399,
4147,
6,
764,
18780,
3419,
2446,
318,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
1444,
11,
543,
561,
1598,
262,
1382,
9877,
611,
262,
2393,
468,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
257,
2723,
27474,
13,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
775,
423,
284,
1598,
262,
1957,
16155,
1143,
3815,
1635,
19052,
9,
356,
4574,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
262,
10139,
284,
12940,
523,
326,
262,
16155,
1634,
286,
262,
2116,
13,
1069,
1023,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
1441,
1988,
1595,
470,
18135,
13,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
77,
420,
4891,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
20063,
62,
11883,
78,
1143,
62,
27160,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
1069,
1023,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
1136,
62,
11249,
62,
24330,
22446,
1136,
62,
30562,
35277,
22446,
14689,
7,
944,
8,
628,
220,
220,
220,
825,
19818,
62,
6738,
62,
23870,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
23433,
284,
19818,
262,
10139,
338,
2695,
422,
257,
12940,
628,
220,
220,
220,
220,
220,
220,
220,
770,
2446,
318,
1444,
422,
3294,
14390,
287,
257,
10730,
1382,
11,
198,
220,
220,
220,
220,
220,
220,
220,
523,
691,
466,
4704,
3338,
3404,
994,
13,
2141,
4704,
21596,
3404,
287,
198,
220,
220,
220,
220,
220,
220,
220,
3170,
22446,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
2081,
611,
262,
10139,
373,
7675,
29517,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
77,
420,
4891,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
2116,
13,
271,
62,
34631,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
1136,
62,
11249,
62,
24330,
22446,
1136,
62,
30562,
35277,
22446,
1186,
30227,
7,
944,
8,
628,
220,
220,
220,
825,
2650,
62,
16793,
62,
10951,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
34,
4262,
655,
706,
428,
10139,
468,
587,
7498,
198,
220,
220,
220,
220,
220,
220,
220,
220,
510,
12,
1462,
12,
4475,
393,
373,
3170,
3190,
13,
628,
220,
220,
220,
220,
220,
220,
220,
220,
770,
318,
810,
356,
1949,
284,
2650,
355,
867,
2496,
10139,
1167,
418,
198,
220,
220,
220,
220,
220,
220,
220,
220,
355,
1744,
329,
3424,
12188,
290,
4296,
4539,
11,
287,
1502,
198,
220,
220,
220,
220,
220,
220,
220,
220,
284,
17775,
262,
4045,
4088,
7327,
13,
628,
220,
220,
220,
220,
220,
220,
220,
220,
775,
1549,
588,
284,
4781,
257,
1256,
517,
12608,
588,
2116,
13,
82,
2203,
198,
220,
220,
220,
220,
220,
220,
220,
220,
290,
2116,
13,
82,
2203,
62,
2617,
11,
475,
484,
1244,
651,
973,
198,
220,
220,
220,
220,
220,
220,
220,
220,
287,
257,
1306,
1382,
2239,
13,
1114,
1672,
11,
1141,
8398,
198,
220,
220,
220,
220,
220,
220,
220,
220,
262,
2723,
3696,
329,
257,
3170,
46866,
78,
2393,
389,
973,
284,
3785,
503,
198,
220,
220,
220,
220,
220,
220,
220,
220,
543,
2792,
263,
284,
779,
329,
262,
7186,
6118,
357,
70,
535,
3691,
13,
308,
29577,
0,
198,
220,
220,
220,
220,
220,
220,
220,
220,
1320,
338,
1521,
356,
2198,
329,
262,
705,
14894,
62,
16793,
10951,
6,
11688,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
4566,
399,
4147,
290,
262,
21365,
4235,
655,
836,
470,
1249,
198,
220,
220,
220,
220,
220,
220,
220,
220,
281,
1903,
2650,
286,
749,
9633,
13,
628,
220,
220,
220,
220,
220,
220,
220,
220,
554,
262,
976,
5642,
11,
356,
460,
470,
2391,
4781,
262,
2116,
13,
1078,
7657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
994,
13,
383,
4451,
17795,
16507,
319,
262,
4888,
6056,
11,
290,
617,
198,
220,
220,
220,
220,
220,
220,
220,
220,
3354,
286,
262,
20129,
16984,
779,
340,
284,
4839,
1321,
198,
220,
220,
220,
220,
220,
220,
220,
220,
546,
13760,
986,
628,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
3826,
25,
3170,
3419,
290,
19081,
13,
20979,
62,
16793,
62,
10951,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
611,
357,
944,
13,
30147,
62,
16793,
62,
10951,
393,
6374,
684,
13,
19667,
13,
3849,
5275,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
628,
220,
220,
220,
220,
220,
220,
220,
611,
407,
468,
35226,
7,
944,
13,
1078,
7657,
11,
705,
14894,
62,
16793,
10951,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
34088,
617,
2672,
3815,
11,
878,
13011,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3404,
588,
17365,
11,
3121,
273,
290,
27098,
986,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
40985,
7,
12154,
23870,
28,
17821,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
1136,
62,
3642,
658,
62,
82,
328,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
1136,
62,
11249,
62,
24330,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2735,
35714,
555,
27938,
3404,
284,
1479,
4088,
986,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
18558,
38409,
796,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
11883,
78,
13,
12924,
10786,
81,
7753,
3256,
6045,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
3866,
34075,
796,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
5985,
929,
8341,
11,
475,
691,
611,
484,
821,
6565,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
407,
18896,
7,
944,
13,
46430,
62,
2617,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
46430,
62,
2617,
796,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
407,
18896,
7,
944,
13,
23928,
3628,
62,
2617,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
23928,
3628,
62,
2617,
796,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
407,
18896,
7,
944,
13,
10378,
2412,
62,
2617,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
10378,
2412,
62,
2617,
796,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
407,
18896,
7,
944,
13,
46430,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
46430,
796,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
407,
18896,
7,
944,
13,
10378,
2412,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
10378,
2412,
796,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2940,
428,
10139,
355,
1760,
11,
356,
691,
423,
284,
2650,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
262,
4088,
1752,
986,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30147,
62,
16793,
62,
10951,
796,
6407,
628,
220,
220,
220,
825,
468,
62,
10677,
62,
38272,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
1771,
428,
19081,
468,
257,
2723,
27098,
393,
407,
13,
628,
220,
220,
220,
220,
220,
220,
220,
1002,
428,
19081,
1595,
470,
423,
281,
7952,
2723,
2438,
27098,
11,
428,
198,
220,
220,
220,
220,
220,
220,
220,
318,
810,
356,
3785,
503,
11,
319,
262,
6129,
11,
611,
612,
338,
257,
13245,
198,
220,
220,
220,
220,
220,
220,
220,
2723,
2438,
27098,
329,
340,
13,
628,
220,
220,
220,
220,
220,
220,
220,
5740,
326,
611,
356,
1043,
257,
2723,
27098,
11,
356,
635,
900,
262,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
38272,
11688,
11,
523,
326,
477,
286,
262,
5050,
326,
1682,
198,
220,
220,
220,
220,
220,
220,
220,
1635,
11249,
9,
428,
2393,
836,
470,
423,
284,
466,
1997,
1180,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
629,
65,
796,
2116,
13,
82,
38272,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
3460,
4163,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
629,
65,
796,
2116,
13,
82,
38272,
796,
2116,
13,
19796,
62,
10677,
62,
38272,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
629,
65,
318,
407,
6045,
628,
220,
220,
220,
825,
8343,
62,
83,
853,
1039,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
597,
11188,
6670,
287,
257,
15304,
8619,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
271,
62,
34631,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
685,
4357,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
9501,
13,
25641,
415,
62,
15908,
62,
16793,
62,
565,
14107,
7,
944,
11,
2116,
13,
15908,
11,
685,
944,
13,
3672,
12962,
628,
220,
220,
220,
1303,
198,
220,
220,
220,
1303,
15941,
9866,
7071,
39335,
198,
220,
220,
220,
1303,
628,
220,
220,
220,
825,
8335,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
37534,
533,
329,
428,
2393,
284,
307,
2727,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
6374,
684,
13,
19667,
13,
19667,
13,
46012,
533,
7,
944,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
1136,
62,
5219,
3419,
14512,
6374,
684,
13,
19667,
13,
929,
62,
1462,
62,
4475,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
1069,
1023,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
271,
62,
34631,
3419,
290,
407,
2116,
13,
3866,
4680,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
26224,
85,
62,
25687,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
17953,
35277,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2845,
6374,
684,
13,
9139,
5965,
13,
19485,
12331,
355,
3708,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
6374,
684,
13,
9139,
5965,
13,
19485,
12331,
7203,
2949,
3708,
4600,
90,
92,
6,
329,
2496,
4600,
90,
92,
30827,
13,
18982,
7,
19472,
11,
2116,
4008,
628,
220,
220,
220,
1303,
198,
220,
220,
220,
1303,
198,
220,
220,
220,
1303,
628,
220,
220,
220,
825,
4781,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
27914,
428,
2393,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
1069,
1023,
3419,
393,
2116,
13,
3044,
676,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
9501,
13,
403,
8726,
7,
944,
13,
1136,
62,
32538,
62,
6978,
28955,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
352,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
6045,
628,
220,
220,
220,
2488,
6173,
684,
13,
13579,
78,
1096,
13,
12332,
17410,
14134,
628,
220,
220,
220,
1303,
198,
220,
220,
220,
1303,
36771,
40086,
13558,
4462,
56,
25361,
198,
220,
220,
220,
1303,
628,
220,
220,
220,
825,
651,
62,
9806,
62,
7109,
2135,
62,
6359,
328,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
16409,
262,
2695,
9877,
3058,
8574,
329,
428,
10139,
198,
220,
220,
220,
220,
220,
220,
220,
611,
340,
338,
587,
555,
41771,
2392,
621,
262,
3509,
62,
7109,
2135,
1988,
11,
393,
262,
198,
220,
220,
220,
220,
220,
220,
220,
3509,
62,
7109,
2135,
1988,
318,
657,
13,
220,
16409,
6045,
4306,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1468,
796,
2116,
13,
1136,
62,
301,
1850,
62,
10951,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
285,
2435,
796,
2116,
13,
1136,
62,
16514,
27823,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
3509,
62,
7109,
2135,
796,
2116,
13,
9501,
13,
9806,
62,
7109,
2135,
198,
220,
220,
220,
220,
220,
220,
220,
611,
3509,
62,
7109,
2135,
1875,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
357,
2435,
13,
2435,
3419,
532,
285,
2435,
8,
1875,
3509,
62,
7109,
2135,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
796,
1468,
13,
77,
10951,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
299,
13,
16514,
27823,
290,
299,
13,
6359,
328,
290,
299,
13,
16514,
27823,
6624,
285,
2435,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
299,
13,
6359,
328,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2845,
3460,
4163,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1208,
198,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
3509,
62,
7109,
2135,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
1468,
13,
77,
10951,
13,
6359,
328,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2845,
3460,
4163,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1208,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
6045,
628,
220,
220,
220,
825,
651,
62,
6359,
328,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2980,
378,
257,
10139,
338,
2695,
9877,
11,
262,
3100,
7287,
9877,
198,
220,
220,
220,
220,
220,
220,
220,
286,
663,
2695,
13,
628,
220,
220,
220,
220,
220,
220,
220,
10139,
532,
262,
10139,
198,
220,
220,
220,
220,
220,
220,
220,
12940,
532,
13527,
10139,
284,
779,
329,
262,
9877,
12940,
198,
220,
220,
220,
220,
220,
220,
220,
5860,
532,
262,
2695,
9877,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
299,
10951,
796,
2116,
13,
1136,
62,
77,
10951,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
299,
10951,
13,
6359,
328,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
3460,
4163,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1208,
628,
220,
220,
220,
220,
220,
220,
220,
50115,
328,
796,
2116,
13,
1136,
62,
9806,
62,
7109,
2135,
62,
6359,
328,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
611,
50115,
328,
318,
6045,
25,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
1136,
62,
7857,
3419,
1279,
6374,
684,
13,
19667,
13,
10652,
13,
8979,
13,
9132,
20,
62,
354,
14125,
1096,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10154,
796,
2116,
13,
1136,
62,
3642,
658,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
50115,
328,
796,
2116,
13,
1136,
62,
11299,
62,
17831,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2845,
24418,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
770,
460,
1645,
611,
612,
338,
1682,
257,
8619,
319,
12,
39531,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
543,
460,
307,
262,
1339,
611,
484,
1053,
10058,
11898,
8794,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
393,
611,
281,
2223,
351,
257,
9220,
2496,
1682,
4325,
284,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2251,
257,
976,
12,
13190,
8619,
416,
7457,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
50115,
328,
796,
10148,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
407,
50115,
328,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
50115,
328,
796,
6374,
684,
13,
18274,
346,
13,
12740,
20,
12683,
1300,
7,
3642,
658,
8,
628,
220,
220,
220,
220,
220,
220,
220,
299,
10951,
13,
6359,
328,
796,
50115,
328,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
50115,
328,
628,
220,
220,
220,
1303,
198,
220,
220,
220,
1303,
27196,
42446,
13558,
4462,
56,
25361,
198,
220,
220,
220,
1303,
628,
220,
220,
220,
825,
3170,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
34,
4262,
655,
706,
428,
9220,
10139,
318,
7675,
3170,
13,
628,
220,
220,
220,
220,
220,
220,
220,
220,
2329,
588,
329,
705,
20979,
62,
16793,
62,
10951,
6,
356,
1949,
284,
2650,
198,
220,
220,
220,
220,
220,
220,
220,
220,
617,
517,
2496,
10139,
12608,
287,
1502,
284,
17775,
262,
198,
220,
220,
220,
220,
220,
220,
220,
220,
4045,
4088,
7327,
13,
628,
220,
220,
220,
220,
220,
220,
220,
220,
2488,
3826,
25,
2650,
62,
16793,
62,
10951,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
628,
220,
220,
220,
220,
220,
220,
220,
6374,
684,
13,
19667,
13,
19667,
13,
18780,
7,
944,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
357,
1662,
6374,
684,
13,
19667,
13,
3849,
5275,
290,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
407,
468,
35226,
7,
944,
13,
1078,
7657,
11,
705,
14894,
62,
16793,
10951,
11537,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
48987,
326,
262,
1382,
1167,
418,
651,
29231,
290,
39986,
986,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6374,
684,
13,
19667,
13,
8095,
62,
10951,
62,
8899,
58,
944,
13,
8095,
62,
10951,
16151,
944,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2644,
788,
2650,
617,
517,
9633,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
11423,
62,
82,
2203,
796,
10352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
23912,
2777,
776,
796,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
21928,
62,
2536,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
66,
16993,
796,
6045,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
35836,
1008,
62,
6978,
82,
796,
6045,
628,
220,
220,
220,
825,
3421,
7,
944,
11,
10139,
28,
14202,
11,
1249,
23870,
28,
25101,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
16409,
611,
262,
10139,
318,
510,
12,
1462,
12,
4475,
351,
2461,
284,
262,
10934,
12360,
198,
220,
220,
220,
220,
220,
220,
220,
8574,
938,
640,
340,
373,
3170,
13,
628,
220,
220,
220,
220,
220,
220,
220,
1114,
9220,
13760,
428,
318,
6209,
257,
29908,
1088,
19081,
13,
40985,
22784,
198,
220,
220,
220,
220,
220,
220,
220,
475,
356,
1249,
262,
1441,
1988,
284,
651,
39986,
706,
262,
4941,
198,
220,
220,
220,
220,
220,
220,
220,
284,
262,
8393,
38409,
1392,
2716,
287,
2650,
62,
16793,
62,
10951,
22446,
628,
220,
220,
220,
220,
220,
220,
220,
2488,
3826,
25,
19081,
13,
40985,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
611,
10139,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
11883,
78,
17816,
40985,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2845,
7383,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1208,
628,
220,
220,
220,
220,
220,
220,
220,
468,
62,
40985,
796,
6374,
684,
13,
19667,
13,
19667,
13,
40985,
7,
944,
11,
10139,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1249,
23870,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
11883,
78,
17816,
40985,
20520,
796,
468,
62,
40985,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
468,
62,
40985,
628,
220,
220,
220,
2488,
6173,
684,
13,
13579,
78,
1096,
13,
12332,
17410,
14134,
628,
220,
220,
220,
825,
651,
62,
66,
2317,
343,
62,
6359,
328,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
376,
7569,
257,
19081,
338,
2695,
9877,
329,
4959,
286,
14492,
198,
220,
220,
220,
220,
220,
220,
220,
1194,
19081,
338,
50177,
328,
13,
628,
220,
220,
220,
220,
220,
220,
220,
770,
318,
257,
29908,
1088,
262,
3487,
651,
62,
6359,
328,
3419,
2446,
326,
17105,
198,
220,
220,
220,
220,
220,
220,
220,
262,
6454,
18611,
1339,
286,
1262,
34088,
35277,
351,
262,
532,
77,
3038,
13,
198,
220,
220,
220,
220,
220,
220,
220,
4377,
3696,
326,
836,
470,
2152,
561,
7685,
307,
366,
18780,
1,
416,
21207,
278,
198,
220,
220,
220,
220,
220,
220,
220,
606,
422,
262,
12940,
11,
475,
262,
3487,
651,
62,
6359,
328,
3419,
2446,
481,
1949,
198,
220,
220,
220,
220,
220,
220,
220,
284,
1280,
510,
262,
1957,
2393,
11,
543,
1595,
470,
2152,
780,
262,
532,
77,
198,
220,
220,
220,
220,
220,
220,
220,
3038,
4001,
356,
1422,
470,
1682,
2834,
262,
2393,
422,
39986,
343,
13,
198,
220,
220,
220,
220,
220,
220,
220,
887,
1201,
262,
2393,
1635,
22437,
9,
1682,
2152,
287,
262,
39986,
343,
11,
356,
198,
220,
220,
220,
220,
220,
220,
220,
460,
779,
663,
10154,
329,
262,
50115,
328,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
66,
2317,
343,
62,
6359,
328,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
3460,
4163,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1208,
628,
220,
220,
220,
220,
220,
220,
220,
39986,
343,
11,
12940,
7753,
796,
2116,
13,
1136,
62,
11249,
62,
24330,
22446,
1136,
62,
30562,
35277,
22446,
23870,
6978,
7,
944,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
2116,
13,
1069,
1023,
3419,
290,
12940,
7753,
290,
28686,
13,
6978,
13,
1069,
1023,
7,
23870,
7753,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
66,
2317,
343,
62,
6359,
328,
796,
6374,
684,
13,
18274,
346,
13,
12740,
20,
16624,
570,
1300,
7,
23870,
7753,
11,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6374,
684,
13,
19667,
13,
10652,
13,
8979,
13,
9132,
20,
62,
354,
14125,
1096,
1635,
28119,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
66,
2317,
343,
62,
6359,
328,
796,
2116,
13,
1136,
62,
6359,
328,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
66,
2317,
343,
62,
6359,
328,
628,
220,
220,
220,
825,
651,
62,
3642,
658,
62,
82,
328,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
317,
31904,
2446,
329,
651,
62,
66,
2317,
343,
62,
1443,
328,
13,
628,
220,
220,
220,
220,
220,
220,
220,
632,
552,
1769,
290,
5860,
262,
9877,
329,
428,
198,
220,
220,
220,
220,
220,
220,
220,
10139,
338,
10154,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
628,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
3642,
658,
328,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
3460,
4163,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1208,
628,
220,
220,
220,
220,
220,
220,
220,
3121,
273,
796,
2116,
13,
1136,
62,
18558,
38409,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
1255,
796,
2116,
13,
3642,
658,
328,
796,
6374,
684,
13,
18274,
346,
13,
12740,
20,
12683,
1300,
7,
18558,
38409,
13,
1136,
62,
3642,
658,
28955,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
1255,
628,
220,
220,
220,
825,
651,
62,
66,
2317,
343,
62,
1443,
328,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
8229,
262,
9877,
329,
257,
39986,
2393,
11,
1390,
198,
220,
220,
220,
220,
220,
220,
220,
663,
1751,
13,
628,
220,
220,
220,
220,
220,
220,
220,
632,
6673,
262,
3108,
286,
262,
39986,
2393,
284,
262,
12940,
9877,
11,
198,
220,
220,
220,
220,
220,
220,
220,
780,
3294,
6670,
3170,
416,
262,
976,
2223,
481,
477,
198,
220,
220,
220,
220,
220,
220,
220,
423,
262,
976,
1382,
9877,
11,
290,
356,
423,
284,
28754,
198,
220,
220,
220,
220,
220,
220,
220,
606,
7599,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
66,
3694,
328,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
3460,
4163,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1208,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
9745,
17239,
329,
477,
1751,
198,
220,
220,
220,
220,
220,
220,
220,
1751,
796,
2116,
13,
17197,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
264,
9235,
796,
685,
77,
13,
1136,
62,
66,
2317,
343,
62,
6359,
328,
3419,
329,
299,
287,
1751,
60,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
2034,
437,
428,
10139,
338,
9877,
986,
198,
220,
220,
220,
220,
220,
220,
220,
264,
9235,
13,
33295,
7,
944,
13,
1136,
62,
3642,
658,
62,
82,
328,
28955,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
2644,
392,
340,
338,
3108,
198,
220,
220,
220,
220,
220,
220,
220,
264,
9235,
13,
33295,
7,
944,
13,
1136,
62,
32538,
62,
6978,
28955,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
39407,
428,
477,
656,
257,
2060,
9877,
198,
220,
220,
220,
220,
220,
220,
220,
1255,
796,
2116,
13,
66,
3694,
328,
796,
6374,
684,
13,
18274,
346,
13,
12740,
20,
33327,
7,
82,
9235,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
1255,
198,
198,
12286,
62,
9501,
796,
6045,
198,
198,
4871,
9220,
37,
5540,
7,
15252,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
825,
5717,
343,
62,
5460,
929,
7,
944,
11,
279,
11,
277,
67,
28,
14202,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
317,
31904,
2446,
329,
1064,
62,
7753,
3419,
326,
3073,
510,
257,
8619,
329,
198,
220,
220,
220,
220,
220,
220,
220,
257,
2393,
356,
821,
2111,
284,
1064,
13,
220,
770,
691,
8075,
262,
36202,
19081,
611,
198,
220,
220,
220,
220,
220,
220,
220,
340,
7160,
319,
12,
39531,
11,
1201,
611,
262,
8619,
1595,
470,
2152,
356,
760,
198,
220,
220,
220,
220,
220,
220,
220,
356,
1839,
470,
1064,
597,
3696,
287,
340,
986,
220,
47226,
628,
220,
220,
220,
220,
220,
220,
220,
632,
561,
307,
517,
16001,
284,
655,
779,
428,
355,
257,
28376,
2163,
198,
220,
220,
220,
220,
220,
220,
220,
351,
257,
4277,
21179,
4578,
357,
3826,
262,
16476,
12,
448,
2196,
198,
220,
220,
220,
220,
220,
220,
220,
2174,
828,
475,
326,
1595,
470,
670,
4556,
345,
423,
28376,
629,
13920,
11,
198,
220,
220,
220,
220,
220,
220,
220,
523,
356,
8160,
340,
994,
655,
523,
428,
670,
739,
11361,
352,
13,
20,
13,
17,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
611,
277,
67,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
67,
796,
2116,
13,
12286,
62,
69,
3902,
343,
198,
220,
220,
220,
220,
220,
220,
220,
26672,
11,
1438,
796,
28686,
13,
6978,
13,
35312,
7,
16344,
8,
198,
220,
220,
220,
220,
220,
220,
220,
3708,
11,
288,
796,
4808,
1820,
62,
35312,
19472,
7,
15908,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
1438,
290,
288,
58,
25,
16,
60,
287,
19203,
14,
3256,
7294,
62,
5188,
47,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
7783,
279,
13,
9501,
13,
1136,
62,
15763,
7,
19472,
737,
15908,
62,
261,
62,
39531,
7,
3672,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
279,
13,
9501,
13,
1136,
62,
15763,
7,
19472,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
26672,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
279,
796,
2116,
13,
69,
3902,
343,
62,
5460,
929,
7,
79,
11,
26672,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
407,
279,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
2593,
62,
3672,
796,
4808,
1820,
62,
27237,
7442,
7,
3672,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10139,
796,
279,
13,
298,
1678,
58,
27237,
62,
3672,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
7383,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
279,
13,
15908,
62,
261,
62,
39531,
7,
3672,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
318,
39098,
7,
17440,
11,
36202,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
10139,
198,
220,
220,
220,
220,
220,
220,
220,
611,
318,
39098,
7,
17440,
11,
21617,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10139,
13,
27238,
62,
1350,
62,
31642,
7,
35277,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
10139,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
6045,
628,
220,
220,
220,
2488,
6173,
684,
13,
13579,
78,
1096,
13,
12332,
35,
713,
14134,
28264,
19796,
62,
7753,
62,
2539,
8,
198,
220,
220,
220,
825,
1064,
62,
7753,
7,
944,
11,
29472,
11,
13532,
11,
15942,
577,
28,
14202,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1064,
62,
7753,
7,
2536,
11,
685,
35277,
3419,
12962,
4613,
685,
77,
4147,
60,
628,
220,
220,
220,
220,
220,
220,
220,
29472,
532,
257,
29472,
284,
1064,
198,
220,
220,
220,
220,
220,
220,
220,
13532,
532,
257,
1351,
286,
8619,
3108,
1635,
77,
4147,
9,
284,
2989,
287,
13,
220,
1680,
307,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7997,
355,
257,
1351,
11,
257,
46545,
11,
393,
257,
869,
540,
326,
318,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1444,
351,
645,
7159,
290,
5860,
262,
1351,
393,
46545,
13,
628,
220,
220,
220,
220,
220,
220,
220,
5860,
532,
262,
10139,
2727,
422,
262,
1043,
2393,
13,
628,
220,
220,
220,
220,
220,
220,
220,
9938,
257,
10139,
11188,
284,
2035,
257,
10944,
2393,
393,
257,
2393,
198,
220,
220,
220,
220,
220,
220,
220,
326,
7160,
1541,
13,
628,
220,
220,
220,
220,
220,
220,
220,
5514,
262,
717,
2393,
1043,
318,
4504,
11,
290,
4844,
318,
4504,
198,
220,
220,
220,
220,
220,
220,
220,
611,
645,
2393,
318,
1043,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
16155,
62,
2539,
796,
2116,
13557,
19796,
62,
7753,
62,
2539,
7,
34345,
11,
13532,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16155,
62,
11600,
796,
2116,
13557,
11883,
78,
17816,
19796,
62,
7753,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
7383,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16155,
62,
11600,
796,
23884,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
11883,
78,
17816,
19796,
62,
7753,
20520,
796,
16155,
62,
11600,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
16155,
62,
11600,
58,
11883,
78,
62,
2539,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2845,
7383,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1208,
628,
220,
220,
220,
220,
220,
220,
220,
611,
15942,
577,
290,
407,
869,
540,
7,
19011,
577,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
407,
6374,
684,
13,
18274,
346,
13,
271,
62,
10100,
7,
19011,
577,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15942,
577,
796,
366,
19796,
62,
7753,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4808,
19011,
577,
796,
334,
6,
220,
4064,
82,
25,
705,
4064,
15942,
577,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15942,
577,
796,
37456,
264,
25,
25064,
13,
19282,
448,
13,
13564,
28264,
19011,
577,
1343,
264,
8,
628,
220,
220,
220,
220,
220,
220,
220,
5717,
343,
11,
29472,
796,
28686,
13,
6978,
13,
35312,
7,
34345,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
5717,
343,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
12286,
62,
69,
3902,
343,
796,
5717,
343,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
13532,
796,
685,
62,
69,
329,
4808,
69,
287,
3975,
7,
944,
13,
69,
3902,
343,
62,
5460,
929,
11,
13532,
8,
611,
4808,
69,
60,
628,
220,
220,
220,
220,
220,
220,
220,
1255,
796,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
329,
26672,
287,
13532,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
15942,
577,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15942,
577,
7203,
11534,
329,
705,
4,
82,
6,
287,
705,
4,
82,
6,
2644,
59,
77,
1,
4064,
357,
34345,
11,
26672,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10139,
11,
288,
796,
26672,
13,
10677,
15908,
62,
19796,
62,
7753,
7,
34345,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
10139,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
15942,
577,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15942,
577,
7203,
986,
376,
15919,
705,
4,
82,
6,
287,
705,
4,
82,
6,
59,
77,
1,
4064,
357,
34345,
11,
288,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
796,
10139,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2270,
628,
220,
220,
220,
220,
220,
220,
220,
16155,
62,
11600,
58,
11883,
78,
62,
2539,
60,
796,
1255,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
1255,
198,
198,
19796,
62,
7753,
796,
9220,
37,
5540,
22446,
19796,
62,
7753,
628,
198,
4299,
12515,
378,
62,
17440,
62,
11883,
418,
7,
83,
853,
1039,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
17665,
378,
262,
16155,
1143,
3815,
286,
477,
399,
4147,
357,
16624,
393,
29196,
8,
198,
220,
220,
220,
326,
389,
3917,
351,
262,
1813,
12784,
13,
7875,
587,
2087,
284,
198,
220,
220,
220,
1598,
262,
12940,
286,
13760,
5676,
416,
257,
1277,
9706,
286,
281,
198,
220,
220,
220,
2223,
357,
68,
13,
70,
13,
220,
23520,
14,
29881,
14,
1925,
4666,
737,
1475,
9665,
19081,
50177,
1716,
198,
220,
220,
220,
18326,
611,
262,
2223,
318,
1057,
832,
8393,
1133,
22446,
220,
383,
4578,
198,
220,
220,
220,
4600,
83,
853,
1039,
63,
460,
307,
257,
2060,
19081,
2134,
393,
29472,
11,
393,
257,
8379,
198,
220,
220,
220,
286,
399,
4147,
14,
10379,
268,
1047,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
422,
12854,
1891,
1330,
7925,
62,
25558,
628,
220,
220,
220,
1303,
3274,
2198,
611,
262,
12940,
1107,
2476,
284,
307,
44869,
13,
5514,
198,
220,
220,
220,
1303,
4028,
1057,
287,
262,
6374,
684,
6519,
351,
8393,
1133,
3419,
1283,
284,
307,
198,
220,
220,
220,
1303,
5676,
13,
27713,
383,
835,
284,
2198,
611,
8393,
1133,
3419,
318,
287,
262,
8931,
40546,
198,
220,
220,
220,
1303,
318,
257,
845,
11841,
8156,
290,
815,
307,
6928,
416,
257,
517,
20586,
198,
220,
220,
220,
1303,
4610,
13,
198,
220,
220,
220,
329,
277,
287,
7925,
62,
25558,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
611,
277,
58,
17,
60,
6624,
705,
23002,
1133,
6,
290,
277,
58,
15,
7131,
12,
1415,
47715,
6624,
705,
31441,
13,
9078,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2270,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
360,
756,
423,
284,
12515,
378,
11,
523,
1441,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
628,
220,
220,
220,
611,
407,
6374,
684,
13,
18274,
346,
13,
271,
62,
8053,
7,
83,
853,
1039,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
6670,
796,
685,
83,
853,
1039,
60,
628,
220,
220,
220,
329,
5726,
287,
6670,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
1002,
262,
2496,
318,
257,
19081,
2134,
11,
1598,
262,
12940,
13,
1002,
340,
318,
257,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
29472,
11,
804,
510,
6196,
4683,
19081,
2134,
717,
13,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5726,
13,
20063,
62,
11883,
78,
1143,
62,
27160,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
3460,
4163,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1892,
257,
19081,
2134,
11,
1949,
284,
804,
510,
19081,
416,
29472,
13,
220,
27713,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
770,
8075,
19081,
5563,
772,
329,
883,
1226,
268,
1047,
543,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
466,
407,
6053,
284,
281,
4683,
19081,
2134,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10139,
796,
651,
62,
12286,
62,
9501,
22446,
30150,
7,
13000,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
10139,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10139,
13,
20063,
62,
11883,
78,
1143,
62,
27160,
3419,
198,
198,
2,
10714,
15965,
2977,
25,
198,
2,
7400,
12,
10394,
25,
19,
198,
2,
33793,
12,
8658,
82,
12,
14171,
25,
45991,
198,
2,
5268,
25,
198,
2,
43907,
25,
900,
4292,
8658,
7400,
11338,
28,
19,
6482,
10394,
28,
19,
25,
198
] | 2.315287 | 29,091 |
import argparse
import json
import os
import pandas as pd
import requests
import sys
import numpy as np
import time
from pyhdf.SD import SD, SDC
from typing import Iterable, Union
from io import StringIO
from shapely.geometry import shape, Point
MIN_LAT_KEY = "min_lat"
MAX_LAT_KEY = "max_lat"
MIN_LON_KEY = "min_lon"
MAX_LON_KEY = "max_lon"
COORDS_RANGE = {
"serbia" : {
MIN_LAT_KEY : 40,
MAX_LAT_KEY : 48,
MIN_LON_KEY : 18,
MAX_LON_KEY : 25
},
"pakistan" : {
MIN_LAT_KEY : 22,
MAX_LAT_KEY : 38,
MIN_LON_KEY : 60,
MAX_LON_KEY : 77
},
"afghanistan" : {
MIN_LAT_KEY : 29,
MAX_LAT_KEY : 39,
MIN_LON_KEY : 63,
MAX_LON_KEY : 70
}
}
# NVDI Mapping Keys
REC_DATE_KEY = "recorded_date"
LAT_KEY = "latitude"
LON_KEY = "longitude"
NVDI_KEY = "NVDI Val"
DISTRICT_KEY = "district"
COUNTRY_KEY = "country"
YEAR_KEY = "year"
MONTH_KEY = "month"
AVG_NVDI_KEY = "Avg. NVDI Val"
"""
Notes:
Before running this python script it is required to have the appropriate setup in order to
execute wget properly to rechieve the NASA data. Please see this link for the setup steps
required: https://disc.gsfc.nasa.gov/data-access#windows_wget
"""
def extract_arguments() -> Iterable[Union[str, list, bool]]:
"""
Purpose: extracts the arguments specified by the user
Input: None
Output: filepath - The csv filepath specified by the user
"""
CSV_FILE_ENDING = ".csv"
parser = argparse.ArgumentParser()
parser.add_argument("-f", "--filepath", type=str, required=True, help="The filepath to the text file containing the links to pull the files from")
parser.add_argument("-d", "--download", required=False, action='store_true', help="Fetch all of the data specified in the file")
parser.add_argument("-c", "--countries", type=str, nargs="+", required=True, help="The countries we wish to fetch the NDVI data for")
args = parser.parse_args()
"""
Validate the following:
1. The filepath has a length > 0
2. The filepath actually points to a file
3. The file pointed to by the filepath is a csv
"""
filepath = args.filepath
countries = args.countries
download_data = args.download
if (
len(filepath) <= 0 or
os.path.isfile(filepath) is False
):
print(f"The filepath: {filepath} is either not a valid file.")
sys.exit(-1)
for country in countries:
if len(country) <= 0:
print(f"The country: {country} is not valid")
sys.exit(-1)
return filepath, countries, download_data
def retrieve_nasa_data(filepath: str, download_data: bool) -> list:
"""
Purpose: Issues wget calls and downloads the specified data files from the urls stored in the
specified text files
Input: filepath - The filepth to the file holding the links
Output: A list of all the files downloaded from the
"""
fileinfos = []
links = []
with open(filepath, "r") as file_containing_links:
links = file_containing_links.readlines()
for link in links:
file_link_path = link.split("/")
file_name = file_link_path[-1].strip()
date_recorded_info = file_link_path[-2]
fileinfos.append((file_name, date_recorded_info))
if download_data:
for link in links:
os.system(f"wget --tries=0 --read-timeout=20 --load-cookies ~/.urs_cookies --save-cookies ~/.urs_cookies --auth-no-challenge=on --keep-session-cookies {link.strip()}")
time.sleep(5)
return fileinfos
def display_hdf_files(filenames: list) -> None:
"""
Purpose: Displays the contents of the HDF files in the filenames
Input: A list of HDF filenames
Output: None
"""
for filename in filenames:
if os.path.isfile(filename):
file = SD(filename, SDC.READ)
datasets_dic = file.datasets()
sds_obj = file.select('CMG 0.05 Deg MONTHLY NDVI') # select sds
data = sds_obj.get() # get sds data
print(data.shape)
def retrieve_country_vegetation_index(fileinfos: list, countries: list) -> dict:
"""
Purpose: Determines which coordinates are inside the bounding box of the
countries of interest. After determining the coordinates it retrieves the data
information at that coordinate and stores it into a dictionary
Input: fileinfos - The file infos list containing tuples of the (filename, date recorded)
countries - A list of countries
Output: A dictionary containing the information on the data of interest
"""
FEATURES_KEY = "features"
GEOMETRY_KEY = "geometry"
PROPERTIES_KEY = "properties"
NAME_KEY = "name"
TYPE_KEY = "type"
COORDINATES_KEY = "coordinates"
print(f"Starting to get NVDI data")
vegetation_index_map = {}
for country_to_retrieve in countries:
COUNTRY_LOWERCASE = country_to_retrieve.lower()
GEOJSON_DATA = f"../data/geodata/{COUNTRY_LOWERCASE}/{COUNTRY_LOWERCASE}-districts.geojson"
geodata = None
with open(GEOJSON_DATA, "r") as geo_file:
geodata = json.load(geo_file)
if COUNTRY_LOWERCASE not in COORDS_RANGE:
print(f"Cannot fetch coordinate info from internal database for {country_to_retrieve}")
sys.exit(-1)
vegetation_index_map[country_to_retrieve] = []
min_lat = COORDS_RANGE[COUNTRY_LOWERCASE][MIN_LAT_KEY]
max_lat = COORDS_RANGE[COUNTRY_LOWERCASE][MAX_LAT_KEY]
min_lon = COORDS_RANGE[COUNTRY_LOWERCASE][MIN_LON_KEY]
max_lon = COORDS_RANGE[COUNTRY_LOWERCASE][MAX_LON_KEY]
data = None
for filename, date_recorded_info in fileinfos:
vgi_data_retrieval_start = time.time()
if os.path.isfile(filename):
file = SD(filename, SDC.READ)
sds_obj = file.select('CMG 0.05 Deg MONTHLY NDVI') # select sds
data = sds_obj.get() # get sds data
if data is None:
continue
print(f"Analyzing file: {filename}")
num_rows, num_cols = data.shape
for col_idx in range(0, num_cols):
for row_idx in range(0, num_rows):
lon = (col_idx*.05) - 180
lat = 90-(row_idx*.05)
if max_lat > lat and lat > min_lat and max_lon > lon and lon > min_lon:
coordinate = Point(lon, lat)
polygon = None
if FEATURES_KEY in geodata:
for feature in geodata[FEATURES_KEY]:
properties = feature[PROPERTIES_KEY]
feature_name = properties[NAME_KEY]
polygon = shape(feature[GEOMETRY_KEY])
if polygon.contains(coordinate):
vegetation_index_map[country_to_retrieve].append(
{
DISTRICT_KEY : feature_name,
REC_DATE_KEY : date_recorded_info,
LAT_KEY : lat,
LON_KEY : lon,
NVDI_KEY : data[row_idx][col_idx]
}
)
elif GEOMETRY_KEY in geodata:
properties = geodata[PROPERTIES_KEY]
feature_name = properties[NAME_KEY]
polygon = shape(geodata[GEOMETRY_KEY])
if polygon.contains(coordinate):
vegetation_index_map[country_to_retrieve].append(
{
DISTRICT_KEY : feature_name,
REC_DATE_KEY : date_recorded_info,
LAT_KEY : lat,
LON_KEY : lon,
NVDI_KEY : data[row_idx][col_idx]
}
)
print(f"Finished retrieving NVDI data time to complete: : {time.time() - vgi_data_retrieval_start}")
return vegetation_index_map
def convert_latitude_to_matrix_idx(latitude: int) -> int:
"""
Purpose: Some HDFs have data stored in a 3600 x 7200 matrix. As a result,
you need the latitude to be converted into an index value. This is more
efficient than converting every index in the matrix to determine if it
in the bounding box.
Input: latitude - The latitude to convert
Output: The corresponding index of the matrix
"""
return int(((90 - latitude)/.05))
def convert_longitude_to_matrix_idx(longitude: int) -> int:
"""
Purpose: Some HDFs have data stored in a 3600 x 7200 matrix. As a result,
you need the longitude to be converted into an index value. This is more
efficient than converting every index in the matrix to determine if it
in the bounding box.
Input: longitude - The longitude to convert
Output: The corresponding index of the matrix
"""
return int((longitude + 180)/.05)
def collapse_VGI_map_to_df(vegetation_index_map: dict) -> pd.DataFrame:
"""
Purpose: Collapse the dictionary of data into a CSV containing the
following columns:
country, year, month, district, latitude, longitude, NVDI Val
Input: vegetation_index_map - The vegetation data map
Output: A dataframe containing the collapsed map
Side-Effects: Saves the csv data in the current directory for analysis
"""
csv_title = f"vgi_data_for"
vgi_df = {
COUNTRY_KEY : [],
YEAR_KEY : [],
MONTH_KEY : [],
DISTRICT_KEY : [],
LAT_KEY : [],
LON_KEY : [],
NVDI_KEY : []
}
for country, data in vegetation_index_map.items():
csv_title += f"_{country}"
for district_data in data:
vgi_df[COUNTRY_KEY].append(country)
vgi_df[DISTRICT_KEY].append(district_data[DISTRICT_KEY])
recorded_date_split = district_data[REC_DATE_KEY].split(".")
year = recorded_date_split[0]
month = recorded_date_split[1]
vgi_df[YEAR_KEY].append(year)
vgi_df[MONTH_KEY].append(month)
vgi_df[LAT_KEY].append(district_data[LAT_KEY])
vgi_df[LON_KEY].append(district_data[LON_KEY])
vgi_df[NVDI_KEY].append(district_data[NVDI_KEY])
csv_title += ".csv"
vgi_df = pd.DataFrame(vgi_df)
vgi_df.to_csv(csv_title, index = False)
return vgi_df
def combine_data_to_be_yearly_average_per_district(countries: list, df: pd.DataFrame):
"""
Steps:
1. Filter on each country
2. Filter on each year
3. Filter on each district
4. Compute the average of each district in that year
"""
yearly_district_avg_df = {
COUNTRY_KEY : [],
DISTRICT_KEY : [],
YEAR_KEY : [],
AVG_NVDI_KEY : []
}
for country in countries:
country_df = df[df[COUNTRY_KEY] == country]
# Now we need to grab a list of unique values for every year
years = set(country_df[YEAR_KEY].values)
for year in years:
# Now we shall filter off of the districts
yearly_country_df = country_df[country_df[YEAR_KEY] == year]
# We need to get all of the districts
districts = set(yearly_country_df[DISTRICT_KEY].values)
for district in districts:
nvdi_average = 0
nvdi_sum = 0
district_df = yearly_country_df[yearly_country_df[DISTRICT_KEY] == district]
for idx, row in district_df.iterrows():
nvdi_val = row[AVG_NVDI_KEY]
if nvdi_val > -12000:
nvdi_sum += nvdi_val
nvdi_average = nvdi_sum/len(district_df.index)
yearly_district_avg_df[COUNTRY_KEY].append(country)
yearly_district_avg_df[DISTRICT_KEY].append(district)
yearly_district_avg_df[YEAR_KEY].append(year)
yearly_district_avg_df[AVG_NVDI_KEY].append(nvdi_average)
return pd.DataFrame(yearly_district_avg_df)
if __name__ == "__main__":
main() | [
11748,
1822,
29572,
201,
198,
11748,
33918,
201,
198,
11748,
28686,
201,
198,
11748,
19798,
292,
355,
279,
67,
201,
198,
11748,
7007,
201,
198,
11748,
25064,
201,
198,
11748,
299,
32152,
355,
45941,
201,
198,
11748,
640,
201,
198,
201,
198,
6738,
12972,
71,
7568,
13,
10305,
1330,
9834,
11,
311,
9697,
201,
198,
6738,
19720,
1330,
40806,
540,
11,
4479,
201,
198,
6738,
33245,
1330,
10903,
9399,
201,
198,
6738,
5485,
306,
13,
469,
15748,
1330,
5485,
11,
6252,
201,
198,
201,
198,
23678,
62,
43,
1404,
62,
20373,
796,
366,
1084,
62,
15460,
1,
201,
198,
22921,
62,
43,
1404,
62,
20373,
796,
366,
9806,
62,
15460,
1,
201,
198,
23678,
62,
43,
1340,
62,
20373,
796,
366,
1084,
62,
14995,
1,
201,
198,
22921,
62,
43,
1340,
62,
20373,
796,
366,
9806,
62,
14995,
1,
201,
198,
201,
198,
8220,
1581,
5258,
62,
49,
27746,
796,
1391,
201,
198,
220,
366,
2655,
23339,
1,
1058,
1391,
201,
198,
220,
220,
220,
20625,
62,
43,
1404,
62,
20373,
1058,
2319,
11,
201,
198,
220,
220,
220,
25882,
62,
43,
1404,
62,
20373,
1058,
4764,
11,
201,
198,
220,
220,
220,
20625,
62,
43,
1340,
62,
20373,
1058,
1248,
11,
201,
198,
220,
220,
220,
25882,
62,
43,
1340,
62,
20373,
1058,
1679,
201,
198,
220,
8964,
201,
198,
220,
366,
41091,
4103,
1,
1058,
1391,
201,
198,
220,
220,
220,
20625,
62,
43,
1404,
62,
20373,
1058,
2534,
11,
201,
198,
220,
220,
220,
25882,
62,
43,
1404,
62,
20373,
1058,
4353,
11,
201,
198,
220,
220,
220,
20625,
62,
43,
1340,
62,
20373,
1058,
3126,
11,
201,
198,
220,
220,
220,
25882,
62,
43,
1340,
62,
20373,
1058,
8541,
201,
198,
220,
8964,
201,
198,
220,
366,
1878,
6064,
4103,
1,
1058,
1391,
201,
198,
220,
220,
220,
20625,
62,
43,
1404,
62,
20373,
1058,
2808,
11,
201,
198,
220,
220,
220,
25882,
62,
43,
1404,
62,
20373,
1058,
5014,
11,
201,
198,
220,
220,
220,
20625,
62,
43,
1340,
62,
20373,
1058,
8093,
11,
201,
198,
220,
220,
220,
25882,
62,
43,
1340,
62,
20373,
1058,
4317,
201,
198,
220,
1782,
201,
198,
92,
201,
198,
201,
198,
2,
399,
8898,
40,
337,
5912,
26363,
201,
198,
38827,
62,
35,
6158,
62,
20373,
796,
366,
47398,
62,
4475,
1,
201,
198,
43,
1404,
62,
20373,
796,
366,
15460,
3984,
1,
201,
198,
43,
1340,
62,
20373,
796,
366,
6511,
3984,
1,
201,
198,
45,
8898,
40,
62,
20373,
796,
366,
45,
8898,
40,
3254,
1,
201,
198,
26288,
5446,
18379,
62,
20373,
796,
366,
17080,
2012,
1,
201,
198,
34,
19385,
40405,
62,
20373,
796,
366,
19315,
1,
201,
198,
56,
17133,
62,
20373,
796,
366,
1941,
1,
201,
198,
27857,
4221,
62,
20373,
796,
366,
8424,
1,
201,
198,
10116,
38,
62,
45,
8898,
40,
62,
20373,
796,
366,
48997,
13,
399,
8898,
40,
3254,
1,
201,
198,
201,
198,
37811,
201,
198,
16130,
25,
201,
198,
201,
198,
8421,
2491,
428,
21015,
4226,
340,
318,
2672,
284,
423,
262,
5035,
9058,
287,
1502,
284,
201,
198,
41049,
266,
1136,
6105,
284,
302,
24957,
262,
8884,
1366,
13,
4222,
766,
428,
2792,
329,
262,
9058,
4831,
220,
201,
198,
35827,
25,
3740,
1378,
15410,
13,
14542,
16072,
13,
77,
15462,
13,
9567,
14,
7890,
12,
15526,
2,
28457,
62,
86,
1136,
201,
198,
37811,
201,
198,
201,
198,
4299,
7925,
62,
853,
2886,
3419,
4613,
40806,
540,
58,
38176,
58,
2536,
11,
1351,
11,
20512,
60,
5974,
201,
198,
220,
37227,
201,
198,
220,
32039,
25,
32139,
262,
7159,
7368,
416,
262,
2836,
201,
198,
201,
198,
220,
23412,
25,
6045,
201,
198,
201,
198,
220,
25235,
25,
2393,
6978,
532,
383,
269,
21370,
2393,
6978,
7368,
416,
262,
2836,
201,
198,
220,
37227,
201,
198,
201,
198,
220,
44189,
62,
25664,
62,
10619,
2751,
796,
27071,
40664,
1,
201,
198,
201,
198,
220,
30751,
796,
1822,
29572,
13,
28100,
1713,
46677,
3419,
201,
198,
220,
220,
201,
198,
220,
30751,
13,
2860,
62,
49140,
7203,
12,
69,
1600,
366,
438,
7753,
6978,
1600,
2099,
28,
2536,
11,
2672,
28,
17821,
11,
1037,
2625,
464,
2393,
6978,
284,
262,
2420,
2393,
7268,
262,
6117,
284,
2834,
262,
3696,
422,
4943,
201,
198,
220,
30751,
13,
2860,
62,
49140,
7203,
12,
67,
1600,
366,
438,
15002,
1600,
2672,
28,
25101,
11,
2223,
11639,
8095,
62,
7942,
3256,
1037,
2625,
37,
7569,
477,
286,
262,
1366,
7368,
287,
262,
2393,
4943,
201,
198,
220,
30751,
13,
2860,
62,
49140,
7203,
12,
66,
1600,
366,
438,
9127,
1678,
1600,
2099,
28,
2536,
11,
299,
22046,
2625,
10,
1600,
2672,
28,
17821,
11,
1037,
2625,
464,
2678,
356,
4601,
284,
21207,
262,
25524,
12861,
1366,
329,
4943,
201,
198,
201,
198,
220,
26498,
796,
30751,
13,
29572,
62,
22046,
3419,
201,
198,
201,
198,
220,
37227,
201,
198,
220,
3254,
20540,
262,
1708,
25,
201,
198,
201,
198,
220,
220,
220,
352,
13,
383,
2393,
6978,
468,
257,
4129,
1875,
657,
201,
198,
220,
220,
220,
362,
13,
383,
2393,
6978,
1682,
2173,
284,
257,
2393,
201,
198,
220,
220,
220,
513,
13,
383,
2393,
6235,
284,
416,
262,
2393,
6978,
318,
257,
269,
21370,
201,
198,
220,
37227,
201,
198,
201,
198,
220,
2393,
6978,
796,
26498,
13,
7753,
6978,
201,
198,
220,
2678,
796,
26498,
13,
9127,
1678,
201,
198,
220,
4321,
62,
7890,
796,
26498,
13,
15002,
201,
198,
201,
198,
220,
611,
357,
201,
198,
220,
220,
220,
18896,
7,
7753,
6978,
8,
19841,
657,
393,
220,
201,
198,
220,
220,
220,
28686,
13,
6978,
13,
4468,
576,
7,
7753,
6978,
8,
318,
10352,
201,
198,
220,
15179,
201,
198,
220,
220,
220,
3601,
7,
69,
1,
464,
2393,
6978,
25,
1391,
7753,
6978,
92,
318,
2035,
407,
257,
4938,
2393,
19570,
201,
198,
220,
220,
220,
25064,
13,
37023,
32590,
16,
8,
201,
198,
201,
198,
220,
329,
1499,
287,
2678,
25,
201,
198,
220,
220,
220,
611,
18896,
7,
19315,
8,
19841,
657,
25,
201,
198,
220,
220,
220,
220,
220,
3601,
7,
69,
1,
464,
1499,
25,
1391,
19315,
92,
318,
407,
4938,
4943,
201,
198,
220,
220,
220,
220,
220,
25064,
13,
37023,
32590,
16,
8,
201,
198,
201,
198,
220,
1441,
2393,
6978,
11,
2678,
11,
4321,
62,
7890,
201,
198,
201,
198,
4299,
19818,
62,
77,
15462,
62,
7890,
7,
7753,
6978,
25,
965,
11,
4321,
62,
7890,
25,
20512,
8,
4613,
1351,
25,
201,
198,
220,
37227,
201,
198,
220,
32039,
25,
22852,
266,
1136,
3848,
290,
21333,
262,
7368,
1366,
3696,
422,
262,
2956,
7278,
8574,
287,
262,
201,
198,
220,
7368,
2420,
3696,
201,
198,
201,
198,
220,
23412,
25,
2393,
6978,
532,
383,
2393,
79,
400,
284,
262,
2393,
4769,
262,
6117,
201,
198,
201,
198,
220,
25235,
25,
317,
1351,
286,
477,
262,
3696,
15680,
422,
262,
220,
201,
198,
220,
37227,
201,
198,
220,
2393,
10745,
418,
796,
17635,
201,
198,
220,
6117,
796,
17635,
201,
198,
220,
220,
201,
198,
220,
351,
1280,
7,
7753,
6978,
11,
366,
81,
4943,
355,
2393,
62,
38301,
62,
28751,
25,
201,
198,
220,
220,
220,
6117,
796,
2393,
62,
38301,
62,
28751,
13,
961,
6615,
3419,
201,
198,
201,
198,
220,
329,
2792,
287,
6117,
25,
201,
198,
220,
220,
220,
2393,
62,
8726,
62,
6978,
796,
2792,
13,
35312,
7203,
14,
4943,
201,
198,
220,
220,
220,
2393,
62,
3672,
796,
2393,
62,
8726,
62,
6978,
58,
12,
16,
4083,
36311,
3419,
201,
198,
220,
220,
220,
3128,
62,
47398,
62,
10951,
796,
2393,
62,
8726,
62,
6978,
58,
12,
17,
60,
201,
198,
220,
220,
220,
2393,
10745,
418,
13,
33295,
19510,
7753,
62,
3672,
11,
3128,
62,
47398,
62,
10951,
4008,
201,
198,
201,
198,
220,
611,
4321,
62,
7890,
25,
201,
198,
220,
220,
220,
329,
2792,
287,
6117,
25,
201,
198,
220,
220,
220,
220,
220,
28686,
13,
10057,
7,
69,
1,
86,
1136,
1377,
83,
1678,
28,
15,
1377,
961,
12,
48678,
28,
1238,
1377,
2220,
12,
27916,
444,
39763,
1834,
62,
27916,
444,
1377,
21928,
12,
27916,
444,
39763,
1834,
62,
27916,
444,
1377,
18439,
12,
3919,
12,
36747,
3540,
28,
261,
1377,
14894,
12,
29891,
12,
27916,
444,
1391,
8726,
13,
36311,
3419,
92,
4943,
201,
198,
220,
220,
220,
220,
220,
640,
13,
42832,
7,
20,
8,
201,
198,
220,
220,
201,
198,
220,
1441,
2393,
10745,
418,
201,
198,
201,
198,
4299,
3359,
62,
71,
7568,
62,
16624,
7,
10379,
268,
1047,
25,
1351,
8,
4613,
6045,
25,
201,
198,
220,
37227,
201,
198,
220,
32039,
25,
3167,
26024,
262,
10154,
286,
262,
5572,
37,
3696,
287,
262,
1226,
268,
1047,
201,
198,
201,
198,
220,
23412,
25,
317,
1351,
286,
5572,
37,
1226,
268,
1047,
201,
198,
201,
198,
220,
25235,
25,
6045,
220,
220,
220,
201,
198,
220,
37227,
201,
198,
220,
329,
29472,
287,
1226,
268,
1047,
25,
201,
198,
220,
220,
220,
611,
28686,
13,
6978,
13,
4468,
576,
7,
34345,
2599,
201,
198,
220,
220,
220,
220,
220,
2393,
796,
9834,
7,
34345,
11,
311,
9697,
13,
15675,
8,
201,
198,
220,
220,
220,
220,
220,
40522,
62,
67,
291,
796,
2393,
13,
19608,
292,
1039,
3419,
201,
198,
201,
198,
220,
220,
220,
220,
220,
264,
9310,
62,
26801,
796,
2393,
13,
19738,
10786,
34,
20474,
657,
13,
2713,
25905,
25000,
4221,
11319,
25524,
12861,
11537,
1303,
2922,
264,
9310,
201,
198,
201,
198,
220,
220,
220,
220,
220,
1366,
796,
264,
9310,
62,
26801,
13,
1136,
3419,
1303,
651,
264,
9310,
1366,
201,
198,
220,
220,
220,
220,
220,
3601,
7,
7890,
13,
43358,
8,
201,
198,
201,
198,
4299,
19818,
62,
19315,
62,
303,
1136,
341,
62,
9630,
7,
7753,
10745,
418,
25,
1351,
11,
2678,
25,
1351,
8,
4613,
8633,
25,
201,
198,
220,
37227,
201,
198,
220,
32039,
25,
360,
13221,
274,
543,
22715,
389,
2641,
262,
5421,
278,
3091,
286,
262,
201,
198,
220,
2678,
286,
1393,
13,
2293,
13213,
262,
22715,
340,
13236,
1158,
262,
1366,
201,
198,
220,
1321,
379,
326,
20435,
290,
7000,
340,
656,
257,
22155,
201,
198,
201,
198,
220,
23412,
25,
2393,
10745,
418,
532,
383,
2393,
1167,
418,
1351,
7268,
12777,
2374,
286,
262,
357,
34345,
11,
3128,
6264,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
2678,
532,
317,
1351,
286,
2678,
220,
201,
198,
201,
198,
220,
25235,
25,
317,
22155,
7268,
262,
1321,
319,
262,
1366,
286,
1393,
201,
198,
220,
37227,
201,
198,
220,
18630,
47471,
62,
20373,
796,
366,
40890,
1,
201,
198,
220,
22319,
2662,
2767,
18276,
62,
20373,
796,
366,
469,
15748,
1,
201,
198,
220,
4810,
3185,
17395,
11015,
62,
20373,
796,
366,
48310,
1,
201,
198,
220,
36751,
62,
20373,
796,
366,
3672,
1,
201,
198,
220,
41876,
62,
20373,
796,
366,
4906,
1,
201,
198,
220,
7375,
12532,
1268,
29462,
62,
20373,
796,
366,
37652,
17540,
1,
201,
198,
201,
198,
220,
3601,
7,
69,
1,
22851,
284,
651,
399,
8898,
40,
1366,
4943,
201,
198,
201,
198,
220,
28459,
62,
9630,
62,
8899,
796,
23884,
201,
198,
201,
198,
220,
329,
1499,
62,
1462,
62,
1186,
30227,
287,
2678,
25,
201,
198,
201,
198,
220,
220,
220,
31404,
40405,
62,
43,
36048,
34,
11159,
796,
1499,
62,
1462,
62,
1186,
30227,
13,
21037,
3419,
201,
198,
220,
220,
220,
402,
4720,
40386,
62,
26947,
796,
277,
1,
40720,
7890,
14,
469,
375,
1045,
14,
90,
34,
19385,
40405,
62,
43,
36048,
34,
11159,
92,
14,
90,
34,
19385,
40405,
62,
43,
36048,
34,
11159,
92,
12,
17080,
2012,
82,
13,
469,
13210,
1559,
1,
201,
198,
201,
198,
220,
220,
220,
4903,
375,
1045,
796,
6045,
201,
198,
220,
220,
220,
351,
1280,
7,
38,
4720,
40386,
62,
26947,
11,
366,
81,
4943,
355,
40087,
62,
7753,
25,
201,
198,
220,
220,
220,
220,
220,
4903,
375,
1045,
796,
33918,
13,
2220,
7,
469,
78,
62,
7753,
8,
201,
198,
201,
198,
220,
220,
220,
611,
31404,
40405,
62,
43,
36048,
34,
11159,
407,
287,
7375,
1581,
5258,
62,
49,
27746,
25,
201,
198,
220,
220,
220,
220,
220,
3601,
7,
69,
1,
34,
34574,
21207,
20435,
7508,
422,
5387,
6831,
329,
1391,
19315,
62,
1462,
62,
1186,
30227,
92,
4943,
201,
198,
220,
220,
220,
220,
220,
25064,
13,
37023,
32590,
16,
8,
201,
198,
201,
198,
220,
220,
220,
28459,
62,
9630,
62,
8899,
58,
19315,
62,
1462,
62,
1186,
30227,
60,
796,
17635,
201,
198,
201,
198,
220,
220,
220,
949,
62,
15460,
796,
7375,
1581,
5258,
62,
49,
27746,
58,
34,
19385,
40405,
62,
43,
36048,
34,
11159,
7131,
23678,
62,
43,
1404,
62,
20373,
60,
201,
198,
220,
220,
220,
3509,
62,
15460,
796,
7375,
1581,
5258,
62,
49,
27746,
58,
34,
19385,
40405,
62,
43,
36048,
34,
11159,
7131,
22921,
62,
43,
1404,
62,
20373,
60,
201,
198,
220,
220,
220,
949,
62,
14995,
796,
7375,
1581,
5258,
62,
49,
27746,
58,
34,
19385,
40405,
62,
43,
36048,
34,
11159,
7131,
23678,
62,
43,
1340,
62,
20373,
60,
201,
198,
220,
220,
220,
3509,
62,
14995,
796,
7375,
1581,
5258,
62,
49,
27746,
58,
34,
19385,
40405,
62,
43,
36048,
34,
11159,
7131,
22921,
62,
43,
1340,
62,
20373,
60,
201,
198,
201,
198,
220,
220,
220,
1366,
796,
6045,
201,
198,
220,
220,
220,
329,
29472,
11,
3128,
62,
47398,
62,
10951,
287,
2393,
10745,
418,
25,
201,
198,
220,
220,
220,
220,
220,
410,
12397,
62,
7890,
62,
1186,
380,
18206,
62,
9688,
796,
640,
13,
2435,
3419,
201,
198,
220,
220,
220,
220,
220,
611,
28686,
13,
6978,
13,
4468,
576,
7,
34345,
2599,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2393,
796,
9834,
7,
34345,
11,
311,
9697,
13,
15675,
8,
201,
198,
201,
198,
220,
220,
220,
220,
220,
220,
220,
264,
9310,
62,
26801,
796,
2393,
13,
19738,
10786,
34,
20474,
657,
13,
2713,
25905,
25000,
4221,
11319,
25524,
12861,
11537,
1303,
2922,
264,
9310,
201,
198,
201,
198,
220,
220,
220,
220,
220,
220,
220,
1366,
796,
264,
9310,
62,
26801,
13,
1136,
3419,
1303,
651,
264,
9310,
1366,
201,
198,
201,
198,
220,
220,
220,
220,
220,
611,
1366,
318,
6045,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2555,
201,
198,
201,
198,
220,
220,
220,
220,
220,
3601,
7,
69,
1,
37702,
9510,
2393,
25,
1391,
34345,
92,
4943,
201,
198,
201,
198,
220,
220,
220,
220,
220,
997,
62,
8516,
11,
997,
62,
4033,
82,
796,
1366,
13,
43358,
201,
198,
220,
220,
220,
220,
220,
220,
201,
198,
220,
220,
220,
220,
220,
329,
951,
62,
312,
87,
287,
2837,
7,
15,
11,
997,
62,
4033,
82,
2599,
201,
198,
220,
220,
220,
220,
220,
220,
220,
329,
5752,
62,
312,
87,
287,
2837,
7,
15,
11,
997,
62,
8516,
2599,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
300,
261,
796,
357,
4033,
62,
312,
87,
24620,
2713,
8,
532,
11546,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3042,
796,
4101,
30420,
808,
62,
312,
87,
24620,
2713,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
3509,
62,
15460,
1875,
3042,
290,
3042,
1875,
949,
62,
15460,
290,
3509,
62,
14995,
1875,
300,
261,
290,
300,
261,
1875,
949,
62,
14995,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
20435,
796,
6252,
7,
14995,
11,
3042,
8,
201,
198,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7514,
14520,
796,
6045,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
18630,
47471,
62,
20373,
287,
4903,
375,
1045,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
3895,
287,
4903,
375,
1045,
58,
15112,
47471,
62,
20373,
5974,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6608,
796,
3895,
58,
4805,
3185,
17395,
11015,
62,
20373,
60,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3895,
62,
3672,
796,
6608,
58,
20608,
62,
20373,
60,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7514,
14520,
796,
5485,
7,
30053,
58,
8264,
2662,
2767,
18276,
62,
20373,
12962,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
7514,
14520,
13,
3642,
1299,
7,
37652,
4559,
2599,
201,
198,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
28459,
62,
9630,
62,
8899,
58,
19315,
62,
1462,
62,
1186,
30227,
4083,
33295,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1391,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
45057,
62,
20373,
1058,
3895,
62,
3672,
11,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19644,
62,
35,
6158,
62,
20373,
1058,
3128,
62,
47398,
62,
10951,
11,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
42355,
62,
20373,
1058,
3042,
11,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
406,
1340,
62,
20373,
1058,
300,
261,
11,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
399,
8898,
40,
62,
20373,
1058,
1366,
58,
808,
62,
312,
87,
7131,
4033,
62,
312,
87,
60,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1782,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
201,
198,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
22319,
2662,
2767,
18276,
62,
20373,
287,
4903,
375,
1045,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6608,
796,
4903,
375,
1045,
58,
4805,
3185,
17395,
11015,
62,
20373,
60,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3895,
62,
3672,
796,
6608,
58,
20608,
62,
20373,
60,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7514,
14520,
796,
5485,
7,
469,
375,
1045,
58,
8264,
2662,
2767,
18276,
62,
20373,
12962,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
7514,
14520,
13,
3642,
1299,
7,
37652,
4559,
2599,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
28459,
62,
9630,
62,
8899,
58,
19315,
62,
1462,
62,
1186,
30227,
4083,
33295,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1391,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
45057,
62,
20373,
1058,
3895,
62,
3672,
11,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19644,
62,
35,
6158,
62,
20373,
1058,
3128,
62,
47398,
62,
10951,
11,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
42355,
62,
20373,
1058,
3042,
11,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
406,
1340,
62,
20373,
1058,
300,
261,
11,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
399,
8898,
40,
62,
20373,
1058,
1366,
58,
808,
62,
312,
87,
7131,
4033,
62,
312,
87,
60,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1782,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
201,
198,
220,
220,
220,
220,
220,
220,
201,
198,
220,
220,
220,
220,
220,
3601,
7,
69,
1,
18467,
1348,
50122,
399,
8898,
40,
1366,
640,
284,
1844,
25,
1058,
1391,
2435,
13,
2435,
3419,
532,
410,
12397,
62,
7890,
62,
1186,
380,
18206,
62,
9688,
92,
4943,
201,
198,
201,
198,
220,
1441,
28459,
62,
9630,
62,
8899,
201,
198,
201,
198,
4299,
10385,
62,
15460,
3984,
62,
1462,
62,
6759,
8609,
62,
312,
87,
7,
15460,
3984,
25,
493,
8,
4613,
493,
25,
201,
198,
220,
37227,
201,
198,
220,
32039,
25,
2773,
5572,
42388,
423,
1366,
8574,
287,
257,
4570,
405,
2124,
767,
2167,
17593,
13,
1081,
257,
1255,
11,
201,
198,
220,
345,
761,
262,
32477,
284,
307,
11513,
656,
281,
6376,
1988,
13,
770,
318,
517,
201,
198,
220,
6942,
621,
23202,
790,
6376,
287,
262,
17593,
284,
5004,
611,
340,
201,
198,
220,
287,
262,
5421,
278,
3091,
13,
201,
198,
201,
198,
220,
23412,
25,
32477,
532,
383,
32477,
284,
10385,
201,
198,
201,
198,
220,
25235,
25,
383,
11188,
6376,
286,
262,
17593,
201,
198,
220,
37227,
201,
198,
220,
1441,
493,
19510,
7,
3829,
532,
32477,
8,
11757,
2713,
4008,
201,
198,
201,
198,
4299,
10385,
62,
6511,
3984,
62,
1462,
62,
6759,
8609,
62,
312,
87,
7,
6511,
3984,
25,
493,
8,
4613,
493,
25,
201,
198,
220,
37227,
201,
198,
220,
32039,
25,
2773,
5572,
42388,
423,
1366,
8574,
287,
257,
4570,
405,
2124,
767,
2167,
17593,
13,
1081,
257,
1255,
11,
201,
198,
220,
345,
761,
262,
890,
3984,
284,
307,
11513,
656,
281,
6376,
1988,
13,
770,
318,
517,
201,
198,
220,
6942,
621,
23202,
790,
6376,
287,
262,
17593,
284,
5004,
611,
340,
201,
198,
220,
287,
262,
5421,
278,
3091,
13,
201,
198,
201,
198,
220,
23412,
25,
890,
3984,
532,
383,
890,
3984,
284,
10385,
201,
198,
201,
198,
220,
25235,
25,
383,
11188,
6376,
286,
262,
17593,
201,
198,
220,
37227,
201,
198,
220,
1441,
493,
19510,
6511,
3984,
1343,
11546,
8,
11757,
2713,
8,
201,
198,
201,
198,
4299,
9807,
62,
53,
18878,
62,
8899,
62,
1462,
62,
7568,
7,
303,
1136,
341,
62,
9630,
62,
8899,
25,
8633,
8,
4613,
279,
67,
13,
6601,
19778,
25,
201,
198,
201,
198,
220,
37227,
201,
198,
220,
32039,
25,
7778,
7512,
262,
22155,
286,
1366,
656,
257,
44189,
7268,
262,
201,
198,
220,
1708,
15180,
25,
201,
198,
201,
198,
220,
1499,
11,
614,
11,
1227,
11,
4783,
11,
32477,
11,
890,
3984,
11,
399,
8898,
40,
3254,
201,
198,
220,
220,
201,
198,
220,
23412,
25,
28459,
62,
9630,
62,
8899,
532,
383,
28459,
1366,
3975,
201,
198,
201,
198,
220,
25235,
25,
317,
1366,
14535,
7268,
262,
14707,
3975,
201,
198,
201,
198,
220,
12075,
12,
47738,
25,
311,
3080,
262,
269,
21370,
1366,
287,
262,
1459,
8619,
329,
3781,
201,
198,
220,
37227,
201,
198,
201,
198,
220,
269,
21370,
62,
7839,
796,
277,
1,
85,
12397,
62,
7890,
62,
1640,
1,
201,
198,
201,
198,
220,
410,
12397,
62,
7568,
796,
1391,
201,
198,
220,
220,
220,
31404,
40405,
62,
20373,
1058,
685,
4357,
201,
198,
220,
220,
220,
32914,
62,
20373,
1058,
685,
4357,
201,
198,
220,
220,
220,
25000,
4221,
62,
20373,
1058,
685,
4357,
201,
198,
220,
220,
220,
45057,
62,
20373,
1058,
685,
4357,
201,
198,
220,
220,
220,
42355,
62,
20373,
1058,
685,
4357,
201,
198,
220,
220,
220,
406,
1340,
62,
20373,
1058,
685,
4357,
201,
198,
220,
220,
220,
399,
8898,
40,
62,
20373,
1058,
17635,
201,
198,
220,
1782,
201,
198,
201,
198,
220,
329,
1499,
11,
1366,
287,
28459,
62,
9630,
62,
8899,
13,
23814,
33529,
201,
198,
201,
198,
220,
220,
220,
269,
21370,
62,
7839,
15853,
277,
1,
23330,
19315,
36786,
201,
198,
201,
198,
220,
220,
220,
329,
4783,
62,
7890,
287,
1366,
25,
201,
198,
220,
220,
220,
220,
220,
410,
12397,
62,
7568,
58,
34,
19385,
40405,
62,
20373,
4083,
33295,
7,
19315,
8,
201,
198,
220,
220,
220,
220,
220,
410,
12397,
62,
7568,
58,
26288,
5446,
18379,
62,
20373,
4083,
33295,
7,
17080,
2012,
62,
7890,
58,
26288,
5446,
18379,
62,
20373,
12962,
201,
198,
220,
220,
220,
220,
220,
6264,
62,
4475,
62,
35312,
796,
4783,
62,
7890,
58,
38827,
62,
35,
6158,
62,
20373,
4083,
35312,
7203,
19570,
201,
198,
220,
220,
220,
220,
220,
614,
796,
6264,
62,
4475,
62,
35312,
58,
15,
60,
201,
198,
220,
220,
220,
220,
220,
1227,
796,
6264,
62,
4475,
62,
35312,
58,
16,
60,
201,
198,
201,
198,
220,
220,
220,
220,
220,
410,
12397,
62,
7568,
58,
56,
17133,
62,
20373,
4083,
33295,
7,
1941,
8,
201,
198,
220,
220,
220,
220,
220,
410,
12397,
62,
7568,
58,
27857,
4221,
62,
20373,
4083,
33295,
7,
8424,
8,
201,
198,
220,
220,
220,
220,
220,
410,
12397,
62,
7568,
58,
43,
1404,
62,
20373,
4083,
33295,
7,
17080,
2012,
62,
7890,
58,
43,
1404,
62,
20373,
12962,
201,
198,
220,
220,
220,
220,
220,
410,
12397,
62,
7568,
58,
43,
1340,
62,
20373,
4083,
33295,
7,
17080,
2012,
62,
7890,
58,
43,
1340,
62,
20373,
12962,
201,
198,
220,
220,
220,
220,
220,
410,
12397,
62,
7568,
58,
45,
8898,
40,
62,
20373,
4083,
33295,
7,
17080,
2012,
62,
7890,
58,
45,
8898,
40,
62,
20373,
12962,
201,
198,
220,
220,
201,
198,
220,
269,
21370,
62,
7839,
15853,
27071,
40664,
1,
201,
198,
220,
410,
12397,
62,
7568,
796,
279,
67,
13,
6601,
19778,
7,
85,
12397,
62,
7568,
8,
201,
198,
201,
198,
220,
410,
12397,
62,
7568,
13,
1462,
62,
40664,
7,
40664,
62,
7839,
11,
6376,
796,
10352,
8,
201,
198,
201,
198,
220,
1441,
410,
12397,
62,
7568,
201,
198,
201,
198,
4299,
12082,
62,
7890,
62,
1462,
62,
1350,
62,
1941,
306,
62,
23913,
62,
525,
62,
17080,
2012,
7,
9127,
1678,
25,
1351,
11,
47764,
25,
279,
67,
13,
6601,
19778,
2599,
201,
198,
201,
198,
220,
37227,
201,
198,
220,
32144,
25,
201,
198,
220,
220,
220,
352,
13,
25853,
319,
1123,
1499,
201,
198,
220,
220,
220,
362,
13,
25853,
319,
1123,
614,
201,
198,
220,
220,
220,
513,
13,
25853,
319,
1123,
4783,
201,
198,
220,
220,
220,
604,
13,
3082,
1133,
262,
2811,
286,
1123,
4783,
287,
326,
614,
201,
198,
220,
37227,
201,
198,
201,
198,
220,
24169,
62,
17080,
2012,
62,
615,
70,
62,
7568,
796,
1391,
201,
198,
220,
220,
220,
31404,
40405,
62,
20373,
1058,
685,
4357,
201,
198,
220,
220,
220,
45057,
62,
20373,
1058,
685,
4357,
201,
198,
220,
220,
220,
32914,
62,
20373,
1058,
685,
4357,
201,
198,
220,
220,
220,
35224,
62,
45,
8898,
40,
62,
20373,
1058,
17635,
201,
198,
220,
1782,
201,
198,
201,
198,
220,
329,
1499,
287,
2678,
25,
201,
198,
201,
198,
220,
220,
220,
1499,
62,
7568,
796,
47764,
58,
7568,
58,
34,
19385,
40405,
62,
20373,
60,
6624,
1499,
60,
201,
198,
220,
220,
220,
1303,
2735,
356,
761,
284,
5552,
257,
1351,
286,
3748,
3815,
329,
790,
614,
201,
198,
220,
220,
220,
812,
796,
900,
7,
19315,
62,
7568,
58,
56,
17133,
62,
20373,
4083,
27160,
8,
201,
198,
201,
198,
220,
220,
220,
329,
614,
287,
812,
25,
201,
198,
220,
220,
220,
220,
220,
1303,
2735,
356,
2236,
8106,
572,
286,
262,
12815,
201,
198,
220,
220,
220,
220,
220,
24169,
62,
19315,
62,
7568,
796,
1499,
62,
7568,
58,
19315,
62,
7568,
58,
56,
17133,
62,
20373,
60,
6624,
614,
60,
201,
198,
220,
220,
220,
220,
220,
220,
201,
198,
220,
220,
220,
220,
220,
1303,
775,
761,
284,
651,
477,
286,
262,
12815,
201,
198,
220,
220,
220,
220,
220,
12815,
796,
900,
7,
1941,
306,
62,
19315,
62,
7568,
58,
26288,
5446,
18379,
62,
20373,
4083,
27160,
8,
201,
198,
201,
198,
220,
220,
220,
220,
220,
329,
4783,
287,
12815,
25,
220,
220,
220,
220,
220,
220,
220,
220,
201,
198,
220,
220,
220,
220,
220,
220,
220,
299,
85,
10989,
62,
23913,
796,
657,
201,
198,
220,
220,
220,
220,
220,
220,
220,
299,
85,
10989,
62,
16345,
796,
657,
201,
198,
201,
198,
220,
220,
220,
220,
220,
220,
220,
4783,
62,
7568,
796,
24169,
62,
19315,
62,
7568,
58,
1941,
306,
62,
19315,
62,
7568,
58,
26288,
5446,
18379,
62,
20373,
60,
6624,
4783,
60,
201,
198,
201,
198,
220,
220,
220,
220,
220,
220,
220,
329,
4686,
87,
11,
5752,
287,
4783,
62,
7568,
13,
2676,
8516,
33529,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
85,
10989,
62,
2100,
796,
5752,
58,
10116,
38,
62,
45,
8898,
40,
62,
20373,
60,
201,
198,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
299,
85,
10989,
62,
2100,
1875,
532,
1065,
830,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
85,
10989,
62,
16345,
15853,
299,
85,
10989,
62,
2100,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
201,
198,
220,
220,
220,
220,
220,
220,
220,
299,
85,
10989,
62,
23913,
796,
299,
85,
10989,
62,
16345,
14,
11925,
7,
17080,
2012,
62,
7568,
13,
9630,
8,
201,
198,
201,
198,
220,
220,
220,
220,
220,
220,
220,
24169,
62,
17080,
2012,
62,
615,
70,
62,
7568,
58,
34,
19385,
40405,
62,
20373,
4083,
33295,
7,
19315,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
24169,
62,
17080,
2012,
62,
615,
70,
62,
7568,
58,
26288,
5446,
18379,
62,
20373,
4083,
33295,
7,
17080,
2012,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
24169,
62,
17080,
2012,
62,
615,
70,
62,
7568,
58,
56,
17133,
62,
20373,
4083,
33295,
7,
1941,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
24169,
62,
17080,
2012,
62,
615,
70,
62,
7568,
58,
10116,
38,
62,
45,
8898,
40,
62,
20373,
4083,
33295,
7,
48005,
10989,
62,
23913,
8,
201,
198,
220,
220,
220,
220,
201,
198,
220,
1441,
279,
67,
13,
6601,
19778,
7,
1941,
306,
62,
17080,
2012,
62,
615,
70,
62,
7568,
8,
201,
198,
201,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
201,
198,
220,
1388,
3419
] | 2.270906 | 5,142 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
"""
@Project: wgcpy
@File Name: gen_pmml_model.py
@Author: weiguang
@Date: 2021/6/28
"""
import joblib
from wgcpy.utils.ext_fn import *
from .dz_eval import *
from lightgbm import LGBMClassifier
from xgboost import XGBClassifier
from sklearn.linear_model import LogisticRegression
from sklearn.ensemble import VotingClassifier
from sklearn2pmml import sklearn2pmml
from sklearn.impute import SimpleImputer
from sklearn_pandas import DataFrameMapper,CategoricalImputer
from sklearn2pmml.decoration import ContinuousDomain,CategoricalDomain
from sklearn2pmml.pipeline import PMMLPipeline
from sklearn_pandas import gen_features
from sklearn.pipeline import FeatureUnion
from sklearn.preprocessing import StandardScaler,LabelBinarizer
logger = init_logger()
| [
2,
48443,
14629,
14,
8800,
14,
29412,
198,
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
37811,
198,
31,
16775,
25,
220,
220,
220,
220,
220,
220,
266,
36484,
9078,
198,
31,
8979,
6530,
25,
220,
220,
220,
220,
2429,
62,
79,
3020,
75,
62,
19849,
13,
9078,
198,
31,
13838,
25,
220,
220,
220,
220,
220,
220,
220,
356,
328,
84,
648,
198,
31,
10430,
25,
220,
220,
220,
220,
220,
220,
220,
220,
220,
33448,
14,
21,
14,
2078,
198,
37811,
198,
11748,
1693,
8019,
198,
6738,
266,
36484,
9078,
13,
26791,
13,
2302,
62,
22184,
1330,
1635,
198,
6738,
764,
67,
89,
62,
18206,
1330,
1635,
198,
6738,
1657,
70,
20475,
1330,
406,
4579,
44,
9487,
7483,
198,
6738,
2124,
70,
39521,
1330,
1395,
4579,
9487,
7483,
198,
6738,
1341,
35720,
13,
29127,
62,
19849,
1330,
5972,
2569,
8081,
2234,
198,
6738,
1341,
35720,
13,
1072,
11306,
1330,
30061,
9487,
7483,
198,
6738,
1341,
35720,
17,
79,
3020,
75,
1330,
1341,
35720,
17,
79,
3020,
75,
198,
6738,
1341,
35720,
13,
11011,
1133,
1330,
17427,
3546,
10549,
198,
6738,
1341,
35720,
62,
79,
392,
292,
1330,
6060,
19778,
44,
11463,
11,
34,
2397,
12409,
3546,
10549,
198,
6738,
1341,
35720,
17,
79,
3020,
75,
13,
12501,
6944,
1330,
45012,
43961,
11,
34,
2397,
12409,
43961,
198,
6738,
1341,
35720,
17,
79,
3020,
75,
13,
79,
541,
4470,
1330,
3122,
5805,
47,
541,
4470,
198,
6738,
1341,
35720,
62,
79,
392,
292,
1330,
2429,
62,
40890,
198,
6738,
1341,
35720,
13,
79,
541,
4470,
1330,
27018,
38176,
198,
6738,
1341,
35720,
13,
3866,
36948,
1330,
8997,
3351,
36213,
11,
33986,
33,
22050,
7509,
198,
198,
6404,
1362,
796,
2315,
62,
6404,
1362,
3419,
628
] | 2.825342 | 292 |
import json
import os
config = {
'mirrors': ['https://xxxx.mirrors.ustc.edu.cn/']
}
# def test_config():
# dump_config(config)
# path = os.path.expanduser('~/.conf.json')
# expected = json.load(open(path, 'r', encoding='utf-8'))
# assert expected == config
| [
11748,
33918,
198,
11748,
28686,
198,
198,
11250,
796,
1391,
198,
220,
220,
220,
705,
10793,
5965,
10354,
37250,
5450,
1378,
12343,
13,
10793,
5965,
13,
436,
66,
13,
15532,
13,
31522,
14,
20520,
198,
92,
628,
198,
198,
2,
825,
1332,
62,
11250,
33529,
198,
2,
220,
220,
220,
220,
10285,
62,
11250,
7,
11250,
8,
198,
2,
220,
220,
220,
220,
3108,
796,
28686,
13,
6978,
13,
11201,
392,
7220,
10786,
93,
11757,
10414,
13,
17752,
11537,
198,
2,
220,
220,
220,
220,
2938,
796,
33918,
13,
2220,
7,
9654,
7,
6978,
11,
705,
81,
3256,
21004,
11639,
40477,
12,
23,
6,
4008,
198,
2,
220,
220,
220,
220,
6818,
2938,
6624,
4566,
628
] | 2.431034 | 116 |
# Copyright 2020 Google LLC. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Definition of execution_spec."""
from typing import Optional, Set, Text
import dataclasses
import tensorflow as tf
@dataclasses.dataclass
class ExecutionSpec:
"""A spec that stores necessary information for execution.
An ExecutionSpec can either represent a subgraph layer or represent
part of a remote op layer (only contains one remote op).
Attributes:
subgraph: A `GraphDef` proto if subgraph layer; None if remote op layer.
input_names: A set of input node names.
output_names: A set of output node names.
is_remote_op: A boolean indicating the type of the layer
(two types: subgraph layer or remote op layer).
"""
subgraph: Optional[tf.compat.v1.GraphDef]
input_names: Set[Text]
output_names: Set[Text]
is_remote_op: bool
| [
2,
15069,
12131,
3012,
11419,
13,
1439,
6923,
33876,
13,
198,
2,
198,
2,
49962,
739,
262,
24843,
13789,
11,
10628,
362,
13,
15,
357,
1169,
366,
34156,
15341,
198,
2,
345,
743,
407,
779,
428,
2393,
2845,
287,
11846,
351,
262,
13789,
13,
198,
2,
921,
743,
7330,
257,
4866,
286,
262,
13789,
379,
198,
2,
198,
2,
220,
220,
220,
220,
2638,
1378,
2503,
13,
43073,
13,
2398,
14,
677,
4541,
14,
43,
2149,
24290,
12,
17,
13,
15,
198,
2,
198,
2,
17486,
2672,
416,
9723,
1099,
393,
4987,
284,
287,
3597,
11,
3788,
198,
2,
9387,
739,
262,
13789,
318,
9387,
319,
281,
366,
1921,
3180,
1,
29809,
1797,
11,
198,
2,
42881,
34764,
11015,
6375,
7102,
49828,
11053,
3963,
15529,
509,
12115,
11,
2035,
4911,
393,
17142,
13,
198,
2,
4091,
262,
13789,
329,
262,
2176,
3303,
15030,
21627,
290,
198,
2,
11247,
739,
262,
13789,
13,
198,
37811,
36621,
286,
9706,
62,
16684,
526,
15931,
198,
198,
6738,
19720,
1330,
32233,
11,
5345,
11,
8255,
198,
11748,
4818,
330,
28958,
198,
11748,
11192,
273,
11125,
355,
48700,
628,
198,
31,
19608,
330,
28958,
13,
19608,
330,
31172,
198,
4871,
37497,
22882,
25,
198,
220,
37227,
32,
1020,
326,
7000,
3306,
1321,
329,
9706,
13,
628,
220,
1052,
37497,
22882,
460,
2035,
2380,
257,
850,
34960,
7679,
393,
2380,
198,
220,
636,
286,
257,
6569,
1034,
7679,
357,
8807,
4909,
530,
6569,
1034,
737,
628,
220,
49213,
25,
198,
220,
220,
220,
850,
34960,
25,
317,
4600,
37065,
7469,
63,
44876,
611,
850,
34960,
7679,
26,
6045,
611,
6569,
1034,
7679,
13,
198,
220,
220,
220,
5128,
62,
14933,
25,
317,
900,
286,
5128,
10139,
3891,
13,
198,
220,
220,
220,
5072,
62,
14933,
25,
317,
900,
286,
5072,
10139,
3891,
13,
198,
220,
220,
220,
318,
62,
47960,
62,
404,
25,
317,
25131,
12739,
262,
2099,
286,
262,
7679,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
11545,
3858,
25,
850,
34960,
7679,
393,
6569,
1034,
7679,
737,
198,
220,
37227,
198,
220,
850,
34960,
25,
32233,
58,
27110,
13,
5589,
265,
13,
85,
16,
13,
37065,
7469,
60,
198,
220,
5128,
62,
14933,
25,
5345,
58,
8206,
60,
198,
220,
5072,
62,
14933,
25,
5345,
58,
8206,
60,
198,
220,
318,
62,
47960,
62,
404,
25,
20512,
198
] | 3.492424 | 396 |
# Copyright 2020 SAP SE
#
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
import json
import time
from ncclient.operations import RPCError
from oslo_log import log as logging
from asr1k_neutron_l3.common.exc_helper import exc_info_full
from asr1k_neutron_l3.common import utils
from asr1k_neutron_l3.models.asr1k_pair import ASR1KPair
from asr1k_neutron_l3.models.netconf_yang.access_list import AccessList
from asr1k_neutron_l3.models.netconf_yang.arp import VrfArpList
from asr1k_neutron_l3.models.netconf_yang.l2_interface import BridgeDomain, LoopbackInternalInterface, \
LoopbackExternalInterface, ExternalInterface
from asr1k_neutron_l3.models.netconf_yang.l3_interface import VBInterface
from asr1k_neutron_l3.models.netconf_yang.nat import StaticNat, NatPool, InterfaceDynamicNat, PoolDynamicNat
from asr1k_neutron_l3.models.netconf_yang.prefix import Prefix
from asr1k_neutron_l3.models.netconf_yang.route import VrfRoute
from asr1k_neutron_l3.models.netconf_yang.route_map import RouteMap
from asr1k_neutron_l3.models.netconf_yang.vrf import VrfDefinition
from asr1k_neutron_l3.common.prometheus_monitor import PrometheusMonitor
LOG = logging.getLogger(__name__)
| [
2,
15069,
12131,
48323,
7946,
198,
2,
198,
2,
1439,
6923,
33876,
13,
198,
2,
198,
2,
220,
220,
220,
49962,
739,
262,
24843,
13789,
11,
10628,
362,
13,
15,
357,
1169,
366,
34156,
15341,
345,
743,
198,
2,
220,
220,
220,
407,
779,
428,
2393,
2845,
287,
11846,
351,
262,
13789,
13,
921,
743,
7330,
198,
2,
220,
220,
220,
257,
4866,
286,
262,
13789,
379,
198,
2,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
2638,
1378,
2503,
13,
43073,
13,
2398,
14,
677,
4541,
14,
43,
2149,
24290,
12,
17,
13,
15,
198,
2,
198,
2,
220,
220,
220,
17486,
2672,
416,
9723,
1099,
393,
4987,
284,
287,
3597,
11,
3788,
198,
2,
220,
220,
220,
9387,
739,
262,
13789,
318,
9387,
319,
281,
366,
1921,
3180,
1,
29809,
1797,
11,
42881,
198,
2,
220,
220,
220,
34764,
11015,
6375,
7102,
49828,
11053,
3963,
15529,
509,
12115,
11,
2035,
4911,
393,
17142,
13,
4091,
262,
198,
2,
220,
220,
220,
13789,
329,
262,
2176,
3303,
15030,
21627,
290,
11247,
198,
2,
220,
220,
220,
739,
262,
13789,
13,
198,
11748,
33918,
198,
11748,
640,
198,
198,
6738,
299,
535,
75,
1153,
13,
3575,
602,
1330,
25812,
5222,
81,
1472,
198,
6738,
28686,
5439,
62,
6404,
1330,
2604,
355,
18931,
198,
198,
6738,
355,
81,
16,
74,
62,
710,
315,
1313,
62,
75,
18,
13,
11321,
13,
41194,
62,
2978,
525,
1330,
2859,
62,
10951,
62,
12853,
198,
6738,
355,
81,
16,
74,
62,
710,
315,
1313,
62,
75,
18,
13,
11321,
1330,
3384,
4487,
198,
6738,
355,
81,
16,
74,
62,
710,
315,
1313,
62,
75,
18,
13,
27530,
13,
292,
81,
16,
74,
62,
24874,
1330,
7054,
49,
16,
42,
47,
958,
198,
6738,
355,
81,
16,
74,
62,
710,
315,
1313,
62,
75,
18,
13,
27530,
13,
3262,
10414,
62,
17859,
13,
15526,
62,
4868,
1330,
8798,
8053,
198,
6738,
355,
81,
16,
74,
62,
710,
315,
1313,
62,
75,
18,
13,
27530,
13,
3262,
10414,
62,
17859,
13,
5117,
1330,
569,
41871,
3163,
79,
8053,
198,
6738,
355,
81,
16,
74,
62,
710,
315,
1313,
62,
75,
18,
13,
27530,
13,
3262,
10414,
62,
17859,
13,
75,
17,
62,
39994,
1330,
10290,
43961,
11,
26304,
1891,
37693,
39317,
11,
3467,
198,
220,
220,
220,
26304,
1891,
41506,
39317,
11,
34579,
39317,
198,
6738,
355,
81,
16,
74,
62,
710,
315,
1313,
62,
75,
18,
13,
27530,
13,
3262,
10414,
62,
17859,
13,
75,
18,
62,
39994,
1330,
569,
33,
39317,
198,
6738,
355,
81,
16,
74,
62,
710,
315,
1313,
62,
75,
18,
13,
27530,
13,
3262,
10414,
62,
17859,
13,
32353,
1330,
36125,
47849,
11,
14393,
27201,
11,
26491,
44090,
47849,
11,
19850,
44090,
47849,
198,
6738,
355,
81,
16,
74,
62,
710,
315,
1313,
62,
75,
18,
13,
27530,
13,
3262,
10414,
62,
17859,
13,
40290,
1330,
3771,
13049,
198,
6738,
355,
81,
16,
74,
62,
710,
315,
1313,
62,
75,
18,
13,
27530,
13,
3262,
10414,
62,
17859,
13,
38629,
1330,
569,
41871,
43401,
198,
6738,
355,
81,
16,
74,
62,
710,
315,
1313,
62,
75,
18,
13,
27530,
13,
3262,
10414,
62,
17859,
13,
38629,
62,
8899,
1330,
18956,
13912,
198,
6738,
355,
81,
16,
74,
62,
710,
315,
1313,
62,
75,
18,
13,
27530,
13,
3262,
10414,
62,
17859,
13,
37020,
69,
1330,
569,
41871,
36621,
198,
6738,
355,
81,
16,
74,
62,
710,
315,
1313,
62,
75,
18,
13,
11321,
13,
16963,
36916,
62,
41143,
1330,
42696,
35479,
198,
198,
25294,
796,
18931,
13,
1136,
11187,
1362,
7,
834,
3672,
834,
8,
628,
198
] | 2.894649 | 598 |
#!/usr/bin/env python3
import argparse
import matplotlib
import matplotlib.pyplot as plt
import numpy as np
font = { # 'weight' : 'bold',
'size': 14}
matplotlib.rc('font', **font)
# python3 scripts/plan_spectrum.py -o ~/Developer/graindb-benchmark/plan_spectrum/job/plan_spectrum_q4.pdf -j 0.0
# -l Duck Grain -p spectrum ~/Developer/graindb-benchmark/plan_spectrum/job/plan_spectrum_q4_duck.csv
# ~/Developer/graindb-benchmark/plan_spectrum/job/plan_spectrum_q4_grain.csv
if __name__ == '__main__':
main()
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
18,
198,
11748,
1822,
29572,
198,
198,
11748,
2603,
29487,
8019,
198,
11748,
2603,
29487,
8019,
13,
9078,
29487,
355,
458,
83,
198,
11748,
299,
32152,
355,
45941,
198,
198,
10331,
796,
1391,
220,
1303,
705,
6551,
6,
1058,
705,
36575,
3256,
198,
220,
220,
220,
705,
7857,
10354,
1478,
92,
198,
198,
6759,
29487,
8019,
13,
6015,
10786,
10331,
3256,
12429,
10331,
8,
628,
198,
2,
21015,
18,
14750,
14,
11578,
62,
4443,
6582,
13,
9078,
532,
78,
47795,
45351,
14,
48270,
9945,
12,
26968,
4102,
14,
11578,
62,
4443,
6582,
14,
21858,
14,
11578,
62,
4443,
6582,
62,
80,
19,
13,
12315,
532,
73,
657,
13,
15,
198,
2,
532,
75,
21867,
48692,
532,
79,
10958,
47795,
45351,
14,
48270,
9945,
12,
26968,
4102,
14,
11578,
62,
4443,
6582,
14,
21858,
14,
11578,
62,
4443,
6582,
62,
80,
19,
62,
646,
694,
13,
40664,
198,
2,
47795,
45351,
14,
48270,
9945,
12,
26968,
4102,
14,
11578,
62,
4443,
6582,
14,
21858,
14,
11578,
62,
4443,
6582,
62,
80,
19,
62,
48270,
13,
40664,
628,
628,
628,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
1388,
3419,
198
] | 2.57561 | 205 |
from src.Core.Log import Log
from src.Core.Core import ASSERT
from src.Logic.Line import LineManager, LineWithState
from src.UI.Base.Window import Window, WindowProps
from matplotlib.backends.backend_qt5agg import FigureCanvasQTAgg
from matplotlib.figure import Figure
import matplotlib.pyplot as plt
import matplotlib.ticker as mticker
import math
from enum import Enum
import pandas
import matplotlib
matplotlib.use("Qt5Agg")
plt.rcParams["axes.formatter.use_locale"] = True
plt.rcParams["figure.autolayout"] = True
plt.rcParams["axes.linewidth"] = 1.5
| [
6738,
12351,
13,
14055,
13,
11187,
1330,
5972,
198,
6738,
12351,
13,
14055,
13,
14055,
1330,
24994,
17395,
198,
6738,
12351,
13,
11187,
291,
13,
13949,
1330,
6910,
13511,
11,
6910,
3152,
9012,
198,
6738,
12351,
13,
10080,
13,
14881,
13,
27703,
1330,
26580,
11,
26580,
2964,
862,
198,
198,
6738,
2603,
29487,
8019,
13,
1891,
2412,
13,
1891,
437,
62,
39568,
20,
9460,
1330,
11291,
6090,
11017,
48,
5603,
1130,
198,
6738,
2603,
29487,
8019,
13,
26875,
1330,
11291,
198,
11748,
2603,
29487,
8019,
13,
9078,
29487,
355,
458,
83,
198,
11748,
2603,
29487,
8019,
13,
83,
15799,
355,
45079,
15799,
198,
11748,
10688,
198,
6738,
33829,
1330,
2039,
388,
198,
11748,
19798,
292,
198,
11748,
2603,
29487,
8019,
198,
198,
6759,
29487,
8019,
13,
1904,
7203,
48,
83,
20,
46384,
4943,
198,
198,
489,
83,
13,
6015,
10044,
4105,
14692,
897,
274,
13,
687,
1436,
13,
1904,
62,
17946,
1000,
8973,
796,
6407,
198,
489,
83,
13,
6015,
10044,
4105,
14692,
26875,
13,
2306,
349,
323,
448,
8973,
796,
6407,
198,
489,
83,
13,
6015,
10044,
4105,
14692,
897,
274,
13,
2815,
413,
5649,
8973,
796,
352,
13,
20,
628,
198
] | 2.901554 | 193 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.